1 line
6.0 KiB
JavaScript
1 line
6.0 KiB
JavaScript
|
|
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[8],{137:function(t,n,e){"use strict";var r=e(2),o=Object(r.createContext)(!1);n.a=o},259:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(383);function o(t){return Object(r.a)(t)}},29:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"a",(function(){return o}));var r="core/ui",o="activeContextID"},379:function(t,n,e){"use strict";e.d(n,"a",(function(){return s}));var r=e(16),o=e.n(r),c=e(407),u=e(327),i=e(2),a=e(137),f=e(29),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.sticky,e=void 0!==n&&n,r=Object(i.useContext)(a.a),s=Object(i.useState)(!1),l=o()(s,2),p=l[0],d=l[1],v=Object(u.a)((function(t){return t(f.b).getInViewResetHook()})),b=Object(u.a)((function(t){return t(f.b).getValue("forceInView")}));return Object(i.useEffect)((function(){r.value&&!p&&d(!0)}),[p,r,d]),Object(i.useEffect)((function(){b&&d(!0)}),[b]),Object(c.a)((function(){d(!1)}),[v]),!(!e||!p)||!!r.value}},495:function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(28),o=e.n(r),c=e(327),u=e(2),i=e(379),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=Object(i.a)({sticky:!0}),r=Object(u.useRef)(),a=Object(u.useCallback)(t,[].concat(o()(n),[t])),f=Object(c.a)(e?a:function(){});return e&&(r.current=f),r.current}},630:function(t,n,e){"use strict";(function(t){var r,o=e(647),c=e(130),u=e(327),i=e(1037),a=e(452),f=e(1040),s=e(1042),l=e(631),p=e(495),d=e(80),v=e(259),b=Object(o.a)({},null===(r=t.wp)||void 0===r?void 0:r.data);b.combineStores=d.a,b.commonActions=d.b,b.commonControls=d.c,b.commonStore=d.d,b.createReducer=v.a,b.useInViewSelect=p.a,b.createRegistryControl=c.a,b.createRegistrySelector=c.b,b.useSelect=u.a,b.useDispatch=i.a,b.useRegistry=a.a,b.withSelect=f.a,b.withDispatch=s.a,b.RegistryProvider=l.b,n.a=b}).call(this,e(26))},80:function(t,n,e){"use strict";e.d(n,"a",(function(){return A})),e.d(n,"b",(function(){return P})),e.d(n,"c",(function(){return E})),e.d(n,"d",(function(){return T})),e.d(n,"e",(function(){return _})),e.d(n,"g",(function(){return D})),e.d(n,"f",(function(){return G}));var r,o=e(5),c=e.n(o),u=e(28),i=e.n(u),a=e(6),f=e.n(a),s=e(11),l=e.n(s),p=e(79),d=e.n(p),v=e(14),b=e(130);function y(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function g(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?y(Object(e),!0).forEach((function(n){f()(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var O=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r=n.reduce((function(t,n){return g(g({},t),n)}),{}),o=n.reduce((function(t,n){return[].concat(i()(t),i()(Object.keys(n)))}),[]),c=I(o);return l()(0===c.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(c.join(", "),". Check your data stores for duplicates.")),r},j=O,h=O,w=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r,o=[].concat(n);return"function"!=typeof o[0]&&(r=o.shift()),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(t,e){return e(t,n)}),t)}},m=O,S=O,k=O,R=function(t){return t},A=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r=k.apply(void 0,i()(n.map((function(t){return t.initialState||{}}))));return{initialState:r,controls:h.apply(void 0,i()(n.map((function(t){return t.controls||{}})))),actions:j.apply(void 0,i()(n.map((function(t){return t.actions||{}})))),reducer:w.apply(void 0,[r].concat(i()(n.map((function(
|