-
Notifications
You must be signed in to change notification settings - Fork 0
/
1457.a052ece7bca0bb9aa4be.js
1 lines (1 loc) · 5.6 KB
/
1457.a052ece7bca0bb9aa4be.js
1
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1457],{57135:function(e,t,r){e.exports=r(86248)},11702:function(e,t,r){"use strict";r.d(t,{P:function(){return n}});var n=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20,c=arguments.length>4?arguments[4]:void 0,o=!1;function a(){o=!0}function u(){e()?t&&t():o?c&&c():setTimeout(u,r)}setTimeout(a,r*n),u()}},96733:function(e,t,r){"use strict";r.d(t,{J:function(){return c}});var n=r(27378),c=function(e){return n.useEffect((function(){e()}),[])}},73825:function(e,t,r){"use strict";r.d(t,{i:function(){return p}});var n=r(57135),c=r.n(n);function o(e,t,r,n,c,o,a){try{var u=e[o](a),i=u.value}catch(s){return void r(s)}u.done?t(i):Promise.resolve(i).then(n,c)}var a=r(64649),u=r(65809),i=r(27378);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e){var t=i.useRef({}),r={status:"idle",error:null,data:[]},n=i.useReducer((function(e,t){switch(t.type){case"FETCHING":return f(f({},r),{},{status:"fetching"});case"FETCHED":return f(f({},r),{},{status:"fetched",data:t.payload});case"FETCH_ERROR":return f(f({},r),{},{status:"error",error:t.payload});default:return e}}),r),a=(0,u.Z)(n,2),s=a[0],p=a[1];return i.useEffect((function(){var r=!1;if(e)return function(){var n,a=(n=c().mark((function n(){var o,a,u;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(p({type:"FETCHING"}),!t.current[e]){n.next=6;break}o=t.current[e],p({type:"FETCHED",payload:o}),n.next=24;break;case 6:return n.prev=6,n.next=9,fetch(e);case 9:return a=n.sent,n.next=12,a.json();case 12:if(u=n.sent,t.current[e]=u,!r){n.next=16;break}return n.abrupt("return");case 16:p({type:"FETCHED",payload:u}),n.next=24;break;case 19:if(n.prev=19,n.t0=n.catch(6),!r){n.next=23;break}return n.abrupt("return");case 23:p({type:"FETCH_ERROR",payload:n.t0.message});case 24:case"end":return n.stop()}}),n,null,[[6,19]])})),function(){var e=this,t=arguments;return new Promise((function(r,c){var a=n.apply(e,t);function u(e){o(a,r,c,u,i,"next",e)}function i(e){o(a,r,c,u,i,"throw",e)}u(void 0)}))});return function(){return a.apply(this,arguments)}}()(),function(){r=!0}}),[e]),s}},48216:function(e,t,r){"use strict";r.d(t,{C:function(){return n}});var n=function(){return"undefined"!==typeof window}},33346:function(e,t,r){"use strict";r.r(t),r.d(t,{RelatedContentCollectionModule:function(){return u}});r(27378);var n=r(53685),c=r(99318),o=r(47331),a=r(24246),u=function(e){var t=e.fields,r=void 0===t?{}:t,u=e.name,i=r.relatedContentCollectionFetchId,s=r.layout,f=void 0===s?"default":s;return(0,a.jsx)(c.K,{name:u,children:(0,a.jsx)(o.I,{className:"spacing--component-y",children:(0,a.jsx)(n.z,{fetchId:i,layout:f,id:null,element:"div",css:"\n .item-wrapper {\n padding: 0 !important;\n }\n "})})})};u.displayName="RelatedContentCollectionModule",t.default=u},47331:function(e,t,r){"use strict";r.d(t,{I:function(){return p}});var n=r(1717),c=r(31750),o=(r(27378),r(37305)),a=r(85794),u=r(24246),i=["children","className","prefix","spacialAwareness"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e){var t=e.children,r=e.className,n=void 0===r?"":r,s=e.prefix,p=void 0===s?"":s,l=e.spacialAwareness,d=(0,c.Z)(e,i);return(0,u.jsx)(o.W,f(f(f({className:"".concat(p?"".concat(p,"-"):"","module-spacing ").concat(n," ").concat(l&&!(0,a.Q)(l)?"spacial-awareness":"").trim()},d),l),{},{children:t}))};p.defaultProps={componentClassName:"module-spacing"},p.displayName="ModuleSpacing"},99318:function(e,t,r){"use strict";r.d(t,{K:function(){return f}});var n=r(1717),c=r(31750),o=(r(27378),r(37305)),a=r(24246),u=["name","children","className","customName"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){var t=e.name,r=e.children,n=e.className,i=void 0===n?"":n,f=e.customName,p=(0,c.Z)(e,u);return(0,a.jsx)(o.W,s(s({className:"module-wrapper ".concat(i).trim(),"data-module":t,"data-custom-module":f,position:"static"},p),{},{children:r}))};f.defaultProps={componentClassName:"module-wrapper"},f.displayName="ModuleWrapper"}}]);