Full Site Editing - Version 3.32739

Version Description

Download this release

Release Info

Developer ebuccelli
Plugin Icon wp plugin Full Site Editing
Version 3.32739
Comparing to
See all releases

Code changes from version 3.32726 to 3.32739

build_meta.txt CHANGED
@@ -1,3 +1,3 @@
1
- commit_hash=7412a885719abe278684d9b8c42f8b213c425320
2
- commit_url=https://github.com/Automattic/wp-calypso/commit/7412a885719abe278684d9b8c42f8b213c425320
3
- build_number=3.32726
1
+ commit_hash=22c4aacf90ac06da109b65c1d51e52e98a50e638
2
+ commit_url=https://github.com/Automattic/wp-calypso/commit/22c4aacf90ac06da109b65c1d51e52e98a50e638
3
+ build_number=3.32739
full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 3.32726
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.32726' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 3.32739
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.32739' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
help-center/dist/help-center.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => '2414b7b17ad1c082bb5373ae7c3e327d');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => '6fad358496f8def13bcd007c545f96fa');
help-center/dist/help-center.min.js CHANGED
@@ -25,7 +25,7 @@
25
  *
26
  * This source code is licensed under the MIT license found in the
27
  * LICENSE file in the root directory of this source tree.
28
- */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),s=b("react.profiler"),u=b("react.provider"),a=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),p=b("react.memo"),d=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case i:case l:case f:return t;default:switch(t=t&&t.$$typeof){case a:case c:case d:case p:case u:return t;default:return e}}case r:return e}}}e.isContextConsumer=function(t){return w(t)===a}},48570:function(t,e,n){"use strict";t.exports=n(66866)},27483:function(t,e,n){"use strict";n.d(e,{j:function(){return u}});var r=n(81665),o=n(92693),i=n(10774),s=function(t){function e(){return t.apply(this,arguments)||this}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},n.setEventListener=function(t){var e=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=t((function(t){"boolean"==typeof t?e.setFocused(t):e.onFocus()}))},n.setFocused=function(t){this.focused=t,t&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(t){t()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},n.setDefaultEventListener=function(){var t;!i.sk&&(null==(t=window)?void 0:t.addEventListener)&&this.setEventListener((function(t){var e=function(){return t()};return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),function(){window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}))},e}(o.l),u=new s},60002:function(t,e,n){"use strict";n.d(e,{Su:function(){return r.S}});var r=n(29446),o=n(77820);n.o(o,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return o.QueryClientProvider}}),n.o(o,"useMutation")&&n.d(e,{useMutation:function(){return o.useMutation}}),n.o(o,"useQuery")&&n.d(e,{useQuery:function(){return o.useQuery}}),n.o(o,"useQueryClient")&&n.d(e,{useQueryClient:function(){return o.useQueryClient}})},20560:function(t,e,n){"use strict";n.d(e,{Gm:function(){return i}});var r=n(22348),o=n(10774);function i(){return{onFetch:function(t){t.fetchFn=function(){var e,n,i,a,c,l,f,p=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,d=null==(i=t.fetchOptions)||null==(a=i.meta)?void 0:a.fetchMore,h=null==d?void 0:d.pageParam,m="forward"===(null==d?void 0:d.direction),g="backward"===(null==d?void 0:d.direction),y=(null==(c=t.state.data)?void 0:c.pages)||[],v=(null==(l=t.state.data)?void 0:l.pageParams)||[],b=(0,o.G9)(),w=null==b?void 0:b.signal,_=v,E=!1,S=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},I=function(t,e,n,r){return _=r?[e].concat(_):[].concat(_,[e]),r?[n].concat(t):[].concat(t,[n])},P=function(e,n,o,i){if(E)return Promise.reject("Cancelled");if(void 0===o&&!n&&e.length)return Promise.resolve(e);var s={queryKey:t.queryKey,signal:w,pageParam:o,meta:t.meta},u=S(s),a=Promise.resolve(u).then((function(t){return I(e,o,t,i)}));(0,r.LE)(u)&&(a.cancel=u.cancel);return a};if(y.length)if(m){var k=void 0!==h,O=k?h:s(t.options,y);f=P(y,k,O)}else if(g){var A=void 0!==h,C=A?h:u(t.options,y);f=P(y,A,C,!0)}else!function(){_=[];var e=void 0===t.options.getNextPageParam,n=!p||!y[0]||p(y[0],0,y);f=n?P([],e,v[0]):Promise.resolve(I([],v[0],y[0]));for(var r=function(n){f=f.then((function(r){if(!p||!y[n]||p(y[n],n,y)){var o=e?v[n]:s(t.options,r);return P(r,e,o)}return Promise.resolve(I(r,v[n],y[n]))}))},o=1;o<y.length;o++)r(o)}();else f=P([]);var T=f.then((function(t){return{pages:t,pageParams:_}}));return T.cancel=function(){E=!0,null==b||b.abort(),(0,r.LE)(f)&&f.cancel()},T}}}}function s(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function u(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}},53579:function(t,e,n){"use strict";n.d(e,{j:function(){return i},E:function(){return s}});var r=n(10774),o=console||{error:r.ZT,warn:r.ZT,log:r.ZT};function i(){return o}function s(t){o=t}},3284:function(t,e,n){"use strict";n.d(e,{m:function(){return a},R:function(){return c}});var r=n(7896),o=n(53579),i=n(50667),s=n(22348),u=n(10774),a=function(){function t(t){this.options=(0,r.Z)({},t.defaultOptions,t.options),this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.observers=[],this.state=t.state||c()}var e=t.prototype;return e.setState=function(t){this.dispatch({type:"setState",state:t})},e.addObserver=function(t){-1===this.observers.indexOf(t)&&this.observers.push(t)},e.removeObserver=function(t){this.observers=this.observers.filter((function(e){return e!==t}))},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(u.ZT).catch(u.ZT)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var t,e=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){return null==e.options.onMutate?void 0:e.options.onMutate(e.state.variables)})).then((function(t){t!==e.state.context&&e.dispatch({type:"loading",context:t,variables:e.state.variables})}))),r.then((function(){return e.executeMutation()})).then((function(n){t=n,null==e.mutationCache.config.onSuccess||e.mutationCache.config.onSuccess(t,e.state.variables,e.state.context,e)})).then((function(){return null==e.options.onSuccess?void 0:e.options.onSuccess(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(t,null,e.state.variables,e.state.context)})).then((function(){return e.dispatch({type:"success",data:t}),t})).catch((function(t){return null==e.mutationCache.config.onError||e.mutationCache.config.onError(t,e.state.variables,e.state.context,e),(0,o.j)().error(t),Promise.resolve().then((function(){return null==e.options.onError?void 0:e.options.onError(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(void 0,t,e.state.variables,e.state.context)})).then((function(){throw e.dispatch({type:"error",error:t}),t}))}))},e.executeMutation=function(){var t,e=this;return this.retryer=new s.m4({fn:function(){return e.options.mutationFn?e.options.mutationFn(e.state.variables):Promise.reject("No mutationFn found")},onFail:function(){e.dispatch({type:"failed"})},onPause:function(){e.dispatch({type:"pause"})},onContinue:function(){e.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(t){var e=this;this.state=function(t,e){switch(e.type){case"failed":return(0,r.Z)({},t,{failureCount:t.failureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"loading":return(0,r.Z)({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return(0,r.Z)({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},t,e.state);default:return t}}(this.state,t),i.V.batch((function(){e.observers.forEach((function(e){e.onMutationUpdate(t)})),e.mutationCache.notify(e)}))},t}();function c(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},9601:function(t,e,n){"use strict";n.d(e,{L:function(){return u}});var r=n(81665),o=n(50667),i=n(3284),s=n(10774),u=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.mutations=[],n.mutationId=0,n}(0,r.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r=new i.m({mutationCache:this,mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0});return this.add(r),r},n.add=function(t){this.mutations.push(t),this.notify(t)},n.remove=function(t){this.mutations=this.mutations.filter((function(e){return e!==t})),t.cancel(),this.notify(t)},n.clear=function(){var t=this;o.V.batch((function(){t.mutations.forEach((function(e){t.remove(e)}))}))},n.getAll=function(){return this.mutations},n.find=function(t){return void 0===t.exact&&(t.exact=!0),this.mutations.find((function(e){return(0,s.X7)(t,e)}))},n.findAll=function(t){return this.mutations.filter((function(e){return(0,s.X7)(t,e)}))},n.notify=function(t){var e=this;o.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var t=this.mutations.filter((function(t){return t.state.isPaused}));return o.V.batch((function(){return t.reduce((function(t,e){return t.then((function(){return e.continue().catch(s.ZT)}))}),Promise.resolve())}))},e}(n(92693).l)},74856:function(t,e,n){"use strict";n.d(e,{X:function(){return u}});var r=n(7896),o=n(81665),i=n(3284),s=n(50667),u=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,o.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(t){this.options=this.client.defaultMutationOptions(t)},n.onUnsubscribe=function(){var t;this.listeners.length||(null==(t=this.currentMutation)||t.removeObserver(this))},n.onMutationUpdate=function(t){this.updateResult();var e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,r.Z)({},this.options,{variables:void 0!==t?t:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var t=this.currentMutation?this.currentMutation.state:(0,i.R)(),e=(0,r.Z)({},t,{isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset});this.currentResult=e},n.notify=function(t){var e=this;s.V.batch((function(){e.mutateOptions&&(t.onSuccess?(null==e.mutateOptions.onSuccess||e.mutateOptions.onSuccess(e.currentResult.data,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(e.currentResult.data,null,e.currentResult.variables,e.currentResult.context)):t.onError&&(null==e.mutateOptions.onError||e.mutateOptions.onError(e.currentResult.error,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(void 0,e.currentResult.error,e.currentResult.variables,e.currentResult.context))),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)}))}))},e}(n(92693).l)},50667:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(10774),o=function(){function t(){this.queue=[],this.transactions=0,this.notifyFn=function(t){t()},this.batchNotifyFn=function(t){t()}}var e=t.prototype;return e.batch=function(t){this.transactions++;var e=t();return this.transactions--,this.transactions||this.flush(),e},e.schedule=function(t){var e=this;this.transactions?this.queue.push(t):(0,r.A4)((function(){e.notifyFn(t)}))},e.batchCalls=function(t){var e=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.schedule((function(){t.apply(void 0,r)}))}},e.flush=function(){var t=this,e=this.queue;this.queue=[],e.length&&(0,r.A4)((function(){t.batchNotifyFn((function(){e.forEach((function(e){t.notifyFn(e)}))}))}))},e.setNotifyFunction=function(t){this.notifyFn=t},e.setBatchNotifyFunction=function(t){this.batchNotifyFn=t},t}(),i=new o},58927:function(t,e,n){"use strict";n.d(e,{N:function(){return u}});var r=n(81665),o=n(92693),i=n(10774),s=function(t){function e(){return t.apply(this,arguments)||this}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},n.setEventListener=function(t){var e=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=t((function(t){"boolean"==typeof t?e.setOnline(t):e.onOnline()}))},n.setOnline=function(t){this.online=t,t&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(t){t()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},n.setDefaultEventListener=function(){var t;!i.sk&&(null==(t=window)?void 0:t.addEventListener)&&this.setEventListener((function(t){var e=function(){return t()};return window.addEventListener("online",e,!1),window.addEventListener("offline",e,!1),function(){window.removeEventListener("online",e),window.removeEventListener("offline",e)}}))},e}(o.l),u=new s},81257:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(7896),o=n(10774),i=n(50667),s=n(53579),u=n(22348),a=function(){function t(t){this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=t.meta,this.scheduleGc()}var e=t.prototype;return e.setOptions=function(t){var e;this.options=(0,r.Z)({},this.defaultOptions,t),this.meta=null==t?void 0:t.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(e=this.options.cacheTime)?e:3e5)},e.setDefaultOptions=function(t){this.defaultOptions=t},e.scheduleGc=function(){var t=this;this.clearGcTimeout(),(0,o.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){t.optionalRemove()}),this.cacheTime))},e.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},e.optionalRemove=function(){this.observers.length||this.state.isFetching||this.cache.remove(this)},e.setData=function(t,e){var n,r,i=this.state.data,s=(0,o.SE)(t,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,s))?s=i:!1!==this.options.structuralSharing&&(s=(0,o.Q$)(i,s)),this.dispatch({data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt}),s},e.setState=function(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})},e.cancel=function(t){var e,n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(o.ZT).catch(o.ZT):Promise.resolve()},e.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},e.reset=function(){this.destroy(),this.setState(this.initialState)},e.isActive=function(){return this.observers.some((function(t){return!1!==t.options.enabled}))},e.isFetching=function(){return this.state.isFetching},e.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(t){return t.getCurrentResult().isStale}))},e.isStaleByTime=function(t){return void 0===t&&(t=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.Kp)(this.state.dataUpdatedAt,t)},e.onFocus=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnWindowFocus()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.onOnline=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnReconnect()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.addObserver=function(t){-1===this.observers.indexOf(t)&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))},e.removeObserver=function(t){-1!==this.observers.indexOf(t)&&(this.observers=this.observers.filter((function(e){return e!==t})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:t}))},e.getObserversCount=function(){return this.observers.length},e.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},e.fetch=function(t,e){var n,r,i,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if(this.promise)return this.promise;if(t&&this.setOptions(t),!this.options.queryFn){var c=this.observers.find((function(t){return t.options.queryFn}));c&&this.setOptions(c.options)}var l=(0,o.mc)(this.queryKey),f=(0,o.G9)(),p={queryKey:l,pageParam:void 0,meta:this.meta};Object.defineProperty(p,"signal",{enumerable:!0,get:function(){if(f)return a.abortSignalConsumed=!0,f.signal}});var d,h,m={fetchOptions:e,options:this.options,queryKey:l,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(p)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(h=m.fetchOptions)?void 0:h.meta});return this.retryer=new u.m4({fn:m.fetchFn,abort:null==f||null==(i=f.abort)?void 0:i.bind(f),onSuccess:function(t){a.setData(t),null==a.cache.config.onSuccess||a.cache.config.onSuccess(t,a),0===a.cacheTime&&a.optionalRemove()},onError:function(t){(0,u.DV)(t)&&t.silent||a.dispatch({type:"error",error:t}),(0,u.DV)(t)||(null==a.cache.config.onError||a.cache.config.onError(t,a),(0,s.j)().error(t)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},e.dispatch=function(t){var e=this;this.state=this.reducer(this.state,t),i.V.batch((function(){e.observers.forEach((function(e){e.onQueryUpdate(t)})),e.cache.notify({query:e,type:"queryUpdated",action:t})}))},e.getDefaultState=function(t){var e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==t.initialData?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0,r=void 0!==e;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},e.reducer=function(t,e){var n,o;switch(e.type){case"failed":return(0,r.Z)({},t,{fetchFailureCount:t.fetchFailureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"fetch":return(0,r.Z)({},t,{fetchFailureCount:0,fetchMeta:null!=(n=e.meta)?n:null,isFetching:!0,isPaused:!1,status:t.dataUpdatedAt?t.status:"loading"});case"success":return(0,r.Z)({},t,{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var i=e.error;return(0,u.DV)(i)&&i.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},t,{error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},t,{isInvalidated:!0});case"setState":return(0,r.Z)({},t,e.state);default:return t}},t}()},10384:function(t,e,n){"use strict";n.d(e,{t:function(){return u}});var r=n(81665),o=n(10774),i=n(81257),s=n(50667),u=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.queries=[],n.queriesMap={},n}(0,r.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r,s=e.queryKey,u=null!=(r=e.queryHash)?r:(0,o.Rm)(s,e),a=this.get(u);return a||(a=new i.A({cache:this,queryKey:s,queryHash:u,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(s),meta:e.meta}),this.add(a)),a},n.add=function(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"queryAdded",query:t}))},n.remove=function(t){var e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter((function(e){return e!==t})),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"queryRemoved",query:t}))},n.clear=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(e){t.remove(e)}))}))},n.get=function(t){return this.queriesMap[t]},n.getAll=function(){return this.queries},n.find=function(t,e){var n=(0,o.I6)(t,e)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(t){return(0,o._x)(n,t)}))},n.findAll=function(t,e){var n=(0,o.I6)(t,e)[0];return n?this.queries.filter((function(t){return(0,o._x)(n,t)})):this.queries},n.notify=function(t){var e=this;s.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onFocus()}))}))},n.onOnline=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onOnline()}))}))},e}(n(92693).l)},29446:function(t,e,n){"use strict";n.d(e,{S:function(){return f}});var r=n(7896),o=n(10774),i=n(10384),s=n(9601),u=n(27483),a=n(58927),c=n(50667),l=n(20560),f=function(){function t(t){void 0===t&&(t={}),this.queryCache=t.queryCache||new i.t,this.mutationCache=t.mutationCache||new s.L,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var e=t.prototype;return e.mount=function(){var t=this;this.unsubscribeFocus=u.j.subscribe((function(){u.j.isFocused()&&a.N.isOnline()&&(t.mutationCache.onFocus(),t.queryCache.onFocus())})),this.unsubscribeOnline=a.N.subscribe((function(){u.j.isFocused()&&a.N.isOnline()&&(t.mutationCache.onOnline(),t.queryCache.onOnline())}))},e.unmount=function(){var t,e;null==(t=this.unsubscribeFocus)||t.call(this),null==(e=this.unsubscribeOnline)||e.call(this)},e.isFetching=function(t,e){var n=(0,o.I6)(t,e)[0];return n.fetching=!0,this.queryCache.findAll(n).length},e.isMutating=function(t){return this.mutationCache.findAll((0,r.Z)({},t,{fetching:!0})).length},e.getQueryData=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data},e.getQueriesData=function(t){return this.getQueryCache().findAll(t).map((function(t){return[t.queryKey,t.state.data]}))},e.setQueryData=function(t,e,n){var r=(0,o._v)(t),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(e,n)},e.setQueriesData=function(t,e,n){var r=this;return c.V.batch((function(){return r.getQueryCache().findAll(t).map((function(t){var o=t.queryKey;return[o,r.setQueryData(o,e,n)]}))}))},e.getQueryState=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state},e.removeQueries=function(t,e){var n=(0,o.I6)(t,e)[0],r=this.queryCache;c.V.batch((function(){r.findAll(n).forEach((function(t){r.remove(t)}))}))},e.resetQueries=function(t,e,n){var i=this,s=(0,o.I6)(t,e,n),u=s[0],a=s[1],l=this.queryCache,f=(0,r.Z)({},u,{active:!0});return c.V.batch((function(){return l.findAll(u).forEach((function(t){t.reset()})),i.refetchQueries(f,a)}))},e.cancelQueries=function(t,e,n){var r=this,i=(0,o.I6)(t,e,n),s=i[0],u=i[1],a=void 0===u?{}:u;void 0===a.revert&&(a.revert=!0);var l=c.V.batch((function(){return r.queryCache.findAll(s).map((function(t){return t.cancel(a)}))}));return Promise.all(l).then(o.ZT).catch(o.ZT)},e.invalidateQueries=function(t,e,n){var i,s,u,a=this,l=(0,o.I6)(t,e,n),f=l[0],p=l[1],d=(0,r.Z)({},f,{active:null==(i=null!=(s=f.refetchActive)?s:f.active)||i,inactive:null!=(u=f.refetchInactive)&&u});return c.V.batch((function(){return a.queryCache.findAll(f).forEach((function(t){t.invalidate()})),a.refetchQueries(d,p)}))},e.refetchQueries=function(t,e,n){var i=this,s=(0,o.I6)(t,e,n),u=s[0],a=s[1],l=c.V.batch((function(){return i.queryCache.findAll(u).map((function(t){return t.fetch(void 0,(0,r.Z)({},a,{meta:{refetchPage:null==u?void 0:u.refetchPage}}))}))})),f=Promise.all(l).then(o.ZT);return(null==a?void 0:a.throwOnError)||(f=f.catch(o.ZT)),f},e.fetchQuery=function(t,e,n){var r=(0,o._v)(t,e,n),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);var s=this.queryCache.build(this,i);return s.isStaleByTime(i.staleTime)?s.fetch(i):Promise.resolve(s.state.data)},e.prefetchQuery=function(t,e,n){return this.fetchQuery(t,e,n).then(o.ZT).catch(o.ZT)},e.fetchInfiniteQuery=function(t,e,n){var r=(0,o._v)(t,e,n);return r.behavior=(0,l.Gm)(),this.fetchQuery(r)},e.prefetchInfiniteQuery=function(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(o.ZT).catch(o.ZT)},e.cancelMutations=function(){var t=this,e=c.V.batch((function(){return t.mutationCache.getAll().map((function(t){return t.cancel()}))}));return Promise.all(e).then(o.ZT).catch(o.ZT)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(t){return this.mutationCache.build(this,t).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(t){this.defaultOptions=t},e.setQueryDefaults=function(t,e){var n=this.queryDefaults.find((function(e){return(0,o.yF)(t)===(0,o.yF)(e.queryKey)}));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})},e.getQueryDefaults=function(t){var e;return t?null==(e=this.queryDefaults.find((function(e){return(0,o.to)(t,e.queryKey)})))?void 0:e.defaultOptions:void 0},e.setMutationDefaults=function(t,e){var n=this.mutationDefaults.find((function(e){return(0,o.yF)(t)===(0,o.yF)(e.mutationKey)}));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})},e.getMutationDefaults=function(t){var e;return t?null==(e=this.mutationDefaults.find((function(e){return(0,o.to)(t,e.mutationKey)})))?void 0:e.defaultOptions:void 0},e.defaultQueryOptions=function(t){if(null==t?void 0:t._defaulted)return t;var e=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==t?void 0:t.queryKey),t,{_defaulted:!0});return!e.queryHash&&e.queryKey&&(e.queryHash=(0,o.Rm)(e.queryKey,e)),e},e.defaultQueryObserverOptions=function(t){return this.defaultQueryOptions(t)},e.defaultMutationOptions=function(t){return(null==t?void 0:t._defaulted)?t:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==t?void 0:t.mutationKey),t,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t}()},24198:function(t,e,n){"use strict";n.d(e,{z:function(){return f}});var r=n(7896),o=n(81665),i=n(10774),s=n(50667),u=n(27483),a=n(92693),c=n(53579),l=n(22348),f=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.options=n,r.trackedProps=[],r.previousSelectError=null,r.bindMethods(),r.setOptions(n),r}(0,o.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),p(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return t=this.currentQuery,!1!==(e=this.options).enabled&&("always"===e.refetchOnReconnect||!1!==e.refetchOnReconnect&&h(t,e));var t,e},n.shouldFetchOnWindowFocus=function(){return t=this.currentQuery,!1!==(e=this.options).enabled&&("always"===e.refetchOnWindowFocus||!1!==e.refetchOnWindowFocus&&h(t,e));var t,e},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(t,e){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&d(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(t){var e=this.client.defaultQueryObserverOptions(t),n=this.client.getQueryCache().build(this.client,e);return this.createResult(n,e)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(t){var e=this,n={};return Object.keys(t).forEach((function(r){Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:function(){var n=r;return e.trackedProps.includes(n)||e.trackedProps.push(n),t[n]}})})),n},n.getNextResult=function(t){var e=this;return new Promise((function(n,r){var o=e.subscribe((function(e){e.isFetching||(o(),e.isError&&(null==t?void 0:t.throwOnError)?r(e.error):n(e))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(t){return this.fetch((0,r.Z)({},t,{meta:{refetchPage:null==t?void 0:t.refetchPage}}))},n.fetchOptimistic=function(t){var e=this,n=this.client.defaultQueryObserverOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return e.createResult(r,n)}))},n.fetch=function(t){var e=this;return this.executeFetch(t).then((function(){return e.updateResult(),e.currentResult}))},n.executeFetch=function(t){this.updateQuery();var e=this.currentQuery.fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(i.ZT)),e},n.updateStaleTimeout=function(){var t=this;if(this.clearStaleTimeout(),!i.sk&&!this.currentResult.isStale&&(0,i.PN)(this.options.staleTime)){var e=(0,i.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){t.currentResult.isStale||t.updateResult()}),e)}},n.computeRefetchInterval=function(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t},n.updateRefetchInterval=function(t){var e=this;this.clearRefetchInterval(),this.currentRefetchInterval=t,!i.sk&&!1!==this.options.enabled&&(0,i.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(e.options.refetchIntervalInBackground||u.j.isFocused())&&e.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(t,e){var n,r=this.currentQuery,o=this.options,s=this.currentResult,u=this.currentResultState,a=this.currentResultOptions,l=t!==r,f=l?t.state:this.currentQueryInitialState,m=l?this.currentResult:this.previousQueryResult,g=t.state,y=g.dataUpdatedAt,v=g.error,b=g.errorUpdatedAt,w=g.isFetching,_=g.status,E=!1,S=!1;if(e.optimisticResults){var I=this.hasListeners(),P=!I&&p(t,e),k=I&&d(t,r,e,o);(P||k)&&(w=!0,y||(_="loading"))}if(e.keepPreviousData&&!g.dataUpdateCount&&(null==m?void 0:m.isSuccess)&&"error"!==_)n=m.data,y=m.dataUpdatedAt,_=m.status,E=!0;else if(e.select&&void 0!==g.data)if(s&&g.data===(null==u?void 0:u.data)&&e.select===(null==a?void 0:a.select)&&!this.previousSelectError)n=s.data;else try{n=e.select(g.data),!1!==e.structuralSharing&&(n=(0,i.Q$)(null==s?void 0:s.data,n)),this.previousSelectError=null}catch(A){(0,c.j)().error(A),v=A,this.previousSelectError=A,b=Date.now(),_="error"}else n=g.data;if(void 0!==e.placeholderData&&void 0===n&&("loading"===_||"idle"===_)){var O;if((null==s?void 0:s.isPlaceholderData)&&e.placeholderData===(null==a?void 0:a.placeholderData))O=s.data;else if(O="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==O)try{O=e.select(O),!1!==e.structuralSharing&&(O=(0,i.Q$)(null==s?void 0:s.data,O)),this.previousSelectError=null}catch(A){(0,c.j)().error(A),v=A,this.previousSelectError=A,b=Date.now(),_="error"}void 0!==O&&(_="success",n=O,S=!0)}return{status:_,isLoading:"loading"===_,isSuccess:"success"===_,isError:"error"===_,isIdle:"idle"===_,data:n,dataUpdatedAt:y,error:v,errorUpdatedAt:b,failureCount:g.fetchFailureCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:w,isRefetching:w&&"loading"!==_,isLoadingError:"error"===_&&0===g.dataUpdatedAt,isPlaceholderData:S,isPreviousData:E,isRefetchError:"error"===_&&0!==g.dataUpdatedAt,isStale:h(t,e),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(t,e){if(!e)return!0;if(t===e)return!1;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(t).some((function(n){var r=n,s=t[r]!==e[r],u=null==i?void 0:i.some((function(t){return t===n})),a=null==o?void 0:o.some((function(t){return t===n}));return s&&!a&&(!i||u)}))},n.updateResult=function(t){var e=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,i.VS)(this.currentResult,e)){var n={cache:!0};!1!==(null==t?void 0:t.listeners)&&this.shouldNotifyListeners(this.currentResult,e)&&(n.listeners=!0),this.notify((0,r.Z)({},n,t))}},n.updateQuery=function(){var t=this.client.getQueryCache().build(this.client,this.options);if(t!==this.currentQuery){var e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}},n.onQueryUpdate=function(t){var e={};"success"===t.type?e.onSuccess=!0:"error"!==t.type||(0,l.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()},n.notify=function(t){var e=this;s.V.batch((function(){t.onSuccess?(null==e.options.onSuccess||e.options.onSuccess(e.currentResult.data),null==e.options.onSettled||e.options.onSettled(e.currentResult.data,null)):t.onError&&(null==e.options.onError||e.options.onError(e.currentResult.error),null==e.options.onSettled||e.options.onSettled(void 0,e.currentResult.error)),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)})),t.cache&&e.client.getQueryCache().notify({query:e.currentQuery,type:"observerResultsUpdated"})}))},e}(a.l);function p(t,e){return function(t,e){return!(!1===e.enabled||t.state.dataUpdatedAt||"error"===t.state.status&&!1===e.retryOnMount)}(t,e)||function(t,e){return!1!==e.enabled&&t.state.dataUpdatedAt>0&&("always"===e.refetchOnMount||!1!==e.refetchOnMount&&h(t,e))}(t,e)}function d(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status||!1===r.enabled)&&h(t,n)}function h(t,e){return t.isStaleByTime(e.staleTime)}},22348:function(t,e,n){"use strict";n.d(e,{LE:function(){return u},DV:function(){return c},m4:function(){return l}});var r=n(27483),o=n(58927),i=n(10774);function s(t){return Math.min(1e3*Math.pow(2,t),3e4)}function u(t){return"function"==typeof(null==t?void 0:t.cancel)}var a=function(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent};function c(t){return t instanceof a}var l=function(t){var e,n,c,l,f=this,p=!1;this.abort=t.abort,this.cancel=function(t){return null==e?void 0:e(t)},this.cancelRetry=function(){p=!0},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(t,e){c=t,l=e}));var d=function(e){f.isResolved||(f.isResolved=!0,null==t.onSuccess||t.onSuccess(e),null==n||n(),c(e))},h=function(e){f.isResolved||(f.isResolved=!0,null==t.onError||t.onError(e),null==n||n(),l(e))};!function c(){if(!f.isResolved){var l;try{l=t.fn()}catch(m){l=Promise.reject(m)}e=function(t){if(!f.isResolved&&(h(new a(t)),null==f.abort||f.abort(),u(l)))try{l.cancel()}catch(e){}},f.isTransportCancelable=u(l),Promise.resolve(l).then(d).catch((function(e){var u,a;if(!f.isResolved){var l=null!=(u=t.retry)?u:3,d=null!=(a=t.retryDelay)?a:s,m="function"==typeof d?d(f.failureCount,e):d,g=!0===l||"number"==typeof l&&f.failureCount<l||"function"==typeof l&&l(f.failureCount,e);!p&&g?(f.failureCount++,null==t.onFail||t.onFail(f.failureCount,e),(0,i.Gh)(m).then((function(){if(!r.j.isFocused()||!o.N.isOnline())return new Promise((function(e){n=e,f.isPaused=!0,null==t.onPause||t.onPause()})).then((function(){n=void 0,f.isPaused=!1,null==t.onContinue||t.onContinue()}))})).then((function(){p?h(e):c()}))):h(e)}}))}}()}},92693:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(t){var e=this,n=t||function(){};return this.listeners.push(n),this.onSubscribe(),function(){e.listeners=e.listeners.filter((function(t){return t!==n})),e.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t}()},77820:function(){},10774:function(t,e,n){"use strict";n.d(e,{sk:function(){return o},ZT:function(){return i},SE:function(){return s},PN:function(){return u},mc:function(){return a},Kp:function(){return c},_v:function(){return l},lV:function(){return f},I6:function(){return p},_x:function(){return d},X7:function(){return h},Rm:function(){return m},yF:function(){return g},to:function(){return y},Q$:function(){return b},VS:function(){return w},Gh:function(){return I},A4:function(){return P},G9:function(){return k}});var r=n(7896),o="undefined"==typeof window;function i(){}function s(t,e){return"function"==typeof t?t(e):t}function u(t){return"number"==typeof t&&t>=0&&t!==1/0}function a(t){return Array.isArray(t)?t:[t]}function c(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e,n){return S(t)?"function"==typeof e?(0,r.Z)({},n,{queryKey:t,queryFn:e}):(0,r.Z)({},e,{queryKey:t}):t}function f(t,e,n){return S(t)?"function"==typeof e?(0,r.Z)({},n,{mutationKey:t,mutationFn:e}):(0,r.Z)({},e,{mutationKey:t}):"function"==typeof t?(0,r.Z)({},e,{mutationFn:t}):(0,r.Z)({},t)}function p(t,e,n){return S(t)?[(0,r.Z)({},e,{queryKey:t}),n]:[t||{},e]}function d(t,e){var n=t.active,r=t.exact,o=t.fetching,i=t.inactive,s=t.predicate,u=t.queryKey,a=t.stale;if(S(u))if(r){if(e.queryHash!==m(u,e.options))return!1}else if(!y(e.queryKey,u))return!1;var c=function(t,e){return!0===t&&!0===e||null==t&&null==e?"all":!1===t&&!1===e?"none":(null!=t?t:!e)?"active":"inactive"}(n,i);if("none"===c)return!1;if("all"!==c){var l=e.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(("boolean"!=typeof o||e.isFetching()===o)&&!(s&&!s(e)))}function h(t,e){var n=t.exact,r=t.fetching,o=t.predicate,i=t.mutationKey;if(S(i)){if(!e.options.mutationKey)return!1;if(n){if(g(e.options.mutationKey)!==g(i))return!1}else if(!y(e.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===e.state.status===r)&&!(o&&!o(e))}function m(t,e){return((null==e?void 0:e.queryKeyHashFn)||g)(t)}function g(t){var e,n=a(t);return e=n,JSON.stringify(e,(function(t,e){return _(e)?Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{}):e}))}function y(t,e){return v(a(t),a(e))}function v(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&!Object.keys(e).some((function(n){return!v(t[n],e[n])})))}function b(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||_(t)&&_(e)){for(var r=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),i=o.length,s=n?[]:{},u=0,a=0;a<i;a++){var c=n?a:o[a];s[c]=b(t[c],e[c]),s[c]===t[c]&&u++}return r===i&&u===r?t:s}return e}function w(t,e){if(t&&!e||e&&!t)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}function _(t){if(!E(t))return!1;var e=t.constructor;if(void 0===e)return!0;var n=e.prototype;return!!E(n)&&!!n.hasOwnProperty("isPrototypeOf")}function E(t){return"[object Object]"===Object.prototype.toString.call(t)}function S(t){return"string"==typeof t||Array.isArray(t)}function I(t){return new Promise((function(e){setTimeout(e,t)}))}function P(t){Promise.resolve().then(t).catch((function(t){return setTimeout((function(){throw t}))}))}function k(){if("function"==typeof AbortController)return new AbortController}},82066:function(t,e,n){"use strict";n.d(e,{QueryClient:function(){return r.Su},QueryClientProvider:function(){return o.aH},useMutation:function(){return o.Db},useQuery:function(){return o.aM},useQueryClient:function(){return o.NL}});var r=n(60002);n.o(r,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(e,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(e,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(e,{useQueryClient:function(){return r.useQueryClient}});var o=n(33577)},77639:function(t,e,n){"use strict";n.d(e,{N:function(){return a},a:function(){return c}});var r=n(99196),o=n.n(r),i=o().createContext(void 0),s=o().createContext(!1);function u(t){return t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i}var a=function(){var t=o().useContext(u(o().useContext(s)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=function(t){var e=t.client,n=t.contextSharing,r=void 0!==n&&n,i=t.children;o().useEffect((function(){return e.mount(),function(){e.unmount()}}),[e]);var a=u(r);return o().createElement(s.Provider,{value:r},o().createElement(a.Provider,{value:e},i))}},4578:function(t,e,n){"use strict";n.d(e,{_:function(){return u}});var r=n(99196),o=n.n(r);function i(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var s=o().createContext(i()),u=function(){return o().useContext(s)}},33577:function(t,e,n){"use strict";n.d(e,{aH:function(){return r.a},NL:function(){return r.N},Db:function(){return o.D},aM:function(){return i.a}});n(96328),n(94091);var r=n(77639),o=n(82127),i=n(18067)},51733:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var r=console},63520:function(t,e,n){"use strict";n.d(e,{m:function(){return o}});var r=n(91850),o=n.n(r)().unstable_batchedUpdates},96328:function(t,e,n){"use strict";var r=n(50667),o=n(63520);r.V.setBatchNotifyFunction(o.m)},94091:function(t,e,n){"use strict";var r=n(53579),o=n(51733);(0,r.E)(o.k)},96744:function(t,e,n){"use strict";n.d(e,{r:function(){return c}});var r=n(99196),o=n.n(r),i=n(50667),s=n(4578),u=n(77639),a=n(13774);function c(t,e){var n=o().useRef(!1),r=o().useState(0)[1],c=(0,u.N)(),l=(0,s._)(),f=c.defaultQueryObserverOptions(t);f.optimisticResults=!0,f.onError&&(f.onError=i.V.batchCalls(f.onError)),f.onSuccess&&(f.onSuccess=i.V.batchCalls(f.onSuccess)),f.onSettled&&(f.onSettled=i.V.batchCalls(f.onSettled)),f.suspense&&("number"!=typeof f.staleTime&&(f.staleTime=1e3),0===f.cacheTime&&(f.cacheTime=1)),(f.suspense||f.useErrorBoundary)&&(l.isReset()||(f.retryOnMount=!1));var p=o().useState((function(){return new e(c,f)}))[0],d=p.getOptimisticResult(f);if(o().useEffect((function(){n.current=!0,l.clearReset();var t=p.subscribe(i.V.batchCalls((function(){n.current&&r((function(t){return t+1}))})));return p.updateResult(),function(){n.current=!1,t()}}),[l,p]),o().useEffect((function(){p.setOptions(f,{listeners:!1})}),[f,p]),f.suspense&&d.isLoading)throw p.fetchOptimistic(f).then((function(t){var e=t.data;null==f.onSuccess||f.onSuccess(e),null==f.onSettled||f.onSettled(e,null)})).catch((function(t){l.clearReset(),null==f.onError||f.onError(t),null==f.onSettled||f.onSettled(void 0,t)}));if(d.isError&&!d.isFetching&&(0,a.L)(f.suspense,f.useErrorBoundary,d.error))throw d.error;return"tracked"===f.notifyOnChangeProps&&(d=p.trackResult(d)),d}},82127:function(t,e,n){"use strict";n.d(e,{D:function(){return f}});var r=n(7896),o=n(99196),i=n.n(o),s=n(50667),u=n(10774),a=n(74856),c=n(77639),l=n(13774);function f(t,e,n){var o=i().useRef(!1),f=i().useState(0)[1],p=(0,u.lV)(t,e,n),d=(0,c.N)(),h=i().useRef();h.current?h.current.setOptions(p):h.current=new a.X(d,p);var m=h.current.getCurrentResult();i().useEffect((function(){o.current=!0;var t=h.current.subscribe(s.V.batchCalls((function(){o.current&&f((function(t){return t+1}))})));return function(){o.current=!1,t()}}),[]);var g=i().useCallback((function(t,e){h.current.mutate(t,e).catch(u.ZT)}),[]);if(m.error&&(0,l.L)(void 0,h.current.options.useErrorBoundary,m.error))throw m.error;return(0,r.Z)({},m,{mutate:g,mutateAsync:m.mutate})}},18067:function(t,e,n){"use strict";n.d(e,{a:function(){return s}});var r=n(24198),o=n(10774),i=n(96744);function s(t,e,n){var s=(0,o._v)(t,e,n);return(0,i.r)(s,r.z)}},13774:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof e?e(n):"boolean"==typeof e?e:!!t}n.d(e,{L:function(){return r}})},81346:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r=n(99196),o=n.n(r)().createContext(null)},42533:function(t,e,n){"use strict";var r=n(99196),o=n.n(r),i=n(81346),s=n(82062),u=n(44282);e.Z=function(t){var e=t.store,n=t.context,a=t.children,c=(0,r.useMemo)((function(){var t=(0,s.X)(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),l=(0,r.useMemo)((function(){return e.getState()}),[e]);(0,u.L)((function(){var t=c.subscription;return t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[c,l]);var f=n||i.E;return o().createElement(f.Provider,{value:c},a)}},49484:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(7896),o=n(31461),i=n(73463),s=n.n(i),u=n(99196),a=n.n(u),c=n(48570),l=n(82062),f=n(44282),p=n(81346),d=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],m=[],g=[null,null];function y(t,e){var n=t[1];return[e.payload,n+1]}function v(t,e,n){(0,f.L)((function(){return t.apply(void 0,e)}),n)}function b(t,e,n,r,o,i,s){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,s())}function w(t,e,n,r,o,i,s,u,a,c){if(t){var l=!1,f=null,p=function(){if(!l){var t,n,p=e.getState();try{t=r(p,o.current)}catch(d){n=d,f=d}n||(f=null),t===i.current?s.current||a():(i.current=t,u.current=t,s.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var _=function(){return[null,0]};function E(t,e){void 0===e&&(e={});var n=e,i=n.getDisplayName,f=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,E=n.methodName,S=void 0===E?"connectAdvanced":E,I=n.renderCountProp,P=void 0===I?void 0:I,k=n.shouldHandleStateChanges,O=void 0===k||k,A=n.storeKey,C=void 0===A?"store":A,T=(n.withRef,n.forwardRef),R=void 0!==T&&T,x=n.context,Z=void 0===x?p.E:x,j=(0,o.Z)(n,d),D=Z;return function(e){var n=e.displayName||e.name||"Component",i=f(n),p=(0,r.Z)({},j,{getDisplayName:f,methodName:S,renderCountProp:P,shouldHandleStateChanges:O,storeKey:C,displayName:i,wrappedComponentName:n,WrappedComponent:e}),d=j.pure;var E=d?u.useMemo:function(t){return t()};function I(n){var i=(0,u.useMemo)((function(){var t=n.reactReduxForwardedRef,e=(0,o.Z)(n,h);return[n.context,t,e]}),[n]),s=i[0],f=i[1],d=i[2],S=(0,u.useMemo)((function(){return s&&s.Consumer&&(0,c.isContextConsumer)(a().createElement(s.Consumer,null))?s:D}),[s,D]),I=(0,u.useContext)(S),P=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(I)&&Boolean(I.store);var k=P?n.store:I.store,A=(0,u.useMemo)((function(){return function(e){return t(e.dispatch,p)}(k)}),[k]),C=(0,u.useMemo)((function(){if(!O)return g;var t=(0,l.X)(k,P?null:I.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[k,P,I]),T=C[0],R=C[1],x=(0,u.useMemo)((function(){return P?I:(0,r.Z)({},I,{subscription:T})}),[P,I,T]),Z=(0,u.useReducer)(y,m,_),j=Z[0][0],L=Z[1];if(j&&j.error)throw j.error;var U=(0,u.useRef)(),F=(0,u.useRef)(d),N=(0,u.useRef)(),q=(0,u.useRef)(!1),M=E((function(){return N.current&&d===F.current?N.current:A(k.getState(),d)}),[k,j,d]);v(b,[F,U,q,d,M,N,R]),v(w,[O,k,T,A,F,U,q,N,R,L],[k,T,A]);var B=(0,u.useMemo)((function(){return a().createElement(e,(0,r.Z)({},M,{ref:f}))}),[f,e,M]);return(0,u.useMemo)((function(){return O?a().createElement(S.Provider,{value:x},B):B}),[S,B,x])}var k=d?a().memo(I):I;if(k.WrappedComponent=e,k.displayName=I.displayName=i,R){var A=a().forwardRef((function(t,e){return a().createElement(k,(0,r.Z)({},t,{reactReduxForwardedRef:e}))}));return A.displayName=i,A.WrappedComponent=e,s()(A,e)}return s()(k,e)}}},55443:function(t,e,n){"use strict";var r=n(7896),o=n(31461),i=n(49484),s=n(74570),u=n(99174),a=n(79600),c=n(79553),l=n(77405),f=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function p(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function d(t,e){return t===e}function h(t){var e=void 0===t?{}:t,n=e.connectHOC,h=void 0===n?i.Z:n,m=e.mapStateToPropsFactories,g=void 0===m?a.ZP:m,y=e.mapDispatchToPropsFactories,v=void 0===y?u.ZP:y,b=e.mergePropsFactories,w=void 0===b?c.ZP:b,_=e.selectorFactory,E=void 0===_?l.ZP:_;return function(t,e,n,i){void 0===i&&(i={});var u=i,a=u.pure,c=void 0===a||a,l=u.areStatesEqual,m=void 0===l?d:l,y=u.areOwnPropsEqual,b=void 0===y?s.Z:y,_=u.areStatePropsEqual,S=void 0===_?s.Z:_,I=u.areMergedPropsEqual,P=void 0===I?s.Z:I,k=(0,o.Z)(u,f),O=p(t,g,"mapStateToProps"),A=p(e,v,"mapDispatchToProps"),C=p(n,w,"mergeProps");return h(E,(0,r.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:O,initMapDispatchToProps:A,initMergeProps:C,pure:c,areStatesEqual:m,areOwnPropsEqual:b,areStatePropsEqual:S,areMergedPropsEqual:P},k))}}e.Z=h()},99174:function(t,e,n){"use strict";var r=n(56750),o=n(8528);e.ZP=[function(t){return"function"==typeof t?(0,o.xv)(t,"mapDispatchToProps"):void 0},function(t){return t?void 0:(0,o.dX)((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?(0,o.dX)((function(e){return(0,r.Z)(t,e)})):void 0}]},79600:function(t,e,n){"use strict";var r=n(8528);e.ZP=[function(t){return"function"==typeof t?(0,r.xv)(t,"mapStateToProps"):void 0},function(t){return t?void 0:(0,r.dX)((function(){return{}}))}]},79553:function(t,e,n){"use strict";var r=n(7896);function o(t,e,n){return(0,r.Z)({},n,t,e)}e.ZP=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,s=!1;return function(e,n,u){var a=t(e,n,u);return s?o&&i(a,r)||(r=a):(s=!0,r=a),r}}}(t):void 0},function(t){return t?void 0:function(){return o}}]},77405:function(t,e,n){"use strict";n.d(e,{ZP:function(){return u}});var r=n(31461),o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function s(t,e,n,r,o){var i,s,u,a,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,g=!f(d,s),y=!l(o,i);return i=o,s=d,g&&y?(u=t(i,s),e.dependsOnOwnProps&&(a=e(r,s)),c=n(u,a,s)):g?(t.dependsOnOwnProps&&(u=t(i,s)),e.dependsOnOwnProps&&(a=e(r,s)),c=n(u,a,s)):y?(h=t(i,s),m=!p(h,u),u=h,m&&(c=n(u,a,s)),c):c}return function(o,l){return d?h(o,l):(u=t(i=o,s=l),a=e(r,s),c=n(u,a,s),d=!0,c)}}function u(t,e){var n=e.initMapStateToProps,u=e.initMapDispatchToProps,a=e.initMergeProps,c=(0,r.Z)(e,o),l=n(t,c),f=u(t,c),p=a(t,c);return(c.pure?s:i)(l,f,p,t,c)}},8528:function(t,e,n){"use strict";function r(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}n.d(e,{dX:function(){return r},xv:function(){return i}})},14283:function(t,e,n){"use strict";n.d(e,{zt:function(){return r.Z},$j:function(){return o.Z},I0:function(){return i.I},v9:function(){return s.v}});var r=n(42533),o=(n(49484),n(81346),n(55443)),i=n(23102),s=n(85247);n(87166)},23102:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var r=n(81346),o=n(87166);function i(t){void 0===t&&(t=r.E);var e=t===r.E?o.o:(0,o.f)(t);return function(){return e().dispatch}}var s=i()},24274:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(99196),o=n(81346);function i(){return(0,r.useContext)(o.E)}},85247:function(t,e,n){"use strict";n.d(e,{v:function(){return l}});var r=n(99196),o=n(24274),i=n(82062),s=n(44282),u=n(81346),a=function(t,e){return t===e};function c(t){void 0===t&&(t=u.E);var e=t===u.E?o.x:function(){return(0,r.useContext)(t)};return function(t,n){void 0===n&&(n=a);var o=e(),u=function(t,e,n,o){var u,a=(0,r.useReducer)((function(t){return t+1}),0)[1],c=(0,r.useMemo)((function(){return(0,i.X)(n,o)}),[n,o]),l=(0,r.useRef)(),f=(0,r.useRef)(),p=(0,r.useRef)(),d=(0,r.useRef)(),h=n.getState();try{if(t!==f.current||h!==p.current||l.current){var m=t(h);u=void 0!==d.current&&e(m,d.current)?d.current:m}else u=d.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return(0,s.L)((function(){f.current=t,p.current=h,d.current=u,l.current=void 0})),(0,s.L)((function(){function t(){try{var t=n.getState();if(t===p.current)return;var r=f.current(t);if(e(r,d.current))return;d.current=r,p.current=t}catch(g){l.current=g}a()}return c.onStateChange=t,c.trySubscribe(),t(),function(){return c.tryUnsubscribe()}}),[n,c]),u}(t,n,o.store,o.subscription);return(0,r.useDebugValue)(u),u}}var l=c()},87166:function(t,e,n){"use strict";n.d(e,{f:function(){return s},o:function(){return u}});var r=n(99196),o=n(81346),i=n(24274);function s(t){void 0===t&&(t=o.E);var e=t===o.E?i.x:function(){return(0,r.useContext)(t)};return function(){return e().store}}var u=s()},4792:function(t,e,n){"use strict";n.d(e,{zt:function(){return r.zt},$j:function(){return r.$j},I0:function(){return r.I0},v9:function(){return r.v9}});var r=n(14283),o=n(41369);(0,n(14210).F)(o.m)},82062:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(14210);var o={notify:function(){},get:function(){return[]}};function i(t,e){var n,i=o;function s(){a.onStateChange&&a.onStateChange()}function u(){n||(n=e?e.addNestedSub(s):t.subscribe(s),i=function(){var t=(0,r.k)(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}var a={addNestedSub:function(t){return u(),i.subscribe(t)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:s,isSubscribed:function(){return Boolean(n)},trySubscribe:u,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=o)},getListeners:function(){return i}};return a}},14210:function(t,e,n){"use strict";n.d(e,{F:function(){return o},k:function(){return i}});var r=function(t){t()},o=function(t){return r=t},i=function(){return r}},56750:function(t,e,n){"use strict";function r(t,e){var n={},r=function(r){var o=t[r];"function"==typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}n.d(e,{Z:function(){return r}})},41369:function(t,e,n){"use strict";n.d(e,{m:function(){return r.unstable_batchedUpdates}});var r=n(91850)},74570:function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!r(t[n[i]],e[n[i]]))return!1;return!0}n.d(e,{Z:function(){return o}})},44282:function(t,e,n){"use strict";n.d(e,{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},43292:function(t,e){"use strict";function n(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(o){return"function"==typeof o?o(n,r,t):e(o)}}}}var r=n();r.withExtraArgument=n,e.Z=r},18717:function(t,e,n){"use strict";n.d(e,{md:function(){return p},UY:function(){return l},qC:function(){return f},MT:function(){return c}});var r=n(33028);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function a(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(t,e)}if("function"!=typeof t)throw new Error(o(2));var s=t,l=e,f=[],p=f,d=!1;function h(){p===f&&(p=f.slice())}function m(){if(d)throw new Error(o(3));return l}function g(t){if("function"!=typeof t)throw new Error(o(4));if(d)throw new Error(o(5));var e=!0;return h(),p.push(t),function(){if(e){if(d)throw new Error(o(6));e=!1,h();var n=p.indexOf(t);p.splice(n,1),f=null}}}function y(t){if(!a(t))throw new Error(o(7));if(void 0===t.type)throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,l=s(l,t)}finally{d=!1}for(var e=f=p,n=0;n<e.length;n++){(0,e[n])()}return t}function v(t){if("function"!=typeof t)throw new Error(o(10));s=t,y({type:u.REPLACE})}function b(){var t,e=g;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(o(11));function n(){t.next&&t.next(m())}return n(),{unsubscribe:e(n)}}})[i]=function(){return this},t}return y({type:u.INIT}),(r={dispatch:y,subscribe:g,getState:m,replaceReducer:v})[i]=b,r}function l(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"==typeof t[i]&&(n[i]=t[i])}var s,a=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:u.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(t,e){if(void 0===t&&(t={}),s)throw s;for(var r=!1,i={},u=0;u<a.length;u++){var c=a[u],l=n[c],f=t[c],p=l(f,e);if(void 0===p){e&&e.type;throw new Error(o(14))}i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function p(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},u=e.map((function(t){return t(s)}));return i=f.apply(void 0,u)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245:function(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},10547:function(t){"use strict";var e=256,n=[],r=window,o=Math.pow(e,6),i=Math.pow(2,52),s=2*i,u=255,a=Math.random;function c(t){var n,r=t.length,o=this,i=0,s=o.i=o.j=0,a=o.S=[];for(r||(t=[r++]);i<e;)a[i]=i++;for(i=0;i<e;i++)a[i]=a[s=u&s+t[i%r]+(n=a[i])],a[s]=n;(o.g=function(t){for(var n,r=0,i=o.i,s=o.j,a=o.S;t--;)n=a[i=u&i+1],r=r*e+a[u&(a[i]=a[s=u&s+n])+(a[s]=n)];return o.i=i,o.j=s,r})(e)}function l(t,e){var n,r=[],o=(typeof t)[0];if(e&&"o"==o)for(n in t)try{r.push(l(t[n],e-1))}catch(i){}return r.length?r:"s"==o?t:t+"\0"}function f(t,e){for(var n,r=t+"",o=0;o<r.length;)e[u&o]=u&(n^=19*e[u&o])+r.charCodeAt(o++);return d(e)}function p(t){try{return r.crypto.getRandomValues(t=new Uint8Array(e)),d(t)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,d(n)]}}function d(t){return String.fromCharCode.apply(0,t)}t.exports=function(r,u){if(u&&!0===u.global)return u.global=!1,Math.random=t.exports(r,u),u.global=!0,Math.random;var a=u&&u.entropy||!1,h=[],m=(f(l(a?[r,d(n)]:0 in arguments?r:p(),3),h),new c(h));return f(d(m.S),n),function(){for(var t=m.g(6),n=o,r=0;t<i;)t=(t+r)*e,n*=e,r=m.g(1);for(;t>=s;)t/=2,n/=2,r>>>=1;return(t+r)/n}},t.exports.resetGlobal=function(){Math.random=a},f(Math.random(),n)},74294:function(t,e,n){"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),u=r("%WeakMap%",!0),a=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+i(t))},get:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(a){if(e)return p(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return f(t,r)}else if(a){if(e)return h(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,o){u&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new u),l(t,r,o)):a?(e||(e=new a),d(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},23729:function(t,e,n){var r=n(98595),o=n(88120),i=[n(30225)];t.exports=r.createStore(o,i)},30225:function(t,e,n){t.exports=function(){return n(35414),{}}},35414:function(){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,o,i,s,u=gap,a=e[t];switch(a&&"object"==typeof a&&"function"==typeof a.toJSON&&(a=a.toJSON(t)),"function"==typeof rep&&(a=rep.call(e,t,a)),typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(a)){for(i=a.length,n=0;n<i;n+=1)s[n]=str(n,a)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+u+"]":"["+s.join(",")+"]",gap=u,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],a))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(o=str(r,a))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+u+"}":"{"+s.join(",")+"}",gap=u,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(t,e,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:function(t,e,n){var r=n(49511),o=r.slice,i=r.pluck,s=r.each,u=r.bind,a=r.create,c=r.isList,l=r.isFunction,f=r.isObject;t.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!c(t)&&(t=[t]),e&&!c(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(r){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var u=[i].concat(e);return t.apply(r,u)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(r){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(c(t))s(t,(function(t){e._addPlugin(t)}));else if(!i(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;if(t){(t.warn?t.warn:t.log).apply(t,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},m=a(h,p,{plugins:[]});return m.raw={},s(m,(function(t,e){l(t)&&(m.raw[e]=u(m,t))})),s(t,(function(t){m._addStorage(t)})),s(e,(function(t){m._addPlugin(t)})),m}},49511:function(t){var e=Object.assign?Object.assign:function(t,e,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(e,n){t[n]=e}));return t},n=function(){if(Object.create)return function(t,n,r,o){var s=i(arguments,1);return e.apply(this,[Object.create(t)].concat(s))};{function t(){}return function(n,r,o,s){var u=i(arguments,1);return t.prototype=n,e.apply(this,[new t].concat(u))}}}(),r=String.prototype.trim?function(t){return String.prototype.trim.call(t)}:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(t,e){return Array.prototype.slice.call(t,e||0)}function s(t,e){u(t,(function(t,n){return e(t,n),!1}))}function u(t,e){if(a(t)){for(var n=0;n<t.length;n++)if(e(t[n],n))return t[n]}else for(var r in t)if(t.hasOwnProperty(r)&&e(t[r],r))return t[r]}function a(t){return null!=t&&"function"!=typeof t&&"number"==typeof t.length}t.exports={assign:e,create:n,trim:r,bind:function(t,e){return function(){return e.apply(t,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(t,e){var n=a(t)?[]:{};return u(t,(function(t,r){return n[r]=e(t,r),!1})),n},pluck:u,isList:a,isFunction:function(t){return t&&"[object Function]"==={}.toString.call(t)},isObject:function(t){return t&&"[object Object]"==={}.toString.call(t)},Global:o}},88120:function(t,e,n){t.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:function(t,e,n){var r=n(49511),o=r.Global,i=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!c(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;s.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:u,remove:a,clearAll:function(){u((function(t,e){a(e)}))}};var s=o.document;function u(t){for(var e=s.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(i(e[n])){var r=e[n].split("="),o=unescape(r[0]);t(unescape(r[1]),o)}}function a(t){t&&c(t)&&(s.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:function(t,e,n){var r=n(49511).Global;function o(){return r.localStorage}function i(t){return o().getItem(t)}t.exports={name:"localStorage",read:i,write:function(t,e){return o().setItem(t,e)},each:function(t){for(var e=o().length-1;e>=0;e--){var n=o().key(e);t(i(n),n)}},remove:function(t){return o().removeItem(t)},clearAll:function(){return o().clear()}}},71884:function(t){t.exports={name:"memoryStorage",read:function(t){return e[t]},write:function(t,n){e[t]=n},each:function(t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},remove:function(t){delete e[t]},clearAll:function(t){e={}}};var e={}},50026:function(t,e,n){var r=n(49511).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return o[t]},write:function(t,e){o[t]=e},each:i,remove:function(t){return o.removeItem(t)},clearAll:function(){i((function(t,e){delete o[t]}))}};var o=r.globalStorage;function i(t){for(var e=o.length-1;e>=0;e--){var n=o.key(e);t(o[n],n)}}},70240:function(t,e,n){var r=n(49511).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(u)return;var n=c(t);s((function(t){t.setAttribute(n,e),t.save(o)}))},read:function(t){if(u)return;var e=c(t),n=null;return s((function(t){n=t.getAttribute(e)})),n},each:function(t){s((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];t(e.getAttribute(o.name),o.name)}}))},remove:function(t){var e=c(t);s((function(t){t.removeAttribute(e),t.save(o)}))},clearAll:function(){s((function(t){var e=t.XMLDocument.documentElement.attributes;t.load(o);for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var t,e,n;try{(e=new ActiveXObject("htmlfile")).open(),e.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(r){n=i.createElement("div"),t=i.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load(o),e.apply(this,r),t.removeChild(n)}}(),u=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var a=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(a,"___")}},90109:function(t,e,n){var r=n(49511).Global;function o(){return r.sessionStorage}function i(t){return o().getItem(t)}t.exports={name:"sessionStorage",read:i,write:function(t,e){return o().setItem(t,e)},each:function(t){for(var e=o().length-1;e>=0;e--){var n=o().key(e);t(i(n),n)}},remove:function(t){return o().removeItem(t)},clearAll:function(){return o().clear()}}},49830:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(t,e){var n;for(n in this.data=t,this.pluralForms={},this.options={},o)this.options[n]=void 0!==e&&n in e?e[n]:o[n]}i.prototype.getPluralForm=function(t,e){var n,o,i,s=this.pluralForms[t];return s||("function"!=typeof(i=(n=this.data[t][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(t){var e,n,r;for(e=t.split(";"),n=0;n<e.length;n++)if(0===(r=e[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=(0,r.Z)(o)),s=this.pluralForms[t]=i),s(e)},i.prototype.dcnpgettext=function(t,e,n,r,o){var i,s,u;return i=void 0===o?0:this.getPluralForm(t,o),s=n,e&&(s=e+this.options.contextDelimiter+n),(u=this.data[t][s])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===i?n:r)}},77879:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});const r=new(n(82066).QueryClient)},36707:function(){window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",happychat_url:"https://happychat-io-staging.go-vip.co/customer",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en"],upwork_support_locales:["de"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786},window.process={env:{NODE_DEBUG:"dev"}}},75631:function(t,e,n){"use strict";n.d(e,{Z:function(){return C}});var r=n(69307),o=(n(88691),n(23025)),i=n(99196),s=n(4792),u=n(18717),a=n(43292),c=n(62635),l=n(38606),f=n(70858),p=n(21058),d=n(59852),h=n(29726),m=n(15223),g=n(6255),y=n(91668),v=n(18724),b=n(76693),w=n(24570),_=n(9044),E=n(82139),S=n(71799),I=n(9817),P=n(95884),k=n(90924);const O=(0,P.U)({currentUser:v.ZP,sites:E.ZP}),A=(0,u.MT)(O,(0,u.qC)(g.Z,k.f,(0,u.md)(a.Z,m.Z,b.Z)));function C(t){let{selectedArticle:e,setSelectedArticle:n,setFooterContent:u}=t;const[a,f]=(0,i.useState)(null),[p,d]=(0,i.useState)(null);return(0,r.createElement)(s.zt,{store:A},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Z,{siteId:window._currentSiteId}),a?(0,r.createElement)(o.Z,{mode:a,onBackClick:()=>{d(!0),f(null)},onGoHome:()=>{d(!1),f(null)},siteId:window._currentSiteId}):(0,r.createElement)(c.Z,{selectedArticle:e,setSelectedArticle:n,setHelpCenterFooter:u,setContactFormOpen:f,openInContactPage:p})))}(0,_.P)(A),A.dispatch((0,I.z)({name:"gutenberg-editor"})),A.dispatch((0,S.B)(window._currentSiteId)),(0,d.G)().then(h.v).then((t=>{t&&A.dispatch((0,y.lx)(t)),(0,f.M)(t||void 0,(0,p.Z)(A)),A.dispatch((0,w._)())}))},99477:function(t,e,n){"use strict";var r=n(69307),o=n(53762),i=n(92421),s=n(55213),u=n(55609),a=n(94333),c=n(9818),l=n(85192),f=n(98817),p=n(72779),d=n.n(p),h=n(99196),m=n(82066),g=n(77879),y=n(75631);n(39142);function v(){const t=(0,a.useMediaQuery)("(min-width: 480px)"),e=(0,c.useSelect)((t=>t("automattic/help-center").isHelpCenterShown())),{setShowHelpCenter:n}=(0,c.useDispatch)("automattic/help-center"),[f,p]=(0,h.useState)(null),[m,g]=(0,h.useState)(null),[v,b]=(0,h.useState)(!1),{data:w,isLoading:_}=(0,o.R)(window._currentSiteId);(0,h.useEffect)((()=>{!_&&w&&b(!w.has_seen_whats_new_modal)}),[w,_]),(0,h.useEffect)((()=>{e||p(null)}),[e]);const E=(0,r.createElement)("span",{className:"etk-help-center"},(0,r.createElement)(u.Button,{className:d()("entry-point-button",{"is-active":e}),onClick:()=>n(!e),icon:(0,r.createElement)(i.Z,{newItems:v,active:e})}));return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Ox,{scope:"core/edit-post"},E),(0,r.createElement)(l.Ox,{scope:"core/edit-site"},E)),e&&(0,r.createElement)(s.Z,{content:(0,r.createElement)(y.Z,{selectedArticle:f,setSelectedArticle:p,setFooterContent:g}),headerText:null==f?void 0:f.title,handleClose:()=>n(!1),footerContent:m}))}(0,f.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(m.QueryClientProvider,{client:g.c},(0,r.createElement)(v,null),",")})},67459:function(t,e,n){"use strict";n.d(e,{p:function(){return l},x:function(){return f}});var r=n(83685),o=n(11481),i=n(96598),s=n(26991),u=n(26347),a=n(64802),c=n(20336);const l=(0,r.P1)(((t,e)=>{const n=(0,a.Z)(t,e);return[{title:(0,o.Iu)("Add a new domain"),description:(0,o.Iu)("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${n}`,synonyms:["domains"],icon:"domains"},{title:(0,o.Iu)("Manage my domain settings"),description:(0,o.Iu)("Manage all domains linked to your account."),link:`/domains/manage/${n}`,synonyms:["domains"],icon:"domains"},{title:(0,o.Iu)("Change my site address"),link:`/domains/manage/${n}/edit/${n}`,synonyms:["domains","domain"],icon:"domains"},{title:(0,o.Iu)("Add a site redirect"),description:(0,o.Iu)("Redirect your site to another domain."),link:`/domains/add/site-redirect/${n}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:(0,o.Iu)("Change my password"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:(0,o.Iu)("Change my site's theme"),link:`/themes/${n}`,synonyms:["switch","design"],icon:"customize"},{title:(0,o.Iu)("Customize my site's theme"),link:(0,c.Z)(t,e),synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:(0,o.Iu)("Change my homepage"),link:(0,c.Z)(t,e,"homepage"),synonyms:["home","homepage"],icon:"customize"},{title:(0,o.Iu)("Edit my menu"),link:(0,c.Z)(t,e,"menus"),synonyms:["menu"],icon:"customize"},{title:(0,o.Iu)("Set a site logo"),link:(0,c.Z)(t,e,"identity"),synonyms:["logo","identity"],icon:"customize"},{title:(0,o.Iu)("Find a plan to suit my site"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Cancel my plan"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Upgrade my plan"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Cancel %(googleMailService)s",{args:{googleMailService:(0,i.H)()},comment:'%(googleMailService)s can be either "G Suite" or "Google Workspace"'}),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:(0,o.Iu)("Renew my plan"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:(0,o.Iu)("Renew my domain"),link:`/plans/${n}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:(0,o.Iu)("View my site activity"),link:`/activity-log/${n}`,icon:"history"},{title:(0,o.Iu)("View my site's latest stats"),link:`/stats/day/${n}`,synonyms:["analytics"],icon:"stats-alt"},{title:(0,o.Iu)("Upload an image, video, audio or document"),link:`/media/${n}`,synonyms:["media","photo"],icon:"image"},{title:(0,o.Iu)("Import content from another site"),link:`/settings/import/${n}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:(0,o.Iu)("Earn money from my site"),description:(0,o.Iu)("By upgrading to the Pro plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${n}`,synonyms:["monetize","wordads","pro"],icon:"money"},{title:(0,o.Iu)("Learn how to market my site"),link:`/marketing/tools/${n}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:(0,o.Iu)("Manage my site's users"),description:(0,o.Iu)("Invite new users and edit existing ones."),link:`/people/team/${n}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:(0,o.Iu)("Invite new users to my site"),link:`/people/new/${n}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:(0,o.Iu)("Change my site's timezone"),link:`/settings/general/${n}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:(0,o.Iu)("Launch my site"),description:(0,o.Iu)("Switch your site from private to public."),link:`/settings/general/${n}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:(0,o.Iu)("Delete a site or a site's content"),description:(0,o.Iu)("Remove all posts, pages, and media, or delete a site completely."),link:`/settings/general/${n}#site-tools__header`,icon:"cog"},{title:(0,o.Iu)("Set a site icon"),link:`/settings/general/${n}`,icon:"cog",synonyms:["logo"]},{title:(0,o.Iu)("Change my site's footer text"),description:(0,o.Iu)("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${n}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:(0,o.Iu)("Export my site's content and media library"),description:(0,o.Iu)("Export posts, pages and more from your site."),link:`/settings/export/${n}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:(0,o.Iu)("Manage sharing and social media connections"),link:`/sharing/${n}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:(0,o.Iu)("Add sharing buttons to my site"),description:(0,o.Iu)("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${n}`,synonyms:["like","reblog"],icon:"share"},{title:(0,o.Iu)("Install, manage, and search for site Plugins"),link:`/plugins/${n}`,synonyms:["upload"],icon:"plugins"},{title:(0,o.Iu)("Approve or delete comments"),link:`/comments/all/${n}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:(0,o.Iu)("Manage how users can comment on my site"),link:`/settings/discussion/${n}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:(0,o.Iu)("Manage post categories"),link:`/settings/writing/${n}`,synonyms:["post","category"],icon:"cog"},{title:(0,o.Iu)("Edit my site title, tagline, or logo"),link:`/settings/general/${n}`,synonyms:["title","logo"],icon:"cog"},{title:(0,o.Iu)("Set up a podcast"),link:`/settings/writing/${n}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:(0,o.Iu)("Change my site's privacy settings"),link:`/settings/general/${n}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:(0,o.Iu)("Manage SEO and traffic settings"),link:`/settings/traffic/${n}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:(0,o.Iu)("Update my profile"),description:(0,o.Iu)("Update your name, profile image, and about text."),link:"/me",synonyms:["avatar"],icon:"user"},{title:(0,o.Iu)("Update my username or email address"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:(0,o.Iu)("Change the dashboard color scheme"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:(0,o.Iu)("Switch the interface language"),description:(0,o.Iu)("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:(0,o.Iu)("Close my account permanently"),description:(0,o.Iu)("Delete all of your sites, and close your account completely."),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:(0,o.Iu)("Change my account privacy settings"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:(0,o.Iu)("View my purchase and billing history"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:(0,o.Iu)("Download the WordPress.com app for my device"),description:(0,o.Iu)("Get WordPress apps for all your screens."),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:(0,o.Iu)("View my drafted posts"),link:`/posts/drafts/${n}`,synonyms:["posts","draft"],icon:"my-sites"},{title:(0,o.Iu)("Manage my blog posts"),link:`/posts/${n}`,synonyms:["lists","posts"],icon:"my-sites"},{title:(0,o.Iu)("New post"),description:(0,o.Iu)("Create a new blog post on your site."),link:`/post/${n}`,synonyms:["lists","posts"],icon:"my-sites"},{title:(0,o.Iu)("View my drafted pages"),link:`/pages/drafts/${n}`,synonyms:["pages","draft"],icon:"my-sites"},{title:(0,o.Iu)("Manage my pages"),link:`/pages/${n}`,synonyms:["lists","pages"],icon:"my-sites"},{title:(0,o.Iu)("I cannot find my site on Google"),link:`/marketing/traffic/${n}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:(0,o.Iu)("Verify my site with Google"),link:`/marketing/traffic/${n}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:(0,o.Iu)("Create a new site"),link:`${(0,u.Nf)()}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:(0,o.Iu)("View contact form messages"),link:`https://${n}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:(0,o.Iu)("Portfolio projects (for those who have them active)"),link:`/types/jetpack-portfolio/${n}`,synonyms:["portfolio"],icon:"cog"}]}),((t,e)=>[(0,a.Z)(t,e)]));function f(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!t.length)return[];const r=t.split(/[\W_]+/g).filter(Boolean).map((t=>t.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((t,e)=>e+1===r.length?`(?=.*\\b${t})`:`(?=.*\\b${t}\\b)`)).join("")+".+","gi"),i=[],u=[],a=[];return e.forEach((e=>{var n;e.title.toLowerCase()===t.toLowerCase()?i.push(e):o.test(e.title)?u.push(e):"en"===(0,s.Y)()&&null!==(n=e.synonyms)&&void 0!==n&&n.some((t=>r.includes(t)))&&a.push(e)})),[...i,...u,...a].slice(0,n)}},83831:function(t,e,n){"use strict";n.d(e,{pp:function(){return r},Sm:function(){return o},fI:function(){return i},z1:function(){return s},RU:function(){return u},Di:function(){return a},D_:function(){return c},EE:function(){return l},QZ:function(){return f},h_:function(){return p}});const r="article",o="tour",i="video",s="contact",u="richresult",a=9619154,c="contextual_help",l="api_help",f="admin_section",p="sell_intent"},30081:function(t,e,n){"use strict";n.d(e,{r:function(){return f}});var r=n(47498),o=n(11481),i=n(83831);const s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return(0,o.Iu)("Do I Need a Website, a Blog, or a Website with a Blog?")},get description(){return(0,o.Iu)("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return(0,o.Iu)("Uploading custom plugins and themes")},get description(){return(0,o.Iu)("Learn more about installing a custom theme or plugin using the Business plan.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return(0,o.Iu)("All About Domains")},get description(){return(0,o.Iu)("Set up your domain whether it’s registered with WordPress.com or elsewhere.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return(0,o.Iu)("Quick-Start Guide")},get description(){return(0,o.Iu)("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return(0,o.Iu)("Privacy Settings")},get description(){return(0,o.Iu)("Limit your site’s visibility or make it completely private.")}}],u=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return(0,o.Iu)("All about blog posts")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return(0,o.Iu)("Encourage visitors to subscribe to your content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return(0,o.Iu)("Share your content to social media automatically")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return(0,o.Iu)("Encourage visitors to share your content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return(0,o.Iu)("Learn about how to get noticed by search engines")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return(0,o.Iu)("Verify your site with Google and other services")}}],a={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return(0,o.Iu)("Understanding the Stats Page")},get description(){return(0,o.Iu)("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return(0,o.Iu)("Getting More Views and Traffic")},get description(){return(0,o.Iu)("Want more traffic? Here are some tips for attracting more visitors to your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/increase-your-site-traffic/")},post_id:132186,get title(){return(0,o.Iu)("Increase Your Site Traffic")},get description(){return(0,o.Iu)("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return(0,o.Iu)("Grow Your Community")},get description(){return(0,o.Iu)("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/connect-to-social-media/")},post_id:130825,get title(){return(0,o.Iu)("Integrate and Connect to Social Media")},get description(){return(0,o.Iu)("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return(0,o.Iu)("Sharing Your Content")},get description(){return(0,o.Iu)("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return(0,o.Iu)("Using Instagram")},get description(){return(0,o.Iu)("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return(0,o.Iu)("Using Twitter")},get description(){return(0,o.Iu)('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!')}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return(0,o.Iu)("Managing Your Profile")},get description(){return(0,o.Iu)("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return(0,o.Iu)("Your Profile Picture")},get description(){return(0,o.Iu)("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-deactivation/")},post_id:138080,get title(){return(0,o.Iu)("Account Closure")},get description(){return(0,o.Iu)("Need a fresh start? Learn how to close your account.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return(0,o.Iu)("Change Your Username")},get description(){return(0,o.Iu)("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return(0,o.Iu)("Change Your Username")},get description(){return(0,o.Iu)("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:130826,get title(){return(0,o.Iu)("Manage Your Account")},get description(){return(0,o.Iu)("Learn the ins and outs of managing your WordPress.com account and site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return(0,o.Iu)("Edit Your Account Settings")},get description(){return(0,o.Iu)("You can review and edit basic account information in Account Settings. ")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-deactivation/")},post_id:143899,get title(){return(0,o.Iu)("Close Your Account")},get description(){return(0,o.Iu)("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return(0,o.Iu)("Two-Step Authentication")},get description(){return(0,o.Iu)('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!')}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return(0,o.Iu)("Account Recovery")},get description(){return(0,o.Iu)("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return(0,o.Iu)("Passwords And How To Use Them")},get description(){return(0,o.Iu)("Passwords are very important to user accounts, and there may come a time when you need to change your password.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return(0,o.Iu)("Third Party Applications")},get description(){return(0,o.Iu)("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return(0,o.Iu)("Notifications")},get description(){return(0,o.Iu)("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return(0,o.Iu)("Email Notifications")},get description(){return(0,o.Iu)("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return(0,o.Iu)("Following Comments")},get description(){return(0,o.Iu)("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return(0,o.Iu)("Following Blogs")},get description(){return(0,o.Iu)("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return(0,o.Iu)("The Media Library")},get description(){return(0,o.Iu)("The Media Library is where you can manage your images, audio, videos, and documents all in one place.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/add-media/finding-free-images-and-other-media/")},post_id:78425,get title(){return(0,o.Iu)("Finding Free Images and other Media")},get description(){return(0,o.Iu)("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/add-media/")},post_id:38830,get title(){return(0,o.Iu)("Add Media")},get description(){return(0,o.Iu)("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return(0,o.Iu)("Including Videos")},get description(){return(0,o.Iu)("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return(0,o.Iu)("User Roles")},get description(){return(0,o.Iu)("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return(0,o.Iu)("User Mentions")},get description(){return(0,o.Iu)("User mentions are a great way to include other WordPress.com users within your posts and comments.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/adding-users/")},post_id:2160,get title(){return(0,o.Iu)("Inviting Contributors, Followers, and Viewers")},get description(){return(0,o.Iu)("Invite contributors, followers, and viewers to collaborate with others and grow your audience!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return(0,o.Iu)("Your Followers")},get description(){return(0,o.Iu)("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return(0,o.Iu)("Using Plugins")},get description(){return(0,o.Iu)("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Pro plan allows you to choose from many thousands of plugins, and install them on your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/managing-plugins/")},post_id:134818,get title(){return(0,o.Iu)("Managing plugins")},get description(){return(0,o.Iu)("After you install a plugin, it will appear in a list at My Sites → Plugins.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/adding-plugins/")},post_id:134719,get title(){return(0,o.Iu)("Adding Plugins")},get description(){return(0,o.Iu)("Along with all the tools and features built right into WordPress.com, the Pro plan allows you to install other plugins.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return(0,o.Iu)("Business Plan")},get description(){return(0,o.Iu)("When you want to build a one-of-a-kind website, it's time for WordPress.com Pro: upload plugins and themes to create a truly tailored experience for your visitors.")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return(0,o.Iu)("Do I Need a Website, a Blog, or a Website with a Blog?")},get description(){return(0,o.Iu)("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return(0,o.Iu)("Build Your Website in Five Steps")},get description(){return(0,o.Iu)("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return(0,o.Iu)("Landing Pages")},get description(){return(0,o.Iu)("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return(0,o.Iu)("About Blog Posts")},get description(){return(0,o.Iu)("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return(0,o.Iu)("Post Formats")},get description(){return(0,o.Iu)("Learn how to make gallery, video, audio, and other post types pop with post formats. ")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return(0,o.Iu)("Writing Settings")},get description(){return(0,o.Iu)("Learn how to manage categories, date format, content types, and more.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return(0,o.Iu)("Categories vs. Tags")},get description(){return(0,o.Iu)("Learn the differences between categories and tags.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return(0,o.Iu)("Feeds")},get description(){return(0,o.Iu)("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return(0,o.Iu)("Portfolios")},get description(){return(0,o.Iu)("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return(0,o.Iu)("Discussion Settings")},get description(){return(0,o.Iu)("The Discussion Settings are used to control how visitors and other blogs interact with your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/enable-disable-comments-for-future-posts/")},post_id:5997,get title(){return(0,o.Iu)("Enable and Disable Comments for Future Posts")},get description(){return(0,o.Iu)("You can enable/disable comments on future posts by going into your Discussion settings. ")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return(0,o.Iu)("Comments")},get description(){return(0,o.Iu)("Comments are a way for visitors to add feedback to your posts and pages.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return(0,o.Iu)("Subscriptions and Newsletters")},get description(){return(0,o.Iu)("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return(0,o.Iu)("Get More Views and Traffic")},get description(){return(0,o.Iu)("Want more traffic? Here are some tips for attracting more visitors to your site!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return(0,o.Iu)("Related Posts")},get description(){return(0,o.Iu)("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return(0,o.Iu)("Site Verification Services")},get description(){return(0,o.Iu)("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return(0,o.Iu)("Accelerated Mobile Pages (AMP)")},get description(){return(0,o.Iu)("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return(0,o.Iu)("Security")},get description(){return(0,o.Iu)("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/unwanted-comments/")},post_id:5882,get title(){return(0,o.Iu)("Unwanted Comments and Comment Spam")},get description(){return(0,o.Iu)("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/selecting-a-strong-password/")},post_id:35364,get title(){return(0,o.Iu)("Selecting A Strong Password")},get description(){return(0,o.Iu)("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return(0,o.Iu)("Settings")},get description(){return(0,o.Iu)("The Settings menu of your site is where you will configure everything about how the blog works and functions.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return(0,o.Iu)("General Settings")},get description(){return(0,o.Iu)("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return(0,o.Iu)("Site Icons")},get description(){return(0,o.Iu)("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return(0,o.Iu)("Five Steps to Your Great New Blog")},get description(){return(0,o.Iu)("Get ready to publish! Our five-step checklist walks you through all the fundamentals.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return(0,o.Iu)("Themes: An Overview")},get description(){return(0,o.Iu)("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/uploading-setting-up-custom-themes/child-themes/")},post_id:134704,get title(){return(0,o.Iu)("Child Themes")},get description(){return(0,o.Iu)("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return(0,o.Iu)("Themes: An Overview")},get description(){return(0,o.Iu)("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/uploading-setting-up-custom-themes/child-themes/")},get title(){return(0,o.Iu)("Child Themes")},post_id:134704,get description(){return(0,o.Iu)("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.")}}],plans:[{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return(0,o.Iu)("WordPress.com Plans")},get description(){return(0,o.Iu)("Learn about the capabilities and features that the different plans unlock for your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack-add-ons/")},post_id:115025,get title(){return(0,o.Iu)("Jetpack Plans")},get description(){return(0,o.Iu)("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return(0,o.Iu)('What are "Blocks"?')},get description(){return(0,o.Iu)("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/")},post_id:175999,get title(){return(0,o.Iu)("The Payments Block")},get description(){return(0,o.Iu)("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/xml-rpc/")},post_id:3595,get title(){return(0,o.Iu)("Offline Editing")},get description(){return(0,o.Iu)("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/adding-users/")},post_id:2160,get title(){return(0,o.Iu)("Inviting Contributors, Followers, and Viewers")},get description(){return(0,o.Iu)("Invite contributors, followers, and viewers to collaborate with others and grow your audience!")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return(0,o.Iu)("The Reader: An Overview")},get description(){return(0,o.Iu)("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return(0,o.Iu)("Follow Blogs")},get description(){return(0,o.Iu)("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return(0,o.Iu)("Following Specific Topics in the Reader")},get description(){return(0,o.Iu)("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return(0,o.Iu)("Grow Your Community")},get description(){return(0,o.Iu)("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.")}}],help:[{get link(){return(0,r.aq)("https://wordpress.com/support/blogging-u/")},post_id:117437,get title(){return(0,o.Iu)("Blogging U.")},get description(){return(0,o.Iu)("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return(0,o.Iu)("Help! Getting WordPress.com Support")},get description(){return(0,o.Iu)("WordPress.com offers a number of avenues for reaching helpful, individualized support.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return(0,o.Iu)("All Support Articles")},get description(){return(0,o.Iu)("Looking to learn more about a feature? Our docs have all the details.")}},{get link(){return(0,r.aq)("https://learn.wordpress.com/")},get title(){return(0,o.Iu)("Self-guided Online Tutorial")},get description(){return(0,o.Iu)("A step-by-step guide to getting familiar with the platform.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return(0,o.Iu)("Comments")},get description(){return(0,o.Iu)("Comments are a way for visitors to add feedback to your posts and pages.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-display-options/")},post_id:5840,get title(){return(0,o.Iu)("Comment Display Options")},get description(){return(0,o.Iu)("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/unwanted-comments/")},post_id:5882,get title(){return(0,o.Iu)("Unwanted Comments and Comment Spam")},get description(){return(0,o.Iu)("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return(0,o.Iu)("Comment Likes")},get description(){return(0,o.Iu)("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return(0,o.Iu)("SFTP on WordPress.com")},get description(){return(0,o.Iu)("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return(0,o.Iu)("phpMyAdmin and MySQL")},get description(){return(0,o.Iu)("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return(0,o.Iu)("PHP Version Switching")},get description(){return(0,o.Iu)("Sites on the Pro Plan using custom plugins and/or custom themes now have the option to switch PHP versions.")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return(0,o.Iu)("WordPress.com Plans")},get description(){return(0,o.Iu)("Learn about the capabilities and features that the different plans unlock for your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack-add-ons/")},post_id:115025,get title(){return(0,o.Iu)("Jetpack Plans")},get description(){return(0,o.Iu)("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Manage Purchases and Refund Policy")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return(0,o.Iu)("Add Email to your Domain")},get description(){return(0,o.Iu)("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return(0,o.Iu)("Manage Custom DNS")},get description(){return(0,o.Iu)("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/move-domain/transfer-domain-registration/")},post_id:41298,get title(){return(0,o.Iu)("Transfer a Domain to Another Registrar")},get description(){return(0,o.Iu)("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-mapping-vs-domain-transfer/")},post_id:157655,get title(){return(0,o.Iu)("Connect an Existing Domain")},get description(){return(0,o.Iu)("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return(0,o.Iu)("All about domains")},get description(){return(0,o.Iu)("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return(0,o.Iu)("Add Social Sharing Buttons to Your Website")},get description(){return(0,o.Iu)("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return(0,o.Iu)("Connect Your Blog to Facebook Using Publicize")},get description(){return(0,o.Iu)("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return(0,o.Iu)("Display Your Instagram Feed on Your Website")},get description(){return(0,o.Iu)("Find out how to display your latest Instagram photos right on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return(0,o.Iu)("Set Up the Social Links Menu")},get description(){return(0,o.Iu)("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return(0,o.Iu)("Embed a Twitter Timeline in your Sidebar")},get description(){return(0,o.Iu)("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return(0,o.Iu)("Set Up a Social Media Icons Widget")},get description(){return(0,o.Iu)("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return(0,o.Iu)("Embed a Tweet from Twitter in Your Website")},get description(){return(0,o.Iu)("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return(0,o.Iu)("Embed an Instagram Photo in Your Website")},get description(){return(0,o.Iu)("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return(0,o.Iu)("Embed a Facebook Update in Your Website")},get description(){return(0,o.Iu)("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return(0,o.Iu)("Share Blog Posts Directly on Twitter")},get description(){return(0,o.Iu)("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return(0,o.Iu)("Add a Site Logo")},get description(){return(0,o.Iu)("Find out how to add a custom logo to your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return(0,o.Iu)("Update Your Website Title and Tagline")},get description(){return(0,o.Iu)("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return(0,o.Iu)("Change Your Privacy Settings")},get description(){return(0,o.Iu)("Find out how to change your website privacy settings on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return(0,o.Iu)("Add a Site Icon")},get description(){return(0,o.Iu)("Find out how to add a site icon on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return(0,o.Iu)("Create a Multilingual Site")},get description(){return(0,o.Iu)("Find out how to create a multilingual site on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return(0,o.Iu)("Customize Your Content Options")},get description(){return(0,o.Iu)("Find out how to customize your content options on select WordPress.com themes.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return(0,o.Iu)("Change Your Language Settings")},get description(){return(0,o.Iu)("Find out how to change your blog or website language and your interface language settings on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return(0,o.Iu)("Activate Free Email Forwarding")},get description(){return(0,o.Iu)("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return(0,o.Iu)("Change Your Password")},get description(){return(0,o.Iu)("Find out how to change your account password on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return(0,o.Iu)("Change Your WordPress.com Username")},get description(){return(0,o.Iu)("Find out how to change your username on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return(0,o.Iu)("Change Your WordPress.com Display Name")},get description(){return(0,o.Iu)("Find out how to change your display name on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return(0,o.Iu)("Change Your Account Email Address")},get description(){return(0,o.Iu)("Find out how to change your account email address on WordPress.com.")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return(0,o.Iu)("Add a Custom Header Image")},get description(){return(0,o.Iu)("Find out how to add a custom header image to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return(0,o.Iu)("Create a Custom Website Menu")},get description(){return(0,o.Iu)("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return(0,o.Iu)("Add a Widget")},get description(){return(0,o.Iu)("Find out how to add a widget to your WordPress.com website.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return(0,o.Iu)("Add a Custom Background")},get description(){return(0,o.Iu)("Find out how to add a custom background to your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return(0,o.Iu)("Change Your Site Fonts")},get description(){return(0,o.Iu)("Find out how to change the fonts on your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return(0,o.Iu)("Add a Gallery Widget")},get description(){return(0,o.Iu)("Find out how to add an image gallery widget to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return(0,o.Iu)("Use Featured Content")},get description(){return(0,o.Iu)("Find out how to use the Featured Content option on your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return(0,o.Iu)("Add an Image Widget")},get description(){return(0,o.Iu)("Find out how to add an image widget to your WordPress.com website or blog.")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return(0,o.Iu)("Create a Landing Page")},get description(){return(0,o.Iu)("Find out how to create a one-page website or landing page on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return(0,o.Iu)("Set Up a Website in 5 Steps")},get description(){return(0,o.Iu)("Find out how to create a website on WordPress.com in five steps.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return(0,o.Iu)("Set Up a Blog in 5 Steps")},get description(){return(0,o.Iu)("Find out how to create a blog on WordPress.com in five steps.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return(0,o.Iu)("Create a Page")},get description(){return(0,o.Iu)("Find out how to create a page on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return(0,o.Iu)("Create a Post")},get description(){return(0,o.Iu)("Find out how to create a post on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return(0,o.Iu)("Use a Custom Menu in a Widget")},get description(){return(0,o.Iu)("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return(0,o.Iu)("Configure a Static Homepage")},get description(){return(0,o.Iu)("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return(0,o.Iu)("Show Related Posts on Your WordPress Blog")},get description(){return(0,o.Iu)("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return(0,o.Iu)("Add Testimonials")},get description(){return(0,o.Iu)("Find out how to add testimonials to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return(0,o.Iu)("Change Your Post or Page Visibility Settings")},get description(){return(0,o.Iu)("Find out how to change your page or post visibility settings WordPress.com.")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return(0,o.Iu)("Add a Photo Gallery")},get description(){return(0,o.Iu)("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return(0,o.Iu)("Change Your Website Theme on WordPress.com")},get description(){return(0,o.Iu)("Find out how to change your WordPress.com theme.")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return(0,o.Iu)("Learn Media Library Basics")},get description(){return(0,o.Iu)("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.")}}]};function f(t,e){var n,r;"posts"!==t&&"pages"!==t||(t="posts-pages");const o="write"===e?u:s,f=null===(n=c[t])||void 0===n?void 0:n[0],p=null===(r=l[t])||void 0===r?void 0:r[0];let d=a[t]??o;return"home"===t?[p,f,...o,...d].filter(Boolean):("gutenberg-editor"===t&&"sell"!==e&&(d=d.filter((t=>t.intent!==i.h_))),[p,f,...d].filter(Boolean))}},62635:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(99706),s=n(76951),u=n(72779),a=n.n(u),c=n(99196),l=n(83831),f=n(6600),p=n(13050),d=n(92217),h=n(52944),m=n(48344);e.Z=t=>{let{selectedArticle:e,setSelectedArticle:n,setHelpCenterFooter:u,setContactFormOpen:g,openInContactPage:y}=t;(0,s._z)();const[v,b]=(0,c.useState)(""),[w,_]=(0,c.useState)(y?l.z1:null),E=(0,c.useRef)();(0,i.p)("CHAT"),(0,i.p)("EMAIL");const S=t=>{(0,o.jN)(`calypso_inlinehelp_${t}_show`,{location:"inline-help-popover"}),_(t)};(0,c.useEffect)((()=>{const t=E.current.querySelector("h2");t&&t.focus()}),[w]);const I=(t,e)=>{t.preventDefault(),n(e),S(l.RU)},P=()=>{(0,o.jN)(`calypso_inlinehelp_${w}_hide`,{location:"inline-help-popover"}),_(null),n(null)},k=()=>{S(l.z1)},O=()=>{};(0,c.useEffect)((()=>{u(w?null:(0,r.createElement)(f.e,{onClick:k,onSelectResource:I}))}),[w]),(0,c.useEffect)((()=>{e&&S(l.RU)}),[]);const A=a()("inline-help-center__content",w&&`is-secondary-view-${w}`,{"is-secondary-view-active":w});return(0,r.createElement)("div",{className:A},(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(h.Z,{searchQuery:v,onSearch:b,isVisible:!w}),(0,r.createElement)(m.Z,{onSelect:I,onAdminSectionSelect:O,searchQuery:v,openAdminInNewTab:!0}),!v&&(0,r.createElement)(d.Z,null)),(()=>{const t=a()("inline-help__secondary-view",`inline-help__${w}`);return(0,r.createElement)("section",{ref:E,className:t},{[l.z1]:(0,r.createElement)(f.Z,{closeContactPage:P,onSelectResource:I,setContactFormOpen:g}),[l.RU]:(0,r.createElement)(p.Z,{result:e,handleBackButton:P,searchQuery:v})}[w])})()))}},6600:function(t,e,n){"use strict";n.d(e,{e:function(){return m}});var r=n(69307),o=n(43239),i=n(99706),s=n(5869),u=n(21100),a=n(77343),c=n(95885),l=n(72779),f=n.n(l),p=n(99196),d=n(48344),h=n(92945);const m=t=>{let{onClick:e}=t;const{__:__}=(0,c.QT)();return(0,r.createElement)(o.Z,{className:"inline-help__contact-button",borderless:!1,onClick:e},(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",null,__("Still need help?")))};e.Z=t=>{let{closeContactPage:e,onSelectResource:n,setContactFormOpen:l}=t;const{__:__}=(0,c.QT)(),{data:m,isLoading:g}=(0,i.p)("CHAT"),{data:y,isLoading:v}=(0,i.p)("EMAIL");return(0,p.useEffect)((()=>{g||v||null!=m&&m.isUserEligible||(null!=y&&y.is_user_eligible?l("EMAIL"):l("FORUM"))}),[g,v,m,y,l]),g||v?null:(0,r.createElement)("div",{className:"inline-help__contact-page"},(0,r.createElement)(o.Z,{borderless:!0,onClick:e,className:"inline-help__back-button"},(0,r.createElement)(s.Z,{icon:u.Z,size:18}),__("Back")),(0,r.createElement)("div",{className:"inline-help__contact-content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts")),(0,r.createElement)("div",{className:f()("inline-help__contact-boxes",{"is-reversed":null==m?void 0:m.isClosed})},(0,r.createElement)("div",{className:f()("inline-help__contact-box","chat",{"is-disabled":null==m?void 0:m.isClosed}),onClick:()=>l("CHAT"),onKeyDown:()=>l("CHAT"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"inline-help__contact-box-icon"},(0,r.createElement)(s.Z,{icon:a.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Live chat")),(0,r.createElement)("p",null,null!=m&&m.isClosed?__("Chat is unavailable right now"):__("Get an immediate reply")))),(0,r.createElement)("div",{className:f()("inline-help__contact-box","email"),onClick:()=>l("EMAIL"),onKeyDown:()=>l("EMAIL"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"inline-help__contact-box-icon"},(0,r.createElement)(s.Z,{icon:(0,r.createElement)(h.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Email")),(0,r.createElement)("p",null,__("An expert will get back to you soon")))))),(0,r.createElement)(d.Z,{onSelect:n,placeholderLines:4}))}},13050:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(43239),s=n(55609),u=n(5869),a=n(21100),c=n(22042),l=n(95885),f=(n(99196),n(27710)),p=n(83831);e.Z=t=>{let{result:e,handleBackButton:n,searchQuery:d}=t;const{post_id:h,link:m,type:g=p.pp}=e,{__:__}=(0,l.QT)();return(0,r.useEffect)((()=>{const t={search_query:d,location:"inline-help-popover",result_url:e.link};(0,o.jN)(`calypso_inlinehelp_${g}_open`,t)}),[]),(0,r.createElement)("div",{className:"inline-help__embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,onClick:n},(0,r.createElement)(u.Z,{icon:a.Z,size:20}),__("Back"))),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:m,target:"_blank"},(0,r.createElement)(u.Z,{icon:c.Z,size:20})))),(0,r.createElement)(f.Z,{postId:h,blogId:null,articleUrl:null}))}},92217:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(4112),s=n(53762),u=n(47498),a=n(93585),c=n(55609),l=n(5869),f=n(81835),p=n(26176),d=n(10812),h=n(86642),m=n(95885),g=n(4792),y=n(42763),v=n(76678),b=n(20834);const w=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"}));e.Z=()=>{const{__:__}=(0,m.QT)(),[t,e]=(0,r.useState)(!1),{isBusinessOrEcomPlanUser:n,siteId:_}=(0,g.v9)((t=>{const e=(0,v.I)(t),n=e&&e.map((t=>t.productSlug));return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:(0,b.Z)(t)}})),{data:E,isLoading:S,setHasSeenWhatsNewModal:I}=(0,s.R)(_);(0,r.useEffect)((()=>{!S&&E&&e(!E.has_seen_whats_new_modal)}),[E,S]);const[P,k]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"inline-help__section-title"},__("More Resources")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video"},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Video tutorials"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wordpress.com/webinars"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:n})},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:p.Z,size:24}),(0,r.createElement)("span",null,__("Webinars"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wpcourses.com/?ref=wpcom-help-more-resources"),rel:"noreferrer",target:"_blank",className:"inline-help__desktop"},(0,r.createElement)(l.Z,{icon:d.Z,size:24}),(0,r.createElement)("span",null,__("Courses"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://learn.wordpress.com"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered"},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Step-by-step guides"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>(null!=E&&E.has_seen_whats_new_modal||I(!0),void k(!0)),className:"inline-help__new-releases"},(0,r.createElement)(y.Z,{icon:"new_releases",size:24}),(0,r.createElement)("span",null,__("What's new")),t&&(0,r.createElement)(l.Z,{icon:w,size:16}))))),P&&(0,r.createElement)(a.Z,{onClose:()=>k(!1)}))}},52944:function(t,e,n){"use strict";var r=n(69307),o=n(38049),i=n.n(o),s=n(10975),u=n(13980),a=n.n(u),c=n(99196),l=n(4792),f=n(57925),p=n(19298);const d=i()("calypso:inline-help"),h=t=>{let{searchQuery:e="",location:n="inline-help-popover",isVisible:o=!0,placeholder:i,onSearch:u}=t;const a=(0,c.useRef)(),h=(0,s.Z)(),m=(0,l.I0)();(0,c.useEffect)((()=>{var t;const e=null===(t=a.current)||void 0===t?void 0:t.searchInput;if("inline-help-popover"!==n||!e||!o)return;const r=setTimeout((()=>e.focus()),0);return()=>window.clearTimeout(r)}),[a,n,o]);return(0,r.createElement)(f.Z,{ref:a,initialValue:e,onSearch:t=>{const r=t.trim();null!=r&&r.length&&(d("search query received: ",e),m((0,p.jN)("calypso_inlinehelp_search",{search_query:e,location:n}))),null==u||u(t)},placeholder:i||h("Search for help…"),delaySearch:!0})};h.propTypes={searchQuery:a().string,onSearch:a().func,placeholder:a().string,location:a().string},e.Z=h},48344:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(56399),s=n(47498),u=n(25158),a=n(5869),c=n(58706),l=n(39739),f=n(10975),p=n(92819),d=n(78319),h=n.n(d),m=n(13980),g=n.n(m),y=n(99196),v=n(4792),b=n(30081),w=n(66525),_=n(38944),E=n(93345),S=n(40997),I=n(19298),P=n(89621),k=n(16193),O=n(56733),A=n(73041),C=n(83831),T=n(50417);const R=()=>{};function x(t){let{message:e="",priority:n="polite",timeout:r=800}=t;return(0,p.debounce)((()=>{(0,u.speak)(e,n)}),r)}const Z=x({message:"Loading search results.",timeout:1500}),j=x({message:"Search results loaded."}),D=x({message:"No search results found."});function L(t){let{externalLinks:e=!1,onSelect:n,onAdminSectionSelect:u=R,searchQuery:p="",placeholderLines:d,openAdminInNewTab:m=!1}=t;const g=(0,f.Z)(),x=(0,v.I0)(),L=(0,v.v9)(k.Z),U=(0,v.v9)(A.Z),F=["purchases","site-purchases"].includes(U),N=(0,O.P)("site_intent"),q=(0,y.useMemo)((()=>(0,b.r)(U,N)),[U,N]),M=(0,v.v9)((t=>(0,P.Z)(t,p,3))),B=q.filter(((t,e)=>t||e?()=>!0:t=>{let{post_id:e}=t;return 111349!==e})(L,F)),{data:$,isLoading:H}=(0,_.e)(p),V=(null==$?void 0:$.wordpress_support_links)??[],W=V.length>0;(0,y.useEffect)((()=>{Z.cancel(),j.cancel(),D.cancel(),p&&(H?Z():W?W&&j():D())}),[H,W,p]);const z=(t,f)=>{const{link:d,title:g,icon:v}=t,b=e&&f!==C.QZ;return(0,o.createElement)(y.Fragment,{key:d??g},(0,o.createElement)("li",{className:"inline-help__results-item"},(0,o.createElement)("div",{className:"inline-help__results-cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,s.aq)(d),onClick:e=>{b||e.preventDefault(),((t,e,r)=>{const{link:o}=e;if(r===C.QZ&&o)return x((0,I.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:p})),void(/^http/.test(o)||(t.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):h()(o),u(t)));n(t,e)})(e,t,f)}},b&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===f?(0,o.createElement)(a.Z,{icon:c.Z}):v?(0,o.createElement)(i.Z,{icon:v}):(0,o.createElement)(a.Z,{icon:l.Z})),null),(0,o.createElement)("span",null,(0,E.R)((0,S.S)(g)))))))},G=t=>{let{type:e,title:n,results:r,condition:i}=t;const s=`inline-search--${e}`;return i?(0,o.createElement)(y.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"inline-help__results-title"},n):null,(0,o.createElement)("ul",{className:"inline-help__results-list","aria-labelledby":n?s:void 0},r.map((t=>z(t,e))))):null},Q=g(W?"Search Results":"Helpful resources for this section");return(0,o.createElement)(y.Fragment,null,(0,o.createElement)(w.Z,null),!H||V.length||M.length?(0,o.createElement)(y.Fragment,null,!p||W||H?null:(0,o.createElement)("p",{className:"inline-help__empty-results"},g("Sorry, there were no matches. Here are some of the most searched for help pages for this section:")),(0,o.createElement)("div",{className:"inline-help__results","aria-label":Q},[{type:C.EE,title:g("Recommended resources"),results:V.slice(0,5),condition:!H&&V.length>0},{type:C.D_,title:p.length?"":g("Recommended resources"),results:B.slice(0,6),condition:!H&&!V.length&&B.length>0},{type:C.QZ,title:g("Show me where to"),results:M,condition:!!p&&M.length>0}].map(G))):(0,o.createElement)(T.Z,{lines:d}))}L.propTypes={searchQuery:g().string,onSelect:g().func.isRequired,onAdminSectionSelect:g().func},e.Z=L},92945:function(t,e,n){"use strict";var r=n(69307);e.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff","stroke-width":"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent","stroke-width":"1.5"}))},50417:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(69307);function o(t){let{lines:e=4}=t;return(0,r.createElement)("div",{className:"inline-help__results-placeholder"},Array.from({length:e},((t,e)=>(0,r.createElement)("div",{key:e,className:"inline-help__results-placeholder-item"}))))}},27710:function(t,e,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(83831),c=n(56077),l=n(9232),f=n(22169),p=n(1230),d=n(6712),h=n(85774),m=n(85268);const g=(t,e)=>({blogId:t,postId:e}),y=t=>{let{postId:e,blogId:n,articleUrl:o}=t;const i=((t,e)=>{const n=(0,p.Z)(t,e);return n.isLoading?null:n.data?g(n.data.blog_id,n.data.page_id):g(t,e)})(n??a.Di,e),y=(0,u.v9)((t=>(0,d.UK)(t,i))),v=!y||!i,b=null==y?void 0:y.site_ID,w=!y&&i;return(0,s.useEffect)((()=>{"undefined"!=typeof window&&o&&-1!==o.indexOf("#")&&null!=y&&y.content&&setTimeout((()=>{const t=o.split("#").pop(),e=document.getElementById(t);e&&e.scrollIntoView()}),0)}),[o,y]),(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(l.Z,{siteId:+b}),w&&(0,r.createElement)(c.Z,{postKey:i}),(0,r.createElement)("article",{className:"support-article-dialog__story"},(0,r.createElement)(h.Z,{post:y,isLoading:v}),v?(0,r.createElement)(m.Z,null):(0,r.createElement)(f.Z,null,(0,r.createElement)("div",{className:"support-article-dialog__story-content",dangerouslySetInnerHTML:{__html:null==y?void 0:y.content}}))))};y.propTypes={postId:i().number.isRequired,blogId:i().number,articleUrl:i().string},e.Z=y},85774:function(t,e,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const u=t=>{let{post:e,isLoading:n}=t;return n||!e?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:e.URL,target:"_blank",icon:!1},e.title)))};u.propTypes={post:i().object,isLoading:i().bool},e.Z=u},85268:function(t,e,n){"use strict";var r=n(69307),o=n(99196);e.Z=()=>(0,r.createElement)(o.Fragment,null,(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})))},56077:function(t,e,n){"use strict";var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(77327),c=n(93125),l=n(6712);class f extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:t,postKey:e}=this.props;!(0,a.J0)(e)||t&&"minimal"!==t._state||this.props.fetchPost(e)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(f,"propTypes",{postKey:i().object.isRequired}),e.Z=(0,u.$j)(((t,e)=>({post:(0,l.UK)(t,e.postKey)})),{fetchPost:c.SD})(f)},9232:function(t,e,n){"use strict";var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),u=n(63262),a=n(58311);function c(t){let{siteId:e}=t;const n=(0,s.I0)(),r=(0,s.v9)((t=>(0,a._g)(t,e)));return(0,i.useEffect)((()=>{e&&r&&n((0,u.LV)(e))}),[n,e,r]),null}c.propTypes={siteId:o().number},e.Z=c},38606:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(85300),c=n(87720),l=n(40540),f=n(52239),p=n(58863),d=n(79791);const h=t=>(0,a.Oz)(t,"recentSites");function m(){const t=(0,u.I0)();return(0,s.useEffect)((()=>{t(((t,e)=>{(0,f.Z)(e())||t((0,l.BU)())}))}),[t]),null}const g=t=>(e,n)=>{t&&!(0,p.Z)(n(),t)&&e((0,l.LV)(t))};function y(t){let{siteId:e}=t;const n=(0,u.I0)();return(0,s.useEffect)((()=>{e&&n(g(e))}),[n,e]),null}function v(){const t=(0,u.v9)(c.Z),e=(0,u.v9)(h),n=(0,u.I0)();return(0,s.useEffect)((()=>{const r=[...t?[t]:[],...e??[]];r.length&&n((t=>(e,n)=>{const r=n();(0,d.Z)(r)||t.forEach((t=>e(g(t))))})(r))}),[n,t,e]),null}function b(t){let{siteId:e,allSites:n=!1,primaryAndRecent:o=!1}=t;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(m,null),e&&(0,r.createElement)(y,{siteId:e}),o&&(0,r.createElement)(v,null))}b.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:function(t,e,n){"use strict";var r=n(99196),o=n(4792),i=n(36747),s=n(86169),u=n(12726);const a=(t,e)=>{const n=e(),r=(0,i.rc)(n),o=(0,u.Mo)(n),a=(0,u.iJ)(n);!r||o||a||t((0,s.Y9)(r))};e.Z=function(){const t=(0,o.I0)();return(0,r.useEffect)((()=>{t(a)})),null}},22169:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),u=n(99196),a=n(91850),c=n.n(a),l=n(16771);const f=()=>{},p=i()("calypso:components:embed-container"),d={'blockquote[class^="instagram-"]':function t(e){if(p("processing instagram for",e),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}b("https://platform.instagram.com/en_US/embeds.js",t.bind(null,e))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function t(e){if(p("processing twitter for",e),"undefined"!=typeof twttr){try{window.twttr.widgets.load(e)}catch(n){}return}b("https://platform.twitter.com/widgets.js",t.bind(null,e))},"fb\\:post, [class^=fb-]":function(t){if(p("processing facebook for",t),"undefined"!=typeof fb)return;b("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",f)},"[class^=tumblr-]":function(t){if(p("processing tumblr for",t),w)return;function e(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(t){t.parentNode.removeChild(t)})),w=!1}w=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",e)}),30)},".jetpack-slideshow":function(t){p("processing slideshow for",t),window.jetpackSlideshowSettings={spinner:m.SPINNER},S||(S=!0,function(t){const e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=t,document.head.appendChild(e)}(m.CSS));const e=t.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(e,(t=>{t.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?b(m.CYCLE_JS,(()=>{E()})):(0,l.t)(m.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(t){p("processing story for ",t);const e=t.querySelector("a.wp-story-container, a.wp-story-overlay");e&&e.setAttribute("target","_blank")},".embed-reddit":function(t){p("processing reddit for ",t),b("https://embed.redditmedia.com/widgets/platform.js",f)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,m={CSS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/img/slideshow-loader.gif${h}`};function g(t){Object.entries(d).forEach((e=>{let[n,r]=e;const o=t.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(t){return!t.hasAttribute("data-wpcom-embed-processed")&&(t.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function b(t,e){let n=v[t];n||(n=new Promise((function(e,n){(0,r.ve)(t,(function(t){t?n(t):e()}))})),v[t]=n),n.then(e,(function(e){p("error loading "+t,e),v[t]=null}))}let w;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),b(m.JS,(()=>{_()}))}let S=document.head.querySelector(`link[href="${m.CSS}"]`);class I extends u.PureComponent{componentDidMount(){g(c().findDOMNode(this))}componentDidUpdate(){g(c().findDOMNode(this))}render(){return u.Children.only(this.props.children)}}},38782:function(t,e,n){"use strict";var r=n(56666),o=n(69307),i=n(56399),s=n(97493),u=n(47498),a=n(72779),c=n.n(a),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196);class m extends h.Component{render(){const t=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),e={...(0,f.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName"),className:t,rel:"external"};this.props.icon&&(e.target="_blank"),e.target&&(e.rel=e.rel.concat(" noopener noreferrer")),e.href&&(e.href=(0,u.aq)(e.href));const n=(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",e,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(m,"defaultProps",{iconSize:18,showIconFirst:!1}),(0,r.Z)(m,"propTypes",{className:d().string,href:d().string,onClick:d().func,icon:d().bool,iconSize:d().number,target:d().string,showIconFirst:d().bool,iconClassName:d().string}),e.Z=m},66753:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),u=n.n(s),a=n(13980),c=n.n(a),l=n(99196);class f extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(t=>{this.currentTextField=t;const{inputRef:e}=this.props;e&&("function"==typeof e?e(t):e.current=t)})),(0,o.Z)(this,"selectOnFocus",(t=>{this.props.selectOnFocus&&t.target.select()})),(0,o.Z)(this,"onChange",(t=>{var e,n;this.setState({value:t.target.value}),null===(e=(n=this.props).onChange)||void 0===e||e.call(n,t)}))}componentDidUpdate(t){this.updateValueIfNeeded(t.value)}updateValueIfNeeded(t){const{value:e}=this.props;t===e&&e===this.state.value||this.setState({value:e})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:t,isValid:e,selectOnFocus:n,inputRef:o,onChange:s,value:a,...c}=this.props,l=u()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(f,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},42763:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(18914),s=n(72779),u=n.n(s),a=n(99196);function c(t){const{size:e=24,style:n="outline",icon:s,onClick:a,className:c,...l}=t,f=`material-icon-${s}`,p=u()("material-icon",f,c),d=`icon-${n}-${s}-${e}px`;return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:p,height:e,width:e,onClick:a},l),(0,o.createElement)("use",{xlinkHref:`${i}#${d}`}))}e.Z=a.memo(c)},57925:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(98148),s=n(72779),u=n.n(s),a=n(99196),c=n(12982);const l=(t,e)=>{let{className:n,...s}=t;return(0,o.createElement)(i.Z,{className:u()("search-card",n)},(0,o.createElement)(c.Z,(0,r.Z)({ref:e},s)))};e.Z=(0,a.forwardRef)(l)},12982:function(t,e,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(56399),u=n(79321),a=n(72779),c=n.n(a),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196),m=n(88767),g=n(66753),y=n(14497),v=n(28816),b=n(44567);const w=()=>{};function _(t,e){switch(e.key){case" ":case"Enter":this[t](e)}}class E extends h.Component{constructor(t){super(t),(0,o.Z)(this,"setOpenIconRef",(t=>this.openIcon=t)),(0,o.Z)(this,"setSearchInputRef",(t=>this.searchInput=t)),(0,o.Z)(this,"setOverlayRef",(t=>this.overlay=t)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(t=>{if(!t.createTextRange)return t.scrollLeft;const e=t.createTextRange(),n=window.getComputedStyle(t,void 0),r=parseFloat(n.paddingLeft),o=e.getBoundingClientRect();return t.getBoundingClientRect().left+t.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(t=>{this.props.onBlur&&this.props.onBlur(t),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(t=>{this.setState({keyword:t.target.value})})),(0,o.Z)(this,"openSearch",(t=>{t.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,b.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(t=>{t.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(t),(0,b.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(t=>{"Enter"===t.key&&(0,u.tq)()&&this.blur(),this.props.pinned&&("Escape"===t.key&&this.closeSearch(t),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(t=>{this.scrollOverlay(),"Escape"===t.key&&""===t.target.value&&this.closeSearch(t),this.props.onKeyDown(t)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const t=this.searchInput.value;t&&(this.searchInput.value="",this.searchInput.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),this.instanceId=(0,m.Z)(),this.state={keyword:t.initialValue||"",isOpen:!!t.isOpen,hasFocus:t.autoFocus},this.closeListener=_.bind(this,"closeSearch"),this.openListener=_.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(t){t.onSearch===this.props.onSearch&&t.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==t.isOpen&&this.setState({isOpen:t.isOpen}),this.props.value===t.value||!t.value&&""!==t.value||t.value===this.state.keyword||this.setState({keyword:t.value})}componentDidUpdate(t,e){this.scrollOverlay(),(this.state.isOpen&&!e.isOpen||this.props.autoFocus&&!t.autoFocus)&&this.focus(),this.state.keyword!==e.keyword&&(this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword)),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const t=this.state.keyword,e=this.props.placeholder||l.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,u=this.state.isOpen||!this.props.pinned||this.props.initialValue,a=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},f=c()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":u,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),p=c()("search__input-fade",this.props.dir),d=c()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:f,role:"search"},(0,i.createElement)(y.Z,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":l.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(s.Z,{icon:"search",className:"search__open-icon"})),(0,i.createElement)("div",{className:p},(0,i.createElement)(g.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||l.ZP.translate("Search"),"aria-hidden":!u,className:d,placeholder:e,role:"searchbox",value:t,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},a)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":l.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(s.Z,{icon:"cross",className:"search__close-icon"}))}}(0,o.Z)(E,"propTypes",{additionalClasses:d().string,initialValue:d().string,value:d().string,placeholder:v.Z,pinned:d().bool,delaySearch:d().bool,delayTimeout:d().number,describedBy:d().string,onSearch:d().func.isRequired,onSearchChange:d().func,onSearchOpen:d().func,onSearchClose:d().func,analyticsGroup:d().string,overlayStyling:d().func,autoFocus:d().bool,disabled:d().bool,onKeyDown:d().func,onClick:d().func,disableAutocorrect:d().bool,onBlur:d().func,searching:d().bool,isOpen:d().bool,dir:d().oneOf(["ltr","rtl"]),fitsContainer:d().bool,maxLength:d().number,minLength:d().number,hideClose:d().bool,compact:d().bool,hideOpenIcon:d().bool,inputLabel:d().string}),(0,o.Z)(E,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:w,onSearchOpen:w,onSearchClose:w,onKeyDown:w,onClick:w,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,compact:!1,hideOpenIcon:!1}),e.Z=E},14497:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),u=n(13980),a=n.n(u),c=n(99196);class l extends c.PureComponent{render(){const t=s()("spinner",this.props.className),e={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:t},(0,o.createElement)("div",{className:"spinner__outer",style:e},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(l,"propTypes",{className:a().string,size:a().number}),(0,r.Z)(l,"defaultProps",{size:20})},28816:function(t,e){"use strict";e.Z=function(t){function e(e,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?e?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:t(n,r,o,i)}const n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}((function(t,e,n){n=n||"ANONYMOUS";const r=t[e];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},38944:function(t,e,n){"use strict";n.d(e,{e:function(){return i}});var r=n(82066),o=n(72429);const i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useQuery)(["help",t],(()=>o.Z.req.get("/help/search",{query:t,include_post_id:1})),{enabled:!!t,...e})}},1230:function(t,e,n){"use strict";var r=n(6339),o=n(82066),i=n(4792),s=n(72429),u=n(30963);e.Z=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.v9)(u.Z);return(0,o.useQuery)(["support-article-alternates",t,e],(()=>s.Z.req.get(`/support/alternates/${t}/posts/${e}`)),{...n,enabled:!(0,r.TF)(a)&&!(!t||!e),refetchOnMount:!1,refetchOnWindowFocus:!1,select:t=>t[a]})}},36190:function(t,e,n){"use strict";n.d(e,{wZ:function(){return i},ZK:function(){return s},_O:function(){return u},n_:function(){return a},CO:function(){return c},xb:function(){return l},kL:function(){return f},GL:function(){return p},eG:function(){return d},hR:function(){return h},Mf:function(){return m},Q1:function(){return g},az:function(){return y},S$:function(){return v},nF:function(){return b},fF:function(){return w},lB:function(){return _},n5:function(){return E},Dt:function(){return S},j_:function(){return I},EV:function(){return P},y2:function(){return k},yf:function(){return O},xV:function(){return A},E9:function(){return C},O5:function(){return T},pP:function(){return R},Ai:function(){return x},zR:function(){return Z},Uk:function(){return j},L:function(){return D},cf:function(){return L},Hb:function(){return U},zv:function(){return F},oh:function(){return N}});var r=n(20899),o=n(38049);const i=!0,s=!0,u=!0,a=!0,c=!1,l=!0,f=!1,p=!0,d=!0,h=!1,m=!0,g=!1,y=!1,v=!1,b=!1,w=n.n(o)()("calypso:analytics:ad-tracking"),_="https://connect.facebook.net/en_US/fbevents.js",E="https://www.googletagmanager.com/gtag/js?id=",S="https://bat.bing.com/bat.js",I="https://static.criteo.net/js/ld/ld.js",P="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",k="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",O="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",A="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",C="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",T="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",R="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",x="https://static.ads-twitter.com/uwt.js",Z="https://snap.licdn.com/li.lms-analytics/insight.min.js",j="https://a.quora.com/qevents.js",D="https://amplify.outbrain.com/cp/obtp.js",L="https://s.pinimg.com/ct/core.js",U={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},F="dcmsid",N=1800},33675:function(t,e,n){"use strict";n.d(e,{j:function(){return a},I:function(){return l}});var r=n(36115),o=n(13421),i=n(88767),s=n(1444),u=n(36190);n(28122);function a(t){if(!(0,s.Z)()||!u.ZK)return;const e=["event","conversion",{...{...c(),allow_custom_scripts:!0},...t}];(0,u.fF)("recordParamsInFloodlightGtag:",e),window.gtag(...e)}function c(){const t={},e=(0,r.ts)(),n=(0,r.di)();return e&&(t.u4=e.hashedPii.ID),n&&(t.u5=n),t}function l(t){if(!(0,s.Z)()||!u.ZK)return;const e=function(){const t=o.parse(document.cookie)[u.zv];if(t)return(0,u.fF)("Floodlight: Existing session: "+t),t;const e=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,u.fF)("Floodlight: New session: "+e),e}();document.cookie=o.serialize(u.zv,e,{maxAge:u.oh}),(0,u.fF)("retarget: recordPageViewInFloodlight: wpvisit"),a({session_id:e,u6:t,u7:e,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,u.fF)("retarget: recordPageViewInFloodlight: wppv"),a({u6:t,u7:e,send_to:"DC-6355556/wordp0/wppv+standard"})}},95157:function(t,e,n){"use strict";n.d(e,{LT:function(){return l},mf:function(){return f},Uk:function(){return p},vL:function(){return d},Zf:function(){return h}});var r=n(36115),o=n(20899),i=n(32486),s=n(43621),u=n(9415),a=n(36190),c=n(46481);n(28122);function l(t){(0,c.U)(),window.gtag("config",a.Hb.wpcomGoogleAnalyticsGtag,t)}function f(){return a.wZ&&o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,i.Z)()&&(0,s.Z)()}function p(){const t=(0,r.ts)();return{...t&&{user_id:t.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,u.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];window.gtag("config",a.Hb.wpcomGoogleAnalyticsGtag,{...p(),page_path:t,page_title:e}),n&&window.gtag("config",a.Hb.jetpackGoogleAnalyticsGtag,{...p(),page_path:t,page_title:e})}function h(t,e,n,r){window.gtag("event",e,{event_category:t,event_label:n,value:r})}},30214:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var r=n(36115),o=n(84898),i=n(36190);n(28122);const s=function(t){let e,n="not-loading";const r=new Promise((t=>{e=t}));return()=>("not-loading"===n&&(n="loading",t().then((t=>{n="loaded",e(t)}),(()=>{n="not-loading"}))),r)}((async()=>{const t=function(){const t=[];i._O&&t.push(i.lB);const e=[i.wZ&&i.Hb.wpcomGoogleAnalyticsGtag,i.xb&&i.Hb.wpcomGoogleAdsGtag,i.ZK&&i.Hb.wpcomFloodlightGtag].filter((t=>!1!==t));e.length>0&&t.push(i.n5+e[0]);i.n_&&t.push(i.Dt);i.az&&t.push(i.j_);i.kL&&t.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");i.Mf&&t.push(i.Ai);i.Q1&&t.push(i.zR);i.S$&&t.push(i.Uk);i.GL&&t.push(i.L);i.eG&&t.push(i.cf);return t}();let e=!1;for(const r of t){try{await(0,o.ve)(r)}catch(n){e=!0,(0,i.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,i.fF)("loadTrackingScripts: [Loaded]",r)}if(e)throw new Error("One or more tracking scripts failed to load");(0,i.fF)("loadTrackingScripts: load done"),function(){i._O&&function(){let t={};const e=(0,r.ts)();e&&(t={em:e.hashedPii.email});(0,i.fF)("initFacebook",t),window.fbq("init",i.Hb.facebookInit,t),window.fbq("set","autoConfig",!1,i.Hb.facebookJetpackInit),window.fbq("init",i.Hb.facebookJetpackInit,t)}();if(i.n_){const t={ti:i.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(t))}i.Mf&&window.twq("init",i.Hb.twitterPixelId);i.S$&&window.qp("init",i.Hb.quoraPixelId);if(i.eG){const t=(0,r.ts)(),e=t?{em:t.hashedPii.email}:{};window.pintrk("load",i.Hb.pinterestInit,e)}(0,i.fF)("loadTrackingScripts: init done")}(),(0,i.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:function(t,e,n){"use strict";n.d(e,{a:function(){return c}});var r=n(7369),o=n(1444),i=n(36190),s=n(33675),u=n(30214);n(28122);let a=0;async function c(t){if(await(0,r.Z)(),!(0,o.Z)())return void(0,i.fF)("retarget: [Skipping] ad tracking is not allowed",t);if(await(0,u._)(),(0,i.fF)("retarget:",t),i.kL){const t={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",t),window._qevents.push(t)}if(i._O){const t=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",t),window.fbq(...t)}if(i.n_&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),i.xb){const e=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:t}];(0,i.fF)("retarget: [Google Ads] WPCom",e),window.gtag(...e)}(0,s.I)(t),i.eG&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),i.nF&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const e=Date.now()/1e3;if(e>=a+86400){if(a=e,i.GL){const t=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",t),window.obApi(...t)}if(i.hR){const t=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",t),(new window.Image).src=t}if(i.Mf){const t=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",t),window.twq(...t)}if(i.CO){const t=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",t),(new window.Image).src=t}if(i.S$){const t=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",t),window.qp(...t)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},46481:function(t,e,n){"use strict";function r(){window.dataLayer&&window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date))}n.d(e,{U:function(){return r}})},28122:function(t,e,n){"use strict";var r=n(36190),o=n(46481);"undefined"!=typeof window&&((0,o.U)(),r._O&&function(){if(window.fbq)return;const t=window.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)};window._fbq||(window._fbq=t);window._fbq.disablePushState=!0,t.push=t,t.loaded=!0,t.version="2.0",t.queue=[]}(),r.n_&&!window.uetq&&(window.uetq=[]),r.az&&!window.criteo_q&&(window.criteo_q=[]),r.kL&&!window._qevents&&(window._qevents=[]),r.xb&&((0,o.U)(),window.gtag("config",r.Hb.wpcomGoogleAdsGtag)),r.ZK&&((0,o.U)(),window.gtag("config",r.Hb.wpcomFloodlightGtag)),r.Mf&&function(){if(window.twq)return;const t=window.twq=function(){t.exe?t.exe.apply(t,arguments):t.queue.push(arguments)};t.version="1.1",t.queue=[]}(),r.Q1&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=r.Hb.linkedInPartnerId)),r.S$&&function(){if(window.qp)return;const t=window.qp=function(){t.qp?t.qp.apply(t,arguments):t.queue.push(arguments)};t.queue=[]}(),r.GL&&function(){const t=window.obApi=function(){t.dispatch?t.dispatch.apply(t,arguments):t.queue.push(arguments)};t.version="1.0",t.loaded=!0,t.marketerId=r.Hb.outbrainAdvId,t.queue=[]}(),r.eG&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const t=window.pintrk;t.queue=[],t.version="3.0"}}(),r.nF&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=r.xV,(new window.Image).src=r.E9},trackPurchase:function(){(new window.Image).src=r.O5,(new window.Image).src=r.pP}})))},25394:function(t,e,n){"use strict";n.d(e,{K:function(){return o},w:function(){return i}});var r=n(36190);n(28122);function o(t,e){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,t,e)}function i(t){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",t)}},46272:function(t,e,n){"use strict";n.d(e,{U:function(){return h},K:function(){return m}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),u=n(94776),a=n(9415),c=n(36190),l=n(32486),f=n(43621);const p=s()("calypso:analytics:fullstory");let d=!1;function h(){g(),window.FS&&(p("retargetFullStory"),window.FS.restart(),y())}function m(t,e){if(g(),!window.FS||!t)return;const n=v(e);p("recordFullStoryEvent:",{name:t,props:n}),window.FS.event(t,n),y()}function g(){var t,e,n,i,s,h,m,g;d||!o.ZP.isEnabled("fullstory")||(0,r.vX)()||(0,u.b)()||(0,l.Z)()||!(0,f.Z)()?d||p("maybeAddFullStoryScript:",!1):(d=!0,p("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,a.Z)()?c.Hb.fullStoryJetpack:c.Hb.fullStory,window._fs_namespace="FS",t=window,e=document,n=window._fs_namespace,i="script",s="user",p("maybeAddFullStoryScript:","script loading"),n in t?t.console&&t.console.log&&t.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((m=t[n]=function(t,e,n){m.q?m.q.push([t,e,n]):m._api(t,e,n)}).q=[],(h=e.createElement(i)).async=1,h.crossOrigin="anonymous",h.src="https://"+window._fs_script,(g=e.getElementsByTagName(i)[0]).parentNode.insertBefore(h,g),m.identify=function(t,e,n){m(s,{uid:t},n),e&&m(s,e,n)},m.setUserVars=function(t,e){m(s,t,e)},m.event=function(t,e,n){m("event",{n:t,p:e},n)},m.anonymize=function(){m.identify(!1)},m.shutdown=function(){m("rec",!1)},m.restart=function(){m("rec",!0)},m.log=function(t,e){m("log",[t,e])},m.consent=function(t){m("consent",!arguments.length||t)},m.identifyAccount=function(t,e){h="account",(e=e||{}).acctId=t,m(h,e)},m.clearUserCookie=function(){},m.setVars=function(_n,t){m("setVars",[_n,t])},m._w={},g="XMLHttpRequest",m._w[g]=t[g],g="fetch",m._w[g]=t[g],t[g]&&(t[g]=function(){return m._w[g].apply(this,arguments)}),m._v="1.3.0"))}function y(){if(!window.FS)return;const t=(0,r.ts)();t&&(p("maybeIdentifyUser:",t),window.FS.identify(t.hashedPii.ID))}function v(t){const e={};t="object"==typeof t?t:{};for(const[n,r]of Object.entries(t)){const t=typeof r;"string"===t?e[n+"_str"]=r:"boolean"===t?e[n+"_bool"]=r:"number"===t||"bigint"===t?-1!==String(r).indexOf(".")?e[n+"_real"]=r:e[n+"_int"]=r:"object"===t&&(e[n]=v(r))}return e}},44567:function(t,e,n){"use strict";n.d(e,{eK:function(){return c},Yh:function(){return l}});var r=n(38049),o=n.n(r),i=n(95157);const s=o()("calypso:analytics:ga");let u=!1;function a(){if(!u){const t={send_page_view:!1,...(0,i.Uk)()};s("parameters:",t),(0,i.LT)(t),u=!0}}const c=f((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s("Recording Page View ~ [URL: "+t+"] [Title: "+e+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(t,e,n)})),l=f((function(t,e,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+t+"] [Action: "+e+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),(0,i.Zf)(t,e,n,r)}));function f(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(0,i.mf)()?(a(),t(...n)):s("[Disallowed] analytics %s( %o )",t.name,n)}}},80252:function(t,e,n){"use strict";n.d(e,{o:function(){return p}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),u=n(94776),a=n(32486),c=n(43621);const l=s()("calypso:analytics:hotjar");let f=!1;function p(){var t,e,n,i;f||!(0,o.ZP)("hotjar_enabled")||(0,u.b)()||(0,r.vX)()||(0,a.Z)()||!(0,c.Z)()?l("Not loading HotJar script"):(t=window,e=document,l("Loading HotJar script"),t.hj=t.hj||function(){(t.hj.q=t.hj.q||[]).push(arguments)},t._hjSettings={hjid:227769,hjsv:5},n=e.getElementsByTagName("head")[0],(i=e.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+t._hjSettings.hjid+".js?sv="+t._hjSettings.hjsv,n.appendChild(i),f=!0)}},70858:function(t,e,n){"use strict";n.d(e,{M:function(){return s}});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(t,e){await(0,r.MB)(t,e);const o=(0,r.ts)();if("object"==typeof t&&o&&(0,r.di)()){const t=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:e}=t;i("recordAliasInFloodlight",o),e()}}},7689:function(t,e,n){"use strict";n.d(e,{P:function(){return s},S:function(){return u}});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(t,e){if("object"==typeof t?i("Bumping stats %o",t):i("Bumping stat %s:%s",t,e),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(t,e){let n="";if("object"==typeof t)for(const r in t)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);else n="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e);return n}(t,e);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function u(t,e){if("object"==typeof t?i("Bumping page view with props %o",t):i("Bumping page view %s:%s",t,e),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(t,e){let n="";if("object"==typeof t)for(const r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);else n="&"+encodeURIComponent(t)+"="+encodeURIComponent(e);return n}(t,e);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:function(t,e,n){"use strict";n.d(e,{A:function(){return d}});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),u=n(93513),a=n(11915),c=n(7369),l=n(44567),f=n(38602),p=n(5323);function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(t,n),h(t,e,null==c?void 0:c.useJetpackGoogleAnalytics),(0,p.G)(),(0,a.Z)(),(0,u.n)(),(0,i.a)(t),(0,s.U)(),(0,f.V)()}),0)}async function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(t,e,n)}},38602:function(t,e,n){"use strict";n.d(e,{x:function(){return a},V:function(){return c}});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let t=window.localStorage.getItem("analyticsQueue");return t=t?JSON.parse(t):[],t=Array.isArray(t)?t:[],t}function u(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];"string"==typeof e&&"function"==typeof i[t]&&i[t]().then((t=>{"function"==typeof t[e]&&t[e].apply(null,r||void 0)}))}function a(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return u(t,e,...r);let a=s();const c={moduleName:t,trigger:e,args:r};a.push(c),a=a.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(a))}function c(){if(!window.localStorage)return;const t=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",t),t.forEach((t=>{"object"==typeof t&&"string"==typeof t.trigger&&(o("Processing item in queue.",t),u(t.moduleName,t.trigger,...t.args))}))}},5323:function(t,e,n){"use strict";n.d(e,{G:function(){return s}});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const t=window.location.href,e=(0,r.Z)(t),n=(null==e?void 0:e.searchParams.get("aff"))||(null==e?void 0:e.searchParams.get("affiliate")),s=null==e?void 0:e.searchParams.get("cid"),u=null==e?void 0:e.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:e.host+e.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:u,referrer:t}))}},93513:function(t,e,n){"use strict";n.d(e,{n:function(){return d}});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),u=n(78920);const a=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function f(t,e){return-1!==c.indexOf(t)&&("utm_source"===t||"utm_campaign"===e?function(t){return l.test(t)}(e):function(t,e){return"gclid"===t?e.length<=100:"keyword"===t?e.length<=80:e.length<=50}(t,e))}function p(t,e){document.cookie=o.serialize(t,e,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function d(){var t;if(!document.location.search)return void a("No query data in URL.");const e=null===(t=(0,u.Z)(document.location.href))||void 0===t?void 0:t.searchParams;let n=new URLSearchParams;if(e){const t=Array.from(e.entries()).filter((t=>{let[e,n]=t;return f(e,n)}));n=new URLSearchParams(t),e.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",e.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void a("Missing utm_source or utm_campaign.");const o=n.toString();o&&(a("ad_details: "+o),p("ad_details",o),p("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:function(t,e,n){"use strict";var r=n(20899),o=n(35899),i=n(36747),s=n(17014);e.Z=t=>e=>{const n=t.getState(),u={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},a=(0,o.Z)(e.path)?null:(0,s.Z)(n);return a&&Object.assign(u,{blog_id:a.ID,blog_lang:a.lang,site_id_label:a.jetpack?"jetpack":"wpcom",site_plan_id:a.plan?a.plan.product_id:null}),u}},39297:function(t,e,n){"use strict";n.d(e,{l:function(){return c}});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const u=o()("calypso:analytics:refer"),a=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(t){let{affiliateId:e,campaignId:n,subId:r,referrer:o}=t;u("Recording affiliate referral.",{affiliateId:e,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:e,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();u("Fetching Refer platform response.");try{const t=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),e=await t.json();if(t.ok)return u("Recording Refer platform success response.",e),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(e.data,a),status:t.status||"",success:e.success||!0,description:e.message||"success"});u("Recording Refer platform error response.",e),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(e.data,a),status:t.status||"",success:e.success||!1,description:e.message||"error"})}catch(f){u("Failed to fetch Refer platform response.",f)}}},17032:function(t,e,n){"use strict";n.r(e),n.d(e,{tracksEvents:function(){return i},recordTracksEvent:function(){return s},recordTracksPageView:function(){return u},setTracksOptOut:function(){return a}});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(t,e){o.MR.once("record-event",((t,e)=>{i.emit("record-event",t,e)})),(0,o.jN)(t,e)}function u(t,e){(0,o.P6)(t,e)}function a(t){(0,o.lH)(["setOptOut",t])}},87360:function(t,e,n){"use strict";var r=n(38049),o=n.n(r);e.Z=o()("calypso:analytics:utils")},1444:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(36115),o=n(20899),i=n(87360),s=n(32486),u=n(69874),a=n(43621);function c(){const t=o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,u.Z)()&&!(0,s.Z)()&&(0,a.Z)();return(0,i.Z)(`isAdTrackingAllowed: ${t}`),t}},76814:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(t){return void 0!==t&&r.includes(t)}},32486:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((t=>encodeURIComponent(t)));function s(){const t=document.location.href,e=e=>-1!==t.indexOf(e),n=o.some(e)||i.some(e);return(0,r.Z)(`Is PII URL: ${n}`),n}},69874:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87360);const o=["/log-in"];function i(){const{href:t}=document.location,e=o.some((e=>-1!==t.indexOf(e)));return(0,r.Z)(`Is URL Excluded for Performance: ${e}`),e}},81653:function(t,e){"use strict";e.Z="marketing-coupons"},43621:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(13421),o=n(87360),i=n(76814);function s(){let t=!1;const e=r.parse(document.cookie);if("yes"===e.sensitive_pixel_option)t=!0;else if("no"===e.sensitive_pixel_option)t=!1;else{const n=e.country_code;t=void 0!==n&&"unknown"!==n&&!(0,i.Z)(n)}return(0,o.Z)(`mayWeTrackCurrentUserGdpr: ${t}`),t}},7369:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(13421),o=n(87360);let i=null;async function s(){const t=r.parse(document.cookie);t.country_code?(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie is fresh: %s",t.country_code):(null===i&&(i=function(){const t=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+t).then((t=>t.ok?t.json():t.body().then((t=>{throw new Error(t)})))).then((t=>t.country_short)).catch((t=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",t),"unknown")))}().then((t=>function(t){const e=21600;document.cookie=r.serialize("country_code",t,{path:"/",maxAge:e}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",t)}(t)))),await i,i=null)}},11915:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87360),o=n(81653),i=n(78920);function s(){const t=(0,i.Z)(window.location.href),e=null==t?void 0:t.searchParams.get("coupon");if(!e)return;let n=null;try{const t=window.localStorage.getItem(o.Z);n=JSON.parse(t)}catch(u){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[e]=s,Object.keys(n).forEach((t=>{s>n[t]+6048e5&&delete n[t]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(u){}}},35899:function(t,e){"use strict";const n=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i;e.Z=t=>!t||!n.test(t)},78920:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87360);function o(t){const e={"-":"+",_:"/",".":"="};return window.atob(t.replace(/[-_.]/g,(t=>e[t])))}function i(t){try{const e=new URL(t);if((0,r.Z)("urlParseAmpCompatible: original query:",e.search),e.searchParams.has("tk_amp")){const t=function(t){if(0===(t=t.split("*").filter((t=>t.length)).slice(2)).length||0!=t.length%2)return null;const e={};for(let n=0;n<t.length;n+=2)e[t[n]]=o(t[n+1]);return e}(e.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",t);for(const n of Object.keys(t))e.searchParams.has(n)||e.searchParams.set(n,t[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",e.search),e}catch{return null}}},32919:function(t,e,n){"use strict";n.d(e,{B$:function(){return s}});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:function(t,e,n){"use strict";n.d(e,{B$:function(){return P}});var r,o=n(20899),i=n(38049),s=n.n(i),u=n(92819),a=n(7689),c=n(47824),l=n(32919);const f=s()("calypso:browser-storage");let p=!1,d=!1;const h="calypso",m="calypso_store",g="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;f("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return f("IDB not found in host"),!1;if(d)return f("IDB disabled"),!1;try{const t=Date.now().toString();return await I(g,t),await w(g),!0}catch(t){return!1}})),b=(0,c.I)((()=>{const t=window.indexedDB.open(h,2);return new Promise(((e,n)=>{try{t&&(t.onerror=e=>{t.error&&"InvalidStateError"===t.error.name&&e.preventDefault(),n(t.error)},t.onsuccess=()=>{const n=t.result;n.onerror=function(t){var e,n;f("IDB Error",t),null!==(e=t.target)&&void 0!==e&&null!==(n=e.error)&&void 0!==n&&n.name&&((0,a.P)("calypso-browser-storage",(0,u.kebabCase)(t.target.error.name)),"QuotaExceededError"===t.target.error.name&&(d=!0,v.clear(),f("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},e(n)},t.onupgradeneeded=()=>t.result.createObjectStore(m))}catch(r){n(r)}}))}));function w(t){return new Promise(((e,n)=>{b().then((r=>{const o=r.transaction(m,"readonly"),i=o.objectStore(m).get(t),s=()=>n(o.error);o.oncomplete=()=>e(i.result),o.onabort=s,o.onerror=s})).catch((t=>n(t)))}))}function _(t){return b().then((e=>new Promise(((n,r)=>{const o={},i=e.transaction(m,"readonly"),s=()=>r(i.error);i.objectStore(m).openCursor().onsuccess=e=>{const r=e.target.result;if(r){const{primaryKey:e,value:n}=r;!e||"string"!=typeof e||e===g||t&&!t.test(e)||(o[e]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function I(t,e){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return f("performing safari idb mitigation"),S=async function(){const t=await _();return await function(){return new Promise(((t,e)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{b.clear(),t()},n.onerror=t=>e(t)}))}(),new Promise(((e,n)=>{b().then((r=>{const o=r.transaction(m,"readwrite"),i=o.objectStore(m);for(let[e,n]of Object.entries(t))i.put(n,e);const s=()=>e(),u=()=>n(o.error);o.oncomplete=s,o.onabort=u,o.onerror=u}),(t=>n(t)))}))}(),S.finally((()=>{S=null,f("idb mitigation complete")})),S}(),new Promise(((n,r)=>{b().then((async o=>{const i=o.transaction(m,"readwrite");i.objectStore(m).put(e,t);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((t=>r(t)))}))}async function P(){if(p)return await(0,l.B$)();if(await v())return await new Promise(((t,e)=>{b().then((n=>{const r=n.transaction(m,"readwrite");r.objectStore(m).clear();const o=()=>e(r.error);r.oncomplete=()=>t(),r.onabort=o,r.onerror=o})).catch((t=>e(t)))}));window.localStorage.clear()}},94776:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},40997:function(t,e,n){"use strict";n.d(e,{S:function(){return o}});var r=n(24050);function o(t){return"string"!=typeof t||-1===t.indexOf("&")?t:(0,r.Z)(t)}},24050:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(t){r.innerHTML=t;const e=r.textContent;return r.innerHTML="",e}},93345:function(t,e,n){"use strict";n.d(e,{R:function(){return o}});var r=n(99196);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof t?t.trim():t,Math.max(1,e-1)).part}const i=/\s+(\S*)$/;function s(t,e){let n=0;if("string"==typeof t&&t.length>0){let r=t,o="";for(;n<e&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(t)&&t.length>0){let r=[],o=t.length-1;for(;n<e&&o>=0;){const i=s(t[o],e-n);r.unshift(i.part),n+=i.substituted,o--}return r=t.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(t)&&t.props.children){const o=s(t.props.children,e);if(o.substituted>0){const e=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(t,t.props,...e),substituted:o.substituted}}return{part:t,substituted:n}}return{part:t,substituted:n}}},8165:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var r=n(33927),o=n.n(r);function i(t){return o()(t)}},284:function(t,e,n){"use strict";n.d(e,{HX:function(){return r},fh:function(){return o}});const r="G Suite",o="Google Workspace"},96598:function(t,e,n){"use strict";n.d(e,{H:function(){return i}});var r=n(10128),o=n(284);function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(t)?o.HX:o.fh}},96436:function(t,e,n){"use strict";function r(){let t=null;function e(){return t||(t=Promise.all([n.e(768),n.e(583)]).then(n.bind(n,50706)).then((t=>{let{default:e}=t;return e()}))),t}function r(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e().then((e=>e[t](...r)))}}return{init:r("init"),request:r("request"),send:r("send")}}n.d(e,{Z:function(){return r}})},26991:function(t,e,n){"use strict";n.d(e,{Y:function(){return o}});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:function(t,e,n){"use strict";var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"];e.Z=()=>o.includes((0,r.ZP)("env_id"))},16771:function(t,e,n){"use strict";n.d(e,{t:function(){return s}});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(t,e){i(`Loading a jQuery dependent script from "${t}"`),(0,r.D1)(t,e)}},68702:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(72429);async function o(t){await r.Z.req.post("/logstash",{params:JSON.stringify(t)})}},47824:function(t,e,n){"use strict";function r(t){return function(t){let e,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e&&o.length===e.length&&o.every(((t,n)=>t===e[n]))||(e=o,n=t(...o)),n};return r.clear=()=>{e=void 0,n=void 0},r}(t)}n.d(e,{I:function(){return r}})},7268:function(t,e,n){"use strict";n.d(e,{LP:function(){return u}});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function u(){const t=r.parse(document.cookie);if(void 0!==t.wpcom_token)return t.wpcom_token;const e=i().get(s);return e||!1}},26347:function(t,e,n){"use strict";n.d(e,{Nf:function(){return r.N}});var r=n(65337)},65337:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t){const e=!(!(0,r.get)(t,"discover_metadata")&&53424024!==(0,r.get)(t,"site_ID"));let n;if(e){const e=(0,r.get)(t,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(e,(t=>"pick"!==t.slug));n=o?o.slug:"feature"}return t.is_discover=e,t.discover_format=n,t}},53544:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),u=n(59755),a=n(54855),c=n(95822);const l=t=>{if(function(t){if(!t||!t.getAttribute("src"))return!1;const e=t.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(t=>(0,i.includes)(e.toLowerCase(),t)));return!(function(t){if(!t||!t.src)return!1;const e=t.height+t.width;return 1===e||2===e}(t)||n)}(t)){const{width:e,height:n}=(0,u.H)(t)||{width:0,height:0};return{src:(0,a.E)(t.getAttribute("src"),s.fY),width:e,height:n,mediaType:"image"}}return!1},f=t=>{const e=o()(t.src);if(e&&(0,i.includes)(["youtube","vimeo","videopress"],e.service)){const e=t.cloneNode();return-1===e.src.indexOf("?")?e.src+="?autoplay=1":e.src+="&autoplay=1",e.outerHTML}return null},p=t=>{let e,n=t;do{if(n.className&&(e=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),e))return e[1]}while(n=n.parentNode);return null};function d(t,e){const n=e.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(t=>{const e=t.nodeName.toLowerCase();return"iframe"===e?(t=>{if(!(0,c.p)(t))return!1;const e=Number(t.width),n=Number(t.height),r=e/n;return{type:p(t),src:t.src,iframe:t.outerHTML,aspectRatio:r,width:e,height:n,mediaType:"video",autoplayIframe:f(t)}})(t):"img"===e&&l(t)}));return t.content_media=(0,i.compact)(r),t.content_embeds=(0,i.filter)(t.content_media,(t=>"video"===t.mediaType)),t.content_images=(0,i.filter)(t.content_media,(t=>"image"===t.mediaType)),t.featured_image&&(t.featured_image=(0,a.E)(t.featured_image,s.fY)),t}},10363:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function u(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll("noscript");return(0,o.forEach)(n,(t=>{if(!t.firstChild)return;const e=(0,i.j)(t.innerHTML).querySelector(s.join(", "));if(e){const n=(e.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const e=document.createElement("p");e.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",t.parentNode.replaceChild(e,t)}}})),t}},37183:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11481),o=n(92819);function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(t=>{let e=null;try{e=JSON.parse(t.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=e;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",t.parentNode.replaceChild(i,t)})),t):t}},40691:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},b:function(){return i}});var r=n(6261);function o(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");return e.querySelectorAll("audio, video").forEach((t=>t.autoplay=!1)),t}function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");return e.querySelectorAll("iframe").forEach((t=>{const e=(0,r.A)(t.src);e.search&&(e.searchParams=function(t){const e=new URLSearchParams(t);return(Array.from(t.keys()).filter((t=>/^auto_?play$/i.test(t)))||[]).forEach((n=>{const r=t.get(n).toLowerCase();"1"===r?e.set(n,"0"):"true"===r?e.set(n,"false"):e.set(n,r)})),e}(e.searchParams),delete e.search,t.src=(0,r.C)(e).href)})),t}},17431:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t,e){const n=e.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(e=>{let n,o=(0,r.get)(e,["dataset","carouselExtra"],!1);if(!o&&(o=e.getAttribute("data-carousel-extra"),!o))return t;try{n=JSON.parse(o).permalink}catch(s){return t}const i=e.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(t=>{const e=t.querySelector("img"),r=e&&e.getAttribute("data-attachment-id");r&&(t.href=n+"#jp-carousel-"+r,t.setAttribute("target","_blank"))}))})),t}},50917:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(6261),o=n(92819),i=n(95822);function s(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll("iframe");if((0,o.forEach)(n,(function(t){(0,o.startsWith)(t.src,"http")?(t.src=t.src.replace(/^http:/,"https:"),!function(t){const e=t.src&&(0,r.A)(t.src).hostname,n=e&&e.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(t=>`.${n}`.endsWith("."+t)))}(t)?(0,i.p)(t)?t.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):t.setAttribute("sandbox","allow-scripts"):t.removeAttribute("sandbox")):t.parentNode.removeChild(t)})),t.is_external||t.is_jetpack){const t=e.querySelectorAll("embed,object");(0,o.forEach)(t,(function(t){t.parentNode.removeChild(t)}))}return t}},30757:function(t,e,n){"use strict";var r=n(6261),o=n(94668),i=n(92819),s=n(70353),u=n(54855);function a(t,e,n){let a=e.getAttribute("src");const c=(0,r.A)(a);if(!c.hostname){const e=(0,r.A)(t.URL);a=(0,r.C)({protocol:e.protocol,host:e.host,pathname:(0,s.Z)(e.pathname,c.pathname)}).href}let l=n?(0,u.E)((0,o.F)(a),n):(0,o.F)(a);if(l||(a=function(t,e){const n=(0,r.A)(t.URL);return e.startsWith("//")?`${n.protocol||"https:"}${e}`:e}(t,a)),!l&&(0,i.startsWith)(a,"https://")&&(l=a),(t=>{if(!t||!t.hasAttributes())return;(0,i.filter)(t.attributes,(t=>(0,i.startsWith)(t.name,"on"))).forEach((e=>t.removeAttribute(e.name))),t.removeAttribute("srcset")})(e),!l||(t=>{if(!t)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(e=>(0,i.includes)(t.toLowerCase(),e)))})(a))return e.parentNode.removeChild(e),void e.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");e.setAttribute("src",l)}e.Z=t=>(e,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>a(e,n,t))),e}},51088:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(48265);function i(t,e){const n=Array.from(e.querySelectorAll("a[href]"));return(0,r.forEach)(n,(t=>{o.G.test(t.href)||t.removeAttribute("href")})),t}},64e3:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(t){t.parentNode&&t.parentNode.removeChild(t)}function s(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll(o);return(0,r.forEach)(n,i),t}},42347:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819);function o(t,e){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(t,e)}function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=e.querySelectorAll("[style]");return(0,r.forEach)(i,(function(t){o(t,n)||t.removeAttribute("style")})),(0,r.forEach)(e.querySelectorAll("style"),(function(t){o(t,n)||t.parentNode&&t.parentNode.removeChild(t)})),(0,r.forEach)(e.querySelectorAll("[align]"),(t=>{"IMG"!==t.tagName&&t.removeAttribute("align")})),t}},47401:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function u(t){t.parentNode&&t.parentNode.removeChild(t)}function a(t){return 0===t.childNodes.length?"BR"===t.nodeName&&t:a(t.firstChild)}function c(t){if(!t)return"";const e=(0,s.j)(i()(t,["p","br","sup","sub"]));e.id="__better_excerpt__",Array.from(e.querySelectorAll("p")).filter((t=>0===(0,r.trim)(t.textContent).length)).forEach(u),Array.from(e.querySelectorAll("p")).forEach((t=>{t.removeAttribute("style"),t.removeAttribute("align")})),function(t){if(t)for(;a(t);)u(a(t))}(e),(0,r.forEach)(e.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(t,e){e>=3&&t.parentNode&&t.parentNode.removeChild(t)}));const n=(0,r.trim)(e.innerHTML.replace(/&nbsp;/g," "));return e.innerHTML="",n}function l(t){if(!t||!t.content)return t;const e=function(t){const e=(0,s.j)(t);return(0,r.forEach)(e.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),u),e.innerHTML}(t.content);if(t.content_no_html=(0,r.trim)(i()(e)),t.better_excerpt=c(e),t.better_excerpt_no_html=(0,r.trim)(i()(t.better_excerpt)),t.better_excerpt_no_html){let e=t.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(e.length>160){const t=e.lastIndexOf(" ",160);e=e.substring(0,t)+"…"}t.short_excerpt=e}return t}},12800:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(94668),o=n(40997);const i=["excerpt","title","site_name"];function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e.forEach((function(e){t[e]&&(t[e]=(0,o.S)(t[e]))})),t.title=(0,o.S)(t.title),t.parent&&t.parent.title&&(t.parent.title=(0,o.S)(t.parent.title)),t.author&&(t.author.name&&(t.author.name=(0,o.S)(t.author.name)),t.author.avatar_URL&&(t.author.avatar_URL=(0,r.F)(t.author.avatar_URL))),t.tags&&Object.values(t.tags).forEach((function(t){t.name=(0,o.S)(t.name)})),t}},31564:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(94668),o=n(92819);function i(t,e){return function(n){const i=(s=t,u=e,function(t){return t.width>=s&&t.height>=u&&(0,r.F)(t.src)});var s,u;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(48265);function o(t){return t&&t.URL&&!r.G.test(t.URL)&&(t.URL=""),t&&t.short_URL&&!r.G.test(t.short_URL)&&(t.short_URL=""),t}},21036:function(t,e,n){"use strict";function r(t){return t.site_id&&(t.normalized_site_id=(""+t.site_id).replace(/::/g,"/")),t}n.d(e,{Z:function(){return r}})},53317:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819),o=n(15721),i=n(75209);function s(t){let e;if((0,o.J)(t.post_thumbnail)){const{URL:n,width:r,height:o}=t.post_thumbnail;e={uri:n,width:r,height:o}}else if(t.content_images&&t.content_images.length){const n=(0,r.find)(t.content_images,i.O);n&&(e={uri:n.src,width:n.width,height:n.height})}return e&&(t.canonical_image=e),t}},66184:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(94668),o=n(92819),i=n(48098);function s(t){if(!t)return!1;const e=100<=t.width,n=75<=t.height;return e&&n}function u(t){return!!t&&("image"===t.mediaType?s(t)&&(0,r.F)(t.src):"video"===t.mediaType&&t.autoplayIframe)}function a(t){if(!t)return t;if((0,i.E)(t.featured_image)&&(!t.post_thumbnail&&t.is_jetpack||s(t.post_thumbnail))&&(0,r.F)(t.featured_image))return t.canonical_media={src:t.featured_image,height:(0,o.get)(t,"post_thumbnail.height"),width:(0,o.get)(t,"post_thumbnail.width"),mediaType:"image"},t;const e=(0,o.find)(t.content_media,u);return e&&(t.canonical_media=e),t}},49147:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t){const e=(0,r.maxBy)((0,r.values)(t.tags),(function(t){return t.post_count}));return void 0!==e&&(t.primary_tag=e),t}},59654:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(93345);function i(t){return(0,r.forEach)(["excerpt"],(function(e){t[e]&&(t[e]=(0,o.R)(t[e],2))})),t}},36003:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(65956);function i(t){return function(e){return(0,o.O)(e.author,"avatar_URL",t),(0,o.O)(e,"featured_image",t,e.URL),e.post_thumbnail&&(0,o.O)(e.post_thumbnail,"URL",t,e.URL),e.featured_media&&"image"===e.featured_media.type&&(0,o.O)(e.featured_media,"uri",t,e.URL),e.canonical_image&&e.canonical_image.uri&&(0,o.O)(e.canonical_image,"uri",t,e.URL),e.attachments&&Object.values(e.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",t,e.URL)})),e}}},60566:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(8165);function i(t){return(0,r.forEach)(["excerpt","title","site_name"],(function(e){t[e]&&(t[e]=(0,o.C)(t[e]))})),t.author&&t.author.name&&(t.author.name=(0,o.C)(t.author.name)),t}},75659:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),u=n(15721);const a=o()("calypso:post-normalizer:wait-for-images-to-load");function c(t){const e={src:t.src,width:t.naturalWidth,height:t.naturalHeight};return t instanceof Image&&t.complete&&(e.fetched=!0),e}function l(t){return new Promise((e=>{const n={},r=[];function o(e,o){let i=e&&(0,s.H)(e);if(!i&&t.attachments){const e=Object.values(t.attachments).find((e=>e.URL===t.featured_image));e&&(i=(0,s.H)(e))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,u.J)(t.post_thumbnail)?o(t.post_thumbnail,t.post_thumbnail.URL):t.featured_image&&o(null,t.featured_image),(0,i.forEach)(t.content_images,(t=>o(t,t.src))),0===r.length)return void e(t);const l={};let f=(0,i.map)((0,i.take)(r,10),(t=>{return t in n?Promise.resolve(n[t]):(e=function(t){const e=new Image;return e.src=t,e}(t),e.complete&&e.naturalWidth>0?Promise.resolve(e):new Promise(((t,n)=>{e.onload=()=>t(e),e.onerror=()=>n(e)})));var e}));(0,i.forEach)(f,(n=>{n.then((t=>{l[t.src]=t})).catch((e=>(a("failed to load image",e,t),null))).then((()=>{if(f=f.filter((t=>t!==n)),0===f.length){const n=(0,i.filter)((0,i.map)(r,(t=>l[t])),Boolean);o=n,t.featured_image&&((0,i.find)(o,{src:t.featured_image})||(t.featured_image=null)),t.images=(0,i.map)(o,c),t.content_images=(0,i.filter)((0,i.map)(t.content_images,(function(e){return(0,i.find)(t.images,{src:e.src})})),Boolean),t.content_media=(0,i.map)(t.content_media,(e=>{if("image"===e.mediaType){const n=(0,i.find)(t.images,{src:e.src});return{...e,...n}}return e})),e(t)}var o})).catch((t=>{a("Fulfilling promise failed",t)}))}))}))}},55454:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(6964);function i(t){return function(e){if(!e||!e.content||!t)return e;const n=(0,o.j)(e.content);return(e=(0,r.reduce)(t,((t,e)=>e(t,n)),e)).content=n.innerHTML,n.innerHTML="",e}}},59755:function(t,e,n){"use strict";function r(t){if(t.height&&t.width)return{height:t.height,width:t.width};if(t.naturalHeight&&t.naturalWidth)return{height:t.naturalHeight,width:t.naturalWidth};if(t.dataset&&t.dataset.origSize){const[e,n]=t.dataset.origSize.split(",").map(Number);return{width:e,height:n}}return null}n.d(e,{H:function(){return r}})},6964:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const e=(new window.DOMParser).parseFromString(t,"text/html");if(e&&e.body)return e.body}const e=document.implementation.createHTMLDocument("processing doc").createElement("div");return e.innerHTML=t,e}n.d(e,{j:function(){return r}})},95822:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var r=n(6261),o=n(92819);function i(t){const e=t.src&&(0,r.A)(t.src).hostname,n=e&&e.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(t){return`.${n}`.endsWith("."+t)}))}},75209:function(t,e,n){"use strict";function r(t){return!!t&&(!(t.width<100)&&!(t.width*t.height<7500))}n.d(e,{O:function(){return r}})},48098:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var r=n(6261),o=n(92819);function i(t){if(!t)return!1;const e=(0,r.A)(t).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(t=>e.endsWith(t)))}},65956:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function u(t,e,n,u){if(t&&t[e]){const a=(0,r.A)(t[e]);if(u&&!a.hostname){const{pathname:n}=(0,r.A)(u),o=(0,s.Z)(n,t[e]);t[e]=(0,r.C)({...a,protocol:u.protocol,hostname:u.hostname,pathname:o}).href}t[e]=(0,o.F)(t[e]),n&&(t[e]=(0,i.E)(t[e],n))}}},54855:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,u={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function a(t,e){if(!t)return t;const n=(0,r.A)(t),a=(0,o.D)(t);if(!n.host)return t;const c=Object.keys(u).find((t=>n.hostname.match(u[t])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,e*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const f=Array.from(n.searchParams.keys()).sort(),p=new URLSearchParams;f.forEach((t=>p.set(t,n.searchParams.get(t))));const d=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:p}).href;try{return(0,i.Z)(d,a)}catch{return d}}},48265:function(t,e,n){"use strict";n.d(e,{G:function(){return r},m:function(){return o}});const r=/^https?:\/\//;function o(t){if(r.test(t))return t}},15721:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(48098);function o(t){return!(!t||!t.URL)&&(0,r.E)(t.URL)}},29950:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var r=n(92819);function o(t){const e={id:Number(t.ID),active:Boolean(t.active),amount:Number(t.amount),attachedToPurchaseId:Number(t.attached_to_purchase_id),billPeriodDays:Number(t.bill_period_days),mostRecentRenewDate:t.most_recent_renew_date,canDisableAutoRenew:Boolean(t.can_disable_auto_renew),canExplicitRenew:Boolean(t.can_explicit_renew),costToUnbundle:t.cost_to_unbundle?Number(t.cost_to_unbundle):Number(t.amount),costToUnbundleText:t.cost_to_unbundle_display?t.cost_to_unbundle_display:t.price_text,currencyCode:t.currency_code,currencySymbol:t.currency_symbol,description:t.description,domain:t.domain,domainRegistrationAgreementUrl:t.domain_registration_agreement_url||null,error:null,blogCreatedDate:t.blog_created_date,expiryDate:t.expiry_date,expiryStatus:(0,r.camelCase)(t.expiry_status),iapPurchaseManagementLink:t.iap_purchase_management_link,includedDomain:t.included_domain,includedDomainPurchaseAmount:t.included_domain_purchase_amount,introductoryOffer:t.introductory_offer?{costPerInterval:Number(t.introductory_offer.cost_per_interval),endDate:String(t.introductory_offer.end_date),intervalCount:Number(t.introductory_offer.interval_count),intervalUnit:String(t.introductory_offer.interval_unit),isWithinPeriod:Boolean(t.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(t.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(t.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(t.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(t.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(t.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(t.is_cancelable),isDomainRegistration:Boolean(t.is_domain_registration),isLocked:Boolean(t.is_locked),isInAppPurchase:Boolean(t.is_iap_purchase),isRechargeable:Boolean(t.is_rechargable),isRefundable:Boolean(t.is_refundable),isRenewable:Boolean(t.is_renewable),isRenewal:Boolean(t.is_renewal),meta:t.meta,priceText:t.price_text,partnerName:t.partner_name,partnerSlug:t.partner_slug,partnerKeyId:t.partner_key_id,payment:{name:t.payment_name,type:t.payment_type,countryCode:t.payment_country_code,countryName:t.payment_country_name,storedDetailsId:t.stored_details_id},pendingTransfer:Boolean(t.pending_transfer),productId:Number(t.product_id),productName:t.product_name,productSlug:t.product_slug,totalRefundAmount:Number(t.total_refund_amount),totalRefundText:t.total_refund_text,refundAmount:Number(t.refund_amount),refundOptions:t.refund_options,refundText:t.refund_text,refundPeriodInDays:t.refund_period_in_days,regularPriceText:t.regular_price_text,renewDate:t.renew_date,saleAmount:t.sale_amount,siteId:Number(t.blog_id),siteName:t.blogname,subscribedDate:t.subscribed_date,subscriptionStatus:t.subscription_status,tagLine:t.tag_line,taxAmount:t.tax_amount,taxText:t.tax_text,purchaseRenewalQuantity:t.renewal_price_tier_usage_quantity||null,userId:Number(t.user_id)};return"credit_card"===t.payment_type&&(e.payment.creditCard={id:Number(t.payment_card_id),type:t.payment_card_type,processor:t.payment_card_processor,number:t.payment_details,expiryDate:t.payment_expiry}),"paypal_direct"===t.payment_type&&(e.payment.expiryDate=t.payment_expiry),e}function i(t){return Array.isArray(t)?t.map(o):[]}},2623:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",u=new WeakMap,a=[];class c{constructor(t,e){this.data=Object.assign({items:{},queries:{}},t),this.options=Object.assign({itemKey:"ID"},e)}static mergeItem(t,e){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(e.__DELETE)return;return Object.assign({},t,e)}return e}static matches(t,e){return!!e}static compare(t,e,n){return e===n?0:n-e}static sort(t,e,n){t.sort(((t,r)=>e[t]&&e[r]?this.compare(n,e[t],e[r]):0))}getItem(t){return this.data.items[t]}getItems(t){let e=null;if(t){var n;const r=this.constructor.QueryKey.stringify(t);if(e=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!e)return null}return function(t,e){let n=u.get(t);if(n||(n=new WeakMap,u.set(t,n)),null==e){let e=n.get(a);return e||(e=(0,o.values)(t),n.set(a,e)),e}let r=n.get(e);return r||(r=e.map((e=>t[e])),n.set(e,r)),r}(this.data.items,e)}getFound(t){const e=this.constructor.QueryKey.stringify(t);return(0,o.get)(this.data.queries,[e,"found"],null)}removeItem(t){return this.removeItems([t])}removeItems(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(t.map((t=>({[this.options.itemKey]:t,[s]:!0}))),{patch:!0})}receive(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(t)||(t=[t]);const n=(0,o.reduce)(t,((t,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,e.patch);return void 0===s?i?(0,o.omit)(t,r):t:(i&&(0,o.isEqual)(s,i)||(t===this.data.items&&(t=(0,o.clone)(t)),t[r]=s),t)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,u=!1;if(!i&&!e.query)return this;if(e.query){const n=(0,o.map)(t,this.options.itemKey);let a,c;if(r=this.constructor.QueryKey.stringify(e.query),u=!this.data.queries[r],!u&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(a=e.mergeQuery&&!u?(0,o.difference)(this.data.queries[r].itemKeys,n):n),e.found>=0&&e.found!==(0,o.get)(s,[r,"found"])&&(c=e.found),a||c>=0){i=!0;const t=Object.assign({},s[r]);a&&(t.itemKeys=a),c>=0&&(t.found=c),s=Object.assign({},s,{[r]:t})}}return s=(0,o.reduce)(s,((s,a,c)=>{s[c]=a;const l=r&&r===c;if(l&&(u||!e.mergeQuery))return s;if(!l&&e.dontShareQueryResultsWhenQueriesAreDifferent)return s;const f=!l,p=this.constructor.QueryKey.parse(c);let d=!1;return t.forEach((t=>{const e=t[this.options.itemKey],r=n[e],i=s[c].itemKeys.indexOf(e);-1!==i?r&&this.constructor.matches(p,r)||(s[c]===a&&(s[c]=(0,o.clone)(a)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],f&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(p,r)&&(s[c]===a&&(s[c]=(0,o.clone)(a)),f&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(e),d=!0)})),d&&this.constructor.sort(s[c].itemKeys,n,p),i=i||s[c]!==a,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(56666),o=n(92819);class i{static omit(t){const{OMIT_NULL_VALUES:e,DEFAULT_QUERY:n}=this;return e||n?(0,o.omitBy)(t,((t,r)=>!(!e||null!==t)||!(!n||n[r]!==t))):t}static stringify(t){const e=this.omit(t),n=(0,o.sortBy)(Object.entries(e),(t=>t[0]));return JSON.stringify(n)}static parse(t){return this.omit(Object.fromEntries(JSON.parse(t)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:function(t,e,n){"use strict";n.d(e,{t:function(){return r},H:function(){return o}});const r={number:20,page:1},o=["number","offset","page"]},44550:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),u=n(27866);const a=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(t){return!!t&&s.H.some((e=>t.hasOwnProperty(e)))}getItems(t){if(!t)return super.getItems(t);const e=this.getItemsIgnoringPage(t,!0);if(!e)return e;const n=t.page||this.constructor.DefaultQuery.page,r=t.number||this.constructor.DefaultQuery.number;return function(t,e,n){let r=a.get(t);r||(r=new Map,a.set(t,r));const o=`${e}/${n}`;let i=r.get(o);return i||(i=t.slice(e,e+n),r.set(o,i)),i}(e,(n-1)*r,r)}getItemsIgnoringPage(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return null;const n=super.getItems((0,o.omit)(t,s.H));return!n||e?n:n.filter((t=>void 0!==t))}getNumberOfPages(t){const e=this.getFound(t);if(null===e)return e;const n=t.number||this.constructor.DefaultQuery.number;return Math.ceil(e/n)}receive(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;e.query&&(n=Object.assign({mergeQuery:!0},e,{query:(0,o.omit)(e.query,s.H)}));const r=super.receive(t,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(e.query))return r;const i=this.constructor.QueryKey.stringify(e.query),u=e.query.page||this.constructor.DefaultQuery.page,a=e.query.number||this.constructor.DefaultQuery.number,c=(u-1)*a,l=r.data.queries[i];Array.isArray(t)||(t=[t]);const f=t.map((t=>t[this.options.itemKey])),p=(0,o.cloneDeep)(l);if(p.hasOwnProperty("found")&&t.length<a){const t=this.data.queries[i];t&&t.hasOwnProperty("found")&&(p.found=Math.max(t.found,p.found))}return p.itemKeys=[...(0,o.range)(0,c).map((t=>{const e=l.itemKeys[t];if(!f.includes(e))return e})),...(0,o.range)(0,a).map((t=>f[t])),...l.itemKeys.slice(c+a).filter((t=>t&&!f.includes(t)))],p.hasOwnProperty("found")&&(p.itemKeys=(0,o.range)(0,p.found).map((t=>p.itemKeys[t]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:p})}),r.options)}}(0,r.Z)(c,"QueryKey",u.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(t){return super.stringify((0,r.omit)(t,i.H))}static parse(t){return(0,r.omit)(super.parse(t),i.H)}}},725:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),u=n(44550),a=n(725),c=n(93039);class l extends u.Z{static matches(t,e){const n=Object.assign({},this.DefaultQuery,t);return Object.entries(n).every((t=>{let[n,r]=t;switch(n){case"search":{if(!r)return!0;const t=r.toLowerCase();return e.title&&e.title.toLowerCase().includes(t)||e.content&&e.content.toLowerCase().includes(t)}case"after":case"before":case"modified_after":case"modified_before":{const t=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return t.isValid()&&s()(e[i])[o](t)}case"term":return Object.entries(r).every((t=>{let[n,r]=t;return r=r.split(","),(0,o.some)(e.terms[n],(t=>{let{slug:e}=t;return r.includes(e)}))}));case"tag":case"category":{if(!r)return!0;const t=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(e[i],(e=>{let{name:n,slug:r}=e;return n&&n.toLowerCase()===t||r&&r.toLowerCase()===t}))}case"type":return"any"===r||r===e.type;case"parent_id":return r===e.parent||e.parent&&r===e.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(e.ID):r!==e.ID;case"sticky":return"require"===r?e.sticky:"exclude"!==r||!e.sticky;case"author":return(0,o.get)(e,"author.ID",e.author)===r;case"status":return"any"===r||String(r).split(",").some((t=>t===e[n]))}return!0}))}static compare(t,e,n){let r;switch(t.order_by){case"ID":r=e.ID-n.ID;break;case"comment_count":r=(0,o.get)(e.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=e.title.localeCompare(n.title);break;case"modified":r=new Date(e.modified)-new Date(n.modified);break;default:r=new Date(e.date)-new Date(n.date)}return t.order&&!/^desc$/i.test(t.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",a.e)},93039:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(92819),o=n(27866),i=n(725);function s(t,e){return null==t||i.e[e]===t}class u extends o.Z{static stringify(t){return super.stringify((0,r.omitBy)(t,s))}static parse(t){return(0,r.omitBy)(super.parse(t),s)}}},41900:function(t,e,n){"use strict";var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});e.Z=i},96252:function(t,e,n){"use strict";function r(t,e,n,r){if(!e)return t;const o=t[e]||r&&r();if(!o)return t;const i=n(o);return i===o?t:{...t,[e]:i}}n.d(e,{Z:function(){return r}})},55347:function(t,e){"use strict";e.Z=t=>"/"===t?t:t.replace(/\/$/,"")},40822:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(4174),o=n(78038),i=n(92819);function s(t,e){if("object"!=typeof t)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof e)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(e);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");t=(0,i.pickBy)(t,(t=>null!=t));const s=new URL(e,"http://__domain__.invalid"),u=new URLSearchParams(s.search);for(const r of Object.keys(t))u.set(r,String(t[r]));if(n===r.a.PATH_RELATIVE){let t=u.toString();return""!==t&&(t=`?${t}`),""!==s.search?e.replace(s.search,t):s.hash?e.replace(s.hash,`${t}${s.hash}`):`${e}${t}`}return s.search=u.toString(),(0,o.Z)(s,n)}},47307:function(t,e,n){"use strict";n.d(e,{ce:function(){return o},nq:function(){return i}});const r=/^https?:\/\//;function o(t){return""===t?"":t?t.replace(r,""):null}function i(t){return t?o(t).replace(/\//g,"::"):null}},70353:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4174);function o(t,e){t=t||"/";if((0,r.D)(t)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=t,e?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(e.startsWith("/")?"":"/")+e,n.pathname):n.pathname}},29726:function(t,e,n){"use strict";n.d(e,{v:function(){return a}});var r=n(40997),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],u=["display_name","description","user_URL"];function a(t){if("object"!=typeof t)throw new Error("the /me response is not an object");for(const n of s)if(!t.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const e={};for(const n of i){const o=t[n];e[n]=o&&u.includes(n)?(0,r.S)(o):o}return Object.assign(e,(0,o.B)(t))}},41333:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(47307);function o(t){const e=t.primary_blog_url||"";return{primarySiteSlug:(n=e,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:t.language,localeVariant:t.locale_variant};var n}},26935:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(20899);function o(t,e){let n,o="";return null==t||!t.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=t&&t.localeSlug&&""!==t.localeSlug&&"en"!==t.localeSlug&&(o=t.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=t.logout_URL,"string"==typeof e&&(n+=e="&redirect_to="+encodeURIComponent(e)),n}},59852:function(t,e,n){"use strict";n.d(e,{G:function(){return o}});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:function(t,e,n){"use strict";n.d(e,{YF:function(){return s}});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:function(t,e,n){"use strict";var r=n(20899),o=n(38049),i=n.n(o),s=n(18552),u=n(7268),a=n(33300),c=n(12902),l=n(54083),f=n(78009),p=n(21286);const d=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=(0,c.Z)(u.LP(),l.Z):(h=(0,c.Z)(s.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(t){if(t)throw t;d('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,a.Z)(h),(0,p.J)(h),(0,f.rc)(h),e.Z=h;(0,c.Z)(l.Z)},78009:function(t,e,n){"use strict";n.d(e,{rc:function(){return a}});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",u=()=>i().get(s),a=t=>{const e=t.request.bind(t);Object.assign(t,{request(t,n){const o=u();if(o){const e=(0,r.parse)(t.query);t=Object.assign({},t,{query:(0,r.stringify)(Object.assign(e,{store_sandbox_ticket:o.value}))})}return e(t,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const t=u();t&&t.createdDate<Date.now()-72e5&&i().remove(s)})();const t=(0,r.parse)(window.location.search.replace("?",""));t.guest_ticket&&i().set(s,{createdDate:Date.now(),value:t.guest_ticket})})()},21286:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});var r=n(11481),o=n(19126);function i(t){const e=t.request.bind(t);return Object.assign(t,{localized:!0,request:function(t,n){return e(function(t){const e=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!e||"en"===e)return t;let n;const i=(0,o.parse)(t.query);return n=t.apiNamespace?{_locale:e}:{locale:e},Object.assign(t,{query:(0,o.stringify)(Object.assign(n,i))})}(t),n)}})}},33300:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19126);function o(t){let e="",n="",o=null;const i=t.request.bind(t);return Object.assign(t,{addSupportParams:function(t){return{...t,support_user:e,_support_token:n}},setSupportUserToken:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(t!==e||r!==n)&&(e=t,n=r,o=i,!0)},request:(t,s)=>e&&n?i(function(t){const o=(0,r.parse)(t.query);return o.support_user=e,o._support_token=n,Object.assign({},t,{query:(0,r.stringify)(o)})}(t),((t,e)=>{o&&"invalid_support_token"===(null==t?void 0:t.error)?o(t):s(t,e)})):i(t,s)})}},12902:function(t,e,n){"use strict";var r=n(91285),o=n.n(r),i=n(91202);function s(t,e){if(!(this instanceof s))return new s(t,e);"function"==typeof t?(e=t,t=null):t&&this.loadToken(t),i.Z.call(this,t,(function(t,n){return this.isTokenLoaded()&&(t={...t,authToken:this._token,token:this._token}),e(t,n)}))}o()(s,i.Z),i.Z.prototype.loadToken=function(t){this._token=t},s.prototype.isTokenLoaded=function(){return void 0!==this._token},e.Z=s},54083:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(26935),o=n(65792);async function i(t,e){return(0,(await n.e(361).then(n.bind(n,3614))).default)(t,(async function(t,n,i){t&&"InvalidTokenError"===t.name&&(await(0,o.YF)(),window.location.href=(0,r.K)()),e(t,n,i)}))}},1422:function(t,e,n){"use strict"},77270:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(t){if(r.hasOwnProperty(t)){const[e,n]=r[t];return{[`autofocus[${e}]`]:n}}return null}},83373:function(t,e,n){"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});function r(){if("undefined"==typeof document)return;const t=document.documentElement.clientWidth;return t>1040?720:t>928?t-304:t>660?t-288:t-20}},77327:function(t,e,n){"use strict";function r(t){if(t)return t.feed_ID&&t.feed_item_ID?{feedId:t.feed_ID,postId:t.feed_item_ID}:t.is_external?{feedId:t.feed_ID||t.site_ID,postId:t.feed_item_ID||t.ID}:{blogId:t.site_ID,postId:t.ID}}function o(t,e){return t===e||!(!t&&e||t&&!e||!t&&!e&&t!==e)&&(!(t.isGap&&!e.isGap||!t.isGap&&e.isGap)&&(t.isGap&&e.isGap?t.from===e.from&&t.to===e.to:t.postId===e.postId&&(t.feedId?t.feedId===e.feedId:t.blogId===e.blogId)))}function i(t){if(!t||t.isGap)return null;if(t.isCombination){const e=t.feedId?`&feedId=${t.feedId}`:"",n=t.blogId?`&feedId=${t.blogId}`:"";return`postIds=[${t.postIds.join(",")}, ]${e}${n} `}return t.isRecommendationBlock?`rec-${t.index}`:t.feedId?`${t.postId}-${t.feedId}`:t.blogId?`${t.postId}-${t.blogId}`:null}function s(t){return t&&t.postId&&(t.blogId||t.feedId)}n.d(e,{WO:function(){return r},NK:function(){return o},C$:function(){return i},J0:function(){return s}})},7728:function(t,e,n){"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:function(t,e,n){"use strict";n.d(e,{yg:function(){return a}});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const u=new Set;function a(t,e,n,r){if(!t||!e||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:e.replace(/.*?:\/\//g,""),blog:t,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}u.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:function(t,e,n){"use strict";n.d(e,{qb:function(){return r}});n(92819),n(76292),n(83373);function r(t,e){return t&&e&&t.xPostMetadata&&e.xPostMetadata&&t.xPostMetadata.blogId&&t.xPostMetadata.blogId===e.xPostMetadata.blogId&&t.xPostMetadata.postId&&t.xPostMetadata.postId===e.xPostMetadata.postId}},40211:function(t,e,n){"use strict";n.d(e,{u2u:function(){return r},Wj3:function(){return o},lAo:function(){return i},K5f:function(){return s},ti2:function(){return u},Fux:function(){return a},JYg:function(){return c},gm2:function(){return l},uBM:function(){return f},KAg:function(){return p},w6q:function(){return d},M5U:function(){return h},tGX:function(){return m},K1T:function(){return g},sQe:function(){return y},HYG:function(){return v},HCR:function(){return b},T6o:function(){return w},ON1:function(){return _},sBg:function(){return E},zVI:function(){return S},DGo:function(){return I},gQI:function(){return P},cnn:function(){return k},G1W:function(){return O},dAl:function(){return A},YPU:function(){return C},iHL:function(){return T},H6A:function(){return R},vQd:function(){return x},o9b:function(){return Z},Mei:function(){return j},nHy:function(){return D},oH7:function(){return L},f5U:function(){return U},AKl:function(){return F},M7f:function(){return N},Sur:function(){return q},$Tb:function(){return M},IoY:function(){return B},Ylp:function(){return $},k_K:function(){return H},myH:function(){return V},yGK:function(){return W},IwF:function(){return z},R_D:function(){return G},kJ4:function(){return Q},Syf:function(){return Y},vsK:function(){return K},qjX:function(){return J},$tj:function(){return X},Do$:function(){return tt},ILV:function(){return et},SgU:function(){return nt},tyO:function(){return rt},eYx:function(){return ot},c2t:function(){return it},Xeb:function(){return st},xm0:function(){return ut},Oh9:function(){return at},kUt:function(){return ct},XTm:function(){return lt},vO0:function(){return ft},JqF:function(){return pt},NnF:function(){return dt},aqr:function(){return ht},WkZ:function(){return mt},zvG:function(){return gt},czl:function(){return yt},hxz:function(){return vt},C6k:function(){return bt},T3s:function(){return wt},X5K:function(){return _t},h2B:function(){return Et},Rp6:function(){return St},LbL:function(){return It},xkR:function(){return Pt},kNW:function(){return kt},oD3:function(){return Ot},RFP:function(){return At},rgA:function(){return Ct},AVO:function(){return Tt},a7F:function(){return Rt},PP1:function(){return xt},pgH:function(){return Zt},Ra4:function(){return jt},nL0:function(){return Dt},F1Z:function(){return Lt},JZv:function(){return Ut},R$r:function(){return Ft},NYz:function(){return Nt},gpX:function(){return qt},Se1:function(){return Mt},bE0:function(){return Bt},vIA:function(){return $t},N__:function(){return Ht},CNw:function(){return Vt},hZH:function(){return Wt},KF6:function(){return zt},WYe:function(){return Gt},vP0:function(){return Qt},hYA:function(){return Yt},XMF:function(){return Kt},LEp:function(){return Jt},A4M:function(){return Xt},pSd:function(){return te},PD1:function(){return ee},N8o:function(){return ne},XuD:function(){return re},lCo:function(){return oe},JPH:function(){return ie},kLL:function(){return se},dGx:function(){return ue},WjV:function(){return ae},RIF:function(){return ce},gbe:function(){return le},pJb:function(){return fe},m58:function(){return pe},_qM:function(){return de},Fsf:function(){return he},$5Y:function(){return me},XMH:function(){return ge},_MG:function(){return ye},RSp:function(){return ve},Nq:function(){return be},IK5:function(){return we},bgv:function(){return _e},tvw:function(){return Ee},U5d:function(){return Se},QLz:function(){return Ie},D5g:function(){return Pe},SYS:function(){return ke},t2O:function(){return Oe},wOJ:function(){return Ae},dyA:function(){return Ce},RI4:function(){return Te},fa4:function(){return Re},xNf:function(){return xe},YCt:function(){return Ze},uvG:function(){return je},Kmp:function(){return De},Frv:function(){return Le},Byq:function(){return Ue},lfH:function(){return Fe},lTr:function(){return Ne},gNn:function(){return qe},Rmh:function(){return Me},$MQ:function(){return Be},XLI:function(){return $e},U0$:function(){return He},eO9:function(){return Ve},S3d:function(){return We},whB:function(){return ze},UUJ:function(){return Ge},hJk:function(){return Qe},uuM:function(){return Ye},Mvd:function(){return Ke},KBY:function(){return Je},rZJ:function(){return Xe},xLe:function(){return tn},M4_:function(){return en},eTV:function(){return nn},KSQ:function(){return rn},Khp:function(){return on},koV:function(){return sn}});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",u="ANALYTICS_TRACKS_OPT_OUT",a="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",f="CURRENT_USER_RECEIVE",p="CURRENT_USER_SET_EMAIL_VERIFIED",d="DOMAIN_CONTACT_INFO_DISCLOSE",h="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",m="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",g="DOMAIN_CONTACT_INFO_REDACT",y="DOMAIN_CONTACT_INFO_REDACT_FAILURE",v="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",w="DOMAIN_PRIVACY_DISABLE_FAILURE",_="DOMAIN_PRIVACY_DISABLE_SUCCESS",E="DOMAIN_PRIVACY_ENABLE",S="DOMAIN_PRIVACY_ENABLE_FAILURE",I="DOMAIN_PRIVACY_ENABLE_SUCCESS",P="EDITOR_START",k="EDITOR_STOP",O="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",C="EMAIL_VERIFY_REQUEST_SUCCESS",T="EMAIL_VERIFY_STATE_RESET",R="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",Z="HAPPYCHAT_FOCUS",j="HAPPYCHAT_IO_INIT",D="HAPPYCHAT_IO_RECEIVE_ACCEPT",L="HAPPYCHAT_IO_RECEIVE_CONNECT",U="HAPPYCHAT_IO_RECEIVE_DISCONNECT",F="HAPPYCHAT_IO_RECEIVE_ERROR",N="HAPPYCHAT_IO_RECEIVE_INIT",q="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",M="HAPPYCHAT_IO_RECEIVE_MESSAGE",B="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",$="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",H="HAPPYCHAT_IO_RECEIVE_RECONNECTING",V="HAPPYCHAT_IO_RECEIVE_STATUS",W="HAPPYCHAT_IO_RECEIVE_TOKEN",z="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",G="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",Q="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",Y="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",K="HAPPYCHAT_IO_SEND_MESSAGE_LOG",J="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",X="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",tt="HAPPYCHAT_IO_SEND_PREFERENCES",et="HAPPYCHAT_IO_SEND_TYPING",nt="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",rt="HAPPYCHAT_MINIMIZING",ot="HAPPYCHAT_OPEN",it="HAPPYCHAT_SET_CURRENT_MESSAGE",st="HAPPYCHAT_SET_USER_CONFIG",ut="HELP_CENTER_VISIBLE",at="JETPACK_DISCONNECT_RECEIVE",ct="LAYOUT_FOCUS_SET",lt="LAYOUT_NEXT_FOCUS_ACTIVATE",ft="LAYOUT_NEXT_FOCUS_SET",pt="LOCALE_SET",dt="MASTERBAR_TOGGLE_VISIBILITY",ht="MEDIA_DELETE",mt="MEDIA_MODAL_VIEW_SET",gt="NOTICE_CREATE",yt="NOTICE_REMOVE",vt="NOTIFICATIONS_PANEL_TOGGLE",bt="POST_COUNTS_RECEIVE",wt="POST_COUNTS_REQUEST",_t="POST_COUNTS_REQUEST_FAILURE",Et="POST_COUNTS_REQUEST_SUCCESS",St="POST_COUNTS_RESET_INTERNAL_STATE",It="POST_DELETE",Pt="POST_DELETE_FAILURE",kt="POST_DELETE_SUCCESS",Ot="POST_EDIT",At="POST_LIKE",Ct="POST_LIKES_ADD_LIKER",Tt="POST_LIKES_RECEIVE",Rt="POST_LIKES_REMOVE_LIKER",xt="POST_LIKES_REQUEST",Zt="POST_REQUEST",jt="POST_REQUEST_FAILURE",Dt="POST_REQUEST_SUCCESS",Lt="POST_RESTORE",Ut="POST_RESTORE_FAILURE",Ft="POST_REVISION_AUTHORS_RECEIVE",Nt="POST_REVISIONS_DIALOG_CLOSE",qt="POST_REVISIONS_DIALOG_OPEN",Mt="POST_REVISIONS_DIFF_SPLIT_VIEW",Bt="POST_REVISIONS_DIFF_UNIFY_VIEW",$t="POST_REVISIONS_RECEIVE",Ht="POST_REVISIONS_SELECT",Vt="POST_SAVE",Wt="POST_SAVE_SUCCESS",zt="POST_TYPE_LIST_SHARE_PANEL_HIDE",Gt="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Qt="POST_UNLIKE",Yt="POSTS_RECEIVE",Kt="POSTS_REQUEST",Jt="POSTS_REQUEST_FAILURE",Xt="POSTS_REQUEST_SUCCESS",te="PREFERENCES_FETCH",ee="PREFERENCES_FETCH_FAILURE",ne="PREFERENCES_FETCH_SUCCESS",re="PREFERENCES_RECEIVE",oe="PREFERENCES_SAVE_SUCCESS",ie="PREFERENCES_SET",se="PREVIEW_URL_CLEAR",ue="PREVIEW_URL_SET",ae="PURCHASE_REMOVE_COMPLETED",ce="PURCHASE_REMOVE_FAILED",le="PURCHASES_REMOVE",fe="PURCHASES_SITE_FETCH",pe="PURCHASES_SITE_FETCH_COMPLETED",de="PURCHASES_SITE_FETCH_FAILED",he="PURCHASES_SITE_RESET_STATE",me="PURCHASES_USER_FETCH",ge="PURCHASES_USER_FETCH_COMPLETED",ye="PURCHASES_USER_FETCH_FAILED",ve="ROUTE_SET",be="SECTION_LOADING_SET",we="SECTION_SET",_e="SELECTED_SITE_SET",Ee="SITE_CONNECTION_STATUS_RECEIVE",Se="SITE_CONNECTION_STATUS_REQUEST",Ie="SITE_CONNECTION_STATUS_REQUEST_FAILURE",Pe="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",ke="SITE_DELETE_RECEIVE",Oe="SITE_DOMAINS_RECEIVE",Ae="SITE_DOMAINS_REQUEST",Ce="SITE_DOMAINS_REQUEST_FAILURE",Te="SITE_DOMAINS_REQUEST_SUCCESS",Re="SITE_FEATURES_FETCH",xe="SITE_FEATURES_FETCH_COMPLETED",Ze="SITE_FEATURES_FETCH_FAILED",je="SITE_FRONT_PAGE_UPDATE",De="SITE_INTRO_OFFER_RECEIVE",Le="SITE_INTRO_OFFER_REQUEST",Ue="SITE_INTRO_OFFER_REQUEST_FAILURE",Fe="SITE_INTRO_OFFER_REQUEST_SUCCESS",Ne="SITE_MIGRATION_STATUS_UPDATE",qe="SITE_PLANS_FETCH",Me="SITE_PLANS_FETCH_COMPLETED",Be="SITE_PLANS_FETCH_FAILED",$e="SITE_PLANS_REMOVE",He="SITE_PLUGIN_UPDATED",Ve="SITE_PRODUCTS_FETCH",We="SITE_PRODUCTS_FETCH_COMPLETED",ze="SITE_PRODUCTS_FETCH_FAILED",Ge="SITE_RECEIVE",Qe="SITE_REQUEST",Ye="SITE_REQUEST_FAILURE",Ke="SITE_REQUEST_SUCCESS",Je="SITE_SETTINGS_RECEIVE",Xe="SITE_SETTINGS_UPDATE",tn="SITES_RECEIVE",en="SITES_REQUEST",nn="SITES_REQUEST_FAILURE",rn="SITES_REQUEST_SUCCESS",on="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",sn="WPCOM_HTTP_REQUEST"},48539:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(92819);const o=(t,e)=>Array.isArray(t)?t.concat(e):void 0,i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length>1?(0,r.mergeWith)(Object.create(null),...e,o):e[0]}},86398:function(t,e,n){"use strict";n.d(e,{Z:function(){return s},l:function(){return u}});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const u=(t,e)=>(n,s)=>{const u=s.storageKey,a=function(t){return t.join(".")}(n),c=i.get(a),l=o.get(a);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${a}`);if(!l){if(t.addReducer(n,s),u&&e){const n=e(s,u);n&&t.dispatch({type:r.gm2,storageKey:u,storedState:n})}o.set(a,!0),i.set(a,s)}}},19298:function(t,e,n){"use strict";n.d(e,{jN:function(){return i}});var r=n(40211);const o=(t,e)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:t},e)}]}}),i=(t,e)=>o("tracks",{name:t,properties:e})},15223:function(t,e,n){"use strict";var r=n(25394),o=n(44567),i=n(80252),s=n(7689),u=n(66610),a=n(17032),c=n(40211);const l={ga:t=>{let{category:e,action:n,label:r,value:i}=t;return(0,o.Yh)(e,n,r,i)},tracks:t=>{let{name:e,properties:n}=t;return(0,a.recordTracksEvent)(e,n)},fb:t=>{let{name:e,properties:n}=t;return(0,r.K)(e,n)},adwords:t=>{let{properties:e}=t;return(0,r.w)(e)}},f={ga:t=>{let{url:e,title:n}=t;return(0,o.eK)(e,n)},default:t=>{let{url:e,title:n,options:r,...o}=t;return(0,u.A)(e,n,o,r)}},p=t=>{t.meta.analytics.forEach((t=>{var e,n;let{type:r,payload:o}=t;const{service:i="default",...u}=o;switch(r){case c.u2u:return null===(e=l[i])||void 0===e?void 0:e.call(l,u);case c.Wj3:return null===(n=f[i])||void 0===n?void 0:n.call(f,u);case c.lAo:return(t=>{let{group:e,name:n}=t;return(0,s.P)(e,n)})(u)}}))};e.Z=()=>t=>e=>{var n;switch(e.type){case c.K5f:return void("HotJar"===e.trackingTool&&(0,i.o)());case c.ti2:return void(0,a.setTracksOptOut)(e.isOptingOut);default:null!==(n=e.meta)&&void 0!==n&&n.analytics&&p(e)}return t(e)}},6255:function(t,e,n){"use strict";e.Z=t=>function(){const e=t(...arguments);return"undefined"!=typeof window&&(Object.assign(window,e),Object.defineProperty(window,"state",{enumerable:!0,get:e.getState})),e}},91668:function(t,e,n){"use strict";n.d(e,{lx:function(){return o}});n(65792);var r=n(40211);n(36747);function o(t){return{type:r.uBM,user:t}}},79482:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.ZP=(0,o.U)({status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return t},errorMessage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.G1W:case r.YPU:return"";case r.dAl:{const{message:t}=e;return t}case r.iHL:return""}return t}})},18724:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(79482),u=n(21826);const a=(0,o.G)(u.K6,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.uBM?e.user.ID:t})),c=(0,o.G)(u.bH,(function(){var t,e,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(t=i.user.meta)||void 0===t||null===(e=t.data)||void 0===e||null===(n=e.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(t,e){if(!t||!e)return!1;const n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((n=>e[n]===t[n]))}const f=(0,o.G)(u.kX,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.UUJ:case r.xLe:return(e.site?[e.site]:e.sites).reduce(((e,n)=>(!n.capabilities||l(n.capabilities,e[n.ID])||(e===t&&(e={...t}),e[n.ID]=n.capabilities),e)),t)}return t})),p=(0,o.G)(u.y4,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.uBM?e.user.lasagna_jwt||null:t}));e.ZP=(0,i.U)({id:a,user:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.uBM:return e.user;case r.KAg:return{...t,email_verified:e.verified}}return t},capabilities:f,flags:c,emailVerification:s.ZP,lasagnaJwt:p})},21826:function(t,e,n){"use strict";n.d(e,{K6:function(){return r},kX:function(){return o},bH:function(){return i},y4:function(){return s}});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:function(t,e,n){"use strict";function r(t){var e;return null===(e=t.currentUser)||void 0===e?void 0:e.id}function o(t){var e;return(null==t||null===(e=t.currentUser)||void 0===e?void 0:e.user)??null}n.d(e,{rc:function(){return r},ts:function(){return o},bo:function(){return s}});const i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[t])??e}};i("localeSlug"),i("user_ip_country_code");function s(t){const e=o(t);return e?e.site_count||0:null}i("date"),i("username"),i("email"),i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:function(t,e,n){"use strict";n.d(e,{Z9:function(){return s}});var r=n(48539);let o={};const i=new Set,s=(t,e)=>{i.has(t)||(i.add(t),o=(0,r.A)(o,e))}},85875:function(t,e,n){"use strict";n.d(e,{aF:function(){return i}});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=t=>(0,r.zc)(t,o)},28867:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(40211);const o=function(t){let{apiVersion:e,apiNamespace:n,body:o,method:i,path:s,query:u={},formData:a,onSuccess:c,onFailure:l,onProgress:f,onStreamRecord:p,...d}=t,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const m=n?{apiNamespace:n}:{apiVersion:e};return{type:r.koV,body:o,method:i,path:s,query:{...u,...m},formData:a,onSuccess:c||h,onFailure:l||h,onProgress:f||h,onStreamRecord:p||h,options:d}}},57195:function(t,e,n){"use strict";n.d(e,{iD:function(){return r}});const r=()=>({name:"NO_RETRY"});!function(){let{delay:t=1e3,maxAttempts:e=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,t),Math.min(5,e)}()},67577:function(t,e,n){"use strict";n.d(e,{BN:function(){return h}});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),u=n(92819),a=n(15960);const c=()=>{},l=t=>t,f=t=>(0,u.get)(t,"meta.dataLayer.data",void 0),p=t=>(0,u.get)(t,"meta.dataLayer.error",void 0),d=t=>(0,u.get)(t,"meta.dataLayer.progress",void 0),h=((0,a.J)("meta.dataLayer.requestKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:e,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?t:Object.assign({...t},{status:r},e&&{lastUpdated:e},n&&{pendingSince:n})})),m=t=>(e,n)=>{if(!0!==(0,u.get)(n,"meta.dataLayer.trackRequest")||d(n))return t(e,n);const r=(t=>{const{meta:e,...n}=t;return(0,u.get)(e,"dataLayer.requestKey")||s()(n)})(n),o=(t=>void 0!==p(t)?"failure":void 0!==f(t)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});t({...e,dispatch:t=>e.dispatch((0,u.merge)(t,{meta:{dataLayer:i}}))},n)},t=>(t.fetch||o()("fetch handler is not defined: no request will ever be issued"),t.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),t.onError||o()("onError handler is not defined: error during the request is being ignored"),m(((e,n)=>{const r=function(t,e){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:a=l}=t,h=p(e);if(h)return o(e,h);const m=f(e);if(m)try{return r(e,a(m))}catch(v){return o(e,v)}const g=d(e);if(g)return i(e,g);const y=(t=>(0,u.get)(t,"meta.dataLayer.streamRecord",void 0))(e);return y?s(e,y):n(e)}(t,n);if(r)return Array.isArray(r)?r.map(e.dispatch):e.dispatch(r)}))));var m},8681:function(t,e,n){"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),u=n(67577),a=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[a.LW]:[(0,u.BN)({fetch:function(t){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${t.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},t)},onSuccess:function(t,e){return(0,o.aF)((0,c.N0)(e))},onError:function(t,e){return(0,o.aF)((0,c.vE)(t,e))}})]})},26385:function(t,e,n){"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),u=n(67577),a=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,u.BN)({fetch:t=>(0,s.d)({method:"GET",path:`/sites/${t.siteId}/posts/${t.postId}/likes`,apiVersion:"1.1"},t),fromApi:t=>({found:+t.found,iLike:!!t.i_like,likes:t.likes}),onSuccess:(t,e)=>{let{siteId:n,postId:r}=t;return(0,a.u5)(n,r,e)},onError:()=>{}})]}))},77433:function(t,e,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),u=n(67577),a=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,u.BN)({fetch:t=>{const e={};return t.source&&(e.source=t.source),(0,s.d)({method:"POST",path:`/sites/${t.siteId}/posts/${t.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:e},t)},onSuccess:(t,e)=>{let{siteId:n,postId:r}=t,{likeCount:o,liker:i}=e;return(0,a.Ui)(n,r,o,i)},onError:t=>{let{siteId:e,postId:n}=t;return(0,i.aF)((0,a.vL)(e,n))},fromApi:function(t){if(!t.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+t.like_count,liker:t.liker}}})]}),e.ZP={}},46600:function(t,e,n){"use strict";var r=n(77433);e.Z=r.ZP},90347:function(t,e,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),u=n(67577),a=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,u.BN)({fetch:t=>{const e={};return t.source&&(e.source=t.source),(0,s.d)({method:"POST",path:`/sites/${t.siteId}/posts/${t.postId}/likes/new`,body:{},apiVersion:"1.1",query:e},t)},onSuccess:(t,e)=>{let{siteId:n,postId:r}=t,{likeCount:o,liker:i}=e;return(0,a.eT)(n,r,o,i)},onError:t=>{let{siteId:e,postId:n}=t;return(0,i.aF)((0,a.Yt)(e,n))},fromApi:function(t){if(!t.success)throw new Error("Unsuccessful like API call");return{likeCount:+t.like_count,liker:t.liker}}})]}),e.ZP={}},85745:function(t,e,n){"use strict";var r=n(40211),o=n(28447),i=n(29398),s=n(71085),u=n(95884),a=n(83551);const c=t=>t<17e8?1e3*t:t,l=(0,i.G)({type:"number"},(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.qjX:case r.$Tb:return Date.now()}return t})),f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.$Tb:case r.IoY:case r.Ylp:{var n;const{message:t}=e;return{id:t.id,source:t.source,message:t.text,name:t.user.name,image:t.user.avatarURL,isEdited:!!t.revisions,isOptimistic:t.isOptimistic,files:t.files,timestamp:c(t.timestamp),user_id:t.user.id,type:t.type??"message",links:null===(n=t.meta)||void 0===n?void 0:n.links}}}return t},p=t=>parseInt(t.timestamp,10),d=(t,e)=>p(t)-p(e),h=t=>t.slice().sort(d),m=(0,i.G)(a.v,(0,s.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.$Tb:case r.IoY:{var n;if(null!==(n=e.message.meta)&&void 0!==n&&n.forOperator)return t;const r=f({},e),o=t.findIndex((t=>{let{id:e}=t;return r.id===e}));return o>=0?[...t.slice(0,o),r,...t.slice(o+1)]:t.concat([r])}case r.Ylp:{const n=t.findIndex((t=>{let{id:n}=t;return e.message.id===n}));return-1===n?t:[...t.slice(0,n),f({},e),...t.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=e.messages)||void 0===o?void 0:o.filter((e=>{var n;return!!e.id&&((null===(n=e.meta)||void 0===n||!n.forOperator)&&!t.some((t=>t.id===e.id)))})))??[];return h(t.concat(n.map((t=>{var e;return{id:t.id,source:t.source,message:t.text,name:t.user.name,image:t.user.picture,isEdited:!!t.revisions,files:t.files,timestamp:c(t.timestamp),user_id:t.user.id,type:t.type??"message",links:null===(e=t.meta)||void 0===e?void 0:e.links}}))))}}return t}),{serialize:t=>t.slice(-1*o.lc)}));e.ZP=(0,u.U)({status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,e=arguments.length>1?arguments[1]:void 0;return e.type===r.myH?e.status:t},timeline:m,lastActivityTimestamp:l})},83551:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:function(t,e,n){"use strict";n.d(e,{id:function(){return s},nv:function(){return u},wH:function(){return a},k_:function(){return c},up:function(){return l},Mo:function(){return f},pL:function(){return p},$W:function(){return d},QM:function(){return h},dN:function(){return m},gg:function(){return g},KX:function(){return y},Mx:function(){return v},bi:function(){return w},qP:function(){return _},yW:function(){return E}});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),u=t=>({type:o.f5U,error:t}),a=()=>({type:o.yGK}),c=t=>({type:o.M7f,user:t}),l=t=>({type:o.IwF,error:t}),f=()=>({type:o.k_K}),p=t=>({type:o.nHy,isAvailable:t}),d=t=>({type:o.Sur,isAvailable:t}),h=t=>({type:o.$Tb,message:t}),m=t=>({type:o.IoY,message:{...t,isOptimistic:!0}}),g=t=>({type:o.Ylp,message:t}),y=t=>({type:o.myH,status:t}),v=t=>({type:o.AKl,error:t}),b=t=>{let{messages:e,timestamp:n}=t;return{type:o.kJ4,messages:e,timestamp:n}},w=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:t,timeout:e,callback:b}},_=t=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:t,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),E=t=>({type:o.SgU,event:"chat.setFields",payload:t})},80258:function(t,e,n){"use strict";var r=n(40211),o=n(28447),i=n(95884);e.Z=(0,i.U)({error:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.M7f:return null;case r.f5U:return e.error}return t},isAvailable:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.nHy?e.isAvailable:t},localizedSupport:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.Sur?e.isAvailable:t},status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return t}})},28447:function(t,e,n){"use strict";n.d(e,{SJ:function(){return r},bp:function(){return o},XY:function(){return i},oP:function(){return s},ad:function(){return u},lc:function(){return a},so:function(){return c},dZ:function(){return l},s0:function(){return f}});const r="uninitialized",o="connecting",i="connected",s="disconnected",u="reconnecting",a=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",f="default"},84656:function(t,e,n){"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:function(t,e,n){"use strict";var r=n(92819),o=n(96436),i=n(40211),s=n(94002),u=n(11834),a=n(27443);const c={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"};e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==t&&(t=(0,o.Z)()),e=>n=>o=>{const l=e.getState();switch(o.type){case i.Mei:t.init(e.dispatch,o.auth);break;case i.R_D:t.request(o,o.timeout);break;case i.$tj:t.send(o),e.dispatch((0,s.yW)({howCanWeHelp:(0,r.get)(o,"payload.meta.howCanWeHelp",null),howYouFeel:(0,r.get)(o,"payload.meta.howYouFeel",null)}));break;case i.Syf:case i.vsK:case i.qjX:case i.Do$:case i.ILV:case i.SgU:t.send(o);break;case i.vQd:case i.o9b:(0,a.Z)(l)&&(0,u.Z)(l)&&c[o.type]&&e.dispatch((0,s.qP)(c[o.type]))}return n(o)}}()},61741:function(t,e,n){"use strict";var r=n(83685),o=n(95884),i=n(85745),s=n(80258),u=n(29837),a=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.Z,ui:u.ZP,user:a.ZP});e.Z=(0,r.xi)("happychat",c)},83455:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);n(84656);function o(t){return(0,r.get)(t,"happychat.connection.status")}},11834:function(t,e,n){"use strict";var r=n(92819),o=n(28447);n(84656);e.Z=t=>(0,r.get)(t,"happychat.chat.status")===o.dZ},27443:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(28447),o=n(83455);function i(t){return(0,o.Z)(t)===r.XY}},29837:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const u=(0,o.G)({type:"number"},(0,i.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.vQd:return Date.now();case r.o9b:return null}return t}),{serialize:t=>null===t?Date.now():t}));e.ZP=(0,s.U)({currentMessage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.qjX:return"";case r.c2t:return e.message}return t},isMinimizing:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.tyO?!!e.isMinimizing:t},isOpen:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.eYx?!!e.isOpen:t},lostFocusAt:u})},24570:function(t,e,n){"use strict";n.d(e,{_:function(){return u}});var r=n(68702),o=n(72429),i=n(40211),s=n(13306);n(84656);const u=()=>t=>{o.Z.req.get("/help/olark/mine").then((e=>{t((t=>({type:i.Xeb,config:t}))(e))})).catch((e=>{e&&e.message&&"authorization_required"!==e.error&&(t((0,s.tF)(e.message)),(0,r.C)({feature:"calypso_client",message:"Olark configuration request failed",severity:"error",extra:{error:e.name,status:e.status,message:e.message}}))}))}},12844:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const u=(0,o.G)(s.FB,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(e.type===r.M7f){const n=e.user.geoLocation;return n&&n.country_long&&n.city?n:t}return t})),a=(0,o.G)(s.Cv,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.isUserEligible:t})),c=(0,o.G)(s.i6,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.availability:t})),l=(0,o.G)(s._B,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.supportLevel:t}));e.ZP=(0,i.U)({geoLocation:u,isEligible:a,availability:c,supportLevel:l})},71320:function(t,e,n){"use strict";n.d(e,{FB:function(){return r},Cv:function(){return o},i6:function(){return i},_B:function(){return s}});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:function(t,e,n){"use strict";var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];const r=(0,i.Z)(t);return(0,o.x)(e,(0,o.p)(t,r),n)}),(t=>[(0,i.Z)(t)]));e.Z=s},13306:function(t,e,n){"use strict";n.d(e,{tF:function(){return s}});var r=n(88767),o=n(40211);n(73377);const i=function(t,e){let{id:n,...i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:o.zvG,notice:Object.assign({showDismiss:!0},i,{noticeId:n||(0,r.Z)(),status:t,text:e})}},s=(t,e)=>i("is-error",t,e)},73377:function(t,e,n){"use strict";var r=n(9044),o=n(87795);(0,r.x)(["notices"],o.ZP)},87795:function(t,e,n){"use strict";var r=n(83685),o=n(92819),i=n(40211);const s=(0,n(95884).U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i.zvG:{const{notice:n}=e;return{...t,[n.noticeId]:n}}case i.czl:{const{noticeId:n}=e;return t.hasOwnProperty(n)?(0,o.omit)(t,n):t}case i.RSp:return(0,o.reduce)(t,((t,e,n)=>{if(!e.isPersistent&&!e.displayOnNextPage)return t;let r=e;return r.displayOnNextPage&&(r={...r,displayOnNextPage:!1}),t[n]=r,t}),{})}return t},lastTimeShown:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===i.zvG){const{notice:n}=e;return{...t,[n.noticeId]:Date.now()}}return t}});e.ZP=(0,r.xi)("notices",s)},80951:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),u=n(32988);const a=(()=>{let t,e={};function n(t,e){return[t,e].join()}function s(o,i,s,u){const a=n(i,s),c=e[a];if(!c)return o;const l=["all"];c.authorId===t&&l.push("mine");const f=l.reduce(((t,e)=>{const n=(0,r.get)(o,[i,c.type,e],{});return t[e]={},t[e][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==u&&(t[e][u]=(n[u]||0)+1),t}),{});return"deleted"===u?e=(0,r.omit)(e,a):c.status=u,(0,r.merge)(f,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:f}})}return(0,i.G)(u.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;switch(u.type){case o.Rp6:return t=void 0,e={},i;case o.uBM:return t=u.user.ID,i;case o.hYA:return u.posts.forEach((t=>{const o=n(t.site_ID,t.ID),u=e[o];u&&t.status!==u.status&&(i=s(i,t.site_ID,t.ID,t.status)),e[o]=(0,r.pick)(t,"type","status"),e[o].authorId=(0,r.get)(t.author,"ID")})),i;case o.CNw:{const{siteId:t,postId:e,post:n}=u;return n.status?s(i,t,e,n.status):i}case o.LbL:return s(i,u.siteId,u.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[u.siteId]:{[u.postType]:u.counts}})}return i}))})();e.ZP=(0,s.U)({requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},t,{[e.siteId]:{[e.postType]:o.T3s===e.type}})}return t},counts:a})},32988:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:function(t,e,n){"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:function(t,e,n){"use strict";n.d(e,{vL:function(){return o},Yt:function(){return i},u5:function(){return s},eT:function(){return u},Ui:function(){return a}});var r=n(40211);n(26385),n(70263);const o=function(t,e){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:t,postId:e,source:n}},i=function(t,e){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:t,postId:e,source:n}},s=(t,e,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:t,postId:e,likes:o,iLike:i,found:s}},u=(t,e,n,o)=>({type:r.rgA,siteId:t,postId:e,likeCount:n,liker:o}),a=(t,e,n,o)=>({type:r.a7F,siteId:t,postId:e,likeCount:n,liker:o})},26353:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(15960),u=n(95884),a=n(40057);const c=(0,i.G)(a.Z,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.AVO:{const{likes:n,iLike:r,found:o}=e;return{likes:Array.isArray(n)?n.map((t=>({ID:t.ID,avatar_URL:t.avatar_URL,login:t.login,name:t.name,site_ID:t.site_ID,site_visible:t.site_visible}))):t.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return t.iLike?t:{likes:t.likes,iLike:!0,found:t.found+1,lastUpdated:t.lastUpdated};case o.vP0:return t.iLike?{likes:t.likes,iLike:!1,found:Math.max(0,t.found-1),lastUpdated:t.lastUpdated}:t;case o.rgA:{const{likeCount:n,liker:o}=e,i=(0,r.some)(t.likes,(t=>t.ID===o.ID));if(t.found===n&&i)return t;let s=t.likes;return i||(s=[o,...t.likes||[]]),{likes:s,iLike:t.iLike,found:n,lastUpdated:t.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=e,i=(0,r.some)(t.likes,(t=>t.ID===o.ID));if(t.found===n&&!i)return t;let s=t.likes;return i&&(s=t.likes.filter((t=>o.ID!==t.ID))),{likes:s,iLike:t.iLike,found:n,lastUpdated:t.lastUpdated}}}return t})),l=(0,s.J)("siteId",(0,s.J)("postId",c));e.ZP=(0,u.U)({items:l})},40057:function(t,e){"use strict";e.Z={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:function(t,e,n){"use strict";var r=n(92819),o=n(3982),i=n(96252),s=n(40211),u=n(13360),a=n(29398),c=n(71085),l=n(95884),f=n(72725),p=n(26353),d=n(8588),h=n(49061),m=n(41900),g=n(2205),y=n(78261),v=n(78928),b=n(38239),w=n(26588),_=n(73831),E=n(57384),S=n(40178),I=n(92110),P=n(40373);const k=(0,a.G)(h.dj,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.hYA:return(0,r.reduce)(e.posts,((e,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return e[i]||(e===t&&(e={...e}),e[i]=[r,o]),e}),t);case s.kNW:{const n=(0,r.findKey)(t,(t=>{let[n,r]=t;return n===e.siteId&&r===e.postId}));return n?(0,r.omit)(t,n):t}}return t}));const O=(0,a.G)(h.kl,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.A4M:{const{siteId:n,query:r,posts:s,found:u}=e;if(!n)return t;const a=s.map(y.P);return(0,i.Z)(t,n,(t=>t.receive(a,{query:r,found:u})),(()=>new o.Z))}case s.hYA:{const{posts:n}=e,s=(0,r.reduce)(n,((t,e)=>Object.assign(t,{[e.site_ID]:[...t[e.site_ID]||[],(0,y.P)(e)]})),{});return(0,r.reduce)(s,((t,e,n)=>(0,i.Z)(t,n,(t=>t.receive(e)),(()=>new o.Z))),t)}case s.F1Z:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.removeItem(r)))}}return t}),{serialize:t=>(0,r.mapValues)(t,(t=>{let{data:e,options:n}=t;return{data:e,options:n}})),deserialize:t=>(0,r.mapValues)(t,(t=>{let{data:e,options:n}=t;return new o.Z(e,n)}))}));function A(t,e,n){return(0,r.findKey)(t.data.items,(t=>t.site_ID===e&&t.ID===n))||null}const C=(0,a.G)(m.Z,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=e;return n?t:t.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=e;return t.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=e,i=A(t,n,r);return t.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.removeItem(o)}}return t}),{serialize:t=>{let{data:e,options:n}=t;return{data:e,options:n}},deserialize:t=>{let{data:e,options:n}=t;return new o.Z(e,n)}}));e.ZP=(0,l.U)({counts:f.ZP,items:k,siteRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.pgH:case s.nL0:case s.Ra4:return Object.assign({},t,{[e.siteId]:Object.assign({},t[e.siteId],{[e.postId]:s.pgH===e.type})})}return t},queryRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.XMF:case s.A4M:case s.LEp:const n=(0,g.v)(e.query,e.siteId);return Object.assign({},t,{[n]:s.XMF===e.type})}return t},queries:O,allSitesQueries:C,edits:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.hYA:return(0,r.reduce)(e.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===t&&(n=(0,r.merge)({},t)),e.saveMarker){const t=i.indexOf(e.saveMarker);-1!==t&&(i=i.slice(t+1))}const s=(0,v.Z)(...i);let a=null;if(s){const t=(0,r.omitBy)(s,((t,e)=>{switch(e){case"author":return(0,b.J)(t,o[e]);case"date":return(0,w.S)(t,o[e]);case"discussion":return(0,_.y)(t,o[e]);case"featured_image":return t===(0,u.g)(o);case"metadata":return!0;case"status":return(0,E.D)(t,o[e]);case"terms":return(0,S.v)(t,o[e])}return(0,r.isEqual)(o[e],t)}));if(s.metadata){const e=(0,I.F)(s.metadata,o.metadata);e.length>0&&(t.metadata=e)}(0,r.isEmpty)(t)||(a=[t])}return(0,r.set)(n,[o.site_ID,o.ID],a)}),t);case s.oD3:{const n=e.siteId,o=e.postId||"",i=(0,r.get)(t,[n,o]),s=(0,P.V)(i,e.post);return{...t,[n]:{...t[n],[o]:s}}}case s.gQI:return Object.assign({},t,{[e.siteId]:{...t[e.siteId],[e.postId||""]:null}});case s.cnn:if(!t.hasOwnProperty(e.siteId))break;return Object.assign({},t,{[e.siteId]:(0,r.omit)(t[e.siteId],e.postId||"")});case s.hZH:{const n=e.siteId;if(""===(e.postId||"")&&e.savedPost){const o=e.savedPost.ID;t={...t,[n]:(0,r.mapKeys)(t[n],((t,e)=>""===e?o:e))}}return t}}return t},likes:p.ZP,revisions:d.ZP})},17811:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(95884);e.Z=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===o.R$r?(0,r.reduce)(e.users,((e,n)=>(e===t&&(e={...t}),e[n.ID]=n,e)),t):t}})},8588:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(95884),s=n(17811);e.ZP=(0,i.U)({diffs:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:e,postId:n,revisions:i,siteId:s,type:u}=arguments.length>1?arguments[1]:void 0;if(u!==o.vIA)return t;if(!Number.isInteger(s)||s<=0)return t;const a=(0,r.get)(t,[s,n],{}),c={...(0,r.get)(a,"revisions",{}),...i},l=(0,r.filter)(e,(t=>{let{diff:e,from:n,to:o}=t;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(e))))}));return(0,r.isEmpty)(l)?t:{...t,[s]:{...t[s],[n]:{...{...(0,r.omit)(a,"revisions"),...(0,r.keyBy)(l,(t=>`${t.from}:${t.to}`))},revisions:c}}}},selection:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.N__:return{...t,revisionId:e.revisionId};case o.oD3:case o.bgv:return{...t,revisionId:null};default:return t}},ui:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.NYz:return{...t,isDialogVisible:!1};case o.gpX:return{...t,isDialogVisible:!0};case o.Se1:return{...t,diffView:"split"};case o.bE0:return{...t,diffView:"unified"};default:return t}},authors:s.Z})},49061:function(t,e,n){"use strict";n.d(e,{dj:function(){return o},kl:function(){return i}});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(92819),o=n(78928);function i(t,e){if((0,r.isEmpty)(t))return[e];const n=(0,r.last)(t);if("string"==typeof n)return[...t,e];const i=t.slice(0,-1);return i.push((0,o.Z)(n,e)),i}},13360:function(t,e,n){"use strict";function r(t){if(t)return"featured_image"in t&&!/^https?:\/\//.test(t.featured_image)?t.featured_image:t.post_thumbnail?t.post_thumbnail.ID:void 0}n.d(e,{g:function(){return r}})},91602:function(t,e,n){"use strict";n.d(e,{B:function(){return i}});var r=n(92819),o=n(80951);function i(t){return(0,r.omitBy)(t,((t,e)=>o.e[e]===t))}},2205:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(91602);function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(t),o=JSON.stringify(n);return e?[e,o].join(":"):o}},38239:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(92819);function o(t,e){return(0,r.get)(t,"ID")===(0,r.get)(e,"ID")}},26588:function(t,e,n){"use strict";function r(t,e){return!1===t||t&&new Date(t).getTime()===new Date(e).getTime()}n.d(e,{S:function(){return r}})},73831:function(t,e,n){"use strict";n.d(e,{y:function(){return o}});var r=n(92819);function o(t,e){return Object.entries(t).every((t=>{let[n,o]=t;return(0,r.get)(e,[n])===o}))}},57384:function(t,e,n){"use strict";function r(t,e){return["publish","future"].includes(t)?["publish","future"].includes(e):t===e}n.d(e,{D:function(){return r}})},40178:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(92819);function o(t,e){return Object.entries(t).every((t=>{let[n,o]=t;const i=Object.values(o),s=(0,r.isPlainObject)(i[0]),u=s?(0,r.map)(i,"ID"):i,a=s?"ID":"name",c=(0,r.map)(e[n],a);return!(0,r.xor)(u,c).length}))}},78928:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819);function o(t,e){const n=(0,r.reject)(t,(t=>(0,r.find)(e,{key:t.key})));return(0,r.concat)(n,e)}const i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.reduce)(e,((t,e)=>"string"==typeof e?t:null===t?e:(0,r.mergeWith)((0,r.cloneDeep)(t),e,((t,e,n,r,i,s)=>"metadata"===n&&0===s.size?o(t,e):Array.isArray(e)?e:void 0))),null)}},92110:function(t,e,n){"use strict";n.d(e,{F:function(){return o}});var r=n(92819);function o(t,e){return(0,r.filter)(t,(t=>function(t,e){const n=(0,r.find)(e,{key:t.key});return"update"===t.operation?!n||n.value!==t.value:"delete"===t.operation&&!!n}(t,e)))}},78261:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});var r=n(92819);const o=(t,e)=>{if(e.length>1){const[,...n]=e;o(t[e[0]],n)}else t&&t.hasOwnProperty(e[0])&&delete t[e[0]]};function i(t){const e=(0,r.cloneDeep)(t);return(0,r.reduce)([[],...(0,r.reduce)(t.terms,((t,e,n)=>t.concat((0,r.map)(e,((t,e)=>["terms",n,e])))),[]),...(0,r.map)(t.categories,((t,e)=>["categories",e])),...(0,r.map)(t.tags,((t,e)=>["tags",e])),...(0,r.map)(t.attachments,((t,e)=>["attachments",e]))],((t,e)=>(o(t,e.concat("meta","links")),t)),e)}},18223:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:function(t,e,n){"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:function(t,e,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),u=n(85290);const a=(0,i.G)(u.U,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(e.type===o.XuD){const{values:t}=e;return t}return t})),c=(0,s.U)({localValues:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.JPH:{const{key:n,value:r}=e;return t[n]===r?t:{...t,[n]:r}}case o.lCo:{const{[e.key]:n,...r}=t;return r}}return t},remoteValues:a,fetching:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.N8o:case o.PD1:return!1;case o.pSd:return!0}return t},lastFetchedTimestamp:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.N8o?Date.now():t}}),l=(0,r.xi)("preferences",c);e.ZP=l},85290:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:function(t,e,n){"use strict";n.d(e,{Oz:function(){return o}});var r=n(18223);n(54614);function o(t,e){for(const i of[null===(n=t.preferences)||void 0===n?void 0:n.localValues,null===(o=t.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(e))return i[e]??null}return null}},86169:function(t,e,n){"use strict";n.d(e,{Y9:function(){return u}});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),u=(r.ZP.translate("There was an error removing the purchase."),t=>e=>(e({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{e({type:i.XMH,purchases:n,userId:t})})).catch((()=>{e({type:i._MG,error:s})}))))},65811:function(t,e,n){"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:function(t,e,n){"use strict";var r=n(83685),o=n(92819),i=n(40211);const s={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function u(t,e){let n,r;return i.m58===e.type&&(r={blog_id:String(e.siteId)}),i.XMH!==e.type&&i.WjV!==e.type||(r={user_id:String(e.userId)}),n=function(t,e,n){return t.filter((t=>!(0,o.matches)(n)(t)||(0,o.find)(e,{ID:t.ID})))}(t,e.purchases,r),n=function(t,e){let n=e;return t.forEach((t=>{(0,o.find)(n,{ID:t.ID})||(n=n.concat(t))})),n}(n,e.purchases),n}e.Z=(0,r.xi)("purchases",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i.gbe:return{...t,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case i.pJb:return{...t,isFetchingSitePurchases:!0};case i.$5Y:return{...t,isFetchingUserPurchases:!0};case i.WjV:return{...t,data:u(t.data,e),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case i.m58:return{...t,data:u(t.data,e),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case i.XMH:return{...t,data:u(t.data,e),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case i.RIF:return{...t,error:e.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case i._qM:return{...t,error:e.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case i._MG:return{...t,error:e.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case i.Fsf:return{...t,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return t}))},12726:function(t,e,n){"use strict";n.d(e,{Mo:function(){return r},iJ:function(){return o}});n(65811);const r=t=>t.purchases.isFetchingUserPurchases,o=t=>t.purchases.hasLoadedUserPurchasesFromServer},99432:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(83685),o=n(29950);n(65811);const i=(0,r.P1)((t=>(0,o.W)(t.purchases.data)),(t=>[t.purchases.data]))},76678:function(t,e,n){"use strict";n.d(e,{I:function(){return u}});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const u=(0,r.P1)((t=>{if(!(0,i.iJ)(t))return null;const e=(0,o.rc)(t);return(0,s.G)(t).filter((t=>t.userId===e))}),(t=>[(0,i.iJ)(t),(0,o.rc)(t),(0,s.G)(t)]))},78772:function(t,e,n){"use strict";n.d(e,{BQ:function(){return r},tx:function(){return o},_n:function(){return i},K1:function(){return s},D8:function(){return u},Ae:function(){return a},_h:function(){return c},M1:function(){return l},_p:function(){return f},AH:function(){return p},lH:function(){return d},P6:function(){return h},b3:function(){return m},sh:function(){return g},DJ:function(){return y},kB:function(){return v},R1:function(){return b},cu:function(){return w},MW:function(){return _},a$:function(){return E},nY:function(){return S},q_:function(){return I},B_:function(){return P},gS:function(){return k},L5:function(){return O},Nr:function(){return A},s5:function(){return C},ud:function(){return T},we:function(){return R},_O:function(){return x},Ny:function(){return Z},$J:function(){return j},S6:function(){return D},ch:function(){return L},nB:function(){return U},rE:function(){return F},Bi:function(){return N},Cm:function(){return q},Rn:function(){return M},yZ:function(){return B},c1:function(){return $},e_:function(){return H},iv:function(){return V},IJ:function(){return W},zF:function(){return z},zg:function(){return G},LW:function(){return Q},Fy:function(){return Y},qY:function(){return K},Qw:function(){return J},pu:function(){return X},CI:function(){return tt},_7:function(){return et},l0:function(){return nt},rC:function(){return rt},c7:function(){return ot},RN:function(){return it},Qr:function(){return st},HC:function(){return ut},aL:function(){return at},Ep:function(){return ct},hB:function(){return lt},Jx:function(){return ft},_i:function(){return pt},fY:function(){return dt},CE:function(){return ht},Q6:function(){return mt},tN:function(){return gt},BZ:function(){return yt},VV:function(){return vt},vy:function(){return bt},OT:function(){return wt}});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",u="READER_DISMISS_SITE",a="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",f="READER_FEED_SEARCH_RECEIVE",p="READER_FOLLOW",d="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",m="READER_FOLLOWS_SYNC_COMPLETE",g="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",b="READER_LIST_FOLLOW_RECEIVE",w="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",I="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",k="READER_LIST_REQUEST_FAILURE",O="READER_LIST_REQUEST_SUCCESS",A="READER_LIST_UNFOLLOW_RECEIVE",C="READER_LIST_UPDATE",T="READER_LIST_UPDATE_FAILURE",R="READER_LIST_UPDATE_SUCCESS",x="READER_LISTS_RECEIVE",Z="READER_LISTS_REQUEST",j="READER_ORGANIZATIONS_RECEIVE",D="READER_ORGANIZATIONS_REQUEST",L="READER_POST_SEEN",U="READER_POSTS_RECEIVE",F="READER_RECOMMENDED_SITES_RECEIVE",N="READER_RELATED_POSTS_RECEIVE",q="READER_RELATED_POSTS_REQUEST",M="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",$="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",H="READER_SEEN_MARK_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",W="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",tt="READER_STREAMS_PAGE_REQUEST",et="READER_STREAMS_SELECT_ITEM",nt="READER_STREAMS_SELECT_NEXT_ITEM",rt="READER_STREAMS_SELECT_PREV_ITEM",ot="READER_STREAMS_SHOW_UPDATES",it="READER_STREAMS_UPDATES_RECEIVE",st="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ut="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",at="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ct="READER_TAG_IMAGES_RECEIVE",lt="READER_TAG_IMAGES_REQUEST",ft="READER_TAG_IMAGES_REQUEST_FAILURE",pt="READER_TAG_IMAGES_REQUEST_SUCCESS",dt="READER_TAGS_RECEIVE",ht="READER_THUMBNAIL_RECEIVE",mt="READER_UNFOLLOW",gt="READER_UNFOLLOW_TAG_RECEIVE",yt="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",vt="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",bt="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",wt="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(84225),a=n(91706),c=n(51260);const l=(0,i.G)(a.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.BQ:return{...t,[(0,c.J)(e.payload.siteId,e.payload.postId)]:u.I.following};case o.tx:return{...t,[(0,c.J)(e.payload.siteId,e.payload.postId)]:u.I.muting};case o._n:{const n=(0,c.J)(e.payload.siteId,e.payload.postId);if(e.payload.followStatus===u.I.not_following)return(0,r.omit)(t,n);return{...t,[n]:e.payload.followStatus}}case o.nB:{if(!e.posts)return t;const n={};return(0,r.forEach)(e.posts,(t=>{t.is_following_conversation&&(n[(0,c.J)(t.site_ID,t.ID)]=u.I.following)})),0===(0,r.size)(n)?t:{...t,...n}}}return t}));e.Z=(0,s.U)({items:l})},91706:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:function(t,e,n){"use strict";function r(t,e){return`${t}-${e}`}n.d(e,{J:function(){return r}})},13838:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const u=(0,i.J)("queryKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o._p?(0,r.uniqBy)((t||[]).concat(e.payload.feeds),"feed_URL"):t})),a=(0,i.J)("queryKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o._p?e.payload.total:t}));e.ZP=(0,s.U)({items:u,total:a})},64380:function(t,e,n){"use strict";var r=n(92819),o=n(40997),i=n(8165),s=n(48265),u=n(78772),a=n(29398),c=n(71085),l=n(95884),f=n(46518);function p(t,e){return{[e.payload.feed_ID]:{feed_ID:e.payload.feed_ID,is_error:!0},...t}}function d(t,e){const n=function(t){return{feed_ID:+t.feed_ID,blog_ID:+t.blog_ID,name:t.name&&(0,o.S)(t.name),URL:(0,s.m)(t.URL),feed_URL:(0,s.m)(t.feed_URL),is_following:t.is_following,subscribers_count:t.subscribers_count,description:t.description&&(0,o.S)((0,i.C)(t.description)),last_update:t.last_update,image:t.image,organization_id:t.organization_id,unseen_count:t.unseen_count}}(e.payload);return{...t,[n.feed_ID]:n}}const h=(0,a.G)(f.d,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.M1:return d(t,e);case u._h:return p(t,e);case u.e_:{const n=t[e.feedId];return n?{...t,[e.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-e.globalIds.length,0)})}:t}case u.iv:{const n=t[e.feedId];return n?{...t,[e.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+e.globalIds.length,0)})}:t}case u.c1:return(0,r.forEach)(e.feedIds,(e=>{t[e]={...t[e],unseen_count:0}})),{...t}}return t}),{serialize:t=>(0,r.omitBy)(t,"is_error")}));e.ZP=(0,l.U)({items:h,lastFetched:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===u.M1?{...t,[e.payload.feed_ID]:Date.now()}:t},queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.Ae:return{...t,[e.payload.feed_ID]:!0};case u.M1:case u._h:return(0,r.omit)(t,e.payload.feed_ID)}return t}})},46518:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(71085),u=n(95884),a=n(75235),c=n(46486);function l(t,e){let{payload:n,type:i}=e;const s=(0,r.find)(t,{blog_ID:+n.blogId});if(!s)return t;const u=(0,r.get)(s,["delivery_methods","email"],{}),a={};switch(i){case o.HC:case o.VV:a.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:a.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(a.post_delivery_frequency=n.deliveryFrequency);const l={...u,...a};return(0,r.isEqual)(u,l)?t:{...t,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function f(t,e){let{payload:n,type:i}=e;const s=(0,r.find)(t,{blog_ID:+n.blogId});if(!s)return t;const u=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),a=!(i===o.vy);return u===a?t:{...t,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:a}}}}}const p=(0,i.G)(a.e,(0,s.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.lH:{const n=(0,c.C)(e.payload.feedUrl);return{...t,[n]:(0,r.merge)({},t[n],{error:e.payload.error})}}case o.AH:{let n=(0,c.C)(e.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(e.payload,["follow","feed_URL"],e.payload.feedUrl),s={...t};i!==e.payload.feedUrl?(o.alias_feed_URLs=[...t[n].alias_feed_URLs||[],(0,c.C)(e.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):t[n]&&t[n].error&&(o.error=null);const u=(0,r.get)(t[n],["delivery_methods","notification"]);return u&&(o.delivery_methods={notification:u}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},t[n],e.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(e.payload.feedUrl),o=t[n];return o&&o.is_following?{...t,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:t}case o.P6:{const n=e.payload.follows,o=(0,r.reduce)(n,((t,e)=>{const n=(0,c.C)(e.URL),r={...e,is_following:!0};return t[n]=r,t}),{});return(0,r.merge)({},t,o)}case o.qY:{const n=e.payload;if(!n||!n.feed_URL||!n.is_following)return t;const o=(0,c.C)(n.feed_URL),i=t[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...t,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(t,e);case o.aL:case o.vy:return f(t,e);case o.b3:{const n=new Set(e.payload);return(0,r.omitBy)(t,(t=>t.ID&&!n.has(t.feed_URL)))}case o.e_:{const n=(0,c.C)(e.feedUrl),o=t[n];return o?{...t,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-e.globalIds.length})}:t}case o.iv:{const n=(0,c.C)(e.feedUrl),o=t[n];return o?{...t,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+e.globalIds.length})}:t}case o.c1:return(0,r.forEach)(e.feedUrls,(e=>{const n=(0,c.C)(e);t[n]={...t[n],unseen_count:0}})),{...t}}return t}),{serialize:t=>(0,r.pickBy)(t,(t=>t.ID&&t.is_following))}));e.ZP=(0,u.U)({items:p,itemsCount:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return e.type===o.P6&&e.payload.totalCount?e.payload.totalCount:t},lastSyncTime:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.sh?Date.now():t}})},75235:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(55347);function o(t){const e=t&&(0,r.Z)(t);return e&&e.replace(/^https?:\/\//,"").toLowerCase()}},35929:function(t,e,n){"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(40932);const a=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o._O:return Object.assign({},t,(0,r.keyBy)(e.lists,"ID"));case o.L5:case o.we:return Object.assign({},t,(0,r.keyBy)([e.data.list],"ID"));case o.kB:return e.listId in t?(0,r.omit)(t,e.listId):t}return t}));function c(t,e,n){if(!(e.listId in t))return t;const o=t[e.listId],i=(0,r.reject)(o,n);return{...t,[e.listId]:i}}const l=(0,i.G)(u.E,(function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(t=i.list)||void 0===t?void 0:t.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const u=null===(e=i.list)||void 0===e?void 0:e.ID;return u?(0,r.filter)(n,(t=>t!==u)):n;case o.kB:return(0,r.filter)(n,(t=>t!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));e.ZP=(0,s.U)({items:a,listItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.q_:return{...t,[e.listId]:e.listItems};case o.cu:{const n=t[e.listId]||[];return(0,r.some)(n,{feed_ID:e.feedId})?t:{...t,[e.listId]:[...n,{feed_ID:e.feedId}]}}case o.MW:return c(t,e,(t=>t.feed_ID===e.feedId));case o.nY:return c(t,e,(t=>t.tag_ID===e.tagId));case o.a$:return c(t,e,(t=>t.site_ID===e.siteId));case o.kB:return e.listId in t?(0,r.omit)(t,e.listId):t}return t},subscribedLists:l,isCreatingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.DJ:case o.L5:case o.gS:return o.DJ===e.type}return t},isRequestingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.B_:case o.L5:case o.gS:return o.B_===e.type}return t},isRequestingLists:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.Ny:case o._O:return o.Ny===e.type}return t},isUpdatingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.s5:case o.we:case o.ud:return o.s5===e.type}return t}})},40932:function(t,e,n){"use strict";n.d(e,{d:function(){return r},E:function(){return o}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(37013);const a=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.type===o.$J?e.error?t:(0,r.get)(e,["payload","organizations"],t):t}));e.ZP=(0,s.U)({items:a,isRequesting:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.S6:return!0;case o.$J:return!1}return t}})},37013:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:function(t,e,n){"use strict";n.d(e,{SD:function(){return v}});var r=n(92819),o=n(88767),i=(n(7689),n(72429)),s=n(58414),u=n(77327),a=n(4184),c=n(78772),l=n(89258);n(35929);let f={recordEvent:()=>{}},p=()=>{};function d(t){f.recordTracksEvent("calypso_traintracks_render",t.railcar)}function h(t){const e={},n=(0,s.Z)();if(n&&(e.content_width=n),t.blogId)return i.Z.req.get(`/read/sites/${t.blogId}/posts/${t.postId}`,e);const{postId:r,feedId:o,...u}=t;return i.Z.req.get(`/read/feed/${encodeURIComponent(o)}/posts/${encodeURIComponent(r)}`,{apiVersion:"1.2",...u,...e})}p=n(29789).yg,f=n(17032);const m=t=>t.catch((()=>null)),g=t=>e=>{if(!t)return Promise.resolve([]);const[n,o]=(0,r.partition)(t,"_should_reload");n.forEach((t=>e(function(t){return function(e){const n=t.railcar;h((0,u.WO)(t)).then((t=>{t.railcar=n,e(g([t]))}))}}(t))));const i=(0,r.compact)(o).map(l.lp);return(0,r.forEach)(i,(t=>{t.is_external||e((0,a.u5)(t.site_ID,t.ID,{iLike:Boolean(t.i_like),found:+t.like_count}))})),e({type:c.nB,posts:i}),Promise.all(i.map(l.yv).map(m)).then((t=>e({type:c.nB,posts:(0,r.compact)(t)}))),(0,r.forEach)((0,r.filter)(i,"railcar"),d),Promise.resolve(i)},y=new Set,v=t=>e=>{const n=(0,u.C$)(t);if(!y.has(n))return y.add(n),h(t).then((t=>(r(),e(g([t]))))).catch((n=>(r(),e(function(t,e){return{type:c.nB,posts:[{feed_ID:e.feedId,ID:e.postId,site_ID:e.blogId,is_external:!e.blogId,global_ID:(0,o.Z)(),is_error:!0,error:t}]}}(n,t)))));function r(){y.delete(n)}}},81823:function(t,e){"use strict";e.Z={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:function(t,e,n){"use strict";n.d(e,{lp:function(){return Z},yv:function(){return D}});var r=n(92819),o=n(77804),i=n(53544),s=n(10363),u=n(37183),a=n(40691),c=n(17431),l=n(50917),f=n(30757),p=n(51088),d=n(64e3),h=n(42347),m=n(47401),g=n(12800),y=n(31564),v=n(91410),b=n(21036),w=n(53317),_=n(66184),E=n(49147),S=n(59654),I=n(36003),P=n(60566),k=n(75659),O=n(55454),A=n(81823),C=n(99891);function T(t){return t.width>=C.hM&&t.height>=C.qg}function R(t){const e=(0,r.filter)(t.content_images,T);let n=A.Z.UNCLASSIFIED;return e.length>=C.y_?n^=A.Z.GALLERY:t.canonical_media&&"image"===t.canonical_media.mediaType&&t.canonical_media.width>=C.Ws&&(t=>function(t){return t&&t.content_no_html?t.content_no_html.length:0}(t)<=C.ml)(t)&&(n^=A.Z.PHOTO_ONLY),t.canonical_media&&"video"===t.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),t.tags&&t.tags["p2-xpost"]&&(n^=A.Z.X_POST),t.display_type=n,t}const x=(0,r.flow)([g.Z,P.Z,S.Z,b.Z,E.Z,(0,I.Z)(C.fY),v.Z,(0,O.Z)([h.Z,d.Z,(0,f.Z)(),l.Z,p.Z,a.b,a.Y,i.Z,s.Z,u.Z,c.Z]),m.Z,w.Z,_.Z,R,o.Z]);function Z(t){return t?(t=Object.assign({},t),x(t),t):t}const j=(0,r.flow)([(0,y.Z)(C.Kt,C.qg),w.Z,_.Z,R]);function D(t){return t=Object.assign({},t),(0,k.Z)(t).then(j)}},42334:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);e.ZP=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.nB:const n=e.posts||e.payload.posts;return{...t,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(e.globalIds,(e=>{t[e]={...t[e],is_seen:!0}})),{...t};case o.iv:return(0,r.forEach)(e.globalIds,(e=>{t[e]={...t[e],is_seen:!1}})),{...t}}return t},seen:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(e,"payload.post.global_ID");return e.type===o.ch&&n?{...t,[n]:!0}:t}})},6712:function(t,e,n){"use strict";n.d(e,{UK:function(){return u}});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((t=>[t.reader.posts.items]),(t=>{let[e]=t;return(0,o.keyBy)(e,(t=>(0,i.C$)((0,i.WO)(t))))})),u=(t,e)=>{if(!e||!(0,i.C$)(e))return null;return s(t)[(0,i.C$)(e)]};(0,r.Z)((t=>[s(t)]),((t,e)=>{let[n]=t;return!e||(0,o.some)(e,(t=>!(0,i.C$)(t)))?null:e.map(i.C$).map((t=>n[t]))}),{getCacheKey:t=>t.map(i.C$).join()})},99891:function(t,e,n){"use strict";n.d(e,{fY:function(){return r},Ws:function(){return o},ml:function(){return i},y_:function(){return s},hM:function(){return u},Kt:function(){return a},qg:function(){return c}});const r=800,o=440,i=85,s=4,u=300,a=144,c=72},12622:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const u=(0,i.J)("seed",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.type===o.rE?(0,r.uniqBy)(t.concat(e.payload.sites),"feedId"):t})),a=(0,i.J)("seed",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.rE?Math.max(e.payload.offset,t):t}));e.ZP=(0,s.U)({items:u,pagingOffset:a})},97589:function(t,e,n){"use strict";var r=n(83685),o=n(95884),i=n(26395),s=n(13838),u=n(64380),a=n(38357),c=n(6693),l=n(61923),f=n(42334),p=n(12622),d=n(1788),h=n(92972),m=n(8614),g=n(53761),y=n(83530),v=n(64805),b=n(39493);const w=(0,o.U)({conversations:i.Z,feeds:u.ZP,feedSearches:s.ZP,follows:a.ZP,lists:c.ZP,posts:f.ZP,recommendedSites:p.ZP,relatedPosts:d.ZP,siteBlocks:h.ZP,siteDismissals:m.Z,sites:g.ZP,streams:y.ZP,tags:v.Z,thumbnails:b.Z,organizations:l.ZP}),_=(0,r.xi)("reader",w);e.Z=_},1788:function(t,e,n){"use strict";var r=n(78772),o=n(95884),i=n(92310);function s(t,e,n){const{siteId:r,postId:o,scope:s}=e.payload;return{...t,[(0,i.Jy)(r,o,s)]:n}}e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.Bi?s(t,e,e.payload.posts.map((t=>t.global_ID))):t},queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.Cm:return s(t,e,!0);case r.yZ:case r.Rn:return s(t,e,!1)}return t}})},92310:function(t,e,n){"use strict";n.d(e,{Jy:function(){return r}});function r(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${t}-${e}-${n}`}},92972:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);e.ZP=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.IJ:return{...t,[e.payload.siteId]:!0};case o.Qw:return(0,r.omit)(t,e.payload.siteId);case o.qY:return e.payload.is_blocked?{...t,[e.payload.ID]:!0}:t[e.payload.ID]?(0,r.omit)(t,e.payload.ID):t;case o.zF:{if(!e.payload||!e.payload.sites)return t;const n=(0,r.reduce)(e.payload.sites,((t,e)=>(t[e.ID]=!0,t)),{});return{...t,...n}}}return t},currentPage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0;return e.type===o.zF&&e.payload&&e.payload.page?e.payload.page:t},lastPage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.zF?!e.payload||!e.payload.page||e.payload.count>0?t:e.payload.page:t},inflightPages:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.zg:return e.payload&&e.payload.page?{...t,[e.payload.page]:!0}:t;case o.zF:return e.payload&&e.payload.page?(0,r.omit)(t,e.payload.page):t}return t}})},8614:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.Z=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.D8:return{...t,[e.payload.siteId]:!0};case r.K1:return{...t,[e.payload.siteId]:!0}}return t}})},63262:function(t,e,n){"use strict";n.d(e,{LV:function(){return o},N0:function(){return i},vE:function(){return s}});var r=n(78772);n(8681),n(35929);function o(t){return{type:r.LW,payload:{ID:t}}}function i(t){return{type:r.qY,payload:t}}function s(t,e){return{type:r.Fy,payload:t.payload,error:e}}},70418:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:function(t,e,n){"use strict";var r=n(92819),o=n(40997),i=n(47307),s=n(78772),u=n(29398),a=n(71085),c=n(95884),l=n(5259);function f(t,e){return e.error&&!(0,r.includes)([403,404,410],e.error.statusCode)?t:{...t,[e.payload.ID]:{ID:e.payload.ID,is_error:!0,error:e.error}}}function p(t,e){const n=(s=e.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...t,[e.payload.ID]:n}}const d=(0,u.G)(l.u,(0,a.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.zF:if(!e.payload||!e.payload.sites)return t;return{...(0,r.keyBy)(e.payload.sites,"ID"),...t};case s.qY:return p(t,e);case s.Fy:return f(t,e)}return t}),{serialize:t=>(0,r.omitBy)(t,"is_error")}));e.ZP=(0,c.U)({items:d,queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.LW:return{...t,[e.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(t,e.payload.ID)}return t},lastFetched:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===s.qY?{...t,[e.payload.ID]:Date.now()}:t}})},5259:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:function(t,e,n){"use strict";n.d(e,{_g:function(){return o}});n(92819),n(35929);const r=144e7;function o(t,e){const n=!t.reader.sites.queuedRequests[e],o=!function(t,e){return t.reader.sites.items[e]}(t,e);return n&&(o||function(t,e){const n=t.reader.sites.lastFetched[e];if(!n)return!0;return n<=Date.now()-r}(t,e))}},83530:function(t,e,n){"use strict";var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),u=n(78772),a=n(95884),c=n(15960),l=n(86115);const f=(t,e)=>{const[n,...r]=t;return t.length>0&&e(n)?[n,...f(r,e)]:[]},p=(t,e)=>f([...t].reverse(),e),d={lastUpdated:null,items:[]},h=(0,a.U)({items:function(){let t,e,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case u.pu:if(e=c.payload.gap,t=c.payload.streamItems,e){const n=f(a,(t=>!(0,s.NK)(t,e))),o=p(a,(t=>!(0,s.NK)(t,e)));if((0,s.NK)((0,r.last)(t),o[0])&&t.pop(),0===t.length)return[...n,...o];let u=[];const c=e.from,d=i()((0,r.last)(t).date);return c.isSame(d)||(u=[{isGap:!0,from:c,to:d}]),(0,l.E)([...n,...t,...u,...o])}return n=t.reduce(((t,e)=>!t.some((t=>(0,s.NK)(t,e)))?[...t,e]:t),a),o=(0,r.filter)(t,(t=>t.xPostMetadata)),o?(0,l.E)(n):n;case u.c7:return(0,l.E)([...c.payload.items,...a]);case u.K1:{const t=c.payload.postKey,e=(0,r.findIndex)(a,(e=>(0,s.NK)(e,t)));if(-1===e)return a;const n=[...a];return n[e]=n.pop(),n}}return a},pendingItems:function(){let t,e,n,o,s,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case u.pu:return t=c.payload.streamItems,0===t.length?a:(e=i()(t[0].date),a.lastUpdated&&e.isSameOrBefore(a.lastUpdated)?a:{...a,lastUpdated:e});case u.RN:return t=c.payload.streamItems,0===t.length?a:(e=i()(t[0].date),n=i()((0,r.last)(t).date),a.lastUpdated&&(t=t.filter((t=>i()(t.date).isAfter(a.lastUpdated)))),0===t.length?a:(o=[...t],s=(0,r.filter)(o,(t=>t.xPostMetadata)),s&&(o=(0,l.E)(o)),a.lastUpdated&&n.isAfter(a.lastUpdated)&&o.push({isGap:!0,from:a.lastUpdated,to:n}),{lastUpdated:e,items:o}));case u.c7:return{...a,items:[]}}return a},selected:function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case u._7:return n.payload.postKey;case u.l0:return t=(0,r.findIndex)(n.payload.items,(t=>(0,s.NK)(t,e))),t===n.payload.items.length-1?e:n.payload.items[t+1];case u.rC:return t=(0,r.findIndex)(n.payload.items,(t=>(0,s.NK)(t,e))),0===t?e:n.payload.items[t-1]}return e},lastPage:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===u.pu?0===e.payload.streamItems.length:t},isRequesting:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.CI:return t||!e.payload.isPoll&&!e.payload.isGap;case u.pu:return!1}return t},pageHandle:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type!==u.pu||!e.payload.pageHandle||e.payload.isPoll||e.payload.gap?t:e.payload.pageHandle}});e.ZP=(0,c.J)("payload.streamKey",h)},86115:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var r=n(92819),o=n(46310);const i=t=>t.reduce(((t,e)=>{const n=(0,r.last)(t);var i,s;return(0,o.qb)(n,e)?t[t.length-1]=(i=n,s=e,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):t.push(e),t}),[])},49054:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===r.Ep){let n=e.images;return t[e.tag]&&(n=t[e.tag].concat(e.images)),{...t,[e.tag]:n}}return t},requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.hB:case r._i:case r.Jx:return{...t,[e.tag]:e.type===r.hB}}return t}})},84668:function(t,e,n){"use strict";var r=n(92819),o=n(78772);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.fY:{const n=e.payload;if(!e.meta.resetFollowingData)return(0,r.merge)({},t,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(t,(t=>({...t,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=e.payload;return(0,r.merge)({},t,{[n]:{isFollowing:!1}})}}return t}},64805:function(t,e,n){"use strict";var r=n(95884),o=n(49054),i=n(84668);e.Z=(0,r.U)({images:o.ZP,items:i.Z})},39493:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.Z=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.CE?{...t,[e.embedUrl]:e.thumbnailUrl}:t}})},9044:function(t,e,n){"use strict";n.d(e,{P:function(){return s},x:function(){return u}});var r=n(86398);let o;const i=[];function s(t,e){o&&(0,r.Z)(),o=(0,r.l)(t,e);for(const[n,r]of i)o(n,r)}function u(t,e){o&&o(t,e),i.push([t,e])}},30963:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);n(91789);function o(t){return(0,r.get)(t,"ui.language.localeSlug",null)}},96767:function(t,e,n){"use strict";n(92819),n(28879)},87720:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(36747);function i(t){const e=(0,o.ts)(t);return(0,r.get)(e,"primary_blog",null)}},53843:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(37480);function o(t,e){return(0,r.Z)(t)[e]||null}},23047:function(t,e,n){"use strict";n(53843)},37480:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=Object.freeze({});function o(t){return t.sites.items||r}},16193:function(t,e,n){"use strict";var r=n(76678);n(65811);e.Z=t=>{const e=(0,r.I)(t);return e&&e.some((t=>t.isRefundable||"premium_theme"!==t.productSlug))}},28879:function(t,e,n){"use strict";n(92819)},87697:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});var r=n(56666),o=n(92819);class i{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=t}get(){return this.results}root(){return this.results.root}addRootResult(t,e){return this.addResult("root",t,e)}addKeyResult(t,e){return this.addResult(t,null,e)}addResult(t,e,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(t,e,n):this.addResult(r,null,n)})):e?(this.results[t]||(this.results[t]={}),this.results[t][e]=n):this.results[t]=n}}},40540:function(t,e,n){"use strict";n.d(e,{BU:function(){return a},LV:function(){return c}});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),u=(n(91668),n(96767),n(23047),n(84465));function a(){return t=>{t({type:s.M4_});const e=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:u.U,options:u.x,filters:e.length>0?e.join(","):void 0}).then((e=>{var n;t((n=e.sites,{type:s.xLe,sites:n})),t({type:s.KSQ})})).catch((e=>{t({type:s.eTV,error:e})}))}}function c(t){function e(e){const n={apiVersion:"1.2"};e&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(t).get(n)}return n=>{n({type:s.hJk,siteId:t});const r=e(!1).catch((t=>403===(null==t?void 0:t.status)&&"API calls to this blog have been disabled."===(null==t?void 0:t.message)?e(!0):Promise.reject(t)));return r.then((e=>{e&&e.capabilities&&n(function(t){return{type:s.UUJ,site:t}}((0,o.omit)(e,"_headers"))),n({type:s.Mvd,siteId:t})})).catch((()=>{n({type:s.uuM,siteId:t})})),r}}},92546:function(t,e,n){"use strict";var r=n(40211),o=n(95884);const i=t=>(e,n)=>{let{siteId:r}=n;return{...e,[r]:t}};e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===r.tvw){const{siteId:n,status:r}=e;return{...t,[n]:r}}return t},requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.U5d:return i(!0)(t,e);case r.QLz:case r.D5g:return i(!1)(t,e)}return t}})},84465:function(t,e,n){"use strict";n.d(e,{U:function(){return r},x:function(){return o}});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent"].join()},26171:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),u=n(35743);const a=(t,e,n,o)=>{const i=(0,r.find)(t[e],{domain:n}),s=t[e].indexOf(i),u=[...t[e]];return u.splice(s,1,Object.assign({},i,o)),Object.assign({},t,{[e]:u})},c=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const{siteId:n}=e;switch(e.type){case o.t2O:return Object.assign({},t,{[n]:e.domains});case o.DGo:return a(t,n,e.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return t}));e.ZP=(0,s.U)({errors:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.wOJ:case o.RI4:return Object.assign({},t,{[e.siteId]:null});case o.dyA:return Object.assign({},t,{[e.siteId]:e.error})}return t},items:c,requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.wOJ:case o.RI4:case o.dyA:return Object.assign({},t,{[e.siteId]:e.type===o.wOJ})}return t},updatingPrivacy:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},t,{[e.siteId]:{[e.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(e.type)}})}return t}})},35743:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:function(t,e,n){"use strict";n.d(e,{E:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(t,e,n){return Object.assign({},t,{[e]:Object.assign({},o,t[e],n)})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:e,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(e){case r.fa4:return i(t,n,{error:null,isRequesting:!0});case r.xNf:return i(t,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(t,n,{error:s,isRequesting:!1})}return t}},56733:function(t,e,n){"use strict";n.d(e,{P:function(){return r.Z}});n(47437);var r=n(6826)},47437:function(t,e,n){"use strict";n(4792)},6826:function(t,e,n){"use strict";var r=n(4792),o=n(20834),i=n(27246);e.Z=t=>{const e=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,e||0,t)))}},96829:function(t,e,n){"use strict";var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const u=(0,o.J)("siteId",((t,e)=>{let{type:n}=e;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return t})),a=(0,o.J)("siteId",((t,e)=>{let{type:n,payload:o}=e;return n===r.Kmp?o?(t=>{const e={};return t.forEach((t=>{e[t.product_id]=(t=>{let{currency_code:e,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:u}=t;return{currencyCode:e,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:u}})(t)})),e})(o):void 0:t}));e.ZP=(0,i.U)({requestStatus:u,items:a})},11900:function(t,e,n){"use strict";let r;n.d(e,{e:function(){return r}}),function(t){t.Pending="pending",t.Success="success",t.Failed="failed"}(r||(r={}))},20152:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(t,e,n){return Object.assign({},t,{[e]:Object.assign({},i,t[e],n)})}function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.gNn:return s(t,e.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(t,e.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:e.plans});case o.$MQ:return s(t,e.siteId,{error:e.error,isRequesting:!1});case o.XLI:return(0,r.omit)(t,e.siteId)}return t}},42935:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(t,e,n){return Object.assign({},t,{[e]:Object.assign({},o,t[e],n)})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.eO9:return i(t,e.siteId,{error:null,isRequesting:!0});case r.S3d:return i(t,e.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:e.products});case r.whB:return i(t,e.siteId,{error:e.error,isRequesting:!1})}return t}},82139:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(46505),s=n(29398),u=n(95884),a=n(92546),c=n(26171),l=n(22900),f=n(96829),p=n(20152),d=n(42935),h=n(43056);const m=(0,s.G)(h.K,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(null===t&&e.type!==o.UUJ&&e.type!==o.xLe)return null;switch(e.type){case o.Khp:{const n=t[e.siteId];return n?Object.assign({},t,{[e.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):t}case o.UUJ:case o.xLe:{const n=e.site?[e.site]:e.sites,i=o.xLe===e.type?{}:t;return(0,r.reduce)(n,((e,n)=>((0,r.isEqual)(e[n.ID],n)||(e===t&&(e={...t}),e[n.ID]=n),e)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(t,e.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=e,i=t[n];if(!i)break;return{...t,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=e,i=t[n];if(!i)return t;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((e,u)=>{if(!o.hasOwnProperty(u))return e;switch(u){case"blog_public":{const t=-1===parseInt(o.blog_public,10);if(i.is_private===t)return e;s={...s,is_private:t};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const t=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===t)return e;s={...s,is_coming_soon:t};break}case"site_icon":{const t=o.site_icon;if(!i.icon&&null===t||i.icon&&i.icon.media_id===t)return e;s=null===t?(0,r.omit)(s,"icon"):{...s,icon:{media_id:t}};break}}return e===t&&(e={...t}),e[n]=s,e}),t)}case o.aqr:{const{siteId:n,mediaIds:o}=e,i=(0,r.get)(t[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...t,[n]:(0,r.omit)(t[n],"icon")}:t}case o.U0$:{const{siteId:n}=e,o=(0,r.get)(t[n],"updates");return o?{...t,[n]:{...t[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:t}case o.uvG:{const{siteId:n,frontPageOptions:o}=e,i=t[n];if(!i)break;return{...t,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=e;if(!t[n])return t;const s=t[n].site_migration||{},u={status:o};return i&&(u.last_modified=i),{...t,[n]:{...t[n],site_migration:(0,r.merge)({},s,u)}}}}return t})),g=(0,s.G)(h.W,(function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.xLe||t}));e.ZP=(0,u.U)({connection:a.ZP,domains:c.ZP,requestingAll:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.M4_:return!0;case o.eTV:case o.KSQ:return!1}return t},introOffers:f.ZP,items:m,plans:p.z,products:d.R,features:l.E,requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.hJk:{const{siteId:n}=e;return{...t,[n]:!0}}case o.uuM:{const{siteId:n}=e;return{...t,[n]:!1}}case o.Mvd:{const{siteId:n}=e;return{...t,[n]:!1}}}return t},hasAllSitesList:g})},43056:function(t,e,n){"use strict";n.d(e,{K:function(){return r},W:function(){return o}});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(75134),o=n(27246),i=n(60222);function s(t,e){if(!(0,i.Z)(t,e))return null;if(!(0,r.Z)(t,e))return!1;const n=(0,o.Z)(t,e,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(27246),o=n(60222),i=n(57481);function s(t,e){if(!(0,o.Z)(t,e))return null;if((0,r.Z)(t,e,"is_multi_network"))return!1;if((0,i.Z)(t,e))return!1;const n=(0,r.Z)(t,e,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),u=n(60222);function a(t,e,n,a,c){if(!(0,u.Z)(t,e)){const o=(0,s.Z)(t,e),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:a,guide:c},i)}const l=(0,i.Z)(t,e,"customize.php");return l?(a||"undefined"==typeof window||(a=window.location.href),(0,r.Z)({return:a,...(0,o.t)(n),guide:c},l)):null}},15199:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(31716),o=n(75134),i=n(60222),s=n(47020),u=n(57481);function a(t,e){return(0,i.Z)(t,e)?{canAutoupdateFiles:(0,r.Z)(t,e),canUpdateFiles:(0,o.Z)(t,e),isMainNetworkSite:(0,s.Z)(t,e),isSecondaryNetworkSite:(0,u.Z)(t,e)}:{}}},96666:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(27246);function o(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(t,e,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:function(t,e,n){"use strict";var r=n(83685),o=n(37480),i=n(64802);e.Z=(0,r.P1)(((t,e)=>Object.values((0,o.Z)(t)).find((n=>(0,i.Z)(t,n.ID)===e))??null),(t=>[(0,o.Z)(t)]))},29926:function(t,e,n){"use strict";var r=n(83685),o=n(47307),i=n(37480);e.Z=(0,r.P1)((t=>{const e=Object.values((0,i.Z)(t));return e.filter((t=>{const n=(0,o.ce)(t.URL);return!t.jetpack&&e.some((t=>t.jetpack&&n===(0,o.ce)(t.URL)))})).map((t=>t.ID))}),i.Z)},84810:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(47307),o=n(53843),i=n(65663),s=n(27246),u=n(2062),a=n(64802),c=n(40877),l=n(60222),f=n(91608);function p(t,e){if(!(0,o.Z)(t,e))return null;const n={domain:(0,i.Z)(t,e),options:(0,u.Z)(t,e),slug:(0,a.Z)(t,e),title:(0,c.Z)(t,e)};return(0,s.Z)(t,e,"is_mapped_domain")&&!(0,l.Z)(t,e)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(t,e,"unmapped_url"))),(0,f.Z)(t,e)&&(n.URL=(0,s.Z)(t,e,"unmapped_url")),n}},65663:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(64802),u=n(91608);function a(t,e){if((0,i.Z)(t,e,"is_redirect")||(0,u.Z)(t,e))return(0,s.Z)(t,e);const n=(0,o.Z)(t,e);return n?(0,r.ce)(n.URL):null}},27246:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(2062);function o(t,e,n){const o=(0,r.Z)(t,e);return(null==o?void 0:o[n])??null}},2062:function(t,e,n){"use strict";var r=n(53843);const o=Object.freeze({});e.Z=(t,e)=>{const n=(0,r.Z)(t,e);return n?n.options||o:null}},64802:function(t,e,n){"use strict";var r=n(83685),o=n(47307),i=n(53843),s=n(37480),u=n(27246),a=n(2062),c=n(91608);e.Z=(0,r.P1)(((t,e)=>{const n=(0,i.Z)(t,e);return n?(0,u.Z)(t,e,"is_redirect")||(0,c.Z)(t,e)?(0,o.ce)((0,u.Z)(t,e,"unmapped_url")):(0,o.nq)(n.URL):null}),((t,e)=>[(0,s.Z)(t),(0,a.Z)(t,e)]))},40877:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(53843),o=n(65663);function i(t,e){const n=(0,r.Z)(t,e);return n?n.name?n.name.trim():(0,o.Z)(t,e):null}},78871:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let u=new WeakMap;function a(t,e){const n=(0,r.Z)(t,e)||(0,i.Z)(t,e);if(!n)return null;const a=u.get(n);if(a)return a;const c={...n,...(0,s.Z)(t,n.ID),...(0,o.Z)(t,n.ID)};return u.set(n,c),c}a.clearCache=()=>{u=new WeakMap}},79791:function(t,e,n){"use strict";function r(t){return!!t.sites.hasAllSitesList}n.d(e,{Z:function(){return r}})},47020:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function u(t,e){const n=(0,o.Z)(t,e);if(!n||!(0,s.Z)(t,e))return null;if(!n.is_multisite)return!1;const u=(0,i.Z)(t,e,"unmapped_url"),a=(0,i.Z)(t,e,"main_network_site");return!(!u||!a)&&(0,r.ce)(u)===(0,r.ce)(a)}},57481:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function u(t,e){const n=(0,o.Z)(t,e);if(!n||!(0,s.Z)(t,e))return null;if(!n.is_multisite)return!1;const u=(0,i.Z)(t,e,"unmapped_url"),a=(0,i.Z)(t,e,"main_network_site");return!(!u||!a)&&(0,r.ce)(u)!==(0,r.ce)(a)}},60222:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(53843);function o(t,e){const n=(0,r.Z)(t,e);return n?n.jetpack:null}},58863:function(t,e,n){"use strict";function r(t,e){return!!t.sites.requesting[e]}n.d(e,{Z:function(){return r}})},52239:function(t,e,n){"use strict";function r(t){return!!t.sites.requestingAll}n.d(e,{Z:function(){return r}})},91608:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(29926);function o(t,e){return(0,r.Z)(t).includes(e)}},46505:function(t,e,n){"use strict";n.d(e,{hX:function(){return r},K6:function(){return o}});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],u={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},a=(c=[t=>u.hasOwnProperty(t.type)&&("function"!=typeof u[t.type]||u[t.type](t)),t=>(0,r.get)(t,"meta.analytics",[]).some((t=>s.includes(t.payload.name)))],t=>c.some((e=>e(t))));var c;const l=t=>({...t,timestamp:Date.now()}),f=(t,e)=>e?[...t,e].slice(-50):t;e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return a(e)?f(t,l(e)):t}},71799:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(40211);n(91789);function o(t){return{type:r.bgv,siteId:t}}},46117:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:e}=arguments.length>1?arguments[1]:void 0;return e===r.JYg||t}},1184:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:e,isVisible:n}=arguments.length>1?arguments[1]:void 0;return e===r.Fux?n:t}},57718:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(t=n.section)||void 0===t||!t.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?e:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""}));e.Z=(0,i.U)({upgradeIntent:s})},87316:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:e,value:n}=arguments.length>1?arguments[1]:void 0;return e===r.xm0?n:t}},91789:function(t,e,n){"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=arguments.length>1?arguments[1]:void 0;return e.type===o.JqF?{localeSlug:e.localeSlug,localeVariant:e.localeVariant}:t}},48659:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(40211);const o={current:"content",next:null};function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.kUt:return e.area===t.current?t:Object.assign({},t,{current:e.area});case r.vO0:return e.area===t.next?t:Object.assign({},t,{next:e.area});case r.XTm:{let e=t.next;return e||"content"===t.current||(e="content"),e?Object.assign({},t,{current:e,next:null}):t}}return t}},31175:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:e,isVisible:n}=arguments.length>1?arguments[1]:void 0;return e===r.NnF?n:t}},30592:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.Z=(0,o.U)({view:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.WkZ?e.view:t}})},45405:function(t,e,n){"use strict";var r=n(40211);const o={postIdWithActiveSharePanel:null};e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.KF6:return{...t,postIdWithActiveSharePanel:null};case r.WYe:return t.postIdWithActiveSharePanel===e.postGlobalId?{...t,postIdWithActiveSharePanel:null}:{...t,postIdWithActiveSharePanel:e.postGlobalId}}return t}},37508:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.ZP=(0,o.U)({currentPreviewSiteId:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.dGx?e.siteId??null:t},currentPreviewUrl:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.dGx:return e.url;case r.kLL:return null}return t}})},74307:function(t,e,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),u=n(50425),a=n(46117),c=n(1184),l=n(57718),f=n(87316),p=n(28958),d=n(48659),h=n(31175),m=n(30592),g=n(45405),y=n(37508),v=n(77027);const b=(0,i.G)({type:["number","null"]},(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.bgv?e.siteId||null:t})),w=(0,i.G)({type:"boolean"},(function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.bgv||t}));const _=(0,s.U)({actionLog:u.Z,appBannerVisibility:c.Z,appBannerDismissed:a.Z,helpCenterVisible:f.Z,checkout:l.Z,isSectionLoading:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.Nq?e.isSectionLoading:t},isNotificationsOpen:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:e}=arguments.length>1?arguments[1]:void 0;return e===o.hxz?!t:t},language:p.Z,layoutFocus:d.Z,masterbarVisibility:h.Z,mediaModal:m.Z,postTypeList:g.Z,preview:y.ZP,section:v.Z,selectedSiteId:b,siteSelectionInitialized:w});e.ZP=(0,r.xi)("ui",_)},9817:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r=n(40211);n(91789);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,type:r.IK5};return t&&(n.section=t),n}},77027:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(40211);function o(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.IK5&&void 0!==e.section?e.section:t}},73041:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(75149);function i(t){return(0,r.get)((0,o.Z)(t),"name",null)}},75149:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});n(91789);function r(t){return t.ui.section||!1}},20834:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});n(91789);function r(t){return t.ui.selectedSiteId}},17014:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(78871),o=n(20834);function i(t){const e=(0,o.Z)(t);return e?(0,r.Z)(t,e):null}},90924:function(t,e,n){"use strict";n.d(e,{f:function(){return r}});const r=t=>(e,n)=>{const r=t(e,n);let o=e;return{...r,addReducer:function(t,e){o=o.addReducer(t,e),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:function(t,e,n){"use strict";n.d(e,{J:function(){return u}});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const u=(t,e)=>{if("string"!=typeof t)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof t);if(!t.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof e)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof e);const n=e(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,t,void 0);if(null==s)return o;const u=o[s],a=e(u,i);return a===u?o:void 0===a||(0,r.isEqual)(a,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:a}}),{serialize:t=>(0,r.reduce)(t,((t,s,u)=>{const a=(0,i.q)(e,s);return void 0===a||(0,r.isEqual)(a,n)||(t||(t=new o._),t.addRootResult(u,a)),t}),void 0),deserialize:t=>(0,r.omitBy)((0,r.mapValues)(t,(t=>(0,i.v)(e,t))),(t=>void 0===t||(0,r.isEqual)(t,n)))})}},95884:function(t,e,n){"use strict";n.d(e,{U:function(){return a}});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),u=n(69909);function a(t){const e=(0,o.UY)(t),n=(n,o)=>o.type===i.gm2?function(t,e,n){let o=!1;const i=(0,r.mapValues)(t,((t,i)=>{if(t.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(e,i),u=t(s,n);return o=o||u!==s,u}));return o?i:e}(t,n,o):e(n,o);return n.serialize=e=>function(t,e){if(void 0===e)return;return(0,r.reduce)(t,((t,n,r)=>{const o=(0,u.q)(n,e[r]);return void 0!==o&&(t||(t=new s._),n.storageKey?t.addKeyResult(n.storageKey,o):t.addRootResult(r,o)),t}),void 0)}(t,e),n.deserialize=e=>function(t,e){return(0,r.mapValues)(t,((t,n)=>(0,u.v)(t,null==e?void 0:e[n])))}(t,e),n.addReducer=function(t,e){return(n,r)=>{const[o,...i]=n,s=e[o];let u;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");u=s.addReducer(i,r)}else u=i.reduceRight(((t,e)=>a({[e]:t})),r);const c=a({...e,[o]:u});return c.storageKey=t.storageKey,c}}(n,t),n.getStorageKeys=function(t){return function*(){for(const e of Object.values(t))e.storageKey&&(yield{storageKey:e.storageKey,reducer:e}),e.getStorageKeys&&(yield*e.getStorageKeys())}}(t),n}},29398:function(t,e,n){"use strict";n.d(e,{G:function(){return l}});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),u=n(69909),a=n(71085);function c(t,e,n){const o=(0,u.q)(e,(0,r.aY)(e));return!!(0,s.isEqual)(n,o)||function(t,e,n){return i()(e,{greedy:!1,verbose:!1})(t)}(n,t)}const l=(t,e)=>{const n=(0,a.$)(e);return(0,a.$)(n,{deserialize:e=>void 0===e?(0,r.aY)(n):c(t,n,e)?(0,u.v)(n,e):(0,r.aY)(n)})}},69909:function(t,e,n){"use strict";n.d(e,{q:function(){return o},v:function(){return i}});var r=n(83685);function o(t,e){if(t.serialize)return t.serialize(e)}function i(t,e){return t.deserialize?t.deserialize(e):(0,r.aY)(t)}},71085:function(t,e,n){"use strict";function r(t){let{serialize:e,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.bind(null);return r.serialize=e||t.serialize||(t=>t),r.deserialize=n||t.deserialize||(t=>t),r}n.d(e,{$:function(){return r}})},36115:function(t,e,n){"use strict";n.d(e,{vX:function(){return r.Z},ts:function(){return o.t},P6:function(){return i.P6},w2:function(){return i.w2},jN:function(){return i.jN},$A:function(){return i.$A},MB:function(){return i.MB},di:function(){return i.di},MR:function(){return i.MR},lH:function(){return i.lH}});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:function(t,e,n){"use strict";n.d(e,{i:function(){return i}});let r=null,o=0;function i(t){const e={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${t}(${o+1})`};return r=t,o++,e}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:function(t,e,n){"use strict";n.d(e,{lH:function(){return g},MR:function(){return y},di:function(){return v},MB:function(){return b},$A:function(){return w},jN:function(){return _},P6:function(){return E},w2:function(){return S}});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),u=n(29377),a=n(36209),c=n(19358),l=n(21694);const f=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let p,d=Promise.resolve();function h(t){if("undefined"==typeof window)return"";t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(window.location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function m(){return d.catch((()=>{let t,e;const n=(0,a.t)();if(n&&n.ID)t="wpcom:user_id",e=n.ID;else if(t=h("_ut")||"anon",e=h("_ui"),!e){const t=i.parse(document.cookie);if(t.tk_ai)e=t.tk_ai;else{e=function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(t=new Uint8Array(e),window.crypto.getRandomValues(t)):t=(0,s.times)(e,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...t)))}(18),document.cookie=i.serialize("tk_ai",e)}}return(0,c.Z)("Loading /nostats.js",{_ut:t,_ui:e}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(t)+"&_ui="+encodeURIComponent(e))}))}function g(t){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(t))}"undefined"!=typeof document&&(d=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function b(t,e){return"function"==typeof e&&((0,c.Z)("superProps",e),p=e),"object"==typeof t&&((0,c.Z)("identifyUser",t),w(t)),(0,c.Z)("checkForBlockedTracks"),m()}function w(t){if("object"!=typeof t)return void(0,c.Z)("Invalid userData.",t);const e=(0,a.l)(t);e?((0,c.Z)("Tracks identifyUser.",e),g(["identifyUser",e.ID,e.username])):(0,c.Z)("Insufficient userData.",t)}function _(t,e){if(e=e||{},(0,c.Z)('Record event "%s" called with props %o',t,e),t.startsWith("calypso_")||(0,s.includes)(f,t)){if(p){const t=p(e);e={...e,...t}}e=(0,s.omitBy)(e,(t=>void 0===t)),(0,c.Z)('Recording event "%s" with actual props %o',t,e),g(["recordEvent",t,e]),y.emit("record-event",t,e)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(t,e){(0,c.Z)("Recording pageview in tracks.",t,e);let n={do_not_track:(0,l.Z)()?1:0,path:t};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),e&&(n=Object.assign(n,e)),"undefined"!=typeof window&&window.location){const t=new URL(window.location.href).searchParams,e=t&&Array.from(t.entries()).filter((t=>{let[e]=t;return e.startsWith("utm_")})),r=e?Object.fromEntries(e):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(t,e){const n=(0,u.i)(t);E(t,Object.assign(e||{},n))}},73722:function(t,e,n){"use strict";n(59792)},36209:function(t,e,n){"use strict";n.d(e,{t:function(){return i},l:function(){return s}});var r=n(40004);let o;function i(){return o}function s(t){if(t.ID&&!isNaN(parseInt(t.ID,10))&&t.username&&t.email)return o={ID:parseInt(t.ID,10),username:t.username,email:t.email,hashedPii:{ID:(0,r.Z)(t.ID),username:(0,r.Z)(t.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(t.email.toLowerCase().replace(/\s/g,""))}},o}},19358:function(t,e,n){"use strict";var r=n(38049),o=n.n(r);e.Z=o()("calypso:analytics")},21694:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19358);function o(){const t=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${t}`),t}},40004:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(68032),o=n.n(r);function i(t){return o()().update(t.toString()).digest("hex")}},29770:function(t,e){"use strict";const n={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},r={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1};e.Z=t=>((t=Object.assign(t,n)).features&&(t.features=Object.assign(t.features,r)),window.electron&&window.electron.features&&(t.features=Object.assign(t.features,window.electron.features)),t)},20899:function(t,e,n){"use strict";n.d(e,{_k:function(){return f}});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window||!window.configData)throw new ReferenceError("No configuration was found: please see packages/calypso-config/README.md for more information");const s=void 0!==window.electron;let u;u=s?(0,i.Z)(window.configData):window.configData;const a=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(t,e){t.split(",").forEach((t=>{const n=t.replace(/^[-+]/,""),r=!/^-/.test(t);u.features&&(u.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",e,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(u.env_id)||"undefined"!=typeof window&&a.test(window.location.host)){const t=o.parse(document.cookie);t.flags&&c(t.flags,"cookie");try{const t=window.sessionStorage.getItem("flags");t&&c(t,"sessionStorage")}catch(p){}const e=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);e&&c(decodeURIComponent(e[1]),"URL")}const l=(0,r.Z)(u);e.ZP=l;const f=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:function(t,e,n){"use strict";n(65688),n(46106)},21862:function(t,e,n){"use strict";n.d(e,{wJ_:function(){return o},Ai8:function(){return i},Eb2:function(){return s},gqo:function(){return u},c74:function(){return a},jDM:function(){return c},Zaf:function(){return l},KlX:function(){return f},W4b:function(){return p},E5t:function(){return d},SLH:function(){return h},gI6:function(){return m},U_2:function(){return g},n_S:function(){return y},dmM:function(){return v},IhT:function(){return b},vkU:function(){return w},N5t:function(){return _},HPg:function(){return E},J8D:function(){return S},oGd:function(){return I},MOV:function(){return P},Vms:function(){return k},$G1:function(){return O},ggN:function(){return A},Tez:function(){return C},Xk_:function(){return T},iTE:function(){return R},QNW:function(){return x},XMd:function(){return Z},Ej:function(){return j},Q3C:function(){return D},B2h:function(){return L},xjj:function(){return U},V09:function(){return F},Tmz:function(){return N},Zjz:function(){return q},Vml:function(){return M},Uwp:function(){return B},igx:function(){return $},VyO:function(){return H},Z5U:function(){return V},PUy:function(){return W},jSq:function(){return z},vEX:function(){return G},MCU:function(){return Q},Q1W:function(){return Y},fhe:function(){return K},SZ6:function(){return J},Tx8:function(){return X},sYz:function(){return tt},ljn:function(){return et},vqo:function(){return nt},R2o:function(){return rt},EBu:function(){return ot},EDT:function(){return it},q4V:function(){return st},fp6:function(){return ut},cWM:function(){return at},_3A:function(){return ct},QfP:function(){return lt},oaT:function(){return ft},$NZ:function(){return pt},wwD:function(){return dt},rlg:function(){return ht},F$l:function(){return mt},gRD:function(){return gt},V37:function(){return yt},s1f:function(){return vt},_sL:function(){return bt},nsi:function(){return wt},L2_:function(){return _t},$PM:function(){return Et},Rp9:function(){return St},$QL:function(){return It},zQV:function(){return Pt},vQ$:function(){return kt},E30:function(){return Ot},m1c:function(){return At},wUt:function(){return Ct},ALM:function(){return Tt},okS:function(){return Rt},$xY:function(){return xt},$23:function(){return Zt},Xif:function(){return jt},Do2:function(){return Dt},$vg:function(){return Lt},kI:function(){return Ut},DwI:function(){return Ft},csF:function(){return Nt},afj:function(){return qt},HpB:function(){return Mt},w7L:function(){return Bt},oIe:function(){return $t},XgZ:function(){return Ht},CtJ:function(){return Vt},n$d:function(){return Wt},dZ$:function(){return zt},X2I:function(){return Gt},rDn:function(){return Qt},$4:function(){return Yt},V1k:function(){return Kt},TBQ:function(){return Jt},s4b:function(){return Xt},TZT:function(){return te},$pY:function(){return ee},mX4:function(){return ne},tS0:function(){return re},L2R:function(){return oe},V1I:function(){return ie},FR0:function(){return se},zrQ:function(){return ue},T$h:function(){return ae},lv3:function(){return ce},ewW:function(){return le},GwK:function(){return fe},w6W:function(){return pe},liF:function(){return de},DJ3:function(){return he},xlk:function(){return me},VZW:function(){return ge},sQp:function(){return ye},lYf:function(){return ve},$mN:function(){return be},JqD:function(){return we},bHF:function(){return _e},XZZ:function(){return Ee},vje:function(){return Se},S_M:function(){return Ie},yjN:function(){return Pe},iC0:function(){return ke},rdd:function(){return Oe},bJv:function(){return Ae},ops:function(){return Ce},x_7:function(){return Te},fDA:function(){return Re},SsD:function(){return xe},O05:function(){return Ze},hH1:function(){return je}});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",u="jetpack-essential",a="jetpack-advanced",c="free-themes",l="1gb-storage",f="3gb-storage",p="6gb-storage",d="13gb-storage",h="50gb-storage",m="200gb-storage",g="community-support",y="email-support",v="email-live-chat-support-business-days",b="email-live-chat-support-all-days",w="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",I="basic-design",P="advanced-design",k="google-analytics",O="cloudflare-analytics",A="google-my-business",C="live-chat-support",T="no-adverts",R="video-upload",x="video-upload-jetpack-pro",Z="audio-upload",j="wordads-instant",D="no-wp-branding",L="advanced-seo",U="upload-plugins",F="install-plugins",N="upload-themes",q="republicize",M="simple-payments",B="all-free-features",$="all-free-features-jetpack",H="all-personal-features",V="all-premium-features",W="all-premium-features-jetpack",z="advanced-customization",G="upload-themes-and-plugins",Q="free-custom-domain",Y="free-blog-domain",K="email-support-signup",J="monetise-your-site",X="earn-ad-revenue",tt="wordpress-subdomain-signup",et="advanced-seo-tools",nt="advanced-seo-expanded-abbreviation",rt="free-themes-signup",ot="memberships",it="premium-content-block",st="hosting",ut="premium-design-for-stores",at="sftp-and-database-access",ct="site-backups-and-restore",lt="unlimited-premium-themes",ft="free-professional-email-trial",pt="blank-feature",dt="standard-security-tools",ht="site-stats",mt="traffic-tools",gt="jetpack-manage",yt="spam-akismet-plus",vt="offsite-backup-vaultpress-daily",bt="offsite-backup-vaultpress-realtime",wt="backup-archive-30",_t="backup-archive-unlimited",Et="backup-storage-space-unlimited",St="automated-restores",It="easy-site-migration",Pt="malware-scanning-daily",kt="malware-scanning-daily-and-on-demand",Ot="one-click-threat-resolution",At="automatic-security-fixes",Ct="site-activity-log",Tt="free-wordpress-themes",Rt="seo-preview-tools",xt="accept-payments",Zt="shipping-carriers",jt="unlimited-products-service",Dt="ecommerce-marketing",Lt="premium-customizable-themes",Ut="all-business-features",Ft="backup-daily-v2",Nt="backup-realtime-v2",qt="product-backup-daily-v2",Mt="product-backup-realtime-v2",Bt="scan-v2",$t="product-scan-daily-v2",Ht="product-scan-realtime-v2",Vt="antispam-v2",Wt="activity-log-1-year-v2",zt="product-search-v2",Gt="security-daily",Qt="crm-v2",Yt="collect-payments-v2",Kt=r.K$,Jt=r.Sj,Xt=r.JD,te=r.AY,ee=r.oe,ne=r.rx,re=r.EI,oe=r.uL,ie=r.pE,se=r.sY,ue=r.Sm,ae=r.PF,ce=r.DH,le=r.XG,fe=r.nN,pe=r.AK,de=r.Ve,he=r.vM,me="jetpack-real-time-malware-scanning",ge="jetpack-product-backup",ye="jetpack-product-videopress",ve="jetpack-all-backup-security-features",be="p2-3gb-storage",we="p2-unlimited-users",_e="p2-unlimited-posts-pages",Ee="p2-simple-search",Se="p2-customization-options",Ie="p2-13gb-storage",Pe="p2-advanced-search",ke="p2-video-sharing",Oe="p2-more-file-types",Ae="p2-priority-chat-email-support",Ce="p2-activity-overview",Te="payment-blocks",Re="titan-email",xe="unlimited-admins",Ze="woocommerce",je="social-media-tools"},25432:function(t,e,n){"use strict";n.d(e,{tb:function(){return r},y6:function(){return o}});const r="gapps",o="gapps_unlimited"},90892:function(t,e,n){"use strict";n.d(e,{mk:function(){return o},oe:function(){return u},rx:function(){return a},EI:function(){return c},uL:function(){return l},pE:function(){return f},sY:function(){return p},Sm:function(){return d},PF:function(){return h},DH:function(){return m},XG:function(){return g},Ve:function(){return y},vM:function(){return v},nN:function(){return _},AK:function(){return E},K$:function(){return S},JD:function(){return I},Sj:function(){return P},AY:function(){return k},lj:function(){return x},ap:function(){return Z},ns:function(){return j},Xz:function(){return D},p2:function(){return L},NJ:function(){return U},yY:function(){return F},Et:function(){return N},w2:function(){return q},s1:function(){return M},aS:function(){return B},th:function(){return $},JX:function(){return H},Vl:function(){return V},Dl:function(){return W},jI:function(){return z},G$:function(){return G},$U:function(){return Q},jj:function(){return Y}});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",u="jetpack_backup_t1_yearly",a="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",f="jetpack_scan",p="jetpack_scan_monthly",d="jetpack_anti_spam",h="jetpack_anti_spam_monthly",m="jetpack_search",g="jetpack_search_monthly",y="jetpack_crm",v="jetpack_crm_monthly",b="jetpack_crm_free",w="jetpack_crm_free_monthly",_="jetpack_videopress",E="jetpack_videopress_monthly",S="jetpack_backup_daily",I="jetpack_backup_realtime",P="jetpack_backup_daily_monthly",k="jetpack_backup_realtime_monthly",O=[...[S,I,u,c],...[P,k,a,l]],A=[i,s],C=[f,p,"jetpack_scan_realtime","jetpack_scan_realtime_monthly"],T=[d,h],R=[m,g,r.AY,r.MY],x=(r.AY,r.MY,"jetpack_free"),Z="jetpack_personal",j="jetpack_personal_monthly",D="jetpack_premium",L="jetpack_premium_monthly",U="jetpack_business",F="jetpack_business_monthly",N="jetpack_security_t1_yearly",q="jetpack_security_t1_monthly",M="jetpack_security_t2_yearly",B="jetpack_security_t2_monthly",$="jetpack_complete",H="jetpack_complete_monthly",V="jetpack_security_daily",W="jetpack_security_daily_monthly",z="jetpack_security_realtime",G="jetpack_security_realtime_monthly",Q=[Z,j,U,F,D,L],Y=[V,W,z,G,N,q,M,B],K=[$,H],J=[...Y,...K],X=[{yearly:$,monthly:H},{yearly:V,monthly:W},{yearly:z,monthly:G},{yearly:N,monthly:q},{yearly:M,monthly:B}]},73239:function(t,e,n){"use strict";n.d(e,{ob:function(){return r},w$:function(){return o},SU:function(){return i}});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:function(t,e,n){"use strict";n.d(e,{UH:function(){return r},M6:function(){return o},mV:function(){return i},Kb:function(){return s},Qj:function(){return u},h7:function(){return a},VH:function(){return c},VP:function(){return l},w:function(){return f},$h:function(){return p},L7:function(){return d},QI:function(){return h},qC:function(){return m},lY:function(){return g}});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",u="TYPE_BUSINESS",a="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",f="TYPE_SECURITY_T1",p="TYPE_SECURITY_T2",d="TYPE_ALL",h="TYPE_P2_PLUS",m="TYPE_FLEXIBLE",g="TYPE_PRO"},77904:function(t,e,n){"use strict";n.d(e,{w9:function(){return r},AY:function(){return o},MY:function(){return i},Wg:function(){return s},p7:function(){return u},j2:function(){return a},OE:function(){return c},xf:function(){return l},G6:function(){return f},wm:function(){return p},sy:function(){return d},Qm:function(){return h},TW:function(){return m},uS:function(){return g},lv:function(){return y},JA:function(){return v},f3:function(){return b},_d:function(){return w},Ml:function(){return _},A2:function(){return E},Cq:function(){return S},_s:function(){return I}});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",u="business-bundle",a="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",f="value_bundle-2y",p="personal-bundle-monthly",d="personal-bundle",h="personal-bundle-2y",m="blogger-bundle",g="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",b="ecommerce-bundle-2y",w="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",I="pro-plan"},10128:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(25432);function o(t){return[r.tb,r.y6].includes(t)}},4112:function(t,e,n){"use strict";n.d(e,{pl:function(){return u},$J:function(){return a}});var r=n(5085),o=n(77904),i=n(25192);function s(t){return"string"!=typeof t?Object.values(i.E).includes(t)?t:void 0:i.E[t]}function u(t){return c(t,{type:r.Qj,group:o.w9})}function a(t){return c(t,{type:r.h7,group:o.w9})}function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(e).filter((t=>!n.includes(t)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=s(t);return!!o&&!("type"in e&&o.type!==e.type||"group"in e&&o.group!==e.group||"term"in e&&o.term!==e.term)}},25192:function(t,e,n){"use strict";n.d(e,{E:function(){return x}});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),u=n(21862),a=n(77904),c=n(5085),l=n(90892);function f(t){return!!t}function p(t){return t.filter(f)}const d=()=>i.ZP.translate("per month, billed annually"),h=()=>i.ZP.translate("/month, billed every two years"),m=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),g=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),y=()=>({getAnnualPlansOnlyFeatures:()=>[u.MCU,u.Eb2,u.IhT,u.dmM,u.Tez,u.N5t,u.vkU]}),v={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},b=()=>({...y(),group:a.w9,type:c.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",v),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[u.Ai8,u.gqo,u.n_S,u.jDM,u.oGd,u.W4b,u.Xk_,u.EBu,u.EDT],getSignupFeatures:()=>[u.fhe,u.Ai8,u.Uwp],getBlogSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[]}),w=()=>({...y(),group:a.w9,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",v),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:function(t){let{isProfessionalEmailPromotionAvailable:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,e&&u.oaT,u.q4V,u.gqo,u.n_S,u.jDM,u.oGd,u.W4b,u.Xk_,u.EBu,u.EDT])},getSignupFeatures:()=>[u.MCU,u.fhe,u.jDM],getBlogSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[]}),_=()=>({...y(),group:a.w9,type:c.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",v),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.vkU,e&&u.n_S,u.q4V,u.c74,!e&&u.IhT,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.gI6,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.Q3C,u.$xY,u.$23,u.Xif,u.Do2,u.$vg])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.MOV],getSignupFeatures:()=>[u.$xY,u.$23,u.kI],getBlogSignupFeatures:()=>[u.$xY,u.$23,u.kI],getPortfolioSignupFeatures:()=>[u.$xY,u.$23,u.kI],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM,u.$xY,u.$23,u.fp6].filter(f),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.vEX,u.HPg,u.okS],getInferiorFeatures:()=>[]}),E=()=>({...y(),group:a.w9,type:c.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",v),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.N5t,e&&u.n_S,u.q4V,u.gqo,!e&&u.dmM,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.E5t,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE])},getPromotedFeatures:()=>[u.Eb2,u.Xk_,u.MOV,u.E5t],getSignupFeatures:()=>[u.N5t,u.jSq,u.VyO],getBlogSignupFeatures:()=>[u.SZ6,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(f),getPortfolioSignupFeatures:()=>[u.jSq,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(f),getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.N5t,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms].filter(f),getIncludedFeatures:()=>[u.XMd,u.$G1],getInferiorFeatures:()=>[]}),S=()=>({...y(),group:a.w9,type:c.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",v),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.vkU,e&&u.n_S,u.q4V,u.c74,!e&&u.IhT,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.gI6,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.Q3C])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.MOV,u.iTE],getSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getBlogSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getPortfolioSignupFeatures:()=>[u.vEX,u.gI6,u.Z5U],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM].filter(f),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.HPg,u.okS],getInferiorFeatures:()=>[]}),I=()=>({group:l.mk,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:t=>[l.lj].includes(t),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",v),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[u.DwI,u.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.V1k,u.TBQ,u.zrQ,u.T$h,u.okS,u.B2h,u.s1f,u.V37,u.wUt,u.J8D,u.igx]}),P=()=>({group:l.mk,type:c.Kb,availableFor:t=>[l.lj,l.ap,l.ns].includes(t),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",v),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[u.DwI,u.w7L,u.CtJ],getIncludedFeatures:()=>p([u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.zQV,u.B2h,u.Vms,u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.okS,u.s1f,u.V37,u.zQV,u.m1c,u.QNW,u.Ej,u.B2h,u.igx])}),k=()=>({group:l.mk,type:c.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:t=>[l.lj,l.Xz,l.p2,l.ap,l.ns].includes(t),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",v):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",v),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[u.csF,u.XgZ,u.CtJ],getIncludedFeatures:()=>p([u._sL,u.L2_,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.vQ$,u.E30,u.B2h,u.Vms,u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.okS,u._sL,(0,o._k)("themes/premium")?u.QfP:null,u.PUy]),getInferiorFeatures:()=>[u.V1k,u.TBQ]}),O=()=>({group:l.mk,type:c.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:t=>[l.lj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including Backup, Scan, Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[u.afj,u.oIe,u.CtJ],getIncludedFeatures:()=>[u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.nsi,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D]}),A=()=>({group:l.mk,type:c.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:t=>[l.lj,l.Vl,l.Dl,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[u.X2I,u.HpB,u.XgZ,u.n$d],getIncludedFeatures:()=>[u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),C=()=>({group:l.mk,type:c.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:t=>[l.lj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getPlanCardFeatures:()=>[u.VZW,u.xlk,u.CtJ],getIncludedFeatures:()=>[u.$pY,u.mX4,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ]}),T=()=>({...C(),type:c.$h,getIncludedFeatures:()=>[u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),R=()=>({group:l.mk,type:c.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:t=>[l.lj,...l.jj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[u.lYf,u.sQp,u.dZ$,u.rDn],getIncludedFeatures:()=>p([u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.lv3,u.ewW,u.liF,u.DJ3,u.L2_,u.QNW,u.GwK,u.w6W,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,(0,o._k)("themes/premium")?u.QfP:null,u.J8D]),getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),x={[a._d]:{group:a.w9,type:c.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>a._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[u.wJ_,u.gqo,u.U_2,u.jDM,u.oGd,u.KlX],getSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBlogSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getPortfolioSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[]},[a.TW]:{...b(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d].includes(t),getProductId:()=>1010,getStoreSlug:()=>a.TW,getPathSlug:()=>"blogger"},[a.uS]:{...b(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW].includes(t),getProductId:()=>1030,getStoreSlug:()=>a.uS,getPathSlug:()=>"blogger-2-years"},[a.wm]:{...w(),...g(),availableFor:t=>[a._d,a.TW,a.uS].includes(t),getProductId:()=>1019,getStoreSlug:()=>a.wm,getPathSlug:()=>"personal-monthly"},[a.sy]:{...w(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm].includes(t),getProductId:()=>1009,getStoreSlug:()=>a.sy,getPathSlug:()=>"personal"},[a.Qm]:{...w(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy].includes(t),getProductId:()=>1029,getStoreSlug:()=>a.Qm,getPathSlug:()=>"personal-2-years"},[a.OE]:{...E(),...g(),availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm].includes(t),getProductId:()=>1013,getStoreSlug:()=>a.OE,getPathSlug:()=>"premium-monthly"},[a.xf]:{...E(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE].includes(t),getProductId:()=>1003,getStoreSlug:()=>a.xf,getPathSlug:()=>"premium"},[a.G6]:{...E(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf].includes(t),getProductId:()=>1023,getStoreSlug:()=>a.G6,getPathSlug:()=>"premium-2-years"},[a.Wg]:{...S(),...g(),availableFor:t=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6].includes(t),getProductId:()=>1018,getStoreSlug:()=>a.Wg,getPathSlug:()=>"business-monthly"},[a.p7]:{...S(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg].includes(t),getProductId:()=>1008,getStoreSlug:()=>a.p7,getPathSlug:()=>"business"},[a.j2]:{...S(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.p7,a.Wg].includes(t),getProductId:()=>1028,getStoreSlug:()=>a.j2,getPathSlug:()=>"business-2-years"},[a.lv]:{..._(),...g(),availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2].includes(t),getProductId:()=>1021,getStoreSlug:()=>a.lv,getPathSlug:()=>"ecommerce-monthly"},[a.JA]:{..._(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2,a.lv].includes(t),getProductId:()=>1011,getStoreSlug:()=>a.JA,getPathSlug:()=>"ecommerce"},[a.f3]:{..._(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2,a.lv,a.JA].includes(t),getProductId:()=>1031,getStoreSlug:()=>a.f3,getPathSlug:()=>"ecommerce-2-years"},[l.lj]:{term:s.w$,group:l.mk,type:c.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>l.lj,getTagline:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e=t.some((t=>[u.V1k,u.TBQ,u.s4b,u.TZT,u.$pY,u.mX4,u.tS0,u.L2R].includes(t))),n=t.some((t=>[u.V1I,u.FR0].includes(t)));return e&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):e?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[u.wwD,u.rlg,u.F$l,u.gRD,u.B2h,u.okS,u.ALM,u.rlg,u.wwD,u.F$l,u.$NZ]},[l.Xz]:{...P(),...m(),getProductId:()=>2e3,getStoreSlug:()=>l.Xz,getPathSlug:()=>"premium"},[l.p2]:{...P(),...g(),getProductId:()=>2003,getStoreSlug:()=>l.p2,getPathSlug:()=>"premium-monthly"},[l.ap]:{...I(),...m(),getProductId:()=>2005,getStoreSlug:()=>l.ap,getPathSlug:()=>"jetpack-personal"},[l.ns]:{...I(),...g(),getProductId:()=>2006,getStoreSlug:()=>l.ns,getPathSlug:()=>"jetpack-personal-monthly"},[l.NJ]:{...k(),...m(),getProductId:()=>2001,getStoreSlug:()=>l.NJ,getPathSlug:()=>"professional"},[l.yY]:{...k(),...g(),getProductId:()=>2004,getStoreSlug:()=>l.yY,getPathSlug:()=>"professional-monthly"},[l.Vl]:{...O(),...m(),getMonthlySlug:()=>l.Dl,getStoreSlug:()=>l.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[l.Dl]:{...O(),...g(),getAnnualSlug:()=>l.Vl,getStoreSlug:()=>l.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[l.jI]:{...A(),...m(),getMonthlySlug:()=>l.G$,getStoreSlug:()=>l.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[l.G$]:{...A(),...g(),getAnnualSlug:()=>l.jI,getStoreSlug:()=>l.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[l.th]:{...R(),...m(),getStoreSlug:()=>l.th,getPathSlug:()=>"complete",getProductId:()=>2014},[l.JX]:{...R(),...g(),getStoreSlug:()=>l.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015},[l.Et]:{...C(),...m(),getStoreSlug:()=>l.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016},[l.w2]:{...C(),...g(),getStoreSlug:()=>l.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017},[l.s1]:{...T(),...m(),getStoreSlug:()=>l.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019},[l.aS]:{...T(),...g(),getStoreSlug:()=>l.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020},[a.Ml]:{group:a.w9,type:c.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",v),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[u.S_M,u.yjN,u.iC0,u.rdd,u.bJv,u.ops],getSignupFeatures:()=>[u.fhe],getIncludedFeatures:()=>[u.XMd,u.lv3,u.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...g(),availableFor:t=>[a._d].includes(t),getProductId:()=>1040,getStoreSlug:()=>a.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};x[a.A2]={...x[a._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",v),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[u.$mN,u.JqD,u.bHF,u.XZZ,u.vje]},x[a.Cq]={...x[a._d],group:a.w9,type:c.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[u.Zaf]},x[a._s]={...y(),group:a.w9,type:c.lY,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Pro"),getProductId:()=>1032,getStoreSlug:()=>a._s,getPathSlug:()=>"pro",getDescription:()=>i.ZP.translate("The full power of modern WordPress hosting made easy."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[u.Eb2,u.QfP,u.V09,u.J8D,u.O05,u.SLH,u.Xk_,u.B2h,u.SsD,u.iTE,u.x_7,u.hH1,u.fDA,u.SZ6,u.cWM,u._3A,u.gqo,u.Vml,u.Ej],getIncludedFeatures:()=>[u.MOV,u.vqo,u.XMd,u.$G1,u.$4,u.Tx8,u.HPg,u.Vms,u.ggN,u.q4V,u.EBu,u.Q3C,u.Zjz,u.EDT,u.okS,u.cWM,u._3A,u.xjj,u.Tmz,u.vEX]}},78038:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4174);function o(t,e){let n,o;if(!(t instanceof URL)&&"string"!=typeof t)throw new Error("`url` should be a string or URL instance");if(t instanceof URL)n=t,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(t),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(t,"http://__domain__.invalid/")}switch(void 0===e&&(e=o),e){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${e}\` URL type.`)}}},94668:function(t,e,n){"use strict";n.d(e,{F:function(){return a}});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,u=["w","h","resize","fit","s"];function a(t){if("string"!=typeof t)return null;if(t.length<1)return null;if(i.test(t))return t;const e=(0,o.A)(t);if(s.test(e.hostname))return e.protocol="https",(0,o.C)(e).toString();if(e.search&&(e.host||e.hostname||e.origin)){if(u.forEach((t=>e.searchParams.delete(t))),"0"===e.searchParams.get("authuser")&&e.searchParams.delete("authuser"),Array.from(e.searchParams).length)return null;e.search="",null!=e&&e.protocol||(e.protocol="https"),t=(0,o.C)(e).toString()}return e.pathname.endsWith(".svg")?null:(0,r.Z)(t)}},6261:function(t,e,n){"use strict";n.d(e,{A:function(){return a},C:function(){return c}});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return e.forEach((e=>{n[e]=(null==t?void 0:t[e])??i[e]})),n}function a(t){const e=(0,r.D)(t);if(e===r.a.INVALID)return{...i};const n=t instanceof URL?t:new URL(t,o);if(e===r.a.ABSOLUTE)return u(n);if(e===r.a.SCHEME_RELATIVE)return u(n,s.filter((t=>"protocol"!==t&&"origin"!==t)));const a=u(n,["pathname","hash","search","searchParams"]);return e===r.a.PATH_RELATIVE&&(a.pathname=t.split(/[?#]/,1)[0]),a}function c(t){var e;if(!(null!=t&&t.protocol||null!=t&&t.origin))throw new Error("getUrlFromParts: protocol missing.");if(!t.host&&!t.hostname&&!t.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(t.origin)try{const e=new URL(t.origin);n.host=e.host,n.protocol=e.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=t.host||n.host,null!==(e=t.searchParams)&&void 0!==e&&e.toString&&(n.search=t.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const e=t[r];e&&e!==n[r]&&(n[r]=e)}return n}},4174:function(t,e,n){"use strict";let r;n.d(e,{a:function(){return r},D:function(){return s}}),function(t){t.ABSOLUTE="ABSOLUTE",t.SCHEME_RELATIVE="SCHEME_RELATIVE",t.PATH_ABSOLUTE="PATH_ABSOLUTE",t.PATH_RELATIVE="PATH_RELATIVE",t.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(t){if(!(t instanceof URL)&&"string"!=typeof t)return r.INVALID;if(""===t)return r.PATH_RELATIVE;if(t instanceof URL)return r.ABSOLUTE;let e;try{if(e=new URL(t),e.protocol&&":"!==e.protocol)return r.ABSOLUTE}catch{}try{e=new URL(t,i)}catch{return r.INVALID}return""===e.pathname?r.INVALID:e.hostname!==o?r.SCHEME_RELATIVE:t.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),u=n(99196);n(43261);const a=(t,e)=>{const n=t.plain?s()("button-plain",t.className):s()("button",t.className,{"is-compact":t.compact,"is-primary":t.primary,"is-scary":t.scary,"is-busy":t.busy,"is-borderless":t.borderless});if((t=>!!t.href)(t)){const i=(t=>{let{type:e,borderless:n,busy:r,className:o,compact:i,primary:s,scary:u,plain:a,...c}=t;return c})(t),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:e}))}const i=(t=>{let{type:e="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:u,plain:a,rel:c,href:l,target:f,...p}=t;return{...p,type:e}})(t);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:e}))},c=(0,u.forwardRef)(a);c.defaultProps={type:"button"},e.Z=c},98148:function(t,e,n){"use strict";var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),u=n(56399);n(53616);const a=(t,e)=>{let{children:n,className:o,compact:a,displayAsLink:c,highlight:l,tagName:f="div",href:p,target:d,...h}=t;const m=i()("card",o,{"is-card-link":c||p,"is-clickable":h.onClick,"is-compact":a,"is-highlight":l},!!l&&"is-"+l);return p?(0,s.createElement)("a",(0,r.Z)({},h,{href:p,target:d,className:m,ref:e}),(0,s.createElement)(u.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n):(0,s.createElement)(f,{...h,className:m,ref:e},c&&(0,s.createElement)(u.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(a);c.displayName="Card",e.Z=(0,s.memo)(c)},989:function(t,e,n){"use strict";n.d(e,{K:function(){return p}});var r=n(56666),o=n(69307),i=n(4174),s=n(6261),u=n(78038),a=n(94668),c=n(72779),l=n.n(c),f=n(99196);n(30366);class p extends f.Component{constructor(){super(...arguments),(0,r.Z)(this,"state",{failedToLoad:!1}),(0,r.Z)(this,"onError",(()=>this.setState({failedToLoad:!0})))}getResizedImageURL(t){const{imgSize:e}=this.props,n="https://www.gravatar.com/avatar/0";t=t||n;const r=(0,i.D)(t);if(r===i.a.INVALID||r===i.a.PATH_RELATIVE)return n;const{search:o,origin:a,host:c,...l}=(0,s.A)(t);return/^([-a-zA-Z0-9_]+\.)*(gravatar.com)$/.test(l.hostname)?(l.searchParams.set("s",(null==e?void 0:e.toString())??"32"),l.searchParams.set("d","mm")):l.searchParams.set("resize",`${e},${e}`),l.protocol=l.protocol||"https:",l.hostname=l.hostname||"__domain__.invalid",(0,u.Z)((0,s.C)(l),r)}render(){const{alt:t,title:e,size:n,tempImage:r,user:i}=this.props;if(!i)return(0,o.createElement)("span",{className:"gravatar is-placeholder",style:{width:n,height:n}});if(this.state.failedToLoad&&!r)return(0,o.createElement)("span",{className:"gravatar is-missing"});const s=t||i.display_name||i.name,u=r||this.getResizedImageURL((0,a.F)(i.avatar_URL)),c=l()("gravatar",this.props.className);return(0,o.createElement)("img",{alt:s,title:e,className:c,src:u,width:n,height:n,onError:this.onError})}}(0,r.Z)(p,"defaultProps",{imgSize:96,size:32})},56399:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),u=n(32421),a=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((t,e)=>{const{size:n=24,icon:i,className:c,title:l,...f}=t,p=n%18==0,d=`gridicons-${i}`,h=s()("gridicon",d,c,{"needs-offset":p&&u.iconsThatNeedOffset.includes(d),"needs-offset-x":p&&u.iconsThatNeedOffsetX.includes(d),"needs-offset-y":p&&u.iconsThatNeedOffsetY.includes(d)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:e},f),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${a}#${d}`}))})));l.displayName="Gridicon",e.Z=l},7262:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var r=n(69307),o=n(62352),i=n(92819),s=n(989);n(33164);const u=t=>{let{count:e=5,shuffled:n=!0}=t;const{data:u}=(0,o.e)();return(0,r.createElement)("div",{className:"happiness-engineers-tray"},u&&(n?(0,i.shuffle)(u):u).slice(0,e).map((t=>(0,r.createElement)(s.K,{key:t.avatar_URL,user:t,size:42,className:"happiness-engineers-tray__gravatar"}))))}},97493:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(69307);n(9723);function o(t){let{children:e}=t;return(0,r.createElement)("span",{className:"screen-reader-text"},e)}},90544:function(t,e){"use strict";e.Z=t=>{const e=(t=>e=>{if(e in t)return t[e];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${e}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(t);return e.isEnabled=(t=>e=>t.features&&!!t.features[e]||!1)(t),e.enabledFeatures=(t=>()=>t.features?Object.entries(t.features).reduce(((t,e)=>{let[n,r]=e;return r?[...t,n]:t}),[]):[])(t),e.enable=(t=>e=>{t.features&&(t.features[e]=!0)})(t),e.disable=(t=>e=>{t.features&&(t.features[e]=!1)})(t),e}},52865:function(t,e,n){"use strict";n.r(e),n.d(e,{setShowHelpCenter:function(){return r},setSite:function(){return o},setSubject:function(){return i},setMessage:function(){return s},setPopup:function(){return u},resetPopup:function(){return a},setUserDeclaredSiteUrl:function(){return c},setUserDeclaredSite:function(){return l}});const r=t=>({type:"HELP_CENTER_SET_SHOW",show:t}),o=t=>({type:"HELP_CENTER_SET_SITE",site:t}),i=t=>({type:"HELP_CENTER_SET_SUBJECT",subject:t}),s=t=>({type:"HELP_CENTER_SET_MESSAGE",message:t}),u=t=>({type:"HELP_CENTER_SET_POPUP",popup:t}),a=()=>({type:"HELP_CENTER_RESET_POPUP"}),c=t=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:t}),l=t=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:t})},2193:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});const r="automattic/help-center"},17624:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var r=n(9818),o=n(23418),i=n(52865),s=n(2193),u=n(61654),a=n(55601);let c=!1;function l(){return c||((0,r.registerStore)(s.L,{actions:i,reducer:u.Z,controls:o.controls,selectors:a,persist:["site"]}),c=!0),s.L}},61654:function(t,e,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({showHelpCenter:(t,e)=>"HELP_CENTER_SET_SHOW"===e.type?e.show:t,site:(t,e)=>"HELP_CENTER_SET_SITE"===e.type?e.site:t,subject:(t,e)=>"HELP_CENTER_SET_SUBJECT"===e.type?e.subject:t,message:(t,e)=>"HELP_CENTER_SET_MESSAGE"===e.type?e.message:t,userDeclaredSite:(t,e)=>"HELP_CENTER_SET_USER_DECLARED_SITE"===e.type?e.site:t,userDeclaredSiteUrl:(t,e)=>"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===e.type?e.url:t,popup:(t,e)=>"HELP_CENTER_SET_POPUP"===e.type?e.popup:"HELP_CENTER_RESET_POPUP"!==e.type?t:void 0});e.Z=o},55601:function(t,e,n){"use strict";n.r(e),n.d(e,{isHelpCenterShown:function(){return r},getSite:function(){return o},getSubject:function(){return i},getMessage:function(){return s},getUserDeclaredSiteUrl:function(){return u},getPopup:function(){return a},getUserDeclaredSite:function(){return c}});const r=t=>t.showHelpCenter,o=t=>t.site,i=t=>t.subject,s=t=>t.message,u=t=>t.userDeclaredSiteUrl,a=t=>t.popup,c=t=>t.userDeclaredSite},62352:function(t,e,n){"use strict";n.d(e,{e:function(){return i}});var r=n(82066),o=n(18552);const i=()=>(0,r.useQuery)("happinessEngineers",(async()=>await(0,o.ZP)({path:"/meta/happiness-engineers/",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:1/0})},63830:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(99196);let o;function i(){const[t,e]=(0,r.useState)(Boolean(o));return(0,r.useEffect)((()=>{const t=document.createElement("iframe");function n(r){const{data:i}=r;"widgets.wp.com-cookie-check"===i.type&&(o=i.result,e(i.result),window.removeEventListener("message",n),t.remove())}if(void 0===o)return t.src="https://widgets.wp.com/calypso-happychat/check-cookies.html",t.style.display="none",window.addEventListener("message",n),document.body.appendChild(t),()=>window.removeEventListener("message",n)}),[]),{hasCookies:t,isLoading:void 0===o}}},53762:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var r=n(99196),o=n(82066),i=n(18552);const s=t=>{const e="has-seen-whats-new-modal",{data:n,isLoading:s}=(0,o.useQuery)(e,(()=>(0,i.ZP)({path:`/sites/${t}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2"})),{enabled:!!t,refetchOnWindowFocus:!1}),u=(0,o.useQueryClient)(),a=(0,o.useMutation)((e=>{let{hasSeenWhatsNewModal:n}=e;return(0,i.ZP)({path:`/sites/${t}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2",method:"post",body:{has_seen_whats_new_modal:n}})}),{onSuccess(t){u.setQueryData(e,{...t})}}),{mutateAsync:c}=a;return{data:n,isLoading:s,setHasSeenWhatsNewModal:(0,r.useCallback)((t=>c({hasSeenWhatsNewModal:t})),[c])}}},34381:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(99196),o=n(17127),i=n(18552);function s(t){const[e,n]=(0,r.useState)(),[s]=(0,o.Z)(t,500);return(0,r.useEffect)((()=>{var t;(n(void 0),(t=s)&&t.length>4&&Boolean(null==t?void 0:t.match(/\w{2,}\.\w{2,16}/)))&&(s&&(async()=>{try{var t;const r=await(0,i.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(s)}`,apiNamespace:"wpcom/v2"});if(null!==(t=r.platform_data)&&void 0!==t&&t.is_wpcom)try{const t=await(0,i.ZP)({path:"/sites/"+encodeURIComponent(s),apiVersion:"1.1"});n({site:t,result:"WPCOM"})}catch(e){n({result:"NOT_OWNED_BY_USER"})}else"wordpress"===r.platform?n({result:"WPORG"}):n({result:"UNKNOWN"})}catch(e){n({result:"UNKNOWN"})}})())}),[s]),{...e,isLoading:!e}}},41515:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((t=>{let{site:e,message:n,subject:r,locale:i,hideInfo:s}=t;const u=[n];e.jetpack?(u.push("WP.com: Unknown"),u.push("Jetpack: Yes")):u.push("WP.com: Yes"),u.push("Correct account: yes");const a={subject:r,message:n+"\n\nCorrect account: yes",locale:i,client:"help-center",hide_blog_info:s,blog_id:e.ID,blog_url:e.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:a})}))}},32457:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((t=>(0,o.ZP)({path:"/help/tickets/kayako/new",apiVersion:"1.1",method:"POST",body:t})))}},99706:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var r=n(82066),o=n(18552);function i(t){return(0,r.useQuery)("EMAIL"===t?"emailSupportAvailability":"chatSupportAvailability",(async()=>await(0,o.ZP)({path:"EMAIL"===t?"/help/tickets/kayako/mine":"/help/olark/mine",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,keepPreviousData:!0})}},40495:function(t,e,n){"use strict";n.d(e,{x:function(){return u}});var r=n(69307),o=n(43239),i=n(56399),s=n(95885);n(62829);const u=t=>{let{onClick:e}=t;const{__:__}=(0,s.QT)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:e},(0,r.createElement)(i.Z,{icon:"chevron-left",size:18}),__("Back","full-site-editing"))}},23025:function(t,e,n){"use strict";n.d(e,{j:function(){return _}});var r=n(69307),o=n(43239),i=n(7262),s=n(32457),u=n(41515),a=n(34381),c=n(63830),l=n(30849),f=n(1283),p=n(55609),d=n(9818),h=n(65736),m=n(99196),g=n(76243),y=n(40495),v=n(27420),b=n(10083),w=n(94509);n(27427);const __=h.__,_="automattic/site",E=t=>{let{onSelect:e,currentSite:n,siteId:o}=t;const i=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(f.a,{onPickSite:function(t){e(t)},options:i,siteId:o})},S={CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing")}};e.Z=t=>{let{mode:e,onBackClick:n,onGoHome:f}=t;const[h,I]=(0,m.useState)(!1),[P,k]=(0,m.useState)(!1),[O,A]=(0,m.useState)(""),[C,T]=(0,m.useState)(!1),R=(0,l.bU)(),{isLoading:x,mutateAsync:Z}=(0,s.g)(),{isLoading:j,mutateAsync:D}=(0,u.M)(),[L,U]=(0,m.useState)("CURRENT_SITE"),{selectedSite:F,subject:N,message:q,userDeclaredSiteUrl:M}=(0,d.useSelect)((t=>({selectedSite:t(g.L).getSite(),subject:t(g.L).getSubject(),message:t(g.L).getMessage(),userDeclaredSiteUrl:t(g.L).getUserDeclaredSiteUrl()}))),{setSite:B,setUserDeclaredSiteUrl:$,setUserDeclaredSite:H,setSubject:V,setMessage:W,setPopup:z}=(0,d.useDispatch)(g.L),{result:G,isLoading:Q,site:Y}=(0,a.g)(M);(0,m.useEffect)((()=>{Y&&H(Y)}),[Y,H]);const{hasCookies:K,isLoading:J}=(0,c.O)(),X=J||x||j,tt=S[e],et=(0,d.useSelect)((t=>t(_).getSite(window._currentSiteId)));let nt;return nt="OTHER_SITE"===L?Y:F||et,h?(0,r.createElement)(v.Z,null):P||O?(0,r.createElement)(w.k,{forumTopicUrl:O,onBack:f}):(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)("header",null,(0,r.createElement)(y.x,{onClick:"FORUM"===e?f:n})),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},tt.formTitle),tt.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},tt.formDisclaimer),(0,r.createElement)("section",null,(0,r.createElement)(E,{currentSite:et,onSelect:t=>{0!==t&&B(et),U(0===t?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===L?null==et?void 0:et.ID:0})),"OTHER_SITE"===L&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(p.TextControl,{label:__("Site address","full-site-editing"),value:M??"",onChange:$})),G&&(0,r.createElement)(b.J,{ownershipResult:G,isAnalysisLoading:Q,userDeclaredSite:Y})),["FORUM","EMAIL"].includes(e)&&(0,r.createElement)("section",null,(0,r.createElement)(p.TextControl,{label:__("Subject","full-site-editing"),value:N??"",onChange:V})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:q??"",onChange:t=>W(t.target.value),className:"help-center-contact-form__message"})),"FORUM"===e&&(0,r.createElement)("section",null,(0,r.createElement)(p.CheckboxControl,{checked:C,label:__("Don’t display my site’s URL publicly","full-site-editing"),onChange:t=>T(t)})),(0,r.createElement)("section",null,(0,r.createElement)(o.Z,{disabled:X||!nt||!q,onClick:function(t){if(nt)switch(e){case"CHAT":if(K){I(!0);break}{const e=function(t){const e=t.currentTarget.closest(".help-center__container").getBoundingClientRect(),n=t.screenY-t.clientY+e.top-60,r=window.screenLeft+e.left,o=e.width,i=e.height-60;return window.open("https://widgets.wp.com/calypso-happychat/","happy-chat-window",`toolbar=no,scrollbars=yes,location=no,addressbar=no,width=${o},height=${i},left=${r},top=${n}`)}(t);z(e)}break;case"EMAIL":{var n,r,o;const t=[...["How can you help: "+q,"Site I need help with: "+(null===(n=nt)||void 0===n?void 0:n.URL),"Plan: "+(null===(r=nt)||void 0===r||null===(o=r.plan)||void 0===o?void 0:o.product_slug)],"\n",q].join("\n");Z({subject:N??"",message:t,locale:R,client:"browser:help-center",is_chat_overflow:!1}).then((()=>k(!0)));break}case"FORUM":D({site:nt,message:q??"",subject:N??"",locale:R,hideInfo:C}).then((t=>A(t.topic_URL)))}},primary:!0,className:"help-center-contact-form__site-picker-cta"},tt.buttonLabel)),["CHAT","EMAIL"].includes(e)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},(0,r.createElement)(i.O,{key:"happiness-tray",count:2,shuffled:!1}),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},tt.trayText))))}},30250:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(76951),s=n(55609),u=n(95885),a=n(72779),c=n.n(a),l=n(99196),f=n(41327),p=n.n(f),d=n(407),h=n(14059),m=n(24934);const g=t=>{let{draggable:e,...n}=t;return e?(0,o.createElement)(p(),n):(0,o.createElement)(o.Fragment,null,n.children)};e.Z=t=>{let{content:e,handleClose:n,headerText:a,footerContent:f}=t;const{__:__}=(0,u.QT)(),[p,y]=(0,l.useState)(!1),[v,b]=(0,l.useState)(!0),w=(0,i._z)(),_=c()("help-center__container",w?"is-mobile":"is-desktop",{"is-minimized":p,"no-footer":!f}),E={style:{animation:(v?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{v||n()}},S=p?a??__("Help Center"):__("Help Center");return(0,o.createElement)(g,{disabled:p,draggable:!w,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(s.Card,(0,r.Z)({className:_},E),(0,o.createElement)(m.Z,{isMinimized:p,onMinimize:()=>y(!0),onMaximize:()=>y(!1),onDismiss:()=>{b(!1)},headerText:S}),(0,o.createElement)(d.Z,{isMinimized:p,content:e}),f&&!p&&(0,o.createElement)(h.Z,{footerContent:f})))}},407:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i);e.Z=t=>{let{content:e,isMinimized:n}=t;const i=s()("help-center__container-content");return(0,r.createElement)(o.CardBody,{hidden:n,className:i},e)}},14059:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i);e.Z=t=>{let{footerContent:e}=t;const n=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:n},e)}},24934:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(9818),s=n(26715),u=n(63103),a=n(60199),c=n(95885),l=n(72779),f=n.n(l),p=n(99196),d=n(71645),h=n(76243);e.Z=t=>{let{isMinimized:e,onMinimize:n,onMaximize:l,onDismiss:m,headerText:g}=t;const y=f()("help-center__container-header"),{__:__}=(0,c.QT)(),[v,b]=(0,p.useState)("closed"),[w,_]=(0,p.useState)(0),E=w>9?"9+":w,S=(0,i.useSelect)((t=>t(h.L).getPopup()));return(0,p.useEffect)((()=>{"open"===v&&S&&(null==n||n())}),[v,n,S]),(0,p.useEffect)((()=>{"ended"===v&&(null==m||m())}),[v,m]),(0,d.g)(b,_),(0,r.createElement)(o.CardHeader,{className:y},(0,r.createElement)(o.Flex,null,(0,r.createElement)("p",{style:{fontSize:14,fontWeight:500}},g,(0,r.createElement)("span",{className:"help-center-header__a8c-only-badge",title:"The help center is only visible to Automatticians at this stage."},"a8c only"),e&&w?(0,r.createElement)("span",{className:"help-center-header__unread-count"},E):null),(0,r.createElement)("div",null,e?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:s.Z,onClick:function(){"closed"!==v&&S?S.focus():null==l||l()}}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:u.Z,onClick:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),icon:a.Z,onClick:m}))))}},27420:function(t,e,n){"use strict";var r=n(69307);n(96459);e.Z=()=>(0,r.createElement)("iframe",{className:"help-center-inline-chat__iframe",title:"Happychat",src:"https://widgets.wp.com/calypso-happychat/"})},10083:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=n(69307),o=n(47498),i=n(55609),s=n(65736);const __=s.__,u={NOT_OWNED_BY_USER:(0,r.createElement)("p",null,__("Your site is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing")," "," ",(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPCOM:"",WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted on our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share you question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing"))};function a(t){let{ownershipResult:e,isAnalysisLoading:n,userDeclaredSite:o}=t;return n||"WPCOM"===e?"WPCOM"===e?(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},null==o?void 0:o.name):null:(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(i.Icon,{icon:"info-outline"})),u[e])}},55213:function(t,e,n){"use strict";var r=n(69307),o=n(9818),i=n(23025),s=n(30250);n(62829);e.Z=t=>{let{content:e,handleClose:n,headerText:u,footerContent:a}=t;const c=(0,r.useRef)(document.createElement("div")).current;return(0,o.useSelect)((t=>t(i.j).getSite(window._currentSiteId))),(0,r.useEffect)((()=>(c.classList.add("help-center"),document.body.appendChild(c),()=>{document.body.removeChild(c)})),[c]),(0,r.createPortal)((0,r.createElement)(s.Z,{handleClose:n,content:e,headerText:u,footerContent:a}),c)}},92421:function(t,e,n){"use strict";var r=n(69307);e.Z=t=>{let{newItems:e,active:n}=t;return(0,r.createElement)("svg",{width:"26",height:"25",viewBox:"0 0 26 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("circle",{cx:"12",cy:"12.5",r:"8",stroke:n?"white":"#1e1e1e",fill:n?"#1e1e1e":"white",strokeWidth:"1.5"}),(0,r.createElement)("path",{d:"M9.75 10.75C9.75 9.50736 10.7574 8.5 12 8.5C13.2426 8.5 14.25 9.50736 14.25 10.75C14.25 11.9083 13.3748 12.8621 12.2496 12.9863C12.1124 13.0015 12 13.1119 12 13.25V14.5",stroke:n?"white":"#1e1e1e",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)("path",{d:"M12 15.5V17",stroke:n?"white":"#1e1e1e",strokeWidth:"1.5"}),e&&(0,r.createElement)("circle",{cx:"20",cy:"8",r:"5",fill:"var( --color-masterbar-unread-dot-background )",strokeWidth:"2"}))}},69309:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F","stroke-width":"1.68","stroke-linecap":"round","stroke-linejoin":"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}))},94509:function(t,e,n){"use strict";n.d(e,{k:function(){return u}});var r=n(69307),o=n(95885),i=(n(99196),n(40495)),s=n(69309);const u=t=>{let{onBack:e,forumTopicUrl:n}=t;const{__:__}=(0,o.QT)();return(0,r.createElement)("div",null,(0,r.createElement)(i.x,{onClick:e}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(s.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},71645:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(9818),o=n(99196),i=n(76243);function s(t,e){const{selectedSite:n,subject:s,message:u,userDeclaredSite:a}=(0,r.useSelect)((t=>({selectedSite:t(i.L).getSite(),userDeclaredSite:t(i.L).getUserDeclaredSite(),subject:t(i.L).getSubject(),message:t(i.L).getMessage()}))),c=n||a,{resetPopup:l}=(0,r.useDispatch)(i.L);(0,o.useEffect)((()=>{const n=r=>{if("https://widgets.wp.com"===r.origin){const{data:a}=r;switch(a.type){case"calypso-happy-chat-unread-messages":e(a.state);break;case"window-state-change":t(a.state),"ended"===a.state&&(window.removeEventListener("message",n),l());break;case"happy-chat-introduction-data":var o,i;null===(o=r.source)||void 0===o||o.postMessage({type:"happy-chat-introduction-data",siteId:null==c?void 0:c.ID.toString(),subject:s,message:u,planSlug:null==c||null===(i=c.plan)||void 0===i?void 0:i.product_slug,siteUrl:null==c?void 0:c.URL},{targetOrigin:r.origin})}}};return window.addEventListener("message",n,!1),()=>{window.removeEventListener("message",n,!1)}}),[t,e,c,s,u,l])}},76243:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});const r=n(17624).z()},8057:function(t,e,n){"use strict";var r=n(99196),o=n(94724);e.Z=(0,r.createContext)(o.Z)},94724:function(t,e,n){"use strict";var r=n(50914);e.Z=new r.Z},50914:function(t,e,n){"use strict";var r=n(22699),o=n(32594),i=n(96668),s=n(38049),u=n.n(s),a=n(35079),c=n.n(a),l=n(7839),f=n.n(l),p=n(49830),d=n(10003);const h=u()("i18n-calypso"),m="number_format_decimals",g="number_format_thousands_sep",y="messages",v=[function(t){return t}],b={};function w(){P.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(t){return Array.prototype.slice.call(t)}function E(t){const e=t[0];("string"!=typeof e||t.length>3||t.length>2&&"object"==typeof t[1]&&"object"==typeof t[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(t),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===t.length&&"string"==typeof e&&"string"==typeof t[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(t));let n={};for(let r=0;r<t.length;r++)"object"==typeof t[r]&&(n=t[r]);if("string"==typeof e?n.original=e:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof t[1]&&(n.plural=t[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function S(t,e){return t.dcnpgettext(y,e.context,e.original,e.plural,e.count)}function I(t,e){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},e)),o=r.context?r.context+""+r.original:r.original;if(t.state.locale[o])return S(t.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=t=>1===t?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:f()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof e?e:e.decimals||0,r=e.decPoint||this.state.numberFormatSettings.decimal_point||".",o=e.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,d.Z)(t,n,r,o)},P.prototype.configure=function(t){Object.assign(this,t||{}),this.setLocale()},P.prototype.setLocale=function(t){var e,n,r;if(t&&t[""]&&t[""]["key-hash"]){const e=t[""]["key-hash"],n=function(t,e){const n=!1===e?"":String(e);if(void 0!==b[n+t])return b[n+t];const r=c()().update(t).digest("hex");return b[n+t]=e?r.substr(0,e):r},r=function(t){return function(e){return e.context?(e.original=n(e.context+String.fromCharCode(4)+e.original,t),delete e.context):e.original=n(e.original,t),e}};if("sha1"===e.substr(0,4))if(4===e.length)v.push(r(!1));else{const t=e.substr(5).indexOf("-");if(t<0){const t=Number(e.substr(5));v.push(r(t))}else{const n=Number(e.substr(5,t)),o=Number(e.substr(6+t));for(let t=n;t<=o;t++)v.push(r(t))}}}if(t&&t[""].localeSlug)if(t[""].localeSlug===this.state.localeSlug){if(t===this.state.locale)return;Object.assign(this.state.locale,t)}else this.state.locale=Object.assign({},t);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.localeVariant=this.state.locale[""].localeVariant,this.state.textDirection=(null===(e=this.state.locale["text directionltr"])||void 0===e?void 0:e[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new p.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([m])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([g])),this.state.numberFormatSettings.decimal_point===m&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===g&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(t){for(const e in t)""!==e&&(this.state.tannin.data.messages[e]=t[e]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!I(this,E(arguments))},P.prototype.translate=function(){const t=E(arguments);let e=I(this,t);if(e||(e=S(this.state.tannin,t)),t.args){const r=Array.isArray(t.args)?t.args.slice(0):[t.args];r.unshift(e);try{e=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const t=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[t](n):window.console[t]("i18n sprintf error:",r)}}return t.components&&(e=(0,o.Z)({mixedString:e,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){e=n(e,t)})),e},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(t){this.componentUpdateHooks.push(t)},P.prototype.registerTranslateHook=function(t){this.translateHooks.push(t)},e.Z=P},11481:function(t,e,n){"use strict";n.d(e,{Iu:function(){return o},Yj:function(){return i}});var r=n(94724);e.ZP=r.Z;r.Z.numberFormat.bind(r.Z);const o=r.Z.translate.bind(r.Z),i=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:function(t,e,n){"use strict";function r(t,e,n,r){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+t)?+t:0,i=isFinite(+e)?Math.abs(e):0,s=void 0===r?",":r,u=void 0===n?".":n;let a="";return a=(i?
29
  /*
30
  * Exposes number format capability
31
  *
25
  *
26
  * This source code is licensed under the MIT license found in the
27
  * LICENSE file in the root directory of this source tree.
28
+ */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),s=b("react.profiler"),u=b("react.provider"),a=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),p=b("react.memo"),d=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case i:case l:case f:return t;default:switch(t=t&&t.$$typeof){case a:case c:case d:case p:case u:return t;default:return e}}case r:return e}}}e.isContextConsumer=function(t){return w(t)===a}},48570:function(t,e,n){"use strict";t.exports=n(66866)},27483:function(t,e,n){"use strict";n.d(e,{j:function(){return u}});var r=n(81665),o=n(92693),i=n(10774),s=function(t){function e(){return t.apply(this,arguments)||this}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},n.setEventListener=function(t){var e=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=t((function(t){"boolean"==typeof t?e.setFocused(t):e.onFocus()}))},n.setFocused=function(t){this.focused=t,t&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(t){t()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},n.setDefaultEventListener=function(){var t;!i.sk&&(null==(t=window)?void 0:t.addEventListener)&&this.setEventListener((function(t){var e=function(){return t()};return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),function(){window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}))},e}(o.l),u=new s},60002:function(t,e,n){"use strict";n.d(e,{Su:function(){return r.S}});var r=n(29446),o=n(77820);n.o(o,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return o.QueryClientProvider}}),n.o(o,"useMutation")&&n.d(e,{useMutation:function(){return o.useMutation}}),n.o(o,"useQuery")&&n.d(e,{useQuery:function(){return o.useQuery}}),n.o(o,"useQueryClient")&&n.d(e,{useQueryClient:function(){return o.useQueryClient}})},20560:function(t,e,n){"use strict";n.d(e,{Gm:function(){return i}});var r=n(22348),o=n(10774);function i(){return{onFetch:function(t){t.fetchFn=function(){var e,n,i,a,c,l,f,p=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,d=null==(i=t.fetchOptions)||null==(a=i.meta)?void 0:a.fetchMore,h=null==d?void 0:d.pageParam,m="forward"===(null==d?void 0:d.direction),g="backward"===(null==d?void 0:d.direction),y=(null==(c=t.state.data)?void 0:c.pages)||[],v=(null==(l=t.state.data)?void 0:l.pageParams)||[],b=(0,o.G9)(),w=null==b?void 0:b.signal,_=v,E=!1,S=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},I=function(t,e,n,r){return _=r?[e].concat(_):[].concat(_,[e]),r?[n].concat(t):[].concat(t,[n])},P=function(e,n,o,i){if(E)return Promise.reject("Cancelled");if(void 0===o&&!n&&e.length)return Promise.resolve(e);var s={queryKey:t.queryKey,signal:w,pageParam:o,meta:t.meta},u=S(s),a=Promise.resolve(u).then((function(t){return I(e,o,t,i)}));(0,r.LE)(u)&&(a.cancel=u.cancel);return a};if(y.length)if(m){var k=void 0!==h,O=k?h:s(t.options,y);f=P(y,k,O)}else if(g){var A=void 0!==h,C=A?h:u(t.options,y);f=P(y,A,C,!0)}else!function(){_=[];var e=void 0===t.options.getNextPageParam,n=!p||!y[0]||p(y[0],0,y);f=n?P([],e,v[0]):Promise.resolve(I([],v[0],y[0]));for(var r=function(n){f=f.then((function(r){if(!p||!y[n]||p(y[n],n,y)){var o=e?v[n]:s(t.options,r);return P(r,e,o)}return Promise.resolve(I(r,v[n],y[n]))}))},o=1;o<y.length;o++)r(o)}();else f=P([]);var T=f.then((function(t){return{pages:t,pageParams:_}}));return T.cancel=function(){E=!0,null==b||b.abort(),(0,r.LE)(f)&&f.cancel()},T}}}}function s(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function u(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}},53579:function(t,e,n){"use strict";n.d(e,{j:function(){return i},E:function(){return s}});var r=n(10774),o=console||{error:r.ZT,warn:r.ZT,log:r.ZT};function i(){return o}function s(t){o=t}},3284:function(t,e,n){"use strict";n.d(e,{m:function(){return a},R:function(){return c}});var r=n(7896),o=n(53579),i=n(50667),s=n(22348),u=n(10774),a=function(){function t(t){this.options=(0,r.Z)({},t.defaultOptions,t.options),this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.observers=[],this.state=t.state||c()}var e=t.prototype;return e.setState=function(t){this.dispatch({type:"setState",state:t})},e.addObserver=function(t){-1===this.observers.indexOf(t)&&this.observers.push(t)},e.removeObserver=function(t){this.observers=this.observers.filter((function(e){return e!==t}))},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(u.ZT).catch(u.ZT)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var t,e=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){return null==e.options.onMutate?void 0:e.options.onMutate(e.state.variables)})).then((function(t){t!==e.state.context&&e.dispatch({type:"loading",context:t,variables:e.state.variables})}))),r.then((function(){return e.executeMutation()})).then((function(n){t=n,null==e.mutationCache.config.onSuccess||e.mutationCache.config.onSuccess(t,e.state.variables,e.state.context,e)})).then((function(){return null==e.options.onSuccess?void 0:e.options.onSuccess(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(t,null,e.state.variables,e.state.context)})).then((function(){return e.dispatch({type:"success",data:t}),t})).catch((function(t){return null==e.mutationCache.config.onError||e.mutationCache.config.onError(t,e.state.variables,e.state.context,e),(0,o.j)().error(t),Promise.resolve().then((function(){return null==e.options.onError?void 0:e.options.onError(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(void 0,t,e.state.variables,e.state.context)})).then((function(){throw e.dispatch({type:"error",error:t}),t}))}))},e.executeMutation=function(){var t,e=this;return this.retryer=new s.m4({fn:function(){return e.options.mutationFn?e.options.mutationFn(e.state.variables):Promise.reject("No mutationFn found")},onFail:function(){e.dispatch({type:"failed"})},onPause:function(){e.dispatch({type:"pause"})},onContinue:function(){e.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(t){var e=this;this.state=function(t,e){switch(e.type){case"failed":return(0,r.Z)({},t,{failureCount:t.failureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"loading":return(0,r.Z)({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return(0,r.Z)({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},t,e.state);default:return t}}(this.state,t),i.V.batch((function(){e.observers.forEach((function(e){e.onMutationUpdate(t)})),e.mutationCache.notify(e)}))},t}();function c(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},9601:function(t,e,n){"use strict";n.d(e,{L:function(){return u}});var r=n(81665),o=n(50667),i=n(3284),s=n(10774),u=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.mutations=[],n.mutationId=0,n}(0,r.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r=new i.m({mutationCache:this,mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0});return this.add(r),r},n.add=function(t){this.mutations.push(t),this.notify(t)},n.remove=function(t){this.mutations=this.mutations.filter((function(e){return e!==t})),t.cancel(),this.notify(t)},n.clear=function(){var t=this;o.V.batch((function(){t.mutations.forEach((function(e){t.remove(e)}))}))},n.getAll=function(){return this.mutations},n.find=function(t){return void 0===t.exact&&(t.exact=!0),this.mutations.find((function(e){return(0,s.X7)(t,e)}))},n.findAll=function(t){return this.mutations.filter((function(e){return(0,s.X7)(t,e)}))},n.notify=function(t){var e=this;o.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var t=this.mutations.filter((function(t){return t.state.isPaused}));return o.V.batch((function(){return t.reduce((function(t,e){return t.then((function(){return e.continue().catch(s.ZT)}))}),Promise.resolve())}))},e}(n(92693).l)},74856:function(t,e,n){"use strict";n.d(e,{X:function(){return u}});var r=n(7896),o=n(81665),i=n(3284),s=n(50667),u=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,o.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(t){this.options=this.client.defaultMutationOptions(t)},n.onUnsubscribe=function(){var t;this.listeners.length||(null==(t=this.currentMutation)||t.removeObserver(this))},n.onMutationUpdate=function(t){this.updateResult();var e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,r.Z)({},this.options,{variables:void 0!==t?t:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var t=this.currentMutation?this.currentMutation.state:(0,i.R)(),e=(0,r.Z)({},t,{isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset});this.currentResult=e},n.notify=function(t){var e=this;s.V.batch((function(){e.mutateOptions&&(t.onSuccess?(null==e.mutateOptions.onSuccess||e.mutateOptions.onSuccess(e.currentResult.data,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(e.currentResult.data,null,e.currentResult.variables,e.currentResult.context)):t.onError&&(null==e.mutateOptions.onError||e.mutateOptions.onError(e.currentResult.error,e.currentResult.variables,e.currentResult.context),null==e.mutateOptions.onSettled||e.mutateOptions.onSettled(void 0,e.currentResult.error,e.currentResult.variables,e.currentResult.context))),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)}))}))},e}(n(92693).l)},50667:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(10774),o=function(){function t(){this.queue=[],this.transactions=0,this.notifyFn=function(t){t()},this.batchNotifyFn=function(t){t()}}var e=t.prototype;return e.batch=function(t){this.transactions++;var e=t();return this.transactions--,this.transactions||this.flush(),e},e.schedule=function(t){var e=this;this.transactions?this.queue.push(t):(0,r.A4)((function(){e.notifyFn(t)}))},e.batchCalls=function(t){var e=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.schedule((function(){t.apply(void 0,r)}))}},e.flush=function(){var t=this,e=this.queue;this.queue=[],e.length&&(0,r.A4)((function(){t.batchNotifyFn((function(){e.forEach((function(e){t.notifyFn(e)}))}))}))},e.setNotifyFunction=function(t){this.notifyFn=t},e.setBatchNotifyFunction=function(t){this.batchNotifyFn=t},t}(),i=new o},58927:function(t,e,n){"use strict";n.d(e,{N:function(){return u}});var r=n(81665),o=n(92693),i=n(10774),s=function(t){function e(){return t.apply(this,arguments)||this}(0,r.Z)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},n.setEventListener=function(t){var e=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=t((function(t){"boolean"==typeof t?e.setOnline(t):e.onOnline()}))},n.setOnline=function(t){this.online=t,t&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(t){t()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},n.setDefaultEventListener=function(){var t;!i.sk&&(null==(t=window)?void 0:t.addEventListener)&&this.setEventListener((function(t){var e=function(){return t()};return window.addEventListener("online",e,!1),window.addEventListener("offline",e,!1),function(){window.removeEventListener("online",e),window.removeEventListener("offline",e)}}))},e}(o.l),u=new s},81257:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(7896),o=n(10774),i=n(50667),s=n(53579),u=n(22348),a=function(){function t(t){this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=t.meta,this.scheduleGc()}var e=t.prototype;return e.setOptions=function(t){var e;this.options=(0,r.Z)({},this.defaultOptions,t),this.meta=null==t?void 0:t.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(e=this.options.cacheTime)?e:3e5)},e.setDefaultOptions=function(t){this.defaultOptions=t},e.scheduleGc=function(){var t=this;this.clearGcTimeout(),(0,o.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){t.optionalRemove()}),this.cacheTime))},e.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},e.optionalRemove=function(){this.observers.length||this.state.isFetching||this.cache.remove(this)},e.setData=function(t,e){var n,r,i=this.state.data,s=(0,o.SE)(t,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,s))?s=i:!1!==this.options.structuralSharing&&(s=(0,o.Q$)(i,s)),this.dispatch({data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt}),s},e.setState=function(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})},e.cancel=function(t){var e,n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(o.ZT).catch(o.ZT):Promise.resolve()},e.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},e.reset=function(){this.destroy(),this.setState(this.initialState)},e.isActive=function(){return this.observers.some((function(t){return!1!==t.options.enabled}))},e.isFetching=function(){return this.state.isFetching},e.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(t){return t.getCurrentResult().isStale}))},e.isStaleByTime=function(t){return void 0===t&&(t=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.Kp)(this.state.dataUpdatedAt,t)},e.onFocus=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnWindowFocus()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.onOnline=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnReconnect()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.addObserver=function(t){-1===this.observers.indexOf(t)&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))},e.removeObserver=function(t){-1!==this.observers.indexOf(t)&&(this.observers=this.observers.filter((function(e){return e!==t})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:t}))},e.getObserversCount=function(){return this.observers.length},e.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},e.fetch=function(t,e){var n,r,i,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if(this.promise)return this.promise;if(t&&this.setOptions(t),!this.options.queryFn){var c=this.observers.find((function(t){return t.options.queryFn}));c&&this.setOptions(c.options)}var l=(0,o.mc)(this.queryKey),f=(0,o.G9)(),p={queryKey:l,pageParam:void 0,meta:this.meta};Object.defineProperty(p,"signal",{enumerable:!0,get:function(){if(f)return a.abortSignalConsumed=!0,f.signal}});var d,h,m={fetchOptions:e,options:this.options,queryKey:l,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(p)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(h=m.fetchOptions)?void 0:h.meta});return this.retryer=new u.m4({fn:m.fetchFn,abort:null==f||null==(i=f.abort)?void 0:i.bind(f),onSuccess:function(t){a.setData(t),null==a.cache.config.onSuccess||a.cache.config.onSuccess(t,a),0===a.cacheTime&&a.optionalRemove()},onError:function(t){(0,u.DV)(t)&&t.silent||a.dispatch({type:"error",error:t}),(0,u.DV)(t)||(null==a.cache.config.onError||a.cache.config.onError(t,a),(0,s.j)().error(t)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},e.dispatch=function(t){var e=this;this.state=this.reducer(this.state,t),i.V.batch((function(){e.observers.forEach((function(e){e.onQueryUpdate(t)})),e.cache.notify({query:e,type:"queryUpdated",action:t})}))},e.getDefaultState=function(t){var e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==t.initialData?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0,r=void 0!==e;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},e.reducer=function(t,e){var n,o;switch(e.type){case"failed":return(0,r.Z)({},t,{fetchFailureCount:t.fetchFailureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"fetch":return(0,r.Z)({},t,{fetchFailureCount:0,fetchMeta:null!=(n=e.meta)?n:null,isFetching:!0,isPaused:!1,status:t.dataUpdatedAt?t.status:"loading"});case"success":return(0,r.Z)({},t,{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var i=e.error;return(0,u.DV)(i)&&i.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},t,{error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},t,{isInvalidated:!0});case"setState":return(0,r.Z)({},t,e.state);default:return t}},t}()},10384:function(t,e,n){"use strict";n.d(e,{t:function(){return u}});var r=n(81665),o=n(10774),i=n(81257),s=n(50667),u=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.queries=[],n.queriesMap={},n}(0,r.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r,s=e.queryKey,u=null!=(r=e.queryHash)?r:(0,o.Rm)(s,e),a=this.get(u);return a||(a=new i.A({cache:this,queryKey:s,queryHash:u,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(s),meta:e.meta}),this.add(a)),a},n.add=function(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"queryAdded",query:t}))},n.remove=function(t){var e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter((function(e){return e!==t})),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"queryRemoved",query:t}))},n.clear=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(e){t.remove(e)}))}))},n.get=function(t){return this.queriesMap[t]},n.getAll=function(){return this.queries},n.find=function(t,e){var n=(0,o.I6)(t,e)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(t){return(0,o._x)(n,t)}))},n.findAll=function(t,e){var n=(0,o.I6)(t,e)[0];return n?this.queries.filter((function(t){return(0,o._x)(n,t)})):this.queries},n.notify=function(t){var e=this;s.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onFocus()}))}))},n.onOnline=function(){var t=this;s.V.batch((function(){t.queries.forEach((function(t){t.onOnline()}))}))},e}(n(92693).l)},29446:function(t,e,n){"use strict";n.d(e,{S:function(){return f}});var r=n(7896),o=n(10774),i=n(10384),s=n(9601),u=n(27483),a=n(58927),c=n(50667),l=n(20560),f=function(){function t(t){void 0===t&&(t={}),this.queryCache=t.queryCache||new i.t,this.mutationCache=t.mutationCache||new s.L,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var e=t.prototype;return e.mount=function(){var t=this;this.unsubscribeFocus=u.j.subscribe((function(){u.j.isFocused()&&a.N.isOnline()&&(t.mutationCache.onFocus(),t.queryCache.onFocus())})),this.unsubscribeOnline=a.N.subscribe((function(){u.j.isFocused()&&a.N.isOnline()&&(t.mutationCache.onOnline(),t.queryCache.onOnline())}))},e.unmount=function(){var t,e;null==(t=this.unsubscribeFocus)||t.call(this),null==(e=this.unsubscribeOnline)||e.call(this)},e.isFetching=function(t,e){var n=(0,o.I6)(t,e)[0];return n.fetching=!0,this.queryCache.findAll(n).length},e.isMutating=function(t){return this.mutationCache.findAll((0,r.Z)({},t,{fetching:!0})).length},e.getQueryData=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data},e.getQueriesData=function(t){return this.getQueryCache().findAll(t).map((function(t){return[t.queryKey,t.state.data]}))},e.setQueryData=function(t,e,n){var r=(0,o._v)(t),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(e,n)},e.setQueriesData=function(t,e,n){var r=this;return c.V.batch((function(){return r.getQueryCache().findAll(t).map((function(t){var o=t.queryKey;return[o,r.setQueryData(o,e,n)]}))}))},e.getQueryState=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state},e.removeQueries=function(t,e){var n=(0,o.I6)(t,e)[0],r=this.queryCache;c.V.batch((function(){r.findAll(n).forEach((function(t){r.remove(t)}))}))},e.resetQueries=function(t,e,n){var i=this,s=(0,o.I6)(t,e,n),u=s[0],a=s[1],l=this.queryCache,f=(0,r.Z)({},u,{active:!0});return c.V.batch((function(){return l.findAll(u).forEach((function(t){t.reset()})),i.refetchQueries(f,a)}))},e.cancelQueries=function(t,e,n){var r=this,i=(0,o.I6)(t,e,n),s=i[0],u=i[1],a=void 0===u?{}:u;void 0===a.revert&&(a.revert=!0);var l=c.V.batch((function(){return r.queryCache.findAll(s).map((function(t){return t.cancel(a)}))}));return Promise.all(l).then(o.ZT).catch(o.ZT)},e.invalidateQueries=function(t,e,n){var i,s,u,a=this,l=(0,o.I6)(t,e,n),f=l[0],p=l[1],d=(0,r.Z)({},f,{active:null==(i=null!=(s=f.refetchActive)?s:f.active)||i,inactive:null!=(u=f.refetchInactive)&&u});return c.V.batch((function(){return a.queryCache.findAll(f).forEach((function(t){t.invalidate()})),a.refetchQueries(d,p)}))},e.refetchQueries=function(t,e,n){var i=this,s=(0,o.I6)(t,e,n),u=s[0],a=s[1],l=c.V.batch((function(){return i.queryCache.findAll(u).map((function(t){return t.fetch(void 0,(0,r.Z)({},a,{meta:{refetchPage:null==u?void 0:u.refetchPage}}))}))})),f=Promise.all(l).then(o.ZT);return(null==a?void 0:a.throwOnError)||(f=f.catch(o.ZT)),f},e.fetchQuery=function(t,e,n){var r=(0,o._v)(t,e,n),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);var s=this.queryCache.build(this,i);return s.isStaleByTime(i.staleTime)?s.fetch(i):Promise.resolve(s.state.data)},e.prefetchQuery=function(t,e,n){return this.fetchQuery(t,e,n).then(o.ZT).catch(o.ZT)},e.fetchInfiniteQuery=function(t,e,n){var r=(0,o._v)(t,e,n);return r.behavior=(0,l.Gm)(),this.fetchQuery(r)},e.prefetchInfiniteQuery=function(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(o.ZT).catch(o.ZT)},e.cancelMutations=function(){var t=this,e=c.V.batch((function(){return t.mutationCache.getAll().map((function(t){return t.cancel()}))}));return Promise.all(e).then(o.ZT).catch(o.ZT)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(t){return this.mutationCache.build(this,t).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(t){this.defaultOptions=t},e.setQueryDefaults=function(t,e){var n=this.queryDefaults.find((function(e){return(0,o.yF)(t)===(0,o.yF)(e.queryKey)}));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})},e.getQueryDefaults=function(t){var e;return t?null==(e=this.queryDefaults.find((function(e){return(0,o.to)(t,e.queryKey)})))?void 0:e.defaultOptions:void 0},e.setMutationDefaults=function(t,e){var n=this.mutationDefaults.find((function(e){return(0,o.yF)(t)===(0,o.yF)(e.mutationKey)}));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})},e.getMutationDefaults=function(t){var e;return t?null==(e=this.mutationDefaults.find((function(e){return(0,o.to)(t,e.mutationKey)})))?void 0:e.defaultOptions:void 0},e.defaultQueryOptions=function(t){if(null==t?void 0:t._defaulted)return t;var e=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==t?void 0:t.queryKey),t,{_defaulted:!0});return!e.queryHash&&e.queryKey&&(e.queryHash=(0,o.Rm)(e.queryKey,e)),e},e.defaultQueryObserverOptions=function(t){return this.defaultQueryOptions(t)},e.defaultMutationOptions=function(t){return(null==t?void 0:t._defaulted)?t:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==t?void 0:t.mutationKey),t,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t}()},24198:function(t,e,n){"use strict";n.d(e,{z:function(){return f}});var r=n(7896),o=n(81665),i=n(10774),s=n(50667),u=n(27483),a=n(92693),c=n(53579),l=n(22348),f=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.options=n,r.trackedProps=[],r.previousSelectError=null,r.bindMethods(),r.setOptions(n),r}(0,o.Z)(e,t);var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),p(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return t=this.currentQuery,!1!==(e=this.options).enabled&&("always"===e.refetchOnReconnect||!1!==e.refetchOnReconnect&&h(t,e));var t,e},n.shouldFetchOnWindowFocus=function(){return t=this.currentQuery,!1!==(e=this.options).enabled&&("always"===e.refetchOnWindowFocus||!1!==e.refetchOnWindowFocus&&h(t,e));var t,e},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(t,e){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&d(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(t){var e=this.client.defaultQueryObserverOptions(t),n=this.client.getQueryCache().build(this.client,e);return this.createResult(n,e)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(t){var e=this,n={};return Object.keys(t).forEach((function(r){Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:function(){var n=r;return e.trackedProps.includes(n)||e.trackedProps.push(n),t[n]}})})),n},n.getNextResult=function(t){var e=this;return new Promise((function(n,r){var o=e.subscribe((function(e){e.isFetching||(o(),e.isError&&(null==t?void 0:t.throwOnError)?r(e.error):n(e))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(t){return this.fetch((0,r.Z)({},t,{meta:{refetchPage:null==t?void 0:t.refetchPage}}))},n.fetchOptimistic=function(t){var e=this,n=this.client.defaultQueryObserverOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return e.createResult(r,n)}))},n.fetch=function(t){var e=this;return this.executeFetch(t).then((function(){return e.updateResult(),e.currentResult}))},n.executeFetch=function(t){this.updateQuery();var e=this.currentQuery.fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(i.ZT)),e},n.updateStaleTimeout=function(){var t=this;if(this.clearStaleTimeout(),!i.sk&&!this.currentResult.isStale&&(0,i.PN)(this.options.staleTime)){var e=(0,i.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){t.currentResult.isStale||t.updateResult()}),e)}},n.computeRefetchInterval=function(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t},n.updateRefetchInterval=function(t){var e=this;this.clearRefetchInterval(),this.currentRefetchInterval=t,!i.sk&&!1!==this.options.enabled&&(0,i.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(e.options.refetchIntervalInBackground||u.j.isFocused())&&e.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(t,e){var n,r=this.currentQuery,o=this.options,s=this.currentResult,u=this.currentResultState,a=this.currentResultOptions,l=t!==r,f=l?t.state:this.currentQueryInitialState,m=l?this.currentResult:this.previousQueryResult,g=t.state,y=g.dataUpdatedAt,v=g.error,b=g.errorUpdatedAt,w=g.isFetching,_=g.status,E=!1,S=!1;if(e.optimisticResults){var I=this.hasListeners(),P=!I&&p(t,e),k=I&&d(t,r,e,o);(P||k)&&(w=!0,y||(_="loading"))}if(e.keepPreviousData&&!g.dataUpdateCount&&(null==m?void 0:m.isSuccess)&&"error"!==_)n=m.data,y=m.dataUpdatedAt,_=m.status,E=!0;else if(e.select&&void 0!==g.data)if(s&&g.data===(null==u?void 0:u.data)&&e.select===(null==a?void 0:a.select)&&!this.previousSelectError)n=s.data;else try{n=e.select(g.data),!1!==e.structuralSharing&&(n=(0,i.Q$)(null==s?void 0:s.data,n)),this.previousSelectError=null}catch(A){(0,c.j)().error(A),v=A,this.previousSelectError=A,b=Date.now(),_="error"}else n=g.data;if(void 0!==e.placeholderData&&void 0===n&&("loading"===_||"idle"===_)){var O;if((null==s?void 0:s.isPlaceholderData)&&e.placeholderData===(null==a?void 0:a.placeholderData))O=s.data;else if(O="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==O)try{O=e.select(O),!1!==e.structuralSharing&&(O=(0,i.Q$)(null==s?void 0:s.data,O)),this.previousSelectError=null}catch(A){(0,c.j)().error(A),v=A,this.previousSelectError=A,b=Date.now(),_="error"}void 0!==O&&(_="success",n=O,S=!0)}return{status:_,isLoading:"loading"===_,isSuccess:"success"===_,isError:"error"===_,isIdle:"idle"===_,data:n,dataUpdatedAt:y,error:v,errorUpdatedAt:b,failureCount:g.fetchFailureCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:w,isRefetching:w&&"loading"!==_,isLoadingError:"error"===_&&0===g.dataUpdatedAt,isPlaceholderData:S,isPreviousData:E,isRefetchError:"error"===_&&0!==g.dataUpdatedAt,isStale:h(t,e),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(t,e){if(!e)return!0;if(t===e)return!1;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(t).some((function(n){var r=n,s=t[r]!==e[r],u=null==i?void 0:i.some((function(t){return t===n})),a=null==o?void 0:o.some((function(t){return t===n}));return s&&!a&&(!i||u)}))},n.updateResult=function(t){var e=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,i.VS)(this.currentResult,e)){var n={cache:!0};!1!==(null==t?void 0:t.listeners)&&this.shouldNotifyListeners(this.currentResult,e)&&(n.listeners=!0),this.notify((0,r.Z)({},n,t))}},n.updateQuery=function(){var t=this.client.getQueryCache().build(this.client,this.options);if(t!==this.currentQuery){var e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}},n.onQueryUpdate=function(t){var e={};"success"===t.type?e.onSuccess=!0:"error"!==t.type||(0,l.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()},n.notify=function(t){var e=this;s.V.batch((function(){t.onSuccess?(null==e.options.onSuccess||e.options.onSuccess(e.currentResult.data),null==e.options.onSettled||e.options.onSettled(e.currentResult.data,null)):t.onError&&(null==e.options.onError||e.options.onError(e.currentResult.error),null==e.options.onSettled||e.options.onSettled(void 0,e.currentResult.error)),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)})),t.cache&&e.client.getQueryCache().notify({query:e.currentQuery,type:"observerResultsUpdated"})}))},e}(a.l);function p(t,e){return function(t,e){return!(!1===e.enabled||t.state.dataUpdatedAt||"error"===t.state.status&&!1===e.retryOnMount)}(t,e)||function(t,e){return!1!==e.enabled&&t.state.dataUpdatedAt>0&&("always"===e.refetchOnMount||!1!==e.refetchOnMount&&h(t,e))}(t,e)}function d(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status||!1===r.enabled)&&h(t,n)}function h(t,e){return t.isStaleByTime(e.staleTime)}},22348:function(t,e,n){"use strict";n.d(e,{LE:function(){return u},DV:function(){return c},m4:function(){return l}});var r=n(27483),o=n(58927),i=n(10774);function s(t){return Math.min(1e3*Math.pow(2,t),3e4)}function u(t){return"function"==typeof(null==t?void 0:t.cancel)}var a=function(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent};function c(t){return t instanceof a}var l=function(t){var e,n,c,l,f=this,p=!1;this.abort=t.abort,this.cancel=function(t){return null==e?void 0:e(t)},this.cancelRetry=function(){p=!0},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(t,e){c=t,l=e}));var d=function(e){f.isResolved||(f.isResolved=!0,null==t.onSuccess||t.onSuccess(e),null==n||n(),c(e))},h=function(e){f.isResolved||(f.isResolved=!0,null==t.onError||t.onError(e),null==n||n(),l(e))};!function c(){if(!f.isResolved){var l;try{l=t.fn()}catch(m){l=Promise.reject(m)}e=function(t){if(!f.isResolved&&(h(new a(t)),null==f.abort||f.abort(),u(l)))try{l.cancel()}catch(e){}},f.isTransportCancelable=u(l),Promise.resolve(l).then(d).catch((function(e){var u,a;if(!f.isResolved){var l=null!=(u=t.retry)?u:3,d=null!=(a=t.retryDelay)?a:s,m="function"==typeof d?d(f.failureCount,e):d,g=!0===l||"number"==typeof l&&f.failureCount<l||"function"==typeof l&&l(f.failureCount,e);!p&&g?(f.failureCount++,null==t.onFail||t.onFail(f.failureCount,e),(0,i.Gh)(m).then((function(){if(!r.j.isFocused()||!o.N.isOnline())return new Promise((function(e){n=e,f.isPaused=!0,null==t.onPause||t.onPause()})).then((function(){n=void 0,f.isPaused=!1,null==t.onContinue||t.onContinue()}))})).then((function(){p?h(e):c()}))):h(e)}}))}}()}},92693:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(t){var e=this,n=t||function(){};return this.listeners.push(n),this.onSubscribe(),function(){e.listeners=e.listeners.filter((function(t){return t!==n})),e.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t}()},77820:function(){},10774:function(t,e,n){"use strict";n.d(e,{sk:function(){return o},ZT:function(){return i},SE:function(){return s},PN:function(){return u},mc:function(){return a},Kp:function(){return c},_v:function(){return l},lV:function(){return f},I6:function(){return p},_x:function(){return d},X7:function(){return h},Rm:function(){return m},yF:function(){return g},to:function(){return y},Q$:function(){return b},VS:function(){return w},Gh:function(){return I},A4:function(){return P},G9:function(){return k}});var r=n(7896),o="undefined"==typeof window;function i(){}function s(t,e){return"function"==typeof t?t(e):t}function u(t){return"number"==typeof t&&t>=0&&t!==1/0}function a(t){return Array.isArray(t)?t:[t]}function c(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e,n){return S(t)?"function"==typeof e?(0,r.Z)({},n,{queryKey:t,queryFn:e}):(0,r.Z)({},e,{queryKey:t}):t}function f(t,e,n){return S(t)?"function"==typeof e?(0,r.Z)({},n,{mutationKey:t,mutationFn:e}):(0,r.Z)({},e,{mutationKey:t}):"function"==typeof t?(0,r.Z)({},e,{mutationFn:t}):(0,r.Z)({},t)}function p(t,e,n){return S(t)?[(0,r.Z)({},e,{queryKey:t}),n]:[t||{},e]}function d(t,e){var n=t.active,r=t.exact,o=t.fetching,i=t.inactive,s=t.predicate,u=t.queryKey,a=t.stale;if(S(u))if(r){if(e.queryHash!==m(u,e.options))return!1}else if(!y(e.queryKey,u))return!1;var c=function(t,e){return!0===t&&!0===e||null==t&&null==e?"all":!1===t&&!1===e?"none":(null!=t?t:!e)?"active":"inactive"}(n,i);if("none"===c)return!1;if("all"!==c){var l=e.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(("boolean"!=typeof o||e.isFetching()===o)&&!(s&&!s(e)))}function h(t,e){var n=t.exact,r=t.fetching,o=t.predicate,i=t.mutationKey;if(S(i)){if(!e.options.mutationKey)return!1;if(n){if(g(e.options.mutationKey)!==g(i))return!1}else if(!y(e.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===e.state.status===r)&&!(o&&!o(e))}function m(t,e){return((null==e?void 0:e.queryKeyHashFn)||g)(t)}function g(t){var e,n=a(t);return e=n,JSON.stringify(e,(function(t,e){return _(e)?Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{}):e}))}function y(t,e){return v(a(t),a(e))}function v(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&!Object.keys(e).some((function(n){return!v(t[n],e[n])})))}function b(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||_(t)&&_(e)){for(var r=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),i=o.length,s=n?[]:{},u=0,a=0;a<i;a++){var c=n?a:o[a];s[c]=b(t[c],e[c]),s[c]===t[c]&&u++}return r===i&&u===r?t:s}return e}function w(t,e){if(t&&!e||e&&!t)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}function _(t){if(!E(t))return!1;var e=t.constructor;if(void 0===e)return!0;var n=e.prototype;return!!E(n)&&!!n.hasOwnProperty("isPrototypeOf")}function E(t){return"[object Object]"===Object.prototype.toString.call(t)}function S(t){return"string"==typeof t||Array.isArray(t)}function I(t){return new Promise((function(e){setTimeout(e,t)}))}function P(t){Promise.resolve().then(t).catch((function(t){return setTimeout((function(){throw t}))}))}function k(){if("function"==typeof AbortController)return new AbortController}},82066:function(t,e,n){"use strict";n.d(e,{QueryClient:function(){return r.Su},QueryClientProvider:function(){return o.aH},useMutation:function(){return o.Db},useQuery:function(){return o.aM},useQueryClient:function(){return o.NL}});var r=n(60002);n.o(r,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(e,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(e,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(e,{useQueryClient:function(){return r.useQueryClient}});var o=n(33577)},77639:function(t,e,n){"use strict";n.d(e,{N:function(){return a},a:function(){return c}});var r=n(99196),o=n.n(r),i=o().createContext(void 0),s=o().createContext(!1);function u(t){return t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i}var a=function(){var t=o().useContext(u(o().useContext(s)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=function(t){var e=t.client,n=t.contextSharing,r=void 0!==n&&n,i=t.children;o().useEffect((function(){return e.mount(),function(){e.unmount()}}),[e]);var a=u(r);return o().createElement(s.Provider,{value:r},o().createElement(a.Provider,{value:e},i))}},4578:function(t,e,n){"use strict";n.d(e,{_:function(){return u}});var r=n(99196),o=n.n(r);function i(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var s=o().createContext(i()),u=function(){return o().useContext(s)}},33577:function(t,e,n){"use strict";n.d(e,{aH:function(){return r.a},NL:function(){return r.N},Db:function(){return o.D},aM:function(){return i.a}});n(96328),n(94091);var r=n(77639),o=n(82127),i=n(18067)},51733:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var r=console},63520:function(t,e,n){"use strict";n.d(e,{m:function(){return o}});var r=n(91850),o=n.n(r)().unstable_batchedUpdates},96328:function(t,e,n){"use strict";var r=n(50667),o=n(63520);r.V.setBatchNotifyFunction(o.m)},94091:function(t,e,n){"use strict";var r=n(53579),o=n(51733);(0,r.E)(o.k)},96744:function(t,e,n){"use strict";n.d(e,{r:function(){return c}});var r=n(99196),o=n.n(r),i=n(50667),s=n(4578),u=n(77639),a=n(13774);function c(t,e){var n=o().useRef(!1),r=o().useState(0)[1],c=(0,u.N)(),l=(0,s._)(),f=c.defaultQueryObserverOptions(t);f.optimisticResults=!0,f.onError&&(f.onError=i.V.batchCalls(f.onError)),f.onSuccess&&(f.onSuccess=i.V.batchCalls(f.onSuccess)),f.onSettled&&(f.onSettled=i.V.batchCalls(f.onSettled)),f.suspense&&("number"!=typeof f.staleTime&&(f.staleTime=1e3),0===f.cacheTime&&(f.cacheTime=1)),(f.suspense||f.useErrorBoundary)&&(l.isReset()||(f.retryOnMount=!1));var p=o().useState((function(){return new e(c,f)}))[0],d=p.getOptimisticResult(f);if(o().useEffect((function(){n.current=!0,l.clearReset();var t=p.subscribe(i.V.batchCalls((function(){n.current&&r((function(t){return t+1}))})));return p.updateResult(),function(){n.current=!1,t()}}),[l,p]),o().useEffect((function(){p.setOptions(f,{listeners:!1})}),[f,p]),f.suspense&&d.isLoading)throw p.fetchOptimistic(f).then((function(t){var e=t.data;null==f.onSuccess||f.onSuccess(e),null==f.onSettled||f.onSettled(e,null)})).catch((function(t){l.clearReset(),null==f.onError||f.onError(t),null==f.onSettled||f.onSettled(void 0,t)}));if(d.isError&&!d.isFetching&&(0,a.L)(f.suspense,f.useErrorBoundary,d.error))throw d.error;return"tracked"===f.notifyOnChangeProps&&(d=p.trackResult(d)),d}},82127:function(t,e,n){"use strict";n.d(e,{D:function(){return f}});var r=n(7896),o=n(99196),i=n.n(o),s=n(50667),u=n(10774),a=n(74856),c=n(77639),l=n(13774);function f(t,e,n){var o=i().useRef(!1),f=i().useState(0)[1],p=(0,u.lV)(t,e,n),d=(0,c.N)(),h=i().useRef();h.current?h.current.setOptions(p):h.current=new a.X(d,p);var m=h.current.getCurrentResult();i().useEffect((function(){o.current=!0;var t=h.current.subscribe(s.V.batchCalls((function(){o.current&&f((function(t){return t+1}))})));return function(){o.current=!1,t()}}),[]);var g=i().useCallback((function(t,e){h.current.mutate(t,e).catch(u.ZT)}),[]);if(m.error&&(0,l.L)(void 0,h.current.options.useErrorBoundary,m.error))throw m.error;return(0,r.Z)({},m,{mutate:g,mutateAsync:m.mutate})}},18067:function(t,e,n){"use strict";n.d(e,{a:function(){return s}});var r=n(24198),o=n(10774),i=n(96744);function s(t,e,n){var s=(0,o._v)(t,e,n);return(0,i.r)(s,r.z)}},13774:function(t,e,n){"use strict";function r(t,e,n){return"function"==typeof e?e(n):"boolean"==typeof e?e:!!t}n.d(e,{L:function(){return r}})},81346:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r=n(99196),o=n.n(r)().createContext(null)},42533:function(t,e,n){"use strict";var r=n(99196),o=n.n(r),i=n(81346),s=n(82062),u=n(44282);e.Z=function(t){var e=t.store,n=t.context,a=t.children,c=(0,r.useMemo)((function(){var t=(0,s.X)(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),l=(0,r.useMemo)((function(){return e.getState()}),[e]);(0,u.L)((function(){var t=c.subscription;return t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[c,l]);var f=n||i.E;return o().createElement(f.Provider,{value:c},a)}},49484:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(7896),o=n(31461),i=n(73463),s=n.n(i),u=n(99196),a=n.n(u),c=n(48570),l=n(82062),f=n(44282),p=n(81346),d=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],m=[],g=[null,null];function y(t,e){var n=t[1];return[e.payload,n+1]}function v(t,e,n){(0,f.L)((function(){return t.apply(void 0,e)}),n)}function b(t,e,n,r,o,i,s){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,s())}function w(t,e,n,r,o,i,s,u,a,c){if(t){var l=!1,f=null,p=function(){if(!l){var t,n,p=e.getState();try{t=r(p,o.current)}catch(d){n=d,f=d}n||(f=null),t===i.current?s.current||a():(i.current=t,u.current=t,s.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var _=function(){return[null,0]};function E(t,e){void 0===e&&(e={});var n=e,i=n.getDisplayName,f=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,E=n.methodName,S=void 0===E?"connectAdvanced":E,I=n.renderCountProp,P=void 0===I?void 0:I,k=n.shouldHandleStateChanges,O=void 0===k||k,A=n.storeKey,C=void 0===A?"store":A,T=(n.withRef,n.forwardRef),R=void 0!==T&&T,x=n.context,Z=void 0===x?p.E:x,j=(0,o.Z)(n,d),D=Z;return function(e){var n=e.displayName||e.name||"Component",i=f(n),p=(0,r.Z)({},j,{getDisplayName:f,methodName:S,renderCountProp:P,shouldHandleStateChanges:O,storeKey:C,displayName:i,wrappedComponentName:n,WrappedComponent:e}),d=j.pure;var E=d?u.useMemo:function(t){return t()};function I(n){var i=(0,u.useMemo)((function(){var t=n.reactReduxForwardedRef,e=(0,o.Z)(n,h);return[n.context,t,e]}),[n]),s=i[0],f=i[1],d=i[2],S=(0,u.useMemo)((function(){return s&&s.Consumer&&(0,c.isContextConsumer)(a().createElement(s.Consumer,null))?s:D}),[s,D]),I=(0,u.useContext)(S),P=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(I)&&Boolean(I.store);var k=P?n.store:I.store,A=(0,u.useMemo)((function(){return function(e){return t(e.dispatch,p)}(k)}),[k]),C=(0,u.useMemo)((function(){if(!O)return g;var t=(0,l.X)(k,P?null:I.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[k,P,I]),T=C[0],R=C[1],x=(0,u.useMemo)((function(){return P?I:(0,r.Z)({},I,{subscription:T})}),[P,I,T]),Z=(0,u.useReducer)(y,m,_),j=Z[0][0],L=Z[1];if(j&&j.error)throw j.error;var U=(0,u.useRef)(),F=(0,u.useRef)(d),N=(0,u.useRef)(),q=(0,u.useRef)(!1),M=E((function(){return N.current&&d===F.current?N.current:A(k.getState(),d)}),[k,j,d]);v(b,[F,U,q,d,M,N,R]),v(w,[O,k,T,A,F,U,q,N,R,L],[k,T,A]);var B=(0,u.useMemo)((function(){return a().createElement(e,(0,r.Z)({},M,{ref:f}))}),[f,e,M]);return(0,u.useMemo)((function(){return O?a().createElement(S.Provider,{value:x},B):B}),[S,B,x])}var k=d?a().memo(I):I;if(k.WrappedComponent=e,k.displayName=I.displayName=i,R){var A=a().forwardRef((function(t,e){return a().createElement(k,(0,r.Z)({},t,{reactReduxForwardedRef:e}))}));return A.displayName=i,A.WrappedComponent=e,s()(A,e)}return s()(k,e)}}},55443:function(t,e,n){"use strict";var r=n(7896),o=n(31461),i=n(49484),s=n(74570),u=n(99174),a=n(79600),c=n(79553),l=n(77405),f=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function p(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function d(t,e){return t===e}function h(t){var e=void 0===t?{}:t,n=e.connectHOC,h=void 0===n?i.Z:n,m=e.mapStateToPropsFactories,g=void 0===m?a.ZP:m,y=e.mapDispatchToPropsFactories,v=void 0===y?u.ZP:y,b=e.mergePropsFactories,w=void 0===b?c.ZP:b,_=e.selectorFactory,E=void 0===_?l.ZP:_;return function(t,e,n,i){void 0===i&&(i={});var u=i,a=u.pure,c=void 0===a||a,l=u.areStatesEqual,m=void 0===l?d:l,y=u.areOwnPropsEqual,b=void 0===y?s.Z:y,_=u.areStatePropsEqual,S=void 0===_?s.Z:_,I=u.areMergedPropsEqual,P=void 0===I?s.Z:I,k=(0,o.Z)(u,f),O=p(t,g,"mapStateToProps"),A=p(e,v,"mapDispatchToProps"),C=p(n,w,"mergeProps");return h(E,(0,r.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:O,initMapDispatchToProps:A,initMergeProps:C,pure:c,areStatesEqual:m,areOwnPropsEqual:b,areStatePropsEqual:S,areMergedPropsEqual:P},k))}}e.Z=h()},99174:function(t,e,n){"use strict";var r=n(56750),o=n(8528);e.ZP=[function(t){return"function"==typeof t?(0,o.xv)(t,"mapDispatchToProps"):void 0},function(t){return t?void 0:(0,o.dX)((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?(0,o.dX)((function(e){return(0,r.Z)(t,e)})):void 0}]},79600:function(t,e,n){"use strict";var r=n(8528);e.ZP=[function(t){return"function"==typeof t?(0,r.xv)(t,"mapStateToProps"):void 0},function(t){return t?void 0:(0,r.dX)((function(){return{}}))}]},79553:function(t,e,n){"use strict";var r=n(7896);function o(t,e,n){return(0,r.Z)({},n,t,e)}e.ZP=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,s=!1;return function(e,n,u){var a=t(e,n,u);return s?o&&i(a,r)||(r=a):(s=!0,r=a),r}}}(t):void 0},function(t){return t?void 0:function(){return o}}]},77405:function(t,e,n){"use strict";n.d(e,{ZP:function(){return u}});var r=n(31461),o=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function s(t,e,n,r,o){var i,s,u,a,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,m,g=!f(d,s),y=!l(o,i);return i=o,s=d,g&&y?(u=t(i,s),e.dependsOnOwnProps&&(a=e(r,s)),c=n(u,a,s)):g?(t.dependsOnOwnProps&&(u=t(i,s)),e.dependsOnOwnProps&&(a=e(r,s)),c=n(u,a,s)):y?(h=t(i,s),m=!p(h,u),u=h,m&&(c=n(u,a,s)),c):c}return function(o,l){return d?h(o,l):(u=t(i=o,s=l),a=e(r,s),c=n(u,a,s),d=!0,c)}}function u(t,e){var n=e.initMapStateToProps,u=e.initMapDispatchToProps,a=e.initMergeProps,c=(0,r.Z)(e,o),l=n(t,c),f=u(t,c),p=a(t,c);return(c.pure?s:i)(l,f,p,t,c)}},8528:function(t,e,n){"use strict";function r(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}n.d(e,{dX:function(){return r},xv:function(){return i}})},14283:function(t,e,n){"use strict";n.d(e,{zt:function(){return r.Z},$j:function(){return o.Z},I0:function(){return i.I},v9:function(){return s.v}});var r=n(42533),o=(n(49484),n(81346),n(55443)),i=n(23102),s=n(85247);n(87166)},23102:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var r=n(81346),o=n(87166);function i(t){void 0===t&&(t=r.E);var e=t===r.E?o.o:(0,o.f)(t);return function(){return e().dispatch}}var s=i()},24274:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(99196),o=n(81346);function i(){return(0,r.useContext)(o.E)}},85247:function(t,e,n){"use strict";n.d(e,{v:function(){return l}});var r=n(99196),o=n(24274),i=n(82062),s=n(44282),u=n(81346),a=function(t,e){return t===e};function c(t){void 0===t&&(t=u.E);var e=t===u.E?o.x:function(){return(0,r.useContext)(t)};return function(t,n){void 0===n&&(n=a);var o=e(),u=function(t,e,n,o){var u,a=(0,r.useReducer)((function(t){return t+1}),0)[1],c=(0,r.useMemo)((function(){return(0,i.X)(n,o)}),[n,o]),l=(0,r.useRef)(),f=(0,r.useRef)(),p=(0,r.useRef)(),d=(0,r.useRef)(),h=n.getState();try{if(t!==f.current||h!==p.current||l.current){var m=t(h);u=void 0!==d.current&&e(m,d.current)?d.current:m}else u=d.current}catch(g){throw l.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),g}return(0,s.L)((function(){f.current=t,p.current=h,d.current=u,l.current=void 0})),(0,s.L)((function(){function t(){try{var t=n.getState();if(t===p.current)return;var r=f.current(t);if(e(r,d.current))return;d.current=r,p.current=t}catch(g){l.current=g}a()}return c.onStateChange=t,c.trySubscribe(),t(),function(){return c.tryUnsubscribe()}}),[n,c]),u}(t,n,o.store,o.subscription);return(0,r.useDebugValue)(u),u}}var l=c()},87166:function(t,e,n){"use strict";n.d(e,{f:function(){return s},o:function(){return u}});var r=n(99196),o=n(81346),i=n(24274);function s(t){void 0===t&&(t=o.E);var e=t===o.E?i.x:function(){return(0,r.useContext)(t)};return function(){return e().store}}var u=s()},4792:function(t,e,n){"use strict";n.d(e,{zt:function(){return r.zt},$j:function(){return r.$j},I0:function(){return r.I0},v9:function(){return r.v9}});var r=n(14283),o=n(41369);(0,n(14210).F)(o.m)},82062:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(14210);var o={notify:function(){},get:function(){return[]}};function i(t,e){var n,i=o;function s(){a.onStateChange&&a.onStateChange()}function u(){n||(n=e?e.addNestedSub(s):t.subscribe(s),i=function(){var t=(0,r.k)(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}var a={addNestedSub:function(t){return u(),i.subscribe(t)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:s,isSubscribed:function(){return Boolean(n)},trySubscribe:u,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=o)},getListeners:function(){return i}};return a}},14210:function(t,e,n){"use strict";n.d(e,{F:function(){return o},k:function(){return i}});var r=function(t){t()},o=function(t){return r=t},i=function(){return r}},56750:function(t,e,n){"use strict";function r(t,e){var n={},r=function(r){var o=t[r];"function"==typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}n.d(e,{Z:function(){return r}})},41369:function(t,e,n){"use strict";n.d(e,{m:function(){return r.unstable_batchedUpdates}});var r=n(91850)},74570:function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!r(t[n[i]],e[n[i]]))return!1;return!0}n.d(e,{Z:function(){return o}})},44282:function(t,e,n){"use strict";n.d(e,{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},43292:function(t,e){"use strict";function n(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(o){return"function"==typeof o?o(n,r,t):e(o)}}}}var r=n();r.withExtraArgument=n,e.Z=r},18717:function(t,e,n){"use strict";n.d(e,{md:function(){return p},UY:function(){return l},qC:function(){return f},MT:function(){return c}});var r=n(33028);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function a(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function c(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(t,e)}if("function"!=typeof t)throw new Error(o(2));var s=t,l=e,f=[],p=f,d=!1;function h(){p===f&&(p=f.slice())}function m(){if(d)throw new Error(o(3));return l}function g(t){if("function"!=typeof t)throw new Error(o(4));if(d)throw new Error(o(5));var e=!0;return h(),p.push(t),function(){if(e){if(d)throw new Error(o(6));e=!1,h();var n=p.indexOf(t);p.splice(n,1),f=null}}}function y(t){if(!a(t))throw new Error(o(7));if(void 0===t.type)throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,l=s(l,t)}finally{d=!1}for(var e=f=p,n=0;n<e.length;n++){(0,e[n])()}return t}function v(t){if("function"!=typeof t)throw new Error(o(10));s=t,y({type:u.REPLACE})}function b(){var t,e=g;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(o(11));function n(){t.next&&t.next(m())}return n(),{unsubscribe:e(n)}}})[i]=function(){return this},t}return y({type:u.INIT}),(r={dispatch:y,subscribe:g,getState:m,replaceReducer:v})[i]=b,r}function l(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"==typeof t[i]&&(n[i]=t[i])}var s,a=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:u.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(t,e){if(void 0===t&&(t={}),s)throw s;for(var r=!1,i={},u=0;u<a.length;u++){var c=a[u],l=n[c],f=t[c],p=l(f,e);if(void 0===p){e&&e.type;throw new Error(o(14))}i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function p(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},u=e.map((function(t){return t(s)}));return i=f.apply(void 0,u)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245:function(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},10547:function(t){"use strict";var e=256,n=[],r=window,o=Math.pow(e,6),i=Math.pow(2,52),s=2*i,u=255,a=Math.random;function c(t){var n,r=t.length,o=this,i=0,s=o.i=o.j=0,a=o.S=[];for(r||(t=[r++]);i<e;)a[i]=i++;for(i=0;i<e;i++)a[i]=a[s=u&s+t[i%r]+(n=a[i])],a[s]=n;(o.g=function(t){for(var n,r=0,i=o.i,s=o.j,a=o.S;t--;)n=a[i=u&i+1],r=r*e+a[u&(a[i]=a[s=u&s+n])+(a[s]=n)];return o.i=i,o.j=s,r})(e)}function l(t,e){var n,r=[],o=(typeof t)[0];if(e&&"o"==o)for(n in t)try{r.push(l(t[n],e-1))}catch(i){}return r.length?r:"s"==o?t:t+"\0"}function f(t,e){for(var n,r=t+"",o=0;o<r.length;)e[u&o]=u&(n^=19*e[u&o])+r.charCodeAt(o++);return d(e)}function p(t){try{return r.crypto.getRandomValues(t=new Uint8Array(e)),d(t)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,d(n)]}}function d(t){return String.fromCharCode.apply(0,t)}t.exports=function(r,u){if(u&&!0===u.global)return u.global=!1,Math.random=t.exports(r,u),u.global=!0,Math.random;var a=u&&u.entropy||!1,h=[],m=(f(l(a?[r,d(n)]:0 in arguments?r:p(),3),h),new c(h));return f(d(m.S),n),function(){for(var t=m.g(6),n=o,r=0;t<i;)t=(t+r)*e,n*=e,r=m.g(1);for(;t>=s;)t/=2,n/=2,r>>>=1;return(t+r)/n}},t.exports.resetGlobal=function(){Math.random=a},f(Math.random(),n)},74294:function(t,e,n){"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),u=r("%WeakMap%",!0),a=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+i(t))},get:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(a){if(e)return p(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return f(t,r)}else if(a){if(e)return h(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,o){u&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new u),l(t,r,o)):a?(e||(e=new a),d(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},23729:function(t,e,n){var r=n(98595),o=n(88120),i=[n(30225)];t.exports=r.createStore(o,i)},30225:function(t,e,n){t.exports=function(){return n(35414),{}}},35414:function(){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,o,i,s,u=gap,a=e[t];switch(a&&"object"==typeof a&&"function"==typeof a.toJSON&&(a=a.toJSON(t)),"function"==typeof rep&&(a=rep.call(e,t,a)),typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";if(gap+=indent,s=[],"[object Array]"===Object.prototype.toString.apply(a)){for(i=a.length,n=0;n<i;n+=1)s[n]=str(n,a)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+u+"]":"["+s.join(",")+"]",gap=u,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],a))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(o=str(r,a))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+u+"}":"{"+s.join(",")+"}",gap=u,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(t,e,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:function(t,e,n){var r=n(49511),o=r.slice,i=r.pluck,s=r.each,u=r.bind,a=r.create,c=r.isList,l=r.isFunction,f=r.isObject;t.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!c(t)&&(t=[t]),e&&!c(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(r){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var u=[i].concat(e);return t.apply(r,u)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(r){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(c(t))s(t,(function(t){e._addPlugin(t)}));else if(!i(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;if(t){(t.warn?t.warn:t.log).apply(t,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},m=a(h,p,{plugins:[]});return m.raw={},s(m,(function(t,e){l(t)&&(m.raw[e]=u(m,t))})),s(t,(function(t){m._addStorage(t)})),s(e,(function(t){m._addPlugin(t)})),m}},49511:function(t){var e=Object.assign?Object.assign:function(t,e,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(e,n){t[n]=e}));return t},n=function(){if(Object.create)return function(t,n,r,o){var s=i(arguments,1);return e.apply(this,[Object.create(t)].concat(s))};{function t(){}return function(n,r,o,s){var u=i(arguments,1);return t.prototype=n,e.apply(this,[new t].concat(u))}}}(),r=String.prototype.trim?function(t){return String.prototype.trim.call(t)}:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(t,e){return Array.prototype.slice.call(t,e||0)}function s(t,e){u(t,(function(t,n){return e(t,n),!1}))}function u(t,e){if(a(t)){for(var n=0;n<t.length;n++)if(e(t[n],n))return t[n]}else for(var r in t)if(t.hasOwnProperty(r)&&e(t[r],r))return t[r]}function a(t){return null!=t&&"function"!=typeof t&&"number"==typeof t.length}t.exports={assign:e,create:n,trim:r,bind:function(t,e){return function(){return e.apply(t,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(t,e){var n=a(t)?[]:{};return u(t,(function(t,r){return n[r]=e(t,r),!1})),n},pluck:u,isList:a,isFunction:function(t){return t&&"[object Function]"==={}.toString.call(t)},isObject:function(t){return t&&"[object Object]"==={}.toString.call(t)},Global:o}},88120:function(t,e,n){t.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:function(t,e,n){var r=n(49511),o=r.Global,i=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!c(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;s.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:u,remove:a,clearAll:function(){u((function(t,e){a(e)}))}};var s=o.document;function u(t){for(var e=s.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(i(e[n])){var r=e[n].split("="),o=unescape(r[0]);t(unescape(r[1]),o)}}function a(t){t&&c(t)&&(s.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:function(t,e,n){var r=n(49511).Global;function o(){return r.localStorage}function i(t){return o().getItem(t)}t.exports={name:"localStorage",read:i,write:function(t,e){return o().setItem(t,e)},each:function(t){for(var e=o().length-1;e>=0;e--){var n=o().key(e);t(i(n),n)}},remove:function(t){return o().removeItem(t)},clearAll:function(){return o().clear()}}},71884:function(t){t.exports={name:"memoryStorage",read:function(t){return e[t]},write:function(t,n){e[t]=n},each:function(t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},remove:function(t){delete e[t]},clearAll:function(t){e={}}};var e={}},50026:function(t,e,n){var r=n(49511).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return o[t]},write:function(t,e){o[t]=e},each:i,remove:function(t){return o.removeItem(t)},clearAll:function(){i((function(t,e){delete o[t]}))}};var o=r.globalStorage;function i(t){for(var e=o.length-1;e>=0;e--){var n=o.key(e);t(o[n],n)}}},70240:function(t,e,n){var r=n(49511).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(u)return;var n=c(t);s((function(t){t.setAttribute(n,e),t.save(o)}))},read:function(t){if(u)return;var e=c(t),n=null;return s((function(t){n=t.getAttribute(e)})),n},each:function(t){s((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];t(e.getAttribute(o.name),o.name)}}))},remove:function(t){var e=c(t);s((function(t){t.removeAttribute(e),t.save(o)}))},clearAll:function(){s((function(t){var e=t.XMLDocument.documentElement.attributes;t.load(o);for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var t,e,n;try{(e=new ActiveXObject("htmlfile")).open(),e.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(r){n=i.createElement("div"),t=i.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load(o),e.apply(this,r),t.removeChild(n)}}(),u=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var a=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(a,"___")}},90109:function(t,e,n){var r=n(49511).Global;function o(){return r.sessionStorage}function i(t){return o().getItem(t)}t.exports={name:"sessionStorage",read:i,write:function(t,e){return o().setItem(t,e)},each:function(t){for(var e=o().length-1;e>=0;e--){var n=o().key(e);t(i(n),n)}},remove:function(t){return o().removeItem(t)},clearAll:function(){return o().clear()}}},49830:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(t,e){var n;for(n in this.data=t,this.pluralForms={},this.options={},o)this.options[n]=void 0!==e&&n in e?e[n]:o[n]}i.prototype.getPluralForm=function(t,e){var n,o,i,s=this.pluralForms[t];return s||("function"!=typeof(i=(n=this.data[t][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=function(t){var e,n,r;for(e=t.split(";"),n=0;n<e.length;n++)if(0===(r=e[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=(0,r.Z)(o)),s=this.pluralForms[t]=i),s(e)},i.prototype.dcnpgettext=function(t,e,n,r,o){var i,s,u;return i=void 0===o?0:this.getPluralForm(t,o),s=n,e&&(s=e+this.options.contextDelimiter+n),(u=this.data[t][s])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===i?n:r)}},77879:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});const r=new(n(82066).QueryClient)},36707:function(){window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",happychat_url:"https://happychat-io-staging.go-vip.co/customer",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en"],upwork_support_locales:["de"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786},window.process={env:{NODE_DEBUG:"dev"}}},75631:function(t,e,n){"use strict";n.d(e,{Z:function(){return C}});var r=n(69307),o=(n(88691),n(23025)),i=n(99196),s=n(4792),u=n(18717),a=n(43292),c=n(62635),l=n(38606),f=n(70858),p=n(21058),d=n(59852),h=n(29726),m=n(15223),g=n(6255),y=n(91668),v=n(18724),b=n(76693),w=n(24570),_=n(9044),E=n(82139),S=n(71799),I=n(9817),P=n(95884),k=n(90924);const O=(0,P.U)({currentUser:v.ZP,sites:E.ZP}),A=(0,u.MT)(O,(0,u.qC)(g.Z,k.f,(0,u.md)(a.Z,m.Z,b.Z)));function C(t){let{selectedArticle:e,setSelectedArticle:n,setFooterContent:u}=t;const[a,f]=(0,i.useState)(null),[p,d]=(0,i.useState)(null);return(0,r.createElement)(s.zt,{store:A},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Z,{siteId:window._currentSiteId}),a?(0,r.createElement)(o.Z,{mode:a,onBackClick:()=>{d(!0),f(null)},onGoHome:()=>{d(!1),f(null)},siteId:window._currentSiteId}):(0,r.createElement)(c.Z,{selectedArticle:e,setSelectedArticle:n,setHelpCenterFooter:u,setContactFormOpen:f,openInContactPage:p})))}(0,_.P)(A),A.dispatch((0,I.z)({name:"gutenberg-editor"})),A.dispatch((0,S.B)(window._currentSiteId)),(0,d.G)().then(h.v).then((t=>{t&&A.dispatch((0,y.lx)(t)),(0,f.M)(t||void 0,(0,p.Z)(A)),A.dispatch((0,w._)())}))},99477:function(t,e,n){"use strict";var r=n(69307),o=n(53762),i=n(92421),s=n(55213),u=n(55609),a=n(94333),c=n(9818),l=n(85192),f=n(98817),p=n(72779),d=n.n(p),h=n(99196),m=n(82066),g=n(77879),y=n(75631);n(39142);function v(){const t=(0,a.useMediaQuery)("(min-width: 480px)"),e=(0,c.useSelect)((t=>t("automattic/help-center").isHelpCenterShown())),{setShowHelpCenter:n}=(0,c.useDispatch)("automattic/help-center"),[f,p]=(0,h.useState)(null),[m,g]=(0,h.useState)(null),[v,b]=(0,h.useState)(!1),{data:w,isLoading:_}=(0,o.R)(window._currentSiteId);(0,h.useEffect)((()=>{!_&&w&&b(!w.has_seen_whats_new_modal)}),[w,_]),(0,h.useEffect)((()=>{e||p(null)}),[e]);const E=(0,r.createElement)("span",{className:"etk-help-center"},(0,r.createElement)(u.Button,{className:d()("entry-point-button",{"is-active":e}),onClick:()=>n(!e),icon:(0,r.createElement)(i.Z,{newItems:v,active:e})}));return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Ox,{scope:"core/edit-post"},E),(0,r.createElement)(l.Ox,{scope:"core/edit-site"},E)),e&&(0,r.createElement)(s.Z,{content:(0,r.createElement)(y.Z,{selectedArticle:f,setSelectedArticle:p,setFooterContent:g}),headerText:null==f?void 0:f.title,handleClose:()=>n(!1),footerContent:m}))}(0,f.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(m.QueryClientProvider,{client:g.c},(0,r.createElement)(v,null),",")})},67459:function(t,e,n){"use strict";n.d(e,{p:function(){return l},x:function(){return f}});var r=n(83685),o=n(11481),i=n(96598),s=n(26991),u=n(26347),a=n(64802),c=n(20336);const l=(0,r.P1)(((t,e)=>{const n=(0,a.Z)(t,e);return[{title:(0,o.Iu)("Add a new domain"),description:(0,o.Iu)("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${n}`,synonyms:["domains"],icon:"domains"},{title:(0,o.Iu)("Manage my domain settings"),description:(0,o.Iu)("Manage all domains linked to your account."),link:`/domains/manage/${n}`,synonyms:["domains"],icon:"domains"},{title:(0,o.Iu)("Change my site address"),link:`/domains/manage/${n}/edit/${n}`,synonyms:["domains","domain"],icon:"domains"},{title:(0,o.Iu)("Add a site redirect"),description:(0,o.Iu)("Redirect your site to another domain."),link:`/domains/add/site-redirect/${n}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:(0,o.Iu)("Change my password"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:(0,o.Iu)("Change my site's theme"),link:`/themes/${n}`,synonyms:["switch","design"],icon:"customize"},{title:(0,o.Iu)("Customize my site's theme"),link:(0,c.Z)(t,e),synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:(0,o.Iu)("Change my homepage"),link:(0,c.Z)(t,e,"homepage"),synonyms:["home","homepage"],icon:"customize"},{title:(0,o.Iu)("Edit my menu"),link:(0,c.Z)(t,e,"menus"),synonyms:["menu"],icon:"customize"},{title:(0,o.Iu)("Set a site logo"),link:(0,c.Z)(t,e,"identity"),synonyms:["logo","identity"],icon:"customize"},{title:(0,o.Iu)("Find a plan to suit my site"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Cancel my plan"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Upgrade my plan"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,o.Iu)("Cancel %(googleMailService)s",{args:{googleMailService:(0,i.H)()},comment:'%(googleMailService)s can be either "G Suite" or "Google Workspace"'}),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:(0,o.Iu)("Renew my plan"),link:`/plans/${n}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:(0,o.Iu)("Renew my domain"),link:`/plans/${n}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:(0,o.Iu)("View my site activity"),link:`/activity-log/${n}`,icon:"history"},{title:(0,o.Iu)("View my site's latest stats"),link:`/stats/day/${n}`,synonyms:["analytics"],icon:"stats-alt"},{title:(0,o.Iu)("Upload an image, video, audio or document"),link:`/media/${n}`,synonyms:["media","photo"],icon:"image"},{title:(0,o.Iu)("Import content from another site"),link:`/settings/import/${n}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:(0,o.Iu)("Earn money from my site"),description:(0,o.Iu)("By upgrading to the Pro plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${n}`,synonyms:["monetize","wordads","pro"],icon:"money"},{title:(0,o.Iu)("Learn how to market my site"),link:`/marketing/tools/${n}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:(0,o.Iu)("Manage my site's users"),description:(0,o.Iu)("Invite new users and edit existing ones."),link:`/people/team/${n}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:(0,o.Iu)("Invite new users to my site"),link:`/people/new/${n}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:(0,o.Iu)("Change my site's timezone"),link:`/settings/general/${n}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:(0,o.Iu)("Launch my site"),description:(0,o.Iu)("Switch your site from private to public."),link:`/settings/general/${n}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:(0,o.Iu)("Delete a site or a site's content"),description:(0,o.Iu)("Remove all posts, pages, and media, or delete a site completely."),link:`/settings/general/${n}#site-tools__header`,icon:"cog"},{title:(0,o.Iu)("Set a site icon"),link:`/settings/general/${n}`,icon:"cog",synonyms:["logo"]},{title:(0,o.Iu)("Change my site's footer text"),description:(0,o.Iu)("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${n}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:(0,o.Iu)("Export my site's content and media library"),description:(0,o.Iu)("Export posts, pages and more from your site."),link:`/settings/export/${n}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:(0,o.Iu)("Manage sharing and social media connections"),link:`/sharing/${n}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:(0,o.Iu)("Add sharing buttons to my site"),description:(0,o.Iu)("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${n}`,synonyms:["like","reblog"],icon:"share"},{title:(0,o.Iu)("Install, manage, and search for site Plugins"),link:`/plugins/${n}`,synonyms:["upload"],icon:"plugins"},{title:(0,o.Iu)("Approve or delete comments"),link:`/comments/all/${n}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:(0,o.Iu)("Manage how users can comment on my site"),link:`/settings/discussion/${n}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:(0,o.Iu)("Manage post categories"),link:`/settings/writing/${n}`,synonyms:["post","category"],icon:"cog"},{title:(0,o.Iu)("Edit my site title, tagline, or logo"),link:`/settings/general/${n}`,synonyms:["title","logo"],icon:"cog"},{title:(0,o.Iu)("Set up a podcast"),link:`/settings/writing/${n}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:(0,o.Iu)("Change my site's privacy settings"),link:`/settings/general/${n}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:(0,o.Iu)("Manage SEO and traffic settings"),link:`/settings/traffic/${n}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:(0,o.Iu)("Update my profile"),description:(0,o.Iu)("Update your name, profile image, and about text."),link:"/me",synonyms:["avatar"],icon:"user"},{title:(0,o.Iu)("Update my username or email address"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:(0,o.Iu)("Change the dashboard color scheme"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:(0,o.Iu)("Switch the interface language"),description:(0,o.Iu)("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:(0,o.Iu)("Close my account permanently"),description:(0,o.Iu)("Delete all of your sites, and close your account completely."),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:(0,o.Iu)("Change my account privacy settings"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:(0,o.Iu)("View my purchase and billing history"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:(0,o.Iu)("Download the WordPress.com app for my device"),description:(0,o.Iu)("Get WordPress apps for all your screens."),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:(0,o.Iu)("View my drafted posts"),link:`/posts/drafts/${n}`,synonyms:["posts","draft"],icon:"my-sites"},{title:(0,o.Iu)("Manage my blog posts"),link:`/posts/${n}`,synonyms:["lists","posts"],icon:"my-sites"},{title:(0,o.Iu)("New post"),description:(0,o.Iu)("Create a new blog post on your site."),link:`/post/${n}`,synonyms:["lists","posts"],icon:"my-sites"},{title:(0,o.Iu)("View my drafted pages"),link:`/pages/drafts/${n}`,synonyms:["pages","draft"],icon:"my-sites"},{title:(0,o.Iu)("Manage my pages"),link:`/pages/${n}`,synonyms:["lists","pages"],icon:"my-sites"},{title:(0,o.Iu)("I cannot find my site on Google"),link:`/marketing/traffic/${n}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:(0,o.Iu)("Verify my site with Google"),link:`/marketing/traffic/${n}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:(0,o.Iu)("Create a new site"),link:`${(0,u.Nf)()}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:(0,o.Iu)("View contact form messages"),link:`https://${n}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:(0,o.Iu)("Portfolio projects (for those who have them active)"),link:`/types/jetpack-portfolio/${n}`,synonyms:["portfolio"],icon:"cog"}]}),((t,e)=>[(0,a.Z)(t,e)]));function f(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!t.length)return[];const r=t.split(/[\W_]+/g).filter(Boolean).map((t=>t.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((t,e)=>e+1===r.length?`(?=.*\\b${t})`:`(?=.*\\b${t}\\b)`)).join("")+".+","gi"),i=[],u=[],a=[];return e.forEach((e=>{var n;e.title.toLowerCase()===t.toLowerCase()?i.push(e):o.test(e.title)?u.push(e):"en"===(0,s.Y)()&&null!==(n=e.synonyms)&&void 0!==n&&n.some((t=>r.includes(t)))&&a.push(e)})),[...i,...u,...a].slice(0,n)}},83831:function(t,e,n){"use strict";n.d(e,{pp:function(){return r},Sm:function(){return o},fI:function(){return i},z1:function(){return s},RU:function(){return u},Di:function(){return a},D_:function(){return c},EE:function(){return l},QZ:function(){return f},h_:function(){return p}});const r="article",o="tour",i="video",s="contact",u="richresult",a=9619154,c="contextual_help",l="api_help",f="admin_section",p="sell_intent"},30081:function(t,e,n){"use strict";n.d(e,{r:function(){return f}});var r=n(47498),o=n(11481),i=n(83831);const s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return(0,o.Iu)("Do I Need a Website, a Blog, or a Website with a Blog?")},get description(){return(0,o.Iu)("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return(0,o.Iu)("Uploading custom plugins and themes")},get description(){return(0,o.Iu)("Learn more about installing a custom theme or plugin using the Business plan.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return(0,o.Iu)("All About Domains")},get description(){return(0,o.Iu)("Set up your domain whether it’s registered with WordPress.com or elsewhere.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return(0,o.Iu)("Quick-Start Guide")},get description(){return(0,o.Iu)("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return(0,o.Iu)("Privacy Settings")},get description(){return(0,o.Iu)("Limit your site’s visibility or make it completely private.")}}],u=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return(0,o.Iu)("All about blog posts")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return(0,o.Iu)("Encourage visitors to subscribe to your content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return(0,o.Iu)("Share your content to social media automatically")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return(0,o.Iu)("Encourage visitors to share your content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return(0,o.Iu)("Learn about how to get noticed by search engines")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return(0,o.Iu)("Verify your site with Google and other services")}}],a={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return(0,o.Iu)("Understanding the Stats Page")},get description(){return(0,o.Iu)("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return(0,o.Iu)("Getting More Views and Traffic")},get description(){return(0,o.Iu)("Want more traffic? Here are some tips for attracting more visitors to your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/increase-your-site-traffic/")},post_id:132186,get title(){return(0,o.Iu)("Increase Your Site Traffic")},get description(){return(0,o.Iu)("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return(0,o.Iu)("Grow Your Community")},get description(){return(0,o.Iu)("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/connect-to-social-media/")},post_id:130825,get title(){return(0,o.Iu)("Integrate and Connect to Social Media")},get description(){return(0,o.Iu)("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return(0,o.Iu)("Sharing Your Content")},get description(){return(0,o.Iu)("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return(0,o.Iu)("Using Instagram")},get description(){return(0,o.Iu)("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return(0,o.Iu)("Using Twitter")},get description(){return(0,o.Iu)('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!')}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return(0,o.Iu)("Managing Your Profile")},get description(){return(0,o.Iu)("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return(0,o.Iu)("Your Profile Picture")},get description(){return(0,o.Iu)("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-deactivation/")},post_id:138080,get title(){return(0,o.Iu)("Account Closure")},get description(){return(0,o.Iu)("Need a fresh start? Learn how to close your account.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return(0,o.Iu)("Change Your Username")},get description(){return(0,o.Iu)("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return(0,o.Iu)("Change Your Username")},get description(){return(0,o.Iu)("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:130826,get title(){return(0,o.Iu)("Manage Your Account")},get description(){return(0,o.Iu)("Learn the ins and outs of managing your WordPress.com account and site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return(0,o.Iu)("Edit Your Account Settings")},get description(){return(0,o.Iu)("You can review and edit basic account information in Account Settings. ")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-deactivation/")},post_id:143899,get title(){return(0,o.Iu)("Close Your Account")},get description(){return(0,o.Iu)("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return(0,o.Iu)("Two-Step Authentication")},get description(){return(0,o.Iu)('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!')}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return(0,o.Iu)("Account Recovery")},get description(){return(0,o.Iu)("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return(0,o.Iu)("Passwords And How To Use Them")},get description(){return(0,o.Iu)("Passwords are very important to user accounts, and there may come a time when you need to change your password.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return(0,o.Iu)("Third Party Applications")},get description(){return(0,o.Iu)("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return(0,o.Iu)("Notifications")},get description(){return(0,o.Iu)("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return(0,o.Iu)("Email Notifications")},get description(){return(0,o.Iu)("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return(0,o.Iu)("Following Comments")},get description(){return(0,o.Iu)("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return(0,o.Iu)("Following Blogs")},get description(){return(0,o.Iu)("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return(0,o.Iu)("The Media Library")},get description(){return(0,o.Iu)("The Media Library is where you can manage your images, audio, videos, and documents all in one place.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/add-media/finding-free-images-and-other-media/")},post_id:78425,get title(){return(0,o.Iu)("Finding Free Images and other Media")},get description(){return(0,o.Iu)("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/add-media/")},post_id:38830,get title(){return(0,o.Iu)("Add Media")},get description(){return(0,o.Iu)("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return(0,o.Iu)("Including Videos")},get description(){return(0,o.Iu)("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return(0,o.Iu)("User Roles")},get description(){return(0,o.Iu)("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return(0,o.Iu)("User Mentions")},get description(){return(0,o.Iu)("User mentions are a great way to include other WordPress.com users within your posts and comments.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/adding-users/")},post_id:2160,get title(){return(0,o.Iu)("Inviting Contributors, Followers, and Viewers")},get description(){return(0,o.Iu)("Invite contributors, followers, and viewers to collaborate with others and grow your audience!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return(0,o.Iu)("Your Followers")},get description(){return(0,o.Iu)("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return(0,o.Iu)("Using Plugins")},get description(){return(0,o.Iu)("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Pro plan allows you to choose from many thousands of plugins, and install them on your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/managing-plugins/")},post_id:134818,get title(){return(0,o.Iu)("Managing plugins")},get description(){return(0,o.Iu)("After you install a plugin, it will appear in a list at My Sites → Plugins.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/adding-plugins/")},post_id:134719,get title(){return(0,o.Iu)("Adding Plugins")},get description(){return(0,o.Iu)("Along with all the tools and features built right into WordPress.com, the Pro plan allows you to install other plugins.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return(0,o.Iu)("Business Plan")},get description(){return(0,o.Iu)("When you want to build a one-of-a-kind website, it's time for WordPress.com Pro: upload plugins and themes to create a truly tailored experience for your visitors.")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return(0,o.Iu)("Do I Need a Website, a Blog, or a Website with a Blog?")},get description(){return(0,o.Iu)("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return(0,o.Iu)("Build Your Website in Five Steps")},get description(){return(0,o.Iu)("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return(0,o.Iu)("Landing Pages")},get description(){return(0,o.Iu)("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return(0,o.Iu)("About Blog Posts")},get description(){return(0,o.Iu)("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return(0,o.Iu)("Post Formats")},get description(){return(0,o.Iu)("Learn how to make gallery, video, audio, and other post types pop with post formats. ")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return(0,o.Iu)("Writing Settings")},get description(){return(0,o.Iu)("Learn how to manage categories, date format, content types, and more.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return(0,o.Iu)("Categories vs. Tags")},get description(){return(0,o.Iu)("Learn the differences between categories and tags.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return(0,o.Iu)("Feeds")},get description(){return(0,o.Iu)("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return(0,o.Iu)("Portfolios")},get description(){return(0,o.Iu)("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return(0,o.Iu)("Discussion Settings")},get description(){return(0,o.Iu)("The Discussion Settings are used to control how visitors and other blogs interact with your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/enable-disable-comments-for-future-posts/")},post_id:5997,get title(){return(0,o.Iu)("Enable and Disable Comments for Future Posts")},get description(){return(0,o.Iu)("You can enable/disable comments on future posts by going into your Discussion settings. ")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return(0,o.Iu)("Comments")},get description(){return(0,o.Iu)("Comments are a way for visitors to add feedback to your posts and pages.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return(0,o.Iu)("Subscriptions and Newsletters")},get description(){return(0,o.Iu)("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return(0,o.Iu)("Get More Views and Traffic")},get description(){return(0,o.Iu)("Want more traffic? Here are some tips for attracting more visitors to your site!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return(0,o.Iu)("Related Posts")},get description(){return(0,o.Iu)("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return(0,o.Iu)("Site Verification Services")},get description(){return(0,o.Iu)("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return(0,o.Iu)("Accelerated Mobile Pages (AMP)")},get description(){return(0,o.Iu)("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return(0,o.Iu)("Security")},get description(){return(0,o.Iu)("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/unwanted-comments/")},post_id:5882,get title(){return(0,o.Iu)("Unwanted Comments and Comment Spam")},get description(){return(0,o.Iu)("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/selecting-a-strong-password/")},post_id:35364,get title(){return(0,o.Iu)("Selecting A Strong Password")},get description(){return(0,o.Iu)("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return(0,o.Iu)("Settings")},get description(){return(0,o.Iu)("The Settings menu of your site is where you will configure everything about how the blog works and functions.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return(0,o.Iu)("General Settings")},get description(){return(0,o.Iu)("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return(0,o.Iu)("Site Icons")},get description(){return(0,o.Iu)("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return(0,o.Iu)("Five Steps to Your Great New Blog")},get description(){return(0,o.Iu)("Get ready to publish! Our five-step checklist walks you through all the fundamentals.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return(0,o.Iu)("Themes: An Overview")},get description(){return(0,o.Iu)("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/uploading-setting-up-custom-themes/child-themes/")},post_id:134704,get title(){return(0,o.Iu)("Child Themes")},get description(){return(0,o.Iu)("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return(0,o.Iu)("Themes: An Overview")},get description(){return(0,o.Iu)("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/uploading-setting-up-custom-themes/child-themes/")},get title(){return(0,o.Iu)("Child Themes")},post_id:134704,get description(){return(0,o.Iu)("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.")}}],plans:[{get link(){return(0,r.aq)("https://wordpress.com/support/discover-the-wordpress-com-plans/")},post_id:140323,get title(){return(0,o.Iu)("Explore the WordPress.com Plans")},get description(){return(0,o.Iu)("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return(0,o.Iu)("WordPress.com Plans")},get description(){return(0,o.Iu)("Learn about the capabilities and features that the different plans unlock for your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack-add-ons/")},post_id:115025,get title(){return(0,o.Iu)("Jetpack Plans")},get description(){return(0,o.Iu)("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return(0,o.Iu)('What are "Blocks"?')},get description(){return(0,o.Iu)("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/")},post_id:175999,get title(){return(0,o.Iu)("The Payments Block")},get description(){return(0,o.Iu)("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/xml-rpc/")},post_id:3595,get title(){return(0,o.Iu)("Offline Editing")},get description(){return(0,o.Iu)("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/adding-users/")},post_id:2160,get title(){return(0,o.Iu)("Inviting Contributors, Followers, and Viewers")},get description(){return(0,o.Iu)("Invite contributors, followers, and viewers to collaborate with others and grow your audience!")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return(0,o.Iu)("The Reader: An Overview")},get description(){return(0,o.Iu)("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return(0,o.Iu)("Follow Blogs")},get description(){return(0,o.Iu)("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return(0,o.Iu)("Following Specific Topics in the Reader")},get description(){return(0,o.Iu)("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return(0,o.Iu)("Grow Your Community")},get description(){return(0,o.Iu)("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.")}}],help:[{get link(){return(0,r.aq)("https://wordpress.com/support/blogging-u/")},post_id:117437,get title(){return(0,o.Iu)("Blogging U.")},get description(){return(0,o.Iu)("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return(0,o.Iu)("Help! Getting WordPress.com Support")},get description(){return(0,o.Iu)("WordPress.com offers a number of avenues for reaching helpful, individualized support.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return(0,o.Iu)("All Support Articles")},get description(){return(0,o.Iu)("Looking to learn more about a feature? Our docs have all the details.")}},{get link(){return(0,r.aq)("https://learn.wordpress.com/")},get title(){return(0,o.Iu)("Self-guided Online Tutorial")},get description(){return(0,o.Iu)("A step-by-step guide to getting familiar with the platform.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return(0,o.Iu)("Comments")},get description(){return(0,o.Iu)("Comments are a way for visitors to add feedback to your posts and pages.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-display-options/")},post_id:5840,get title(){return(0,o.Iu)("Comment Display Options")},get description(){return(0,o.Iu)("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/unwanted-comments/")},post_id:5882,get title(){return(0,o.Iu)("Unwanted Comments and Comment Spam")},get description(){return(0,o.Iu)("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return(0,o.Iu)("Comment Likes")},get description(){return(0,o.Iu)("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return(0,o.Iu)("SFTP on WordPress.com")},get description(){return(0,o.Iu)("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return(0,o.Iu)("phpMyAdmin and MySQL")},get description(){return(0,o.Iu)("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return(0,o.Iu)("PHP Version Switching")},get description(){return(0,o.Iu)("Sites on the Pro Plan using custom plugins and/or custom themes now have the option to switch PHP versions.")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return(0,o.Iu)("WordPress.com Plans")},get description(){return(0,o.Iu)("Learn about the capabilities and features that the different plans unlock for your site.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack-add-ons/")},post_id:115025,get title(){return(0,o.Iu)("Jetpack Plans")},get description(){return(0,o.Iu)("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Manage Purchases and Refund Policy")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/auto-renewal/")},post_id:110924,get title(){return(0,o.Iu)("Subscriptions for Plans and Domains")},get description(){return(0,o.Iu)("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return(0,o.Iu)("Add Email to your Domain")},get description(){return(0,o.Iu)("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return(0,o.Iu)("Manage Custom DNS")},get description(){return(0,o.Iu)("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/move-domain/transfer-domain-registration/")},post_id:41298,get title(){return(0,o.Iu)("Transfer a Domain to Another Registrar")},get description(){return(0,o.Iu)("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-mapping-vs-domain-transfer/")},post_id:157655,get title(){return(0,o.Iu)("Connect an Existing Domain")},get description(){return(0,o.Iu)("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return(0,o.Iu)("All about domains")},get description(){return(0,o.Iu)("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return(0,o.Iu)("Managing Purchases, Renewals, and Cancellations")},get description(){return(0,o.Iu)("Have a question or need to change something about a purchase you have made? Learn how.")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return(0,o.Iu)("Add Social Sharing Buttons to Your Website")},get description(){return(0,o.Iu)("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return(0,o.Iu)("Connect Your Blog to Facebook Using Publicize")},get description(){return(0,o.Iu)("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return(0,o.Iu)("Display Your Instagram Feed on Your Website")},get description(){return(0,o.Iu)("Find out how to display your latest Instagram photos right on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return(0,o.Iu)("Set Up the Social Links Menu")},get description(){return(0,o.Iu)("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return(0,o.Iu)("Embed a Twitter Timeline in your Sidebar")},get description(){return(0,o.Iu)("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return(0,o.Iu)("Set Up a Social Media Icons Widget")},get description(){return(0,o.Iu)("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return(0,o.Iu)("Embed a Tweet from Twitter in Your Website")},get description(){return(0,o.Iu)("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return(0,o.Iu)("Embed an Instagram Photo in Your Website")},get description(){return(0,o.Iu)("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return(0,o.Iu)("Embed a Facebook Update in Your Website")},get description(){return(0,o.Iu)("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return(0,o.Iu)("Share Blog Posts Directly on Twitter")},get description(){return(0,o.Iu)("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return(0,o.Iu)("Add a Site Logo")},get description(){return(0,o.Iu)("Find out how to add a custom logo to your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return(0,o.Iu)("Update Your Website Title and Tagline")},get description(){return(0,o.Iu)("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return(0,o.Iu)("Change Your Privacy Settings")},get description(){return(0,o.Iu)("Find out how to change your website privacy settings on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return(0,o.Iu)("Add a Site Icon")},get description(){return(0,o.Iu)("Find out how to add a site icon on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return(0,o.Iu)("Create a Multilingual Site")},get description(){return(0,o.Iu)("Find out how to create a multilingual site on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return(0,o.Iu)("Customize Your Content Options")},get description(){return(0,o.Iu)("Find out how to customize your content options on select WordPress.com themes.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return(0,o.Iu)("Change Your Language Settings")},get description(){return(0,o.Iu)("Find out how to change your blog or website language and your interface language settings on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return(0,o.Iu)("Activate Free Email Forwarding")},get description(){return(0,o.Iu)("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return(0,o.Iu)("Change Your Password")},get description(){return(0,o.Iu)("Find out how to change your account password on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return(0,o.Iu)("Change Your WordPress.com Username")},get description(){return(0,o.Iu)("Find out how to change your username on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return(0,o.Iu)("Change Your WordPress.com Display Name")},get description(){return(0,o.Iu)("Find out how to change your display name on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return(0,o.Iu)("Change Your Account Email Address")},get description(){return(0,o.Iu)("Find out how to change your account email address on WordPress.com.")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return(0,o.Iu)("Add a Custom Header Image")},get description(){return(0,o.Iu)("Find out how to add a custom header image to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return(0,o.Iu)("Create a Custom Website Menu")},get description(){return(0,o.Iu)("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return(0,o.Iu)("Add a Widget")},get description(){return(0,o.Iu)("Find out how to add a widget to your WordPress.com website.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return(0,o.Iu)("Add a Custom Background")},get description(){return(0,o.Iu)("Find out how to add a custom background to your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return(0,o.Iu)("Change Your Site Fonts")},get description(){return(0,o.Iu)("Find out how to change the fonts on your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return(0,o.Iu)("Add a Gallery Widget")},get description(){return(0,o.Iu)("Find out how to add an image gallery widget to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return(0,o.Iu)("Use Featured Content")},get description(){return(0,o.Iu)("Find out how to use the Featured Content option on your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return(0,o.Iu)("Add an Image Widget")},get description(){return(0,o.Iu)("Find out how to add an image widget to your WordPress.com website or blog.")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return(0,o.Iu)("Create a Landing Page")},get description(){return(0,o.Iu)("Find out how to create a one-page website or landing page on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return(0,o.Iu)("Set Up a Website in 5 Steps")},get description(){return(0,o.Iu)("Find out how to create a website on WordPress.com in five steps.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return(0,o.Iu)("Set Up a Blog in 5 Steps")},get description(){return(0,o.Iu)("Find out how to create a blog on WordPress.com in five steps.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return(0,o.Iu)("Create a Page")},get description(){return(0,o.Iu)("Find out how to create a page on your WordPress.com site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return(0,o.Iu)("Create a Post")},get description(){return(0,o.Iu)("Find out how to create a post on WordPress.com.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return(0,o.Iu)("Use a Custom Menu in a Widget")},get description(){return(0,o.Iu)("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return(0,o.Iu)("Configure a Static Homepage")},get description(){return(0,o.Iu)("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return(0,o.Iu)("Show Related Posts on Your WordPress Blog")},get description(){return(0,o.Iu)("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return(0,o.Iu)("Add Testimonials")},get description(){return(0,o.Iu)("Find out how to add testimonials to your WordPress.com website or blog.")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return(0,o.Iu)("Change Your Post or Page Visibility Settings")},get description(){return(0,o.Iu)("Find out how to change your page or post visibility settings WordPress.com.")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return(0,o.Iu)("Add a Photo Gallery")},get description(){return(0,o.Iu)("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return(0,o.Iu)("Change Your Website Theme on WordPress.com")},get description(){return(0,o.Iu)("Find out how to change your WordPress.com theme.")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return(0,o.Iu)("Learn Media Library Basics")},get description(){return(0,o.Iu)("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.")}}]};function f(t,e){var n,r;"posts"!==t&&"pages"!==t||(t="posts-pages");const o="write"===e?u:s,f=null===(n=c[t])||void 0===n?void 0:n[0],p=null===(r=l[t])||void 0===r?void 0:r[0];let d=a[t]??o;return"home"===t?[p,f,...o,...d].filter(Boolean):("gutenberg-editor"===t&&"sell"!==e&&(d=d.filter((t=>t.intent!==i.h_))),[p,f,...d].filter(Boolean))}},62635:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(99706),s=n(76951),u=n(72779),a=n.n(u),c=n(99196),l=n(83831),f=n(6600),p=n(13050),d=n(92217),h=n(52944),m=n(48344);e.Z=t=>{let{selectedArticle:e,setSelectedArticle:n,setHelpCenterFooter:u,setContactFormOpen:g,openInContactPage:y}=t;(0,s._z)();const[v,b]=(0,c.useState)(""),[w,_]=(0,c.useState)(y?l.z1:null),E=(0,c.useRef)();(0,i.p)("CHAT"),(0,i.p)("EMAIL");const S=t=>{(0,o.jN)(`calypso_inlinehelp_${t}_show`,{location:"inline-help-popover"}),_(t)};(0,c.useEffect)((()=>{const t=E.current.querySelector("h2");t&&t.focus()}),[w]);const I=(t,e)=>{t.preventDefault(),n(e),S(l.RU)},P=()=>{(0,o.jN)(`calypso_inlinehelp_${w}_hide`,{location:"inline-help-popover"}),_(null),n(null)},k=()=>{S(l.z1)},O=()=>{};(0,c.useEffect)((()=>{u(w?null:(0,r.createElement)(f.e,{onClick:k,onSelectResource:I}))}),[w]),(0,c.useEffect)((()=>{e&&S(l.RU)}),[]);const A=a()("inline-help-center__content",w&&`is-secondary-view-${w}`,{"is-secondary-view-active":w});return(0,r.createElement)("div",{className:A},(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(h.Z,{searchQuery:v,onSearch:b,isVisible:!w}),(0,r.createElement)(m.Z,{onSelect:I,onAdminSectionSelect:O,searchQuery:v,openAdminInNewTab:!0}),!v&&(0,r.createElement)(d.Z,null)),(()=>{const t=a()("inline-help__secondary-view",`inline-help__${w}`);return(0,r.createElement)("section",{ref:E,className:t},{[l.z1]:(0,r.createElement)(f.Z,{closeContactPage:P,onSelectResource:I,setContactFormOpen:g}),[l.RU]:(0,r.createElement)(p.Z,{result:e,handleBackButton:P,searchQuery:v})}[w])})()))}},6600:function(t,e,n){"use strict";n.d(e,{e:function(){return m}});var r=n(69307),o=n(43239),i=n(99706),s=n(5869),u=n(21100),a=n(77343),c=n(95885),l=n(72779),f=n.n(l),p=n(99196),d=n(48344),h=n(92945);const m=t=>{let{onClick:e}=t;const{__:__}=(0,c.QT)();return(0,r.createElement)(o.Z,{className:"inline-help__contact-button",borderless:!1,onClick:e},(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",null,__("Still need help?")))};e.Z=t=>{let{closeContactPage:e,onSelectResource:n,setContactFormOpen:l}=t;const{__:__}=(0,c.QT)(),{data:m,isLoading:g}=(0,i.p)("CHAT"),{data:y,isLoading:v}=(0,i.p)("EMAIL");return(0,p.useEffect)((()=>{g||v||null!=m&&m.isUserEligible||(null!=y&&y.is_user_eligible?l("EMAIL"):l("FORUM"))}),[g,v,m,y,l]),g||v?null:(0,r.createElement)("div",{className:"inline-help__contact-page"},(0,r.createElement)(o.Z,{borderless:!0,onClick:e,className:"inline-help__back-button"},(0,r.createElement)(s.Z,{icon:u.Z,size:18}),__("Back")),(0,r.createElement)("div",{className:"inline-help__contact-content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts")),(0,r.createElement)("div",{className:f()("inline-help__contact-boxes",{"is-reversed":null==m?void 0:m.isClosed})},(0,r.createElement)("div",{className:f()("inline-help__contact-box","chat",{"is-disabled":null==m?void 0:m.isClosed}),onClick:()=>l("CHAT"),onKeyDown:()=>l("CHAT"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"inline-help__contact-box-icon"},(0,r.createElement)(s.Z,{icon:a.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Live chat")),(0,r.createElement)("p",null,null!=m&&m.isClosed?__("Chat is unavailable right now"):__("Get an immediate reply")))),(0,r.createElement)("div",{className:f()("inline-help__contact-box","email"),onClick:()=>l("EMAIL"),onKeyDown:()=>l("EMAIL"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"inline-help__contact-box-icon"},(0,r.createElement)(s.Z,{icon:(0,r.createElement)(h.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Email")),(0,r.createElement)("p",null,__("An expert will get back to you soon")))))),(0,r.createElement)(d.Z,{onSelect:n,placeholderLines:4}))}},13050:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(43239),s=n(55609),u=n(5869),a=n(21100),c=n(22042),l=n(95885),f=(n(99196),n(27710)),p=n(83831);e.Z=t=>{let{result:e,handleBackButton:n,searchQuery:d}=t;const{post_id:h,link:m,type:g=p.pp}=e,{__:__}=(0,l.QT)();return(0,r.useEffect)((()=>{const t={search_query:d,location:"inline-help-popover",result_url:e.link};(0,o.jN)(`calypso_inlinehelp_${g}_open`,t)}),[]),(0,r.createElement)("div",{className:"inline-help__embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,onClick:n},(0,r.createElement)(u.Z,{icon:a.Z,size:20}),__("Back"))),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:m,target:"_blank"},(0,r.createElement)(u.Z,{icon:c.Z,size:20})))),(0,r.createElement)(f.Z,{postId:h,blogId:null,articleUrl:null}))}},92217:function(t,e,n){"use strict";var r=n(69307),o=n(36115),i=n(4112),s=n(53762),u=n(47498),a=n(93585),c=n(55609),l=n(5869),f=n(81835),p=n(26176),d=n(10812),h=n(86642),m=n(95885),g=n(4792),y=n(42763),v=n(76678),b=n(20834);const w=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"}));e.Z=()=>{const{__:__}=(0,m.QT)(),[t,e]=(0,r.useState)(!1),{isBusinessOrEcomPlanUser:n,siteId:_}=(0,g.v9)((t=>{const e=(0,v.I)(t),n=e&&e.map((t=>t.productSlug));return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:(0,b.Z)(t)}})),{data:E,isLoading:S,setHasSeenWhatsNewModal:I}=(0,s.R)(_);(0,r.useEffect)((()=>{!S&&E&&e(!E.has_seen_whats_new_modal)}),[E,S]);const[P,k]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"inline-help__section-title"},__("More Resources")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video"},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Video tutorials"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wordpress.com/webinars"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:n})},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:p.Z,size:24}),(0,r.createElement)("span",null,__("Webinars"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://wpcourses.com/?ref=wpcom-help-more-resources"),rel:"noreferrer",target:"_blank",className:"inline-help__desktop"},(0,r.createElement)(l.Z,{icon:d.Z,size:24}),(0,r.createElement)("span",null,__("Courses"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,u.aq)("https://learn.wordpress.com"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered"},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Step-by-step guides"))))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>(null!=E&&E.has_seen_whats_new_modal||I(!0),void k(!0)),className:"inline-help__new-releases"},(0,r.createElement)(y.Z,{icon:"new_releases",size:24}),(0,r.createElement)("span",null,__("What's new")),t&&(0,r.createElement)(l.Z,{icon:w,size:16}))))),P&&(0,r.createElement)(a.Z,{onClose:()=>k(!1)}))}},52944:function(t,e,n){"use strict";var r=n(69307),o=n(38049),i=n.n(o),s=n(10975),u=n(13980),a=n.n(u),c=n(99196),l=n(4792),f=n(57925),p=n(19298);const d=i()("calypso:inline-help"),h=t=>{let{searchQuery:e="",location:n="inline-help-popover",isVisible:o=!0,placeholder:i,onSearch:u}=t;const a=(0,c.useRef)(),h=(0,s.Z)(),m=(0,l.I0)();(0,c.useEffect)((()=>{var t;const e=null===(t=a.current)||void 0===t?void 0:t.searchInput;if("inline-help-popover"!==n||!e||!o)return;const r=setTimeout((()=>e.focus()),0);return()=>window.clearTimeout(r)}),[a,n,o]);return(0,r.createElement)(f.Z,{ref:a,initialValue:e,onSearch:t=>{const r=t.trim();null!=r&&r.length&&(d("search query received: ",e),m((0,p.jN)("calypso_inlinehelp_search",{search_query:e,location:n}))),null==u||u(t)},placeholder:i||h("Search for help…"),delaySearch:!0})};h.propTypes={searchQuery:a().string,onSearch:a().func,placeholder:a().string,location:a().string},e.Z=h},48344:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(56399),s=n(47498),u=n(25158),a=n(5869),c=n(58706),l=n(39739),f=n(10975),p=n(92819),d=n(78319),h=n.n(d),m=n(13980),g=n.n(m),y=n(99196),v=n(4792),b=n(30081),w=n(66525),_=n(38944),E=n(93345),S=n(40997),I=n(19298),P=n(89621),k=n(16193),O=n(56733),A=n(73041),C=n(83831),T=n(50417);const R=()=>{};function x(t){let{message:e="",priority:n="polite",timeout:r=800}=t;return(0,p.debounce)((()=>{(0,u.speak)(e,n)}),r)}const Z=x({message:"Loading search results.",timeout:1500}),j=x({message:"Search results loaded."}),D=x({message:"No search results found."});function L(t){let{externalLinks:e=!1,onSelect:n,onAdminSectionSelect:u=R,searchQuery:p="",placeholderLines:d,openAdminInNewTab:m=!1}=t;const g=(0,f.Z)(),x=(0,v.I0)(),L=(0,v.v9)(k.Z),U=(0,v.v9)(A.Z),F=["purchases","site-purchases"].includes(U),N=(0,O.P)("site_intent"),q=(0,y.useMemo)((()=>(0,b.r)(U,N)),[U,N]),M=(0,v.v9)((t=>(0,P.Z)(t,p,3))),B=q.filter(((t,e)=>t||e?()=>!0:t=>{let{post_id:e}=t;return 111349!==e})(L,F)),{data:$,isLoading:H}=(0,_.e)(p),V=(null==$?void 0:$.wordpress_support_links)??[],W=V.length>0;(0,y.useEffect)((()=>{Z.cancel(),j.cancel(),D.cancel(),p&&(H?Z():W?W&&j():D())}),[H,W,p]);const z=(t,f)=>{const{link:d,title:g,icon:v}=t,b=e&&f!==C.QZ;return(0,o.createElement)(y.Fragment,{key:d??g},(0,o.createElement)("li",{className:"inline-help__results-item"},(0,o.createElement)("div",{className:"inline-help__results-cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,s.aq)(d),onClick:e=>{b||e.preventDefault(),((t,e,r)=>{const{link:o}=e;if(r===C.QZ&&o)return x((0,I.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:p})),void(/^http/.test(o)||(t.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):h()(o),u(t)));n(t,e)})(e,t,f)}},b&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===f?(0,o.createElement)(a.Z,{icon:c.Z}):v?(0,o.createElement)(i.Z,{icon:v}):(0,o.createElement)(a.Z,{icon:l.Z})),null),(0,o.createElement)("span",null,(0,E.R)((0,S.S)(g)))))))},G=t=>{let{type:e,title:n,results:r,condition:i}=t;const s=`inline-search--${e}`;return i?(0,o.createElement)(y.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"inline-help__results-title"},n):null,(0,o.createElement)("ul",{className:"inline-help__results-list","aria-labelledby":n?s:void 0},r.map((t=>z(t,e))))):null},Q=g(W?"Search Results":"Helpful resources for this section");return(0,o.createElement)(y.Fragment,null,(0,o.createElement)(w.Z,null),!H||V.length||M.length?(0,o.createElement)(y.Fragment,null,!p||W||H?null:(0,o.createElement)("p",{className:"inline-help__empty-results"},g("Sorry, there were no matches. Here are some of the most searched for help pages for this section:")),(0,o.createElement)("div",{className:"inline-help__results","aria-label":Q},[{type:C.EE,title:g("Recommended resources"),results:V.slice(0,5),condition:!H&&V.length>0},{type:C.D_,title:p.length?"":g("Recommended resources"),results:B.slice(0,6),condition:!H&&!V.length&&B.length>0},{type:C.QZ,title:g("Show me where to"),results:M,condition:!!p&&M.length>0}].map(G))):(0,o.createElement)(T.Z,{lines:d}))}L.propTypes={searchQuery:g().string,onSelect:g().func.isRequired,onAdminSectionSelect:g().func},e.Z=L},92945:function(t,e,n){"use strict";var r=n(69307);e.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff","stroke-width":"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent","stroke-width":"1.5"}))},50417:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(69307);function o(t){let{lines:e=4}=t;return(0,r.createElement)("div",{className:"inline-help__results-placeholder"},Array.from({length:e},((t,e)=>(0,r.createElement)("div",{key:e,className:"inline-help__results-placeholder-item"}))))}},27710:function(t,e,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(83831),c=n(56077),l=n(9232),f=n(22169),p=n(1230),d=n(6712),h=n(85774),m=n(85268);const g=(t,e)=>({blogId:t,postId:e}),y=t=>{let{postId:e,blogId:n,articleUrl:o}=t;const i=((t,e)=>{const n=(0,p.Z)(t,e);return n.isLoading?null:n.data?g(n.data.blog_id,n.data.page_id):g(t,e)})(n??a.Di,e),y=(0,u.v9)((t=>(0,d.UK)(t,i))),v=!y||!i,b=null==y?void 0:y.site_ID,w=!y&&i;return(0,s.useEffect)((()=>{"undefined"!=typeof window&&o&&-1!==o.indexOf("#")&&null!=y&&y.content&&setTimeout((()=>{const t=o.split("#").pop(),e=document.getElementById(t);e&&e.scrollIntoView()}),0)}),[o,y]),(0,r.createElement)(r.Fragment,null,b&&(0,r.createElement)(l.Z,{siteId:+b}),w&&(0,r.createElement)(c.Z,{postKey:i}),(0,r.createElement)("article",{className:"support-article-dialog__story"},(0,r.createElement)(h.Z,{post:y,isLoading:v}),v?(0,r.createElement)(m.Z,null):(0,r.createElement)(f.Z,null,(0,r.createElement)("div",{className:"support-article-dialog__story-content",dangerouslySetInnerHTML:{__html:null==y?void 0:y.content}}))))};y.propTypes={postId:i().number.isRequired,blogId:i().number,articleUrl:i().string},e.Z=y},85774:function(t,e,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const u=t=>{let{post:e,isLoading:n}=t;return n||!e?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:e.URL,target:"_blank",icon:!1},e.title)))};u.propTypes={post:i().object,isLoading:i().bool},e.Z=u},85268:function(t,e,n){"use strict";var r=n(69307),o=n(99196);e.Z=()=>(0,r.createElement)(o.Fragment,null,(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})),(0,r.createElement)("div",null,(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"}),(0,r.createElement)("p",{className:"support-article-dialog__placeholder-text"})))},56077:function(t,e,n){"use strict";var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(77327),c=n(93125),l=n(6712);class f extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:t,postKey:e}=this.props;!(0,a.J0)(e)||t&&"minimal"!==t._state||this.props.fetchPost(e)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(f,"propTypes",{postKey:i().object.isRequired}),e.Z=(0,u.$j)(((t,e)=>({post:(0,l.UK)(t,e.postKey)})),{fetchPost:c.SD})(f)},9232:function(t,e,n){"use strict";var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),u=n(63262),a=n(58311);function c(t){let{siteId:e}=t;const n=(0,s.I0)(),r=(0,s.v9)((t=>(0,a._g)(t,e)));return(0,i.useEffect)((()=>{e&&r&&n((0,u.LV)(e))}),[n,e,r]),null}c.propTypes={siteId:o().number},e.Z=c},38606:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),u=n(4792),a=n(85300),c=n(87720),l=n(40540),f=n(52239),p=n(58863),d=n(79791);const h=t=>(0,a.Oz)(t,"recentSites");function m(){const t=(0,u.I0)();return(0,s.useEffect)((()=>{t(((t,e)=>{(0,f.Z)(e())||t((0,l.BU)())}))}),[t]),null}const g=t=>(e,n)=>{t&&!(0,p.Z)(n(),t)&&e((0,l.LV)(t))};function y(t){let{siteId:e}=t;const n=(0,u.I0)();return(0,s.useEffect)((()=>{e&&n(g(e))}),[n,e]),null}function v(){const t=(0,u.v9)(c.Z),e=(0,u.v9)(h),n=(0,u.I0)();return(0,s.useEffect)((()=>{const r=[...t?[t]:[],...e??[]];r.length&&n((t=>(e,n)=>{const r=n();(0,d.Z)(r)||t.forEach((t=>e(g(t))))})(r))}),[n,t,e]),null}function b(t){let{siteId:e,allSites:n=!1,primaryAndRecent:o=!1}=t;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(m,null),e&&(0,r.createElement)(y,{siteId:e}),o&&(0,r.createElement)(v,null))}b.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:function(t,e,n){"use strict";var r=n(99196),o=n(4792),i=n(36747),s=n(86169),u=n(12726);const a=(t,e)=>{const n=e(),r=(0,i.rc)(n),o=(0,u.Mo)(n),a=(0,u.iJ)(n);!r||o||a||t((0,s.Y9)(r))};e.Z=function(){const t=(0,o.I0)();return(0,r.useEffect)((()=>{t(a)})),null}},22169:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),u=n(99196),a=n(91850),c=n.n(a),l=n(16771);const f=()=>{},p=i()("calypso:components:embed-container"),d={'blockquote[class^="instagram-"]':function t(e){if(p("processing instagram for",e),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}b("https://platform.instagram.com/en_US/embeds.js",t.bind(null,e))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function t(e){if(p("processing twitter for",e),"undefined"!=typeof twttr){try{window.twttr.widgets.load(e)}catch(n){}return}b("https://platform.twitter.com/widgets.js",t.bind(null,e))},"fb\\:post, [class^=fb-]":function(t){if(p("processing facebook for",t),"undefined"!=typeof fb)return;b("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",f)},"[class^=tumblr-]":function(t){if(p("processing tumblr for",t),w)return;function e(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(t){t.parentNode.removeChild(t)})),w=!1}w=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",e)}),30)},".jetpack-slideshow":function(t){p("processing slideshow for",t),window.jetpackSlideshowSettings={spinner:m.SPINNER},S||(S=!0,function(t){const e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href=t,document.head.appendChild(e)}(m.CSS));const e=t.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(e,(t=>{t.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?b(m.CYCLE_JS,(()=>{E()})):(0,l.t)(m.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(t){p("processing story for ",t);const e=t.querySelector("a.wp-story-container, a.wp-story-overlay");e&&e.setAttribute("target","_blank")},".embed-reddit":function(t){p("processing reddit for ",t),b("https://embed.redditmedia.com/widgets/platform.js",f)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,m={CSS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/img/slideshow-loader.gif${h}`};function g(t){Object.entries(d).forEach((e=>{let[n,r]=e;const o=t.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(t){return!t.hasAttribute("data-wpcom-embed-processed")&&(t.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function b(t,e){let n=v[t];n||(n=new Promise((function(e,n){(0,r.ve)(t,(function(t){t?n(t):e()}))})),v[t]=n),n.then(e,(function(e){p("error loading "+t,e),v[t]=null}))}let w;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),b(m.JS,(()=>{_()}))}let S=document.head.querySelector(`link[href="${m.CSS}"]`);class I extends u.PureComponent{componentDidMount(){g(c().findDOMNode(this))}componentDidUpdate(){g(c().findDOMNode(this))}render(){return u.Children.only(this.props.children)}}},38782:function(t,e,n){"use strict";var r=n(56666),o=n(69307),i=n(56399),s=n(97493),u=n(47498),a=n(72779),c=n.n(a),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196);class m extends h.Component{render(){const t=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),e={...(0,f.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName"),className:t,rel:"external"};this.props.icon&&(e.target="_blank"),e.target&&(e.rel=e.rel.concat(" noopener noreferrer")),e.href&&(e.href=(0,u.aq)(e.href));const n=(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",e,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(m,"defaultProps",{iconSize:18,showIconFirst:!1}),(0,r.Z)(m,"propTypes",{className:d().string,href:d().string,onClick:d().func,icon:d().bool,iconSize:d().number,target:d().string,showIconFirst:d().bool,iconClassName:d().string}),e.Z=m},66753:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),u=n.n(s),a=n(13980),c=n.n(a),l=n(99196);class f extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(t=>{this.currentTextField=t;const{inputRef:e}=this.props;e&&("function"==typeof e?e(t):e.current=t)})),(0,o.Z)(this,"selectOnFocus",(t=>{this.props.selectOnFocus&&t.target.select()})),(0,o.Z)(this,"onChange",(t=>{var e,n;this.setState({value:t.target.value}),null===(e=(n=this.props).onChange)||void 0===e||e.call(n,t)}))}componentDidUpdate(t){this.updateValueIfNeeded(t.value)}updateValueIfNeeded(t){const{value:e}=this.props;t===e&&e===this.state.value||this.setState({value:e})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:t,isValid:e,selectOnFocus:n,inputRef:o,onChange:s,value:a,...c}=this.props,l=u()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(f,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},42763:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(18914),s=n(72779),u=n.n(s),a=n(99196);function c(t){const{size:e=24,style:n="outline",icon:s,onClick:a,className:c,...l}=t,f=`material-icon-${s}`,p=u()("material-icon",f,c),d=`icon-${n}-${s}-${e}px`;return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:p,height:e,width:e,onClick:a},l),(0,o.createElement)("use",{xlinkHref:`${i}#${d}`}))}e.Z=a.memo(c)},57925:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(98148),s=n(72779),u=n.n(s),a=n(99196),c=n(12982);const l=(t,e)=>{let{className:n,...s}=t;return(0,o.createElement)(i.Z,{className:u()("search-card",n)},(0,o.createElement)(c.Z,(0,r.Z)({ref:e},s)))};e.Z=(0,a.forwardRef)(l)},12982:function(t,e,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(56399),u=n(79321),a=n(72779),c=n.n(a),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196),m=n(88767),g=n(66753),y=n(14497),v=n(28816),b=n(44567);const w=()=>{};function _(t,e){switch(e.key){case" ":case"Enter":this[t](e)}}class E extends h.Component{constructor(t){super(t),(0,o.Z)(this,"setOpenIconRef",(t=>this.openIcon=t)),(0,o.Z)(this,"setSearchInputRef",(t=>this.searchInput=t)),(0,o.Z)(this,"setOverlayRef",(t=>this.overlay=t)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(t=>{if(!t.createTextRange)return t.scrollLeft;const e=t.createTextRange(),n=window.getComputedStyle(t,void 0),r=parseFloat(n.paddingLeft),o=e.getBoundingClientRect();return t.getBoundingClientRect().left+t.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(t=>{this.props.onBlur&&this.props.onBlur(t),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(t=>{this.setState({keyword:t.target.value})})),(0,o.Z)(this,"openSearch",(t=>{t.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,b.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(t=>{t.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(t),(0,b.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(t=>{"Enter"===t.key&&(0,u.tq)()&&this.blur(),this.props.pinned&&("Escape"===t.key&&this.closeSearch(t),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(t=>{this.scrollOverlay(),"Escape"===t.key&&""===t.target.value&&this.closeSearch(t),this.props.onKeyDown(t)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const t=this.searchInput.value;t&&(this.searchInput.value="",this.searchInput.value=t),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),this.instanceId=(0,m.Z)(),this.state={keyword:t.initialValue||"",isOpen:!!t.isOpen,hasFocus:t.autoFocus},this.closeListener=_.bind(this,"closeSearch"),this.openListener=_.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(t){t.onSearch===this.props.onSearch&&t.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==t.isOpen&&this.setState({isOpen:t.isOpen}),this.props.value===t.value||!t.value&&""!==t.value||t.value===this.state.keyword||this.setState({keyword:t.value})}componentDidUpdate(t,e){this.scrollOverlay(),(this.state.isOpen&&!e.isOpen||this.props.autoFocus&&!t.autoFocus)&&this.focus(),this.state.keyword!==e.keyword&&(this.state.keyword?this.onSearch(this.state.keyword):(this.props.delaySearch&&this.onSearch.cancel(),this.props.onSearch(this.state.keyword)),this.props.onSearchChange(this.state.keyword))}componentDidMount(){this.onSearch=this.props.delaySearch?(0,f.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const t=this.state.keyword,e=this.props.placeholder||l.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,u=this.state.isOpen||!this.props.pinned||this.props.initialValue,a=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},f=c()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":u,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),p=c()("search__input-fade",this.props.dir),d=c()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:f,role:"search"},(0,i.createElement)(y.Z,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":l.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(s.Z,{icon:"search",className:"search__open-icon"})),(0,i.createElement)("div",{className:p},(0,i.createElement)(g.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||l.ZP.translate("Search"),"aria-hidden":!u,className:d,placeholder:e,role:"searchbox",value:t,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},a)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":l.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(s.Z,{icon:"cross",className:"search__close-icon"}))}}(0,o.Z)(E,"propTypes",{additionalClasses:d().string,initialValue:d().string,value:d().string,placeholder:v.Z,pinned:d().bool,delaySearch:d().bool,delayTimeout:d().number,describedBy:d().string,onSearch:d().func.isRequired,onSearchChange:d().func,onSearchOpen:d().func,onSearchClose:d().func,analyticsGroup:d().string,overlayStyling:d().func,autoFocus:d().bool,disabled:d().bool,onKeyDown:d().func,onClick:d().func,disableAutocorrect:d().bool,onBlur:d().func,searching:d().bool,isOpen:d().bool,dir:d().oneOf(["ltr","rtl"]),fitsContainer:d().bool,maxLength:d().number,minLength:d().number,hideClose:d().bool,compact:d().bool,hideOpenIcon:d().bool,inputLabel:d().string}),(0,o.Z)(E,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:w,onSearchOpen:w,onSearchClose:w,onKeyDown:w,onClick:w,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,compact:!1,hideOpenIcon:!1}),e.Z=E},14497:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),u=n(13980),a=n.n(u),c=n(99196);class l extends c.PureComponent{render(){const t=s()("spinner",this.props.className),e={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:t},(0,o.createElement)("div",{className:"spinner__outer",style:e},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(l,"propTypes",{className:a().string,size:a().number}),(0,r.Z)(l,"defaultProps",{size:20})},28816:function(t,e){"use strict";e.Z=function(t){function e(e,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?e?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:t(n,r,o,i)}const n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}((function(t,e,n){n=n||"ANONYMOUS";const r=t[e];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},38944:function(t,e,n){"use strict";n.d(e,{e:function(){return i}});var r=n(82066),o=n(72429);const i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.useQuery)(["help",t],(()=>o.Z.req.get("/help/search",{query:t,include_post_id:1})),{enabled:!!t,...e})}},1230:function(t,e,n){"use strict";var r=n(6339),o=n(82066),i=n(4792),s=n(72429),u=n(30963);e.Z=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,i.v9)(u.Z);return(0,o.useQuery)(["support-article-alternates",t,e],(()=>s.Z.req.get(`/support/alternates/${t}/posts/${e}`)),{...n,enabled:!(0,r.TF)(a)&&!(!t||!e),refetchOnMount:!1,refetchOnWindowFocus:!1,select:t=>t[a]})}},36190:function(t,e,n){"use strict";n.d(e,{wZ:function(){return i},ZK:function(){return s},_O:function(){return u},n_:function(){return a},CO:function(){return c},xb:function(){return l},kL:function(){return f},GL:function(){return p},eG:function(){return d},hR:function(){return h},Mf:function(){return m},Q1:function(){return g},az:function(){return y},S$:function(){return v},nF:function(){return b},fF:function(){return w},lB:function(){return _},n5:function(){return E},Dt:function(){return S},j_:function(){return I},EV:function(){return P},y2:function(){return k},yf:function(){return O},xV:function(){return A},E9:function(){return C},O5:function(){return T},pP:function(){return R},Ai:function(){return x},zR:function(){return Z},Uk:function(){return j},L:function(){return D},cf:function(){return L},Hb:function(){return U},zv:function(){return F},oh:function(){return N}});var r=n(20899),o=n(38049);const i=!0,s=!0,u=!0,a=!0,c=!1,l=!0,f=!1,p=!0,d=!0,h=!1,m=!0,g=!1,y=!1,v=!1,b=!1,w=n.n(o)()("calypso:analytics:ad-tracking"),_="https://connect.facebook.net/en_US/fbevents.js",E="https://www.googletagmanager.com/gtag/js?id=",S="https://bat.bing.com/bat.js",I="https://static.criteo.net/js/ld/ld.js",P="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",k="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",O="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",A="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",C="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",T="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",R="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",x="https://static.ads-twitter.com/uwt.js",Z="https://snap.licdn.com/li.lms-analytics/insight.min.js",j="https://a.quora.com/qevents.js",D="https://amplify.outbrain.com/cp/obtp.js",L="https://s.pinimg.com/ct/core.js",U={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},F="dcmsid",N=1800},33675:function(t,e,n){"use strict";n.d(e,{j:function(){return a},I:function(){return l}});var r=n(36115),o=n(13421),i=n(88767),s=n(1444),u=n(36190);n(28122);function a(t){if(!(0,s.Z)()||!u.ZK)return;const e=["event","conversion",{...{...c(),allow_custom_scripts:!0},...t}];(0,u.fF)("recordParamsInFloodlightGtag:",e),window.gtag(...e)}function c(){const t={},e=(0,r.ts)(),n=(0,r.di)();return e&&(t.u4=e.hashedPii.ID),n&&(t.u5=n),t}function l(t){if(!(0,s.Z)()||!u.ZK)return;const e=function(){const t=o.parse(document.cookie)[u.zv];if(t)return(0,u.fF)("Floodlight: Existing session: "+t),t;const e=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,u.fF)("Floodlight: New session: "+e),e}();document.cookie=o.serialize(u.zv,e,{maxAge:u.oh}),(0,u.fF)("retarget: recordPageViewInFloodlight: wpvisit"),a({session_id:e,u6:t,u7:e,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,u.fF)("retarget: recordPageViewInFloodlight: wppv"),a({u6:t,u7:e,send_to:"DC-6355556/wordp0/wppv+standard"})}},95157:function(t,e,n){"use strict";n.d(e,{LT:function(){return l},mf:function(){return f},Uk:function(){return p},vL:function(){return d},Zf:function(){return h}});var r=n(36115),o=n(20899),i=n(32486),s=n(43621),u=n(9415),a=n(36190),c=n(46481);n(28122);function l(t){(0,c.U)(),window.gtag("config",a.Hb.wpcomGoogleAnalyticsGtag,t)}function f(){return a.wZ&&o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,i.Z)()&&(0,s.Z)()}function p(){const t=(0,r.ts)();return{...t&&{user_id:t.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,u.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];window.gtag("config",a.Hb.wpcomGoogleAnalyticsGtag,{...p(),page_path:t,page_title:e}),n&&window.gtag("config",a.Hb.jetpackGoogleAnalyticsGtag,{...p(),page_path:t,page_title:e})}function h(t,e,n,r){window.gtag("event",e,{event_category:t,event_label:n,value:r})}},30214:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var r=n(36115),o=n(84898),i=n(36190);n(28122);const s=function(t){let e,n="not-loading";const r=new Promise((t=>{e=t}));return()=>("not-loading"===n&&(n="loading",t().then((t=>{n="loaded",e(t)}),(()=>{n="not-loading"}))),r)}((async()=>{const t=function(){const t=[];i._O&&t.push(i.lB);const e=[i.wZ&&i.Hb.wpcomGoogleAnalyticsGtag,i.xb&&i.Hb.wpcomGoogleAdsGtag,i.ZK&&i.Hb.wpcomFloodlightGtag].filter((t=>!1!==t));e.length>0&&t.push(i.n5+e[0]);i.n_&&t.push(i.Dt);i.az&&t.push(i.j_);i.kL&&t.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");i.Mf&&t.push(i.Ai);i.Q1&&t.push(i.zR);i.S$&&t.push(i.Uk);i.GL&&t.push(i.L);i.eG&&t.push(i.cf);return t}();let e=!1;for(const r of t){try{await(0,o.ve)(r)}catch(n){e=!0,(0,i.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,i.fF)("loadTrackingScripts: [Loaded]",r)}if(e)throw new Error("One or more tracking scripts failed to load");(0,i.fF)("loadTrackingScripts: load done"),function(){i._O&&function(){let t={};const e=(0,r.ts)();e&&(t={em:e.hashedPii.email});(0,i.fF)("initFacebook",t),window.fbq("init",i.Hb.facebookInit,t),window.fbq("set","autoConfig",!1,i.Hb.facebookJetpackInit),window.fbq("init",i.Hb.facebookJetpackInit,t)}();if(i.n_){const t={ti:i.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(t))}i.Mf&&window.twq("init",i.Hb.twitterPixelId);i.S$&&window.qp("init",i.Hb.quoraPixelId);if(i.eG){const t=(0,r.ts)(),e=t?{em:t.hashedPii.email}:{};window.pintrk("load",i.Hb.pinterestInit,e)}(0,i.fF)("loadTrackingScripts: init done")}(),(0,i.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:function(t,e,n){"use strict";n.d(e,{a:function(){return c}});var r=n(7369),o=n(1444),i=n(36190),s=n(33675),u=n(30214);n(28122);let a=0;async function c(t){if(await(0,r.Z)(),!(0,o.Z)())return void(0,i.fF)("retarget: [Skipping] ad tracking is not allowed",t);if(await(0,u._)(),(0,i.fF)("retarget:",t),i.kL){const t={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",t),window._qevents.push(t)}if(i._O){const t=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",t),window.fbq(...t)}if(i.n_&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),i.xb){const e=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:t}];(0,i.fF)("retarget: [Google Ads] WPCom",e),window.gtag(...e)}(0,s.I)(t),i.eG&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),i.nF&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const e=Date.now()/1e3;if(e>=a+86400){if(a=e,i.GL){const t=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",t),window.obApi(...t)}if(i.hR){const t=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",t),(new window.Image).src=t}if(i.Mf){const t=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",t),window.twq(...t)}if(i.CO){const t=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",t),(new window.Image).src=t}if(i.S$){const t=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",t),window.qp(...t)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},46481:function(t,e,n){"use strict";function r(){window.dataLayer&&window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date))}n.d(e,{U:function(){return r}})},28122:function(t,e,n){"use strict";var r=n(36190),o=n(46481);"undefined"!=typeof window&&((0,o.U)(),r._O&&function(){if(window.fbq)return;const t=window.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)};window._fbq||(window._fbq=t);window._fbq.disablePushState=!0,t.push=t,t.loaded=!0,t.version="2.0",t.queue=[]}(),r.n_&&!window.uetq&&(window.uetq=[]),r.az&&!window.criteo_q&&(window.criteo_q=[]),r.kL&&!window._qevents&&(window._qevents=[]),r.xb&&((0,o.U)(),window.gtag("config",r.Hb.wpcomGoogleAdsGtag)),r.ZK&&((0,o.U)(),window.gtag("config",r.Hb.wpcomFloodlightGtag)),r.Mf&&function(){if(window.twq)return;const t=window.twq=function(){t.exe?t.exe.apply(t,arguments):t.queue.push(arguments)};t.version="1.1",t.queue=[]}(),r.Q1&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=r.Hb.linkedInPartnerId)),r.S$&&function(){if(window.qp)return;const t=window.qp=function(){t.qp?t.qp.apply(t,arguments):t.queue.push(arguments)};t.queue=[]}(),r.GL&&function(){const t=window.obApi=function(){t.dispatch?t.dispatch.apply(t,arguments):t.queue.push(arguments)};t.version="1.0",t.loaded=!0,t.marketerId=r.Hb.outbrainAdvId,t.queue=[]}(),r.eG&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const t=window.pintrk;t.queue=[],t.version="3.0"}}(),r.nF&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=r.xV,(new window.Image).src=r.E9},trackPurchase:function(){(new window.Image).src=r.O5,(new window.Image).src=r.pP}})))},25394:function(t,e,n){"use strict";n.d(e,{K:function(){return o},w:function(){return i}});var r=n(36190);n(28122);function o(t,e){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,t,e)}function i(t){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",t)}},46272:function(t,e,n){"use strict";n.d(e,{U:function(){return h},K:function(){return m}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),u=n(94776),a=n(9415),c=n(36190),l=n(32486),f=n(43621);const p=s()("calypso:analytics:fullstory");let d=!1;function h(){g(),window.FS&&(p("retargetFullStory"),window.FS.restart(),y())}function m(t,e){if(g(),!window.FS||!t)return;const n=v(e);p("recordFullStoryEvent:",{name:t,props:n}),window.FS.event(t,n),y()}function g(){var t,e,n,i,s,h,m,g;d||!o.ZP.isEnabled("fullstory")||(0,r.vX)()||(0,u.b)()||(0,l.Z)()||!(0,f.Z)()?d||p("maybeAddFullStoryScript:",!1):(d=!0,p("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,a.Z)()?c.Hb.fullStoryJetpack:c.Hb.fullStory,window._fs_namespace="FS",t=window,e=document,n=window._fs_namespace,i="script",s="user",p("maybeAddFullStoryScript:","script loading"),n in t?t.console&&t.console.log&&t.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((m=t[n]=function(t,e,n){m.q?m.q.push([t,e,n]):m._api(t,e,n)}).q=[],(h=e.createElement(i)).async=1,h.crossOrigin="anonymous",h.src="https://"+window._fs_script,(g=e.getElementsByTagName(i)[0]).parentNode.insertBefore(h,g),m.identify=function(t,e,n){m(s,{uid:t},n),e&&m(s,e,n)},m.setUserVars=function(t,e){m(s,t,e)},m.event=function(t,e,n){m("event",{n:t,p:e},n)},m.anonymize=function(){m.identify(!1)},m.shutdown=function(){m("rec",!1)},m.restart=function(){m("rec",!0)},m.log=function(t,e){m("log",[t,e])},m.consent=function(t){m("consent",!arguments.length||t)},m.identifyAccount=function(t,e){h="account",(e=e||{}).acctId=t,m(h,e)},m.clearUserCookie=function(){},m.setVars=function(_n,t){m("setVars",[_n,t])},m._w={},g="XMLHttpRequest",m._w[g]=t[g],g="fetch",m._w[g]=t[g],t[g]&&(t[g]=function(){return m._w[g].apply(this,arguments)}),m._v="1.3.0"))}function y(){if(!window.FS)return;const t=(0,r.ts)();t&&(p("maybeIdentifyUser:",t),window.FS.identify(t.hashedPii.ID))}function v(t){const e={};t="object"==typeof t?t:{};for(const[n,r]of Object.entries(t)){const t=typeof r;"string"===t?e[n+"_str"]=r:"boolean"===t?e[n+"_bool"]=r:"number"===t||"bigint"===t?-1!==String(r).indexOf(".")?e[n+"_real"]=r:e[n+"_int"]=r:"object"===t&&(e[n]=v(r))}return e}},44567:function(t,e,n){"use strict";n.d(e,{eK:function(){return c},Yh:function(){return l}});var r=n(38049),o=n.n(r),i=n(95157);const s=o()("calypso:analytics:ga");let u=!1;function a(){if(!u){const t={send_page_view:!1,...(0,i.Uk)()};s("parameters:",t),(0,i.LT)(t),u=!0}}const c=f((function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s("Recording Page View ~ [URL: "+t+"] [Title: "+e+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(t,e,n)})),l=f((function(t,e,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+t+"] [Action: "+e+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),(0,i.Zf)(t,e,n,r)}));function f(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(0,i.mf)()?(a(),t(...n)):s("[Disallowed] analytics %s( %o )",t.name,n)}}},80252:function(t,e,n){"use strict";n.d(e,{o:function(){return p}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),u=n(94776),a=n(32486),c=n(43621);const l=s()("calypso:analytics:hotjar");let f=!1;function p(){var t,e,n,i;f||!(0,o.ZP)("hotjar_enabled")||(0,u.b)()||(0,r.vX)()||(0,a.Z)()||!(0,c.Z)()?l("Not loading HotJar script"):(t=window,e=document,l("Loading HotJar script"),t.hj=t.hj||function(){(t.hj.q=t.hj.q||[]).push(arguments)},t._hjSettings={hjid:227769,hjsv:5},n=e.getElementsByTagName("head")[0],(i=e.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+t._hjSettings.hjid+".js?sv="+t._hjSettings.hjsv,n.appendChild(i),f=!0)}},70858:function(t,e,n){"use strict";n.d(e,{M:function(){return s}});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(t,e){await(0,r.MB)(t,e);const o=(0,r.ts)();if("object"==typeof t&&o&&(0,r.di)()){const t=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:e}=t;i("recordAliasInFloodlight",o),e()}}},7689:function(t,e,n){"use strict";n.d(e,{P:function(){return s},S:function(){return u}});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(t,e){if("object"==typeof t?i("Bumping stats %o",t):i("Bumping stat %s:%s",t,e),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(t,e){let n="";if("object"==typeof t)for(const r in t)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);else n="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e);return n}(t,e);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function u(t,e){if("object"==typeof t?i("Bumping page view with props %o",t):i("Bumping page view %s:%s",t,e),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(t,e){let n="";if("object"==typeof t)for(const r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);else n="&"+encodeURIComponent(t)+"="+encodeURIComponent(e);return n}(t,e);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:function(t,e,n){"use strict";n.d(e,{A:function(){return d}});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),u=n(93513),a=n(11915),c=n(7369),l=n(44567),f=n(38602),p=n(5323);function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(t,n),h(t,e,null==c?void 0:c.useJetpackGoogleAnalytics),(0,p.G)(),(0,a.Z)(),(0,u.n)(),(0,i.a)(t),(0,s.U)(),(0,f.V)()}),0)}async function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(t,e,n)}},38602:function(t,e,n){"use strict";n.d(e,{x:function(){return a},V:function(){return c}});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let t=window.localStorage.getItem("analyticsQueue");return t=t?JSON.parse(t):[],t=Array.isArray(t)?t:[],t}function u(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];"string"==typeof e&&"function"==typeof i[t]&&i[t]().then((t=>{"function"==typeof t[e]&&t[e].apply(null,r||void 0)}))}function a(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return u(t,e,...r);let a=s();const c={moduleName:t,trigger:e,args:r};a.push(c),a=a.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(a))}function c(){if(!window.localStorage)return;const t=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",t),t.forEach((t=>{"object"==typeof t&&"string"==typeof t.trigger&&(o("Processing item in queue.",t),u(t.moduleName,t.trigger,...t.args))}))}},5323:function(t,e,n){"use strict";n.d(e,{G:function(){return s}});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const t=window.location.href,e=(0,r.Z)(t),n=(null==e?void 0:e.searchParams.get("aff"))||(null==e?void 0:e.searchParams.get("affiliate")),s=null==e?void 0:e.searchParams.get("cid"),u=null==e?void 0:e.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:e.host+e.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:u,referrer:t}))}},93513:function(t,e,n){"use strict";n.d(e,{n:function(){return d}});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),u=n(78920);const a=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function f(t,e){return-1!==c.indexOf(t)&&("utm_source"===t||"utm_campaign"===e?function(t){return l.test(t)}(e):function(t,e){return"gclid"===t?e.length<=100:"keyword"===t?e.length<=80:e.length<=50}(t,e))}function p(t,e){document.cookie=o.serialize(t,e,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function d(){var t;if(!document.location.search)return void a("No query data in URL.");const e=null===(t=(0,u.Z)(document.location.href))||void 0===t?void 0:t.searchParams;let n=new URLSearchParams;if(e){const t=Array.from(e.entries()).filter((t=>{let[e,n]=t;return f(e,n)}));n=new URLSearchParams(t),e.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",e.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void a("Missing utm_source or utm_campaign.");const o=n.toString();o&&(a("ad_details: "+o),p("ad_details",o),p("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:function(t,e,n){"use strict";var r=n(20899),o=n(35899),i=n(36747),s=n(17014);e.Z=t=>e=>{const n=t.getState(),u={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},a=(0,o.Z)(e.path)?null:(0,s.Z)(n);return a&&Object.assign(u,{blog_id:a.ID,blog_lang:a.lang,site_id_label:a.jetpack?"jetpack":"wpcom",site_plan_id:a.plan?a.plan.product_id:null}),u}},39297:function(t,e,n){"use strict";n.d(e,{l:function(){return c}});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const u=o()("calypso:analytics:refer"),a=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(t){let{affiliateId:e,campaignId:n,subId:r,referrer:o}=t;u("Recording affiliate referral.",{affiliateId:e,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:e,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();u("Fetching Refer platform response.");try{const t=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),e=await t.json();if(t.ok)return u("Recording Refer platform success response.",e),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(e.data,a),status:t.status||"",success:e.success||!0,description:e.message||"success"});u("Recording Refer platform error response.",e),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(e.data,a),status:t.status||"",success:e.success||!1,description:e.message||"error"})}catch(f){u("Failed to fetch Refer platform response.",f)}}},17032:function(t,e,n){"use strict";n.r(e),n.d(e,{tracksEvents:function(){return i},recordTracksEvent:function(){return s},recordTracksPageView:function(){return u},setTracksOptOut:function(){return a}});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(t,e){o.MR.once("record-event",((t,e)=>{i.emit("record-event",t,e)})),(0,o.jN)(t,e)}function u(t,e){(0,o.P6)(t,e)}function a(t){(0,o.lH)(["setOptOut",t])}},87360:function(t,e,n){"use strict";var r=n(38049),o=n.n(r);e.Z=o()("calypso:analytics:utils")},1444:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(36115),o=n(20899),i=n(87360),s=n(32486),u=n(69874),a=n(43621);function c(){const t=o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,u.Z)()&&!(0,s.Z)()&&(0,a.Z)();return(0,i.Z)(`isAdTrackingAllowed: ${t}`),t}},76814:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(t){return void 0!==t&&r.includes(t)}},32486:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((t=>encodeURIComponent(t)));function s(){const t=document.location.href,e=e=>-1!==t.indexOf(e),n=o.some(e)||i.some(e);return(0,r.Z)(`Is PII URL: ${n}`),n}},69874:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87360);const o=["/log-in"];function i(){const{href:t}=document.location,e=o.some((e=>-1!==t.indexOf(e)));return(0,r.Z)(`Is URL Excluded for Performance: ${e}`),e}},81653:function(t,e){"use strict";e.Z="marketing-coupons"},43621:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(13421),o=n(87360),i=n(76814);function s(){let t=!1;const e=r.parse(document.cookie);if("yes"===e.sensitive_pixel_option)t=!0;else if("no"===e.sensitive_pixel_option)t=!1;else{const n=e.country_code;t=void 0!==n&&"unknown"!==n&&!(0,i.Z)(n)}return(0,o.Z)(`mayWeTrackCurrentUserGdpr: ${t}`),t}},7369:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(13421),o=n(87360);let i=null;async function s(){const t=r.parse(document.cookie);t.country_code?(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie is fresh: %s",t.country_code):(null===i&&(i=function(){const t=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+t).then((t=>t.ok?t.json():t.body().then((t=>{throw new Error(t)})))).then((t=>t.country_short)).catch((t=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",t),"unknown")))}().then((t=>function(t){const e=21600;document.cookie=r.serialize("country_code",t,{path:"/",maxAge:e}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",t)}(t)))),await i,i=null)}},11915:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87360),o=n(81653),i=n(78920);function s(){const t=(0,i.Z)(window.location.href),e=null==t?void 0:t.searchParams.get("coupon");if(!e)return;let n=null;try{const t=window.localStorage.getItem(o.Z);n=JSON.parse(t)}catch(u){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[e]=s,Object.keys(n).forEach((t=>{s>n[t]+6048e5&&delete n[t]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(u){}}},35899:function(t,e){"use strict";const n=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i;e.Z=t=>!t||!n.test(t)},78920:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87360);function o(t){const e={"-":"+",_:"/",".":"="};return window.atob(t.replace(/[-_.]/g,(t=>e[t])))}function i(t){try{const e=new URL(t);if((0,r.Z)("urlParseAmpCompatible: original query:",e.search),e.searchParams.has("tk_amp")){const t=function(t){if(0===(t=t.split("*").filter((t=>t.length)).slice(2)).length||0!=t.length%2)return null;const e={};for(let n=0;n<t.length;n+=2)e[t[n]]=o(t[n+1]);return e}(e.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",t);for(const n of Object.keys(t))e.searchParams.has(n)||e.searchParams.set(n,t[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",e.search),e}catch{return null}}},32919:function(t,e,n){"use strict";n.d(e,{B$:function(){return s}});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:function(t,e,n){"use strict";n.d(e,{B$:function(){return P}});var r,o=n(20899),i=n(38049),s=n.n(i),u=n(92819),a=n(7689),c=n(47824),l=n(32919);const f=s()("calypso:browser-storage");let p=!1,d=!1;const h="calypso",m="calypso_store",g="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;f("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return f("IDB not found in host"),!1;if(d)return f("IDB disabled"),!1;try{const t=Date.now().toString();return await I(g,t),await w(g),!0}catch(t){return!1}})),b=(0,c.I)((()=>{const t=window.indexedDB.open(h,2);return new Promise(((e,n)=>{try{t&&(t.onerror=e=>{t.error&&"InvalidStateError"===t.error.name&&e.preventDefault(),n(t.error)},t.onsuccess=()=>{const n=t.result;n.onerror=function(t){var e,n;f("IDB Error",t),null!==(e=t.target)&&void 0!==e&&null!==(n=e.error)&&void 0!==n&&n.name&&((0,a.P)("calypso-browser-storage",(0,u.kebabCase)(t.target.error.name)),"QuotaExceededError"===t.target.error.name&&(d=!0,v.clear(),f("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},e(n)},t.onupgradeneeded=()=>t.result.createObjectStore(m))}catch(r){n(r)}}))}));function w(t){return new Promise(((e,n)=>{b().then((r=>{const o=r.transaction(m,"readonly"),i=o.objectStore(m).get(t),s=()=>n(o.error);o.oncomplete=()=>e(i.result),o.onabort=s,o.onerror=s})).catch((t=>n(t)))}))}function _(t){return b().then((e=>new Promise(((n,r)=>{const o={},i=e.transaction(m,"readonly"),s=()=>r(i.error);i.objectStore(m).openCursor().onsuccess=e=>{const r=e.target.result;if(r){const{primaryKey:e,value:n}=r;!e||"string"!=typeof e||e===g||t&&!t.test(e)||(o[e]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function I(t,e){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return f("performing safari idb mitigation"),S=async function(){const t=await _();return await function(){return new Promise(((t,e)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{b.clear(),t()},n.onerror=t=>e(t)}))}(),new Promise(((e,n)=>{b().then((r=>{const o=r.transaction(m,"readwrite"),i=o.objectStore(m);for(let[e,n]of Object.entries(t))i.put(n,e);const s=()=>e(),u=()=>n(o.error);o.oncomplete=s,o.onabort=u,o.onerror=u}),(t=>n(t)))}))}(),S.finally((()=>{S=null,f("idb mitigation complete")})),S}(),new Promise(((n,r)=>{b().then((async o=>{const i=o.transaction(m,"readwrite");i.objectStore(m).put(e,t);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((t=>r(t)))}))}async function P(){if(p)return await(0,l.B$)();if(await v())return await new Promise(((t,e)=>{b().then((n=>{const r=n.transaction(m,"readwrite");r.objectStore(m).clear();const o=()=>e(r.error);r.oncomplete=()=>t(),r.onabort=o,r.onerror=o})).catch((t=>e(t)))}));window.localStorage.clear()}},94776:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},40997:function(t,e,n){"use strict";n.d(e,{S:function(){return o}});var r=n(24050);function o(t){return"string"!=typeof t||-1===t.indexOf("&")?t:(0,r.Z)(t)}},24050:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(t){r.innerHTML=t;const e=r.textContent;return r.innerHTML="",e}},93345:function(t,e,n){"use strict";n.d(e,{R:function(){return o}});var r=n(99196);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof t?t.trim():t,Math.max(1,e-1)).part}const i=/\s+(\S*)$/;function s(t,e){let n=0;if("string"==typeof t&&t.length>0){let r=t,o="";for(;n<e&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(t)&&t.length>0){let r=[],o=t.length-1;for(;n<e&&o>=0;){const i=s(t[o],e-n);r.unshift(i.part),n+=i.substituted,o--}return r=t.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(t)&&t.props.children){const o=s(t.props.children,e);if(o.substituted>0){const e=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(t,t.props,...e),substituted:o.substituted}}return{part:t,substituted:n}}return{part:t,substituted:n}}},8165:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var r=n(33927),o=n.n(r);function i(t){return o()(t)}},284:function(t,e,n){"use strict";n.d(e,{HX:function(){return r},fh:function(){return o}});const r="G Suite",o="Google Workspace"},96598:function(t,e,n){"use strict";n.d(e,{H:function(){return i}});var r=n(10128),o=n(284);function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(t)?o.HX:o.fh}},96436:function(t,e,n){"use strict";function r(){let t=null;function e(){return t||(t=Promise.all([n.e(768),n.e(583)]).then(n.bind(n,50706)).then((t=>{let{default:e}=t;return e()}))),t}function r(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e().then((e=>e[t](...r)))}}return{init:r("init"),request:r("request"),send:r("send")}}n.d(e,{Z:function(){return r}})},26991:function(t,e,n){"use strict";n.d(e,{Y:function(){return o}});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:function(t,e,n){"use strict";var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"];e.Z=()=>o.includes((0,r.ZP)("env_id"))},16771:function(t,e,n){"use strict";n.d(e,{t:function(){return s}});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(t,e){i(`Loading a jQuery dependent script from "${t}"`),(0,r.D1)(t,e)}},68702:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(72429);async function o(t){await r.Z.req.post("/logstash",{params:JSON.stringify(t)})}},47824:function(t,e,n){"use strict";function r(t){return function(t){let e,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e&&o.length===e.length&&o.every(((t,n)=>t===e[n]))||(e=o,n=t(...o)),n};return r.clear=()=>{e=void 0,n=void 0},r}(t)}n.d(e,{I:function(){return r}})},7268:function(t,e,n){"use strict";n.d(e,{LP:function(){return u}});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function u(){const t=r.parse(document.cookie);if(void 0!==t.wpcom_token)return t.wpcom_token;const e=i().get(s);return e||!1}},26347:function(t,e,n){"use strict";n.d(e,{Nf:function(){return r.N}});var r=n(65337)},65337:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t){const e=!(!(0,r.get)(t,"discover_metadata")&&53424024!==(0,r.get)(t,"site_ID"));let n;if(e){const e=(0,r.get)(t,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(e,(t=>"pick"!==t.slug));n=o?o.slug:"feature"}return t.is_discover=e,t.discover_format=n,t}},53544:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),u=n(59755),a=n(54855),c=n(95822);const l=t=>{if(function(t){if(!t||!t.getAttribute("src"))return!1;const e=t.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(t=>(0,i.includes)(e.toLowerCase(),t)));return!(function(t){if(!t||!t.src)return!1;const e=t.height+t.width;return 1===e||2===e}(t)||n)}(t)){const{width:e,height:n}=(0,u.H)(t)||{width:0,height:0};return{src:(0,a.E)(t.getAttribute("src"),s.fY),width:e,height:n,mediaType:"image"}}return!1},f=t=>{const e=o()(t.src);if(e&&(0,i.includes)(["youtube","vimeo","videopress"],e.service)){const e=t.cloneNode();return-1===e.src.indexOf("?")?e.src+="?autoplay=1":e.src+="&autoplay=1",e.outerHTML}return null},p=t=>{let e,n=t;do{if(n.className&&(e=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),e))return e[1]}while(n=n.parentNode);return null};function d(t,e){const n=e.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(t=>{const e=t.nodeName.toLowerCase();return"iframe"===e?(t=>{if(!(0,c.p)(t))return!1;const e=Number(t.width),n=Number(t.height),r=e/n;return{type:p(t),src:t.src,iframe:t.outerHTML,aspectRatio:r,width:e,height:n,mediaType:"video",autoplayIframe:f(t)}})(t):"img"===e&&l(t)}));return t.content_media=(0,i.compact)(r),t.content_embeds=(0,i.filter)(t.content_media,(t=>"video"===t.mediaType)),t.content_images=(0,i.filter)(t.content_media,(t=>"image"===t.mediaType)),t.featured_image&&(t.featured_image=(0,a.E)(t.featured_image,s.fY)),t}},10363:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function u(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll("noscript");return(0,o.forEach)(n,(t=>{if(!t.firstChild)return;const e=(0,i.j)(t.innerHTML).querySelector(s.join(", "));if(e){const n=(e.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const e=document.createElement("p");e.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",t.parentNode.replaceChild(e,t)}}})),t}},37183:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(11481),o=n(92819);function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(t=>{let e=null;try{e=JSON.parse(t.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=e;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",t.parentNode.replaceChild(i,t)})),t):t}},40691:function(t,e,n){"use strict";n.d(e,{Y:function(){return o},b:function(){return i}});var r=n(6261);function o(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");return e.querySelectorAll("audio, video").forEach((t=>t.autoplay=!1)),t}function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");return e.querySelectorAll("iframe").forEach((t=>{const e=(0,r.A)(t.src);e.search&&(e.searchParams=function(t){const e=new URLSearchParams(t);return(Array.from(t.keys()).filter((t=>/^auto_?play$/i.test(t)))||[]).forEach((n=>{const r=t.get(n).toLowerCase();"1"===r?e.set(n,"0"):"true"===r?e.set(n,"false"):e.set(n,r)})),e}(e.searchParams),delete e.search,t.src=(0,r.C)(e).href)})),t}},17431:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t,e){const n=e.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(e=>{let n,o=(0,r.get)(e,["dataset","carouselExtra"],!1);if(!o&&(o=e.getAttribute("data-carousel-extra"),!o))return t;try{n=JSON.parse(o).permalink}catch(s){return t}const i=e.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(t=>{const e=t.querySelector("img"),r=e&&e.getAttribute("data-attachment-id");r&&(t.href=n+"#jp-carousel-"+r,t.setAttribute("target","_blank"))}))})),t}},50917:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(6261),o=n(92819),i=n(95822);function s(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll("iframe");if((0,o.forEach)(n,(function(t){(0,o.startsWith)(t.src,"http")?(t.src=t.src.replace(/^http:/,"https:"),!function(t){const e=t.src&&(0,r.A)(t.src).hostname,n=e&&e.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(t=>`.${n}`.endsWith("."+t)))}(t)?(0,i.p)(t)?t.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):t.setAttribute("sandbox","allow-scripts"):t.removeAttribute("sandbox")):t.parentNode.removeChild(t)})),t.is_external||t.is_jetpack){const t=e.querySelectorAll("embed,object");(0,o.forEach)(t,(function(t){t.parentNode.removeChild(t)}))}return t}},30757:function(t,e,n){"use strict";var r=n(6261),o=n(94668),i=n(92819),s=n(70353),u=n(54855);function a(t,e,n){let a=e.getAttribute("src");const c=(0,r.A)(a);if(!c.hostname){const e=(0,r.A)(t.URL);a=(0,r.C)({protocol:e.protocol,host:e.host,pathname:(0,s.Z)(e.pathname,c.pathname)}).href}let l=n?(0,u.E)((0,o.F)(a),n):(0,o.F)(a);if(l||(a=function(t,e){const n=(0,r.A)(t.URL);return e.startsWith("//")?`${n.protocol||"https:"}${e}`:e}(t,a)),!l&&(0,i.startsWith)(a,"https://")&&(l=a),(t=>{if(!t||!t.hasAttributes())return;(0,i.filter)(t.attributes,(t=>(0,i.startsWith)(t.name,"on"))).forEach((e=>t.removeAttribute(e.name))),t.removeAttribute("srcset")})(e),!l||(t=>{if(!t)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(e=>(0,i.includes)(t.toLowerCase(),e)))})(a))return e.parentNode.removeChild(e),void e.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");e.setAttribute("src",l)}e.Z=t=>(e,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>a(e,n,t))),e}},51088:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(48265);function i(t,e){const n=Array.from(e.querySelectorAll("a[href]"));return(0,r.forEach)(n,(t=>{o.G.test(t.href)||t.removeAttribute("href")})),t}},64e3:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(t){t.parentNode&&t.parentNode.removeChild(t)}function s(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n=e.querySelectorAll(o);return(0,r.forEach)(n,i),t}},42347:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819);function o(t,e){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(t,e)}function i(t,e){if(!e)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=e.querySelectorAll("[style]");return(0,r.forEach)(i,(function(t){o(t,n)||t.removeAttribute("style")})),(0,r.forEach)(e.querySelectorAll("style"),(function(t){o(t,n)||t.parentNode&&t.parentNode.removeChild(t)})),(0,r.forEach)(e.querySelectorAll("[align]"),(t=>{"IMG"!==t.tagName&&t.removeAttribute("align")})),t}},47401:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function u(t){t.parentNode&&t.parentNode.removeChild(t)}function a(t){return 0===t.childNodes.length?"BR"===t.nodeName&&t:a(t.firstChild)}function c(t){if(!t)return"";const e=(0,s.j)(i()(t,["p","br","sup","sub"]));e.id="__better_excerpt__",Array.from(e.querySelectorAll("p")).filter((t=>0===(0,r.trim)(t.textContent).length)).forEach(u),Array.from(e.querySelectorAll("p")).forEach((t=>{t.removeAttribute("style"),t.removeAttribute("align")})),function(t){if(t)for(;a(t);)u(a(t))}(e),(0,r.forEach)(e.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(t,e){e>=3&&t.parentNode&&t.parentNode.removeChild(t)}));const n=(0,r.trim)(e.innerHTML.replace(/&nbsp;/g," "));return e.innerHTML="",n}function l(t){if(!t||!t.content)return t;const e=function(t){const e=(0,s.j)(t);return(0,r.forEach)(e.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),u),e.innerHTML}(t.content);if(t.content_no_html=(0,r.trim)(i()(e)),t.better_excerpt=c(e),t.better_excerpt_no_html=(0,r.trim)(i()(t.better_excerpt)),t.better_excerpt_no_html){let e=t.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(e.length>160){const t=e.lastIndexOf(" ",160);e=e.substring(0,t)+"…"}t.short_excerpt=e}return t}},12800:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(94668),o=n(40997);const i=["excerpt","title","site_name"];function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e.forEach((function(e){t[e]&&(t[e]=(0,o.S)(t[e]))})),t.title=(0,o.S)(t.title),t.parent&&t.parent.title&&(t.parent.title=(0,o.S)(t.parent.title)),t.author&&(t.author.name&&(t.author.name=(0,o.S)(t.author.name)),t.author.avatar_URL&&(t.author.avatar_URL=(0,r.F)(t.author.avatar_URL))),t.tags&&Object.values(t.tags).forEach((function(t){t.name=(0,o.S)(t.name)})),t}},31564:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(94668),o=n(92819);function i(t,e){return function(n){const i=(s=t,u=e,function(t){return t.width>=s&&t.height>=u&&(0,r.F)(t.src)});var s,u;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(48265);function o(t){return t&&t.URL&&!r.G.test(t.URL)&&(t.URL=""),t&&t.short_URL&&!r.G.test(t.short_URL)&&(t.short_URL=""),t}},21036:function(t,e,n){"use strict";function r(t){return t.site_id&&(t.normalized_site_id=(""+t.site_id).replace(/::/g,"/")),t}n.d(e,{Z:function(){return r}})},53317:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819),o=n(15721),i=n(75209);function s(t){let e;if((0,o.J)(t.post_thumbnail)){const{URL:n,width:r,height:o}=t.post_thumbnail;e={uri:n,width:r,height:o}}else if(t.content_images&&t.content_images.length){const n=(0,r.find)(t.content_images,i.O);n&&(e={uri:n.src,width:n.width,height:n.height})}return e&&(t.canonical_image=e),t}},66184:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(94668),o=n(92819),i=n(48098);function s(t){if(!t)return!1;const e=100<=t.width,n=75<=t.height;return e&&n}function u(t){return!!t&&("image"===t.mediaType?s(t)&&(0,r.F)(t.src):"video"===t.mediaType&&t.autoplayIframe)}function a(t){if(!t)return t;if((0,i.E)(t.featured_image)&&(!t.post_thumbnail&&t.is_jetpack||s(t.post_thumbnail))&&(0,r.F)(t.featured_image))return t.canonical_media={src:t.featured_image,height:(0,o.get)(t,"post_thumbnail.height"),width:(0,o.get)(t,"post_thumbnail.width"),mediaType:"image"},t;const e=(0,o.find)(t.content_media,u);return e&&(t.canonical_media=e),t}},49147:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);function o(t){const e=(0,r.maxBy)((0,r.values)(t.tags),(function(t){return t.post_count}));return void 0!==e&&(t.primary_tag=e),t}},59654:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(93345);function i(t){return(0,r.forEach)(["excerpt"],(function(e){t[e]&&(t[e]=(0,o.R)(t[e],2))})),t}},36003:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(65956);function i(t){return function(e){return(0,o.O)(e.author,"avatar_URL",t),(0,o.O)(e,"featured_image",t,e.URL),e.post_thumbnail&&(0,o.O)(e.post_thumbnail,"URL",t,e.URL),e.featured_media&&"image"===e.featured_media.type&&(0,o.O)(e.featured_media,"uri",t,e.URL),e.canonical_image&&e.canonical_image.uri&&(0,o.O)(e.canonical_image,"uri",t,e.URL),e.attachments&&Object.values(e.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",t,e.URL)})),e}}},60566:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(8165);function i(t){return(0,r.forEach)(["excerpt","title","site_name"],(function(e){t[e]&&(t[e]=(0,o.C)(t[e]))})),t.author&&t.author.name&&(t.author.name=(0,o.C)(t.author.name)),t}},75659:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),u=n(15721);const a=o()("calypso:post-normalizer:wait-for-images-to-load");function c(t){const e={src:t.src,width:t.naturalWidth,height:t.naturalHeight};return t instanceof Image&&t.complete&&(e.fetched=!0),e}function l(t){return new Promise((e=>{const n={},r=[];function o(e,o){let i=e&&(0,s.H)(e);if(!i&&t.attachments){const e=Object.values(t.attachments).find((e=>e.URL===t.featured_image));e&&(i=(0,s.H)(e))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,u.J)(t.post_thumbnail)?o(t.post_thumbnail,t.post_thumbnail.URL):t.featured_image&&o(null,t.featured_image),(0,i.forEach)(t.content_images,(t=>o(t,t.src))),0===r.length)return void e(t);const l={};let f=(0,i.map)((0,i.take)(r,10),(t=>{return t in n?Promise.resolve(n[t]):(e=function(t){const e=new Image;return e.src=t,e}(t),e.complete&&e.naturalWidth>0?Promise.resolve(e):new Promise(((t,n)=>{e.onload=()=>t(e),e.onerror=()=>n(e)})));var e}));(0,i.forEach)(f,(n=>{n.then((t=>{l[t.src]=t})).catch((e=>(a("failed to load image",e,t),null))).then((()=>{if(f=f.filter((t=>t!==n)),0===f.length){const n=(0,i.filter)((0,i.map)(r,(t=>l[t])),Boolean);o=n,t.featured_image&&((0,i.find)(o,{src:t.featured_image})||(t.featured_image=null)),t.images=(0,i.map)(o,c),t.content_images=(0,i.filter)((0,i.map)(t.content_images,(function(e){return(0,i.find)(t.images,{src:e.src})})),Boolean),t.content_media=(0,i.map)(t.content_media,(e=>{if("image"===e.mediaType){const n=(0,i.find)(t.images,{src:e.src});return{...e,...n}}return e})),e(t)}var o})).catch((t=>{a("Fulfilling promise failed",t)}))}))}))}},55454:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(6964);function i(t){return function(e){if(!e||!e.content||!t)return e;const n=(0,o.j)(e.content);return(e=(0,r.reduce)(t,((t,e)=>e(t,n)),e)).content=n.innerHTML,n.innerHTML="",e}}},59755:function(t,e,n){"use strict";function r(t){if(t.height&&t.width)return{height:t.height,width:t.width};if(t.naturalHeight&&t.naturalWidth)return{height:t.naturalHeight,width:t.naturalWidth};if(t.dataset&&t.dataset.origSize){const[e,n]=t.dataset.origSize.split(",").map(Number);return{width:e,height:n}}return null}n.d(e,{H:function(){return r}})},6964:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const e=(new window.DOMParser).parseFromString(t,"text/html");if(e&&e.body)return e.body}const e=document.implementation.createHTMLDocument("processing doc").createElement("div");return e.innerHTML=t,e}n.d(e,{j:function(){return r}})},95822:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var r=n(6261),o=n(92819);function i(t){const e=t.src&&(0,r.A)(t.src).hostname,n=e&&e.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(t){return`.${n}`.endsWith("."+t)}))}},75209:function(t,e,n){"use strict";function r(t){return!!t&&(!(t.width<100)&&!(t.width*t.height<7500))}n.d(e,{O:function(){return r}})},48098:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var r=n(6261),o=n(92819);function i(t){if(!t)return!1;const e=(0,r.A)(t).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(t=>e.endsWith(t)))}},65956:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function u(t,e,n,u){if(t&&t[e]){const a=(0,r.A)(t[e]);if(u&&!a.hostname){const{pathname:n}=(0,r.A)(u),o=(0,s.Z)(n,t[e]);t[e]=(0,r.C)({...a,protocol:u.protocol,hostname:u.hostname,pathname:o}).href}t[e]=(0,o.F)(t[e]),n&&(t[e]=(0,i.E)(t[e],n))}}},54855:function(t,e,n){"use strict";n.d(e,{E:function(){return a}});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,u={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function a(t,e){if(!t)return t;const n=(0,r.A)(t),a=(0,o.D)(t);if(!n.host)return t;const c=Object.keys(u).find((t=>n.hostname.match(u[t])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,e*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const f=Array.from(n.searchParams.keys()).sort(),p=new URLSearchParams;f.forEach((t=>p.set(t,n.searchParams.get(t))));const d=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:p}).href;try{return(0,i.Z)(d,a)}catch{return d}}},48265:function(t,e,n){"use strict";n.d(e,{G:function(){return r},m:function(){return o}});const r=/^https?:\/\//;function o(t){if(r.test(t))return t}},15721:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(48098);function o(t){return!(!t||!t.URL)&&(0,r.E)(t.URL)}},29950:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var r=n(92819);function o(t){const e={id:Number(t.ID),active:Boolean(t.active),amount:Number(t.amount),attachedToPurchaseId:Number(t.attached_to_purchase_id),billPeriodDays:Number(t.bill_period_days),mostRecentRenewDate:t.most_recent_renew_date,canDisableAutoRenew:Boolean(t.can_disable_auto_renew),canExplicitRenew:Boolean(t.can_explicit_renew),costToUnbundle:t.cost_to_unbundle?Number(t.cost_to_unbundle):Number(t.amount),costToUnbundleText:t.cost_to_unbundle_display?t.cost_to_unbundle_display:t.price_text,currencyCode:t.currency_code,currencySymbol:t.currency_symbol,description:t.description,domain:t.domain,domainRegistrationAgreementUrl:t.domain_registration_agreement_url||null,error:null,blogCreatedDate:t.blog_created_date,expiryDate:t.expiry_date,expiryStatus:(0,r.camelCase)(t.expiry_status),iapPurchaseManagementLink:t.iap_purchase_management_link,includedDomain:t.included_domain,includedDomainPurchaseAmount:t.included_domain_purchase_amount,introductoryOffer:t.introductory_offer?{costPerInterval:Number(t.introductory_offer.cost_per_interval),endDate:String(t.introductory_offer.end_date),intervalCount:Number(t.introductory_offer.interval_count),intervalUnit:String(t.introductory_offer.interval_unit),isWithinPeriod:Boolean(t.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(t.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(t.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(t.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(t.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(t.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(t.is_cancelable),isDomainRegistration:Boolean(t.is_domain_registration),isLocked:Boolean(t.is_locked),isInAppPurchase:Boolean(t.is_iap_purchase),isRechargeable:Boolean(t.is_rechargable),isRefundable:Boolean(t.is_refundable),isRenewable:Boolean(t.is_renewable),isRenewal:Boolean(t.is_renewal),meta:t.meta,priceText:t.price_text,partnerName:t.partner_name,partnerSlug:t.partner_slug,partnerKeyId:t.partner_key_id,payment:{name:t.payment_name,type:t.payment_type,countryCode:t.payment_country_code,countryName:t.payment_country_name,storedDetailsId:t.stored_details_id},pendingTransfer:Boolean(t.pending_transfer),productId:Number(t.product_id),productName:t.product_name,productSlug:t.product_slug,totalRefundAmount:Number(t.total_refund_amount),totalRefundText:t.total_refund_text,refundAmount:Number(t.refund_amount),refundOptions:t.refund_options,refundText:t.refund_text,refundPeriodInDays:t.refund_period_in_days,regularPriceText:t.regular_price_text,renewDate:t.renew_date,saleAmount:t.sale_amount,siteId:Number(t.blog_id),siteName:t.blogname,subscribedDate:t.subscribed_date,subscriptionStatus:t.subscription_status,tagLine:t.tag_line,taxAmount:t.tax_amount,taxText:t.tax_text,purchaseRenewalQuantity:t.renewal_price_tier_usage_quantity||null,userId:Number(t.user_id)};return"credit_card"===t.payment_type&&(e.payment.creditCard={id:Number(t.payment_card_id),type:t.payment_card_type,processor:t.payment_card_processor,number:t.payment_details,expiryDate:t.payment_expiry}),"paypal_direct"===t.payment_type&&(e.payment.expiryDate=t.payment_expiry),e}function i(t){return Array.isArray(t)?t.map(o):[]}},2623:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",u=new WeakMap,a=[];class c{constructor(t,e){this.data=Object.assign({items:{},queries:{}},t),this.options=Object.assign({itemKey:"ID"},e)}static mergeItem(t,e){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(e.__DELETE)return;return Object.assign({},t,e)}return e}static matches(t,e){return!!e}static compare(t,e,n){return e===n?0:n-e}static sort(t,e,n){t.sort(((t,r)=>e[t]&&e[r]?this.compare(n,e[t],e[r]):0))}getItem(t){return this.data.items[t]}getItems(t){let e=null;if(t){var n;const r=this.constructor.QueryKey.stringify(t);if(e=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!e)return null}return function(t,e){let n=u.get(t);if(n||(n=new WeakMap,u.set(t,n)),null==e){let e=n.get(a);return e||(e=(0,o.values)(t),n.set(a,e)),e}let r=n.get(e);return r||(r=e.map((e=>t[e])),n.set(e,r)),r}(this.data.items,e)}getFound(t){const e=this.constructor.QueryKey.stringify(t);return(0,o.get)(this.data.queries,[e,"found"],null)}removeItem(t){return this.removeItems([t])}removeItems(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(t.map((t=>({[this.options.itemKey]:t,[s]:!0}))),{patch:!0})}receive(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(t)||(t=[t]);const n=(0,o.reduce)(t,((t,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,e.patch);return void 0===s?i?(0,o.omit)(t,r):t:(i&&(0,o.isEqual)(s,i)||(t===this.data.items&&(t=(0,o.clone)(t)),t[r]=s),t)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,u=!1;if(!i&&!e.query)return this;if(e.query){const n=(0,o.map)(t,this.options.itemKey);let a,c;if(r=this.constructor.QueryKey.stringify(e.query),u=!this.data.queries[r],!u&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(a=e.mergeQuery&&!u?(0,o.difference)(this.data.queries[r].itemKeys,n):n),e.found>=0&&e.found!==(0,o.get)(s,[r,"found"])&&(c=e.found),a||c>=0){i=!0;const t=Object.assign({},s[r]);a&&(t.itemKeys=a),c>=0&&(t.found=c),s=Object.assign({},s,{[r]:t})}}return s=(0,o.reduce)(s,((s,a,c)=>{s[c]=a;const l=r&&r===c;if(l&&(u||!e.mergeQuery))return s;if(!l&&e.dontShareQueryResultsWhenQueriesAreDifferent)return s;const f=!l,p=this.constructor.QueryKey.parse(c);let d=!1;return t.forEach((t=>{const e=t[this.options.itemKey],r=n[e],i=s[c].itemKeys.indexOf(e);-1!==i?r&&this.constructor.matches(p,r)||(s[c]===a&&(s[c]=(0,o.clone)(a)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],f&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(p,r)&&(s[c]===a&&(s[c]=(0,o.clone)(a)),f&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(e),d=!0)})),d&&this.constructor.sort(s[c].itemKeys,n,p),i=i||s[c]!==a,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(56666),o=n(92819);class i{static omit(t){const{OMIT_NULL_VALUES:e,DEFAULT_QUERY:n}=this;return e||n?(0,o.omitBy)(t,((t,r)=>!(!e||null!==t)||!(!n||n[r]!==t))):t}static stringify(t){const e=this.omit(t),n=(0,o.sortBy)(Object.entries(e),(t=>t[0]));return JSON.stringify(n)}static parse(t){return this.omit(Object.fromEntries(JSON.parse(t)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:function(t,e,n){"use strict";n.d(e,{t:function(){return r},H:function(){return o}});const r={number:20,page:1},o=["number","offset","page"]},44550:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),u=n(27866);const a=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(t){return!!t&&s.H.some((e=>t.hasOwnProperty(e)))}getItems(t){if(!t)return super.getItems(t);const e=this.getItemsIgnoringPage(t,!0);if(!e)return e;const n=t.page||this.constructor.DefaultQuery.page,r=t.number||this.constructor.DefaultQuery.number;return function(t,e,n){let r=a.get(t);r||(r=new Map,a.set(t,r));const o=`${e}/${n}`;let i=r.get(o);return i||(i=t.slice(e,e+n),r.set(o,i)),i}(e,(n-1)*r,r)}getItemsIgnoringPage(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return null;const n=super.getItems((0,o.omit)(t,s.H));return!n||e?n:n.filter((t=>void 0!==t))}getNumberOfPages(t){const e=this.getFound(t);if(null===e)return e;const n=t.number||this.constructor.DefaultQuery.number;return Math.ceil(e/n)}receive(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;e.query&&(n=Object.assign({mergeQuery:!0},e,{query:(0,o.omit)(e.query,s.H)}));const r=super.receive(t,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(e.query))return r;const i=this.constructor.QueryKey.stringify(e.query),u=e.query.page||this.constructor.DefaultQuery.page,a=e.query.number||this.constructor.DefaultQuery.number,c=(u-1)*a,l=r.data.queries[i];Array.isArray(t)||(t=[t]);const f=t.map((t=>t[this.options.itemKey])),p=(0,o.cloneDeep)(l);if(p.hasOwnProperty("found")&&t.length<a){const t=this.data.queries[i];t&&t.hasOwnProperty("found")&&(p.found=Math.max(t.found,p.found))}return p.itemKeys=[...(0,o.range)(0,c).map((t=>{const e=l.itemKeys[t];if(!f.includes(e))return e})),...(0,o.range)(0,a).map((t=>f[t])),...l.itemKeys.slice(c+a).filter((t=>t&&!f.includes(t)))],p.hasOwnProperty("found")&&(p.itemKeys=(0,o.range)(0,p.found).map((t=>p.itemKeys[t]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:p})}),r.options)}}(0,r.Z)(c,"QueryKey",u.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(t){return super.stringify((0,r.omit)(t,i.H))}static parse(t){return(0,r.omit)(super.parse(t),i.H)}}},725:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),u=n(44550),a=n(725),c=n(93039);class l extends u.Z{static matches(t,e){const n=Object.assign({},this.DefaultQuery,t);return Object.entries(n).every((t=>{let[n,r]=t;switch(n){case"search":{if(!r)return!0;const t=r.toLowerCase();return e.title&&e.title.toLowerCase().includes(t)||e.content&&e.content.toLowerCase().includes(t)}case"after":case"before":case"modified_after":case"modified_before":{const t=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return t.isValid()&&s()(e[i])[o](t)}case"term":return Object.entries(r).every((t=>{let[n,r]=t;return r=r.split(","),(0,o.some)(e.terms[n],(t=>{let{slug:e}=t;return r.includes(e)}))}));case"tag":case"category":{if(!r)return!0;const t=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(e[i],(e=>{let{name:n,slug:r}=e;return n&&n.toLowerCase()===t||r&&r.toLowerCase()===t}))}case"type":return"any"===r||r===e.type;case"parent_id":return r===e.parent||e.parent&&r===e.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(e.ID):r!==e.ID;case"sticky":return"require"===r?e.sticky:"exclude"!==r||!e.sticky;case"author":return(0,o.get)(e,"author.ID",e.author)===r;case"status":return"any"===r||String(r).split(",").some((t=>t===e[n]))}return!0}))}static compare(t,e,n){let r;switch(t.order_by){case"ID":r=e.ID-n.ID;break;case"comment_count":r=(0,o.get)(e.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=e.title.localeCompare(n.title);break;case"modified":r=new Date(e.modified)-new Date(n.modified);break;default:r=new Date(e.date)-new Date(n.date)}return t.order&&!/^desc$/i.test(t.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",a.e)},93039:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(92819),o=n(27866),i=n(725);function s(t,e){return null==t||i.e[e]===t}class u extends o.Z{static stringify(t){return super.stringify((0,r.omitBy)(t,s))}static parse(t){return(0,r.omitBy)(super.parse(t),s)}}},41900:function(t,e,n){"use strict";var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});e.Z=i},96252:function(t,e,n){"use strict";function r(t,e,n,r){if(!e)return t;const o=t[e]||r&&r();if(!o)return t;const i=n(o);return i===o?t:{...t,[e]:i}}n.d(e,{Z:function(){return r}})},55347:function(t,e){"use strict";e.Z=t=>"/"===t?t:t.replace(/\/$/,"")},40822:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(4174),o=n(78038),i=n(92819);function s(t,e){if("object"!=typeof t)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof e)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(e);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");t=(0,i.pickBy)(t,(t=>null!=t));const s=new URL(e,"http://__domain__.invalid"),u=new URLSearchParams(s.search);for(const r of Object.keys(t))u.set(r,String(t[r]));if(n===r.a.PATH_RELATIVE){let t=u.toString();return""!==t&&(t=`?${t}`),""!==s.search?e.replace(s.search,t):s.hash?e.replace(s.hash,`${t}${s.hash}`):`${e}${t}`}return s.search=u.toString(),(0,o.Z)(s,n)}},47307:function(t,e,n){"use strict";n.d(e,{ce:function(){return o},nq:function(){return i}});const r=/^https?:\/\//;function o(t){return""===t?"":t?t.replace(r,""):null}function i(t){return t?o(t).replace(/\//g,"::"):null}},70353:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4174);function o(t,e){t=t||"/";if((0,r.D)(t)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=t,e?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(e.startsWith("/")?"":"/")+e,n.pathname):n.pathname}},29726:function(t,e,n){"use strict";n.d(e,{v:function(){return a}});var r=n(40997),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],u=["display_name","description","user_URL"];function a(t){if("object"!=typeof t)throw new Error("the /me response is not an object");for(const n of s)if(!t.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const e={};for(const n of i){const o=t[n];e[n]=o&&u.includes(n)?(0,r.S)(o):o}return Object.assign(e,(0,o.B)(t))}},41333:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(47307);function o(t){const e=t.primary_blog_url||"";return{primarySiteSlug:(n=e,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:t.language,localeVariant:t.locale_variant};var n}},26935:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(20899);function o(t,e){let n,o="";return null==t||!t.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=t&&t.localeSlug&&""!==t.localeSlug&&"en"!==t.localeSlug&&(o=t.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=t.logout_URL,"string"==typeof e&&(n+=e="&redirect_to="+encodeURIComponent(e)),n}},59852:function(t,e,n){"use strict";n.d(e,{G:function(){return o}});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:function(t,e,n){"use strict";n.d(e,{YF:function(){return s}});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:function(t,e,n){"use strict";var r=n(20899),o=n(38049),i=n.n(o),s=n(18552),u=n(7268),a=n(33300),c=n(12902),l=n(54083),f=n(78009),p=n(21286);const d=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=(0,c.Z)(u.LP(),l.Z):(h=(0,c.Z)(s.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(t){if(t)throw t;d('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,a.Z)(h),(0,p.J)(h),(0,f.rc)(h),e.Z=h;(0,c.Z)(l.Z)},78009:function(t,e,n){"use strict";n.d(e,{rc:function(){return a}});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",u=()=>i().get(s),a=t=>{const e=t.request.bind(t);Object.assign(t,{request(t,n){const o=u();if(o){const e=(0,r.parse)(t.query);t=Object.assign({},t,{query:(0,r.stringify)(Object.assign(e,{store_sandbox_ticket:o.value}))})}return e(t,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const t=u();t&&t.createdDate<Date.now()-72e5&&i().remove(s)})();const t=(0,r.parse)(window.location.search.replace("?",""));t.guest_ticket&&i().set(s,{createdDate:Date.now(),value:t.guest_ticket})})()},21286:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});var r=n(11481),o=n(19126);function i(t){const e=t.request.bind(t);return Object.assign(t,{localized:!0,request:function(t,n){return e(function(t){const e=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!e||"en"===e)return t;let n;const i=(0,o.parse)(t.query);return n=t.apiNamespace?{_locale:e}:{locale:e},Object.assign(t,{query:(0,o.stringify)(Object.assign(n,i))})}(t),n)}})}},33300:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19126);function o(t){let e="",n="",o=null;const i=t.request.bind(t);return Object.assign(t,{addSupportParams:function(t){return{...t,support_user:e,_support_token:n}},setSupportUserToken:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(t!==e||r!==n)&&(e=t,n=r,o=i,!0)},request:(t,s)=>e&&n?i(function(t){const o=(0,r.parse)(t.query);return o.support_user=e,o._support_token=n,Object.assign({},t,{query:(0,r.stringify)(o)})}(t),((t,e)=>{o&&"invalid_support_token"===(null==t?void 0:t.error)?o(t):s(t,e)})):i(t,s)})}},12902:function(t,e,n){"use strict";var r=n(91285),o=n.n(r),i=n(91202);function s(t,e){if(!(this instanceof s))return new s(t,e);"function"==typeof t?(e=t,t=null):t&&this.loadToken(t),i.Z.call(this,t,(function(t,n){return this.isTokenLoaded()&&(t={...t,authToken:this._token,token:this._token}),e(t,n)}))}o()(s,i.Z),i.Z.prototype.loadToken=function(t){this._token=t},s.prototype.isTokenLoaded=function(){return void 0!==this._token},e.Z=s},54083:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(26935),o=n(65792);async function i(t,e){return(0,(await n.e(361).then(n.bind(n,3614))).default)(t,(async function(t,n,i){t&&"InvalidTokenError"===t.name&&(await(0,o.YF)(),window.location.href=(0,r.K)()),e(t,n,i)}))}},1422:function(t,e,n){"use strict"},77270:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(t){if(r.hasOwnProperty(t)){const[e,n]=r[t];return{[`autofocus[${e}]`]:n}}return null}},83373:function(t,e,n){"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});function r(){if("undefined"==typeof document)return;const t=document.documentElement.clientWidth;return t>1040?720:t>928?t-304:t>660?t-288:t-20}},77327:function(t,e,n){"use strict";function r(t){if(t)return t.feed_ID&&t.feed_item_ID?{feedId:t.feed_ID,postId:t.feed_item_ID}:t.is_external?{feedId:t.feed_ID||t.site_ID,postId:t.feed_item_ID||t.ID}:{blogId:t.site_ID,postId:t.ID}}function o(t,e){return t===e||!(!t&&e||t&&!e||!t&&!e&&t!==e)&&(!(t.isGap&&!e.isGap||!t.isGap&&e.isGap)&&(t.isGap&&e.isGap?t.from===e.from&&t.to===e.to:t.postId===e.postId&&(t.feedId?t.feedId===e.feedId:t.blogId===e.blogId)))}function i(t){if(!t||t.isGap)return null;if(t.isCombination){const e=t.feedId?`&feedId=${t.feedId}`:"",n=t.blogId?`&feedId=${t.blogId}`:"";return`postIds=[${t.postIds.join(",")}, ]${e}${n} `}return t.isRecommendationBlock?`rec-${t.index}`:t.feedId?`${t.postId}-${t.feedId}`:t.blogId?`${t.postId}-${t.blogId}`:null}function s(t){return t&&t.postId&&(t.blogId||t.feedId)}n.d(e,{WO:function(){return r},NK:function(){return o},C$:function(){return i},J0:function(){return s}})},7728:function(t,e,n){"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:function(t,e,n){"use strict";n.d(e,{yg:function(){return a}});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const u=new Set;function a(t,e,n,r){if(!t||!e||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:e.replace(/.*?:\/\//g,""),blog:t,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}u.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:function(t,e,n){"use strict";n.d(e,{qb:function(){return r}});n(92819),n(76292),n(83373);function r(t,e){return t&&e&&t.xPostMetadata&&e.xPostMetadata&&t.xPostMetadata.blogId&&t.xPostMetadata.blogId===e.xPostMetadata.blogId&&t.xPostMetadata.postId&&t.xPostMetadata.postId===e.xPostMetadata.postId}},40211:function(t,e,n){"use strict";n.d(e,{u2u:function(){return r},Wj3:function(){return o},lAo:function(){return i},K5f:function(){return s},ti2:function(){return u},Fux:function(){return a},JYg:function(){return c},gm2:function(){return l},uBM:function(){return f},KAg:function(){return p},w6q:function(){return d},M5U:function(){return h},tGX:function(){return m},K1T:function(){return g},sQe:function(){return y},HYG:function(){return v},HCR:function(){return b},T6o:function(){return w},ON1:function(){return _},sBg:function(){return E},zVI:function(){return S},DGo:function(){return I},gQI:function(){return P},cnn:function(){return k},G1W:function(){return O},dAl:function(){return A},YPU:function(){return C},iHL:function(){return T},H6A:function(){return R},vQd:function(){return x},o9b:function(){return Z},Mei:function(){return j},nHy:function(){return D},oH7:function(){return L},f5U:function(){return U},AKl:function(){return F},M7f:function(){return N},Sur:function(){return q},$Tb:function(){return M},IoY:function(){return B},Ylp:function(){return $},k_K:function(){return H},myH:function(){return V},yGK:function(){return W},IwF:function(){return z},R_D:function(){return G},kJ4:function(){return Q},Syf:function(){return Y},vsK:function(){return K},qjX:function(){return J},$tj:function(){return X},Do$:function(){return tt},ILV:function(){return et},SgU:function(){return nt},tyO:function(){return rt},eYx:function(){return ot},c2t:function(){return it},Xeb:function(){return st},xm0:function(){return ut},Oh9:function(){return at},kUt:function(){return ct},XTm:function(){return lt},vO0:function(){return ft},JqF:function(){return pt},NnF:function(){return dt},aqr:function(){return ht},WkZ:function(){return mt},zvG:function(){return gt},czl:function(){return yt},hxz:function(){return vt},C6k:function(){return bt},T3s:function(){return wt},X5K:function(){return _t},h2B:function(){return Et},Rp6:function(){return St},LbL:function(){return It},xkR:function(){return Pt},kNW:function(){return kt},oD3:function(){return Ot},RFP:function(){return At},rgA:function(){return Ct},AVO:function(){return Tt},a7F:function(){return Rt},PP1:function(){return xt},pgH:function(){return Zt},Ra4:function(){return jt},nL0:function(){return Dt},F1Z:function(){return Lt},JZv:function(){return Ut},R$r:function(){return Ft},NYz:function(){return Nt},gpX:function(){return qt},Se1:function(){return Mt},bE0:function(){return Bt},vIA:function(){return $t},N__:function(){return Ht},CNw:function(){return Vt},hZH:function(){return Wt},KF6:function(){return zt},WYe:function(){return Gt},vP0:function(){return Qt},hYA:function(){return Yt},XMF:function(){return Kt},LEp:function(){return Jt},A4M:function(){return Xt},pSd:function(){return te},PD1:function(){return ee},N8o:function(){return ne},XuD:function(){return re},lCo:function(){return oe},JPH:function(){return ie},kLL:function(){return se},dGx:function(){return ue},WjV:function(){return ae},RIF:function(){return ce},gbe:function(){return le},pJb:function(){return fe},m58:function(){return pe},_qM:function(){return de},Fsf:function(){return he},$5Y:function(){return me},XMH:function(){return ge},_MG:function(){return ye},RSp:function(){return ve},Nq:function(){return be},IK5:function(){return we},bgv:function(){return _e},tvw:function(){return Ee},U5d:function(){return Se},QLz:function(){return Ie},D5g:function(){return Pe},SYS:function(){return ke},t2O:function(){return Oe},wOJ:function(){return Ae},dyA:function(){return Ce},RI4:function(){return Te},fa4:function(){return Re},xNf:function(){return xe},YCt:function(){return Ze},uvG:function(){return je},Kmp:function(){return De},Frv:function(){return Le},Byq:function(){return Ue},lfH:function(){return Fe},lTr:function(){return Ne},gNn:function(){return qe},Rmh:function(){return Me},$MQ:function(){return Be},XLI:function(){return $e},U0$:function(){return He},eO9:function(){return Ve},S3d:function(){return We},whB:function(){return ze},UUJ:function(){return Ge},hJk:function(){return Qe},uuM:function(){return Ye},Mvd:function(){return Ke},KBY:function(){return Je},rZJ:function(){return Xe},xLe:function(){return tn},M4_:function(){return en},eTV:function(){return nn},KSQ:function(){return rn},Khp:function(){return on},koV:function(){return sn}});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",u="ANALYTICS_TRACKS_OPT_OUT",a="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",f="CURRENT_USER_RECEIVE",p="CURRENT_USER_SET_EMAIL_VERIFIED",d="DOMAIN_CONTACT_INFO_DISCLOSE",h="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",m="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",g="DOMAIN_CONTACT_INFO_REDACT",y="DOMAIN_CONTACT_INFO_REDACT_FAILURE",v="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",w="DOMAIN_PRIVACY_DISABLE_FAILURE",_="DOMAIN_PRIVACY_DISABLE_SUCCESS",E="DOMAIN_PRIVACY_ENABLE",S="DOMAIN_PRIVACY_ENABLE_FAILURE",I="DOMAIN_PRIVACY_ENABLE_SUCCESS",P="EDITOR_START",k="EDITOR_STOP",O="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",C="EMAIL_VERIFY_REQUEST_SUCCESS",T="EMAIL_VERIFY_STATE_RESET",R="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",Z="HAPPYCHAT_FOCUS",j="HAPPYCHAT_IO_INIT",D="HAPPYCHAT_IO_RECEIVE_ACCEPT",L="HAPPYCHAT_IO_RECEIVE_CONNECT",U="HAPPYCHAT_IO_RECEIVE_DISCONNECT",F="HAPPYCHAT_IO_RECEIVE_ERROR",N="HAPPYCHAT_IO_RECEIVE_INIT",q="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",M="HAPPYCHAT_IO_RECEIVE_MESSAGE",B="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",$="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",H="HAPPYCHAT_IO_RECEIVE_RECONNECTING",V="HAPPYCHAT_IO_RECEIVE_STATUS",W="HAPPYCHAT_IO_RECEIVE_TOKEN",z="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",G="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",Q="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",Y="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",K="HAPPYCHAT_IO_SEND_MESSAGE_LOG",J="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",X="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",tt="HAPPYCHAT_IO_SEND_PREFERENCES",et="HAPPYCHAT_IO_SEND_TYPING",nt="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",rt="HAPPYCHAT_MINIMIZING",ot="HAPPYCHAT_OPEN",it="HAPPYCHAT_SET_CURRENT_MESSAGE",st="HAPPYCHAT_SET_USER_CONFIG",ut="HELP_CENTER_VISIBLE",at="JETPACK_DISCONNECT_RECEIVE",ct="LAYOUT_FOCUS_SET",lt="LAYOUT_NEXT_FOCUS_ACTIVATE",ft="LAYOUT_NEXT_FOCUS_SET",pt="LOCALE_SET",dt="MASTERBAR_TOGGLE_VISIBILITY",ht="MEDIA_DELETE",mt="MEDIA_MODAL_VIEW_SET",gt="NOTICE_CREATE",yt="NOTICE_REMOVE",vt="NOTIFICATIONS_PANEL_TOGGLE",bt="POST_COUNTS_RECEIVE",wt="POST_COUNTS_REQUEST",_t="POST_COUNTS_REQUEST_FAILURE",Et="POST_COUNTS_REQUEST_SUCCESS",St="POST_COUNTS_RESET_INTERNAL_STATE",It="POST_DELETE",Pt="POST_DELETE_FAILURE",kt="POST_DELETE_SUCCESS",Ot="POST_EDIT",At="POST_LIKE",Ct="POST_LIKES_ADD_LIKER",Tt="POST_LIKES_RECEIVE",Rt="POST_LIKES_REMOVE_LIKER",xt="POST_LIKES_REQUEST",Zt="POST_REQUEST",jt="POST_REQUEST_FAILURE",Dt="POST_REQUEST_SUCCESS",Lt="POST_RESTORE",Ut="POST_RESTORE_FAILURE",Ft="POST_REVISION_AUTHORS_RECEIVE",Nt="POST_REVISIONS_DIALOG_CLOSE",qt="POST_REVISIONS_DIALOG_OPEN",Mt="POST_REVISIONS_DIFF_SPLIT_VIEW",Bt="POST_REVISIONS_DIFF_UNIFY_VIEW",$t="POST_REVISIONS_RECEIVE",Ht="POST_REVISIONS_SELECT",Vt="POST_SAVE",Wt="POST_SAVE_SUCCESS",zt="POST_TYPE_LIST_SHARE_PANEL_HIDE",Gt="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Qt="POST_UNLIKE",Yt="POSTS_RECEIVE",Kt="POSTS_REQUEST",Jt="POSTS_REQUEST_FAILURE",Xt="POSTS_REQUEST_SUCCESS",te="PREFERENCES_FETCH",ee="PREFERENCES_FETCH_FAILURE",ne="PREFERENCES_FETCH_SUCCESS",re="PREFERENCES_RECEIVE",oe="PREFERENCES_SAVE_SUCCESS",ie="PREFERENCES_SET",se="PREVIEW_URL_CLEAR",ue="PREVIEW_URL_SET",ae="PURCHASE_REMOVE_COMPLETED",ce="PURCHASE_REMOVE_FAILED",le="PURCHASES_REMOVE",fe="PURCHASES_SITE_FETCH",pe="PURCHASES_SITE_FETCH_COMPLETED",de="PURCHASES_SITE_FETCH_FAILED",he="PURCHASES_SITE_RESET_STATE",me="PURCHASES_USER_FETCH",ge="PURCHASES_USER_FETCH_COMPLETED",ye="PURCHASES_USER_FETCH_FAILED",ve="ROUTE_SET",be="SECTION_LOADING_SET",we="SECTION_SET",_e="SELECTED_SITE_SET",Ee="SITE_CONNECTION_STATUS_RECEIVE",Se="SITE_CONNECTION_STATUS_REQUEST",Ie="SITE_CONNECTION_STATUS_REQUEST_FAILURE",Pe="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",ke="SITE_DELETE_RECEIVE",Oe="SITE_DOMAINS_RECEIVE",Ae="SITE_DOMAINS_REQUEST",Ce="SITE_DOMAINS_REQUEST_FAILURE",Te="SITE_DOMAINS_REQUEST_SUCCESS",Re="SITE_FEATURES_FETCH",xe="SITE_FEATURES_FETCH_COMPLETED",Ze="SITE_FEATURES_FETCH_FAILED",je="SITE_FRONT_PAGE_UPDATE",De="SITE_INTRO_OFFER_RECEIVE",Le="SITE_INTRO_OFFER_REQUEST",Ue="SITE_INTRO_OFFER_REQUEST_FAILURE",Fe="SITE_INTRO_OFFER_REQUEST_SUCCESS",Ne="SITE_MIGRATION_STATUS_UPDATE",qe="SITE_PLANS_FETCH",Me="SITE_PLANS_FETCH_COMPLETED",Be="SITE_PLANS_FETCH_FAILED",$e="SITE_PLANS_REMOVE",He="SITE_PLUGIN_UPDATED",Ve="SITE_PRODUCTS_FETCH",We="SITE_PRODUCTS_FETCH_COMPLETED",ze="SITE_PRODUCTS_FETCH_FAILED",Ge="SITE_RECEIVE",Qe="SITE_REQUEST",Ye="SITE_REQUEST_FAILURE",Ke="SITE_REQUEST_SUCCESS",Je="SITE_SETTINGS_RECEIVE",Xe="SITE_SETTINGS_UPDATE",tn="SITES_RECEIVE",en="SITES_REQUEST",nn="SITES_REQUEST_FAILURE",rn="SITES_REQUEST_SUCCESS",on="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",sn="WPCOM_HTTP_REQUEST"},48539:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(92819);const o=(t,e)=>Array.isArray(t)?t.concat(e):void 0,i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length>1?(0,r.mergeWith)(Object.create(null),...e,o):e[0]}},86398:function(t,e,n){"use strict";n.d(e,{Z:function(){return s},l:function(){return u}});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const u=(t,e)=>(n,s)=>{const u=s.storageKey,a=function(t){return t.join(".")}(n),c=i.get(a),l=o.get(a);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${a}`);if(!l){if(t.addReducer(n,s),u&&e){const n=e(s,u);n&&t.dispatch({type:r.gm2,storageKey:u,storedState:n})}o.set(a,!0),i.set(a,s)}}},19298:function(t,e,n){"use strict";n.d(e,{jN:function(){return i}});var r=n(40211);const o=(t,e)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:t},e)}]}}),i=(t,e)=>o("tracks",{name:t,properties:e})},15223:function(t,e,n){"use strict";var r=n(25394),o=n(44567),i=n(80252),s=n(7689),u=n(66610),a=n(17032),c=n(40211);const l={ga:t=>{let{category:e,action:n,label:r,value:i}=t;return(0,o.Yh)(e,n,r,i)},tracks:t=>{let{name:e,properties:n}=t;return(0,a.recordTracksEvent)(e,n)},fb:t=>{let{name:e,properties:n}=t;return(0,r.K)(e,n)},adwords:t=>{let{properties:e}=t;return(0,r.w)(e)}},f={ga:t=>{let{url:e,title:n}=t;return(0,o.eK)(e,n)},default:t=>{let{url:e,title:n,options:r,...o}=t;return(0,u.A)(e,n,o,r)}},p=t=>{t.meta.analytics.forEach((t=>{var e,n;let{type:r,payload:o}=t;const{service:i="default",...u}=o;switch(r){case c.u2u:return null===(e=l[i])||void 0===e?void 0:e.call(l,u);case c.Wj3:return null===(n=f[i])||void 0===n?void 0:n.call(f,u);case c.lAo:return(t=>{let{group:e,name:n}=t;return(0,s.P)(e,n)})(u)}}))};e.Z=()=>t=>e=>{var n;switch(e.type){case c.K5f:return void("HotJar"===e.trackingTool&&(0,i.o)());case c.ti2:return void(0,a.setTracksOptOut)(e.isOptingOut);default:null!==(n=e.meta)&&void 0!==n&&n.analytics&&p(e)}return t(e)}},6255:function(t,e,n){"use strict";e.Z=t=>function(){const e=t(...arguments);return"undefined"!=typeof window&&(Object.assign(window,e),Object.defineProperty(window,"state",{enumerable:!0,get:e.getState})),e}},91668:function(t,e,n){"use strict";n.d(e,{lx:function(){return o}});n(65792);var r=n(40211);n(36747);function o(t){return{type:r.uBM,user:t}}},79482:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.ZP=(0,o.U)({status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return t},errorMessage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.G1W:case r.YPU:return"";case r.dAl:{const{message:t}=e;return t}case r.iHL:return""}return t}})},18724:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(79482),u=n(21826);const a=(0,o.G)(u.K6,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.uBM?e.user.ID:t})),c=(0,o.G)(u.bH,(function(){var t,e,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(t=i.user.meta)||void 0===t||null===(e=t.data)||void 0===e||null===(n=e.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(t,e){if(!t||!e)return!1;const n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((n=>e[n]===t[n]))}const f=(0,o.G)(u.kX,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.UUJ:case r.xLe:return(e.site?[e.site]:e.sites).reduce(((e,n)=>(!n.capabilities||l(n.capabilities,e[n.ID])||(e===t&&(e={...t}),e[n.ID]=n.capabilities),e)),t)}return t})),p=(0,o.G)(u.y4,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.uBM?e.user.lasagna_jwt||null:t}));e.ZP=(0,i.U)({id:a,user:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.uBM:return e.user;case r.KAg:return{...t,email_verified:e.verified}}return t},capabilities:f,flags:c,emailVerification:s.ZP,lasagnaJwt:p})},21826:function(t,e,n){"use strict";n.d(e,{K6:function(){return r},kX:function(){return o},bH:function(){return i},y4:function(){return s}});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:function(t,e,n){"use strict";function r(t){var e;return null===(e=t.currentUser)||void 0===e?void 0:e.id}function o(t){var e;return(null==t||null===(e=t.currentUser)||void 0===e?void 0:e.user)??null}n.d(e,{rc:function(){return r},ts:function(){return o},bo:function(){return s}});const i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[t])??e}};i("localeSlug"),i("user_ip_country_code");function s(t){const e=o(t);return e?e.site_count||0:null}i("date"),i("username"),i("email"),i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:function(t,e,n){"use strict";n.d(e,{Z9:function(){return s}});var r=n(48539);let o={};const i=new Set,s=(t,e)=>{i.has(t)||(i.add(t),o=(0,r.A)(o,e))}},85875:function(t,e,n){"use strict";n.d(e,{aF:function(){return i}});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=t=>(0,r.zc)(t,o)},28867:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(40211);const o=function(t){let{apiVersion:e,apiNamespace:n,body:o,method:i,path:s,query:u={},formData:a,onSuccess:c,onFailure:l,onProgress:f,onStreamRecord:p,...d}=t,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const m=n?{apiNamespace:n}:{apiVersion:e};return{type:r.koV,body:o,method:i,path:s,query:{...u,...m},formData:a,onSuccess:c||h,onFailure:l||h,onProgress:f||h,onStreamRecord:p||h,options:d}}},57195:function(t,e,n){"use strict";n.d(e,{iD:function(){return r}});const r=()=>({name:"NO_RETRY"});!function(){let{delay:t=1e3,maxAttempts:e=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,t),Math.min(5,e)}()},67577:function(t,e,n){"use strict";n.d(e,{BN:function(){return h}});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),u=n(92819),a=n(15960);const c=()=>{},l=t=>t,f=t=>(0,u.get)(t,"meta.dataLayer.data",void 0),p=t=>(0,u.get)(t,"meta.dataLayer.error",void 0),d=t=>(0,u.get)(t,"meta.dataLayer.progress",void 0),h=((0,a.J)("meta.dataLayer.requestKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:e,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?t:Object.assign({...t},{status:r},e&&{lastUpdated:e},n&&{pendingSince:n})})),m=t=>(e,n)=>{if(!0!==(0,u.get)(n,"meta.dataLayer.trackRequest")||d(n))return t(e,n);const r=(t=>{const{meta:e,...n}=t;return(0,u.get)(e,"dataLayer.requestKey")||s()(n)})(n),o=(t=>void 0!==p(t)?"failure":void 0!==f(t)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});t({...e,dispatch:t=>e.dispatch((0,u.merge)(t,{meta:{dataLayer:i}}))},n)},t=>(t.fetch||o()("fetch handler is not defined: no request will ever be issued"),t.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),t.onError||o()("onError handler is not defined: error during the request is being ignored"),m(((e,n)=>{const r=function(t,e){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:a=l}=t,h=p(e);if(h)return o(e,h);const m=f(e);if(m)try{return r(e,a(m))}catch(v){return o(e,v)}const g=d(e);if(g)return i(e,g);const y=(t=>(0,u.get)(t,"meta.dataLayer.streamRecord",void 0))(e);return y?s(e,y):n(e)}(t,n);if(r)return Array.isArray(r)?r.map(e.dispatch):e.dispatch(r)}))));var m},8681:function(t,e,n){"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),u=n(67577),a=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[a.LW]:[(0,u.BN)({fetch:function(t){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${t.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},t)},onSuccess:function(t,e){return(0,o.aF)((0,c.N0)(e))},onError:function(t,e){return(0,o.aF)((0,c.vE)(t,e))}})]})},26385:function(t,e,n){"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),u=n(67577),a=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,u.BN)({fetch:t=>(0,s.d)({method:"GET",path:`/sites/${t.siteId}/posts/${t.postId}/likes`,apiVersion:"1.1"},t),fromApi:t=>({found:+t.found,iLike:!!t.i_like,likes:t.likes}),onSuccess:(t,e)=>{let{siteId:n,postId:r}=t;return(0,a.u5)(n,r,e)},onError:()=>{}})]}))},77433:function(t,e,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),u=n(67577),a=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,u.BN)({fetch:t=>{const e={};return t.source&&(e.source=t.source),(0,s.d)({method:"POST",path:`/sites/${t.siteId}/posts/${t.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:e},t)},onSuccess:(t,e)=>{let{siteId:n,postId:r}=t,{likeCount:o,liker:i}=e;return(0,a.Ui)(n,r,o,i)},onError:t=>{let{siteId:e,postId:n}=t;return(0,i.aF)((0,a.vL)(e,n))},fromApi:function(t){if(!t.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+t.like_count,liker:t.liker}}})]}),e.ZP={}},46600:function(t,e,n){"use strict";var r=n(77433);e.Z=r.ZP},90347:function(t,e,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),u=n(67577),a=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,u.BN)({fetch:t=>{const e={};return t.source&&(e.source=t.source),(0,s.d)({method:"POST",path:`/sites/${t.siteId}/posts/${t.postId}/likes/new`,body:{},apiVersion:"1.1",query:e},t)},onSuccess:(t,e)=>{let{siteId:n,postId:r}=t,{likeCount:o,liker:i}=e;return(0,a.eT)(n,r,o,i)},onError:t=>{let{siteId:e,postId:n}=t;return(0,i.aF)((0,a.Yt)(e,n))},fromApi:function(t){if(!t.success)throw new Error("Unsuccessful like API call");return{likeCount:+t.like_count,liker:t.liker}}})]}),e.ZP={}},85745:function(t,e,n){"use strict";var r=n(40211),o=n(28447),i=n(29398),s=n(71085),u=n(95884),a=n(83551);const c=t=>t<17e8?1e3*t:t,l=(0,i.G)({type:"number"},(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.qjX:case r.$Tb:return Date.now()}return t})),f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.$Tb:case r.IoY:case r.Ylp:{var n;const{message:t}=e;return{id:t.id,source:t.source,message:t.text,name:t.user.name,image:t.user.avatarURL,isEdited:!!t.revisions,isOptimistic:t.isOptimistic,files:t.files,timestamp:c(t.timestamp),user_id:t.user.id,type:t.type??"message",links:null===(n=t.meta)||void 0===n?void 0:n.links}}}return t},p=t=>parseInt(t.timestamp,10),d=(t,e)=>p(t)-p(e),h=t=>t.slice().sort(d),m=(0,i.G)(a.v,(0,s.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.$Tb:case r.IoY:{var n;if(null!==(n=e.message.meta)&&void 0!==n&&n.forOperator)return t;const r=f({},e),o=t.findIndex((t=>{let{id:e}=t;return r.id===e}));return o>=0?[...t.slice(0,o),r,...t.slice(o+1)]:t.concat([r])}case r.Ylp:{const n=t.findIndex((t=>{let{id:n}=t;return e.message.id===n}));return-1===n?t:[...t.slice(0,n),f({},e),...t.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=e.messages)||void 0===o?void 0:o.filter((e=>{var n;return!!e.id&&((null===(n=e.meta)||void 0===n||!n.forOperator)&&!t.some((t=>t.id===e.id)))})))??[];return h(t.concat(n.map((t=>{var e;return{id:t.id,source:t.source,message:t.text,name:t.user.name,image:t.user.picture,isEdited:!!t.revisions,files:t.files,timestamp:c(t.timestamp),user_id:t.user.id,type:t.type??"message",links:null===(e=t.meta)||void 0===e?void 0:e.links}}))))}}return t}),{serialize:t=>t.slice(-1*o.lc)}));e.ZP=(0,u.U)({status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,e=arguments.length>1?arguments[1]:void 0;return e.type===r.myH?e.status:t},timeline:m,lastActivityTimestamp:l})},83551:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:function(t,e,n){"use strict";n.d(e,{id:function(){return s},nv:function(){return u},wH:function(){return a},k_:function(){return c},up:function(){return l},Mo:function(){return f},pL:function(){return p},$W:function(){return d},QM:function(){return h},dN:function(){return m},gg:function(){return g},KX:function(){return y},Mx:function(){return v},bi:function(){return w},qP:function(){return _},yW:function(){return E}});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),u=t=>({type:o.f5U,error:t}),a=()=>({type:o.yGK}),c=t=>({type:o.M7f,user:t}),l=t=>({type:o.IwF,error:t}),f=()=>({type:o.k_K}),p=t=>({type:o.nHy,isAvailable:t}),d=t=>({type:o.Sur,isAvailable:t}),h=t=>({type:o.$Tb,message:t}),m=t=>({type:o.IoY,message:{...t,isOptimistic:!0}}),g=t=>({type:o.Ylp,message:t}),y=t=>({type:o.myH,status:t}),v=t=>({type:o.AKl,error:t}),b=t=>{let{messages:e,timestamp:n}=t;return{type:o.kJ4,messages:e,timestamp:n}},w=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:t,timeout:e,callback:b}},_=t=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:t,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),E=t=>({type:o.SgU,event:"chat.setFields",payload:t})},80258:function(t,e,n){"use strict";var r=n(40211),o=n(28447),i=n(95884);e.Z=(0,i.U)({error:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.M7f:return null;case r.f5U:return e.error}return t},isAvailable:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.nHy?e.isAvailable:t},localizedSupport:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.Sur?e.isAvailable:t},status:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return t}})},28447:function(t,e,n){"use strict";n.d(e,{SJ:function(){return r},bp:function(){return o},XY:function(){return i},oP:function(){return s},ad:function(){return u},lc:function(){return a},so:function(){return c},dZ:function(){return l},s0:function(){return f}});const r="uninitialized",o="connecting",i="connected",s="disconnected",u="reconnecting",a=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",f="default"},84656:function(t,e,n){"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:function(t,e,n){"use strict";var r=n(92819),o=n(96436),i=n(40211),s=n(94002),u=n(11834),a=n(27443);const c={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"};e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==t&&(t=(0,o.Z)()),e=>n=>o=>{const l=e.getState();switch(o.type){case i.Mei:t.init(e.dispatch,o.auth);break;case i.R_D:t.request(o,o.timeout);break;case i.$tj:t.send(o),e.dispatch((0,s.yW)({howCanWeHelp:(0,r.get)(o,"payload.meta.howCanWeHelp",null),howYouFeel:(0,r.get)(o,"payload.meta.howYouFeel",null)}));break;case i.Syf:case i.vsK:case i.qjX:case i.Do$:case i.ILV:case i.SgU:t.send(o);break;case i.vQd:case i.o9b:(0,a.Z)(l)&&(0,u.Z)(l)&&c[o.type]&&e.dispatch((0,s.qP)(c[o.type]))}return n(o)}}()},61741:function(t,e,n){"use strict";var r=n(83685),o=n(95884),i=n(85745),s=n(80258),u=n(29837),a=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.Z,ui:u.ZP,user:a.ZP});e.Z=(0,r.xi)("happychat",c)},83455:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);n(84656);function o(t){return(0,r.get)(t,"happychat.connection.status")}},11834:function(t,e,n){"use strict";var r=n(92819),o=n(28447);n(84656);e.Z=t=>(0,r.get)(t,"happychat.chat.status")===o.dZ},27443:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(28447),o=n(83455);function i(t){return(0,o.Z)(t)===r.XY}},29837:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const u=(0,o.G)({type:"number"},(0,i.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.vQd:return Date.now();case r.o9b:return null}return t}),{serialize:t=>null===t?Date.now():t}));e.ZP=(0,s.U)({currentMessage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.qjX:return"";case r.c2t:return e.message}return t},isMinimizing:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.tyO?!!e.isMinimizing:t},isOpen:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.eYx?!!e.isOpen:t},lostFocusAt:u})},24570:function(t,e,n){"use strict";n.d(e,{_:function(){return u}});var r=n(68702),o=n(72429),i=n(40211),s=n(13306);n(84656);const u=()=>t=>{o.Z.req.get("/help/olark/mine").then((e=>{t((t=>({type:i.Xeb,config:t}))(e))})).catch((e=>{e&&e.message&&"authorization_required"!==e.error&&(t((0,s.tF)(e.message)),(0,r.C)({feature:"calypso_client",message:"Olark configuration request failed",severity:"error",extra:{error:e.name,status:e.status,message:e.message}}))}))}},12844:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const u=(0,o.G)(s.FB,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(e.type===r.M7f){const n=e.user.geoLocation;return n&&n.country_long&&n.city?n:t}return t})),a=(0,o.G)(s.Cv,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.isUserEligible:t})),c=(0,o.G)(s.i6,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.availability:t})),l=(0,o.G)(s._B,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.Xeb?e.config.supportLevel:t}));e.ZP=(0,i.U)({geoLocation:u,isEligible:a,availability:c,supportLevel:l})},71320:function(t,e,n){"use strict";n.d(e,{FB:function(){return r},Cv:function(){return o},i6:function(){return i},_B:function(){return s}});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:function(t,e,n){"use strict";var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];const r=(0,i.Z)(t);return(0,o.x)(e,(0,o.p)(t,r),n)}),(t=>[(0,i.Z)(t)]));e.Z=s},13306:function(t,e,n){"use strict";n.d(e,{tF:function(){return s}});var r=n(88767),o=n(40211);n(73377);const i=function(t,e){let{id:n,...i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:o.zvG,notice:Object.assign({showDismiss:!0},i,{noticeId:n||(0,r.Z)(),status:t,text:e})}},s=(t,e)=>i("is-error",t,e)},73377:function(t,e,n){"use strict";var r=n(9044),o=n(87795);(0,r.x)(["notices"],o.ZP)},87795:function(t,e,n){"use strict";var r=n(83685),o=n(92819),i=n(40211);const s=(0,n(95884).U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i.zvG:{const{notice:n}=e;return{...t,[n.noticeId]:n}}case i.czl:{const{noticeId:n}=e;return t.hasOwnProperty(n)?(0,o.omit)(t,n):t}case i.RSp:return(0,o.reduce)(t,((t,e,n)=>{if(!e.isPersistent&&!e.displayOnNextPage)return t;let r=e;return r.displayOnNextPage&&(r={...r,displayOnNextPage:!1}),t[n]=r,t}),{})}return t},lastTimeShown:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===i.zvG){const{notice:n}=e;return{...t,[n.noticeId]:Date.now()}}return t}});e.ZP=(0,r.xi)("notices",s)},80951:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),u=n(32988);const a=(()=>{let t,e={};function n(t,e){return[t,e].join()}function s(o,i,s,u){const a=n(i,s),c=e[a];if(!c)return o;const l=["all"];c.authorId===t&&l.push("mine");const f=l.reduce(((t,e)=>{const n=(0,r.get)(o,[i,c.type,e],{});return t[e]={},t[e][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==u&&(t[e][u]=(n[u]||0)+1),t}),{});return"deleted"===u?e=(0,r.omit)(e,a):c.status=u,(0,r.merge)(f,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:f}})}return(0,i.G)(u.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;switch(u.type){case o.Rp6:return t=void 0,e={},i;case o.uBM:return t=u.user.ID,i;case o.hYA:return u.posts.forEach((t=>{const o=n(t.site_ID,t.ID),u=e[o];u&&t.status!==u.status&&(i=s(i,t.site_ID,t.ID,t.status)),e[o]=(0,r.pick)(t,"type","status"),e[o].authorId=(0,r.get)(t.author,"ID")})),i;case o.CNw:{const{siteId:t,postId:e,post:n}=u;return n.status?s(i,t,e,n.status):i}case o.LbL:return s(i,u.siteId,u.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[u.siteId]:{[u.postType]:u.counts}})}return i}))})();e.ZP=(0,s.U)({requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},t,{[e.siteId]:{[e.postType]:o.T3s===e.type}})}return t},counts:a})},32988:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:function(t,e,n){"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:function(t,e,n){"use strict";n.d(e,{vL:function(){return o},Yt:function(){return i},u5:function(){return s},eT:function(){return u},Ui:function(){return a}});var r=n(40211);n(26385),n(70263);const o=function(t,e){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:t,postId:e,source:n}},i=function(t,e){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:t,postId:e,source:n}},s=(t,e,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:t,postId:e,likes:o,iLike:i,found:s}},u=(t,e,n,o)=>({type:r.rgA,siteId:t,postId:e,likeCount:n,liker:o}),a=(t,e,n,o)=>({type:r.a7F,siteId:t,postId:e,likeCount:n,liker:o})},26353:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(15960),u=n(95884),a=n(40057);const c=(0,i.G)(a.Z,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.AVO:{const{likes:n,iLike:r,found:o}=e;return{likes:Array.isArray(n)?n.map((t=>({ID:t.ID,avatar_URL:t.avatar_URL,login:t.login,name:t.name,site_ID:t.site_ID,site_visible:t.site_visible}))):t.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return t.iLike?t:{likes:t.likes,iLike:!0,found:t.found+1,lastUpdated:t.lastUpdated};case o.vP0:return t.iLike?{likes:t.likes,iLike:!1,found:Math.max(0,t.found-1),lastUpdated:t.lastUpdated}:t;case o.rgA:{const{likeCount:n,liker:o}=e,i=(0,r.some)(t.likes,(t=>t.ID===o.ID));if(t.found===n&&i)return t;let s=t.likes;return i||(s=[o,...t.likes||[]]),{likes:s,iLike:t.iLike,found:n,lastUpdated:t.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=e,i=(0,r.some)(t.likes,(t=>t.ID===o.ID));if(t.found===n&&!i)return t;let s=t.likes;return i&&(s=t.likes.filter((t=>o.ID!==t.ID))),{likes:s,iLike:t.iLike,found:n,lastUpdated:t.lastUpdated}}}return t})),l=(0,s.J)("siteId",(0,s.J)("postId",c));e.ZP=(0,u.U)({items:l})},40057:function(t,e){"use strict";e.Z={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:function(t,e,n){"use strict";var r=n(92819),o=n(3982),i=n(96252),s=n(40211),u=n(13360),a=n(29398),c=n(71085),l=n(95884),f=n(72725),p=n(26353),d=n(8588),h=n(49061),m=n(41900),g=n(2205),y=n(78261),v=n(78928),b=n(38239),w=n(26588),_=n(73831),E=n(57384),S=n(40178),I=n(92110),P=n(40373);const k=(0,a.G)(h.dj,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.hYA:return(0,r.reduce)(e.posts,((e,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return e[i]||(e===t&&(e={...e}),e[i]=[r,o]),e}),t);case s.kNW:{const n=(0,r.findKey)(t,(t=>{let[n,r]=t;return n===e.siteId&&r===e.postId}));return n?(0,r.omit)(t,n):t}}return t}));const O=(0,a.G)(h.kl,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.A4M:{const{siteId:n,query:r,posts:s,found:u}=e;if(!n)return t;const a=s.map(y.P);return(0,i.Z)(t,n,(t=>t.receive(a,{query:r,found:u})),(()=>new o.Z))}case s.hYA:{const{posts:n}=e,s=(0,r.reduce)(n,((t,e)=>Object.assign(t,{[e.site_ID]:[...t[e.site_ID]||[],(0,y.P)(e)]})),{});return(0,r.reduce)(s,((t,e,n)=>(0,i.Z)(t,n,(t=>t.receive(e)),(()=>new o.Z))),t)}case s.F1Z:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=e;return(0,i.Z)(t,n,(t=>t.removeItem(r)))}}return t}),{serialize:t=>(0,r.mapValues)(t,(t=>{let{data:e,options:n}=t;return{data:e,options:n}})),deserialize:t=>(0,r.mapValues)(t,(t=>{let{data:e,options:n}=t;return new o.Z(e,n)}))}));function A(t,e,n){return(0,r.findKey)(t.data.items,(t=>t.site_ID===e&&t.ID===n))||null}const C=(0,a.G)(m.Z,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=e;return n?t:t.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=e;return t.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=e,i=A(t,n,r);return t.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=e,o=A(t,n,r);return t.removeItem(o)}}return t}),{serialize:t=>{let{data:e,options:n}=t;return{data:e,options:n}},deserialize:t=>{let{data:e,options:n}=t;return new o.Z(e,n)}}));e.ZP=(0,l.U)({counts:f.ZP,items:k,siteRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.pgH:case s.nL0:case s.Ra4:return Object.assign({},t,{[e.siteId]:Object.assign({},t[e.siteId],{[e.postId]:s.pgH===e.type})})}return t},queryRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.XMF:case s.A4M:case s.LEp:const n=(0,g.v)(e.query,e.siteId);return Object.assign({},t,{[n]:s.XMF===e.type})}return t},queries:O,allSitesQueries:C,edits:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.hYA:return(0,r.reduce)(e.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===t&&(n=(0,r.merge)({},t)),e.saveMarker){const t=i.indexOf(e.saveMarker);-1!==t&&(i=i.slice(t+1))}const s=(0,v.Z)(...i);let a=null;if(s){const t=(0,r.omitBy)(s,((t,e)=>{switch(e){case"author":return(0,b.J)(t,o[e]);case"date":return(0,w.S)(t,o[e]);case"discussion":return(0,_.y)(t,o[e]);case"featured_image":return t===(0,u.g)(o);case"metadata":return!0;case"status":return(0,E.D)(t,o[e]);case"terms":return(0,S.v)(t,o[e])}return(0,r.isEqual)(o[e],t)}));if(s.metadata){const e=(0,I.F)(s.metadata,o.metadata);e.length>0&&(t.metadata=e)}(0,r.isEmpty)(t)||(a=[t])}return(0,r.set)(n,[o.site_ID,o.ID],a)}),t);case s.oD3:{const n=e.siteId,o=e.postId||"",i=(0,r.get)(t,[n,o]),s=(0,P.V)(i,e.post);return{...t,[n]:{...t[n],[o]:s}}}case s.gQI:return Object.assign({},t,{[e.siteId]:{...t[e.siteId],[e.postId||""]:null}});case s.cnn:if(!t.hasOwnProperty(e.siteId))break;return Object.assign({},t,{[e.siteId]:(0,r.omit)(t[e.siteId],e.postId||"")});case s.hZH:{const n=e.siteId;if(""===(e.postId||"")&&e.savedPost){const o=e.savedPost.ID;t={...t,[n]:(0,r.mapKeys)(t[n],((t,e)=>""===e?o:e))}}return t}}return t},likes:p.ZP,revisions:d.ZP})},17811:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(95884);e.Z=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===o.R$r?(0,r.reduce)(e.users,((e,n)=>(e===t&&(e={...t}),e[n.ID]=n,e)),t):t}})},8588:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(95884),s=n(17811);e.ZP=(0,i.U)({diffs:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:e,postId:n,revisions:i,siteId:s,type:u}=arguments.length>1?arguments[1]:void 0;if(u!==o.vIA)return t;if(!Number.isInteger(s)||s<=0)return t;const a=(0,r.get)(t,[s,n],{}),c={...(0,r.get)(a,"revisions",{}),...i},l=(0,r.filter)(e,(t=>{let{diff:e,from:n,to:o}=t;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(e))))}));return(0,r.isEmpty)(l)?t:{...t,[s]:{...t[s],[n]:{...{...(0,r.omit)(a,"revisions"),...(0,r.keyBy)(l,(t=>`${t.from}:${t.to}`))},revisions:c}}}},selection:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.N__:return{...t,revisionId:e.revisionId};case o.oD3:case o.bgv:return{...t,revisionId:null};default:return t}},ui:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.NYz:return{...t,isDialogVisible:!1};case o.gpX:return{...t,isDialogVisible:!0};case o.Se1:return{...t,diffView:"split"};case o.bE0:return{...t,diffView:"unified"};default:return t}},authors:s.Z})},49061:function(t,e,n){"use strict";n.d(e,{dj:function(){return o},kl:function(){return i}});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var r=n(92819),o=n(78928);function i(t,e){if((0,r.isEmpty)(t))return[e];const n=(0,r.last)(t);if("string"==typeof n)return[...t,e];const i=t.slice(0,-1);return i.push((0,o.Z)(n,e)),i}},13360:function(t,e,n){"use strict";function r(t){if(t)return"featured_image"in t&&!/^https?:\/\//.test(t.featured_image)?t.featured_image:t.post_thumbnail?t.post_thumbnail.ID:void 0}n.d(e,{g:function(){return r}})},91602:function(t,e,n){"use strict";n.d(e,{B:function(){return i}});var r=n(92819),o=n(80951);function i(t){return(0,r.omitBy)(t,((t,e)=>o.e[e]===t))}},2205:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(91602);function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(t),o=JSON.stringify(n);return e?[e,o].join(":"):o}},38239:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var r=n(92819);function o(t,e){return(0,r.get)(t,"ID")===(0,r.get)(e,"ID")}},26588:function(t,e,n){"use strict";function r(t,e){return!1===t||t&&new Date(t).getTime()===new Date(e).getTime()}n.d(e,{S:function(){return r}})},73831:function(t,e,n){"use strict";n.d(e,{y:function(){return o}});var r=n(92819);function o(t,e){return Object.entries(t).every((t=>{let[n,o]=t;return(0,r.get)(e,[n])===o}))}},57384:function(t,e,n){"use strict";function r(t,e){return["publish","future"].includes(t)?["publish","future"].includes(e):t===e}n.d(e,{D:function(){return r}})},40178:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(92819);function o(t,e){return Object.entries(t).every((t=>{let[n,o]=t;const i=Object.values(o),s=(0,r.isPlainObject)(i[0]),u=s?(0,r.map)(i,"ID"):i,a=s?"ID":"name",c=(0,r.map)(e[n],a);return!(0,r.xor)(u,c).length}))}},78928:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819);function o(t,e){const n=(0,r.reject)(t,(t=>(0,r.find)(e,{key:t.key})));return(0,r.concat)(n,e)}const i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.reduce)(e,((t,e)=>"string"==typeof e?t:null===t?e:(0,r.mergeWith)((0,r.cloneDeep)(t),e,((t,e,n,r,i,s)=>"metadata"===n&&0===s.size?o(t,e):Array.isArray(e)?e:void 0))),null)}},92110:function(t,e,n){"use strict";n.d(e,{F:function(){return o}});var r=n(92819);function o(t,e){return(0,r.filter)(t,(t=>function(t,e){const n=(0,r.find)(e,{key:t.key});return"update"===t.operation?!n||n.value!==t.value:"delete"===t.operation&&!!n}(t,e)))}},78261:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});var r=n(92819);const o=(t,e)=>{if(e.length>1){const[,...n]=e;o(t[e[0]],n)}else t&&t.hasOwnProperty(e[0])&&delete t[e[0]]};function i(t){const e=(0,r.cloneDeep)(t);return(0,r.reduce)([[],...(0,r.reduce)(t.terms,((t,e,n)=>t.concat((0,r.map)(e,((t,e)=>["terms",n,e])))),[]),...(0,r.map)(t.categories,((t,e)=>["categories",e])),...(0,r.map)(t.tags,((t,e)=>["tags",e])),...(0,r.map)(t.attachments,((t,e)=>["attachments",e]))],((t,e)=>(o(t,e.concat("meta","links")),t)),e)}},18223:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:function(t,e,n){"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:function(t,e,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),u=n(85290);const a=(0,i.G)(u.U,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(e.type===o.XuD){const{values:t}=e;return t}return t})),c=(0,s.U)({localValues:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.JPH:{const{key:n,value:r}=e;return t[n]===r?t:{...t,[n]:r}}case o.lCo:{const{[e.key]:n,...r}=t;return r}}return t},remoteValues:a,fetching:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.N8o:case o.PD1:return!1;case o.pSd:return!0}return t},lastFetchedTimestamp:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.N8o?Date.now():t}}),l=(0,r.xi)("preferences",c);e.ZP=l},85290:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:function(t,e,n){"use strict";n.d(e,{Oz:function(){return o}});var r=n(18223);n(54614);function o(t,e){for(const i of[null===(n=t.preferences)||void 0===n?void 0:n.localValues,null===(o=t.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(e))return i[e]??null}return null}},86169:function(t,e,n){"use strict";n.d(e,{Y9:function(){return u}});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),u=(r.ZP.translate("There was an error removing the purchase."),t=>e=>(e({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{e({type:i.XMH,purchases:n,userId:t})})).catch((()=>{e({type:i._MG,error:s})}))))},65811:function(t,e,n){"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:function(t,e,n){"use strict";var r=n(83685),o=n(92819),i=n(40211);const s={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function u(t,e){let n,r;return i.m58===e.type&&(r={blog_id:String(e.siteId)}),i.XMH!==e.type&&i.WjV!==e.type||(r={user_id:String(e.userId)}),n=function(t,e,n){return t.filter((t=>!(0,o.matches)(n)(t)||(0,o.find)(e,{ID:t.ID})))}(t,e.purchases,r),n=function(t,e){let n=e;return t.forEach((t=>{(0,o.find)(n,{ID:t.ID})||(n=n.concat(t))})),n}(n,e.purchases),n}e.Z=(0,r.xi)("purchases",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i.gbe:return{...t,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case i.pJb:return{...t,isFetchingSitePurchases:!0};case i.$5Y:return{...t,isFetchingUserPurchases:!0};case i.WjV:return{...t,data:u(t.data,e),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case i.m58:return{...t,data:u(t.data,e),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case i.XMH:return{...t,data:u(t.data,e),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case i.RIF:return{...t,error:e.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case i._qM:return{...t,error:e.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case i._MG:return{...t,error:e.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case i.Fsf:return{...t,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return t}))},12726:function(t,e,n){"use strict";n.d(e,{Mo:function(){return r},iJ:function(){return o}});n(65811);const r=t=>t.purchases.isFetchingUserPurchases,o=t=>t.purchases.hasLoadedUserPurchasesFromServer},99432:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(83685),o=n(29950);n(65811);const i=(0,r.P1)((t=>(0,o.W)(t.purchases.data)),(t=>[t.purchases.data]))},76678:function(t,e,n){"use strict";n.d(e,{I:function(){return u}});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const u=(0,r.P1)((t=>{if(!(0,i.iJ)(t))return null;const e=(0,o.rc)(t);return(0,s.G)(t).filter((t=>t.userId===e))}),(t=>[(0,i.iJ)(t),(0,o.rc)(t),(0,s.G)(t)]))},78772:function(t,e,n){"use strict";n.d(e,{BQ:function(){return r},tx:function(){return o},_n:function(){return i},K1:function(){return s},D8:function(){return u},Ae:function(){return a},_h:function(){return c},M1:function(){return l},_p:function(){return f},AH:function(){return p},lH:function(){return d},P6:function(){return h},b3:function(){return m},sh:function(){return g},DJ:function(){return y},kB:function(){return v},R1:function(){return b},cu:function(){return w},MW:function(){return _},a$:function(){return E},nY:function(){return S},q_:function(){return I},B_:function(){return P},gS:function(){return k},L5:function(){return O},Nr:function(){return A},s5:function(){return C},ud:function(){return T},we:function(){return R},_O:function(){return x},Ny:function(){return Z},$J:function(){return j},S6:function(){return D},ch:function(){return L},nB:function(){return U},rE:function(){return F},Bi:function(){return N},Cm:function(){return q},Rn:function(){return M},yZ:function(){return B},c1:function(){return $},e_:function(){return H},iv:function(){return V},IJ:function(){return W},zF:function(){return z},zg:function(){return G},LW:function(){return Q},Fy:function(){return Y},qY:function(){return K},Qw:function(){return J},pu:function(){return X},CI:function(){return tt},_7:function(){return et},l0:function(){return nt},rC:function(){return rt},c7:function(){return ot},RN:function(){return it},Qr:function(){return st},HC:function(){return ut},aL:function(){return at},Ep:function(){return ct},hB:function(){return lt},Jx:function(){return ft},_i:function(){return pt},fY:function(){return dt},CE:function(){return ht},Q6:function(){return mt},tN:function(){return gt},BZ:function(){return yt},VV:function(){return vt},vy:function(){return bt},OT:function(){return wt}});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",u="READER_DISMISS_SITE",a="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",f="READER_FEED_SEARCH_RECEIVE",p="READER_FOLLOW",d="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",m="READER_FOLLOWS_SYNC_COMPLETE",g="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",b="READER_LIST_FOLLOW_RECEIVE",w="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",I="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",k="READER_LIST_REQUEST_FAILURE",O="READER_LIST_REQUEST_SUCCESS",A="READER_LIST_UNFOLLOW_RECEIVE",C="READER_LIST_UPDATE",T="READER_LIST_UPDATE_FAILURE",R="READER_LIST_UPDATE_SUCCESS",x="READER_LISTS_RECEIVE",Z="READER_LISTS_REQUEST",j="READER_ORGANIZATIONS_RECEIVE",D="READER_ORGANIZATIONS_REQUEST",L="READER_POST_SEEN",U="READER_POSTS_RECEIVE",F="READER_RECOMMENDED_SITES_RECEIVE",N="READER_RELATED_POSTS_RECEIVE",q="READER_RELATED_POSTS_REQUEST",M="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",$="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",H="READER_SEEN_MARK_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",W="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",tt="READER_STREAMS_PAGE_REQUEST",et="READER_STREAMS_SELECT_ITEM",nt="READER_STREAMS_SELECT_NEXT_ITEM",rt="READER_STREAMS_SELECT_PREV_ITEM",ot="READER_STREAMS_SHOW_UPDATES",it="READER_STREAMS_UPDATES_RECEIVE",st="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ut="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",at="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ct="READER_TAG_IMAGES_RECEIVE",lt="READER_TAG_IMAGES_REQUEST",ft="READER_TAG_IMAGES_REQUEST_FAILURE",pt="READER_TAG_IMAGES_REQUEST_SUCCESS",dt="READER_TAGS_RECEIVE",ht="READER_THUMBNAIL_RECEIVE",mt="READER_UNFOLLOW",gt="READER_UNFOLLOW_TAG_RECEIVE",yt="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",vt="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",bt="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",wt="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(84225),a=n(91706),c=n(51260);const l=(0,i.G)(a.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.BQ:return{...t,[(0,c.J)(e.payload.siteId,e.payload.postId)]:u.I.following};case o.tx:return{...t,[(0,c.J)(e.payload.siteId,e.payload.postId)]:u.I.muting};case o._n:{const n=(0,c.J)(e.payload.siteId,e.payload.postId);if(e.payload.followStatus===u.I.not_following)return(0,r.omit)(t,n);return{...t,[n]:e.payload.followStatus}}case o.nB:{if(!e.posts)return t;const n={};return(0,r.forEach)(e.posts,(t=>{t.is_following_conversation&&(n[(0,c.J)(t.site_ID,t.ID)]=u.I.following)})),0===(0,r.size)(n)?t:{...t,...n}}}return t}));e.Z=(0,s.U)({items:l})},91706:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:function(t,e,n){"use strict";function r(t,e){return`${t}-${e}`}n.d(e,{J:function(){return r}})},13838:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const u=(0,i.J)("queryKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o._p?(0,r.uniqBy)((t||[]).concat(e.payload.feeds),"feed_URL"):t})),a=(0,i.J)("queryKey",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o._p?e.payload.total:t}));e.ZP=(0,s.U)({items:u,total:a})},64380:function(t,e,n){"use strict";var r=n(92819),o=n(40997),i=n(8165),s=n(48265),u=n(78772),a=n(29398),c=n(71085),l=n(95884),f=n(46518);function p(t,e){return{[e.payload.feed_ID]:{feed_ID:e.payload.feed_ID,is_error:!0},...t}}function d(t,e){const n=function(t){return{feed_ID:+t.feed_ID,blog_ID:+t.blog_ID,name:t.name&&(0,o.S)(t.name),URL:(0,s.m)(t.URL),feed_URL:(0,s.m)(t.feed_URL),is_following:t.is_following,subscribers_count:t.subscribers_count,description:t.description&&(0,o.S)((0,i.C)(t.description)),last_update:t.last_update,image:t.image,organization_id:t.organization_id,unseen_count:t.unseen_count}}(e.payload);return{...t,[n.feed_ID]:n}}const h=(0,a.G)(f.d,(0,c.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.M1:return d(t,e);case u._h:return p(t,e);case u.e_:{const n=t[e.feedId];return n?{...t,[e.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-e.globalIds.length,0)})}:t}case u.iv:{const n=t[e.feedId];return n?{...t,[e.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+e.globalIds.length,0)})}:t}case u.c1:return(0,r.forEach)(e.feedIds,(e=>{t[e]={...t[e],unseen_count:0}})),{...t}}return t}),{serialize:t=>(0,r.omitBy)(t,"is_error")}));e.ZP=(0,l.U)({items:h,lastFetched:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===u.M1?{...t,[e.payload.feed_ID]:Date.now()}:t},queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.Ae:return{...t,[e.payload.feed_ID]:!0};case u.M1:case u._h:return(0,r.omit)(t,e.payload.feed_ID)}return t}})},46518:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(71085),u=n(95884),a=n(75235),c=n(46486);function l(t,e){let{payload:n,type:i}=e;const s=(0,r.find)(t,{blog_ID:+n.blogId});if(!s)return t;const u=(0,r.get)(s,["delivery_methods","email"],{}),a={};switch(i){case o.HC:case o.VV:a.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:a.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(a.post_delivery_frequency=n.deliveryFrequency);const l={...u,...a};return(0,r.isEqual)(u,l)?t:{...t,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function f(t,e){let{payload:n,type:i}=e;const s=(0,r.find)(t,{blog_ID:+n.blogId});if(!s)return t;const u=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),a=!(i===o.vy);return u===a?t:{...t,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:a}}}}}const p=(0,i.G)(a.e,(0,s.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.lH:{const n=(0,c.C)(e.payload.feedUrl);return{...t,[n]:(0,r.merge)({},t[n],{error:e.payload.error})}}case o.AH:{let n=(0,c.C)(e.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(e.payload,["follow","feed_URL"],e.payload.feedUrl),s={...t};i!==e.payload.feedUrl?(o.alias_feed_URLs=[...t[n].alias_feed_URLs||[],(0,c.C)(e.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):t[n]&&t[n].error&&(o.error=null);const u=(0,r.get)(t[n],["delivery_methods","notification"]);return u&&(o.delivery_methods={notification:u}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},t[n],e.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(e.payload.feedUrl),o=t[n];return o&&o.is_following?{...t,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:t}case o.P6:{const n=e.payload.follows,o=(0,r.reduce)(n,((t,e)=>{const n=(0,c.C)(e.URL),r={...e,is_following:!0};return t[n]=r,t}),{});return(0,r.merge)({},t,o)}case o.qY:{const n=e.payload;if(!n||!n.feed_URL||!n.is_following)return t;const o=(0,c.C)(n.feed_URL),i=t[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...t,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(t,e);case o.aL:case o.vy:return f(t,e);case o.b3:{const n=new Set(e.payload);return(0,r.omitBy)(t,(t=>t.ID&&!n.has(t.feed_URL)))}case o.e_:{const n=(0,c.C)(e.feedUrl),o=t[n];return o?{...t,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-e.globalIds.length})}:t}case o.iv:{const n=(0,c.C)(e.feedUrl),o=t[n];return o?{...t,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+e.globalIds.length})}:t}case o.c1:return(0,r.forEach)(e.feedUrls,(e=>{const n=(0,c.C)(e);t[n]={...t[n],unseen_count:0}})),{...t}}return t}),{serialize:t=>(0,r.pickBy)(t,(t=>t.ID&&t.is_following))}));e.ZP=(0,u.U)({items:p,itemsCount:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return e.type===o.P6&&e.payload.totalCount?e.payload.totalCount:t},lastSyncTime:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.sh?Date.now():t}})},75235:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(55347);function o(t){const e=t&&(0,r.Z)(t);return e&&e.replace(/^https?:\/\//,"").toLowerCase()}},35929:function(t,e,n){"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(40932);const a=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o._O:return Object.assign({},t,(0,r.keyBy)(e.lists,"ID"));case o.L5:case o.we:return Object.assign({},t,(0,r.keyBy)([e.data.list],"ID"));case o.kB:return e.listId in t?(0,r.omit)(t,e.listId):t}return t}));function c(t,e,n){if(!(e.listId in t))return t;const o=t[e.listId],i=(0,r.reject)(o,n);return{...t,[e.listId]:i}}const l=(0,i.G)(u.E,(function(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(t=i.list)||void 0===t?void 0:t.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const u=null===(e=i.list)||void 0===e?void 0:e.ID;return u?(0,r.filter)(n,(t=>t!==u)):n;case o.kB:return(0,r.filter)(n,(t=>t!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));e.ZP=(0,s.U)({items:a,listItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.q_:return{...t,[e.listId]:e.listItems};case o.cu:{const n=t[e.listId]||[];return(0,r.some)(n,{feed_ID:e.feedId})?t:{...t,[e.listId]:[...n,{feed_ID:e.feedId}]}}case o.MW:return c(t,e,(t=>t.feed_ID===e.feedId));case o.nY:return c(t,e,(t=>t.tag_ID===e.tagId));case o.a$:return c(t,e,(t=>t.site_ID===e.siteId));case o.kB:return e.listId in t?(0,r.omit)(t,e.listId):t}return t},subscribedLists:l,isCreatingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.DJ:case o.L5:case o.gS:return o.DJ===e.type}return t},isRequestingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.B_:case o.L5:case o.gS:return o.B_===e.type}return t},isRequestingLists:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.Ny:case o._O:return o.Ny===e.type}return t},isUpdatingList:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.s5:case o.we:case o.ud:return o.s5===e.type}return t}})},40932:function(t,e,n){"use strict";n.d(e,{d:function(){return r},E:function(){return o}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),u=n(37013);const a=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.type===o.$J?e.error?t:(0,r.get)(e,["payload","organizations"],t):t}));e.ZP=(0,s.U)({items:a,isRequesting:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.S6:return!0;case o.$J:return!1}return t}})},37013:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:function(t,e,n){"use strict";n.d(e,{SD:function(){return v}});var r=n(92819),o=n(88767),i=(n(7689),n(72429)),s=n(58414),u=n(77327),a=n(4184),c=n(78772),l=n(89258);n(35929);let f={recordEvent:()=>{}},p=()=>{};function d(t){f.recordTracksEvent("calypso_traintracks_render",t.railcar)}function h(t){const e={},n=(0,s.Z)();if(n&&(e.content_width=n),t.blogId)return i.Z.req.get(`/read/sites/${t.blogId}/posts/${t.postId}`,e);const{postId:r,feedId:o,...u}=t;return i.Z.req.get(`/read/feed/${encodeURIComponent(o)}/posts/${encodeURIComponent(r)}`,{apiVersion:"1.2",...u,...e})}p=n(29789).yg,f=n(17032);const m=t=>t.catch((()=>null)),g=t=>e=>{if(!t)return Promise.resolve([]);const[n,o]=(0,r.partition)(t,"_should_reload");n.forEach((t=>e(function(t){return function(e){const n=t.railcar;h((0,u.WO)(t)).then((t=>{t.railcar=n,e(g([t]))}))}}(t))));const i=(0,r.compact)(o).map(l.lp);return(0,r.forEach)(i,(t=>{t.is_external||e((0,a.u5)(t.site_ID,t.ID,{iLike:Boolean(t.i_like),found:+t.like_count}))})),e({type:c.nB,posts:i}),Promise.all(i.map(l.yv).map(m)).then((t=>e({type:c.nB,posts:(0,r.compact)(t)}))),(0,r.forEach)((0,r.filter)(i,"railcar"),d),Promise.resolve(i)},y=new Set,v=t=>e=>{const n=(0,u.C$)(t);if(!y.has(n))return y.add(n),h(t).then((t=>(r(),e(g([t]))))).catch((n=>(r(),e(function(t,e){return{type:c.nB,posts:[{feed_ID:e.feedId,ID:e.postId,site_ID:e.blogId,is_external:!e.blogId,global_ID:(0,o.Z)(),is_error:!0,error:t}]}}(n,t)))));function r(){y.delete(n)}}},81823:function(t,e){"use strict";e.Z={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:function(t,e,n){"use strict";n.d(e,{lp:function(){return Z},yv:function(){return D}});var r=n(92819),o=n(77804),i=n(53544),s=n(10363),u=n(37183),a=n(40691),c=n(17431),l=n(50917),f=n(30757),p=n(51088),d=n(64e3),h=n(42347),m=n(47401),g=n(12800),y=n(31564),v=n(91410),b=n(21036),w=n(53317),_=n(66184),E=n(49147),S=n(59654),I=n(36003),P=n(60566),k=n(75659),O=n(55454),A=n(81823),C=n(99891);function T(t){return t.width>=C.hM&&t.height>=C.qg}function R(t){const e=(0,r.filter)(t.content_images,T);let n=A.Z.UNCLASSIFIED;return e.length>=C.y_?n^=A.Z.GALLERY:t.canonical_media&&"image"===t.canonical_media.mediaType&&t.canonical_media.width>=C.Ws&&(t=>function(t){return t&&t.content_no_html?t.content_no_html.length:0}(t)<=C.ml)(t)&&(n^=A.Z.PHOTO_ONLY),t.canonical_media&&"video"===t.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),t.tags&&t.tags["p2-xpost"]&&(n^=A.Z.X_POST),t.display_type=n,t}const x=(0,r.flow)([g.Z,P.Z,S.Z,b.Z,E.Z,(0,I.Z)(C.fY),v.Z,(0,O.Z)([h.Z,d.Z,(0,f.Z)(),l.Z,p.Z,a.b,a.Y,i.Z,s.Z,u.Z,c.Z]),m.Z,w.Z,_.Z,R,o.Z]);function Z(t){return t?(t=Object.assign({},t),x(t),t):t}const j=(0,r.flow)([(0,y.Z)(C.Kt,C.qg),w.Z,_.Z,R]);function D(t){return t=Object.assign({},t),(0,k.Z)(t).then(j)}},42334:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);e.ZP=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.nB:const n=e.posts||e.payload.posts;return{...t,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(e.globalIds,(e=>{t[e]={...t[e],is_seen:!0}})),{...t};case o.iv:return(0,r.forEach)(e.globalIds,(e=>{t[e]={...t[e],is_seen:!1}})),{...t}}return t},seen:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(e,"payload.post.global_ID");return e.type===o.ch&&n?{...t,[n]:!0}:t}})},6712:function(t,e,n){"use strict";n.d(e,{UK:function(){return u}});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((t=>[t.reader.posts.items]),(t=>{let[e]=t;return(0,o.keyBy)(e,(t=>(0,i.C$)((0,i.WO)(t))))})),u=(t,e)=>{if(!e||!(0,i.C$)(e))return null;return s(t)[(0,i.C$)(e)]};(0,r.Z)((t=>[s(t)]),((t,e)=>{let[n]=t;return!e||(0,o.some)(e,(t=>!(0,i.C$)(t)))?null:e.map(i.C$).map((t=>n[t]))}),{getCacheKey:t=>t.map(i.C$).join()})},99891:function(t,e,n){"use strict";n.d(e,{fY:function(){return r},Ws:function(){return o},ml:function(){return i},y_:function(){return s},hM:function(){return u},Kt:function(){return a},qg:function(){return c}});const r=800,o=440,i=85,s=4,u=300,a=144,c=72},12622:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const u=(0,i.J)("seed",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.type===o.rE?(0,r.uniqBy)(t.concat(e.payload.sites),"feedId"):t})),a=(0,i.J)("seed",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.rE?Math.max(e.payload.offset,t):t}));e.ZP=(0,s.U)({items:u,pagingOffset:a})},97589:function(t,e,n){"use strict";var r=n(83685),o=n(95884),i=n(26395),s=n(13838),u=n(64380),a=n(38357),c=n(6693),l=n(61923),f=n(42334),p=n(12622),d=n(1788),h=n(92972),m=n(8614),g=n(53761),y=n(83530),v=n(64805),b=n(39493);const w=(0,o.U)({conversations:i.Z,feeds:u.ZP,feedSearches:s.ZP,follows:a.ZP,lists:c.ZP,posts:f.ZP,recommendedSites:p.ZP,relatedPosts:d.ZP,siteBlocks:h.ZP,siteDismissals:m.Z,sites:g.ZP,streams:y.ZP,tags:v.Z,thumbnails:b.Z,organizations:l.ZP}),_=(0,r.xi)("reader",w);e.Z=_},1788:function(t,e,n){"use strict";var r=n(78772),o=n(95884),i=n(92310);function s(t,e,n){const{siteId:r,postId:o,scope:s}=e.payload;return{...t,[(0,i.Jy)(r,o,s)]:n}}e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.Bi?s(t,e,e.payload.posts.map((t=>t.global_ID))):t},queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.Cm:return s(t,e,!0);case r.yZ:case r.Rn:return s(t,e,!1)}return t}})},92310:function(t,e,n){"use strict";n.d(e,{Jy:function(){return r}});function r(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${t}-${e}-${n}`}},92972:function(t,e,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);e.ZP=(0,i.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.IJ:return{...t,[e.payload.siteId]:!0};case o.Qw:return(0,r.omit)(t,e.payload.siteId);case o.qY:return e.payload.is_blocked?{...t,[e.payload.ID]:!0}:t[e.payload.ID]?(0,r.omit)(t,e.payload.ID):t;case o.zF:{if(!e.payload||!e.payload.sites)return t;const n=(0,r.reduce)(e.payload.sites,((t,e)=>(t[e.ID]=!0,t)),{});return{...t,...n}}}return t},currentPage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0;return e.type===o.zF&&e.payload&&e.payload.page?e.payload.page:t},lastPage:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.zF?!e.payload||!e.payload.page||e.payload.count>0?t:e.payload.page:t},inflightPages:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.zg:return e.payload&&e.payload.page?{...t,[e.payload.page]:!0}:t;case o.zF:return e.payload&&e.payload.page?(0,r.omit)(t,e.payload.page):t}return t}})},8614:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.Z=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.D8:return{...t,[e.payload.siteId]:!0};case r.K1:return{...t,[e.payload.siteId]:!0}}return t}})},63262:function(t,e,n){"use strict";n.d(e,{LV:function(){return o},N0:function(){return i},vE:function(){return s}});var r=n(78772);n(8681),n(35929);function o(t){return{type:r.LW,payload:{ID:t}}}function i(t){return{type:r.qY,payload:t}}function s(t,e){return{type:r.Fy,payload:t.payload,error:e}}},70418:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:function(t,e,n){"use strict";var r=n(92819),o=n(40997),i=n(47307),s=n(78772),u=n(29398),a=n(71085),c=n(95884),l=n(5259);function f(t,e){return e.error&&!(0,r.includes)([403,404,410],e.error.statusCode)?t:{...t,[e.payload.ID]:{ID:e.payload.ID,is_error:!0,error:e.error}}}function p(t,e){const n=(s=e.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...t,[e.payload.ID]:n}}const d=(0,u.G)(l.u,(0,a.$)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.zF:if(!e.payload||!e.payload.sites)return t;return{...(0,r.keyBy)(e.payload.sites,"ID"),...t};case s.qY:return p(t,e);case s.Fy:return f(t,e)}return t}),{serialize:t=>(0,r.omitBy)(t,"is_error")}));e.ZP=(0,c.U)({items:d,queuedRequests:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case s.LW:return{...t,[e.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(t,e.payload.ID)}return t},lastFetched:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===s.qY?{...t,[e.payload.ID]:Date.now()}:t}})},5259:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:function(t,e,n){"use strict";n.d(e,{_g:function(){return o}});n(92819),n(35929);const r=144e7;function o(t,e){const n=!t.reader.sites.queuedRequests[e],o=!function(t,e){return t.reader.sites.items[e]}(t,e);return n&&(o||function(t,e){const n=t.reader.sites.lastFetched[e];if(!n)return!0;return n<=Date.now()-r}(t,e))}},83530:function(t,e,n){"use strict";var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),u=n(78772),a=n(95884),c=n(15960),l=n(86115);const f=(t,e)=>{const[n,...r]=t;return t.length>0&&e(n)?[n,...f(r,e)]:[]},p=(t,e)=>f([...t].reverse(),e),d={lastUpdated:null,items:[]},h=(0,a.U)({items:function(){let t,e,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case u.pu:if(e=c.payload.gap,t=c.payload.streamItems,e){const n=f(a,(t=>!(0,s.NK)(t,e))),o=p(a,(t=>!(0,s.NK)(t,e)));if((0,s.NK)((0,r.last)(t),o[0])&&t.pop(),0===t.length)return[...n,...o];let u=[];const c=e.from,d=i()((0,r.last)(t).date);return c.isSame(d)||(u=[{isGap:!0,from:c,to:d}]),(0,l.E)([...n,...t,...u,...o])}return n=t.reduce(((t,e)=>!t.some((t=>(0,s.NK)(t,e)))?[...t,e]:t),a),o=(0,r.filter)(t,(t=>t.xPostMetadata)),o?(0,l.E)(n):n;case u.c7:return(0,l.E)([...c.payload.items,...a]);case u.K1:{const t=c.payload.postKey,e=(0,r.findIndex)(a,(e=>(0,s.NK)(e,t)));if(-1===e)return a;const n=[...a];return n[e]=n.pop(),n}}return a},pendingItems:function(){let t,e,n,o,s,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case u.pu:return t=c.payload.streamItems,0===t.length?a:(e=i()(t[0].date),a.lastUpdated&&e.isSameOrBefore(a.lastUpdated)?a:{...a,lastUpdated:e});case u.RN:return t=c.payload.streamItems,0===t.length?a:(e=i()(t[0].date),n=i()((0,r.last)(t).date),a.lastUpdated&&(t=t.filter((t=>i()(t.date).isAfter(a.lastUpdated)))),0===t.length?a:(o=[...t],s=(0,r.filter)(o,(t=>t.xPostMetadata)),s&&(o=(0,l.E)(o)),a.lastUpdated&&n.isAfter(a.lastUpdated)&&o.push({isGap:!0,from:a.lastUpdated,to:n}),{lastUpdated:e,items:o}));case u.c7:return{...a,items:[]}}return a},selected:function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case u._7:return n.payload.postKey;case u.l0:return t=(0,r.findIndex)(n.payload.items,(t=>(0,s.NK)(t,e))),t===n.payload.items.length-1?e:n.payload.items[t+1];case u.rC:return t=(0,r.findIndex)(n.payload.items,(t=>(0,s.NK)(t,e))),0===t?e:n.payload.items[t-1]}return e},lastPage:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===u.pu?0===e.payload.streamItems.length:t},isRequesting:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u.CI:return t||!e.payload.isPoll&&!e.payload.isGap;case u.pu:return!1}return t},pageHandle:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type!==u.pu||!e.payload.pageHandle||e.payload.isPoll||e.payload.gap?t:e.payload.pageHandle}});e.ZP=(0,c.J)("payload.streamKey",h)},86115:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var r=n(92819),o=n(46310);const i=t=>t.reduce(((t,e)=>{const n=(0,r.last)(t);var i,s;return(0,o.qb)(n,e)?t[t.length-1]=(i=n,s=e,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):t.push(e),t}),[])},49054:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===r.Ep){let n=e.images;return t[e.tag]&&(n=t[e.tag].concat(e.images)),{...t,[e.tag]:n}}return t},requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.hB:case r._i:case r.Jx:return{...t,[e.tag]:e.type===r.hB}}return t}})},84668:function(t,e,n){"use strict";var r=n(92819),o=n(78772);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.fY:{const n=e.payload;if(!e.meta.resetFollowingData)return(0,r.merge)({},t,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(t,(t=>({...t,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=e.payload;return(0,r.merge)({},t,{[n]:{isFollowing:!1}})}}return t}},64805:function(t,e,n){"use strict";var r=n(95884),o=n(49054),i=n(84668);e.Z=(0,r.U)({images:o.ZP,items:i.Z})},39493:function(t,e,n){"use strict";var r=n(78772),o=n(95884);e.Z=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return e.type===r.CE?{...t,[e.embedUrl]:e.thumbnailUrl}:t}})},9044:function(t,e,n){"use strict";n.d(e,{P:function(){return s},x:function(){return u}});var r=n(86398);let o;const i=[];function s(t,e){o&&(0,r.Z)(),o=(0,r.l)(t,e);for(const[n,r]of i)o(n,r)}function u(t,e){o&&o(t,e),i.push([t,e])}},30963:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(92819);n(91789);function o(t){return(0,r.get)(t,"ui.language.localeSlug",null)}},96767:function(t,e,n){"use strict";n(92819),n(28879)},87720:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(36747);function i(t){const e=(0,o.ts)(t);return(0,r.get)(e,"primary_blog",null)}},53843:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(37480);function o(t,e){return(0,r.Z)(t)[e]||null}},23047:function(t,e,n){"use strict";n(53843)},37480:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});const r=Object.freeze({});function o(t){return t.sites.items||r}},16193:function(t,e,n){"use strict";var r=n(76678);n(65811);e.Z=t=>{const e=(0,r.I)(t);return e&&e.some((t=>t.isRefundable||"premium_theme"!==t.productSlug))}},28879:function(t,e,n){"use strict";n(92819)},87697:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});var r=n(56666),o=n(92819);class i{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=t}get(){return this.results}root(){return this.results.root}addRootResult(t,e){return this.addResult("root",t,e)}addKeyResult(t,e){return this.addResult(t,null,e)}addResult(t,e,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(t,e,n):this.addResult(r,null,n)})):e?(this.results[t]||(this.results[t]={}),this.results[t][e]=n):this.results[t]=n}}},40540:function(t,e,n){"use strict";n.d(e,{BU:function(){return a},LV:function(){return c}});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),u=(n(91668),n(96767),n(23047),n(84465));function a(){return t=>{t({type:s.M4_});const e=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:u.U,options:u.x,filters:e.length>0?e.join(","):void 0}).then((e=>{var n;t((n=e.sites,{type:s.xLe,sites:n})),t({type:s.KSQ})})).catch((e=>{t({type:s.eTV,error:e})}))}}function c(t){function e(e){const n={apiVersion:"1.2"};e&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(t).get(n)}return n=>{n({type:s.hJk,siteId:t});const r=e(!1).catch((t=>403===(null==t?void 0:t.status)&&"API calls to this blog have been disabled."===(null==t?void 0:t.message)?e(!0):Promise.reject(t)));return r.then((e=>{e&&e.capabilities&&n(function(t){return{type:s.UUJ,site:t}}((0,o.omit)(e,"_headers"))),n({type:s.Mvd,siteId:t})})).catch((()=>{n({type:s.uuM,siteId:t})})),r}}},92546:function(t,e,n){"use strict";var r=n(40211),o=n(95884);const i=t=>(e,n)=>{let{siteId:r}=n;return{...e,[r]:t}};e.ZP=(0,o.U)({items:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.type===r.tvw){const{siteId:n,status:r}=e;return{...t,[n]:r}}return t},requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.U5d:return i(!0)(t,e);case r.QLz:case r.D5g:return i(!1)(t,e)}return t}})},84465:function(t,e,n){"use strict";n.d(e,{U:function(){return r},x:function(){return o}});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent"].join()},26171:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),u=n(35743);const a=(t,e,n,o)=>{const i=(0,r.find)(t[e],{domain:n}),s=t[e].indexOf(i),u=[...t[e]];return u.splice(s,1,Object.assign({},i,o)),Object.assign({},t,{[e]:u})},c=(0,i.G)(u.d,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const{siteId:n}=e;switch(e.type){case o.t2O:return Object.assign({},t,{[n]:e.domains});case o.DGo:return a(t,n,e.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return a(t,n,e.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return t}));e.ZP=(0,s.U)({errors:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.wOJ:case o.RI4:return Object.assign({},t,{[e.siteId]:null});case o.dyA:return Object.assign({},t,{[e.siteId]:e.error})}return t},items:c,requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.wOJ:case o.RI4:case o.dyA:return Object.assign({},t,{[e.siteId]:e.type===o.wOJ})}return t},updatingPrivacy:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},t,{[e.siteId]:{[e.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(e.type)}})}return t}})},35743:function(t,e,n){"use strict";n.d(e,{d:function(){return r}});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:function(t,e,n){"use strict";n.d(e,{E:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(t,e,n){return Object.assign({},t,{[e]:Object.assign({},o,t[e],n)})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:e,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(e){case r.fa4:return i(t,n,{error:null,isRequesting:!0});case r.xNf:return i(t,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(t,n,{error:s,isRequesting:!1})}return t}},56733:function(t,e,n){"use strict";n.d(e,{P:function(){return r.Z}});n(47437);var r=n(6826)},47437:function(t,e,n){"use strict";n(4792)},6826:function(t,e,n){"use strict";var r=n(4792),o=n(20834),i=n(27246);e.Z=t=>{const e=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,e||0,t)))}},96829:function(t,e,n){"use strict";var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const u=(0,o.J)("siteId",((t,e)=>{let{type:n}=e;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return t})),a=(0,o.J)("siteId",((t,e)=>{let{type:n,payload:o}=e;return n===r.Kmp?o?(t=>{const e={};return t.forEach((t=>{e[t.product_id]=(t=>{let{currency_code:e,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:u}=t;return{currencyCode:e,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:u}})(t)})),e})(o):void 0:t}));e.ZP=(0,i.U)({requestStatus:u,items:a})},11900:function(t,e,n){"use strict";let r;n.d(e,{e:function(){return r}}),function(t){t.Pending="pending",t.Success="success",t.Failed="failed"}(r||(r={}))},20152:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(t,e,n){return Object.assign({},t,{[e]:Object.assign({},i,t[e],n)})}function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.gNn:return s(t,e.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(t,e.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:e.plans});case o.$MQ:return s(t,e.siteId,{error:e.error,isRequesting:!1});case o.XLI:return(0,r.omit)(t,e.siteId)}return t}},42935:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(t,e,n){return Object.assign({},t,{[e]:Object.assign({},o,t[e],n)})}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.eO9:return i(t,e.siteId,{error:null,isRequesting:!0});case r.S3d:return i(t,e.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:e.products});case r.whB:return i(t,e.siteId,{error:e.error,isRequesting:!1})}return t}},82139:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(46505),s=n(29398),u=n(95884),a=n(92546),c=n(26171),l=n(22900),f=n(96829),p=n(20152),d=n(42935),h=n(43056);const m=(0,s.G)(h.K,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;if(null===t&&e.type!==o.UUJ&&e.type!==o.xLe)return null;switch(e.type){case o.Khp:{const n=t[e.siteId];return n?Object.assign({},t,{[e.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):t}case o.UUJ:case o.xLe:{const n=e.site?[e.site]:e.sites,i=o.xLe===e.type?{}:t;return(0,r.reduce)(n,((e,n)=>((0,r.isEqual)(e[n.ID],n)||(e===t&&(e={...t}),e[n.ID]=n),e)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(t,e.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=e,i=t[n];if(!i)break;return{...t,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=e,i=t[n];if(!i)return t;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((e,u)=>{if(!o.hasOwnProperty(u))return e;switch(u){case"blog_public":{const t=-1===parseInt(o.blog_public,10);if(i.is_private===t)return e;s={...s,is_private:t};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const t=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===t)return e;s={...s,is_coming_soon:t};break}case"site_icon":{const t=o.site_icon;if(!i.icon&&null===t||i.icon&&i.icon.media_id===t)return e;s=null===t?(0,r.omit)(s,"icon"):{...s,icon:{media_id:t}};break}}return e===t&&(e={...t}),e[n]=s,e}),t)}case o.aqr:{const{siteId:n,mediaIds:o}=e,i=(0,r.get)(t[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...t,[n]:(0,r.omit)(t[n],"icon")}:t}case o.U0$:{const{siteId:n}=e,o=(0,r.get)(t[n],"updates");return o?{...t,[n]:{...t[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:t}case o.uvG:{const{siteId:n,frontPageOptions:o}=e,i=t[n];if(!i)break;return{...t,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=e;if(!t[n])return t;const s=t[n].site_migration||{},u={status:o};return i&&(u.last_modified=i),{...t,[n]:{...t[n],site_migration:(0,r.merge)({},s,u)}}}}return t})),g=(0,s.G)(h.W,(function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.xLe||t}));e.ZP=(0,u.U)({connection:a.ZP,domains:c.ZP,requestingAll:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.M4_:return!0;case o.eTV:case o.KSQ:return!1}return t},introOffers:f.ZP,items:m,plans:p.z,products:d.R,features:l.E,requesting:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case o.hJk:{const{siteId:n}=e;return{...t,[n]:!0}}case o.uuM:{const{siteId:n}=e;return{...t,[n]:!1}}case o.Mvd:{const{siteId:n}=e;return{...t,[n]:!1}}}return t},hasAllSitesList:g})},43056:function(t,e,n){"use strict";n.d(e,{K:function(){return r},W:function(){return o}});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(75134),o=n(27246),i=n(60222);function s(t,e){if(!(0,i.Z)(t,e))return null;if(!(0,r.Z)(t,e))return!1;const n=(0,o.Z)(t,e,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(27246),o=n(60222),i=n(57481);function s(t,e){if(!(0,o.Z)(t,e))return null;if((0,r.Z)(t,e,"is_multi_network"))return!1;if((0,i.Z)(t,e))return!1;const n=(0,r.Z)(t,e,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),u=n(60222);function a(t,e,n,a,c){if(!(0,u.Z)(t,e)){const o=(0,s.Z)(t,e),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:a,guide:c},i)}const l=(0,i.Z)(t,e,"customize.php");return l?(a||"undefined"==typeof window||(a=window.location.href),(0,r.Z)({return:a,...(0,o.t)(n),guide:c},l)):null}},15199:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(31716),o=n(75134),i=n(60222),s=n(47020),u=n(57481);function a(t,e){return(0,i.Z)(t,e)?{canAutoupdateFiles:(0,r.Z)(t,e),canUpdateFiles:(0,o.Z)(t,e),isMainNetworkSite:(0,s.Z)(t,e),isSecondaryNetworkSite:(0,u.Z)(t,e)}:{}}},96666:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(27246);function o(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(t,e,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:function(t,e,n){"use strict";var r=n(83685),o=n(37480),i=n(64802);e.Z=(0,r.P1)(((t,e)=>Object.values((0,o.Z)(t)).find((n=>(0,i.Z)(t,n.ID)===e))??null),(t=>[(0,o.Z)(t)]))},29926:function(t,e,n){"use strict";var r=n(83685),o=n(47307),i=n(37480);e.Z=(0,r.P1)((t=>{const e=Object.values((0,i.Z)(t));return e.filter((t=>{const n=(0,o.ce)(t.URL);return!t.jetpack&&e.some((t=>t.jetpack&&n===(0,o.ce)(t.URL)))})).map((t=>t.ID))}),i.Z)},84810:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(47307),o=n(53843),i=n(65663),s=n(27246),u=n(2062),a=n(64802),c=n(40877),l=n(60222),f=n(91608);function p(t,e){if(!(0,o.Z)(t,e))return null;const n={domain:(0,i.Z)(t,e),options:(0,u.Z)(t,e),slug:(0,a.Z)(t,e),title:(0,c.Z)(t,e)};return(0,s.Z)(t,e,"is_mapped_domain")&&!(0,l.Z)(t,e)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(t,e,"unmapped_url"))),(0,f.Z)(t,e)&&(n.URL=(0,s.Z)(t,e,"unmapped_url")),n}},65663:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(64802),u=n(91608);function a(t,e){if((0,i.Z)(t,e,"is_redirect")||(0,u.Z)(t,e))return(0,s.Z)(t,e);const n=(0,o.Z)(t,e);return n?(0,r.ce)(n.URL):null}},27246:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(2062);function o(t,e,n){const o=(0,r.Z)(t,e);return(null==o?void 0:o[n])??null}},2062:function(t,e,n){"use strict";var r=n(53843);const o=Object.freeze({});e.Z=(t,e)=>{const n=(0,r.Z)(t,e);return n?n.options||o:null}},64802:function(t,e,n){"use strict";var r=n(83685),o=n(47307),i=n(53843),s=n(37480),u=n(27246),a=n(2062),c=n(91608);e.Z=(0,r.P1)(((t,e)=>{const n=(0,i.Z)(t,e);return n?(0,u.Z)(t,e,"is_redirect")||(0,c.Z)(t,e)?(0,o.ce)((0,u.Z)(t,e,"unmapped_url")):(0,o.nq)(n.URL):null}),((t,e)=>[(0,s.Z)(t),(0,a.Z)(t,e)]))},40877:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(53843),o=n(65663);function i(t,e){const n=(0,r.Z)(t,e);return n?n.name?n.name.trim():(0,o.Z)(t,e):null}},78871:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let u=new WeakMap;function a(t,e){const n=(0,r.Z)(t,e)||(0,i.Z)(t,e);if(!n)return null;const a=u.get(n);if(a)return a;const c={...n,...(0,s.Z)(t,n.ID),...(0,o.Z)(t,n.ID)};return u.set(n,c),c}a.clearCache=()=>{u=new WeakMap}},79791:function(t,e,n){"use strict";function r(t){return!!t.sites.hasAllSitesList}n.d(e,{Z:function(){return r}})},47020:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function u(t,e){const n=(0,o.Z)(t,e);if(!n||!(0,s.Z)(t,e))return null;if(!n.is_multisite)return!1;const u=(0,i.Z)(t,e,"unmapped_url"),a=(0,i.Z)(t,e,"main_network_site");return!(!u||!a)&&(0,r.ce)(u)===(0,r.ce)(a)}},57481:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function u(t,e){const n=(0,o.Z)(t,e);if(!n||!(0,s.Z)(t,e))return null;if(!n.is_multisite)return!1;const u=(0,i.Z)(t,e,"unmapped_url"),a=(0,i.Z)(t,e,"main_network_site");return!(!u||!a)&&(0,r.ce)(u)!==(0,r.ce)(a)}},60222:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(53843);function o(t,e){const n=(0,r.Z)(t,e);return n?n.jetpack:null}},58863:function(t,e,n){"use strict";function r(t,e){return!!t.sites.requesting[e]}n.d(e,{Z:function(){return r}})},52239:function(t,e,n){"use strict";function r(t){return!!t.sites.requestingAll}n.d(e,{Z:function(){return r}})},91608:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(29926);function o(t,e){return(0,r.Z)(t).includes(e)}},46505:function(t,e,n){"use strict";n.d(e,{hX:function(){return r},K6:function(){return o}});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:function(t,e,n){"use strict";var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],u={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},a=(c=[t=>u.hasOwnProperty(t.type)&&("function"!=typeof u[t.type]||u[t.type](t)),t=>(0,r.get)(t,"meta.analytics",[]).some((t=>s.includes(t.payload.name)))],t=>c.some((e=>e(t))));var c;const l=t=>({...t,timestamp:Date.now()}),f=(t,e)=>e?[...t,e].slice(-50):t;e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return a(e)?f(t,l(e)):t}},71799:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});var r=n(40211);n(91789);function o(t){return{type:r.bgv,siteId:t}}},46117:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:e}=arguments.length>1?arguments[1]:void 0;return e===r.JYg||t}},1184:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:e,isVisible:n}=arguments.length>1?arguments[1]:void 0;return e===r.Fux?n:t}},57718:function(t,e,n){"use strict";var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(t=n.section)||void 0===t||!t.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?e:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""}));e.Z=(0,i.U)({upgradeIntent:s})},87316:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:e,value:n}=arguments.length>1?arguments[1]:void 0;return e===r.xm0?n:t}},91789:function(t,e,n){"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=arguments.length>1?arguments[1]:void 0;return e.type===o.JqF?{localeSlug:e.localeSlug,localeVariant:e.localeVariant}:t}},48659:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(40211);const o={current:"content",next:null};function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.kUt:return e.area===t.current?t:Object.assign({},t,{current:e.area});case r.vO0:return e.area===t.next?t:Object.assign({},t,{next:e.area});case r.XTm:{let e=t.next;return e||"content"===t.current||(e="content"),e?Object.assign({},t,{current:e,next:null}):t}}return t}},31175:function(t,e,n){"use strict";var r=n(40211);e.Z=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:e,isVisible:n}=arguments.length>1?arguments[1]:void 0;return e===r.NnF?n:t}},30592:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.Z=(0,o.U)({view:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.WkZ?e.view:t}})},45405:function(t,e,n){"use strict";var r=n(40211);const o={postIdWithActiveSharePanel:null};e.Z=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.KF6:return{...t,postIdWithActiveSharePanel:null};case r.WYe:return t.postIdWithActiveSharePanel===e.postGlobalId?{...t,postIdWithActiveSharePanel:null}:{...t,postIdWithActiveSharePanel:e.postGlobalId}}return t}},37508:function(t,e,n){"use strict";var r=n(40211),o=n(95884);e.ZP=(0,o.U)({currentPreviewSiteId:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===r.dGx?e.siteId??null:t},currentPreviewUrl:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case r.dGx:return e.url;case r.kLL:return null}return t}})},74307:function(t,e,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),u=n(50425),a=n(46117),c=n(1184),l=n(57718),f=n(87316),p=n(28958),d=n(48659),h=n(31175),m=n(30592),g=n(45405),y=n(37508),v=n(77027);const b=(0,i.G)({type:["number","null"]},(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;return e.type===o.bgv?e.siteId||null:t})),w=(0,i.G)({type:"boolean"},(function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.bgv||t}));const _=(0,s.U)({actionLog:u.Z,appBannerVisibility:c.Z,appBannerDismissed:a.Z,helpCenterVisible:f.Z,checkout:l.Z,isSectionLoading:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===o.Nq?e.isSectionLoading:t},isNotificationsOpen:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:e}=arguments.length>1?arguments[1]:void 0;return e===o.hxz?!t:t},language:p.Z,layoutFocus:d.Z,masterbarVisibility:h.Z,mediaModal:m.Z,postTypeList:g.Z,preview:y.ZP,section:v.Z,selectedSiteId:b,siteSelectionInitialized:w});e.ZP=(0,r.xi)("ui",_)},9817:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r=n(40211);n(91789);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,type:r.IK5};return t&&(n.section=t),n}},77027:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(40211);function o(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return e.type===r.IK5&&void 0!==e.section?e.section:t}},73041:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(92819),o=n(75149);function i(t){return(0,r.get)((0,o.Z)(t),"name",null)}},75149:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});n(91789);function r(t){return t.ui.section||!1}},20834:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});n(91789);function r(t){return t.ui.selectedSiteId}},17014:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(78871),o=n(20834);function i(t){const e=(0,o.Z)(t);return e?(0,r.Z)(t,e):null}},90924:function(t,e,n){"use strict";n.d(e,{f:function(){return r}});const r=t=>(e,n)=>{const r=t(e,n);let o=e;return{...r,addReducer:function(t,e){o=o.addReducer(t,e),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:function(t,e,n){"use strict";n.d(e,{J:function(){return u}});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const u=(t,e)=>{if("string"!=typeof t)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof t);if(!t.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof e)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof e);const n=e(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,t,void 0);if(null==s)return o;const u=o[s],a=e(u,i);return a===u?o:void 0===a||(0,r.isEqual)(a,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:a}}),{serialize:t=>(0,r.reduce)(t,((t,s,u)=>{const a=(0,i.q)(e,s);return void 0===a||(0,r.isEqual)(a,n)||(t||(t=new o._),t.addRootResult(u,a)),t}),void 0),deserialize:t=>(0,r.omitBy)((0,r.mapValues)(t,(t=>(0,i.v)(e,t))),(t=>void 0===t||(0,r.isEqual)(t,n)))})}},95884:function(t,e,n){"use strict";n.d(e,{U:function(){return a}});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),u=n(69909);function a(t){const e=(0,o.UY)(t),n=(n,o)=>o.type===i.gm2?function(t,e,n){let o=!1;const i=(0,r.mapValues)(t,((t,i)=>{if(t.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(e,i),u=t(s,n);return o=o||u!==s,u}));return o?i:e}(t,n,o):e(n,o);return n.serialize=e=>function(t,e){if(void 0===e)return;return(0,r.reduce)(t,((t,n,r)=>{const o=(0,u.q)(n,e[r]);return void 0!==o&&(t||(t=new s._),n.storageKey?t.addKeyResult(n.storageKey,o):t.addRootResult(r,o)),t}),void 0)}(t,e),n.deserialize=e=>function(t,e){return(0,r.mapValues)(t,((t,n)=>(0,u.v)(t,null==e?void 0:e[n])))}(t,e),n.addReducer=function(t,e){return(n,r)=>{const[o,...i]=n,s=e[o];let u;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");u=s.addReducer(i,r)}else u=i.reduceRight(((t,e)=>a({[e]:t})),r);const c=a({...e,[o]:u});return c.storageKey=t.storageKey,c}}(n,t),n.getStorageKeys=function(t){return function*(){for(const e of Object.values(t))e.storageKey&&(yield{storageKey:e.storageKey,reducer:e}),e.getStorageKeys&&(yield*e.getStorageKeys())}}(t),n}},29398:function(t,e,n){"use strict";n.d(e,{G:function(){return l}});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),u=n(69909),a=n(71085);function c(t,e,n){const o=(0,u.q)(e,(0,r.aY)(e));return!!(0,s.isEqual)(n,o)||function(t,e,n){return i()(e,{greedy:!1,verbose:!1})(t)}(n,t)}const l=(t,e)=>{const n=(0,a.$)(e);return(0,a.$)(n,{deserialize:e=>void 0===e?(0,r.aY)(n):c(t,n,e)?(0,u.v)(n,e):(0,r.aY)(n)})}},69909:function(t,e,n){"use strict";n.d(e,{q:function(){return o},v:function(){return i}});var r=n(83685);function o(t,e){if(t.serialize)return t.serialize(e)}function i(t,e){return t.deserialize?t.deserialize(e):(0,r.aY)(t)}},71085:function(t,e,n){"use strict";function r(t){let{serialize:e,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.bind(null);return r.serialize=e||t.serialize||(t=>t),r.deserialize=n||t.deserialize||(t=>t),r}n.d(e,{$:function(){return r}})},36115:function(t,e,n){"use strict";n.d(e,{vX:function(){return r.Z},ts:function(){return o.t},P6:function(){return i.P6},w2:function(){return i.w2},jN:function(){return i.jN},$A:function(){return i.$A},MB:function(){return i.MB},di:function(){return i.di},MR:function(){return i.MR},lH:function(){return i.lH}});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:function(t,e,n){"use strict";n.d(e,{i:function(){return i}});let r=null,o=0;function i(t){const e={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${t}(${o+1})`};return r=t,o++,e}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:function(t,e,n){"use strict";n.d(e,{lH:function(){return g},MR:function(){return y},di:function(){return v},MB:function(){return b},$A:function(){return w},jN:function(){return _},P6:function(){return E},w2:function(){return S}});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),u=n(29377),a=n(36209),c=n(19358),l=n(21694);const f=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let p,d=Promise.resolve();function h(t){if("undefined"==typeof window)return"";t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(window.location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function m(){return d.catch((()=>{let t,e;const n=(0,a.t)();if(n&&n.ID)t="wpcom:user_id",e=n.ID;else if(t=h("_ut")||"anon",e=h("_ui"),!e){const t=i.parse(document.cookie);if(t.tk_ai)e=t.tk_ai;else{e=function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(t=new Uint8Array(e),window.crypto.getRandomValues(t)):t=(0,s.times)(e,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...t)))}(18),document.cookie=i.serialize("tk_ai",e)}}return(0,c.Z)("Loading /nostats.js",{_ut:t,_ui:e}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(t)+"&_ui="+encodeURIComponent(e))}))}function g(t){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(t))}"undefined"!=typeof document&&(d=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function b(t,e){return"function"==typeof e&&((0,c.Z)("superProps",e),p=e),"object"==typeof t&&((0,c.Z)("identifyUser",t),w(t)),(0,c.Z)("checkForBlockedTracks"),m()}function w(t){if("object"!=typeof t)return void(0,c.Z)("Invalid userData.",t);const e=(0,a.l)(t);e?((0,c.Z)("Tracks identifyUser.",e),g(["identifyUser",e.ID,e.username])):(0,c.Z)("Insufficient userData.",t)}function _(t,e){if(e=e||{},(0,c.Z)('Record event "%s" called with props %o',t,e),t.startsWith("calypso_")||(0,s.includes)(f,t)){if(p){const t=p(e);e={...e,...t}}e=(0,s.omitBy)(e,(t=>void 0===t)),(0,c.Z)('Recording event "%s" with actual props %o',t,e),g(["recordEvent",t,e]),y.emit("record-event",t,e)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(t,e){(0,c.Z)("Recording pageview in tracks.",t,e);let n={do_not_track:(0,l.Z)()?1:0,path:t};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),e&&(n=Object.assign(n,e)),"undefined"!=typeof window&&window.location){const t=new URL(window.location.href).searchParams,e=t&&Array.from(t.entries()).filter((t=>{let[e]=t;return e.startsWith("utm_")})),r=e?Object.fromEntries(e):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(t,e){const n=(0,u.i)(t);E(t,Object.assign(e||{},n))}},73722:function(t,e,n){"use strict";n(59792)},36209:function(t,e,n){"use strict";n.d(e,{t:function(){return i},l:function(){return s}});var r=n(40004);let o;function i(){return o}function s(t){if(t.ID&&!isNaN(parseInt(t.ID,10))&&t.username&&t.email)return o={ID:parseInt(t.ID,10),username:t.username,email:t.email,hashedPii:{ID:(0,r.Z)(t.ID),username:(0,r.Z)(t.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(t.email.toLowerCase().replace(/\s/g,""))}},o}},19358:function(t,e,n){"use strict";var r=n(38049),o=n.n(r);e.Z=o()("calypso:analytics")},21694:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(19358);function o(){const t=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${t}`),t}},40004:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(68032),o=n.n(r);function i(t){return o()().update(t.toString()).digest("hex")}},29770:function(t,e){"use strict";const n={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},r={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1};e.Z=t=>((t=Object.assign(t,n)).features&&(t.features=Object.assign(t.features,r)),window.electron&&window.electron.features&&(t.features=Object.assign(t.features,window.electron.features)),t)},20899:function(t,e,n){"use strict";n.d(e,{_k:function(){return f}});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window||!window.configData)throw new ReferenceError("No configuration was found: please see packages/calypso-config/README.md for more information");const s=void 0!==window.electron;let u;u=s?(0,i.Z)(window.configData):window.configData;const a=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(t,e){t.split(",").forEach((t=>{const n=t.replace(/^[-+]/,""),r=!/^-/.test(t);u.features&&(u.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",e,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(u.env_id)||"undefined"!=typeof window&&a.test(window.location.host)){const t=o.parse(document.cookie);t.flags&&c(t.flags,"cookie");try{const t=window.sessionStorage.getItem("flags");t&&c(t,"sessionStorage")}catch(p){}const e=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);e&&c(decodeURIComponent(e[1]),"URL")}const l=(0,r.Z)(u);e.ZP=l;const f=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:function(t,e,n){"use strict";n(65688),n(46106)},21862:function(t,e,n){"use strict";n.d(e,{wJ_:function(){return o},Ai8:function(){return i},Eb2:function(){return s},gqo:function(){return u},c74:function(){return a},jDM:function(){return c},Zaf:function(){return l},KlX:function(){return f},W4b:function(){return p},E5t:function(){return d},SLH:function(){return h},gI6:function(){return m},U_2:function(){return g},n_S:function(){return y},dmM:function(){return v},IhT:function(){return b},vkU:function(){return w},N5t:function(){return _},HPg:function(){return E},J8D:function(){return S},oGd:function(){return I},MOV:function(){return P},Vms:function(){return k},$G1:function(){return O},ggN:function(){return A},Tez:function(){return C},Xk_:function(){return T},iTE:function(){return R},QNW:function(){return x},XMd:function(){return Z},Ej:function(){return j},Q3C:function(){return D},B2h:function(){return L},xjj:function(){return U},V09:function(){return F},Tmz:function(){return N},Zjz:function(){return q},Vml:function(){return M},Uwp:function(){return B},igx:function(){return $},VyO:function(){return H},Z5U:function(){return V},PUy:function(){return W},jSq:function(){return z},vEX:function(){return G},MCU:function(){return Q},Q1W:function(){return Y},fhe:function(){return K},SZ6:function(){return J},Tx8:function(){return X},sYz:function(){return tt},ljn:function(){return et},vqo:function(){return nt},R2o:function(){return rt},EBu:function(){return ot},EDT:function(){return it},q4V:function(){return st},fp6:function(){return ut},cWM:function(){return at},_3A:function(){return ct},QfP:function(){return lt},oaT:function(){return ft},$NZ:function(){return pt},wwD:function(){return dt},rlg:function(){return ht},F$l:function(){return mt},gRD:function(){return gt},V37:function(){return yt},s1f:function(){return vt},_sL:function(){return bt},nsi:function(){return wt},L2_:function(){return _t},$PM:function(){return Et},Rp9:function(){return St},$QL:function(){return It},zQV:function(){return Pt},vQ$:function(){return kt},E30:function(){return Ot},m1c:function(){return At},wUt:function(){return Ct},ALM:function(){return Tt},okS:function(){return Rt},$xY:function(){return xt},$23:function(){return Zt},Xif:function(){return jt},Do2:function(){return Dt},$vg:function(){return Lt},kI:function(){return Ut},DwI:function(){return Ft},csF:function(){return Nt},afj:function(){return qt},HpB:function(){return Mt},w7L:function(){return Bt},oIe:function(){return $t},XgZ:function(){return Ht},CtJ:function(){return Vt},n$d:function(){return Wt},dZ$:function(){return zt},X2I:function(){return Gt},rDn:function(){return Qt},$4:function(){return Yt},V1k:function(){return Kt},TBQ:function(){return Jt},s4b:function(){return Xt},TZT:function(){return te},$pY:function(){return ee},mX4:function(){return ne},tS0:function(){return re},L2R:function(){return oe},V1I:function(){return ie},FR0:function(){return se},zrQ:function(){return ue},T$h:function(){return ae},lv3:function(){return ce},ewW:function(){return le},GwK:function(){return fe},w6W:function(){return pe},liF:function(){return de},DJ3:function(){return he},xlk:function(){return me},VZW:function(){return ge},sQp:function(){return ye},lYf:function(){return ve},$mN:function(){return be},JqD:function(){return we},bHF:function(){return _e},XZZ:function(){return Ee},vje:function(){return Se},S_M:function(){return Ie},yjN:function(){return Pe},iC0:function(){return ke},rdd:function(){return Oe},bJv:function(){return Ae},ops:function(){return Ce},x_7:function(){return Te},fDA:function(){return Re},SsD:function(){return xe},O05:function(){return Ze},hH1:function(){return je}});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",u="jetpack-essential",a="jetpack-advanced",c="free-themes",l="1gb-storage",f="3gb-storage",p="6gb-storage",d="13gb-storage",h="50gb-storage",m="200gb-storage",g="community-support",y="email-support",v="email-live-chat-support-business-days",b="email-live-chat-support-all-days",w="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",I="basic-design",P="advanced-design",k="google-analytics",O="cloudflare-analytics",A="google-my-business",C="live-chat-support",T="no-adverts",R="video-upload",x="video-upload-jetpack-pro",Z="audio-upload",j="wordads-instant",D="no-wp-branding",L="advanced-seo",U="upload-plugins",F="install-plugins",N="upload-themes",q="republicize",M="simple-payments",B="all-free-features",$="all-free-features-jetpack",H="all-personal-features",V="all-premium-features",W="all-premium-features-jetpack",z="advanced-customization",G="upload-themes-and-plugins",Q="free-custom-domain",Y="free-blog-domain",K="email-support-signup",J="monetise-your-site",X="earn-ad-revenue",tt="wordpress-subdomain-signup",et="advanced-seo-tools",nt="advanced-seo-expanded-abbreviation",rt="free-themes-signup",ot="memberships",it="premium-content-block",st="hosting",ut="premium-design-for-stores",at="sftp-and-database-access",ct="site-backups-and-restore",lt="unlimited-premium-themes",ft="free-professional-email-trial",pt="blank-feature",dt="standard-security-tools",ht="site-stats",mt="traffic-tools",gt="jetpack-manage",yt="spam-akismet-plus",vt="offsite-backup-vaultpress-daily",bt="offsite-backup-vaultpress-realtime",wt="backup-archive-30",_t="backup-archive-unlimited",Et="backup-storage-space-unlimited",St="automated-restores",It="easy-site-migration",Pt="malware-scanning-daily",kt="malware-scanning-daily-and-on-demand",Ot="one-click-threat-resolution",At="automatic-security-fixes",Ct="site-activity-log",Tt="free-wordpress-themes",Rt="seo-preview-tools",xt="accept-payments",Zt="shipping-carriers",jt="unlimited-products-service",Dt="ecommerce-marketing",Lt="premium-customizable-themes",Ut="all-business-features",Ft="backup-daily-v2",Nt="backup-realtime-v2",qt="product-backup-daily-v2",Mt="product-backup-realtime-v2",Bt="scan-v2",$t="product-scan-daily-v2",Ht="product-scan-realtime-v2",Vt="antispam-v2",Wt="activity-log-1-year-v2",zt="product-search-v2",Gt="security-daily",Qt="crm-v2",Yt="collect-payments-v2",Kt=r.K$,Jt=r.Sj,Xt=r.JD,te=r.AY,ee=r.oe,ne=r.rx,re=r.EI,oe=r.uL,ie=r.pE,se=r.sY,ue=r.Sm,ae=r.PF,ce=r.DH,le=r.XG,fe=r.nN,pe=r.AK,de=r.Ve,he=r.vM,me="jetpack-real-time-malware-scanning",ge="jetpack-product-backup",ye="jetpack-product-videopress",ve="jetpack-all-backup-security-features",be="p2-3gb-storage",we="p2-unlimited-users",_e="p2-unlimited-posts-pages",Ee="p2-simple-search",Se="p2-customization-options",Ie="p2-13gb-storage",Pe="p2-advanced-search",ke="p2-video-sharing",Oe="p2-more-file-types",Ae="p2-priority-chat-email-support",Ce="p2-activity-overview",Te="payment-blocks",Re="titan-email",xe="unlimited-admins",Ze="woocommerce",je="social-media-tools"},25432:function(t,e,n){"use strict";n.d(e,{tb:function(){return r},y6:function(){return o}});const r="gapps",o="gapps_unlimited"},90892:function(t,e,n){"use strict";n.d(e,{mk:function(){return o},oe:function(){return u},rx:function(){return a},EI:function(){return c},uL:function(){return l},pE:function(){return f},sY:function(){return p},Sm:function(){return d},PF:function(){return h},DH:function(){return m},XG:function(){return g},Ve:function(){return y},vM:function(){return v},nN:function(){return _},AK:function(){return E},K$:function(){return S},JD:function(){return I},Sj:function(){return P},AY:function(){return k},lj:function(){return x},ap:function(){return Z},ns:function(){return j},Xz:function(){return D},p2:function(){return L},NJ:function(){return U},yY:function(){return F},Et:function(){return N},w2:function(){return q},s1:function(){return M},aS:function(){return B},th:function(){return $},JX:function(){return H},Vl:function(){return V},Dl:function(){return W},jI:function(){return z},G$:function(){return G},$U:function(){return Q},jj:function(){return Y}});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",u="jetpack_backup_t1_yearly",a="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",f="jetpack_scan",p="jetpack_scan_monthly",d="jetpack_anti_spam",h="jetpack_anti_spam_monthly",m="jetpack_search",g="jetpack_search_monthly",y="jetpack_crm",v="jetpack_crm_monthly",b="jetpack_crm_free",w="jetpack_crm_free_monthly",_="jetpack_videopress",E="jetpack_videopress_monthly",S="jetpack_backup_daily",I="jetpack_backup_realtime",P="jetpack_backup_daily_monthly",k="jetpack_backup_realtime_monthly",O=[...[S,I,u,c],...[P,k,a,l]],A=[i,s],C=[f,p,"jetpack_scan_realtime","jetpack_scan_realtime_monthly"],T=[d,h],R=[m,g,r.AY,r.MY],x=(r.AY,r.MY,"jetpack_free"),Z="jetpack_personal",j="jetpack_personal_monthly",D="jetpack_premium",L="jetpack_premium_monthly",U="jetpack_business",F="jetpack_business_monthly",N="jetpack_security_t1_yearly",q="jetpack_security_t1_monthly",M="jetpack_security_t2_yearly",B="jetpack_security_t2_monthly",$="jetpack_complete",H="jetpack_complete_monthly",V="jetpack_security_daily",W="jetpack_security_daily_monthly",z="jetpack_security_realtime",G="jetpack_security_realtime_monthly",Q=[Z,j,U,F,D,L],Y=[V,W,z,G,N,q,M,B],K=[$,H],J=[...Y,...K],X=[{yearly:$,monthly:H},{yearly:V,monthly:W},{yearly:z,monthly:G},{yearly:N,monthly:q},{yearly:M,monthly:B}]},73239:function(t,e,n){"use strict";n.d(e,{ob:function(){return r},w$:function(){return o},SU:function(){return i}});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:function(t,e,n){"use strict";n.d(e,{UH:function(){return r},M6:function(){return o},mV:function(){return i},Kb:function(){return s},Qj:function(){return u},h7:function(){return a},VH:function(){return c},VP:function(){return l},w:function(){return f},$h:function(){return p},L7:function(){return d},QI:function(){return h},qC:function(){return m},lY:function(){return g}});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",u="TYPE_BUSINESS",a="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",f="TYPE_SECURITY_T1",p="TYPE_SECURITY_T2",d="TYPE_ALL",h="TYPE_P2_PLUS",m="TYPE_FLEXIBLE",g="TYPE_PRO"},77904:function(t,e,n){"use strict";n.d(e,{w9:function(){return r},AY:function(){return o},MY:function(){return i},Wg:function(){return s},p7:function(){return u},j2:function(){return a},OE:function(){return c},xf:function(){return l},G6:function(){return f},wm:function(){return p},sy:function(){return d},Qm:function(){return h},TW:function(){return m},uS:function(){return g},lv:function(){return y},JA:function(){return v},f3:function(){return b},_d:function(){return w},Ml:function(){return _},A2:function(){return E},Cq:function(){return S},_s:function(){return I}});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",u="business-bundle",a="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",f="value_bundle-2y",p="personal-bundle-monthly",d="personal-bundle",h="personal-bundle-2y",m="blogger-bundle",g="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",b="ecommerce-bundle-2y",w="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",I="pro-plan"},10128:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(25432);function o(t){return[r.tb,r.y6].includes(t)}},4112:function(t,e,n){"use strict";n.d(e,{pl:function(){return u},$J:function(){return a}});var r=n(5085),o=n(77904),i=n(25192);function s(t){return"string"!=typeof t?Object.values(i.E).includes(t)?t:void 0:i.E[t]}function u(t){return c(t,{type:r.Qj,group:o.w9})}function a(t){return c(t,{type:r.h7,group:o.w9})}function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(e).filter((t=>!n.includes(t)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=s(t);return!!o&&!("type"in e&&o.type!==e.type||"group"in e&&o.group!==e.group||"term"in e&&o.term!==e.term)}},25192:function(t,e,n){"use strict";n.d(e,{E:function(){return x}});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),u=n(21862),a=n(77904),c=n(5085),l=n(90892);function f(t){return!!t}function p(t){return t.filter(f)}const d=()=>i.ZP.translate("per month, billed annually"),h=()=>i.ZP.translate("/month, billed every two years"),m=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),g=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),y=()=>({getAnnualPlansOnlyFeatures:()=>[u.MCU,u.Eb2,u.IhT,u.dmM,u.Tez,u.N5t,u.vkU]}),v={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},b=()=>({...y(),group:a.w9,type:c.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",v),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[u.Ai8,u.gqo,u.n_S,u.jDM,u.oGd,u.W4b,u.Xk_,u.EBu,u.EDT],getSignupFeatures:()=>[u.fhe,u.Ai8,u.Uwp],getBlogSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.Q1W,u.fhe,u.Uwp],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[]}),w=()=>({...y(),group:a.w9,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",v),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:function(t){let{isProfessionalEmailPromotionAvailable:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,e&&u.oaT,u.q4V,u.gqo,u.n_S,u.jDM,u.oGd,u.W4b,u.Xk_,u.EBu,u.EDT])},getSignupFeatures:()=>[u.MCU,u.fhe,u.jDM],getBlogSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getPortfolioSignupFeatures:()=>[u.MCU,u.fhe,u.Uwp],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe],getIncludedFeatures:()=>[u.XMd],getInferiorFeatures:()=>[]}),_=()=>({...y(),group:a.w9,type:c.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",v),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.vkU,e&&u.n_S,u.q4V,u.c74,!e&&u.IhT,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.gI6,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.Q3C,u.$xY,u.$23,u.Xif,u.Do2,u.$vg])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.MOV],getSignupFeatures:()=>[u.$xY,u.$23,u.kI],getBlogSignupFeatures:()=>[u.$xY,u.$23,u.kI],getPortfolioSignupFeatures:()=>[u.$xY,u.$23,u.kI],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM,u.$xY,u.$23,u.fp6].filter(f),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.vEX,u.HPg,u.okS],getInferiorFeatures:()=>[]}),E=()=>({...y(),group:a.w9,type:c.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",v),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.N5t,e&&u.n_S,u.q4V,u.gqo,!e&&u.dmM,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.E5t,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE])},getPromotedFeatures:()=>[u.Eb2,u.Xk_,u.MOV,u.E5t],getSignupFeatures:()=>[u.N5t,u.jSq,u.VyO],getBlogSignupFeatures:()=>[u.SZ6,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(f),getPortfolioSignupFeatures:()=>[u.jSq,(0,o._k)("themes/premium")?u.QfP:null,u.VyO].filter(f),getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.N5t,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms].filter(f),getIncludedFeatures:()=>[u.XMd,u.$G1],getInferiorFeatures:()=>[]}),S=()=>({...y(),group:a.w9,type:c.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",v),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(t){let{isLoggedInMonthlyPricing:e,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([u.Eb2,n&&u.oaT,e&&u.vkU,e&&u.n_S,u.q4V,u.c74,!e&&u.IhT,(0,o._k)("themes/premium")?u.QfP:null,u.MOV,u.gI6,u.Xk_,u.EBu,u.EDT,u.Vml,u.Vms,u.Zjz,u.Ej,u.iTE,u.B2h,u.xjj,u.Tmz,u.Q3C])},getPromotedFeatures:()=>[u.gI6,u.Eb2,u.Xk_,u.MOV,u.iTE],getSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getBlogSignupFeatures:()=>[u.vEX,u.ljn,u.Z5U],getPortfolioSignupFeatures:()=>[u.vEX,u.gI6,u.Z5U],getSignupCompareAvailableFeatures:()=>[u.Eb2,u.q4V,u.Xk_,u.$4,u.fhe,u.vkU,u.Tx8,(0,o._k)("themes/premium")?u.QfP:null,u.Vms,u.V09,u.vqo,u._3A,u.cWM].filter(f),getIncludedFeatures:()=>[u.XMd,u.ggN,u.$G1,u.HPg,u.okS],getInferiorFeatures:()=>[]}),I=()=>({group:l.mk,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:t=>[l.lj].includes(t),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",v),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[u.DwI,u.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.V1k,u.TBQ,u.zrQ,u.T$h,u.okS,u.B2h,u.s1f,u.V37,u.wUt,u.J8D,u.igx]}),P=()=>({group:l.mk,type:c.Kb,availableFor:t=>[l.lj,l.ap,l.ns].includes(t),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",v),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[u.DwI,u.w7L,u.CtJ],getIncludedFeatures:()=>p([u.s1f,u.nsi,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.zQV,u.B2h,u.Vms,u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.okS,u.s1f,u.V37,u.zQV,u.m1c,u.QNW,u.Ej,u.B2h,u.igx])}),k=()=>({group:l.mk,type:c.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:t=>[l.lj,l.Xz,l.p2,l.ap,l.ns].includes(t),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",v):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",v),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[u.csF,u.XgZ,u.CtJ],getIncludedFeatures:()=>p([u._sL,u.L2_,u.$PM,u.Rp9,u.V37,u.$QL,u.J8D,u.Zjz,u.Vml,u.Ej,u.QNW,u.vQ$,u.E30,u.B2h,u.Vms,u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.okS,u._sL,(0,o._k)("themes/premium")?u.QfP:null,u.PUy]),getInferiorFeatures:()=>[u.V1k,u.TBQ]}),O=()=>({group:l.mk,type:c.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:t=>[l.lj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including Backup, Scan, Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[u.afj,u.oIe,u.CtJ],getIncludedFeatures:()=>[u.V1k,u.TBQ,u.V1I,u.FR0,u.zrQ,u.T$h,u.nsi,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D]}),A=()=>({group:l.mk,type:c.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:t=>[l.lj,l.Vl,l.Dl,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[u.X2I,u.HpB,u.XgZ,u.n$d],getIncludedFeatures:()=>[u.s4b,u.TZT,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),C=()=>({group:l.mk,type:c.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:t=>[l.lj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getPlanCardFeatures:()=>[u.VZW,u.xlk,u.CtJ],getIncludedFeatures:()=>[u.$pY,u.mX4,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ]}),T=()=>({...C(),type:c.$h,getIncludedFeatures:()=>[u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.L2_,u.QNW,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,u.J8D],getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),R=()=>({group:l.mk,type:c.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:t=>[l.lj,...l.jj,...l.$U].includes(t),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[u.lYf,u.sQp,u.dZ$,u.rDn],getIncludedFeatures:()=>p([u.tS0,u.L2R,u.V1I,u.FR0,u.zrQ,u.T$h,u.lv3,u.ewW,u.liF,u.DJ3,u.L2_,u.QNW,u.GwK,u.w6W,u.Zjz,u.B2h,u.okS,u.Vml,u.Ej,u.Vms,(0,o._k)("themes/premium")?u.QfP:null,u.J8D]),getInferiorFeatures:()=>[u.V1k,u.TBQ,u.nsi]}),x={[a._d]:{group:a.w9,type:c.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>a._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[u.wJ_,u.gqo,u.U_2,u.jDM,u.oGd,u.KlX],getSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBlogSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getPortfolioSignupFeatures:()=>[u.U_2,u.sYz,u.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[]},[a.TW]:{...b(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d].includes(t),getProductId:()=>1010,getStoreSlug:()=>a.TW,getPathSlug:()=>"blogger"},[a.uS]:{...b(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW].includes(t),getProductId:()=>1030,getStoreSlug:()=>a.uS,getPathSlug:()=>"blogger-2-years"},[a.wm]:{...w(),...g(),availableFor:t=>[a._d,a.TW,a.uS].includes(t),getProductId:()=>1019,getStoreSlug:()=>a.wm,getPathSlug:()=>"personal-monthly"},[a.sy]:{...w(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm].includes(t),getProductId:()=>1009,getStoreSlug:()=>a.sy,getPathSlug:()=>"personal"},[a.Qm]:{...w(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy].includes(t),getProductId:()=>1029,getStoreSlug:()=>a.Qm,getPathSlug:()=>"personal-2-years"},[a.OE]:{...E(),...g(),availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm].includes(t),getProductId:()=>1013,getStoreSlug:()=>a.OE,getPathSlug:()=>"premium-monthly"},[a.xf]:{...E(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE].includes(t),getProductId:()=>1003,getStoreSlug:()=>a.xf,getPathSlug:()=>"premium"},[a.G6]:{...E(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf].includes(t),getProductId:()=>1023,getStoreSlug:()=>a.G6,getPathSlug:()=>"premium-2-years"},[a.Wg]:{...S(),...g(),availableFor:t=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6].includes(t),getProductId:()=>1018,getStoreSlug:()=>a.Wg,getPathSlug:()=>"business-monthly"},[a.p7]:{...S(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg].includes(t),getProductId:()=>1008,getStoreSlug:()=>a.p7,getPathSlug:()=>"business"},[a.j2]:{...S(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.p7,a.Wg].includes(t),getProductId:()=>1028,getStoreSlug:()=>a.j2,getPathSlug:()=>"business-2-years"},[a.lv]:{..._(),...g(),availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2].includes(t),getProductId:()=>1021,getStoreSlug:()=>a.lv,getPathSlug:()=>"ecommerce-monthly"},[a.JA]:{..._(),term:s.w$,getBillingTimeFrame:d,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2,a.lv].includes(t),getProductId:()=>1011,getStoreSlug:()=>a.JA,getPathSlug:()=>"ecommerce"},[a.f3]:{..._(),term:s.SU,getBillingTimeFrame:h,availableFor:t=>[a._d,a.TW,a.uS,a.wm,a.sy,a.Qm,a.OE,a.xf,a.G6,a.Wg,a.p7,a.j2,a.lv,a.JA].includes(t),getProductId:()=>1031,getStoreSlug:()=>a.f3,getPathSlug:()=>"ecommerce-2-years"},[l.lj]:{term:s.w$,group:l.mk,type:c.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>l.lj,getTagline:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e=t.some((t=>[u.V1k,u.TBQ,u.s4b,u.TZT,u.$pY,u.mX4,u.tS0,u.L2R].includes(t))),n=t.some((t=>[u.V1I,u.FR0].includes(t)));return e&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):e?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[u.wwD,u.rlg,u.F$l,u.gRD,u.B2h,u.okS,u.ALM,u.rlg,u.wwD,u.F$l,u.$NZ]},[l.Xz]:{...P(),...m(),getProductId:()=>2e3,getStoreSlug:()=>l.Xz,getPathSlug:()=>"premium"},[l.p2]:{...P(),...g(),getProductId:()=>2003,getStoreSlug:()=>l.p2,getPathSlug:()=>"premium-monthly"},[l.ap]:{...I(),...m(),getProductId:()=>2005,getStoreSlug:()=>l.ap,getPathSlug:()=>"jetpack-personal"},[l.ns]:{...I(),...g(),getProductId:()=>2006,getStoreSlug:()=>l.ns,getPathSlug:()=>"jetpack-personal-monthly"},[l.NJ]:{...k(),...m(),getProductId:()=>2001,getStoreSlug:()=>l.NJ,getPathSlug:()=>"professional"},[l.yY]:{...k(),...g(),getProductId:()=>2004,getStoreSlug:()=>l.yY,getPathSlug:()=>"professional-monthly"},[l.Vl]:{...O(),...m(),getMonthlySlug:()=>l.Dl,getStoreSlug:()=>l.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[l.Dl]:{...O(),...g(),getAnnualSlug:()=>l.Vl,getStoreSlug:()=>l.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[l.jI]:{...A(),...m(),getMonthlySlug:()=>l.G$,getStoreSlug:()=>l.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[l.G$]:{...A(),...g(),getAnnualSlug:()=>l.jI,getStoreSlug:()=>l.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[l.th]:{...R(),...m(),getStoreSlug:()=>l.th,getPathSlug:()=>"complete",getProductId:()=>2014},[l.JX]:{...R(),...g(),getStoreSlug:()=>l.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015},[l.Et]:{...C(),...m(),getStoreSlug:()=>l.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016},[l.w2]:{...C(),...g(),getStoreSlug:()=>l.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017},[l.s1]:{...T(),...m(),getStoreSlug:()=>l.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019},[l.aS]:{...T(),...g(),getStoreSlug:()=>l.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020},[a.Ml]:{group:a.w9,type:c.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",v),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[u.S_M,u.yjN,u.iC0,u.rdd,u.bJv,u.ops],getSignupFeatures:()=>[u.fhe],getIncludedFeatures:()=>[u.XMd,u.lv3,u.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...g(),availableFor:t=>[a._d].includes(t),getProductId:()=>1040,getStoreSlug:()=>a.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};x[a.A2]={...x[a._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",v),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[u.$mN,u.JqD,u.bHF,u.XZZ,u.vje]},x[a.Cq]={...x[a._d],group:a.w9,type:c.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[u.Zaf]},x[a._s]={...y(),group:a.w9,type:c.lY,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Pro"),getProductId:()=>1032,getStoreSlug:()=>a._s,getPathSlug:()=>"pro",getDescription:()=>i.ZP.translate("The full power of modern WordPress hosting made easy."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[u.Eb2,u.QfP,u.V09,u.J8D,u.O05,u.SLH,u.Xk_,u.B2h,u.SsD,u.iTE,u.x_7,u.hH1,u.fDA,u.SZ6,u.cWM,u._3A,u.gqo,u.Vml,u.Ej],getIncludedFeatures:()=>[u.MOV,u.vqo,u.XMd,u.$G1,u.$4,u.Tx8,u.HPg,u.Vms,u.ggN,u.q4V,u.EBu,u.Q3C,u.Zjz,u.EDT,u.okS,u.cWM,u._3A,u.xjj,u.Tmz,u.vEX]}},78038:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4174);function o(t,e){let n,o;if(!(t instanceof URL)&&"string"!=typeof t)throw new Error("`url` should be a string or URL instance");if(t instanceof URL)n=t,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(t),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(t,"http://__domain__.invalid/")}switch(void 0===e&&(e=o),e){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${e}\` URL type.`)}}},94668:function(t,e,n){"use strict";n.d(e,{F:function(){return a}});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,u=["w","h","resize","fit","s"];function a(t){if("string"!=typeof t)return null;if(t.length<1)return null;if(i.test(t))return t;const e=(0,o.A)(t);if(s.test(e.hostname))return e.protocol="https",(0,o.C)(e).toString();if(e.search&&(e.host||e.hostname||e.origin)){if(u.forEach((t=>e.searchParams.delete(t))),"0"===e.searchParams.get("authuser")&&e.searchParams.delete("authuser"),Array.from(e.searchParams).length)return null;e.search="",null!=e&&e.protocol||(e.protocol="https"),t=(0,o.C)(e).toString()}return e.pathname.endsWith(".svg")?null:(0,r.Z)(t)}},6261:function(t,e,n){"use strict";n.d(e,{A:function(){return a},C:function(){return c}});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return e.forEach((e=>{n[e]=(null==t?void 0:t[e])??i[e]})),n}function a(t){const e=(0,r.D)(t);if(e===r.a.INVALID)return{...i};const n=t instanceof URL?t:new URL(t,o);if(e===r.a.ABSOLUTE)return u(n);if(e===r.a.SCHEME_RELATIVE)return u(n,s.filter((t=>"protocol"!==t&&"origin"!==t)));const a=u(n,["pathname","hash","search","searchParams"]);return e===r.a.PATH_RELATIVE&&(a.pathname=t.split(/[?#]/,1)[0]),a}function c(t){var e;if(!(null!=t&&t.protocol||null!=t&&t.origin))throw new Error("getUrlFromParts: protocol missing.");if(!t.host&&!t.hostname&&!t.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(t.origin)try{const e=new URL(t.origin);n.host=e.host,n.protocol=e.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=t.host||n.host,null!==(e=t.searchParams)&&void 0!==e&&e.toString&&(n.search=t.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const e=t[r];e&&e!==n[r]&&(n[r]=e)}return n}},4174:function(t,e,n){"use strict";let r;n.d(e,{a:function(){return r},D:function(){return s}}),function(t){t.ABSOLUTE="ABSOLUTE",t.SCHEME_RELATIVE="SCHEME_RELATIVE",t.PATH_ABSOLUTE="PATH_ABSOLUTE",t.PATH_RELATIVE="PATH_RELATIVE",t.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(t){if(!(t instanceof URL)&&"string"!=typeof t)return r.INVALID;if(""===t)return r.PATH_RELATIVE;if(t instanceof URL)return r.ABSOLUTE;let e;try{if(e=new URL(t),e.protocol&&":"!==e.protocol)return r.ABSOLUTE}catch{}try{e=new URL(t,i)}catch{return r.INVALID}return""===e.pathname?r.INVALID:e.hostname!==o?r.SCHEME_RELATIVE:t.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),u=n(99196);n(43261);const a=(t,e)=>{const n=t.plain?s()("button-plain",t.className):s()("button",t.className,{"is-compact":t.compact,"is-primary":t.primary,"is-scary":t.scary,"is-busy":t.busy,"is-borderless":t.borderless});if((t=>!!t.href)(t)){const i=(t=>{let{type:e,borderless:n,busy:r,className:o,compact:i,primary:s,scary:u,plain:a,...c}=t;return c})(t),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:e}))}const i=(t=>{let{type:e="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:u,plain:a,rel:c,href:l,target:f,...p}=t;return{...p,type:e}})(t);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:e}))},c=(0,u.forwardRef)(a);c.defaultProps={type:"button"},e.Z=c},98148:function(t,e,n){"use strict";var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),u=n(56399);n(53616);const a=(t,e)=>{let{children:n,className:o,compact:a,displayAsLink:c,highlight:l,tagName:f="div",href:p,target:d,...h}=t;const m=i()("card",o,{"is-card-link":c||p,"is-clickable":h.onClick,"is-compact":a,"is-highlight":l},!!l&&"is-"+l);return p?(0,s.createElement)("a",(0,r.Z)({},h,{href:p,target:d,className:m,ref:e}),(0,s.createElement)(u.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n):(0,s.createElement)(f,{...h,className:m,ref:e},c&&(0,s.createElement)(u.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(a);c.displayName="Card",e.Z=(0,s.memo)(c)},989:function(t,e,n){"use strict";n.d(e,{K:function(){return p}});var r=n(56666),o=n(69307),i=n(4174),s=n(6261),u=n(78038),a=n(94668),c=n(72779),l=n.n(c),f=n(99196);n(30366);class p extends f.Component{constructor(){super(...arguments),(0,r.Z)(this,"state",{failedToLoad:!1}),(0,r.Z)(this,"onError",(()=>this.setState({failedToLoad:!0})))}getResizedImageURL(t){const{imgSize:e}=this.props,n="https://www.gravatar.com/avatar/0";t=t||n;const r=(0,i.D)(t);if(r===i.a.INVALID||r===i.a.PATH_RELATIVE)return n;const{search:o,origin:a,host:c,...l}=(0,s.A)(t);return/^([-a-zA-Z0-9_]+\.)*(gravatar.com)$/.test(l.hostname)?(l.searchParams.set("s",(null==e?void 0:e.toString())??"32"),l.searchParams.set("d","mm")):l.searchParams.set("resize",`${e},${e}`),l.protocol=l.protocol||"https:",l.hostname=l.hostname||"__domain__.invalid",(0,u.Z)((0,s.C)(l),r)}render(){const{alt:t,title:e,size:n,tempImage:r,user:i}=this.props;if(!i)return(0,o.createElement)("span",{className:"gravatar is-placeholder",style:{width:n,height:n}});if(this.state.failedToLoad&&!r)return(0,o.createElement)("span",{className:"gravatar is-missing"});const s=t||i.display_name||i.name,u=r||this.getResizedImageURL((0,a.F)(i.avatar_URL)),c=l()("gravatar",this.props.className);return(0,o.createElement)("img",{alt:s,title:e,className:c,src:u,width:n,height:n,onError:this.onError})}}(0,r.Z)(p,"defaultProps",{imgSize:96,size:32})},56399:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),u=n(32421),a=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((t,e)=>{const{size:n=24,icon:i,className:c,title:l,...f}=t,p=n%18==0,d=`gridicons-${i}`,h=s()("gridicon",d,c,{"needs-offset":p&&u.iconsThatNeedOffset.includes(d),"needs-offset-x":p&&u.iconsThatNeedOffsetX.includes(d),"needs-offset-y":p&&u.iconsThatNeedOffsetY.includes(d)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:e},f),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${a}#${d}`}))})));l.displayName="Gridicon",e.Z=l},7262:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var r=n(69307),o=n(62352),i=n(92819),s=n(989);n(33164);const u=t=>{let{count:e=5,shuffled:n=!0}=t;const{data:u}=(0,o.e)();return(0,r.createElement)("div",{className:"happiness-engineers-tray"},u&&(n?(0,i.shuffle)(u):u).slice(0,e).map((t=>(0,r.createElement)(s.K,{key:t.avatar_URL,user:t,size:42,className:"happiness-engineers-tray__gravatar"}))))}},97493:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(69307);n(9723);function o(t){let{children:e}=t;return(0,r.createElement)("span",{className:"screen-reader-text"},e)}},90544:function(t,e){"use strict";e.Z=t=>{const e=(t=>e=>{if(e in t)return t[e];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${e}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(t);return e.isEnabled=(t=>e=>t.features&&!!t.features[e]||!1)(t),e.enabledFeatures=(t=>()=>t.features?Object.entries(t.features).reduce(((t,e)=>{let[n,r]=e;return r?[...t,n]:t}),[]):[])(t),e.enable=(t=>e=>{t.features&&(t.features[e]=!0)})(t),e.disable=(t=>e=>{t.features&&(t.features[e]=!1)})(t),e}},52865:function(t,e,n){"use strict";n.r(e),n.d(e,{setShowHelpCenter:function(){return r},setSite:function(){return o},setSubject:function(){return i},setMessage:function(){return s},setPopup:function(){return u},resetPopup:function(){return a},setUserDeclaredSiteUrl:function(){return c},setUserDeclaredSite:function(){return l}});const r=t=>({type:"HELP_CENTER_SET_SHOW",show:t}),o=t=>({type:"HELP_CENTER_SET_SITE",site:t}),i=t=>({type:"HELP_CENTER_SET_SUBJECT",subject:t}),s=t=>({type:"HELP_CENTER_SET_MESSAGE",message:t}),u=t=>({type:"HELP_CENTER_SET_POPUP",popup:t}),a=()=>({type:"HELP_CENTER_RESET_POPUP"}),c=t=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:t}),l=t=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:t})},2193:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});const r="automattic/help-center"},17624:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var r=n(9818),o=n(23418),i=n(52865),s=n(2193),u=n(61654),a=n(55601);let c=!1;function l(){return c||((0,r.registerStore)(s.L,{actions:i,reducer:u.Z,controls:o.controls,selectors:a,persist:["site"]}),c=!0),s.L}},61654:function(t,e,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({showHelpCenter:(t,e)=>"HELP_CENTER_SET_SHOW"===e.type?e.show:t,site:(t,e)=>"HELP_CENTER_SET_SITE"===e.type?e.site:t,subject:(t,e)=>"HELP_CENTER_SET_SUBJECT"===e.type?e.subject:t,message:(t,e)=>"HELP_CENTER_SET_MESSAGE"===e.type?e.message:t,userDeclaredSite:(t,e)=>"HELP_CENTER_SET_USER_DECLARED_SITE"===e.type?e.site:t,userDeclaredSiteUrl:(t,e)=>"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===e.type?e.url:t,popup:(t,e)=>"HELP_CENTER_SET_POPUP"===e.type?e.popup:"HELP_CENTER_RESET_POPUP"!==e.type?t:void 0});e.Z=o},55601:function(t,e,n){"use strict";n.r(e),n.d(e,{isHelpCenterShown:function(){return r},getSite:function(){return o},getSubject:function(){return i},getMessage:function(){return s},getUserDeclaredSiteUrl:function(){return u},getPopup:function(){return a},getUserDeclaredSite:function(){return c}});const r=t=>t.showHelpCenter,o=t=>t.site,i=t=>t.subject,s=t=>t.message,u=t=>t.userDeclaredSiteUrl,a=t=>t.popup,c=t=>t.userDeclaredSite},62352:function(t,e,n){"use strict";n.d(e,{e:function(){return i}});var r=n(82066),o=n(18552);const i=()=>(0,r.useQuery)("happinessEngineers",(async()=>await(0,o.ZP)({path:"/meta/happiness-engineers/",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,staleTime:1/0})},63830:function(t,e,n){"use strict";n.d(e,{O:function(){return i}});var r=n(99196);let o;function i(){const[t,e]=(0,r.useState)(Boolean(o));return(0,r.useEffect)((()=>{const t=document.createElement("iframe");function n(r){const{data:i}=r;"widgets.wp.com-cookie-check"===i.type&&(o=i.result,e(i.result),window.removeEventListener("message",n),t.remove())}if(void 0===o)return t.src="https://widgets.wp.com/calypso-happychat/check-cookies.html",t.style.display="none",window.addEventListener("message",n),document.body.appendChild(t),()=>window.removeEventListener("message",n)}),[]),{hasCookies:t,isLoading:void 0===o}}},53762:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var r=n(99196),o=n(82066),i=n(18552);const s=t=>{const e="has-seen-whats-new-modal",{data:n,isLoading:s}=(0,o.useQuery)(e,(()=>(0,i.ZP)({path:`/sites/${t}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2"})),{enabled:!!t,refetchOnWindowFocus:!1}),u=(0,o.useQueryClient)(),a=(0,o.useMutation)((e=>{let{hasSeenWhatsNewModal:n}=e;return(0,i.ZP)({path:`/sites/${t}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2",method:"post",body:{has_seen_whats_new_modal:n}})}),{onSuccess(t){u.setQueryData(e,{...t})}}),{mutateAsync:c}=a;return{data:n,isLoading:s,setHasSeenWhatsNewModal:(0,r.useCallback)((t=>c({hasSeenWhatsNewModal:t})),[c])}}},34381:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(99196),o=n(17127),i=n(18552);function s(t){const[e,n]=(0,r.useState)(),[s]=(0,o.Z)(t,500);return(0,r.useEffect)((()=>{var t;(n(void 0),(t=s)&&t.length>4&&Boolean(null==t?void 0:t.match(/\w{2,}\.\w{2,16}/)))&&(s&&(async()=>{try{var t;const r=await(0,i.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(s)}`,apiNamespace:"wpcom/v2"});if(null!==(t=r.platform_data)&&void 0!==t&&t.is_wpcom)try{const t=await(0,i.ZP)({path:"/sites/"+encodeURIComponent(s),apiVersion:"1.1"});n({site:t,result:"WPCOM"})}catch(e){n({result:"NOT_OWNED_BY_USER"})}else"wordpress"===r.platform?n({result:"WPORG"}):n({result:"UNKNOWN"})}catch(e){n({result:"UNKNOWN"})}})())}),[s]),{...e,isLoading:!e}}},41515:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((t=>{let{site:e,message:n,subject:r,locale:i,hideInfo:s}=t;const u=[n];e.jetpack?(u.push("WP.com: Unknown"),u.push("Jetpack: Yes")):u.push("WP.com: Yes"),u.push("Correct account: yes");const a={subject:r,message:n+"\n\nCorrect account: yes",locale:i,client:"help-center",hide_blog_info:s,blog_id:e.ID,blog_url:e.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:a})}))}},32457:function(t,e,n){"use strict";n.d(e,{g:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((t=>(0,o.ZP)({path:"/help/tickets/kayako/new",apiVersion:"1.1",method:"POST",body:t})))}},99706:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});var r=n(82066),o=n(18552);function i(t){return(0,r.useQuery)("EMAIL"===t?"emailSupportAvailability":"chatSupportAvailability",(async()=>await(0,o.ZP)({path:"EMAIL"===t?"/help/tickets/kayako/mine":"/help/olark/mine",apiVersion:"1.1"})),{refetchOnWindowFocus:!1,keepPreviousData:!0})}},40495:function(t,e,n){"use strict";n.d(e,{x:function(){return u}});var r=n(69307),o=n(43239),i=n(56399),s=n(95885);n(62829);const u=t=>{let{onClick:e}=t;const{__:__}=(0,s.QT)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:e},(0,r.createElement)(i.Z,{icon:"chevron-left",size:18}),__("Back","full-site-editing"))}},23025:function(t,e,n){"use strict";n.d(e,{j:function(){return _}});var r=n(69307),o=n(43239),i=n(7262),s=n(32457),u=n(41515),a=n(34381),c=n(63830),l=n(30849),f=n(1283),p=n(55609),d=n(9818),h=n(65736),m=n(99196),g=n(76243),y=n(40495),v=n(27420),b=n(10083),w=n(94509);n(27427);const __=h.__,_="automattic/site",E=t=>{let{onSelect:e,currentSite:n,siteId:o}=t;const i=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(f.a,{onPickSite:function(t){e(t)},options:i,siteId:o})},S={CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing"),buttonLoadingLabel:__("Connecting to chat","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing"),buttonLoadingLabel:__("Sending email","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing"),buttonLoadingLabel:__("Posting in the forums","full-site-editing")}};e.Z=t=>{let{mode:e,onBackClick:n,onGoHome:f}=t;const[h,I]=(0,m.useState)(!1),[P,k]=(0,m.useState)(!1),[O,A]=(0,m.useState)(""),[C,T]=(0,m.useState)(!1),R=(0,l.bU)(),{isLoading:x,mutateAsync:Z}=(0,s.g)(),{isLoading:j,mutateAsync:D}=(0,u.M)(),[L,U]=(0,m.useState)("CURRENT_SITE"),{selectedSite:F,subject:N,message:q,userDeclaredSiteUrl:M}=(0,d.useSelect)((t=>({selectedSite:t(g.L).getSite(),subject:t(g.L).getSubject(),message:t(g.L).getMessage(),userDeclaredSiteUrl:t(g.L).getUserDeclaredSiteUrl()}))),{setSite:B,setUserDeclaredSiteUrl:$,setUserDeclaredSite:H,setSubject:V,setMessage:W,setPopup:z}=(0,d.useDispatch)(g.L),{result:G,isLoading:Q,site:Y}=(0,a.g)(M);(0,m.useEffect)((()=>{Y&&H(Y)}),[Y,H]);const{hasCookies:K,isLoading:J}=(0,c.O)(),X=x||j,tt=J||X,et=S[e],nt=(0,d.useSelect)((t=>t(_).getSite(window._currentSiteId)));let rt;return rt="OTHER_SITE"===L?Y:F||nt,h?(0,r.createElement)(v.Z,null):P||O?(0,r.createElement)(w.k,{forumTopicUrl:O,onBack:f}):(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)("header",null,(0,r.createElement)(y.x,{onClick:"FORUM"===e?f:n})),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},et.formTitle),et.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},et.formDisclaimer),(0,r.createElement)("section",null,(0,r.createElement)(E,{currentSite:nt,onSelect:t=>{0!==t&&B(nt),U(0===t?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===L?null==nt?void 0:nt.ID:0})),"OTHER_SITE"===L&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(p.TextControl,{label:__("Site address","full-site-editing"),value:M??"",onChange:$})),G&&(0,r.createElement)(b.J,{ownershipResult:G,isAnalysisLoading:Q,userDeclaredSite:Y})),["FORUM","EMAIL"].includes(e)&&(0,r.createElement)("section",null,(0,r.createElement)(p.TextControl,{label:__("Subject","full-site-editing"),value:N??"",onChange:V})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:q??"",onChange:t=>W(t.target.value),className:"help-center-contact-form__message"})),"FORUM"===e&&(0,r.createElement)("section",null,(0,r.createElement)(p.CheckboxControl,{checked:C,label:__("Don’t display my site’s URL publicly","full-site-editing"),onChange:t=>T(t)})),(0,r.createElement)("section",null,(0,r.createElement)(o.Z,{disabled:tt||!rt||!q,onClick:function(t){if(rt)switch(e){case"CHAT":if(K){I(!0);break}{const e=function(t){const e=t.currentTarget.closest(".help-center__container").getBoundingClientRect(),n=t.screenY-t.clientY+e.top-60,r=window.screenLeft+e.left,o=e.width,i=e.height-60;return window.open("https://widgets.wp.com/calypso-happychat/","happy-chat-window",`toolbar=no,scrollbars=yes,location=no,addressbar=no,width=${o},height=${i},left=${r},top=${n}`)}(t);z(e)}break;case"EMAIL":{var n,r,o;const t=[...["How can you help: "+q,"Site I need help with: "+(null===(n=rt)||void 0===n?void 0:n.URL),"Plan: "+(null===(r=rt)||void 0===r||null===(o=r.plan)||void 0===o?void 0:o.product_slug)],"\n",q].join("\n");Z({subject:N??"",message:t,locale:R,client:"browser:help-center",is_chat_overflow:!1}).then((()=>k(!0)));break}case"FORUM":D({site:rt,message:q??"",subject:N??"",locale:R,hideInfo:C}).then((t=>A(t.topic_URL)))}},primary:!0,className:"help-center-contact-form__site-picker-cta"},X?et.buttonLoadingLabel:et.buttonLabel)),["CHAT","EMAIL"].includes(e)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},(0,r.createElement)(i.O,{key:"happiness-tray",count:2,shuffled:!1}),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},et.trayText))))}},30250:function(t,e,n){"use strict";var r=n(7896),o=n(69307),i=n(76951),s=n(55609),u=n(95885),a=n(72779),c=n.n(a),l=n(99196),f=n(41327),p=n.n(f),d=n(407),h=n(14059),m=n(24934);const g=t=>{let{draggable:e,...n}=t;return e?(0,o.createElement)(p(),n):(0,o.createElement)(o.Fragment,null,n.children)};e.Z=t=>{let{content:e,handleClose:n,headerText:a,footerContent:f}=t;const{__:__}=(0,u.QT)(),[p,y]=(0,l.useState)(!1),[v,b]=(0,l.useState)(!0),w=(0,i._z)(),_=c()("help-center__container",w?"is-mobile":"is-desktop",{"is-minimized":p,"no-footer":!f}),E={style:{animation:(v?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{v||n()}},S=p?a??__("Help Center"):__("Help Center");return(0,o.createElement)(g,{disabled:p,draggable:!w,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(s.Card,(0,r.Z)({className:_},E),(0,o.createElement)(m.Z,{isMinimized:p,onMinimize:()=>y(!0),onMaximize:()=>y(!1),onDismiss:()=>{b(!1)},headerText:S}),(0,o.createElement)(d.Z,{isMinimized:p,content:e}),f&&!p&&(0,o.createElement)(h.Z,{footerContent:f})))}},407:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i);e.Z=t=>{let{content:e,isMinimized:n}=t;const i=s()("help-center__container-content");return(0,r.createElement)(o.CardBody,{hidden:n,className:i},e)}},14059:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i);e.Z=t=>{let{footerContent:e}=t;const n=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:n},e)}},24934:function(t,e,n){"use strict";var r=n(69307),o=n(55609),i=n(9818),s=n(26715),u=n(63103),a=n(60199),c=n(95885),l=n(72779),f=n.n(l),p=n(99196),d=n(71645),h=n(76243);e.Z=t=>{let{isMinimized:e,onMinimize:n,onMaximize:l,onDismiss:m,headerText:g}=t;const y=f()("help-center__container-header"),{__:__}=(0,c.QT)(),[v,b]=(0,p.useState)("closed"),[w,_]=(0,p.useState)(0),E=w>9?"9+":w,S=(0,i.useSelect)((t=>t(h.L).getPopup()));return(0,p.useEffect)((()=>{"open"===v&&S&&(null==n||n())}),[v,n,S]),(0,p.useEffect)((()=>{"ended"===v&&(null==m||m())}),[v,m]),(0,d.g)(b,_),(0,r.createElement)(o.CardHeader,{className:y},(0,r.createElement)(o.Flex,null,(0,r.createElement)("p",{style:{fontSize:14,fontWeight:500}},g,(0,r.createElement)("span",{className:"help-center-header__a8c-only-badge",title:"The help center is only visible to Automatticians at this stage."},"a8c only"),e&&w?(0,r.createElement)("span",{className:"help-center-header__unread-count"},E):null),(0,r.createElement)("div",null,e?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:s.Z,onClick:function(){"closed"!==v&&S?S.focus():null==l||l()}}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:u.Z,onClick:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),icon:a.Z,onClick:m}))))}},27420:function(t,e,n){"use strict";var r=n(69307);n(96459);e.Z=()=>(0,r.createElement)("iframe",{className:"help-center-inline-chat__iframe",title:"Happychat",src:"https://widgets.wp.com/calypso-happychat/"})},10083:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=n(69307),o=n(47498),i=n(55609),s=n(65736);const __=s.__,u={NOT_OWNED_BY_USER:(0,r.createElement)("p",null,__("Your site is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing")," "," ",(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPCOM:"",WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted on our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share you question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing"))};function a(t){let{ownershipResult:e,isAnalysisLoading:n,userDeclaredSite:o}=t;return n||"WPCOM"===e?"WPCOM"===e?(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},null==o?void 0:o.name):null:(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(i.Icon,{icon:"info-outline"})),u[e])}},55213:function(t,e,n){"use strict";var r=n(69307),o=n(9818),i=n(23025),s=n(30250);n(62829);e.Z=t=>{let{content:e,handleClose:n,headerText:u,footerContent:a}=t;const c=(0,r.useRef)(document.createElement("div")).current;return(0,o.useSelect)((t=>t(i.j).getSite(window._currentSiteId))),(0,r.useEffect)((()=>(c.classList.add("help-center"),document.body.appendChild(c),()=>{document.body.removeChild(c)})),[c]),(0,r.createPortal)((0,r.createElement)(s.Z,{handleClose:n,content:e,headerText:u,footerContent:a}),c)}},92421:function(t,e,n){"use strict";var r=n(69307);e.Z=t=>{let{newItems:e,active:n}=t;return(0,r.createElement)("svg",{width:"26",height:"25",viewBox:"0 0 26 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("circle",{cx:"12",cy:"12.5",r:"8",stroke:n?"white":"#1e1e1e",fill:n?"#1e1e1e":"white",strokeWidth:"1.5"}),(0,r.createElement)("path",{d:"M9.75 10.75C9.75 9.50736 10.7574 8.5 12 8.5C13.2426 8.5 14.25 9.50736 14.25 10.75C14.25 11.9083 13.3748 12.8621 12.2496 12.9863C12.1124 13.0015 12 13.1119 12 13.25V14.5",stroke:n?"white":"#1e1e1e",strokeWidth:"1.5",fill:"none"}),(0,r.createElement)("path",{d:"M12 15.5V17",stroke:n?"white":"#1e1e1e",strokeWidth:"1.5"}),e&&(0,r.createElement)("circle",{cx:"20",cy:"8",r:"5",fill:"var( --color-masterbar-unread-dot-background )",strokeWidth:"2"}))}},69309:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F","stroke-width":"1.68","stroke-linecap":"round","stroke-linejoin":"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"}))},94509:function(t,e,n){"use strict";n.d(e,{k:function(){return u}});var r=n(69307),o=n(95885),i=(n(99196),n(40495)),s=n(69309);const u=t=>{let{onBack:e,forumTopicUrl:n}=t;const{__:__}=(0,o.QT)();return(0,r.createElement)("div",null,(0,r.createElement)(i.x,{onClick:e}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(s.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},71645:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var r=n(9818),o=n(99196),i=n(76243);function s(t,e){const{selectedSite:n,subject:s,message:u,userDeclaredSite:a}=(0,r.useSelect)((t=>({selectedSite:t(i.L).getSite(),userDeclaredSite:t(i.L).getUserDeclaredSite(),subject:t(i.L).getSubject(),message:t(i.L).getMessage()}))),c=n||a,{resetPopup:l}=(0,r.useDispatch)(i.L);(0,o.useEffect)((()=>{const n=r=>{if("https://widgets.wp.com"===r.origin){const{data:a}=r;switch(a.type){case"calypso-happy-chat-unread-messages":e(a.state);break;case"window-state-change":t(a.state),"ended"===a.state&&(window.removeEventListener("message",n),l());break;case"happy-chat-introduction-data":var o,i;null===(o=r.source)||void 0===o||o.postMessage({type:"happy-chat-introduction-data",siteId:null==c?void 0:c.ID.toString(),subject:s,message:u,planSlug:null==c||null===(i=c.plan)||void 0===i?void 0:i.product_slug,siteUrl:null==c?void 0:c.URL},{targetOrigin:r.origin})}}};return window.addEventListener("message",n,!1),()=>{window.removeEventListener("message",n,!1)}}),[t,e,c,s,u,l])}},76243:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});const r=n(17624).z()},8057:function(t,e,n){"use strict";var r=n(99196),o=n(94724);e.Z=(0,r.createContext)(o.Z)},94724:function(t,e,n){"use strict";var r=n(50914);e.Z=new r.Z},50914:function(t,e,n){"use strict";var r=n(22699),o=n(32594),i=n(96668),s=n(38049),u=n.n(s),a=n(35079),c=n.n(a),l=n(7839),f=n.n(l),p=n(49830),d=n(10003);const h=u()("i18n-calypso"),m="number_format_decimals",g="number_format_thousands_sep",y="messages",v=[function(t){return t}],b={};function w(){P.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function _(t){return Array.prototype.slice.call(t)}function E(t){const e=t[0];("string"!=typeof e||t.length>3||t.length>2&&"object"==typeof t[1]&&"object"==typeof t[2])&&w("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",_(t),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===t.length&&"string"==typeof e&&"string"==typeof t[1]&&w("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",_(t));let n={};for(let r=0;r<t.length;r++)"object"==typeof t[r]&&(n=t[r]);if("string"==typeof e?n.original=e:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof t[1]&&(n.plural=t[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function S(t,e){return t.dcnpgettext(y,e.context,e.original,e.plural,e.count)}function I(t,e){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},e)),o=r.context?r.context+""+r.original:r.original;if(t.state.locale[o])return S(t.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=t=>1===t?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:f()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof e?e:e.decimals||0,r=e.decPoint||this.state.numberFormatSettings.decimal_point||".",o=e.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,d.Z)(t,n,r,o)},P.prototype.configure=function(t){Object.assign(this,t||{}),this.setLocale()},P.prototype.setLocale=function(t){var e,n,r;if(t&&t[""]&&t[""]["key-hash"]){const e=t[""]["key-hash"],n=function(t,e){const n=!1===e?"":String(e);if(void 0!==b[n+t])return b[n+t];const r=c()().update(t).digest("hex");return b[n+t]=e?r.substr(0,e):r},r=function(t){return function(e){return e.context?(e.original=n(e.context+String.fromCharCode(4)+e.original,t),delete e.context):e.original=n(e.original,t),e}};if("sha1"===e.substr(0,4))if(4===e.length)v.push(r(!1));else{const t=e.substr(5).indexOf("-");if(t<0){const t=Number(e.substr(5));v.push(r(t))}else{const n=Number(e.substr(5,t)),o=Number(e.substr(6+t));for(let t=n;t<=o;t++)v.push(r(t))}}}if(t&&t[""].localeSlug)if(t[""].localeSlug===this.state.localeSlug){if(t===this.state.locale)return;Object.assign(this.state.locale,t)}else this.state.locale=Object.assign({},t);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.localeVariant=this.state.locale[""].localeVariant,this.state.textDirection=(null===(e=this.state.locale["text directionltr"])||void 0===e?void 0:e[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new p.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([m])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([g])),this.state.numberFormatSettings.decimal_point===m&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===g&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(t){for(const e in t)""!==e&&(this.state.tannin.data.messages[e]=t[e]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!I(this,E(arguments))},P.prototype.translate=function(){const t=E(arguments);let e=I(this,t);if(e||(e=S(this.state.tannin,t)),t.args){const r=Array.isArray(t.args)?t.args.slice(0):[t.args];r.unshift(e);try{e=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const t=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[t](n):window.console[t]("i18n sprintf error:",r)}}return t.components&&(e=(0,o.Z)({mixedString:e,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){e=n(e,t)})),e},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(t){this.componentUpdateHooks.push(t)},P.prototype.registerTranslateHook=function(t){this.translateHooks.push(t)},e.Z=P},11481:function(t,e,n){"use strict";n.d(e,{Iu:function(){return o},Yj:function(){return i}});var r=n(94724);e.ZP=r.Z;r.Z.numberFormat.bind(r.Z);const o=r.Z.translate.bind(r.Z),i=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:function(t,e,n){"use strict";function r(t,e,n,r){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+t)?+t:0,i=isFinite(+e)?Math.abs(e):0,s=void 0===r?",":r,u=void 0===n?".":n;let a="";return a=(i?
29
  /*
30
  * Exposes number format capability
31
  *
help-center/dist/help-center.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"help-center.min.js","mappings":"gIAsBe,SAASA,EAASC,GAChC,IAAIC,GAAQ,OAASD,GAErB,OAAO,SAAUE,GAChB,OAAO,OAAUD,EAAOC,M,iECrB1B,IAAIC,EAAY,CACf,IAAK,SAAUC,GACd,OAASA,GAEV,IAAK,SAAUA,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,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