"use strict";(self.webpackChunkapp_container=self.webpackChunkapp_container||[]).push([[8448],{8448:(e,n,t)=>{t.a(e,(async(e,o)=>{try{function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;nh,default:()=>v});const{React:a,Suspense:r,useEffect:i}=await t.e(4914).then(t.t.bind(t,4914,23)).then((e=>({Suspense:e.Suspense,React:e.default,useEffect:e.useEffect}))),d=await t.e(4444).then(t.t.bind(t,4444,23)).then((e=>e.default)),{useSelector:u}=await t.e(8330).then(t.t.bind(t,8330,23)).then((e=>({useSelector:e.useSelector}))),{InitialLoader:c}=await t.e(3254).then(t.bind(t,3254)).then((e=>e)),{NameSlice:s,Slice:p}=await t.e(2446).then(t.bind(t,2446)).then((e=>e)),m=await t.e(3315).then(t.bind(t,3315)).then((e=>e.default)),{CheckRequireField:f}=await t.e(8435).then(t.bind(t,8435)).then((e=>e));function h(e){var n,t;let o=null!=e&&e.app?JSON.parse(JSON.stringify(e.app)):null;"defaultURL"===(null==o?void 0:o.remoteUrl)&&(o.remoteUrl=window.flitsThemeAppExtensionObjects.flitsGetStoreMicrofrontendUrl(null==o?void 0:o.remoteName));const{Component:l}=d(o),u=window.UnoDuoComponent[null==o?void 0:o.skeletonToLoad];return i((()=>{p[null==o?void 0:o.remoteName]&&(m.reducerManager.add(s[null==o?void 0:o.remoteName],p[null==o?void 0:o.remoteName]),m.reducerManager.add(s.StoreFrontShopifyData,p.StoreFrontShopifyData))})),f(null!==(n=null!==(t=null==o?void 0:o.requiredArray)&&void 0!==t?t:null==o?void 0:o.required)&&void 0!==n?n:[])?a.createElement(r,{fallback:"Loading"!==(null==o?void 0:o.skeletonToLoad)&&"LoadingWithOutShadow"!==(null==o?void 0:o.skeletonToLoad)&&null!=u?a.createElement(u,null):a.createElement("div",null)},l&&a.createElement(l,e)):null}function v(e){const n=u((e=>e.storeFrontContainer.microFrontEndData)).microfront_remotes.remotes[e.remoteApp];return n?a.createElement(a.Fragment,null,("Loading"===(null==n?void 0:n.skeletonToLoad)||"LoadingWithOutShadow"===(null==n?void 0:n.skeletonToLoad))&&void 0!==(null==n?void 0:n.skeletonToLoad)&&null!==(null==n?void 0:n.skeletonToLoad)&&"storeFrontNavigation"!==(null==e?void 0:e.remoteApp)&&a.createElement(c,{loader:null==n?void 0:n.skeletonToLoad}),a.createElement(h,l({app:n},e))):a.createElement("div",null,"App not found")}o()}catch(S){o(S)}}),1)}}]);