var elc_service_account;(()=>{var e,t,r={"./node_modules/@estee/elc-logging/node_modules/debug/src/browser.js":(e,t,r)=>{var n=r("./node_modules/process/browser.js");t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e={BROWSER:!0,NODE_ENV:"production"}.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r("./node_modules/@estee/elc-logging/node_modules/debug/src/common.js")(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"./node_modules/@estee/elc-logging/node_modules/debug/src/common.js":(e,t,r)=>{e.exports=function(e){function t(e){let r,o,s,i=null;function c(...e){if(!c.enabled)return;const n=c,o=Number(new Date),s=o-(r||o);n.diff=s,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";i++;const s=t.formatters[o];if("function"==typeof s){const t=e[i];r=s.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=n,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{var t=1e3,r=60*t,n=60*r,o=24*n,s=7*o,i=365.25*o;function c(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,a){a=a||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===l&&isFinite(e))return a.long?function(e){var s=Math.abs(e);if(s>=o)return c(e,s,o,"day");if(s>=n)return c(e,s,n,"hour");if(s>=r)return c(e,s,r,"minute");if(s>=t)return c(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=o)return Math.round(e/o)+"d";if(s>=n)return Math.round(e/n)+"h";if(s>=r)return Math.round(e/r)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"./node_modules/@estee/elc-logging/src/ELCLogger.ts":(e,t,r)=>{"use strict";r.d(t,{K:()=>I,z:()=>y});var n=r("./node_modules/@estee/elc-logging/node_modules/debug/src/browser.js");Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;"object"==typeof self&&(self.self,self);const o="undefined"==typeof window?r.g:window;var s,i;(i=s||(s={})).LIVE="live",i.FEATURE="feature",i.DEV="dev",i.STAGE="stage",i.CMS="cms",i.PERSONAL="personal",i.PRODUCTION="production";var c;!function(e){function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let n="";if(r){n=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${n};path=/`}function n(e){const t=`${e}=`,r=document.cookie.split(";");for(let e=0;e{const n=o(e);r!==n&&(r=n,t(n))}),2e3)}}(c||(c={}));const a=e=>"string"==typeof e,l={buid:[Boolean],context:[Boolean],environment:[Boolean,a],level:[Boolean,a],message:[Boolean,a],serviceName:[Boolean,a],serviceVersion:[Boolean,a],triggerType:[Boolean,a],userAgent:[Boolean,a]};var u=Object.defineProperty,d=Object.defineProperties,g=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&v(e,r,t[r]);if(h)for(var r of h(t))f.call(t,r)&&v(e,r,t[r]);return e};class C{constructor(){this.loggingServiceUrl="/stardust-fe-logging-v0/logMessage",this.queue=[],this.lastTimeExecuted=Date.now(),this.frontendLogger=o.site&&o.site.frontendLogger||{},this.addLogToQueue=e=>{this.queue.push(e),this.schedulePendingEvents()},this.schedulePendingEvents=()=>{this.isRequestIdleCallbackScheduled||(this.isRequestIdleCallbackScheduled=!0,o.requestIdleCallback(this.processPendingLogs))},this.processPendingLogs=()=>{this.isRequestIdleCallbackScheduled=!1,this.queue.length>0&&Date.now()-this.lastTimeExecuted>2e3&&(o.HttpTransport.post({url:this.loggingServiceUrl,body:this.queue}).catch((()=>console.error("Errors failed to be sent to sumoLogic",this.queue))),this.queue=[],this.lastTimeExecuted=Date.now()),this.queue.length>0&&this.schedulePendingEvents()}}generateRequestBody(e){const{config:t,level:r,logdata:n}=e,{payload:s={},message:i,triggerType:c}=n,{serviceName:a,serviceVersion:l,context:u,error:h}=s,{serviceName:m,serviceVersion:f,buid:v,environment:C}=t,y=h&&JSON.stringify(h,Object.getOwnPropertyNames(h));return{context:(b=p({},u),w={date:(new Date).toUTCString(),error:y},d(b,g(w))),environment:C||o.env,level:r,message:i,serviceName:a||m,serviceVersion:l||f,siteUrl:o.location.href,buid:v||o.buid,triggerType:c,userAgent:o.navigator.userAgent};var b,w}sendLog(e){const t=this.generateRequestBody(e),r=((this.frontendLogger.loggedServices||{})[t.serviceName]||{}).isEnabled;if(this.frontendLogger.isEnabled&&r){if(!(e=>Object.keys(l).reduce(((t,r)=>(l[r].forEach((n=>{const o=e[r];t.push(n(o))})),t)),[]).every(Boolean))(t))throw new Error("Request body for error logging did not validate");this.addLogToQueue(t)}}}var y,b,w=Object.defineProperty,S=Object.defineProperties,E=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,T=(e,t,r)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t,r)=>new Promise(((n,o)=>{var s=e=>{try{c(r.next(e))}catch(e){o(e)}},i=e=>{try{c(r.throw(e))}catch(e){o(e)}},c=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,i);c((r=r.apply(e,t)).next())}));(b=y||(y={})).runtimeError="runtimeError",b.api="api",b.graphqlApi="graphqlApi",b.render="render",b.serviceBus="serviceBus",b.config="config",b.translation="translation",b.other="other";class I{constructor(e){this.error=e=>F(this,null,(function*(){this.errorDebugger&&this.errorDebugger(this.enhanceLogData(e));const t=this.config.environment===s.PRODUCTION||o.env===s.PRODUCTION;if(t&&(()=>{let e=o.location.hostname.split(".");const{LIVE:t,FEATURE:r,DEV:n,STAGE:i,CMS:c,PERSONAL:a}=s;return e=e.filter((e=>!["www","m"].includes(e))),"c"!==e[0]&&"e"!==e[0]?t:e.includes(r)?r:e.includes(n)?n:e.includes(i)?i:e.includes(c)?c:a})()===s.LIVE||!t)return this.sendLog(e,"error")})),this.info=e=>{this.infoDebugger&&this.infoDebugger(this.enhanceLogData(e))},this.warning=e=>{this.warningDebugger&&this.warningDebugger(this.enhanceLogData(e))},this.event=e=>{this.eventDebugger&&this.eventDebugger(this.enhanceLogData(e))},this.query=e=>{this.queryDebugger&&this.queryDebugger(this.enhanceLogData(e))},this.command=e=>{this.commandDebugger&&this.commandDebugger(this.enhanceLogData(e))},this.enhanceLogData=e=>{return t=((e,t)=>{for(var r in t||(t={}))_.call(t,r)&&T(e,r,t[r]);if(O)for(var r of O(t))x.call(t,r)&&T(e,r,t[r]);return e})({},e),r={triggerSource:this.config.serviceName,date:(new Date).toUTCString()},S(t,E(r));var t,r},this.config=e;const t=(0,n.debug)(this.config.serviceName);o.loggerApiSDK=o.loggerApiSDK||new C,this.errorDebugger=t.extend("error"),this.infoDebugger=t.extend("info"),this.warningDebugger=t.extend("warning"),this.eventDebugger=t.extend("event"),this.queryDebugger=t.extend("query"),this.commandDebugger=t.extend("command")}sendLog(e,t){return F(this,null,(function*(){try{o.loggerApiSDK.sendLog({logdata:e,level:t,config:this.config})}catch(t){this.errorDebugger&&this.errorDebugger(this.enhanceLogData({message:"Could not send log",triggerType:y.api,payload:{error:t,context:e}}))}}))}}},"./node_modules/@estee/elc-service-view-names/src/index.ts":(e,t,r)=>{"use strict";r.d(t,{Ju:()=>n,Dw:()=>o,GS:()=>s,Fg:()=>i,l5:()=>c,m$:()=>a,W$:()=>l,sO:()=>u,FR:()=>d,R$:()=>g,nj:()=>h});const n="account-dashboard",o="account-latest-order",s="account-order-information",i="account-past-order-status-menu",c="account-sidebar",a="account-sidebar-loyalty",l="account-orders",u="account-orders-list",d="user-profile-welcome",g="user-profile-card",h="loyalty-points-info"},"./node_modules/@estee/elc-service/node_modules/@estee/elc-universal-utils/src/index.ts":(e,t,r)=>{"use strict";r.d(t,{cY:()=>i,YD:()=>c,AM:()=>l,Jz:()=>n});Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;"object"==typeof self&&(self.self,self);const n="undefined"==typeof window?r.g:window;var o,s;(s=o||(o={})).LIVE="live",s.FEATURE="feature",s.DEV="dev",s.STAGE="stage",s.CMS="cms",s.PERSONAL="personal",s.PRODUCTION="production";const i="elc-service-view-renderer",c="data-rendered-view";var a;!function(e){function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let n="";if(r){n=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${n};path=/`}function n(e){const t=`${e}=`,r=document.cookie.split(";");for(let e=0;e{const n=o(e);r!==n&&(r=n,t(n))}),2e3)}}(a||(a={}));const l=(e,t="")=>{return r=(e=>(n.serviceInfo=n.serviceInfo||{},n.ServiceRegistry=n.ServiceRegistry||{},n.serviceInfo[e]||n.ServiceRegistry[e]))(e),r&&r.version||t;var r}},"./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts":(e,t,r)=>{"use strict";r.d(t,{W:()=>l});var n=r("@estee/elc-service-bus"),o=r("./node_modules/@estee/elc-logging/src/ELCLogger.ts"),s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,c=(e,t,r)=>new Promise(((n,o)=>{var s=e=>{try{c(r.next(e))}catch(e){o(e)}},i=e=>{try{c(r.throw(e))}catch(e){o(e)}},c=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,i);c((r=r.apply(e,t)).next())}));class a{constructor(){this.ecommStarted=!1,this.setEcommHasStarted=()=>{this.ecommStarted=!0},this.onStart=e=>()=>c(this,null,(function*(){let t;try{if(this.serviceHasStarted)return void e();if(!this.ecommStarted)return;yield this.getContainer(),this.service=this.diContainer.get(this.serviceKey);const r=yield(0,n.query)(n.serviceQueries.GET_CONFIG,["ecommConfig"]);if(!r||!r.ecommConfig)throw new Error("EcommConfig not found");yield this.service.start(r.ecommConfig),(0,n.emit)(n.events.SERVICE_STARTED,{serviceName:this.serviceName})}catch(e){t=e,this.logger.error({triggerType:o.z.render,message:e.message,payload:{error:e}})}finally{e(t)}}))}get serviceHasStarted(){return Boolean(this.service&&this.service.isStarted)}getContainer(){return c(this,null,(function*(){return this.diContainer||(this.diContainer=(yield this.containerImport()).diContainer),this.diContainer}))}setServiceStartParams({serviceName:e,diContainerImport:t,serviceKey:r,serviceBusControllerKey:n,serviceBusBaseClass:s}){this.serviceName=e,this.containerImport=t,this.serviceKey=r,this.serviceBusControllerKey=n,this.serviceBusBaseClass=s,this.logger=new o.K({serviceName:e})}getServiceBusControllerMethod(e){return(...t)=>c(this,null,(function*(){yield this.startService();return(yield this.getContainer()).get(this.serviceBusControllerKey||"")[e].call(null,...t)}))}setDecoratorOnFunction(e){return([t,r])=>{if(!this.serviceBusBaseClass||!this.serviceBusControllerKey)throw new Error(`\n ServiceBus hasn't been provided to ServiceManager at setServiceStartParams method.\n ServiceBus: ${this.serviceBusBaseClass?"ServiceBus found":this.serviceBusBaseClass}.\n ServiceBusKey: (${this.serviceBusControllerKey})\n `);e(t)(this.serviceBusBaseClass.__proto__,r),this.serviceBusBaseClass[r]=this.getServiceBusControllerMethod(r)}}startService(){return c(this,null,(function*(){return this.startPromise||(this.startPromise=new Promise(((e,t)=>{let r=null;r=setInterval(this.onStart((n=>{r&&clearInterval(r),n?t(n):e()})),200)}))),this.startPromise}))}getController(e){if(!this.diContainer){const e="Can't request controller without starting the service first";throw this.logger.error({triggerType:o.z.render,message:e,payload:{serviceName:this.serviceName,context:{method:"getController method on ServiceManager"}}}),new Error(e)}return e?this.diContainer.get(e):void 0}}((e,t,r,n)=>{for(var o,c=n>1?void 0:n?i(t,r):t,a=e.length-1;a>=0;a--)(o=e[a])&&(c=(n?o(t,r,c):o(c))||c);n&&c&&s(t,r,c)})([(0,n.on)(n.events.ECOMM_STARTED,{replay:!0})],a.prototype,"setEcommHasStarted",2);const l=new a},"./node_modules/@estee/elc-universal-utils/src/index.ts":(e,t,r)=>{"use strict";r.d(t,{$W:()=>u,Jz:()=>i,q8:()=>c});var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;"object"==typeof self&&(self.self,self);const i="undefined"==typeof window?r.g:window,c=e=>{const t=e,{name:r}=t,c=((e,t)=>{var r={};for(var i in e)o.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&n)for(var i of n(e))t.indexOf(i)<0&&s.call(e,i)&&(r[i]=e[i]);return r})(t,["name"]);i.serviceInfo=i.serviceInfo||{},i.serviceInfo[r]=c};var a,l;(l=a||(a={})).LIVE="live",l.FEATURE="feature",l.DEV="dev",l.STAGE="stage",l.CMS="cms",l.PERSONAL="personal",l.PRODUCTION="production";function u(e){return e.replace(/-/g,"_")}var d;!function(e){function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let n="";if(r){n=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${n};path=/`}function n(e){const t=`${e}=`,r=document.cookie.split(";");for(let e=0;e{const n=o(e);r!==n&&(r=n,t(n))}),2e3)}}(d||(d={}))},"./src/service-setup/AccountService.ts":(e,t,r)=>{"use strict";r.d(t,{B:()=>a,Z:()=>l});var n=r("./node_modules/@estee/elc-service/node_modules/@estee/elc-universal-utils/src/index.ts"),o=r("./node_modules/@estee/elc-logging/src/ELCLogger.ts"),s=(e,t,r)=>new Promise(((n,o)=>{var s=e=>{try{c(r.next(e))}catch(e){o(e)}},i=e=>{try{c(r.throw(e))}catch(e){o(e)}},c=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,i);c((r=r.apply(e,t)).next())}));n.Jz.ServiceRegistry=n.Jz.ServiceRegistry||{};const i=()=>s(void 0,null,(function*(){}));var c=r("./src/service-setup/packageInfo.ts");class a extends class{constructor(e,t,r=null){this.name=e,this.version=t,this.serviceInitializer=r,this.isStarted=!1}static setViews(e,t,r,o){n.Jz.ServiceRegistry[e]={name:t,version:r,views:o,isStarted:!0}}initializeService(e){return s(this,null,(function*(){try{const t=this.serviceInitializer||i;yield t(e),this.isStarted=!0}catch(e){this.logger.error({message:`Could not start service ${this.name}`,triggerType:o.z.render,payload:{error:e,context:{serviceRegistry:n.Jz.ServiceRegistry}}})}finally{this.isStarted=!0}}))}start(e){return this.startPromise||this.isStarted||(this.logger=this.logger||new o.K({serviceName:this.name,environment:e.env||n.Jz.env,buid:e.businessUnitId||n.Jz.buid,serviceVersion:this.version}),this.startPromise=this.initializeService(e)),this.startPromise}}{constructor(e){super(c.H,c.i,e)}}const l={accountOverlay:"ACCOUNT_OVERLAY",accountRepository:"ACCOUNT_REPOSITORY",accountService:"ACCOUNT_SERVICE",accountDashboardViewController:"ACCOUNT_DASHBOARD_VIEW_CONTROLLER",accountOrdersViewController:"ACCOUNT_ORDERS_VIEW_CONTROLLER",accountSidebarViewController:"ACCOUNT_SIDEBAR_VIEW_CONTROLLER",authenticatedRepository:"AUTHENTICATED_REPOSITORY",config:"CONFIG",configRepository:"CONFIG_REPOSITORY",httpTransport:"HTTP_TRANSPORT",serviceBusController:"SERVICE_BUS_CONTROLLER"}},"./src/service-setup/packageInfo.ts":(e,t,r)=>{"use strict";r.d(t,{H:()=>n,i:()=>o});const{name:n,version:o}={branchName:"release/2.8",commitHash:"0e7032107b69f7918e3616262d1ab3fad9c80235",version:"2.8.0",name:"elc-service-account"}},"./node_modules/process/browser.js":e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,a=[],l=!1,u=-1;function d(){l&&c&&(l=!1,c.length?a=c.concat(a):u=-1,a.length&&g())}function g(){if(!l){var e=i(d);l=!0;for(var t=a.length;t;){for(c=a,a=[];++u1)for(var r=1;r{"use strict";e.exports=ElcServiceBus},"@estee/elc-http-transport":e=>{"use strict";e.exports=ElcRuntime.HttpTransport},"hypo-container":e=>{"use strict";e.exports=ElcRuntime.HypoContainer},react:e=>{"use strict";e.exports=ElcRuntime.React},"react-dom":e=>{"use strict";e.exports=ElcRuntime.ReactDom},mobx:e=>{"use strict";e.exports=ElcRuntime.mobx},"mobx-react":e=>{"use strict";e.exports=ElcRuntime.mobxReact},"styled-components":e=>{"use strict";e.exports=ElcRuntime.styled5}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}};return r[e](s,s.exports,o),s.exports}o.m=r,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>e+"."+{diContainer:"a0453436c3028ac5547d","account-dashboard":"5bb7c1bd6e9291b97d11","account-orders":"1661f5ca4bf87ca40105","account-sidebar":"226a9ebb969224a5ec72","vendors-node_modules_estee_elc-layouts_src_views_OrderRender_tsx-node_modules_estee_elc-servi-53177e":"34d155b1cdfd5c1c79ff","vendors-node_modules_estee_elc-slider_src_views_SliderView_tsx":"da04d3e3cc8758587ee7","src_exported_account-dashboard_AccountDashboard_tsx":"a10b6a8dcd5e75ff242a","src_exported_account-orders_AccountOrders_tsx":"6a51966355301b56c63c","vendors-node_modules_estee_elc-icons_src_views_RemoveIcon_tsx-node_modules_estee_elc-icons_sr-e6fc4c":"5fdef5f8b0337f6f73b7","src_exported_account-sidebar_AccountSidebar_tsx":"477c92be5585621ea89d"}[e]+".bundle.js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elc-service-account:",o.l=(r,n,s,i)=>{if(e[r])e[r].push(n);else{var c,a;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u{c.onerror=c.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(g.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=g.bind(null,c.onerror),c.onload=g.bind(null,c.onload),a&&document.head.appendChild(c)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e={elc_service_account:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var s=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=s);var i=o.p+o.u(t),c=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var s=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+s+": "+i+")",c.name="ChunkLoadError",c.type=s,c.request=i,n[1](c)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,s,[i,c,a]=r,l=0;if(i.some((t=>0!==e[t]))){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);if(a)a(o)}for(t&&t(r);l{"use strict";var e=o("./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts"),t=o("./node_modules/@estee/elc-service-view-names/src/index.ts"),r=o("./node_modules/@estee/elc-universal-utils/src/index.ts"),n=o("./src/service-setup/AccountService.ts");var s=o("@estee/elc-service-bus"),i=Object.defineProperty,c=Object.getOwnPropertyDescriptor;const a=[[s.serviceCommands.ACCOUNT_OVERLAY_SHOW,"showOverlay"],[s.serviceCommands.ACCOUNT_OVERLAY_HIDE,"hideOverlay"]];class l extends class{constructor(){}}{constructor(){super(...arguments),this.onEcommStarted=()=>{a.forEach(e.W.setDecoratorOnFunction(s.commandProvider))}}}((e,t,r,n)=>{for(var o,s=n>1?void 0:n?c(t,r):t,a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n?o(t,r,s):o(s))||s);n&&s&&i(t,r,s)})([(0,s.on)(s.events.ECOMM_STARTED,{replay:!0})],l.prototype,"onEcommStarted",2);const u=new l;(0,r.q8)({branchName:"release/2.8",commitHash:"0e7032107b69f7918e3616262d1ab3fad9c80235",version:"2.8.0",name:"elc-service-account"});const{name:d,version:g}={branchName:"release/2.8",commitHash:"0e7032107b69f7918e3616262d1ab3fad9c80235",version:"2.8.0",name:"elc-service-account"};n.B.setViews(d,(0,r.$W)(d),g,[t.l5,t.Ju,t.W$]),e.W.setServiceStartParams({serviceName:d,diContainerImport:()=>o.e("diContainer").then(o.bind(o,"./src/service-setup/diContainer.ts")),serviceKey:n.Z.accountService,serviceBusControllerKey:n.Z.serviceBusController,serviceBusBaseClass:u})})(),(()=>{"use strict";var e=s,t={"./diContainer":()=>o.e("diContainer").then((()=>()=>o("./src/service-setup/diContainer.ts"))),"./account-dashboard":()=>o.e("account-dashboard").then((()=>()=>o("./src/exported/account-dashboard/index.ts"))),"./account-orders":()=>o.e("account-orders").then((()=>()=>o("./src/exported/account-orders/index.ts"))),"./account-sidebar":()=>o.e("account-sidebar").then((()=>()=>o("./src/exported/account-sidebar/index.ts")))},r=(e,r)=>(o.R=r,r=o.o(t,e)?t[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),o.R=void 0,r),n=(e,t)=>{if(o.S){var r=o.S.default,n="default";if(r&&r!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return o.S[n]=e,o.I(n,t)}};o.d(e,{get:()=>r,init:()=>n})})(),elc_service_account=s})(); //# sourceMappingURL=bundle.js.map