var elc_service_translations;(()=>{"use strict";var e,t,r={"./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts":(e,t,r)=>{r.d(t,{W:()=>c});var s=r("@estee/elc-service-bus"),n=r("@estee/elc-logging"),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=(e,t,r)=>new Promise(((s,n)=>{var i=e=>{try{a(r.next(e))}catch(t){n(t)}},o=e=>{try{a(r.throw(e))}catch(t){n(t)}},a=e=>e.done?s(e.value):Promise.resolve(e.value).then(i,o);a((r=r.apply(e,t)).next())}));class l{constructor(){this.ecommStarted=!1,this.getContainer=()=>a(this,null,(function*(){return this.diContainer||(this.diContainer=(yield this.containerImport()).diContainer),this.diContainer})),this.handleServiceBusError=()=>{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 `)},this.getServiceBusController=()=>a(this,null,(function*(){let e;try{yield this.startService();if(e=(yield this.getContainer()).get(this.serviceBusControllerKey),!e)throw new Error("ServiceBusController not found inside diContainer")}catch(t){this.logger.error({triggerType:n.TriggerType.render,message:t.message,payload:{error:t}})}return e})),this.setServiceStartParams=({serviceName:e,diContainerImport:t,serviceKey:r,serviceBusControllerKey:s,serviceBus:i})=>{var o;this.serviceName=e,this.containerImport=t,this.serviceKey=r,this.serviceBusControllerKey=s,this.logger=new n.ELCLogger({serviceName:e}),this.serviceBusBaseClass=null==i?void 0:i.serviceBusBaseClass,null==(o=null==i?void 0:i.createServiceBusMethod)||o.call(i)},this.getServiceBusControllerMethod=e=>(...t)=>a(this,null,(function*(){return(yield this.getServiceBusController())[e].call(null,...t)})),this.setDecoratorOnFunction=e=>([t,r])=>{this.serviceBusBaseClass&&this.serviceBusControllerKey?(e(t)(this.serviceBusBaseClass.__proto__,r),this.serviceBusBaseClass[r]=this.getServiceBusControllerMethod(r)):this.handleServiceBusError()},this.setDecoratorOnProperty=e=>([t,r])=>{this.serviceBusBaseClass&&this.serviceBusControllerKey?(e(r)(this.serviceBusBaseClass.__proto__,t),Object.defineProperty(this.serviceBusBaseClass.__proto__,t,{configurable:!0,enumerable:!0,set(e){return this.getServiceBusController().then((r=>{r[t]=e}))}})):this.handleServiceBusError()},this.setEcommHasStarted=()=>{this.ecommStarted=!0},this.onStart=(e,t)=>()=>a(this,null,(function*(){let r;try{if(this.serviceHasStarted)return void e();if(!t&&!this.ecommStarted)return;yield this.getContainer(),this.service=this.diContainer.get(this.serviceKey);let r=t;if(!r){const e=yield(0,s.query)(s.serviceQueries.GET_CONFIG,["ecommConfig"]);if(!e||!e.ecommConfig)throw new Error("EcommConfig not found");r=e.ecommConfig}yield this.service.start(r),(0,s.emit)(s.events.SERVICE_STARTED,{serviceName:this.serviceName})}catch(i){r=i,this.logger.error({triggerType:n.TriggerType.render,message:i.message,payload:{error:i}})}finally{e(r)}})),this.startService=e=>(this.startPromise||(this.startPromise=new Promise(((t,r)=>{let s=null;s=setInterval(this.onStart((e=>{s&&clearInterval(s),e?r(e):t()}),e),200)}))),this.startPromise),this.getController=e=>{if(!this.diContainer){const e="Can't request controller without starting the service first";throw this.logger.error({triggerType:n.TriggerType.render,message:e,payload:{serviceName:this.serviceName,context:{method:"getController method on ServiceManager"}}}),new Error(e)}return e?this.diContainer.get(e):void 0}}get serviceHasStarted(){return Boolean(this.service&&this.service.isStarted)}}((e,t,r,s)=>{for(var n,a=s>1?void 0:s?o(t,r):t,l=e.length-1;l>=0;l--)(n=e[l])&&(a=(s?n(t,r,a):n(a))||a);s&&a&&i(t,r,a)})([(0,s.on)(s.events.ECOMM_STARTED,{replay:!0})],l.prototype,"setEcommHasStarted",2);const c=new l},"./node_modules/@estee/elc-universal-utils/src/index.ts":(e,t,r)=>{r.d(t,{$W:()=>l,Jz:()=>o,q8:()=>a});var s=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;"object"==typeof self&&(self.self,self);const o="undefined"==typeof window?r.g:window,a=e=>{const t=e,{name:r}=t,a=((e,t)=>{var r={};for(var o in e)n.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&s)for(var o of s(e))t.indexOf(o)<0&&i.call(e,o)&&(r[o]=e[o]);return r})(t,["name"]);o.serviceInfo=o.serviceInfo||{},o.serviceInfo[r]=a};function l(e){return e.replace(/-/g,"_")}var c;(e=>{function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let s="";if(r){s=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${s};path=/`}function s(e){const t=`${e}=`,r=document.cookie.split(";");for(let s=0;s{const s=n(e);r!==s&&(r=s,t(s))}),2e3)}})(c||(c={}))},"./src/service-setup/ServiceBusController.ts":(e,t,r)=>{r.d(t,{e:()=>o});var s=r("@estee/elc-service-bus"),n=Object.defineProperty,i=Object.getOwnPropertyDescriptor;class o{constructor(e){this.translationsRepository=e,this.loadTranslations=e=>{return t=this,r=null,s=function*(){return yield this.translationsRepository.getTranslations(e)},new Promise(((e,n)=>{var i=e=>{try{a(s.next(e))}catch(t){n(t)}},o=e=>{try{a(s.throw(e))}catch(t){n(t)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,o);a((s=s.apply(t,r)).next())}));var t,r,s}}}((e,t,r,s)=>{for(var o,a=s>1?void 0:s?i(t,r):t,l=e.length-1;l>=0;l--)(o=e[l])&&(a=(s?o(t,r,a):o(a))||a);s&&a&&n(t,r,a)})([(0,s.queryProvider)(s.serviceQueries.GET_TRANSLATIONS)],o.prototype,"loadTranslations",2)},"./src/service-setup/TranslationsService.ts":(e,t,r)=>{r.d(t,{f:()=>h,Z:()=>d});Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;"object"==typeof self&&(self.self,self);const s="undefined"==typeof window?r.g:window;var n;(e=>{function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let s="";if(r){s=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${s};path=/`}function s(e){const t=`${e}=`,r=document.cookie.split(";");for(let s=0;s{const s=n(e);r!==s&&(r=s,t(s))}),2e3)}})(n||(n={}));var i=r("@estee/elc-logging"),o=(e,t,r)=>new Promise(((s,n)=>{var i=e=>{try{a(r.next(e))}catch(t){n(t)}},o=e=>{try{a(r.throw(e))}catch(t){n(t)}},a=e=>e.done?s(e.value):Promise.resolve(e.value).then(i,o);a((r=r.apply(e,t)).next())}));s.ServiceRegistry=s.ServiceRegistry||{};const a=()=>o(void 0,null,(function*(){}));class l{constructor(e,t,r=null){this.name=e,this.version=t,this.serviceInitializer=r,this.isStarted=!1}static setViews(e,t,r,n){s.ServiceRegistry[e]={name:t,version:r,views:n,isStarted:!0}}initializeService(e){return o(this,null,(function*(){try{const t=this.serviceInitializer||a;yield t(e),this.isStarted=!0}catch(t){this.logger.error({message:`Could not start service ${this.name}`,triggerType:i.TriggerType.render,payload:{error:t,context:{serviceRegistry:s.ServiceRegistry}}})}finally{this.isStarted=!0}}))}start(e){return this.startPromise||this.isStarted||(this.logger=this.logger||new i.ELCLogger({serviceName:this.name,environment:e.env||s.env,buid:e.businessUnitId||s.buid,serviceVersion:this.version}),this.startPromise=this.initializeService(e)),this.startPromise}}const{name:c,version:u}={branchName:"release/6.37",commitHash:"60580d25fb865cdb90d0a46e2323051b99a88107",version:"6.37.0",name:"elc-service-translations"};class h extends l{constructor(e){super(c,u,e)}}const d={configStore:"CONFIG_STORE",httpTransport:"HTTP_TRANSPORT",translationsApiSdk:"API_SDK",translationsRepository:"TRANSLATIONS_REPOSITORY",translationsService:"TRANSLATIONS_SERVICE",serviceBusController:"SERVICE_BUS_CONTROLLER"}},"./src/service-setup/diContainer.tsx":(e,t,r)=>{r.r(t),r.d(t,{diContainer:()=>V,serviceStarter:()=>q});const s=ElcRuntime.HypoContainer,n=ElcRuntime.HttpTransport;var i=r("./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts");Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const o="object"==typeof self&&self.self===self&&self||"object"==typeof r.g&&r.g.global===r.g&&r.g||window;var a;(e=>{function t(e){document.cookie=`${e}=; Max-Age=-99999999;`}function r(e,t,r){let s="";if(r){s=`; expires=${("number"==typeof r?new Date(Date.now()+24*r*60*60*1e3):r).toUTCString()}`}document.cookie=`${e}=${t||""}${s};path=/`}function s(e){const t=`${e}=`,r=document.cookie.split(";");for(let s=0;s{const s=n(e);r!==s&&(r=s,t(s))}),2e3)}})(a||(a={}));var l=r("@estee/elc-logging"),c=(e,t,r)=>new Promise(((s,n)=>{var i=e=>{try{a(r.next(e))}catch(t){n(t)}},o=e=>{try{a(r.throw(e))}catch(t){n(t)}},a=e=>e.done?s(e.value):Promise.resolve(e.value).then(i,o);a((r=r.apply(e,t)).next())}));const u="AuthorizationToken";class h{constructor(e,t,r){this.delete=e=>c(this,null,(function*(){let t={data:{},reponseHeaders:{}};try{t=yield this.httpTransport.delete(e)}catch(r){this.handleError(r,"delete",e)}return t})),this.get=(e,...t)=>c(this,[e,...t],(function*(e,{debounceInterval:t=200,bypassCache:r=!1}={}){let s={data:{},reponseHeaders:{}};try{s=yield this.httpTransport.get(e,{debounceInterval:t,bypassCache:r})}catch(n){this.handleError(n,"get",e)}return s})),this.patch=e=>c(this,null,(function*(){let t={data:{},reponseHeaders:{}};try{t=yield this.httpTransport.patch(e)}catch(r){this.handleError(r,"patch",e)}return t})),this.post=e=>c(this,null,(function*(){let t={data:{},reponseHeaders:{}};try{t=yield this.httpTransport.post(e)}catch(r){this.handleError(r,"post",e)}return t})),this.put=e=>c(this,null,(function*(){let t={data:{},reponseHeaders:{}};try{t=yield this.httpTransport.put(e)}catch(r){this.handleError(r,"put",e)}return t})),this.handleError=(e,t,r)=>{this.logger.error({triggerType:l.TriggerType.api,message:`${e}`,payload:{context:{subdomain:o.site&&o.site.client&&o.site.client.subdomain,originalPayload:r,requestType:t},error:e}})},this.httpTransport=e.httpTransport,this.businessUnitId=e.businessUnitId,this.logger=new l.ELCLogger({serviceName:t,serviceVersion:r})}addHeader(e){this.httpTransport.addGlobalHeaders(e)}removeHeader(e){this.httpTransport.removeGlobalHeader(e)}setBearerToken(e){e?this.addHeader({[u]:`${e}`}):this.removeHeader(u)}}var d=Object.defineProperty,p=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&m(e,r,t[r]);if(p)for(var r of p(t))v.call(t,r)&&m(e,r,t[r]);return e};const y="ELC_API_HOST",b="ELC_API_AUTH";class w extends h{constructor(e,t,r){super(e,t,r),this.fetch=e=>{return t=this,r=[e],s=function*({url:e,headers:t={}}){const r=f(f({},w.getHeaders()),t);return!w.useApiCookies()||w.getApiHost()&&w.getApiAuth()?this.get({url:e,headers:r},{debounceInterval:100}):(w.displayMessages(),{data:{},headers:null})},new Promise(((e,n)=>{var i=e=>{try{a(s.next(e))}catch(t){n(t)}},o=e=>{try{a(s.throw(e))}catch(t){n(t)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,o);a((s=s.apply(t,r)).next())}));var t,r,s},w.drupalDomain=e.drupalDomain||"",this.apiHost=w.getApiHost(),this.channel=w.getChannel(),this.revTag=w.getRevTag()}static displayMessages(){console.warn("%cATTENTION!","font-weight: bold; font-size: 50px; color: red; text-shadow: 3px 3px 0 rgb(217,31,38), 6px 6px 0 rgb(226,91,14), 9px 9px 0 rgb(245,221,8), 12px 12px 0 rgb(5,148,68), 15px 15px 0 rgb(2,135,206), 18px 18px 0 rgb(4,77,145), 21px 21px 0 rgb(42,21,113)"),console.warn(`%cDrupalApi: %cmissing ${y} and/or ${b} cookies (elc-drupal-api)`,"font-weight: bold","font-weight: normal")}static isLocalhost(){return o.location&&o.location.hostname.indexOf("localhost")>-1}static isAutotest(){return o.location&&o.location.hostname.indexOf("api.elco.cloud")>-1}static useApiCookies(){return(w.isLocalhost()||w.isAutotest())&&!w.drupalDomain}static getHeaders(){const e={};return w.getApiAuth()&&(e.Authorization=`Basic ${Buffer.from(w.getApiAuth()).toString("base64")}`),e}static getApiHost(){const e=a.getCookie(y);return w.useApiCookies()&&e?e:""}static getApiAuth(){const e=a.getCookie(b);return w.useApiCookies()&&e?e:""}static getChannel(){return o.location&&o.location.host.search(/m[tmp]*\./)>-1?"mobile":""}static getRevTag(){const e=a.getCookie("ELC_SITE_TAG");return e||""}}const{name:S,version:T}={branchName:"release/6.37",commitHash:"60580d25fb865cdb90d0a46e2323051b99a88107",version:"6.37.0",name:"elc-service-translations"};class C extends w{constructor(e){super(e,S,T),this.translationsApiBasePath="elc_api/translations",this.fetchTranslations=e=>{return t=this,r=null,s=function*(){const t=this.getApiUrl(e);return(yield this.fetch({url:t})).data},new Promise(((e,n)=>{var i=e=>{try{a(s.next(e))}catch(t){n(t)}},o=e=>{try{a(s.throw(e))}catch(t){n(t)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(i,o);a((s=s.apply(t,r)).next())}));var t,r,s},this.drupalDomain=e.drupalDomain||""}static doCleanRequestPayload(e){return e.sort().map((e=>`${e}:*`)).join("&")}getApiUrl(e){const t=C.doCleanRequestPayload(e),r=this.drupalDomain||this.apiHost,s=this.channel,n=this.revTag,i=[r,this.translationsApiBasePath,t],o=[`buid:${this.businessUnitId}`];return s&&o.push(`channel:${s}`),n&&o.push(`rev_tag:${n}`),i.push(o.join("&")),i.join("/")}}const O=ElcRuntime.mobx;var P=Object.defineProperty,x=Object.getOwnPropertyDescriptor,E=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,A=(e,t,r)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t,r,s)=>{for(var n,i=s>1?void 0:s?x(t,r):t,o=e.length-1;o>=0;o--)(n=e[o])&&(i=(s?n(t,r,i):n(i))||i);return s&&i&&P(t,r,i),i};class j{constructor(e){this.updateConfig(e)}updateConfig(e){this.config=((e,t)=>{for(var r in t||(t={}))I.call(t,r)&&A(e,r,t[r]);if(E)for(var r of E(t))B.call(t,r)&&A(e,r,t[r]);return e})({},e)}}_([O.observable],j.prototype,"config",2),_([O.action],j.prototype,"updateConfig",1);var k=r("./node_modules/@estee/elc-universal-utils/src/index.ts"),$=r("./src/service-setup/TranslationsService.ts"),R=Object.defineProperty,H=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,D=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L=(e,t)=>{for(var r in t||(t={}))N.call(t,r)&&D(e,r,t[r]);if(H)for(var r of H(t))M.call(t,r)&&D(e,r,t[r]);return e},z=(e,t,r)=>new Promise(((s,n)=>{var i=e=>{try{a(r.next(e))}catch(t){n(t)}},o=e=>{try{a(r.throw(e))}catch(t){n(t)}},a=e=>e.done?s(e.value):Promise.resolve(e.value).then(i,o);a((r=r.apply(e,t)).next())}));const{name:U,version:Z}={branchName:"release/6.37",commitHash:"60580d25fb865cdb90d0a46e2323051b99a88107",version:"6.37.0",name:"elc-service-translations"};class K{constructor(){this.translations={},this.logger=new l.ELCLogger({serviceName:U,environment:k.Jz.env,buid:k.Jz.buid,serviceVersion:Z}),this.getTranslationsMapping=()=>r.e("src_internal_translation-mappings_index_ts").then(r.bind(r,"./src/internal/translation-mappings/index.ts")),this.processTranslationsFromWindow=()=>z(this,null,(function*(){let e=this.loadFromWindow;return 0===Object.keys(e).length&&(yield this.getTranslationsMapping(),e=yield this.loadFromApi(Object.keys(this.translationsCollections)),k.Jz.site={translations:e}),this.setTranslations(e),e})),this.getTranslations=e=>z(this,null,(function*(){if(e.sort(),0===e.length){const e=new Error("Requested translations fields are empty");return this.logger.error({message:e.message,triggerType:l.TriggerType.translation,payload:{error:e}}),{}}return yield this.getTranslationsMapping(),yield this.hydrateTranslations(e),e.reduce(((e,t)=>(Object.defineProperty(e,t,{value:this.getFieldValue(t),writable:!1,enumerable:!0}),e)),{})})),this.getFieldValue=e=>{const{translations:t}=this,r=e in this.translationMapping&&this.translationMapping[e];if(!r){const t=new Error(`Translation field ${e} not found`);return this.logger.warning({message:t.message,triggerType:l.TriggerType.translation,payload:{error:t}}),""}const[s,n]=r.split(".");return s in t&&n in t[s]?t[s][n]:""},this.hydrateTranslations=e=>z(this,null,(function*(){const t=((e,t)=>e.reduce(((e,r)=>{if(!t[r])return e;const s=t[r],[n,i]=s.split(".");return n in e||(e[n]={}),e[n][i]="",e}),{}))(e,this.translationMapping);this.setTranslations(t);const r=yield this.windowTranslations;this.setTranslations(r);const s=this.cleanTranslations();this.setTranslations(s)})),this.loadFromApi=e=>this.translationsApiSdk.fetchTranslations(e),this.translationsApiSdk=V.get($.Z.translationsApiSdk),this.getTranslationsMapping().then((({translationsCollections:e})=>{this.translationsCollections=e,this.translationMapping=(e=>Object.keys(e).reduce(((t,r)=>(Object.keys(e[r]).reduce(((t,s)=>{const n=e[r][s];if(-1!==n.indexOf("."))throw new Error("Invalid key name. Keys must not contain periods.");return t[s]=`${r}.${n}`,t}),t),t)),{}))(e)})).catch((e=>{this.logger.error({triggerType:l.TriggerType.api,message:"Error getting translations collections",payload:{error:e}})})),this.config={configStore:V.get($.Z.configStore)},this.windowTranslations=this.processTranslationsFromWindow().catch((e=>(this.logger.error({triggerType:l.TriggerType.api,message:"Error getting translations from window",payload:{error:e}}),this.translations)))}setTranslations(e){Object.entries(e).forEach((([e,t])=>{Object.defineProperty(this.translations,e,{value:L(L({},this.translations[e]),t),writable:!0,enumerable:!0})}))}addDefaultVals(e,t){const{configStore:r}=this.config,s=r.config&&!1!==r.config.showTranslationsPlaceholder;return Object.entries(t).reduce(((t,[r,n])=>(n||Object.defineProperty(t,r,{value:s?`::${e}.${r}::`:"",writable:!0,enumerable:!0}),t)),{})}cleanTranslations(){return Object.entries(this.translations).reduce(((e,[t,r])=>{const s=this.addDefaultVals(t,r);return e[t]=L(L({},r),s),e}),{})}get loadFromWindow(){return k.Jz&&k.Jz.site&&k.Jz.site.translations||{}}}var F=r("./src/service-setup/ServiceBusController.ts");const V=new s.Container;V.register($.Z.configStore,V.factory((e=>new j(e.config)))).register($.Z.httpTransport,(e=>{const t=e.get($.Z.configStore),r=new n.HttpTransport;return r.setBaseUrl(t.baseUrl),r})).register($.Z.translationsApiSdk,(e=>{const t=e.get($.Z.configStore),r=e.get($.Z.httpTransport),s={businessUnitId:t.config.businessUnitId,httpTransport:r,drupalDomain:t.config.drupalDomain||""};return new C(s)})).register($.Z.translationsRepository,(()=>new K)).register($.Z.serviceBusController,(e=>new F.e(e.get($.Z.translationsRepository)))).register($.Z.translationsService,(e=>new $.f((t=>{var r;return r=t,V.config=r,e.get($.Z.serviceBusController)}))));const q=i.W.startService},"@estee/elc-service-bus":e=>{e.exports=ElcServiceBus},"@estee/elc-logging":e=>{e.exports=ElcRuntime.ELCLogger}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return r[e](i,i.exports,n),i.exports}n.m=r,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".9b3377e63ee8731886d1.bundle.js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elc-service-translations:",n.l=(r,s,i,o)=>{if(e[r])e[r].push(s);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var n=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach((e=>e(s))),t)return t(s)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),l&&document.head.appendChild(a)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.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(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={elc_service_translations:0};n.f.j=(t,r)=>{var s=n.o(e,t)?e[t]:void 0;if(0!==s)if(s)r.push(s[2]);else{var i=new Promise(((r,n)=>s=e[t]=[r,n]));r.push(s[2]=i);var o=n.p+n.u(t),a=new Error;n.l(o,(r=>{if(n.o(e,t)&&(0!==(s=e[t])&&(e[t]=void 0),s)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,s[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var s,i,[o,a,l]=r,c=0;if(o.some((t=>0!==e[t]))){for(s in a)n.o(a,s)&&(n.m[s]=a[s]);if(l)l(n)}for(t&&t(r);c{var e=n("./node_modules/@estee/elc-universal-utils/src/index.ts"),t=n("./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts"),r=n("./src/service-setup/TranslationsService.ts");n("./src/service-setup/ServiceBusController.ts"),n("./src/service-setup/diContainer.tsx");(0,e.q8)({branchName:"release/6.37",commitHash:"60580d25fb865cdb90d0a46e2323051b99a88107",version:"6.37.0",name:"elc-service-translations"});const{name:s,version:i}={branchName:"release/6.37",commitHash:"60580d25fb865cdb90d0a46e2323051b99a88107",version:"6.37.0",name:"elc-service-translations"};r.f.setViews(s,(0,e.$W)(s),i,[]),t.W.setServiceStartParams({serviceName:s,diContainerImport:()=>Promise.resolve().then(n.bind(n,"./src/service-setup/diContainer.tsx")),serviceKey:r.Z.translationsService})})(),i=c,o={"./diContainer":()=>Promise.resolve().then((()=>()=>n("./src/service-setup/diContainer.tsx")))},a=(e,t)=>(n.R=t,t=n.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),n.R=void 0,t),l=(e,t)=>{if(n.S){var r="default",s=n.S[r];if(s&&s!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return n.S[r]=e,n.I(r,t)}},n.d(i,{get:()=>a,init:()=>l}),elc_service_translations=c})(); //# sourceMappingURL=bundle.js.map