"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[290],{85110(t,e,o){o.d(e,{WM:()=>n.WM,wA:()=>n.wA,ws:()=>n.ws});var n=o(66266);void 0===globalThis.googlesitekit&&(globalThis.googlesitekit={}),globalThis.googlesitekit.data=n.Ay},63010(t,e,o){o.d(e,{A:()=>n});const n=(0,o(63696).createContext)(!1)},66266(t,e,o){o.d(e,{Ay:()=>w,wA:()=>a.A,ws:()=>g.w,WM:()=>s.A});var n=o(66218),r=o(56805),c=o(78913),s=o(35470),a=o(63737),i=o(44319),u=o(45177),l=o(30043),d=o(66293),g=o(43212),f=o(97241);var p=o(45939);const y=(0,n.I)({},globalThis.wp?.data);y.combineStores=p.o3,y.commonActions=p.jU,y.commonControls=p._5,y.commonStore=p.x0,y.createReducer=function(t){return(0,f.Ay)(t)},y.useInViewSelect=g.w,y.controls=r.n,y.createRegistryControl=c.b,y.createRegistrySelector=c.N,y.useSelect=s.A,y.useDispatch=a.A,y.useRegistry=i.A,y.withSelect=u.A,y.withDispatch=l.A,y.RegistryProvider=d.Ay;const w=y},45939(t,e,o){o.d(e,{$C:()=>C,RF:()=>_,WI:()=>T,_5:()=>m,jU:()=>b,o3:()=>h,x0:()=>k,y_:()=>I});var n=o(32091),r=o.n(n),c=o(17243),s=o(50532),a=o.n(s),i=o(78913);const u="GET_REGISTRY",l="AWAIT";function d(...t){const e=t.reduce((t,e)=>({...t,...e}),{}),o=S(t.reduce((t,e)=>[...t,...Object.keys(e)],[]));return r()(0===o.length,`collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ${o.join(", ")}. Check your data stores for duplicates.`),e}const g=d,f=d;function p(...t){const e=[...t];let o;return"function"!=typeof e[0]&&(o=e.shift()),(t=o,n={})=>e.reduce((t,e)=>e(t,n),t)}const y=d,w=d,v=d;function A(t){return t}function h(...t){const e=v(...t.map(t=>t.initialState||{}));return{initialState:e,controls:f(...t.map(t=>t.controls||{})),actions:g(...t.map(t=>t.actions||{})),reducer:p(e,...t.map(t=>t.reducer||A)),resolvers:y(...t.map(t=>t.resolvers||{})),selectors:w(...t.map(t=>t.selectors||{}))}}const b={getRegistry:()=>({payload:{},type:u}),*await(t){return{payload:{value:t},type:l}}},m={[u]:(0,i.b)(t=>()=>t),[l]:({payload:t})=>t.value};function S(t){const e=[],o={};for(let n=0;n<t.length;n++){const r=t[n];o[r]=o[r]>=1?o[r]+1:1,o[r]>1&&e.push(r)}return e}const k={actions:b,controls:m,reducer:A};function T(t){return e=>R(t(e))}const R=a()(t=>(0,c.mapValues)(t,(t,e)=>(...o)=>{const n=t(...o);return r()(void 0!==n,`${e}(...) is not resolved`),n}));function _(t,{negate:e=!1}={}){return{safeSelector:(0,i.N)(o=>(n,...r)=>{const c=!e,s=!!e;try{return t(o,n,...r),c}catch{return s}}),dangerousSelector:(0,i.N)(e=>(o,...n)=>{t(e,o,...n)})}}function C(t,e){return r()("function"==typeof t,"a validator function is required."),r()("function"==typeof e,"an action creator function is required."),r()("Generator"!==t[Symbol.toStringTag]&&"GeneratorFunction"!==t[Symbol.toStringTag],"an action’s validator function must not be a generator."),(...o)=>(t(...o),e(...o))}function I(t,e=globalThis){const o=(0,c.get)(e,t);if(void 0===o)throw new Error(`Global data value not found at path ${t}.`);return(0,c.cloneDeep)(o)}},20295(t,e,o){o.d(e,{Fc:()=>r,Yg:()=>c,nX:()=>n});const n="core/ui",r="activeContextID",c="forced-in-view-widget-areas"},25548(t,e,o){o.d(e,{W:()=>i});var n=o(79257),r=o(35470),c=o(63696),s=o(63010),a=o(20295);function i({sticky:t=!1}={}){const e=(0,c.useContext)(s.A),[o,i]=(0,c.useState)(!1),u=(0,r.A)(t=>t(a.nX).getInViewResetCount()),l=(0,r.A)(t=>t(a.nX).getValue("forceInView"));return(0,c.useEffect)(()=>{e.value&&!o&&i(!0)},[o,e,i]),(0,c.useEffect)(()=>{l&&i(!0)},[l]),(0,n.A)(()=>{i(!1)},[u]),!(!t||!o)||!!e.value}},43212(t,e,o){o.d(e,{w:()=>a});var n=o(35470),r=o(63696),c=o(25548);function s(){}function a(t,e){const o=(0,c.W)({sticky:!0}),a=(0,r.useRef)(),i=(0,r.useCallback)(t,e),u=(0,n.A)(o?i:s);return o&&(a.current=u),a.current}}},t=>{t.O(0,[660],()=>{return e=85110,t(t.s=e);var e});t.O()}]);