1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6303],{1369:function(e,t,n){n.r(t);var s=n(3696),l=n(9005),o=n(7435),r=n(9915),c=n(8648),a=n(2756),i=n(6433);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},g.apply(null,arguments)}t.default=function({themeComponentKey:e}){const t=(0,a.M)(e),n=(0,r.useFPI)(),u=(0,o.Zp)(),{slug:f}=(0,o.g)(),[h,m]=(0,s.useState)(!0);let _=[],A="";if((0,s.useEffect)(()=>{(()=>{if("home"===f){(e=>{e&&0!==Object.keys(e).length&&e.sections&&0!==e.sections.length||e?.loading?m(!1):setTimeout(()=>{const e=n.getters.PAGE(n.store.getState());e&&0!==Object.keys(e).length&&e.sections&&0!==e.sections.length||e?.loading?m(!1):"undefined"!=typeof window&&u("/products/")},800)})(n.getters.PAGE(n.store.getState()))}else m(!1)})()},[f]),(0,i.Wx)()&&h)return null;const E=n.getters.PAGE(n.store.getState());if((0,i.Wx)())try{const e=n.getters.PAGE(n.store.getState()),t=n.getters.APPLICATION(n.store.getState()),{seo:s={}}=e||{},{canonical_url:l}=s;A=l?.length?(0,i.yP)(t,l):""}catch(e){console.log(e)}else try{const e=n.getters.APPLICATION(n.store.getState()),{seo:t={}}=E||{},{meta_tags:s=[],canonical_url:l}=t;A=l?.length?(0,i.yP)(e,l):"",_=s.reduce((e,t={})=>{const{title:n,items:s}=t;if(!s?.length)return e;const l={};for(const e of s){const{key:t,value:n}=e;l[t]=n}return[...e,{title:n,attrs:l}]},[])}catch(e){console.log(e)}return t?s.createElement(c.t,null,s.createElement(l.Helmet,null,_.map(e=>s.createElement("meta",g({name:e.title},e.attrs))),A.length?s.createElement("link",{rel:"canonical",href:A}):""),t):s.createElement("div",null," Please update this component in theme ")}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.