File Editor
Directories:
.. (Back)
carousel
comment-likes
contact-form
custom-css
custom-post-types
images
infinite-scroll
likes
masterbar
related-posts
scan
sharedaddy
shortcodes
theme-tools
tiled-gallery
videopress
widget-visibility
widgets
wordads
Files:
accessible-focus.min.asset.php
accessible-focus.min.js
activation-modal.asset.php
activation-modal.css
activation-modal.js
activation-modal.js.LICENSE.txt
activation-modal.rtl.css
admin.asset.php
admin.css
admin.js
admin.js.LICENSE.txt
admin.rtl.css
connect-button.min.asset.php
connect-button.min.js
crowdsignal-shortcode.min.asset.php
crowdsignal-shortcode.min.js
crowdsignal-survey.min.asset.php
crowdsignal-survey.min.js
facebook-embed.min.asset.php
facebook-embed.min.js
gallery-settings.min.asset.php
gallery-settings.min.js
jetpack-admin.min.asset.php
jetpack-admin.min.js
jetpack-connection-banner.min.asset.php
jetpack-connection-banner.min.js
jetpack-deactivate-dialog.min.asset.php
jetpack-deactivate-dialog.min.js
jetpack-modules.min.asset.php
jetpack-modules.min.js
jetpack-modules.models.min.asset.php
jetpack-modules.models.min.js
jetpack-modules.views.min.asset.php
jetpack-modules.views.min.js
jetpack-recommendations-banner.min.asset.php
jetpack-recommendations-banner.min.js
plugins-page.asset.php
plugins-page.css
plugins-page.js
plugins-page.js.LICENSE.txt
plugins-page.rtl.css
polldaddy-shortcode.min.asset.php
polldaddy-shortcode.min.js
static-noscript-notice.html
static-version-notice.html
static.html
static.js.LICENSE.txt
style.min.css
style.min.rtl.css
twitter-timeline.min.asset.php
twitter-timeline.min.js
Create New File
Create
Edit File: activation-modal.js
/*! For license information please see activation-modal.js.LICENSE.txt */ !function(){var e={61074:function(e,t,n){"use strict";var r=n(69307);t.Z=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},15381:function(e,t,n){"use strict";var r=n(99196),o=n(70444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}));t.Z=i},65235:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},57692:function(e,t,n){"use strict";var r=n(93801),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function a(e){return r.isMemo(e)?s:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=s;var u=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var s=l(n);p&&(s=s.concat(p(n)));for(var c=a(t),g=a(n),m=0;m<s.length;++m){var y=s[m];if(!(i[y]||r&&r[y]||g&&g[y]||c&&c[y])){var E=f(n,y);try{u(t,y,E)}catch(e){}}}}return t}},86508:function(e,t){"use strict";t.Z={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},62103:function(e,t){"use strict";t.Z={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},67660:function(){},85837:function(e,t){"use strict";t.Z={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},54590:function(){},15035:function(){},47556:function(e,t,n){"use strict";var r=n(33713);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},15844:function(e,t,n){e.exports=n(47556)()},33713:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8922:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,E=n?Symbol.for("react.fundamental"):60117,v=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 l:case p:case i:case c:case s:case d:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case g:case a:return e;default:return t}}case o:return t}}}function C(e){return _(e)===p}t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=a,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=c,t.StrictMode=s,t.Suspense=d,t.isAsyncMode=function(e){return C(e)||_(e)===l},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===a},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===c},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===s||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===a||e.$$typeof===u||e.$$typeof===f||e.$$typeof===E||e.$$typeof===v||e.$$typeof===S||e.$$typeof===y)},t.typeOf=_},93801:function(e,t,n){"use strict";e.exports=n(8922)},4223:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,s=60114,c=60109,a=60110,u=60112,l=60113,p=60120,f=60115,d=60116,h=60121,g=60122,m=60117,y=60129,E=60131;if("function"==typeof Symbol&&Symbol.for){var v=Symbol.for;n=v("react.element"),r=v("react.portal"),o=v("react.fragment"),i=v("react.strict_mode"),s=v("react.profiler"),c=v("react.provider"),a=v("react.context"),u=v("react.forward_ref"),l=v("react.suspense"),p=v("react.suspense_list"),f=v("react.memo"),d=v("react.lazy"),h=v("react.block"),g=v("react.server.block"),m=v("react.fundamental"),y=v("react.debug_trace_mode"),E=v("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 o:case s:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case a:case u:case d:case f:case c:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return S(e)===a}},51637:function(e,t,n){"use strict";e.exports=n(4223)},30373:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(99196),o=n.n(r)().createContext(null)},31290:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(30373),s=n(95053),c=n(40999);t.Z=function(e){var t=e.store,n=e.context,a=e.children,u=(0,r.useMemo)((function(){var e=(0,s.X)(t);return{store:t,subscription:e}}),[t]),l=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,c.L)((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,l]);var p=n||i.E;return o().createElement(p.Provider,{value:u},a)}},35642:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(80255),o=n(37921),i=n(57692),s=n.n(i),c=n(99196),a=n.n(c),u=n(51637),l=n(95053),p=n(40999),f=n(30373),d=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],m=[null,null];function y(e,t){var n=e[1];return[t.payload,n+1]}function E(e,t,n){(0,p.L)((function(){return e.apply(void 0,t)}),n)}function v(e,t,n,r,o,i,s){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,s())}function S(e,t,n,r,o,i,s,c,a,u){if(e){var l=!1,p=null,f=function(){if(!l){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===i.current?s.current||a():(i.current=e,c.current=e,s.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var _=function(){return[null,0]};function C(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,p=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,C=n.methodName,b=void 0===C?"connectAdvanced":C,T=n.renderCountProp,O=void 0===T?void 0:T,w=n.shouldHandleStateChanges,N=void 0===w||w,P=n.storeKey,k=void 0===P?"store":P,I=(n.withRef,n.forwardRef),j=void 0!==I&&I,U=n.context,A=void 0===U?f.E:U,R=(0,o.Z)(n,d),D=A;return function(t){var n=t.displayName||t.name||"Component",i=p(n),f=(0,r.Z)({},R,{getDisplayName:p,methodName:b,renderCountProp:O,shouldHandleStateChanges:N,storeKey:k,displayName:i,wrappedComponentName:n,WrappedComponent:t}),d=R.pure;var C=d?c.useMemo:function(e){return e()};function T(n){var i=(0,c.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,o.Z)(n,h);return[n.context,e,t]}),[n]),s=i[0],p=i[1],d=i[2],b=(0,c.useMemo)((function(){return s&&s.Consumer&&(0,u.isContextConsumer)(a().createElement(s.Consumer,null))?s:D}),[s,D]),T=(0,c.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,c.useMemo)((function(){return function(t){return e(t.dispatch,f)}(w)}),[w]),k=(0,c.useMemo)((function(){if(!N)return m;var e=(0,l.X)(w,O?null:T.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[w,O,T]),I=k[0],j=k[1],U=(0,c.useMemo)((function(){return O?T:(0,r.Z)({},T,{subscription:I})}),[O,T,I]),A=(0,c.useReducer)(y,g,_),R=A[0][0],L=A[1];if(R&&R.error)throw R.error;var x=(0,c.useRef)(),Z=(0,c.useRef)(d),F=(0,c.useRef)(),M=(0,c.useRef)(!1),J=C((function(){return F.current&&d===Z.current?F.current:P(w.getState(),d)}),[w,R,d]);E(v,[Z,x,M,d,J,F,j]),E(S,[N,w,I,P,Z,x,M,F,j,L],[w,I,P]);var $=(0,c.useMemo)((function(){return a().createElement(t,(0,r.Z)({},J,{ref:p}))}),[p,t,J]);return(0,c.useMemo)((function(){return N?a().createElement(b.Provider,{value:U},$):$}),[b,$,U])}var w=d?a().memo(T):T;if(w.WrappedComponent=t,w.displayName=T.displayName=i,j){var P=a().forwardRef((function(e,t){return a().createElement(w,(0,r.Z)({},e,{reactReduxForwardedRef:t}))}));return P.displayName=i,P.WrappedComponent=t,s()(P,t)}return s()(w,t)}}},51479:function(e,t,n){"use strict";var r=n(80255),o=n(37921),i=n(35642),s=n(38588),c=n(72320),a=n(22004),u=n(24769),l=n(98164),p=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function f(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function d(e,t){return e===t}function h(e){var t=void 0===e?{}:e,n=t.connectHOC,h=void 0===n?i.Z:n,g=t.mapStateToPropsFactories,m=void 0===g?a.ZP:g,y=t.mapDispatchToPropsFactories,E=void 0===y?c.ZP:y,v=t.mergePropsFactories,S=void 0===v?u.ZP:v,_=t.selectorFactory,C=void 0===_?l.ZP:_;return function(e,t,n,i){void 0===i&&(i={});var c=i,a=c.pure,u=void 0===a||a,l=c.areStatesEqual,g=void 0===l?d:l,y=c.areOwnPropsEqual,v=void 0===y?s.Z:y,_=c.areStatePropsEqual,b=void 0===_?s.Z:_,T=c.areMergedPropsEqual,O=void 0===T?s.Z:T,w=(0,o.Z)(c,p),N=f(e,m,"mapStateToProps"),P=f(t,E,"mapDispatchToProps"),k=f(n,S,"mergeProps");return h(C,(0,r.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:N,initMapDispatchToProps:P,initMergeProps:k,pure:u,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:b,areMergedPropsEqual:O},w))}}t.Z=h()},72320:function(e,t,n){"use strict";var r=n(57059),o=n(70278);t.ZP=[function(e){return"function"==typeof e?(0,o.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,o.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,o.dX)((function(t){return(0,r.Z)(e,t)})):void 0}]},22004:function(e,t,n){"use strict";var r=n(70278);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},24769:function(e,t,n){"use strict";var r=n(80255);function o(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,s=!1;return function(t,n,c){var a=e(t,n,c);return s?o&&i(a,r)||(r=a):(s=!0,r=a),r}}}(e):void 0},function(e){return e?void 0:function(){return o}}]},98164:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(37921),o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function s(e,t,n,r,o){var i,s,c,a,u,l=o.areStatesEqual,p=o.areOwnPropsEqual,f=o.areStatePropsEqual,d=!1;function h(o,d){var h,g,m=!p(d,s),y=!l(o,i);return i=o,s=d,m&&y?(c=e(i,s),t.dependsOnOwnProps&&(a=t(r,s)),u=n(c,a,s)):m?(e.dependsOnOwnProps&&(c=e(i,s)),t.dependsOnOwnProps&&(a=t(r,s)),u=n(c,a,s)):y?(h=e(i,s),g=!f(h,c),c=h,g&&(u=n(c,a,s)),u):u}return function(o,l){return d?h(o,l):(c=e(i=o,s=l),a=t(r,s),u=n(c,a,s),d=!0,u)}}function c(e,t){var n=t.initMapStateToProps,c=t.initMapDispatchToProps,a=t.initMergeProps,u=(0,r.Z)(t,o),l=n(e,u),p=c(e,u),f=a(e,u);return(u.pure?s:i)(l,p,f,e,u)}},70278:function(e,t,n){"use strict";function r(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(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=o(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(t,n)),i},r}}n.d(t,{dX:function(){return r},xv:function(){return i}})},91654:function(e,t,n){"use strict";n.d(t,{$j:function(){return o.Z},zt:function(){return r.Z}});var r=n(31290),o=(n(35642),n(30373),n(51479));n(87518),n(68882),n(46271)},87518:function(e,t,n){"use strict";n(30373),n(46271)},82830:function(e,t,n){"use strict";n(99196),n(30373)},68882:function(e,t,n){"use strict";n(99196),n(82830),n(95053),n(40999),n(30373)},46271:function(e,t,n){"use strict";n(99196),n(30373),n(82830)},59309:function(e,t,n){"use strict";n.d(t,{$j:function(){return r.$j},zt:function(){return r.zt}});var r=n(91654),o=n(79523);(0,n(72935).F)(o.m)},95053:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(72935);var o={notify:function(){},get:function(){return[]}};function i(e,t){var n,i=o;function s(){a.onStateChange&&a.onStateChange()}function c(){var o,c,a;n||(n=t?t.addNestedSub(s):e.subscribe(s),o=(0,r.k)(),c=null,a=null,i={clear:function(){c=null,a=null},notify:function(){o((function(){for(var e=c;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=c;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=a={callback:e,next:null,prev:a};return n.prev?n.prev.next=n:c=n,function(){t&&null!==c&&(t=!1,n.next?n.next.prev=n.prev:a=n.prev,n.prev?n.prev.next=n.next:c=n.next)}}})}var a={addNestedSub:function(e){return c(),i.subscribe(e)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:s,isSubscribed:function(){return Boolean(n)},trySubscribe:c,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=o)},getListeners:function(){return i}};return a}},72935:function(e,t,n){"use strict";n.d(t,{F:function(){return o},k:function(){return i}});var r=function(e){e()},o=function(e){return r=e},i=function(){return r}},57059:function(e,t,n){"use strict";function r(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}n.d(t,{Z:function(){return r}})},79523:function(e,t,n){"use strict";n.d(t,{m:function(){return r.unstable_batchedUpdates}});var r=n(91850)},38588:function(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 o(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),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}n.d(t,{Z:function(){return o}})},40999:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(99196),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},75385:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var r=n();r.withExtraArgument=n,t.Z=r},835:function(e,t,n){"use strict";n.d(t,{MT:function(){return c},UY:function(){return u},md:function(){return d},qC:function(){return f}});var r=n(407),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function s(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 c(e,t,n){var o;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(c)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var a=e,u=t,l=[],p=l,f=!1;function d(){p===l&&(p=l.slice())}function h(){if(f)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(f)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 d(),p.push(e),function(){if(t){if(f)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,d();var n=p.indexOf(e);p.splice(n,1),l=null}}}function m(e){if(!s(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(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,u=a(u,e)}finally{f=!1}for(var t=l=p,n=0;n<t.length;n++){(0,t[n])()}return e}return m({type:i.INIT}),(o={dispatch:m,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");a=e,m({type:i.REPLACE})}})[r.Z]=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.Z]=function(){return this},e},o}function a(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 o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var s,c=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.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:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.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){s=e}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,o={},i=0;i<c.length;i++){var u=c[i],l=n[u],p=e[u],f=l(p,t);if(void 0===f){var d=a(u,t);throw new Error(d)}o[u]=f,r=r||f!==p}return(r=r||c.length!==Object.keys(e).length)?o:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(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 f(){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 d(){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.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{dispatch:r=f.apply(void 0,i)(n.dispatch)})}}}},407:function(e,t,n){"use strict";var r,o=n(37148);e=n.hmd(e),r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:e;var i=(0,o.Z)(r);t.Z=i},37148:function(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,{Z:function(){return r}})},64743:function(e,t,n){"use strict";var r=n(61132),o=n(96483);function i(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=i("JsonParseError"),c=i("JsonParseAfterRedirectError"),a=i("Api404Error"),u=i("Api404AfterRedirectError"),l=i("FetchNetworkError");const p=new function(e,t){let n=e,i=e,s={"X-WP-Nonce":t},c={credentials:"same-origin",headers:s},a={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"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 l={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){i=e},setApiNonce(e){s={"X-WP-Nonce":e},c={credentials:"same-origin",headers:s},a={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t)=>{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),h(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(o)}).then(f).then(d)},fetchAuthorizationUrl:e=>p((0,o.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(f).then(d),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(d),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(d),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(f).then(d),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(d),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(f).then(d),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(f).then(d),disconnectSite:()=>h(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(f).then(d),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(f).then(d),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(f).then(d),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,a).then(f).then(d),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(f).then(d),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(f).then(d),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(f).then(d),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(f).then(d),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(f).then(d),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(f).then(d),updateSettings:e=>h(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(f).then(d),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(f).then(d),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(f).then(d),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(f).then(d),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(f).then(d),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(r)}).then(f).then(d)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(f).then(d),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(f).then(d),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(f).then(d),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(f).then(d),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(f).then(d).then(m),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(f).then(d),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(f).then(d),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(f).then(d),updateSetting:e=>h(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(f).then(d),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(f).then(d).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(f).then(d).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(f).then(d),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(f).then(d).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(f).then(d).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(f).then(d).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(f).then(d),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(f).then(d),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(f).then(d),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(f).then(d),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(f).then(d),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(f),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(f).then(d),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(f).then(d).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(f).then(d).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(f).then(d),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(f).then(d),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(f).then(d),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(f).then(d),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(f).then(d),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(f).then(d),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(f).then(d),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(f).then(d),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(f).then(d),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(f).then(d),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(f).then(d),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(f).then(d),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(f),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(f),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(f).then(d),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,a).then(f),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(f).then(d),fetchSearchPlanInfo:()=>p(`${i}jetpack/v4/search/plan`,c).then(f).then(d),fetchSearchSettings:()=>p(`${i}jetpack/v4/search/settings`,c).then(f).then(d),updateSearchSettings:e=>h(`${i}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(f).then(d),fetchSearchStats:()=>p(`${i}jetpack/v4/search/stats`,c).then(f).then(d),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(f).then(d),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(f).then(d),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(f).then(d),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${i}jetpack/v4/search/pricing`,c).then(f).then(d),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(f).then(d),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(f).then(d)};function p(e,t){return fetch(u(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function m(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,l)};function f(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new a})):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 d(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new c(n):new s}function g(){throw new l}t.ZP=p},67121:function(e,t,n){"use strict";var r=n(55609),o=n(65736),i=n(65235),s=n.n(i),c=n(15844),a=n.n(c),u=n(99196),l=n.n(u),p=n(90526),f=n(86508);const __=o.__,d=e=>{const{label:t,onClick:n,isLoading:o,isDisabled:i,displayError:c,errorMessage:a}=e;return l().createElement(l().Fragment,null,l().createElement(p.Z,{className:s()(f.Z.button,"jp-action-button--button"),label:t,onClick:n,variant:"primary",disabled:o||i},o?l().createElement(r.Spinner,null):t),c&&l().createElement("p",{className:s()(f.Z.error,"jp-action-button__error")},a))};d.propTypes={label:a().string.isRequired,onClick:a().func,isLoading:a().bool,isDisabled:a().bool,displayError:a().bool,errorMessage:a().oneOfType([a().string,a().element])},d.defaultProps={isLoading:!1,displayError:!1,errorMessage:__("An error occurred. Please try again.","jetpack")},t.Z=d},90526:function(e,t,n){"use strict";var r=n(82674),o=n.n(r),i=n(55609),s=n(61074),c=n(15381),a=n(65235),u=n.n(a),l=n(99196),p=n.n(l),f=n(62103);const d=(0,l.forwardRef)(((e,t)=>{const{children:n,variant:r="primary",size:a="normal",weight:l="bold",icon:d,iconSize:h,disabled:g,isDestructive:m,isLoading:y,isExternalLink:E,className:v,text:S,fullWidth:_,...C}=e,b=u()(f.Z.button,v,{[f.Z.normal]:"normal"===a,[f.Z.small]:"small"===a,[f.Z.icon]:Boolean(d),[f.Z.loading]:y,[f.Z.regular]:"regular"===l,[f.Z["full-width"]]:_,[f.Z["is-icon-button"]]:Boolean(d)&&!n});C.ref=t;const T="normal"===a?20:16,O=E&&p().createElement(s.Z,{size:T,icon:c.Z,className:f.Z["external-icon"]}),w=E?"_blank":void 0,N=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return p().createElement(i.Button,o()({target:w,variant:r,className:u()(b,{"has-text":!!d&&N}),icon:E?void 0:d,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:m,text:S},C),y&&p().createElement(i.Spinner,null),p().createElement("span",null,n),O)}));d.displayName="Button",t.Z=d},78868:function(e,t,n){"use strict";var r=n(82674),o=n.n(r),i=n(65736),s=n(65235),c=n.n(s),a=n(99196),u=n.n(a);const __=i.__;t.Z=e=>{let{logoColor:t="#069e08",showText:n=!0,className:r,height:i=32,...s}=e;const a=n?"0 0 118 32":"0 0 32 32";return u().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:a,className:c()("jetpack-logo",r),"aria-labelledby":"jetpack-logo-title",height:i},s),u().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),u().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&u().createElement(u().Fragment,null,u().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),u().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),u().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),u().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),u().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),u().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),u().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},37325:function(e,t,n){"use strict";var r=n(69307),o=n(65736),i=n(65235),s=n.n(i),c=n(6895),a=n(45106);n(67660);const __=o.__,u=()=>(0,r.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),{tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),l=e=>{let{agreeButtonLabel:t}=e;return(0,r.createInterpolateElement)((0,o.sprintf)(/* translators: %s is a button label */ __("By clicking the <strong>%s</strong> button, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>share details</shareDetailsLink> with WordPress.com.","jetpack"),t),{strong:React.createElement("strong",null),tosLink:React.createElement(p,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(p,{slug:"jetpack-support-what-data-does-jetpack-sync"})})},p=e=>{let{slug:t,children:n}=e;return React.createElement("a",{className:"terms-of-service__link",href:(0,c.Z)(t),rel:"noopener noreferrer",target:"_blank"},n)};t.Z=e=>{let{className:t,multipleButtons:n,agreeButtonLabel:r}=e;return React.createElement(a.ZP,{className:s()(t,"terms-of-service")},n?React.createElement(u,null):React.createElement(l,{agreeButtonLabel:r}))}},66017:function(e,t,n){"use strict";n.d(t,{h:function(){return r},s:function(){return o}});const r={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},45106:function(e,t,n){"use strict";var r=n(82674),o=n.n(r),i=n(65235),s=n.n(i),c=n(99196),a=n.n(c),u=n(66017),l=n(85837);const p=(0,c.forwardRef)(((e,t)=>{let{variant:n="body",children:r,component:i,className:p,...f}=e;const d=i||u.h[n]||"span",h=(0,c.useMemo)((()=>u.s.reduce(((e,t)=>(void 0!==f[t]&&(e+=l.Z[`${t}-${f[t]}`]+" ",delete f[t]),e)),"")),[f]);return f.ref=t,a().createElement(d,o()({className:s()(l.Z.reset,l.Z[n],p,h)},f),r)}));p.displayName="Text",t.ZP=p},6895:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=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,{Z:function(){return r}})},61132:function(e,t,n){let r={};try{r=n(92787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const o=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:o,jetpackConfigGet:e=>{if(!o(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]}}},9312:function(e,t,n){"use strict";var r=n(65736),o=n(15844),i=n.n(o),s=n(99196),c=n.n(s),a=n(31294),u=n(71624);const __=r.__,l=e=>{let{title:t,buttonLabel:n,apiRoot:r,apiNonce:o,registrationNonce:i,from:s,redirectUri:l,images:p,children:f,assetBaseUrl:d,autoTrigger:h,footer:g,skipUserConnection:m,logo:y}=e;const{handleRegisterSite:E,siteIsRegistering:v,userIsConnecting:S,registrationError:_,isOfflineMode:C}=(0,a.Z)({registrationNonce:i,redirectUri:l,apiRoot:r,apiNonce:o,autoTrigger:h,from:s,skipUserConnection:m}),b=Boolean(_),T=v||S,O=_?.response?.code;return c().createElement(u.Z,{title:t,images:p,assetBaseUrl:d,buttonLabel:n,handleButtonClick:E,displayButtonError:b,errorCode:O,buttonIsLoading:T,footer:g,isOfflineMode:C,logo:y},f)};l.propTypes={title:i().string,buttonLabel:i().string,apiRoot:i().string.isRequired,apiNonce:i().string.isRequired,registrationNonce:i().string.isRequired,from:i().string,redirectUri:i().string.isRequired,autoTrigger:i().bool,images:i().arrayOf(i().string),assetBaseUrl:i().string,skipUserConnection:i().bool,logo:i().element},l.defaultProps={title:__("Over 5 million WordPress sites are faster and more secure","jetpack"),buttonLabel:__("Set up Jetpack","jetpack"),images:[],redirectUri:null,autoTrigger:!1,skipUserConnection:!1},t.Z=l},71624:function(e,t,n){"use strict";var r=n(6895),o=n(37325),i=n(67121),s=n(69307),c=n(65736),a=n(15844),u=n.n(a),l=n(99196),p=n.n(l),f=n(18524);n(54590);const __=c.__,d=e=>{const{title:t,images:n,children:c,assetBaseUrl:a,isLoading:u,buttonLabel:l,handleButtonClick:d,displayButtonError:h,errorCode:g,buttonIsLoading:m,footer:y,isOfflineMode:E,logo:v}=e,S=(()=>{switch(g){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack")}if(E)return(0,s.createInterpolateElement)(__("Unavailable in <a>Offline Mode</a>","jetpack"),{a:p().createElement("a",{href:(0,r.Z)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})})();return p().createElement(f.Z,{title:t,assetBaseUrl:a,images:n,className:"jp-connection__connect-screen"+(u?" jp-connection__connect-screen__loading":""),logo:v},p().createElement("div",{className:"jp-connection__connect-screen__content"},c,p().createElement("div",{className:"jp-connection__connect-screen__tos"},p().createElement(o.Z,{agreeButtonLabel:l})),p().createElement(i.Z,{label:l,onClick:d,displayError:h||E,errorMessage:S,isLoading:m,isDisabled:E}),y&&p().createElement("div",{className:"jp-connection__connect-screen__footer"},y)))};d.propTypes={title:u().string,images:u().arrayOf(u().string),assetBaseUrl:u().string,isLoading:u().bool,buttonLabel:u().string.isRequired,handleButtonClick:u().func,displayButtonError:u().bool,errorCode:u().string,buttonIsLoading:u().bool,footer:u().node,isOfflineMode:u().bool,logo:u().element},d.defaultProps={isLoading:!1,buttonIsLoading:!1,displayButtonError:!1,errorCode:null,handleButtonClick:()=>{},footer:null,isOfflineMode:!1},t.Z=d},62458:function(e,t,n){"use strict";var r=n(15844),o=n.n(r),i=n(99196),s=n.n(i);const c=e=>{const{images:t,assetBaseUrl:n}=e;if(!t.length)return null;const r=t.map(((e,t)=>s().createElement(s().Fragment,{key:t},s().createElement("img",{src:n+e,alt:""}))));return s().createElement("div",{className:"jp-connection__connect-screen__image-slider"},r)};c.propTypes={images:o().arrayOf(o().string).isRequired,assetBaseUrl:o().string},c.defaultProps={assetBaseUrl:""},t.Z=c},18524:function(e,t,n){"use strict";var r=n(78868),o=n(65235),i=n.n(o),s=n(15844),c=n.n(s),a=n(99196),u=n.n(a),l=n(62458);n(15035);const p=e=>{const{title:t,children:n,className:o,assetBaseUrl:s,images:c,logo:a,rna:p=!1}=e,f=c?.length;return u().createElement("div",{className:i()("jp-connection__connect-screen-layout",f?"jp-connection__connect-screen-layout__two-columns":"",o?" "+o:"")},p&&u().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},u().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),u().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),u().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),u().createElement("div",{className:"jp-connection__connect-screen-layout__left"},a||u().createElement(r.Z,null),u().createElement("h2",null,t),n),f?u().createElement("div",{className:"jp-connection__connect-screen-layout__right"},u().createElement(l.Z,{images:c,assetBaseUrl:s})):null)};p.propTypes={title:c().string,className:c().string,images:c().arrayOf(c().string),assetBaseUrl:c().string,logo:c().element},t.Z=p},31294:function(e,t,n){"use strict";var r=n(64743),o=n(9818),i=n(99196),s=n(80428);const c=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{};t.Z=function(){let{registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:a,autoTrigger:u,from:l,skipUserConnection:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{registerSite:f,connectUser:d,refreshConnectedPlugins:h}=(0,o.useDispatch)(s.t),g=(0,o.useSelect)((e=>e(s.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:y,userConnectionData:E,connectedPlugins:v,connectionErrors:S,isRegistered:_,isUserConnected:C,hasConnectedOwner:b,isOfflineMode:T}=(0,o.useSelect)((e=>({siteIsRegistering:e(s.t).getSiteIsRegistering(),userIsConnecting:e(s.t).getUserIsConnecting(),userConnectionData:e(s.t).getUserConnectionData(),connectedPlugins:e(s.t).getConnectedPlugins(),connectionErrors:e(s.t).getConnectionErrors(),isOfflineMode:e(s.t).getIsOfflineMode(),...e(s.t).getConnectionStatus()}))),O=()=>p?a?(window.location=a,Promise.resolve(a)):Promise.resolve():d({from:l,redirectUri:a}),w=t=>(t&&t.preventDefault(),_?O():f({registrationNonce:e,redirectUri:a}).then((()=>O())));return(0,i.useEffect)((()=>{r.ZP.setApiRoot(t),r.ZP.setApiNonce(n)}),[t,n]),(0,i.useEffect)((()=>{!u||m||y||w()}),[]),{handleRegisterSite:w,handleConnectUser:O,refreshConnectedPlugins:h,isRegistered:_,isUserConnected:C,siteIsRegistering:m,userIsConnecting:y,registrationError:g,userConnectionData:E,hasConnectedOwner:b,connectedPlugins:v,connectionErrors:S,isOfflineMode:T}}},27523:function(e,t,n){"use strict";n.d(t,{LI:function(){return i},N4:function(){return c},Qo:function(){return p},T1:function(){return u},TS:function(){return l},ZP:function(){return C},b5:function(){return d},i6:function(){return o},qJ:function(){return h},qV:function(){return a},r7:function(){return s},wQ:function(){return f}});var r=n(64743);const o="SET_CONNECTION_STATUS",i="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",u="CLEAR_REGISTRATION_ERROR",l="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",f="SET_CONNECTED_PLUGINS",d="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",g=e=>({type:o,connectionStatus:e}),m=e=>({type:s,isRegistering:e}),y=e=>({type:c,isConnecting:e}),E=e=>({type:a,registrationError:e}),v=()=>({type:u}),S=e=>({type:l,authorizationUrl:e}),_=e=>({type:f,connectedPlugins:e});const C={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:i,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:y,setRegistrationError:E,clearRegistrationError:v,setAuthorizationUrl:S,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield v(),yield m(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield g({isRegistered:!0}),yield S(e.authorizeUrl),yield m(!1),Promise.resolve(e)}catch(e){return yield E(e),yield m(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:_,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>r.ZP.fetchConnectedPlugins().then((n=>{t(_(n)),e(n)}))))},setConnectionErrors:e=>({type:d,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},31432:function(e,t,n){"use strict";var r=n(64743),o=n(9818),i=n(27057);const s=(0,o.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((o,s)=>{t(i.Z).getAuthorizationUrl(r).then((t=>{const r=n||(e=>window.location.assign(e)),i=new URL(t);e&&i.searchParams.set("from",encodeURIComponent(e));const s=i.toString();r(s),o(s)})).catch((e=>{s(e)}))}))}}));t.Z={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return r.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return r.ZP.registerSite(t,n)},CONNECT_USER:s}},41479:function(e,t,n){"use strict";var r=n(9818),o=n(27523);const i=(0,r.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.i6:return{...e,...t.connectionStatus};case o.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case o.T1:return!1;case o.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===o.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.b5?t.connectionErrors:e},isOfflineMode:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.qJ?t.isConnecting:e}});t.Z=i},77728:function(e,t,n){"use strict";var r=n(9818),o=n(27523),i=n(27057);const s={getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];const c=(0,r.select)(i.Z).hasFinishedResolution("getAuthorizationUrl",o);return t&&!c&&(0,r.dispatch)(i.Z).finishResolution("getAuthorizationUrl",o),t},*fulfill(e){const t=yield o.ZP.fetchAuthorizationUrl(e);yield o.ZP.setAuthorizationUrl(t.authorizeUrl)}}};t.Z={...s}},82725:function(e,t){"use strict";const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}};t.Z=n},13535:function(e,t,n){"use strict";var r=n(9818);class o{static store=null;static mayBeInit(e,t){null===o.store&&(o.store=(0,r.createReduxStore)(e,t),(0,r.register)(o.store))}}t.Z=o},27057:function(e,t){"use strict";t.Z="jetpack-connection"},80428:function(e,t,n){"use strict";n.d(t,{t:function(){return u.Z}});var r=n(27523),o=n(31432),i=n(41479),s=n(77728),c=n(82725),a=n(13535),u=n(27057);const l=window.JP_CONNECTION_INITIAL_STATE;l||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),a.Z.mayBeInit(u.Z,{__experimentalUseThunks:!0,reducer:i.Z,actions:r.ZP,selectors:c.Z,resolvers:s.Z,controls:o.Z,initialState:l||{}})},65901:function(e,t,n){"use strict";n.d(t,{m:function(){return o},o:function(){return r}});const r="NEW_NOTICE",o="REMOVE_NOTICE"},41549:function(e,t,n){"use strict";var r=n(92819),o=n(65901);function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={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:o.o,notice:i}}i.bind(null,"is-success"),i.bind(null,"is-error"),i.bind(null,"is-info"),i.bind(null,"is-warning")},33929:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(835),o=n(65901);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.o:return[t.notice,...e];case o.m:return e.filter((e=>e.noticeId!==t.noticeId))}return e}(0,r.UY)({globalNotices:i})},59584:function(e,t,n){"use strict";n(92819)},67122:function(e,t,n){"use strict";var r=n(64743),o=n(9312),i=n(55609),s=n(69307),c=n(65736),a=n(99196),u=n.n(a),l=n(59309),p=n(69508),f=n(9422);const __=c.__;t.Z=(0,l.$j)((e=>({apiRoot:(0,p.yB)(e),apiNonce:(0,p.VY)(e),preConnectionHelpers:(0,p.R6)(e),pluginBaseUrl:(0,p.wB)(e),registrationNonce:(0,p.H$)(e)})))((e=>{const{apiRoot:t,apiNonce:n,pluginBaseUrl:c,preConnectionHelpers:a,registrationNonce:l}=e,[p,d]=(0,s.useState)(!1),h=(0,s.useCallback)((()=>{d(!0)}),[]);(0,s.useEffect)((()=>{r.ZP.setApiRoot(t),r.ZP.setApiNonce(n)}),[t,n]);return p?null:u().createElement(f.Z,{className:"jp-connection__portal-contents"},u().createElement(i.Modal,{title:"",contentLabel:__("Set up Jetpack","jetpack"),aria:{labelledby:"jp-action-button--button"},className:"jp-connection__portal-contents",shouldCloseOnClickOutside:!a,shouldCloseOnEsc:!a,isDismissible:!a,onRequestClose:h},u().createElement(o.Z,{apiNonce:n,from:window.location.pathname.endsWith("plugins.php")?"full-screen-prompt":"landing-page-bottom",registrationNonce:l,apiRoot:t,images:["/images/connect-right.jpg"],assetBaseUrl:c,redirectUri:"admin.php?page=jetpack"},u().createElement("p",null,__("Secure and speed up your site for free with Jetpack's powerful WordPress tools.","jetpack")),u().createElement("ul",null,u().createElement("li",null,__("Measure your impact with Jetpack Stats","jetpack")),u().createElement("li",null,__("Speed up your site with optimized images","jetpack")),u().createElement("li",null,__("Protect your site against bot attacks","jetpack")),u().createElement("li",null,__("Get notifications if your site goes offline","jetpack")),u().createElement("li",null,__("Enhance your site with dozens of other features","jetpack"))))))}))},9422:function(e,t,n){"use strict";var r=n(99196),o=n.n(r),i=n(91850),s=n.n(i);const c=document.getElementById("jetpack-plugin-portal-sidecar");class a extends o().Component{constructor(e){super(e),this.portalNode=document.createElement("div")}componentDidMount(){c.appendChild(this.portalNode)}componentWillUnmount(){c.removeChild(this.portalNode)}render(){return s().createPortal(this.props.children,this.portalNode)}}t.Z=a},51975:function(e,t,n){"use strict";n.d(t,{AAZ:function(){return p},Abu:function(){return te},B9W:function(){return S},BVO:function(){return u},CD3:function(){return k},Dze:function(){return ee},EpE:function(){return ne},Few:function(){return Q},Gu5:function(){return N},Hyl:function(){return U},I3o:function(){return b},IWc:function(){return f},J1y:function(){return c},Jyr:function(){return w},K0Z:function(){return se},Lao:function(){return I},Lon:function(){return j},Mg3:function(){return B},MoW:function(){return d},Ppo:function(){return x},QD8:function(){return F},QmL:function(){return oe},R99:function(){return r},TRY:function(){return L},Tip:function(){return V},U7H:function(){return a},UyH:function(){return i},VN$:function(){return G},VlO:function(){return W},XPw:function(){return ie},a8A:function(){return R},arb:function(){return ce},arr:function(){return D},bGw:function(){return E},dDV:function(){return h},fHq:function(){return J},g9Z:function(){return X},hF6:function(){return ae},hmP:function(){return s},hzW:function(){return Z},ien:function(){return l},jEk:function(){return _},jtr:function(){return ue},kFt:function(){return C},l94:function(){return $},lLu:function(){return q},lje:function(){return g},ltp:function(){return Y},maF:function(){return A},n2G:function(){return O},nDB:function(){return H},o2S:function(){return m},pmE:function(){return K},q7G:function(){return o},rQ4:function(){return M},rwn:function(){return z},sG3:function(){return T},sO1:function(){return v},xkZ:function(){return P},ybW:function(){return y},zOX:function(){return re}});const r="JETPACK_SET_INITIAL_STATE",o="CONNECT_URL_FETCH",i="CONNECT_URL_FETCH_FAIL",s="CONNECT_URL_FETCH_SUCCESS",c="DISCONNECT_SITE",a="DISCONNECT_SITE_FAIL",u="DISCONNECT_SITE_SUCCESS",l="CONNECT_USER",p="RESET_CONNECT_USER",f="UNLINK_USER",d="UNLINK_USER_FAIL",h="UNLINK_USER_SUCCESS",g="USER_CONNECTION_DATA_FETCH",m="USER_CONNECTION_DATA_FETCH_FAIL",y="USER_CONNECTION_DATA_FETCH_SUCCESS",E="SITE_RECONNECT",v="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",N="JETPACK_MODULE_DEACTIVATE",P="JETPACK_MODULE_DEACTIVATE_FAIL",k="JETPACK_MODULE_DEACTIVATE_SUCCESS",I="JETPACK_MODULE_UPDATE_OPTIONS",j="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",U="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",A="JETPACK_CONNECTION_STATUS_FETCH",R="JETPACK_SITE_CONNECTED_PLUGINS_FETCH",D="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_RECEIVE",L="JETPACK_SITE_CONNECTED_PLUGINS_FETCH_FAIL",x="JETPACK_SITE_PRODUCTS_FETCH",Z="JETPACK_SITE_PRODUCTS_FETCH_FAIL",F="JETPACK_SITE_PRODUCTS_FETCH_RECEIVE",M="JETPACK_SITE_DATA_FETCH",J="JETPACK_SITE_DATA_FETCH_RECEIVE",$="JETPACK_SITE_DATA_FETCH_FAIL",B="JETPACK_SITE_BENEFITS_FETCH",H="JETPACK_SITE_BENEFITS_FETCH_RECEIVE",z="JETPACK_SITE_BENEFITS_FETCH_FAIL",V="JETPACK_SITE_DISCOUNT_FETCH",q="JETPACK_SITE_DISCOUNT_FETCH_RECEIVE",K="JETPACK_SITE_DISCOUNT_FETCH_FAIL",W="JETPACK_SITE_FEATURES_FETCH",G="JETPACK_SITE_FEATURES_FETCH_RECEIVE",X="JETPACK_SITE_FEATURES_FETCH_FAIL",Q="JETPACK_SITE_PLANS_FETCH",Y="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",oe="JETPACK_PLUGINS_DATA_FETCH",ie="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",se="JETPACK_PLUGINS_DATA_FETCH_FAIL",ce="SET_PLAN_DURATION",ae="MOCK_SWITCH_USER_PERMISSIONS",ue="JETPACK_CONNECTION_HAS_SEEN_WC_CONNECTION_MODAL"},95274:function(e,t,n){"use strict";n(64743),n(65736),n(41549)},96300:function(e,t,n){"use strict";n(13480),n(95274)},13480:function(e,t,n){"use strict";n.d(t,{I6:function(){return c}});var r=n(92819),o=n(835),i=n(51975);n(50416);const s={disconnectingSite:!1,connectingUser:!1,unlinkingUser:!1,fetchingConnectUrl:!1,fetchingUserData:!1,reconnectingSite:!1},c=(0,o.UY)({connectUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,r.get)(t,"initialState.connectUrl",e);case i.hmP:return t.connectUrl;default:return e}},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{siteConnected:window.Initial_State.connectionStatus},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.maF:case i.BVO:return(0,r.assign)({},e,{siteConnected:t.siteConnected});case i.dDV:return(0,r.assign)({},e,{siteConnected:{...e.siteConnected,isUserConnected:!1}});case i.ybW:return!0===t.userConnectionData?.currentUser?.isConnected?(0,r.assign)({},e,{siteConnected:{...e.siteConnected,hasConnectedOwner:!0}}):e;default:return e}},user:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.userData||{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.ybW:return(0,r.assign)({},e,t.userConnectionData);case i.dDV:const n=(0,r.assign)({},e.currentUser,{isConnected:!1});return(0,r.assign)({},e,{currentUser:n});case i.hF6:return(0,r.merge)({},e,t.initialState);default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.J1y:return(0,r.assign)({},e,{disconnectingSite:!0});case i.IWc:return(0,r.assign)({},e,{unlinkingUser:!0});case i.ien:return(0,r.assign)({},e,{connectingUser:!0,connectingUserFeatureLabel:t.featureLabel,connectingUserFrom:t.from});case i.AAZ:return(0,r.assign)({},e,{connectingUser:!1});case i.q7G:return(0,r.assign)({},e,{fetchingConnectUrl:!0});case i.lje:return(0,r.assign)({},e,{fetchingUserData:!0});case i.bGw:return(0,r.assign)({},e,{reconnectingSite:!0});case i.U7H:case i.BVO:return(0,r.assign)({},e,{disconnectingSite:!1});case i.MoW:case i.dDV:return(0,r.assign)({},e,{unlinkingUser:!1});case i.UyH:case i.hmP:return(0,r.assign)({},e,{fetchingConnectUrl:!1});case i.o2S:case i.ybW:return(0,r.assign)({},e,{fetchingUserData:!1});case i.B9W:case i.sO1:return(0,r.assign)({},e,{reconnectingSite:!1});default:return e}},hasSeenWCConnectionModal:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State.hasSeenWCConnectionModal||!1;return(arguments.length>1?arguments[1]:void 0).type===i.jtr||e}})},69508:function(e,t,n){"use strict";n.d(t,{H$:function(){return r.H$},R6:function(){return r.R6},VY:function(){return r.VY},wB:function(){return r.wB},yB:function(){return r.yB}});var r=n(34761)},34761:function(e,t,n){"use strict";n.d(t,{E3:function(){return i},H$:function(){return a},R6:function(){return l},VY:function(){return s},wB:function(){return u},yB:function(){return c}});var r=n(92819),o=n(51975);n(96300),n(85207),n(77805);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.Initial_State,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.R99:return(0,r.assign)({},e,t.initialState);case o.hF6:return(0,r.merge)({},e,{userData:t.initialState});default:return e}};function s(e){return(0,r.get)(e.jetpack.initialState,"WP_API_nonce")}function c(e){return(0,r.get)(e.jetpack.initialState,"WP_API_root")}function a(e){return(0,r.get)(e.jetpack.initialState,"registrationNonce")}function u(e){return(0,r.get)(e.jetpack.initialState,"pluginBaseUrl")}function l(e){return!!e.jetpack.initialState.preConnectionHelpers}},78654:function(e,t,n){"use strict";n(64743),n(65736),n(41549),n(19567),n(92819),n(62586)},50416:function(e,t,n){"use strict";n(62586),n(78654)},62586:function(e,t,n){"use strict";var r=n(92819),o=n(835),i=n(51975);n(61372);const s={fetchingModulesList:!1,activating:{},deactivating:{},updatingOption:{}};(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.R99:return(0,r.assign)({},t.initialState.getModules);case i.I3o:return(0,r.assign)({},e,t.modules);case i.n2G:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!0})});case i.CD3:return(0,r.assign)({},e,{[t.module]:(0,r.assign)({},e[t.module],{activated:!1})});case i.Hyl: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:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.jEk:return(0,r.assign)({},e,{fetchingModulesList:!0});case i.kFt:case i.I3o:return(0,r.assign)({},e,{fetchingModulesList:!1});case i.sG3:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!0})});case i.Jyr:case i.n2G:return(0,r.assign)({},e,{activating:(0,r.assign)({},e.activating,{[t.module]:!1})});case i.Gu5:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!0})});case i.xkZ:case i.CD3:return(0,r.assign)({},e,{deactivating:(0,r.assign)({},e.deactivating,{[t.module]:!1})});case i.Lao: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 i.Lon:case i.Hyl:const o=(0,r.assign)({},e.updatingOption);return o[t.module]=(0,r.assign)({},o[t.module]),Object.keys(t.newOptionValues).forEach((e=>{o[t.module][e]=!1})),(0,r.assign)({},e,{updatingOption:(0,r.assign)({},e.updatingOption,o)});default:return e}}})},85207:function(e,t,n){"use strict";var r=n(835),o=n(51975);(0,r.UY)({duration:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yearly",t=arguments.length>1?arguments[1]:void 0;return t.type===o.arb?t.duration:e}})},98626:function(e,t,n){"use strict";var r=n(33929),o=n(835),i=n(13480),s=n(34761),c=n(16876);const a=(0,o.UY)({initialState:s.E3,connection:i.I6,siteData:c.I6});t.Z=(0,o.UY)({globalNotices:r.x,jetpack:a})},58923:function(e,t,n){"use strict";var r=n(835),o=n(75385),i=n(98626);t.Z=(0,r.qC)((0,r.md)(o.Z),"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():e=>e)(r.MT)(i.Z)},58324:function(e,t,n){"use strict";n(64743)},77805:function(e,t,n){"use strict";n(7628),n(58324)},7628:function(e,t,n){"use strict";var r=n(835),o=n(51975);(0,r.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.QD8?t.siteProducts:e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch((arguments.length>1?arguments[1]:void 0).type){case o.Ppo:return{...e,isFetching:!0};case o.QD8:case o.hzW:return{...e,isFetching:!1};default:return e}}})},20213:function(e,t,n){"use strict";n(64743)},61372:function(e,t,n){"use strict";n(71),n(20213)},71:function(e,t,n){"use strict";var r=n(92819),o=n(835),i=n(51975);const s={isFetchingPluginsData:!1};(0,o.UY)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===i.XPw?(0,r.assign)({},t.pluginsData):e},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;switch((arguments.length>1?arguments[1]:void 0).type){case i.QmL:return(0,r.assign)({},e,{isFetchingPluginsData:!0});case i.K0Z:case i.XPw:return(0,r.assign)({},e,{isFetchingPluginsData:!1});default:return e}}})},16876:function(e,t,n){"use strict";n.d(t,{I6:function(){return a}});var r=n(65736),o=(n(59584),n(92819)),i=n(835),s=n(51975);const __=r.__,c={isFetchingSiteData:!1},a=(0,i.UY)({data:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.fHq:return(0,o.assign)({},e,t.siteData);case s.nDB:return(0,o.merge)({},e,{site:{benefits:t.siteBenefits}});case s.lLu:if(t.siteDiscount?.code)return(0,o.merge)({},e,{site:{discount:t.siteDiscount}});case s.arr:return(0,o.merge)({},e,{site:{connectedPlugins:t.connectedPlugins}});case s.VN$:return(0,o.merge)({},e,{site:{features:t.siteFeatures}});case s.ltp:return(0,o.merge)({},e,{sitePlans:t.plans});case s.EpE:return(0,o.merge)({},e,{sitePurchases:t.purchases});default:return e}},requests:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;switch((arguments.length>1?arguments[1]:void 0).type){case s.rQ4:return(0,o.assign)({},e,{isFetchingSiteData:!0});case s.Mg3:return(0,o.assign)({},e,{isFetchingSiteBenefits:!0});case s.Tip:return(0,o.assign)({},e,{isFetchingSiteDiscount:!0});case s.a8A:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!0});case s.VlO:return(0,o.assign)({},e,{isFetchingSiteFeatures:!0});case s.Few:return(0,o.assign)({},e,{isFetchingSitePlans:!0});case s.Abu:return(0,o.assign)({},e,{isFetchingSitePurchases:!0});case s.l94:case s.fHq:return(0,o.assign)({},e,{isFetchingSiteData:!1});case s.rwn:case s.nDB:return(0,o.assign)({},e,{isFetchingSiteBenefits:!1});case s.pmE:case s.lLu:return(0,o.assign)({},e,{isFetchingSiteDiscount:!1});case s.TRY:case s.arr:return(0,o.assign)({},e,{isFetchingConnectedPlugins:!1,isDoneFetchingConnectedPlugins:!0});case s.g9Z:case s.VN$:return(0,o.assign)({},e,{isFetchingSiteFeatures:!1});case s.Dze:case s.ltp:return(0,o.assign)({},e,{isFetchingSitePlans:!1});case s.zOX:case s.EpE:return(0,o.assign)({},e,{isFetchingSitePurchases:!1});default:return e}},errors:function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(r.type===s.l94){switch(r.error.name){case"ApiError":e="reconnect",t=__("There seems to be a problem with your connection to WordPress.com. If the problem persists, try reconnecting.","jetpack");break;case"JsonParseError":e="support",t=__("Jetpack encountered an error and was unable to display the Dashboard. Please try refreshing the page.","jetpack");break;default:e=null,t=__("There seems to be a problem with your website.","jetpack")}return(0,o.assign)({},n,{message:r.error.hasOwnProperty("response")?r.error.response.message:t,action:e,code:r.error.hasOwnProperty("response")?r.error.response.code:"fetch_site_data_fail_other",data:r.error.hasOwnProperty("response")?r.error.response.data:{}})}return n}})},92787:function(e){"use strict";if(void 0==={consumer_slug:"jetpack"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack"}},99196:function(e){"use strict";e.exports=window.React},91850:function(e){"use strict";e.exports=window.ReactDOM},19567:function(e){"use strict";e.exports=window.jQuery},92819:function(e){"use strict";e.exports=window.lodash},55609:function(e){"use strict";e.exports=window.wp.components},9818:function(e){"use strict";e.exports=window.wp.data},69307:function(e){"use strict";e.exports=window.wp.element},65736:function(e){"use strict";e.exports=window.wp.i18n},70444:function(e){"use strict";e.exports=window.wp.primitives},96483:function(e){"use strict";e.exports=window.wp.url},82674:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},80255:function(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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},37921:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(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=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(69307),t=n(99196),r=n.n(t),o=n(59309),i=n(58923),s=n(67122);function c(){const t=document.getElementById("jetpack-plugin-portal-app"),n=r().createElement(o.zt,{store:i.Z},r().createElement(s.Z,null));e.createRoot(t).render(n)}"loading"!==document.readyState?c():document.addEventListener("DOMContentLoaded",(()=>{c()}))}()}();
Save Changes
Rename File
Rename