Edit file File name : plugins-page.js Content :/*! For license information please see plugins-page.js.LICENSE.txt */ (()=>{var e={10254:(e,t,n)=>{"use strict";var r=n(95415),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(e){return r.isMemo(e)?i:a[e.$$typeof]||s}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var u=Object.defineProperty,p=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var s=f(n);s&&s!==h&&e(t,s,r)}var i=p(n);d&&(i=i.concat(d(n)));for(var a=c(t),g=c(n),y=0;y<i.length;++y){var v=i[y];if(!(o[v]||r&&r[v]||g&&g[v]||a&&a[v])){var E=l(n,v);try{u(t,v,E)}catch(e){}}}}return t}},15762:(e,t,n)=>{"use strict";var r=n(53761);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},28120:(e,t,n)=>{e.exports=n(15762)()},53761:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},75395:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,s=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,l=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,E=n?Symbol.for("react.fundamental"):60117,m=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case d:case o:case a:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case l:case y:case g:case c:return e;default:return t}}case s:return t}}}function C(e){return _(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=l,t.Fragment=o,t.Lazy=y,t.Memo=g,t.Portal=s,t.Profiler=a,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return C(e)||_(e)===p},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===l},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===y},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===s},t.isProfiler=function(e){return _(e)===a},t.isStrictMode=function(e){return _(e)===i},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===a||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===l||e.$$typeof===E||e.$$typeof===m||e.$$typeof===S||e.$$typeof===v)},t.typeOf=_},95415:(e,t,n)=>{"use strict";e.exports=n(75395)},97776:(e,t)=>{"use strict";var n=60103,r=60106,s=60107,o=60108,i=60114,a=60109,c=60110,u=60112,p=60113,d=60120,l=60115,f=60116,h=60121,g=60122,y=60117,v=60129,E=60131;if("function"==typeof Symbol&&Symbol.for){var m=Symbol.for;n=m("react.element"),r=m("react.portal"),s=m("react.fragment"),o=m("react.strict_mode"),i=m("react.profiler"),a=m("react.provider"),c=m("react.context"),u=m("react.forward_ref"),p=m("react.suspense"),d=m("react.suspense_list"),l=m("react.memo"),f=m("react.lazy"),h=m("react.block"),g=m("react.server.block"),y=m("react.fundamental"),v=m("react.debug_trace_mode"),E=m("react.legacy_hidden")}function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case i:case o:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case u:case f:case l:case a:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return S(e)===c}},1444:(e,t,n)=>{"use strict";e.exports=n(97776)},92302:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(51609),s=n.n(r)().createContext(null)},31644:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(51609),s=n.n(r),o=n(92302),i=n(11833),a=n(10047);const c=function(e){var t=e.store,n=e.context,c=e.children,u=(0,r.useMemo)((function(){var e=(0,i.K)(t);return{store:t,subscription:e}}),[t]),p=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,a.E)((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),p!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,p]);var d=n||o.t;return s().createElement(d.Provider,{value:u},c)}},20349:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(77790),s=n(94001),o=n(10254),i=n.n(o),a=n(51609),c=n.n(a),u=n(1444),p=n(11833),d=n(10047),l=n(92302),f=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],y=[null,null];function v(e,t){var n=e[1];return[t.payload,n+1]}function E(e,t,n){(0,d.E)((function(){return e.apply(void 0,t)}),n)}function m(e,t,n,r,s,o,i){e.current=r,t.current=s,n.current=!1,o.current&&(o.current=null,i())}function S(e,t,n,r,s,o,i,a,c,u){if(e){var p=!1,d=null,l=function(){if(!p){var e,n,l=t.getState();try{e=r(l,s.current)}catch(e){n=e,d=e}n||(d=null),e===o.current?i.current||c():(o.current=e,a.current=e,i.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=l,n.trySubscribe(),l();return function(){if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var _=function(){return[null,0]};function C(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,d=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,C=n.methodName,b=void 0===C?"connectAdvanced":C,T=n.renderCountProp,O=void 0===T?void 0:T,w=n.shouldHandleStateChanges,k=void 0===w||w,P=n.storeKey,A=void 0===P?"store":P,j=(n.withRef,n.forwardRef),N=void 0!==j&&j,I=n.context,D=void 0===I?l.t:I,U=(0,s.A)(n,f),$=D;return function(t){var n=t.displayName||t.name||"Component",o=d(n),l=(0,r.A)({},U,{getDisplayName:d,methodName:b,renderCountProp:O,shouldHandleStateChanges:k,storeKey:A,displayName:o,wrappedComponentName:n,WrappedComponent:t}),f=U.pure;var C=f?a.useMemo:function(e){return e()};function T(n){var o=(0,a.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,s.A)(n,h);return[n.context,e,t]}),[n]),i=o[0],d=o[1],f=o[2],b=(0,a.useMemo)((function(){return i&&i.Consumer&&(0,u.isContextConsumer)(c().createElement(i.Consumer,null))?i:$}),[i,$]),T=(0,a.useContext)(b),O=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(T)&&Boolean(T.store);var w=O?n.store:T.store,P=(0,a.useMemo)((function(){return function(t){return e(t.dispatch,l)}(w)}),[w]),A=(0,a.useMemo)((function(){if(!k)return y;var e=(0,p.K)(w,O?null:T.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[w,O,T]),j=A[0],N=A[1],I=(0,a.useMemo)((function(){return O?T:(0,r.A)({},T,{subscription:j})}),[O,T,j]),D=(0,a.useReducer)(v,g,_),U=D[0][0],x=D[1];if(U&&U.error)throw U.error;var R=(0,a.useRef)(),F=(0,a.useRef)(f),L=(0,a.useRef)(),J=(0,a.useRef)(!1),M=C((function(){return L.current&&f===F.current?L.current:P(w.getState(),f)}),[w,U,f]);E(m,[F,R,J,f,M,L,N]),E(S,[k,w,j,P,F,R,J,L,N,x],[w,j,P]);var K=(0,a.useMemo)((function(){return c().createElement(t,(0,r.A)({},M,{ref:d}))}),[d,t,M]);return(0,a.useMemo)((function(){return k?c().createElement(b.Provider,{value:I},K):K}),[b,K,I])}var w=f?c().memo(T):T;if(w.WrappedComponent=t,w.displayName=T.displayName=o,N){var P=c().forwardRef((function(e,t){return c().createElement(w,(0,r.A)({},e,{reactReduxForwardedRef:t}))}));return P.displayName=o,P.WrappedComponent=t,i()(P,t)}return i()(w,t)}}},38087:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(77790),s=n(94001),o=n(20349),i=n(74480),a=n(13132),c=n(87721),u=n(55263),p=n(88792),d=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function l(e,t,n){for(var r=t.length-1;r>=0;r--){var s=t[r](e);if(s)return s}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function f(e,t){return e===t}function h(e){var t=void 0===e?{}:e,n=t.connectHOC,h=void 0===n?o.A:n,g=t.mapStateToPropsFactories,y=void 0===g?c.Ay:g,v=t.mapDispatchToPropsFactories,E=void 0===v?a.Ay:v,m=t.mergePropsFactories,S=void 0===m?u.Ay:m,_=t.selectorFactory,C=void 0===_?p.Ay:_;return function(e,t,n,o){void 0===o&&(o={});var a=o,c=a.pure,u=void 0===c||c,p=a.areStatesEqual,g=void 0===p?f:p,v=a.areOwnPropsEqual,m=void 0===v?i.A:v,_=a.areStatePropsEqual,b=void 0===_?i.A:_,T=a.areMergedPropsEqual,O=void 0===T?i.A:T,w=(0,s.A)(a,d),k=l(e,y,"mapStateToProps"),P=l(t,E,"mapDispatchToProps"),A=l(n,S,"mergeProps");return h(C,(0,r.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:P,initMergeProps:A,pure:u,areStatesEqual:g,areOwnPropsEqual:m,areStatePropsEqual:b,areMergedPropsEqual:O},w))}}const g=h()},13132:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(1400),s=n(15030);const o=[function(e){return"function"==typeof e?(0,s.Qb)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,s.o6)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,s.o6)((function(t){return(0,r.A)(e,t)})):void 0}]},87721:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(15030);const s=[function(e){return"function"==typeof e?(0,r.Qb)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.o6)((function(){return{}}))}]},55263:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(77790);function s(e,t,n){return(0,r.A)({},n,e,t)}const o=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,s=n.pure,o=n.areMergedPropsEqual,i=!1;return function(t,n,a){var c=e(t,n,a);return i?s&&o(c,r)||(r=c):(i=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return s}}]},88792:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a});var r=n(94001),s=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function o(e,t,n,r){return function(s,o){return n(e(s,o),t(r,o),o)}}function i(e,t,n,r,s){var o,i,a,c,u,p=s.areStatesEqual,d=s.areOwnPropsEqual,l=s.areStatePropsEqual,f=!1;function h(s,f){var h,g,y=!d(f,i),v=!p(s,o);return o=s,i=f,y&&v?(a=e(o,i),t.dependsOnOwnProps&&(c=t(r,i)),u=n(a,c,i)):y?(e.dependsOnOwnProps&&(a=e(o,i)),t.dependsOnOwnProps&&(c=t(r,i)),u=n(a,c,i)):v?(h=e(o,i),g=!l(h,a),a=h,g&&(u=n(a,c,i)),u):u}return function(s,p){return f?h(s,p):(a=e(o=s,i=p),c=t(r,i),u=n(a,c,i),f=!0,u)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,c=t.initMergeProps,u=(0,r.A)(t,s),p=n(e,u),d=a(e,u),l=c(e,u);return(u.pure?i:o)(p,d,l,e,u)}},15030:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=e(t,n);function s(){return r}return s.dependsOnOwnProps=!1,s}}function s(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=s(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=s(o),o=r(t,n)),o},r}}n.d(t,{Qb:()=>o,o6:()=>r})},9767:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>r.A,Ng:()=>s.A});var r=n(31644),s=(n(20349),n(92302),n(38087));n(61414),n(201),n(72887)},61414:(e,t,n)=>{"use strict";n(92302),n(72887)},97949:(e,t,n)=>{"use strict";n(51609),n(92302)},201:(e,t,n)=>{"use strict";n(51609),n(97949),n(11833),n(10047),n(92302)},72887:(e,t,n)=>{"use strict";n(51609),n(92302),n(97949)},84952:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>r.Kq,Ng:()=>r.Ng});var r=n(9767),s=n(73691);(0,n(28446).d)(s.r)},11833:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(28446);var s={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=s;function i(){c.onStateChange&&c.onStateChange()}function a(){var s,a,c;n||(n=t?t.addNestedSub(i):e.subscribe(i),s=(0,r.f)(),a=null,c=null,o={clear:function(){a=null,c=null},notify:function(){s((function(){for(var e=a;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=a;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=c={callback:e,next:null,prev:c};return n.prev?n.prev.next=n:a=n,function(){t&&null!==a&&(t=!1,n.next?n.next.prev=n.prev:c=n.prev,n.prev?n.prev.next=n.next:a=n.next)}}})}var c={addNestedSub:function(e){return a(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=s)},getListeners:function(){return o}};return c}},28446:(e,t,n)=>{"use strict";n.d(t,{d:()=>s,f:()=>o});var r=function(e){e()},s=function(e){return r=e},o=function(){return r}},1400:(e,t,n)=>{"use strict";function r(e,t){var n={},r=function(r){var s=e[r];"function"==typeof s&&(n[r]=function(){return t(s.apply(void 0,arguments))})};for(var s in e)r(s);return n}n.d(t,{A:()=>r})},73691:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.unstable_batchedUpdates});var r=n(75795)},74480:(e,t,n)=>{"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function s(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!r(e[n[o]],t[n[o]]))return!1;return!0}n.d(t,{A:()=>s})},10047:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(51609),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},94461:(e,t,n)=>{"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(s){return"function"==typeof s?s(n,r,e):t(s)}}}}n.d(t,{A:()=>o});var s=r();s.withExtraArgument=r;const o=s},26556:(e,t,n)=>{"use strict";n.d(t,{HY:()=>u,Tw:()=>f,Zz:()=>l,y$:()=>a});var r=n(99710),s=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var s;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,p=[],d=p,l=!1;function f(){d===p&&(d=p.slice())}function h(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function g(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return f(),d.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,f();var n=d.indexOf(e);d.splice(n,1),p=null}}}function y(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,u=c(u,e)}finally{l=!1}for(var t=p=d,n=0;n<t.length;n++){(0,t[n])()}return e}return y({type:o.INIT}),(s={dispatch:y,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,y({type:o.REPLACE})}})[r.A]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.A]=function(){return this},e},s}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var s=t[r];0,"function"==typeof e[s]&&(n[s]=e[s])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,s={},o=0;o<a.length;o++){var u=a[o],p=n[u],d=e[u],l=p(d,t);if(void 0===l){var f=c(u,t);throw new Error(f)}s[u]=l,r=r||l!==d}return(r=r||a.length!==Object.keys(e).length)?s:e}}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},s={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(s)}));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{dispatch:r=l.apply(void 0,o)(n.dispatch)})}}}},99710:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r,s=n(46853);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;const o=(0,s.A)(r)},46853:(e,t,n)=>{"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,{A:()=>r})},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var r=n(56439),s=n(93832);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=o("JsonParseError"),a=o("JsonParseAfterRedirectError"),c=o("Api404Error"),u=o("Api404AfterRedirectError"),p=o("FetchNetworkError");const d=new function(e,t){let n=e,o=e,i={"X-WP-Nonce":t},a={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const p={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){i={"X-WP-Nonce":e},a={credentials:"same-origin",headers:i},c={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,s)=>{const o={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(o.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(o.redirect_uri=t),s&&(o.from=s),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(o)}).then(l).then(f)},fetchAuthorizationUrl:e=>d((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),a).then(l).then(f),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(f),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,a).then(f),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,a).then(l).then(f),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,a).then(f),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,a).then(l).then(f),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(l).then(f),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(l).then(f),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,a).then(l).then(f),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(l).then(f),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(l).then(f),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,a).then(l).then(f),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(l).then(f),fetchModules:()=>d(`${n}jetpack/v4/module/all`,a).then(l).then(f),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,a).then(l).then(f),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(l).then(f),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(l).then(f),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(l).then(f),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,a).then(l).then(f),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(l).then(f),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(l).then(f),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,a).then(l).then(f),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(l).then(f)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(l).then(f),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,a).then(l).then(f),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,a).then(l).then(f),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(l).then(f),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),a).then(l).then(f).then(y),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,a).then(l).then(f),getPlans:()=>d(`${n}jetpack/v4/plans`,a).then(l).then(f),fetchSettings:()=>d(`${n}jetpack/v4/settings`,a).then(l).then(f),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(l).then(f),fetchSiteData:()=>d(`${n}jetpack/v4/site`,a).then(l).then(f).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,a).then(l).then(f).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,a).then(l).then(f),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,a).then(l).then(f).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,a).then(l).then(f).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,a).then(l).then(f).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,a).then(l).then(f),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,a).then(l).then(f),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,a).then(l).then(f),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,a).then(l).then(f),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,a).then(l).then(f),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(l),fetchProducts:()=>d(`${n}jetpack/v4/products`,a).then(l).then(f),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,a).then(l).then(f).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,a).then(l).then(f).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(l).then(f),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,a).then(l).then(f),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,a).then(l).then(f),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,a).then(l).then(f),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(l).then(f),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(l).then(f),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(l).then(f),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(l).then(f),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(l).then(f),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,a).then(l).then(f),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,a).then(l).then(f),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(l).then(f),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(l),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(l),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(l).then(f),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(l),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(l).then(f),fetchSearchPlanInfo:()=>d(`${o}jetpack/v4/search/plan`,a).then(l).then(f),fetchSearchSettings:()=>d(`${o}jetpack/v4/search/settings`,a).then(l).then(f),updateSearchSettings:e=>h(`${o}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(l).then(f),fetchSearchStats:()=>d(`${o}jetpack/v4/search/stats`,a).then(l).then(f),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,a).then(l).then(f),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(l).then(f),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,a).then(l).then(f),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${o}jetpack/v4/search/pricing`,a).then(l).then(f),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,a).then(l).then(f),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,a).then(l).then(f),fetchBackupPreflightStatus:()=>d(`${n}jetpack/v4/site/backup/preflight`,a).then(l).then(f)};function d(e,t){return fetch(u(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function y(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function l(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function f(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new a(n):new i}function g(){throw new p}},3924:(e,t,n)=>{"use strict";function r(e,t={}){const n={};let r;if("undefined"!=typeof window&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>r})},56439:(e,t,n)=>{let r={};try{r=n(74277)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>Object.hasOwn(r,e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},67961:(e,t,n)=>{"use strict";n.d(t,{I:()=>s,c:()=>r});const r="NEW_NOTICE",s="REMOVE_NOTICE"},5546:(e,t,n)=>{"use strict";var r=n(66087),s=n(67961);function o(e,t,n={}){const o={noticeId:n.id||(0,r.uniqueId)(),duration:n.duration,showDismiss:"boolean"!=typeof n.showDismiss||n.showDismiss,isPersistent:n.isPersistent||!1,displayOnNextPage:n.displayOnNextPage||!1,status:e,text:t};return{type:s.c,notice:o}}o.bind(null,"is-success"),o.bind(null,"is-error"),o.bind(null,"is-info"),o.bind(null,"is-warning")},73161:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(26556),s=n(67961);function o(e=[],t){switch(t.type){case s.c:return[t.notice,...e];case s.I:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.HY)({globalNotices:o})},17949:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(3924),s=n(39384),o=n(56427),i=n(86087),a=n(27723),c=n(28120),u=n.n(c),p=n(51609),d=n.n(p);const __=a.__,l=e=>{const{siteBenefits:t,context:n="disconnect"}=e;return d().createElement(d().Fragment,null,t.length>0&&d().createElement(d().Fragment,null,d().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},d().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},"disconnect"===n?__("Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.","jetpack"):__("Jetpack is currently powering features on your site. Once you deactivate Jetpack, these features will no longer be available.","jetpack",0))),d().createElement("div",{className:"jp-connection__disconnect-card__group"},t.map((({value:e,description:t,title:n},r)=>d().createElement(s.DisconnectCard,{title:n,value:e,description:t,key:r}))))),t.length<=2&&d().createElement("div",{className:"jetpack-benefits__general-benefits-section"},d().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack has many powerful tools that can help you achieve your goals","jetpack")),d().createElement("ul",{className:"jetpack-benefits__general-benefits-list"},d().createElement("li",{key:"reason-cdn"},(0,i.createInterpolateElement)(__("Speed up your site and provide mobile-ready images with <ExternalLink>our CDN</ExternalLink>","jetpack"),{ExternalLink:d().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-features-design-content-delivery-network"),rel:"noopener noreferrer",target:"_blank"})})),d().createElement("li",{key:"reason-brute-force"},(0,i.createInterpolateElement)(__("Block <ExternalLink>brute force attacks</ExternalLink> and get immediate notifications if your site is down","jetpack"),{ExternalLink:d().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-features-brute-force"),rel:"noopener noreferrer",target:"_blank"})})),d().createElement("li",{key:"reason-social"},(0,i.createInterpolateElement)(__("Grow your traffic with automated social <ExternalLink>publishing and sharing</ExternalLink>","jetpack"),{ExternalLink:d().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-support-social"),rel:"noopener noreferrer",target:"_blank"})})))))};l.propTypes={siteBenefits:u().array,context:u().oneOf(["disconnect","deactivate"])};const f=l},6838:(e,t,n)=>{"use strict";n(66087);const r="jetpack_social_basic_bi_yearly",s="jetpack_social_basic_yearly",o="jetpack_social_basic_monthly",i="jetpack_social_advanced_bi_yearly",a="jetpack_social_advanced_yearly",c="jetpack_social_advanced_monthly",u="jetpack_social_v1_bi_yearly",p="jetpack_social_v1_yearly",d="jetpack_social_v1_monthly"},28999:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5932),s=n(39384),o=n(27723),i=n(51609),a=n.n(i),c=n(84952),u=n(34679),p=n(82656),d=n(17949),l=n(2065),f=n(27081);const __=o.__,h=(0,c.Ng)((e=>({apiRoot:(0,l.O3)(e),apiNonce:(0,l.Co)(e),connectedPlugins:(0,p.g1)(e),siteBenefits:(0,p.Up)(e),connectionUserData:(0,u.vn)(e)})),(e=>({fetchConnectedPlugins:()=>e((0,p.GJ)()),fetchSiteBenefits:()=>e((0,p.Eb)()),fetchUserConnectionData:()=>e((0,u.u6)())})))((e=>{const{apiRoot:t,apiNonce:n,siteBenefits:o,connectionUserData:c,fetchSiteBenefits:u,fetchUserConnectionData:p}=e,[l,h]=(0,i.useState)(!1);(0,i.useEffect)((()=>{u(),p()}),[u,p]);const g=document.querySelector("#deactivate-jetpack, #deactivate-jetpack-dev");null!==g&&g.setAttribute("title",__("Deactivate Jetpack","jetpack")),(0,i.useEffect)((()=>{r.Ay.setApiRoot(t),r.Ay.setApiNonce(n)}),[t,n]);const y=(0,i.useCallback)((()=>{h(!l)}),[h,l]),v=(0,i.useCallback)((e=>{e.preventDefault(),y()}),[y]);(0,i.useEffect)((()=>null===g?null:(g.addEventListener("click",v),()=>{g.removeEventListener("click",v)})),[g,v]);const E=(0,i.useCallback)((()=>{if(null===g)return null;window.location.href=g.getAttribute("href")}),[g]),m=o?a().createElement(d.A,{siteBenefits:o,context:"deactivate"}):null;return a().createElement(f.A,null,a().createElement(s.DisconnectDialog,{title:__("Are you sure you want to deactivate?","jetpack"),apiRoot:t,apiNonce:n,connectedPlugins:[],connectedUser:{ID:c?.ID,login:c?.login},context:"plugins",isOpen:l,onClose:y,pluginScreenDisconnectCallback:E,disconnectStepComponent:m}))}))},27081:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(51609),s=n.n(r),o=n(75795),i=n.n(o);const a=document.getElementById("jetpack-plugin-portal-sidecar");class c extends s().Component{constructor(e){super(e),this.portalNode=document.createElement("div")}componentDidMount(){a.appendChild(this.portalNode)}componentWillUnmount(){a.removeChild(this.portalNode)}render(){return i().createPortal(this.props.children,this.portalNode)}}const u=c},44254:(e,t,n)=>{"use strict";n.d(t,{Adt:()=>s,BVe:()=>L,BXj:()=>M,C_M:()=>V,Cj9:()=>x,EeE:()=>F,EqR:()=>T,Fdt:()=>w,G2:()=>N,Gvw:()=>q,I9e:()=>Y,LK9:()=>_,LKY:()=>B,LgT:()=>g,Mcz:()=>P,NvU:()=>a,OOn:()=>m,PKf:()=>I,PMD:()=>G,PoH:()=>X,R1B:()=>$,RRv:()=>v,RWZ:()=>ie,S68:()=>y,SOl:()=>l,SW5:()=>se,Smm:()=>c,UsK:()=>K,Wxz:()=>W,X2c:()=>r,X99:()=>J,ZC3:()=>f,ZZG:()=>Q,_ce:()=>E,bhx:()=>o,c30:()=>h,dM3:()=>k,gOo:()=>re,gbL:()=>i,in6:()=>ee,jA_:()=>ne,jpH:()=>H,jzm:()=>S,lOA:()=>R,mX7:()=>D,msC:()=>ae,ooH:()=>b,pAF:()=>Z,pc5:()=>te,rL6:()=>p,s2d:()=>O,s8H:()=>z,spT:()=>C,tiw:()=>A,xQf:()=>ce,xf2:()=>j,xqC:()=>d,yxi:()=>oe,z0g:()=>u,z9S:()=>U,zqp:()=>ue});const r="JETPACK_SET_INITIAL_STATE",s="CONNECT_URL_FETCH",o="CONNECT_URL_FETCH_FAIL",i="CONNECT_URL_FETCH_SUCCESS",a="DISCONNECT_SITE",c="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",p="CONNECT_USER",d="RESET_CONNECT_USER",l="UNLINK_USER",f="UNLINK_USER_FAIL",h="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",y="USER_CONNECTION_DATA_FETCH_FAIL",v="USER_CONNECTION_DATA_FETCH_SUCCESS",E="SITE_RECONNECT",m="SITE_RECONNECT_SUCCESS",S="SITE_RECONNECT_FAIL",_="JETPACK_MODULES_LIST_FETCH",C="JETPACK_MODULES_LIST_FETCH_FAIL",b="JETPACK_MODULES_LIST_RECEIVE",T="JETPACK_MODULE_ACTIVATE",O="JETPACK_MODULE_ACTIVATE_SUCCESS",w="JETPACK_MODULE_ACTIVATE_FAIL",k="JETPACK_MODULE_DEACTIVATE",P="JETPACK_MODULE_DEACTIVATE_FAIL",A="JETPACK_MODULE_DEACTIVATE_SUCCESS",j="JETPACK_MODULE_UPDATE_OPTIONS",N="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",I="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",D="JETPACK_CONNECTION_STATUS_FETCH",U="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",$="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",x="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",R="JETPACK_SITE_PRODUCTS_FETCH",F="JETPACK_SITE_PRODUCTS_FETCH_FAIL",L="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",J="JETPACK_SITE_DATA_FETCH",M="JETPACK_SITE_DATA_FETCH_RECEIVE",K="JETPACK_SITE_DATA_FETCH_FAIL",H="JETPACK_SITE_BENEFITS_FETCH",B="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",q="JETPACK_SITE_BENEFITS_FETCH_FAIL",W="JETPACK_SITE_DISCOUNT_FETCH",V="JETPACK_SITE_DISCOUNT_FETCH_RECEIVE",G="JETPACK_SITE_DISCOUNT_FETCH_FAIL",z="JETPACK_SITE_FEATURES_FETCH",Y="JETPACK_SITE_FEATURES_FETCH_RECEIVE",X="JETPACK_SITE_FEATURES_FETCH_FAIL",Z="JETPACK_SITE_PLANS_FETCH",Q="JETPACK_SITE_PLANS_FETCH_RECEIVE",ee="JETPACK_SITE_PLANS_FETCH_FAIL",te="JETPACK_SITE_PURCHASES_FETCH",ne="JETPACK_SITE_PURCHASES_FETCH_RECEIVE",re="JETPACK_SITE_PURCHASES_FETCH_FAIL",se="JETPACK_PLUGINS_DATA_FETCH",oe="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",ie="JETPACK_PLUGINS_DATA_FETCH_FAIL",ae="SET_PLAN_DURATION",ce="MOCK_SWITCH_USER_PERMISSIONS",ue="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},60820:(e,t,n)=>{"use strict";n.d(t,{u6:()=>o});var r=n(5932),s=(n(27723),n(5546),n(44254));const o=()=>e=>(e({type:s.LgT}),r.Ay.fetchUserConnectionData().then((t=>{e({type:s.RRv,userConnectionData:t})})).catch((t=>{e({type:s.S68,error:t})})))},34679:(e,t,n)=>{"use strict";n.d(t,{u6:()=>s.u6,vn:()=>r.vn});var r=n(19519),s=n(60820)},19519:(e,t,n)=>{"use strict";n.d(t,{Ff:()=>a,vn:()=>c});var r=n(66087),s=n(26556),o=n(44254);n(26508);const i={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},a=(0,s.HY)({connectUrl:(e="",t)=>{switch(t.type){case o.X2c:return(0,r.get)(t,"initialState.connectUrl",e);case o.gbL:return t.connectUrl;default:return e}},status:(e={siteConnected:window.Initial_State.connectionStatus},t)=>{switch(t.type){case o.mX7:case o.z0g:return(0,r.assign)({},e,{siteConnected:t.siteConnected});case o.c30:return(0,r.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case o.RRv:return!0===t.userConnectionData?.currentUser?.isConnected?(0,r.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:(e=window.Initial_State.userData||{},t)=>{switch(t.type){case o.RRv:return(0,r.assign)({},e,t.userConnectionData);case o.c30:{const t=(0,r.assign)({},e.currentUser,{isConnected:!1});return(0,r.assign)({},e,{currentUser:t})}case o.xQf:return(0,r.merge)({},e,t.initialState);default:return e}},requests:(e=i,t)=>{switch(t.type){case o.NvU:return(0,r.assign)({},e,{disconnectingSite:!0});case o.SOl:return(0,r.assign)({},e,{unlinkingUser:!0});case o.rL6:return(0,r.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel,connectingUserFrom:t.from});case o.xqC:return(0,r.assign)({},e,{connectingUser:!1});case o.Adt:return(0,r.assign)({},e,{fetchingConnectUrl:!0});case o.LgT:return(0,r.assign)({},e,{fetchingUserData:!0});case o._ce:return(0,r.assign)({},e,{reconnectingSite:!0});case o.Smm:case o.z0g:return(0,r.assign)({},e,{disconnectingSite:!1});case o.ZC3:case o.c30:return(0,r.assign)({},e,{unlinkingUser:!1});case o.bhx:case o.gbL:return(0,r.assign)({},e,{fetchingConnectUrl:!1});case o.S68:case o.RRv:return(0,r.assign)({},e,{fetchingUserData:!1});case o.jzm:case o.OOn:return(0,r.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:(e=window.Initial_State.hasSeenWCConnectionModal||!1,t)=>t.type===o.zqp||e});function c(e){return e.jetpack.connection.user.currentUser?.wpcomUser}},2065:(e,t,n)=>{"use strict";n.d(t,{Co:()=>r.Co,O3:()=>r.O3});var r=n(69089)},69089:(e,t,n)=>{"use strict";n.d(t,{Co:()=>i,O3:()=>a,ue:()=>o});var r=n(66087),s=n(44254);n(34679),n(52173),n(78795);const o=(e=window.Initial_State,t)=>{switch(t.type){case s.X2c:return(0,r.assign)({},e,t.initialState);case s.xQf:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function i(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function a(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}},31415:(e,t,n)=>{"use strict";n(5932),n(27723),n(5546),n(20428),n(66087),n(23096)},26508:(e,t,n)=>{"use strict";n(23096),n(31415)},23096:(e,t,n)=>{"use strict";var r=n(66087),s=n(26556),o=n(44254);n(77423);const i={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}};(0,s.HY)({items:(e={},t)=>{switch(t.type){case o.X2c:return(0,r.assign)({},t.initialState.getModules);case o.ooH:return(0,r.assign)({},e,t.modules);case o.s2d:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!0})});case o.tiw:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!1})});case o.PKf:{const n=(0,r.assign)({},e[t.module]);return Object.keys(t.newOptionValues).forEach((e=>{n.options[e].current_value=t.newOptionValues[e]})),(0,r.assign)({},e,{[t.module]:n})}default:return e}},requests:(e=i,t)=>{switch(t.type){case o.LK9:return(0,r.assign)({},e,{fetchingModulesList:!0});case o.spT:case o.ooH:return(0,r.assign)({},e,{fetchingModulesList:!1});case o.EqR:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!0})});case o.Fdt:case o.s2d:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!1})});case o.dM3:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!0})});case o.Mcz:case o.tiw:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!1})});case o.xf2:{const n=(0,r.assign)({},e.updatingOption);return n[t.module]=(0,r.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!0})),(0,r.assign)({},e,{updatingOption:(0,r.assign)({},e.updatingOption,n)})}case o.G2:case o.PKf:{const n=(0,r.assign)({},e.updatingOption);return n[t.module]=(0,r.assign)({},n[t.module]),Object.keys(t.newOptionValues).forEach((e=>{n[t.module][e]=!1})),(0,r.assign)({},e,{updatingOption:(0,r.assign)({},e.updatingOption,n)})}default:return e}}})},52173:(e,t,n)=>{"use strict";var r=n(26556),s=n(44254);(0,r.HY)({duration:(e="yearly",t)=>t.type===s.msC?t.duration:e})},93912:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(73161),s=n(26556),o=n(19519),i=n(69089),a=n(19892);const c=(0,s.HY)({initialState:i.ue,connection:o.Ff,siteData:a.Ff}),u=(0,s.HY)({globalNotices:r.x,jetpack:c})},2810:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(26556),s=n(94461),o=n(93912);const i=(0,r.Zz)((0,r.Tw)(s.A),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.y$)(o.A)},31528:(e,t,n)=>{"use strict";n(5932)},78795:(e,t,n)=>{"use strict";n(56939),n(31528)},56939:(e,t,n)=>{"use strict";var r=n(26556),s=n(44254);(0,r.HY)({items:(e={},t)=>t.type===s.BVe?t.siteProducts:e,requests:(e={},t)=>{switch(t.type){case s.lOA:return{...e,isFetching:!0};case s.BVe:case s.EeE:return{...e,isFetching:!1};default:return e}}})},24667:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>o,GJ:()=>i});var r=n(5932),s=n(44254);const o=()=>e=>(e({type:s.jpH}),r.Ay.fetchSiteBenefits().then((t=>{e({type:s.LKY,siteBenefits:t})})).catch((t=>{e({type:s.Gvw,error:t})}))),i=()=>e=>(e({type:s.z9S}),r.Ay.fetchConnectedPlugins().then((t=>(e({type:s.R1B,connectedPlugins:t}),t))).catch((t=>{e({type:s.Cj9,error:t})})))},82656:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>s.Eb,GJ:()=>s.GJ,Up:()=>r.Up,g1:()=>r.g1});var r=n(19892),s=n(24667)},74668:(e,t,n)=>{"use strict";n(5932)},77423:(e,t,n)=>{"use strict";n(71143),n(74668)},71143:(e,t,n)=>{"use strict";var r=n(66087),s=n(26556),o=n(44254);const i={isFetchingPluginsData:!1};(0,s.HY)({items:(e={},t)=>t.type===o.yxi?(0,r.assign)({},t.pluginsData):e,requests:(e=i,t)=>{switch(t.type){case o.SW5:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case o.RWZ:case o.yxi:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},19892:(e,t,n)=>{"use strict";n.d(t,{Ff:()=>c,Up:()=>u,g1:()=>p});var r=n(27723),s=(n(6838),n(66087)),o=n(26556),i=n(44254);const __=r.__,a={isFetchingSiteData:!1},c=(0,o.HY)({data:(e={},t)=>{switch(t.type){case i.BXj:return(0,s.assign)({},e,t.siteData);case i.LKY:return(0,s.merge)({},e,{site:{benefits:t.siteBenefits}});case i.C_M:return t.siteDiscount?.code?(0,s.merge)({},e,{site:{discount:t.siteDiscount}}):e;case i.R1B:return(0,s.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case i.I9e:return(0,s.merge)({},e,{site:{features:t.siteFeatures}});case i.ZZG:return(0,s.merge)({},e,{sitePlans:t.plans});case i.jA_:return(0,s.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:(e=a,t)=>{switch(t.type){case i.X99:return(0,s.assign)({},e,{isFetchingSiteData:!0});case i.jpH:return(0,s.assign)({},e,{isFetchingSiteBenefits:!0});case i.Wxz:return(0,s.assign)({},e,{isFetchingSiteDiscount:!0});case i.z9S:return(0,s.assign)({},e,{isFetchingConnectedPlugins:!0});case i.s8H:return(0,s.assign)({},e,{isFetchingSiteFeatures:!0});case i.pAF:return(0,s.assign)({},e,{isFetchingSitePlans:!0});case i.pc5:return(0,s.assign)({},e,{isFetchingSitePurchases:!0});case i.UsK:case i.BXj:return(0,s.assign)({},e,{isFetchingSiteData:!1});case i.Gvw:case i.LKY:return(0,s.assign)({},e,{isFetchingSiteBenefits:!1});case i.PMD:case i.C_M:return(0,s.assign)({},e,{isFetchingSiteDiscount:!1});case i.Cj9:case i.R1B:return(0,s.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case i.PoH:case i.I9e:return(0,s.assign)({},e,{isFetchingSiteFeatures:!1});case i.in6:case i.ZZG:return(0,s.assign)({},e,{isFetchingSitePlans:!1});case i.gOo:case i.jA_:return(0,s.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:(e={},t)=>{let n,r;if(t.type===i.UsK){switch(t.error.name){case"ApiError":n="reconnect",r=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":n="support",r=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:n=null,r=__("There seems to be a problem with your website.","jetpack")}return(0,s.assign)({},e,{message:Object.hasOwn(t.error,"response")?t.error.response.message:r,action:n,code:Object.hasOwn(t.error,"response")?t.error.response.code:"fetch_site_data_fail_other",data:Object.hasOwn(t.error,"response")?t.error.response.data:{}})}return e}});function u(e){return(0,s.get)(e.jetpack.siteData,["data","site","benefits"],null)}function p(e){const t=function(e){return function(e){return!!e.jetpack.siteData.requests.isDoneFetchingConnectedPlugins}(e)?(0,s.get)(e.jetpack.siteData,["data","site","connectedPlugins"],[]).filter((e=>"jetpack"!==e.slug)):null}(e);return t&&t.reduce(((e,t)=>(e[t.slug]={name:t.name},e)),{})}},74277:e=>{"use strict";e.exports={consumer_slug:"jetpack"}},39384:e=>{"use strict";e.exports=window.JetpackConnection},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},20428:e=>{"use strict";e.exports=window.jQuery},66087:e=>{"use strict";e.exports=window.lodash},56427:e=>{"use strict";e.exports=window.wp.components},86087:e=>{"use strict";e.exports=window.wp.element},27723:e=>{"use strict";e.exports=window.wp.i18n},93832:e=>{"use strict";e.exports=window.wp.url},77790:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},94001:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(86087),t=n(51609),r=n.n(t),s=n(84952),o=n(2810),i=n(28999);function a(){const t=document.getElementById("jetpack-plugin-portal-app"),n=r().createElement(s.Kq,{store:o.A},r().createElement(i.A,null));e.createRoot(t).render(n)}"loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",(()=>{a()}))})()})(); Save