PageSourceSearch

https://www.bestbuy.com/~assets/bby/_com/vendor/federation/platformContainerOrchestrationProxy.11.20.10.js

js bestbuy.com collected 2026-09-24 09:07:17 UTC 5,160 bytes, 2 lines download raw bytes

1(()=>{window.remoteEntryFederatedModules={};const e={"@bestbuy/brix-web":"brix","pattern-library":"brix","@bestbuy/gvp-lib-load-script":"loadScript",react:"React","react-dom":"ReactDOM",lodash:"_v4","lodash-v4":"_v4",redux:"Redux","redux-v3":"Redux","react-redux":"ReactRedux","redux-thunk":"ReduxThunk","prop-types":"PropTypes",jquery:"jQuery",falcor:"falcor",i18next:"i18next","react-i18next":"reactI18next","analytics-q":"analyticsQ","@bestbuy/gvp-lib-action-log":"actionLog","@gvp/lib-action-log":"actionLog","@bestbuy/gvp-lib-falcor-model":"falcorModel","@gvp/lib-falcor-model":"falcorModel","@shop/lib-eventmanager":"EventManager","@bestbuy/gvp-lib-fetch":"createFetchService","@gvp/lib-fetch":"createFetchService","@bestbuy/gvp-lib-initializer":"initializer","@gvp/lib-initializer":"initializer","@bestbuy/cj-capture-sdk":"cjCaptureSdk","@bestbuy/cj-capture-sdk-context-provider":"cjCaptureSdkContextProvider","@bestbuy/gvp-lib-appear":"appear","@gvp/lib-appear":"appear","@bestbuy/gvp-lib-embedded-component-renderer":"EmbeddedComponentRenderer","@gvp/lib-embedded-component-renderer":"EmbeddedComponentRenderer"},t={react:"React","react-v18":"React","react-dom":"ReactDOM","react-dom-v18":"ReactDOM","react-redux":"ReactRedux","react-redux-v8":"ReactRedux"},r={react:"React","react-dom":"ReactDOM","react-redux":"ReactRedux"},o="11.20.10",i=window._metaLayer&&window._metaLayer.env_assets?window._metaLayer.env_assets:"",a=window.configService&&window.configService.getServiceConfig("platformContainer")?window.configService.getServiceConfig("platformContainer")._bucket:{},n=a.remoteFederatedModules||{},d=n.originalPlatformContainerConfig||{},c=n.container2022||{},l=n.container2026||{},p=a.remoteFederatedModules||{},s={varName:"__INTERNAL_PLATFORM_CONTAINER_11.20.10__",scriptLocation:`${i}/federation/platformContainer.${o}.js`,scope:"default",...d},w={varName:"__INTERNAL_PLATFORM_CONTAINER_2022_11.20.10__",scriptLocation:`${i}/federation/platformContainer.2022.${o}.js`,scope:"react-18",...c},u={varName:"__INTERNAL_PLATFORM_CONTAINER_2026_11.20.10__",scriptLocation:`${i}/federation/platformContainer.2026.${o}.js`,scope:"react-19",...l},m=window.platformMetrics&&window.platformMetrics.enableCollection,b=e=>"@bestbuy/brix-web"===e||"pattern-library"===e,g=(o,i)=>(!i||!(t[o]||r[o]||b(o)))&&window[e[o]],f=(e,t,r)=>b(t)?r?window.__BRIX_PLATFORM_CONTAINER_2022__:window.__BRIX_PLATFORM_CONTAINER_V1__:window.remoteEntryFederatedModules[e.varName],_=(e,t)=>new Error(`[VPT DependencyProxy]: Failed to find the module: "${e}"${t?` in container name ${t}`:""}.\nYou can get a list of the available federated modules by calling this: window.printAvailableFederatedModules`),y=(e,t,r)=>{const o=f(e,t,r);return o?o.get(t):window.loadScript(`${e.scriptLocation}`,{type:"script"}).then(()=>{const o=f(e,t,r);return void 0!==e.scope&&(window.globalShareScope[e.scope]||(window.globalShareScope[e.scope]={}),o.init(window.globalShareScope[e.scope])),o.get(t)}).catch(e=>{throw _(t,r)})};Object.values(p).filter(e=>!0===e.preload).forEach(e=>window.loadScript(e.scriptLocation,{type:"script"}).then());const v=({callingApplication:o,moduleName:i,containerName:a})=>new Promise(n=>{if(!o)throw new Error('"callingApplication" is a required field of dependencyProxy.');if(!i)throw new Error('"moduleName" is a required field of dependencyProxy.');if(a&&"CONTAINER_2022"!==a&&"CONTAINER_2026"!==a)throw new Error('Valid "containerName" parameter values include CONTAINER_2022, CONTAINER_2026');m&&window.platformMetrics.moduleFederationLoadCalls.push({timestamp:(new Date).getTime(),callingApplication:o,moduleName:i,containerName:a}),n({get:o=>{try{if(p[i]){const e=p[i];return y(e,i,a)}if(g(i,a))return Promise.resolve(()=>g(i,a));if(e[i]||t[i]||r[i]&&!b(i))return y("CONTAINER_2026"===a&&r[i]?u:"CONTAINER_2022"===a&&t[i]?w:s,i,a);throw b(i)&&f({},i,a).get(i),_(i,a)}catch(e){throw _(i,a)}},init:e=>{}})});async function N(e){return window.depProxy({ca:"platform",mn:e}).then(e=>e.get()).then(e=>e())}window.getAvailableFederatedModules=function(){const o=window.remoteEntryFederatedModules;return{default:e,CONTAINER_2022:t,CONTAINER_2026:r,remotes:o}},window.printAvailableFederatedModules=function(){console.log(JSON.stringify(window.getAvailableFederatedModules(),null,"\t"))},window.dependencyProxy=v,window.depProxy=async({ca:e,mn:t,cn:r})=>{try{return await v({callingApplication:e,moduleName:t,containerName:r})}catch(e){if(e.message.includes("callingApplication"))throw new Error('"ca" is a required field of depProxy');if(e.message.includes("moduleName"))throw new Error('"mn" is a required field of depProxy');if(e.message.includes("containerName"))throw new Error('The "cn" argument contained a container name which is not registered');throw e}},window.getDep=N,window.getInitializer=()=>N("@bestbuy/gvp-lib-initializer"),window.getAnalyticsQ=()=>N("analytics-q"),window.getAppear=()=>
1N("@bestbuy/gvp-lib-appear"),window.getLoadScript=()=>N("@bestbuy/gvp-lib-load-script"),window.getEmbeddedComponentRenderer=()=>N("@bestbuy/gvp-lib-embedded-component-renderer")})();
2//# sourceMappingURL=platformContainerOrchestrationProxy.11.20.10.js.map

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.