"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[290],{52735(t,e,o){o.d(e,{A:()=>n});const n=(0,o(63696).createContext)(!1)},52696(t,e,o){o.d(e,{WM:()=>n.WM,wA:()=>n.wA,ws:()=>n.ws});var n=o(49057);void 0===globalThis.googlesitekit&&(globalThis.googlesitekit={}),globalThis.googlesitekit.data=n.Ay},49057(t,e,o){o.d(e,{Ay:()=>A,wA:()=>i.A,ws:()=>d.w,WM:()=>s.A});var n=o(66218),r=o(56805),c=o(78913),s=o(35470),i=o(63737),a=o(44319),u=o(45177),l=o(30043),g=o(66293),d=o(52721),f=o(97241);var p=o(8084);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=d.w,y.controls=r.n,y.createRegistryControl=c.b,y.createRegistrySelector=c.N,y.useSelect=s.A,y.useDispatch=i.A,y.useRegistry=a.A,y.withSelect=u.A,y.withDispatch=l.A,y.RegistryProvider=g.Ay;const A=y},8084(t,e,o){o.d(e,{$C:()=>_,RF:()=>C,WI:()=>R,_5:()=>b,jU:()=>m,o3:()=>h,x0:()=>k});var n=o(32091),r=o.n(n),c=o(17243),s=o(50532),i=o.n(s),a=o(78913);const u="GET_REGISTRY",l="AWAIT";function g(...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 d=g,f=g;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=g,A=g,w=g;function v(t){return t}function h(...t){const e=w(...t.map(t=>t.initialState||{}));return{initialState:e,controls:f(...t.map(t=>t.controls||{})),actions:d(...t.map(t=>t.actions||{})),reducer:p(e,...t.map(t=>t.reducer||v)),resolvers:y(...t.map(t=>t.resolvers||{})),selectors:A(...t.map(t=>t.selectors||{}))}}const m={getRegistry:()=>({payload:{},type:u}),*await(t){return{payload:{value:t},type:l}}},b={[u]:(0,a.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:m,controls:b,reducer:v};function R(t){return e=>T(t(e))}const T=i()(t=>(0,c.mapValues)(t,(t,e)=>(...o)=>{const n=t(...o);return r()(void 0!==n,`${e}(...) is not resolved`),n}));function C(t,{negate:e=!1}={}){return{safeSelector:(0,a.N)(o=>(n,...r)=>{const c=!e,s=!!e;try{return t(o,n,...r),c}catch{return s}}),dangerousSelector:(0,a.N)(e=>(o,...n)=>{t(e,o,...n)})}}function _(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))}},7972(t,e,o){o.d(e,{Fc:()=>r,Yg:()=>c,nX:()=>n});const n="core/ui",r="activeContextID",c="forced-in-view-widget-areas"},85097(t,e,o){o.d(e,{W:()=>a});var n=o(79257),r=o(35470),c=o(63696),s=o(52735),i=o(7972);function a({sticky:t=!1}={}){const e=(0,c.useContext)(s.A),[o,a]=(0,c.useState)(!1),u=(0,r.A)(t=>t(i.nX).getInViewResetCount()),l=(0,r.A)(t=>t(i.nX).getValue("forceInView"));return(0,c.useEffect)(()=>{e.value&&!o&&a(!0)},[o,e,a]),(0,c.useEffect)(()=>{l&&a(!0)},[l]),(0,n.A)(()=>{a(!1)},[u]),!(!t||!o)||!!e.value}},52721(t,e,o){o.d(e,{w:()=>i});var n=o(35470),r=o(63696),c=o(85097);function s(){}function i(t,e){const o=(0,c.W)({sticky:!0}),i=(0,r.useRef)(),a=(0,r.useCallback)(t,e),u=(0,n.A)(o?a:s);return o&&(i.current=u),i.current}}},t=>{t.O(0,[660],()=>{return e=52696,t(t.s=e);var e});t.O()}]);