PageSourceSearch

https://www.volkswagen-veicolicommerciali.it/etc.clientlibs/client…/clientlibs-priority.7aff33b2c31b9933.js

js volkswagen-veicolicommerciali.it collected 2026-10-05 10:29:22 UTC 81,915 bytes, 3 lines download raw bytes

1/*! For license information please see clientlibs-priority.7aff33b2c31b9933.js.LICENSE.txt */
2(()=>{var e={57572(e,t){e.exports=t=fetch.bind(window),t.fetch=fetch.bind(window),t.Headers=fetch.Headers,t.Request=fetch.Request,t.Response=fetch.Response,t.default=fetch.bind(window)},22265(e){!function(t){var n=function(e,t,n){"use strict";var r,o;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in o=e.lazySizesConfig||e.lazysizesConfig||{},n)t in o||(o[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var i,a,s,c,l,u,f,d,g,p,h,v,m,y,b,w,O,S,P,j,z,E,I,C,A,k,L,D,T,M,x,_,U,N,R,V,H,q,$,Q,W,G,F,B,X=t.documentElement,J=e.HTMLPictureElement,K="addEventListener",Z="getAttribute",Y=e[K].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ne=e.requestIdleCallback,re=/^picture$/i,oe=["load","error","lazyincluded","_lazyloaded"],ie={},ae=Array.prototype.forEach,se=function(e,t){return ie[t]||(ie[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),ie[t].test(e[Z]("class")||"")&&ie[t]},ce=function(e,t){se(e,t)||e.setAttribute("class",(e[Z]("class")||"").trim()+" "+t)},le=function(e,t){var n;(n=se(e,t))&&e.setAttribute("class",(e[Z]("class")||"").replace(n," "))},ue=function(e,t,n){var r=n?K:"removeEventListener";n&&ue(e,t),oe.forEach(function(n){e[r](n,t)})},fe=function(e,n,o,i,a){var s=t.createEvent("Event");return o||(o={}),o.instance=r,s.initEvent(n,!i,!a),s.detail=o,e.dispatchEvent(s),s},de=function(t,n){var r;!J&&(r=e.picturefill||o.pf)?(n&&n.src&&!t[Z]("srcset")&&t.setAttribute("srcset",n.src),r({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},ge=function(e,t){return(getComputedStyle(e,null)||{})[t]},pe=function(e,t,n){for(n=n||e.offsetWidth;n<o.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},he=(W=[],G=Q=[],B=function(e,n){q&&!n?e.apply(this,arguments):(G.push(e),$||($=!0,(t.hidden?ee:te)(F)))},B._lsFlush=F=function(){var e=G;for(G=Q.length?W:Q,q=!0,$=!1;e.length;)e.shift()();q=!1},B),ve=function(e,t){return t?function(){he(e)}:function(){var t=this,n=arguments;he(function(){e.apply(t,n)})}},me=function(e){var t,r,o=function(){t=null,e()},i=function(){var e=n.now()-r;e<99?ee(i,99-e):(ne||o)(o)};return function(){r=n.now(),t||(t=ee(i,99))}},ye=(O=/^img$/i,S=/^iframe$/i,P="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),j=0,z=0,E=-1,I=function(e){z--,(!e||z<0||!e.target)&&(z=0)},C=function(e){return null==w&&(w="hidden"==ge(t.body,"visibility")),w||!("hidden"==ge(e.parentNode,"visibility")&&"hidden"==ge(e,"visibility"))},A=function(e,n){var r,o=e,i=C(e);for(v-=n,b+=n,m-=n,y+=n;i&&(o=o.offsetParent)&&o!=t.body&&o!=X;)(i=(ge(o,"opacity")||1)>0)&&"visible"!=ge(o,"overflow")&&(r=o.getBoundingClientRect(),i=y>r.left&&m<r.right&&b>r.top-1&&v<r.bottom+1);return i},L=function(e){var t,r=0,i=o.throttleDelay,a=o.ricTimeout,s=function(){t=!1,r=n.now(),e()},c=ne&&a>49?function(){ne(s,{timeout:a}),a!==o.ricTimeout&&(a=o.ricTimeout)}:ve(function(){ee(s)},!0);return function(e){var o;(e=!0===e)&&(a=33),t||(t=!0,(o=i-(n.now()-r))<0&&(o=0),e||o<9?c():ee(c,o))}}(k=function(){var e,n,i,a,s,c,f,g,O,S,I,k,L=r.elements;if((d=o.loadMode)&&z<8&&(e=L.length)){for(n=0,E++;n<e;n++)if(L[n]&&!L[n]._lazyRace)if(!P||r.prematureUnveil&&r.prematureUnveil(L[n]))N(L[n]);else if((g=L[n][Z]("data-expand"))&&(c=1*g)||(c=j),S||(S=!o.expand||o.expand<1?X.clientHeight>500&&X.clientWidth>500?500:370:o.expand,r._defEx=S,I=S*o.expFactor,k=o.hFac,w=null,j<I&&z<1&&E>2&&d>2&&!t.hidden?(j=I,E=0):j=d>1&&E>1&&z<6?S:0),O!==c&&(p=innerWidth+c*k,h=innerHeight+c,f=-1*c,O=c),i=L[n].getBoundingClientRect(),(b=i.bottom)>=f&&(v=i.top)<=h&&(y=i.right)>
2=f*k&&(m=i.left)<=p&&(b||y||m||v)&&(o.loadHidden||C(L[n]))&&(u&&z<3&&!g&&(d<3||E<4)||A(L[n],c))){if(N(L[n]),s=!0,z>9)break}else!s&&u&&!a&&z<4&&E<4&&d>2&&(l[0]||o.preloadAfterLoad)&&(l[0]||!g&&(b||y||m||v||"auto"!=L[n][Z](o.sizesAttr)))&&(a=l[0]||L[n]);a&&!s&&N(a)}}),T=ve(D=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(I(e),ce(t,o.loadedClass),le(t,o.loadingClass),ue(t,M),fe(t,"lazyloaded"))}),M=function(e){T({target:e.target})},x=function(e,t){var n=e.getAttribute("data-load-mode")||o.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},_=function(e){var t,n=e[Z](o.srcsetAttr);(t=o.customMedia[e[Z]("data-media")||e[Z]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},U=ve(function(e,t,n,r,i){var a,s,c,l,u,d;(u=fe(e,"lazybeforeunveil",t)).defaultPrevented||(r&&(n?ce(e,o.autosizesClass):e.setAttribute("sizes",r)),s=e[Z](o.srcsetAttr),a=e[Z](o.srcAttr),i&&(l=(c=e.parentNode)&&re.test(c.nodeName||"")),d=t.firesLoad||"src"in e&&(s||a||l),u={target:e},ce(e,o.loadingClass),d&&(clearTimeout(f),f=ee(I,2500),ue(e,M,!0)),l&&ae.call(c.getElementsByTagName("source"),_),s?e.setAttribute("srcset",s):a&&!l&&(S.test(e.nodeName)?x(e,a):e.src=a),i&&(s||l)&&de(e,{src:a})),e._lazyRace&&delete e._lazyRace,le(e,o.lazyClass),he(function(){var t=e.complete&&e.naturalWidth>1;d&&!t||(t&&ce(e,o.fastLoadedClass),D(u),e._lazyCache=!0,ee(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&z--},!0)}),N=function(e){if(!e._lazyRace){var t,n=O.test(e.nodeName),r=n&&(e[Z](o.sizesAttr)||e[Z]("sizes")),i="auto"==r;(!i&&u||!n||!e[Z]("src")&&!e.srcset||e.complete||se(e,o.errorClass)||!se(e,o.lazyClass))&&(t=fe(e,"lazyunveilread").detail,i&&be.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,z++,U(e,t,i,r,n))}},R=me(function(){o.loadMode=3,L()}),H=function(){u||(n.now()-g<999?ee(H,999):(u=!0,o.loadMode=3,L(),Y("scroll",V,!0)))},{_:function(){g=n.now(),r.elements=t.getElementsByClassName(o.lazyClass),l=t.getElementsByClassName(o.lazyClass+" "+o.preloadClass),Y("scroll",L,!0),Y("resize",L,!0),Y("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+o.loadingClass);n.length&&n.forEach&&te(function(){n.forEach(function(e){e.complete&&N(e)})})}}),e.MutationObserver?new MutationObserver(L).observe(X,{childList:!0,subtree:!0,attributes:!0}):(X[K]("DOMNodeInserted",L,!0),X[K]("DOMAttrModified",L,!0),setInterval(L,999)),Y("hashchange",L,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[K](e,L,!0)}),/d$|^c/.test(t.readyState)?H():(Y("load",H),t[K]("DOMContentLoaded",L),ee(H,2e4)),r.elements.length?(k(),he._lsFlush()):L()},checkElems:L,unveil:N,_aLSL:V=function(){3==o.loadMode&&(o.loadMode=2),R()}}),be=(a=ve(function(e,t,n,r){var o,i,a;if(e._lazysizesWidth=r,r+="px",e.setAttribute("sizes",r),re.test(t.nodeName||""))for(i=0,a=(o=t.getElementsByTagName("source")).length;i<a;i++)o[i].setAttribute("sizes",r);n.detail.dataAttr||de(e,n.detail)}),s=function(e,t,n){var r,o=e.parentNode;o&&(n=pe(e,o,n),(r=fe(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=r.detail.width)&&n!==e._lazysizesWidth&&a(e,o,r,n))},{_:function(){i=t.getElementsByClassName(o.autosizesClass),Y("resize",c)},checkElems:c=me(function(){var e,t=i.length;if(t)for(e=0;e<t;e++)s(i[e])}),updateElem:s}),we=function(){!we.i&&t.getElementsByClassName&&(we.i=!0,be._(),ye._())};return ee(function(){o.init&&we()}),r={cfg:o,autoSizer:be,loader:ye,init:we,uP:de,aC:ce,rC:le,hC:se,fire:fe,gW:pe,rAF:he}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})},24218(e,t,n){var r,o,i;!function(a,s){a&&(s=s.bind(null,a,a.document),e.exports?s(n(22265)):(o=[n(22265)],void 0===(i="function"==typeof(r=s)?r.apply(t,o):r)||(e.exports=i)))}("undefined"!=typeof window?window:0,function(e,t,n){"use strict";var r=function(){var o,i,a,s,c,l,u,f=n.cfg,d={"data-bgset":1,"data-include":1,"data-poster":1,"data-bg":1,"data-script":1},g="(\\s|^)("+f.loadedClass,p=t.documentElement,h=function(e){n.rAF(function(){n.rC(e,f.loadedClass),f.unloadedClass&&n.rC(e,f.unloadedClass),n.aC(e,f.lazyClass),("none"==e.style.display||e.parentNode&&"none"==e.parentNode.style.display)&&setTimeout(function(){n.loader.unveil(e)},0)})},v=function(e){var t,n,r,o;for(t=0,n=e.length;t<n;t++)(o=(r=e[t]).target).getAttribute(r.attributeName)&&("source"==o.localName&&o.parentNode&&(o=o.parentNode.querySelector("img")),o&&g.test(o.className)&&h(o))};f.unloadedClass&&(g+="|"+f.unloadedClass),g+="|"+f.loadingClass+")(\\s|$)",g=new RegExp(g),d[f.srcAttr]=1,d[f.srcsetAttr]=1,e.MutationObserver?(a=new MutationObserver(v),o=function(){s||(s=!0,a.observe(p,{subtree:!0,attributes:!0,attributeFilter:Object.keys(d)}))},i=function(){s&&(s=!1,a.disconnect())}):(p.addEventListener("DOMAttrModified",(l=[],u=function(){v(l),l=[],c=!1},function(e){s&&d[e.attrName]&&e.newValue&&(l.push({target:e.target,attributeName:e.attrName}),c||(setTimeout(u),c=!0))}),!0),o=function(){s=!0},i=function(){s=!1}),addEventListener("lazybeforeunveil",i,!0),addEventListener("lazybeforeunveil",o),addEventListener("lazybeforesizes",i,!0),addEventListener("lazybeforesizes",o),o(),removeEventListener("lazybeforeunveil",r)};addEventListener("lazybeforeunveil",r)})},9949(e,t,n){e=n.nmd(e);var r,o,i,a="[object Map]",s="[object Promise]",c="[object Set]",l="[object WeakMap]",u="[object DataView]",f=/^\[object .+?Constructor\]$/,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,g="object"==typeof self&&self&&self.Object===Object&&self,p=d||g||Function("return this")(),h=t&&!t.nodeType&&t,v=h&&e&&!e.nodeType&&e,m=v&&v.exports===h,y=Function.prototype,b=Object.prototype,w=p["__core-js_shared__"],O=(r=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+r:"",S=y.toString,P=b.hasOwnProperty,j=b.toString,z=RegExp("^"+S.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=m?p.Buffer:void 0,I=b.propertyIsEnumerable,C=E?E.isBuffer:void 0,A=(o=Object.keys,i=Object,function(e){return o(i(e))}),k=H(p,"DataView"),L=H(p,"Map"),D=H(p,"Promise"),T=H(p,"Set"),M=H(p,"WeakMap"),x=!I.call({valueOf:1},"valueOf"),_=$(k),U=$(L),N=$(D),R=$(T),V=$(M);function H(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!B(e)||function(e){return!!O&&O in e}(e))return!1;var t=F(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?z:f;return t.test($(e))}(n)?n:void 0}var q=function(e){return j.call(e)};function $(e){if(null!=e){try{return S.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(k&&q(new k(new ArrayBuffer(1)))!=u||L&&q(new L)!=a||D&&q(D.resolve())!=s||T&&q(new T)!=c||M&&q(new M)!=l)&&(q=function(e){var t=j.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?$(n):void 0;if(r)switch(r){case _:return u;case U:return a;case N:return s;case R:return c;case V:return l}return t});var Q=Array.isArray;function W(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!F(e)}var G=C||function(){return!1};function F(e){var t=B(e)?j.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(W(e)&&(Q(e)||"string"==typeof e||"function"==typeof e.splice||G(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&W(e)}(e)&&P.call(e,"callee")&&(!I.call(e,"callee")||"[object Arguments]"==j.call(e))}(e)))return!e.length;var t=q(e);if(t==a||t==c)return!e.size;if(x||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||b)}(e))return!A(e).length;for(var n in e)if(P.call(e,n))return!1;return!0}},32713(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.iterator;var n={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},r=Object.assign,o={};function i(e,t,r){this.props=e,this.context=t,this.refs=o,this.updater=r||n}function a(){}function s(e,t,r){this.props=e,this.context=t,this.refs=o,this.updater=r||n}i.prototype.isReactComponent={},i.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=i.prototype;var c=s.prototype=new a;c.constructor=s,r(c,i.prototype),c.isPureReactComponent=!0;Array.isArray,Object.prototype.hasOwnProperty},30758(e,t,n){"use strict";n(32713)},25024(e,t,n){"use strict";var r=n(22265),o=(n(24218),n(23613)),i=n(30305),a=n(27344),s=n(2541);const c=e=>e.clientsideMockEnabled&&(0,s.mS)().config.getBoolean("mockEnabled");var l=n(38212);function u(e,t){if(!(0,l.M)())return;const n=(r=e,(0,s.mS)()[r]);var r;n&&n.resolve(t)}var f=n(9949),d=n.n(f);const g=(e,t,n)=>{e.addSingleton("SpaGlobalConfig",t,void 0,{env:n});const r=e.getSingleton("Logger");(0,l.M)()&&c(t)&&((e,n,r)=>{r&&Object.keys(r).forEach(e=>{const o=(e=>e?t[e]:t)(e);if(o){const t=r[e];Object.keys(t).forEach(r=>{o[r]=t[r],n.general.debug("overwriting config %s.%s",e,r)})}else n.general.error("no config found %s",e)})})(0,r,(0,s.mS)().config.getJson("overwriting")),((e,t,n)=>{Object.keys(t).forEach(r=>{if(t[r]){const o=r.substring(0,1).toUpperCase()+r.substring(1,r.length);e.addSingleton(o,t[r],void 0,{env:n})}})})(e,t,n)};var p=n(97480),h=n(5786),v=n(53402);function m(e){const t=e.dataset.sizes;t&&e.getAttribute("sizes")!==t&&e.setAttribute("sizes",t)}function y(){const e=function(){const e=document.getElementById("spaModel");if(!e)throw new Error("Cannot find spa model!");const t=JSON.parse(e.innerHTML);if(d()(t))throw new Error("Spa model is empty!");return t}(),t=new h.Q,n=new a.V("sessionStorage"),r=new a.V("localStorage"),l=new i.Vy((0,i.dW)(e.spaGlobalConfig,t,p.C.create("sessionStorage","log"))),f=new o.T(l);(0,s.Uh)(f,l);const m=(0,v.$L)(l);if(c(e.spaGlobalConfig)){const t=(0,s.mS)().config.getInt("personalization","timeout");t&&(e.spaGlobalConfig.personalizationConfig.timeout=t)}g(m,e.spaGlobalConfig,"priority");const y=c(e.spaGlobalConfig);m.addSingleton("SessionStorage",n,void 0,{env:"priority"}),m.addSingleton("TrackEventHolder",t,void 0,{env:"priority"}),m.addSingleton("LocalStorage",r,void 0,{env:"priority"}),m.addSingleton("Logger",l,void 0,{env:"priority"}),m.initSingletons("priority",y),u("priorityExecuted")}(0,l.M)()&&(Object.assign(r.cfg,{}),document.addEventListener("lazybeforeunveil",function(e){const t=e.target;!function(e){m(e);const t=e.closest("picture");
2t&&t.querySelectorAll("source[data-sizes]").forEach(e=>{m(e)})}(t),function(e){if(!function(e=!1){if(!(0,l.M)()&&!e)return!0;const t=document.createElement("canvas");return t.width=t.height=1,!(!t.toDataURL||!t.toDataURL("image/webp"))&&5===t.toDataURL("image/webp").indexOf("image/webp")}())return;const t=e.getAttribute("data-srcset-webp");t&&e.setAttribute("data-srcset",t)}(t)}),r.init(),window.vwa_d6_cms=window.vwa_d6_cms||{},window.vwa_d6_cms.init=y,u("priorityLoaded",y))},74653(e,t,n){"use strict";var r,o,i,a,s=n(62498),c=n(2541);function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,s,"next",e)}function s(e){l(i,r,o,a,s,"throw",e)}a(void 0)})}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t,n,r){return(d=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}const g={"/content/evhub-sample/DE/de/magazine-overview-page/magazine-category-page/magazine-page-with-quotes.html":[{action:"setContent",contentUrl:"/content/experience-fragments/evhub-sample/DE/de/personalized/editorial_stage/editorial_stage.html",selector:"#vwa_cms_slot_XX/de/magazine-overview-page/magazine-category-page/magazine-page-with-quotes/jcr:content/root/main/stageParsys/stage > DIV.simple_1488779093:eq(0) > DIV:nth-of-type(1)"}],"/content/evhub-sample/DE/de.html":[{action:"setContent",selector:"#vwa_cms_slot_XX/de/jcr:content/root/main/mainParsys/firstlevelteasersect/item_0 > DIV.simple:eq(0) > DIV:nth-of-type(1)",contentUrl:"/content/experience-fragments/evhub-sample/DE/de/static/editorial_teaser/samplefragment1/master.html"},{action:"setContent",selector:"#vwa_cms_slot_XX/de/jcr:content/root/main/stageParsys/stage > DIV.simple:eq(0) > DIV:nth-of-type(1)",contentUrl:"/content/experience-fragments/evhub-sample/DE/de/personalized/editorial_stage/editorial_stage.html"},{action:"setContent",selector:"#vwa_cms_insert_3_XX/de/jcr:content/root/main/mainParsys > DIV.simple:eq(0) > DIV:nth-of-type(1)",contentUrl:"/content/experience-fragments/evhub-sample/DE/de/personalized/focusteaser/focusteaser.html"},{action:"setContent",selector:"#vwa_cms_slot_XX/de/jcr:content/root/main/mainParsys/editorialteasersecti > DIV.simple:eq(0) > DIV:nth-of-type(1)",contentUrl:"/content/experience-fragments/evhub-sample/DE/de/personalized/editorial-teaser-section/master.html"}]};function p(e){return h.apply(this,arguments)}function h(){return(h=u(function*(e){return window.fetch(`${e}?nocache&noDispatcherCache`).then(e=>200===e.status?e.text():"")})).apply(this,arguments)}let v;r=(0,s.Gr)("AdobeTarget",{env:"priority",devMode:!0}),i=(0,s.WQ)(),({e:[a],c:[v,o]}=d(class{getOffer(e){this.logger.personalization.info(`call target getOffer with ${JSON.stringify(e)}`),setTimeout(()=>{const{success:t}=e;let n=window.location.pathname;const r=g[n];if(!r)return void t([]);const o=r.map(e=>{const t=e.selector.replace("XX","/content/evhub-sample/DE");return n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){f(e,t,n[t])})}return e}({},e),r=null!=(r={selector:t})?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n;var n,r}),i=[];o.forEach(e=>{e.content?i.push(Promise.resolve(e)):e.contentUrl&&i.push(p(e.contentUrl).then(t=>({selector:e.selector,action:e.action,content:t})))}),Promise.all(i).then(e=>{t(e)})},(0,c.mS)().config.getInt("target","duration")||40)}getOffers(e){var t=this;return u(function*(){t.logger.personalization.info(`call target getOffers mock with ${JSON.stringify(e)}`);const n=window.location.pathname.split(".html");if(n&&n[0]){const t=yield(yield window.fetch(n[0]+".target-personalization.json")).json(),r=e.request.execute.mboxes.filter(e=>t[e.name]).map(function(){var e=u(function*(e){return p(t[e.name]).then(t=>{const n={type:"html",content:t};return{index:e.index,name:e.name,options:[n]}})});return function(t){return e.apply(this,arguments)}}()),o=yield Promise.all(r);return new Promise((e,t)=>{const n=(0,c.mS)().config.getBoolean("target","failure");setTimeout(()=>{n&&t("mock error"),o.length?e({execute:{mboxes:o}}):e({})},(0,c.mS)().config.getInt("target","duration")||40)})}return Promise.resolve({})})()}constructor(){f(this,"VERSION","0.0.0"),f(this,"logger",a(this))}},[[i,0,"logger"]],[r])),o()},71072(e,t,n){"use strict";var r,o,i,a,s,c,l,u,f=n(62498);function d(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n,r){return(p=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}let h;r=(0,f.Gr)("AdobeTargetService",{env:"priority"}),i=(0,f.WQ)(),a=(0,f.WQ)(),s=(0,f.WQ)(),({e:[c,l,u],c:[h,o]}=p(class{getOffers(e,t){var n,r=this;return(n=function*(){return r.logger.personalization.debug("PriorityAdobeTargetService.getOffers",e,t),t?r.adobeTarget.getOffers({request:{execute:{mboxes:e.map((e,n)=>({name:e,index:n,profileParameters:t}))}},timeout:r.personalizationConfig.timeout}).then(e=>function(e,t){return e&&e.execute&&e.execute.mboxes?e.execute.mboxes.filter(e=>!!e.options||(t.warn("mbox doesn't have options",e.name),!1)).map(e=>({name:e.name,offers:e.options?e.options.filter(e=>"html"===e.type):[]})):[]}(e,r.logger.personalization)):[]},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)})})()}constructor(){g(this,"personalizationConfig",c(this)),g(this,"adobeTarget",l(this)),g(this,"logger",u(this))}},[[i,0,"personalizationConfig"],[a,0,"adobeTarget"],[s,0,"logger"]],[r])),o()},35244(e,t,n){"use strict";var r,o,i,a,s=n(62498);function c(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)})}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t,n,r){return(f=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}let d;r=(0,s.Gr)("AdobeTarget",{env:"priority"}),i=(0,s.WQ)(),({e:[a],c:[d,o]}=f(class{getOffer(e){var t=this;return l(function*(){t.logger.personalization.debug("PriorityAdobeTargetWrapper.getOffer",e),(yield t.loadAdobeTarget()).getOffer(e)})()}getOffers(e){var t=this;return l(function*(){return t.logger.personalization.debug("PriorityAdobeTargetWrapper.getOffers",e),(yield t.loadAdobeTarget()).getOffers(e)})()}loadAdobeTarget(){var e=this;return l(function*(){return window&&window.adobe&&window.adobe.target?(e.logger.personalization.debug("PriorityAdobeTargetWrapper.loadAdobeTarget",window.adobe.target.VERSION),e.VERSION=window.adobe.target.VERSION,Promise.resolve(window.adobe.target)):e.resolveAdobeTarget()})()}resolveAdobeTarget(){var e=this;return l(function*(){return new Promise((t,n)=>{window.atjsLoaded=()=>{window.adobe&&window.adobe.target&&(e.VERSION=window.adobe.target.VERSION,t(window.adobe.target)),n(new Error("Adobe Target not loaded correctly"))}})})()}constructor(){u(this,"VERSION","0.0.0"),u(this,"logger",a(this))}},[[i,0,"logger"]],[r])),o()},23613(e,t,n){"use strict";n.d(t,{T:()=>i});var r=n(2541),o=n(96180);
2class i{set(e,t){localStorage.setItem((0,o.i)([r.w2],"config",e),String(t))}setJson(e,t){localStorage.setItem((0,o.i)([r.w2],"config",e),JSON.stringify(t))}remove(...e){localStorage.removeItem((0,o.i)([r.w2],"config",e))}getBoolean(...e){return"true"===localStorage.getItem((0,o.i)(r.w2,"config",e))}getInt(...e){const t=localStorage.getItem((0,o.i)(r.w2,"config",e));return t?parseInt(t,10):null}getJson(...e){const t=(0,o.i)(r.w2,"config",e),n=localStorage.getItem(t);try{return n?JSON.parse(n):null}catch(e){this.logger.general.error("cannot parse config %s",t,e)}}get(...e){const t=localStorage.getItem((0,o.i)(r.w2,"config",e));return null===t?null:String(t)}constructor(e){var t,n;n=void 0,(t="logger")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this.logger=e}}},22259(e,t,n){"use strict";n.d(t,{X:()=>s});var r=n(54535),o=n(62257),i=n(30305);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class s{get currentLevel(){return this.level}set currentLevel(e){this.level=e,this.initAndPersist()}switchToConsoleLogger(){this.useHttpLogger=!1,this.setup()}switchToHttpLogger(){this.httpAllowed&&(this.useHttpLogger=!0,this.setup())}log(e,...t){console.log(e,...t)}debug(e,...t){}info(e,...t){}warn(e,...t){}error(e,...t){}trace(e,...t){}levelError(){this.currentLevel="error"}levelWarning(){this.currentLevel="warn"}levelInfo(){this.currentLevel="info"}levelDebug(){this.currentLevel="debug"}initAndPersist(){this.setup(),this.storage&&this.storage.set("level",this.level)}setup(){i.p_.forEach(e=>{this.bindConsole(e)})}bindConsole(e){const t=this.httpAllowed&&this.useHttpLogger&&this.httpLogger?this.httpLogger:console;e in t&&((0,i.Ol)(e,this.level)?(this[e]=t[e].bind(t),"debug"===e&&(this.trace=t.trace.bind(t))):(this[e]=s.noop,"debug"===e&&(this.trace=s.noop)))}constructor(e){a(this,"storage",void 0),a(this,"httpAllowed",void 0),a(this,"httpLogger",void 0),a(this,"useHttpLogger",!0),a(this,"level","warn"),a(this,"loadAndInitConfigs",()=>{if(this.storage){const e=this.storage.get("level");e&&i.p_.indexOf(e)>=0&&(this.level=e)}this.setup()}),this.storage=e.storage,this.level=e.level,e.httpAllowed&&!r.C.isInEditor()?(this.httpLogger=new o.$(e),this.useHttpLogger=e.useHttpLogger,this.httpAllowed=void 0===e.httpAllowed?e.useHttpLogger:e.httpAllowed):(this.useHttpLogger=!1,this.httpAllowed=!1),this.loadAndInitConfigs()}}a(s,"noop",()=>{})},62257(e,t,n){"use strict";n.d(t,{$:()=>a});var r=n(38212),o=n(12814),i=n(70344);class a{sendHttp(e,t,n){if(!this.options.url)return void console.error("no url for http logging configured");const a=(0,r.M)()?window.location.href:this.options.serverPageUrl||"";if(e){var s;const c=null===(s=this.options.trackEventHolder)||void 0===s?void 0:s.getLastEvents(3),l=(0,r.M)()?navigator.userAgent:"SSR",u=(0,o.G)(e,...n),f={type:"single",featureAppId:this.options.consumerName,name:this.options.loggerName,level:t,timestamp:(new Date).getTime(),featureAppVersion:this.options.version,message:u,url:a,country:this.options.country,language:this.options.language,env:this.options.env,author:this.options.author,team:this.options.team,server:!(0,r.M)(),agent:l,lastEvents:c};this.options.queuedLogger?this.scheduleSendMessage(f):(0,i._)(this.options.url,f)}}scheduleSendMessage(e){const t=this.options.queuedLogger;t&&t.addLogMessage(e)}debug(e,...t){this.sendHttp(e,"debug",t)}error(e,...t){this.sendHttp(e,"error",t)}info(e,...t){this.sendHttp(e,"info",t)}trace(e,...t){}warn(e,...t){this.sendHttp(e,"warn",t)}constructor(e){var t,n;n=void 0,(t="options")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[t]=n,this.options=e}}},73764(e,t,n){"use strict";n.d(t,{a:()=>i});var r=n(70344);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class i{addLogMessage(e){this.queue.push(e)}addMonitorEvent(e,t){this.monitorQueue.set(e.monitorType+t,e)}scheduleSendQueue(){this.timeout&&setTimeout(()=>{this.sendQueue().catch(e=>console.error("cannot send log events",e)),this.scheduleSendQueue()},this.timeout)}sendQueue(){if(!this.url)return console.error("no url for http logging configured"),Promise.resolve();const e=this.queue.slice();this.queue=[];let t=0;for(let n of this.monitorQueue.values())t++,t<=20&&e.push(n);if(this.monitorQueue.clear(),e.length>0){const t={type:"batch",messages:e};return(0,r._)(this.url,t)}return Promise.resolve()}constructor(e,t=0){o(this,"url",void 0),o(this,"timeout",void 0),o(this,"queue",void 0),o(this,"monitorQueue",void 0),this.url=e,this.timeout=t,this.queue=[],this.monitorQueue=new Map,this.scheduleSendQueue()}}}
2,30305(e,t,n){"use strict";n.d(t,{Ol:()=>v,Vy:()=>w,dW:()=>m,p_:()=>p});var r=n(67964),o=n(38212),i=n(72221),a=n(93821),s=n(1712),c=n(22259),l=n(73764);function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){f(e,t,n[t])})}return e}function g(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}const p=["debug","info","warn","error"],h="useHttpLogger";function v(e,t){return p.indexOf(e)>=p.indexOf(t)}function m(e,t,n,r){const i=(0,a.T)(e),c=(0,s.Q)(e);return{cmsVersion:e.cmsVersion,cmsLogLevel:e.cmsLogLevel,url:e.faLoggingUrl,serverPageUrl:r,country:e.country,language:e.language,env:e.logEnv||e.env||"UNKNOWN",author:e.author,remoteLoggingEnabled:i,remoteMonitoringEnabled:c,remoteLoggingQueuingDelay:e.remoteLoggingQueuingDelay,storage:i&&!(0,o.M)()?void 0:n,trackEventHolder:t}}function y(e,t,n="cms"){return{version:t.cmsVersion,team:n,consumerName:"cms-integrator",loggerName:e,level:t.cmsLogLevel||"warn",useHttpLogger:Boolean(t.cmsLogLevel)}}const b=["featureapploader","personalization","tracking","monitor","featureApps","general","navigation","disclaimer","vwid","layer","search","hydration","featurehub","nbab","incentive","consent","abtest"];class w{monitorEvent(e,t,n){if(this.logOptions.remoteMonitoringEnabled(n))try{const n=(0,o.M)()?window.location.href:this.logOptions.serverPageUrl,r=g(d({},e),{country:this.logOptions.country,language:this.logOptions.language,ssr:!(0,o.M)(),url:n,timestamp:(new Date).getTime(),env:this.logOptions.env,author:this.logOptions.author});this.queuedLogger&&this.queuedLogger.addMonitorEvent(r,t)}catch(e){this.general.warn("error during remote monitor event",e)}else this.monitor.info("monitoring event",e)}get personalization(){return this.loggers.personalization}get tracking(){return this.loggers.tracking}get monitor(){return this.loggers.monitor}get hydration(){return this.loggers.hydration}get featureApps(){return this.loggers.featureApps}get featureapploader(){return this.loggers.featureapploader}get general(){return this.loggers.general}get search(){return this.loggers.search}get abtest(){return this.loggers.abtest}get uncaught(){return this.loggers.uncaught}get navigation(){return this.loggers.navigation}get disclaimer(){return this.loggers.disclaimer}get vwid(){return this.loggers.vwid}get layer(){return this.loggers.layer}get incentive(){return this.loggers.incentive}get featurehub(){return this.loggers.featurehub}get consent(){return this.loggers.consent}get nbab(){return this.loggers.nbab}getScope(e){return this.loggers[e]}addScope(e,t){this.loggers[e]=t}getFeatureHubLogger(e,t){if(e){const t=this.loggers[(0,r.d)(e)];if(t)return t}return this.loggers[(0,r.d)(t)]}setDebugLogging(){Object.keys(this.loggers).forEach(e=>{const t=e;this.loggers[t]instanceof c.X&&this.loggers[t].levelDebug()})}isUseHttp(){if(this.storage){const e=this.storage.get(h);return void 0===e||"true"===e}return!0}setUseHttp(e){!e||this.logOptions.remoteLoggingEnabled?(this.storage&&this.storage.set(h,e?"true":"false"),Object.keys(this.loggers).forEach(t=>{const n=t;this.loggers[n]instanceof c.X&&(e?this.loggers[n].switchToHttpLogger():this.loggers[n].switchToConsoleLogger())})):this.general.warn("http logging not possible")}flushQueue(){var e,t=this;return(e=function*(){const e=t.queuedLogger;e&&(yield e.sendQueue())},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})})()}constructor(e){f(this,"logOptions",void 0),f(this,"loggers",void 0),f(this,"storage",void 0),f(this,"queuedLogger",void 0),f(this,"createLogger",void 0),this.logOptions=e,this.loggers={},this.queuedLogger=void 0,(0,o.M)()?e.remoteLoggingQueuingDelay>0&&(this.queuedLogger=new l.a(e.url,e.remoteLoggingQueuingDelay)):this.queuedLogger=new l.a(e.url,0),this.storage=e.storage,this.createLogger=(t,n)=>{const r=new c.X(g(d({httpAllowed:e.remoteLoggingEnabled,country:e.country,language:e.language,env:e.env,author:e.author,url:e.url,serverPageUrl:e.serverPageUrl,queuedLogger:this.queuedLogger,trackEventHolder:e.trackEventHolder},n),{storage:e.storage&&new i.p(e.storage,t),useHttpLogger:n.useHttpLogger&&e.remoteLoggingEnabled&&this.isUseHttp()}));return this.addScope(t,r),r},b.forEach(t=>{this.createLogger(t,y(t,e))}),this.createLogger("uncaught",y("uncaught",e,"uncaught"))}}}
2,5786(e,t,n){"use strict";n.d(t,{Q:()=>r});class r{track(e){const t=function(e){var t,n,r,o,i,a;return(null===(t=e.eventInfo)||void 0===t?void 0:t.eventAction.match(/Click/))||"VWBasic_Pageload"===(null===(n=e.eventInfo)||void 0===n?void 0:n.eventAction)?{featureAppId:null==e||null===(r=e.environment)||void 0===r?void 0:r.featureAppId,eventAction:null==e||null===(o=e.eventInfo)||void 0===o?void 0:o.eventAction,url:null==e||null===(i=e.eventInfo)||void 0===i?void 0:i.pageId,contentId:null==e||null===(a=e.eventInfo)||void 0===a?void 0:a.contentId}:void 0}(e);t&&this.events.push(t),this.events.length>10&&this.events.shift()}getLastEvents(e){return this.events.filter((t,n)=>n>=this.events.length-e)}constructor(){var e,t;t=[],(e="events")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}},93821(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(38212);function o(e){const t=1e3*Math.random()<e.logProbability;return e.featureToggles.enableRemoteLogging&&t&&((0,r.M)()||e.ssrLoggerEnabled)}},1712(e,t,n){"use strict";n.d(t,{Q:()=>o});var r=n(38212);function o(e){return(t=1)=>{const n=1e6*Math.random()<e.monitorProbability*t;return e.featureToggles.enableRemoteLogging&&n&&(0,r.M)()}}},12814(e,t,n){"use strict";n.d(t,{G:()=>o});var r=/%(\.\d)?[sdfijc]/g;function o(e,...t){let{message:n,remainingParams:o}=function(e,t){let n=-1;return{message:String(e).replace(r,e=>{const r=e.substring(e.length-1,e.length);n++;const o=t[n];switch(r){case"i":case"d":return"number"==typeof o?Number(o).toFixed(0):String(o);case"s":case"f":return String(t[n]);case"j":return JSON.stringify(t[n]);default:return""}}),remainingParams:t.slice(n+1)}}(e,t);return n+function(e){return e.map(e=>e instanceof Error?e.stack?"\n"+e.stack:"":` ${e}`).join()}(o)}},70344(e,t,n){"use strict";n.d(t,{_:()=>a});var r=n(57572),o=n.n(r);function i(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function a(e,t){return s.apply(this,arguments)}function s(){var e;return e=function*(e,t){const n=new URLSearchParams;n.append("Action","SendMessage"),n.append("MessageBody",JSON.stringify(t));try{yield o()(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n})}catch(t){console.error("error while sending log msg to %s: %s",e,t)}},s=function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,c,"next",e)}function c(e){i(a,r,o,s,c,"throw",e)}s(void 0)})},s.apply(this,arguments)}},27344(e,t,n){"use strict";n.d(t,{V:()=>s});var r=n(2541),o=n(96180);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a=e=>`${e} is not available`;class s{remove(e){if(!this.storage)throw new Error(a(this.scope));this.storage.removeItem((0,o.i)([r.w2],e))}set(e,t){if(!this.storage)throw new Error(a(this.scope));this.storage.setItem((0,o.i)([r.w2],e),t)}get(e){if(!this.storage)throw new Error(a(this.scope));return this.storage.getItem((0,o.i)([r.w2],e))}prepareStorage(e){const t=window[e];if(!t)throw new Error(a(this.scope));return t}constructor(e){i(this,"storage",void 0),i(this,"scope",void 0),this.storage=this.prepareStorage(e),this.scope=e}}},97480(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(2541),o=n(96180);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a="scope is not available";class s{static create(e,t){return new s(function(e){const t=window[e];if(!t)throw new Error(a);return t}(e),t)}remove(e){if(!this.storage)throw new Error(a);this.load(),this.entries&&this.entries[e]&&delete this.entries[e],this.persist()}set(e,t){if(!this.storage)throw new Error(a);this.load(),this.entries&&(this.entries[e]=t),this.persist()}get(e){if(!this.storage)throw new Error(a);return this.load(),this.entries?this.entries[e]:null}persist(){this.storage.setItem(this.key,JSON.stringify(this.entries))}load(){if(!this.entries){const e=this.storage.getItem(this.key);if(e)try{this.entries=JSON.parse(e)}catch(t){console.warn("cannot parse as json %s",e,t),this.entries={}}else this.entries={}}}constructor(e,t){i(this,"storage",void 0),i(this,"key",void 0),i(this,"entries",void 0),this.storage=e,this.key=(0,o.i)([r.w2,"single"],t)}}}
2,72221(e,t,n){"use strict";n.d(t,{p:()=>i});var r=n(96180);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class i{remove(e){return this.storage.remove((0,r.i)(this.namespace,e))}get(e){return this.storage.get((0,r.i)(this.namespace,e))}set(e,t){this.storage.set((0,r.i)(this.namespace,e),t)}constructor(e,...t){o(this,"storage",void 0),o(this,"namespace",void 0),this.storage=e,this.namespace=t}}},92024(e,t,n){"use strict";var r,o,i,a,s,c,l,u,f,d,g,p,h,v,m,y=n(62498),b=n(62114),w=n(55090),O=n(96894);function S(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function P(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){S(i,r,o,a,s,"next",e)}function s(e){S(i,r,o,a,s,"throw",e)}a(void 0)})}}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t,n,r){return(z=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}function E(e){return e}const I="js-personalization-show-default";let C;o=(0,y.Gr)("PersonalizationLoader",{env:"priority"}),a=(0,y.WQ)(),s=(0,y.WQ)(),c=(0,y.WQ)(),l=(0,y.WQ)(),u=(0,y.WQ)(),f=(0,y.kr)(),new(r=class extends E{constructor(){super(C),i()}},({e:[d,g,p,h,v,m],c:[C,i]}=z(class{static hideDefault(){document.body.classList.remove(I)}static showDefault(){document.body.classList.add(I)}init(){var e=this;return P(function*(){e.logger.personalization.info("loading personalization"),e.logger.personalization.debug("personalisation is enabled = %s",e.personalizationConfig.enabled),e.logger.personalization.debug("personalisation is in vec = %s",(0,b.o)()),e.logger.personalization.debug("personalisation is opt-ed in = %s",(0,O.fx)(e.spaGlobalConfig.featureToggles)),e.personalizationConfig.enabled&&!(0,O.$3)(e.spaGlobalConfig.featureToggles)&&(e.logger.personalization.debug("load personalisation"),e.data=new Promise(function(){var t=P(function*(t,n){try{const n=e.spaGlobalConfig.aemResourcePath,r=yield(0,O.iH)(e.smartDigitalService,e.logger,n);e.logger.personalization.debug("loaded profile"),t({mboxedOffers:yield(0,O.UQ)(e.adobeTargetService,r.personalization,e.spaGlobalConfig.initialPersonalizableMboxes,e.logger),localProfile:r})}catch(t){const r="cannot get personalisation on initialisation.",o=t instanceof Error?`${r} cause: \n${t.message}`:r;e.logger.personalization.warn(o),(0,w.g)("PriorityPersonalisationLoaderInit",o),n(t)}});return function(e,n){return t.apply(this,arguments)}}()))})()}getData(){var e=this;return P(function*(){return e.data})()}constructor(){j(this,"adobeTargetService",d(this)),j(this,"personalizationConfig",g(this)),j(this,"smartDigitalService",p(this)),j(this,"spaGlobalConfig",h(this)),j(this,"logger",v(this)),j(this,"data",void 0),m(this)}},[[f,2,"init"],[a,0,"adobeTargetService"],[s,0,"personalizationConfig"],[c,0,"smartDigitalService"],[l,0,"spaGlobalConfig"],[u,0,"logger"]],[o])),r)},96894(e,t,n){"use strict";n.d(t,{$3:()=>f,UQ:()=>c,fx:()=>u,iH:()=>a});var r=n(62114);function o(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)})}}function a(e,t,n){return s.apply(this,arguments)}function s(){return(s=i(function*(e,t,n){return e.getLocalProfile(n).catch(e=>{const n="string"==typeof e?e:e.message;return t.personalization.warn("Unable to load 1:1 profile: ",n),{personalization:{},metadata:{}}})})).apply(this,arguments)}function c(e,t,n,r){return l.apply(this,arguments)}function l(){return(l=i(function*(e,t,n,r){return e.getOffers(n,t).catch(e=>{const t="string"==typeof e?e:e.message;return r.personalization.warn("Unable to load 1:1 offers: ",t),[]})})).apply(this,arguments)}function u(e){if(e.enableConsentCheckForPersonalization){const{vwdata:e}=window;return!e||!e.consent||1===e.consent.getPersonalizationStatus()}return!0}function f(e){return!u(e)||(0,r.o)()}},1939(e,t,n){"use strict";var r,o,i=n(62498),a=n(49972);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t,n,r){return(c=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}let l;r=(0,i.Gr)("SmasiMock",{env:"priority",devMode:!0}),({c:[l,o]}=c(class{push(e){const t={pocSegments:this.mockedProfile};"event"in e&&e.event===a.ik&&(console.log(`call smaSi ${e.event}`),this.count++,this.mockedProfile.personalization.count=String(this.count),setTimeout(()=>e.onready(t),40)),"$command"in e&&e.$command===a.GR&&(console.log(`call smaSi ${e.$command}`),setTimeout(()=>e.onready({userId:"mockUser"}),40))}constructor(){s(this,"mockedProfile",{personalization:{segment:"mock",count:"0"},metadata:{personalizationType:"none",personalizationGroup:"noPersonalization",recommendationId:"recommendationId"}}),s(this,"count",0),window.smartSignals2=this}},[],[r])),o()},24021(e,t,n){"use strict";var r,o,i,a=n(62498),s=n(69128);function c(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n,r){return(u=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}let f;r=(0,a.Gr)("SmartDigitalService",{env:"priority",devMode:!0});class d extends(i=s.P){fetch(e,t){var n,r=this;return(n=function*(){r.mockedProfile.personalization.count+=1,r.mockedProfile.metadata.recommendationId="recommendation"+r.mockedProfile.personalization.count;const e=new Response(JSON.stringify((t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){l(e,t,n[t])})}return e}({},r.mockedProfile),n=null!=(n={type:"1:1"})?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t)),{headers:new Headers({"Content-type":"application/json"})});var t,n;return new Promise(t=>{setTimeout(()=>t(e),40)})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)})})()}constructor(...e){super(...e),l(this,"mockedProfile",{personalization:{segment:"mock",count:"0"},metadata:{personalizationType:"none",personalizationGroup:"noPersonalization",recommendationId:"recommendationId"}})}}({c:[f,o]}=u(d,[],[r],i)),o()},69128(e,t,n){"use strict";n.d(t,{P:()=>O});var r,o,i,a,s,c,l,u,f,d,g=n(62498),p=n(49972),h=n(2541),v=n(96894);function m(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,s,"next",e)}function s(e){m(i,r,o,a,s,"throw",e)}a(void 0)})}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t,n,r){return(w=function(){function e(e,t){return function(r){!function(e){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),n(r,"An initializer"),e.push(r)}}function t(t,n,r,o,i,a,s,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,g={kind:u,name:s?"#"+n:n,static:a,private:s,metadata:c},p={v:!1};g.addInitializer=e(o,p),0===i?s?(f=r.get,d=r.set):(f=function(){return this[n]},d=function(e){this[n]=e}):2===i?f=function(){return r.value}:(1!==i&&3!==i||(f=function(){return r.get.call(this)}),1!==i&&4!==i||(d=function(e){r.set.call(this,e)})),g.access=f&&d?{get:f,set:d}:f?{get:f}:{set:d};try{return t(l,g)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function r(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function o(e,n,o,i,a,s,c,l,u){var f,d,g,p,h,v,m=o[0];if(c?f=0===a||1===a?{get:o[3],set:o[4]}:3===a?{get:o[3]}:4===a?{set:o[3]}:{value:o[3]}:0!==a&&(f=Object.getOwnPropertyDescriptor(n,i)),1===a?g={get:f.get,set:f.set}:2===a?g=f.value:3===a?g=f.get:4===a&&(g=f.set),"function"==typeof m)void 0!==(p=t(m,i,f,l,a,s,c,u,g))&&(r(a,p),0===a?d=p:1===a?(d=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p);else for(var y=m.length-1;y>=0;y--){var b;void 0!==(p=t(m[y],i,f,l,a,s,c,u,g))&&(r(a,p),0===a?b=p:1===a?(b=p.init,h=p.get||g.get,v=p.set||g.set,g={get:h,set:v}):g=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===a||1===a){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var n=t,r=0;r<w.length;r++)n=w[r].call(e,n);return n}}else{var O=d;d=function(e,t){return O.call(e,t)}}e.push(d)}0!==a&&(1===a?(f.get=g.get,f.set=g.set):2===a?f.value=g:3===a?f.get=g:4===a&&(f.set=g),c?1===a?(e.push(function(e,t){return g.get.call(e,t)}),e.push(function(e,t){return g.set.call(e,t)})):2===a?e.push(g):e.push(function(e,t){return g.call(e,t)}):Object.defineProperty(n,i,f))}function i(e,t){t&&e.push(function(e){for(var n=0;n<t.length;n++)t[n].call(e);return e})}function a(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return function(t,n,s,c){if(void 0!==c)var l=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var u=Object.create(void 0===l?null:l),f=function(e,t,n){for(var r,a,s=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,g,p=f[1],h=f[2],v=f.length>3,m=p>=5;if(m?(d=e,p-=5,g=a=a||[]):(d=e.prototype,g=r=r||[]),0!==p&&!v){var y=m?l:c,b=y.get(h)||0;if(!0===b||3===b&&4!==p||4===b&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&p>2?y.set(h,p):y.set(h,!0)}
2o(s,d,f,h,p,m,v,g,n)}}return i(s,r),i(s,a),s}(t,n,u);return s.length||a(t,u),{e:f,get c(){return function(t,n,o){if(n.length>0){for(var i=[],s=t,c=t.name,l=n.length-1;l>=0;l--){var u={v:!1};try{var f=n[l](s,{kind:"class",name:c,addInitializer:e(i,u),metadata:o})}finally{u.v=!0}void 0!==f&&(r(10,f),s=f)}return[a(s,o),function(){for(var e=0;e<i.length;e++)i[e].call(s)}]}}(t,s,u)}}}}())(e,t,n,r)}let O;r=(0,g.Gr)("SmartDigitalService",{env:"priority"}),i=(0,g.WQ)(),a=(0,g.WQ)(),s=(0,g.WQ)(),c=(0,g.WQ)(),({e:[l,u,f,d],c:[O,o]}=w(class{get ready(){return!!this.localUserId}getLocalProfile(e){var t=this;return y(function*(){return(0,v.fx)(t.spaGlobalConfig.featureToggles)?(t.localUserId&&!t.isTemporaryLocalId()||(yield t.loadLocalUserId()),t.loadLocalProfile(e)):Promise.reject(new Error("SmaSi - consent for personalization not opt-ed in"))})()}pushConsentAccepted(e,t){this.loadSmaSi().push({event:p.AU,payload:{consent:{connectionId:this.consentConfiguration.connectionId,externalId:e,consentType:"2",consentVersion:t,isActive:!0,validUntil:""}}})}fetch(e,t){return y(function*(){return window.fetch(e,t)})()}loadSmaSi(){return window.smartSignals2||(window.smartSignals2=[]),window.smartSignals2}loadLocalUserId(){var e=this;return y(function*(){return new Promise(t=>{e.loadSmaSi().push({$command:"getUserId",onready:n=>{e.logger.personalization.debug("got user id",n.userId),e.localUserId=n.userId,t(void 0)}})})})()}isTemporaryLocalId(){const e=this.localUserId;return Boolean(e&&e.includes("*tmp*"))}loadLocalProfile(e){var t=this;return y(function*(){if(t.isDemoModeEnabled()){const e=t.loadOneToOneDemoProfile();if(null!==e)return e}const n=e;if(!t.isConfigurationValid(n)){const e="Unable to prepare all data for VwPersonalization request";throw t.logger.personalization.warn(e),new Error(e)}const{smasiUrl:r,organizationId:o,collectionId:i,partnerId:a}=t.personalizationConfig,s=new URL("/api/v2/user/VwPersonalization",r);return s.searchParams.append("organizationId",o),s.searchParams.append("collectionId",i),s.searchParams.append("partnerId",a),s.searchParams.append("userId",t.localUserId),s.searchParams.append("pageId",n),t.fetch(s.toString(),{method:"get"}).then(e=>e.json()).then(e=>e)})()}isConfigurationValid(e){const{smasiUrl:t,organizationId:n,collectionId:r,partnerId:o}=this.personalizationConfig;return Boolean(e&&t&&n&&r&&o)}isDemoModeEnabled(){return(0,h.mS)().config.getBoolean(this.smasiDemoConfigKey)}loadOneToOneDemoProfile(){return this.loadDemoProfile(this.oneToOneDemoParam)}loadDemoProfile(e){const t=new URLSearchParams(window.location.search);if(t.has(e)){const n=t.get(e);try{const e=decodeURIComponent(n),t={personalization:JSON.parse(e),metadata:{}};return Promise.resolve(t)}catch(e){const t="Invalid demo profile",n=e instanceof Error?`${t}: ${e.message}`:t;this.logger.personalization.warn(n)}}return null}constructor(){b(this,"smasiDemoConfigKey","smaSiDemoEnabled"),b(this,"oneToOneDemoParam","1to1-demo"),b(this,"personalizationConfig",l(this)),b(this,"logger",u(this)),b(this,"consentConfiguration",f(this)),b(this,"spaGlobalConfig",d(this)),b(this,"localUserId",void 0)}},[[i,0,"personalizationConfig"],[a,0,"logger"],[s,0,"consentConfiguration"],[c,0,"spaGlobalConfig"]],[r])),o()},49972(e,t,n){"use strict";n.d(t,{AU:()=>o,GR:()=>i,ik:()=>r});const r="getSegments",o="SetVWID",i="getUserId"},53402(e,t,n){"use strict";n.d(t,{$L:()=>d,Zp:()=>u});var r=n(38212),o=n(2541);class i{static callPostConstruct(e,t){(t.postConstructs||[]).forEach(t=>{const n=e[t.field];"function"==typeof n?n.bind(e)():console.log(t.field+" is not a function on type "+t.type)},this)}static getAllFieldMetaData(e,t){return"function"==typeof t?this.getAllFieldMetaDataFromPrototype(e,t):[]}static getMetaData(e,t){const n=e[Symbol.metadata];if(n)return n[t]}static getAllFieldMetaDataFromPrototype(e,t){const n=(i.getMetaData(t,e)||[]).filter(e=>void 0!==Object.getOwnPropertyDescriptor(t.prototype,e.field)),r=Object.getPrototypeOf(t);return r&&r!==t?n.concat(this.getAllFieldMetaDataFromPrototype(e,r)||[]):n}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}const l=(e,t)=>(t&&(t.env&&(e=`${e}.${t.env}`),t.devMode&&(e=`${e}.DEV`)),e);let u=new class{regSingleton(e,t,n,r){this.injectedPrototypes.push(e.prototype);const o=t;t=l(t,r),this.singletonDefinitions[t]={key:t,name:o,options:r||{},metadata:n.metadata,type:()=>new e}}removeSingletonDefinition(e){delete this.singletonDefinitions[e]}regReact(e){this.injectedPrototypes.push(e.prototype)}isPrototypeRegistered(e){return this.injectedPrototypes.indexOf(e)>=0}markAsInjected(e){this.prototypesNeedInjection.push(e)}constructor(){a(this,"singletonDefinitions",{}),a(this,"prototypesNeedInjection",[]),a(this,"injectedPrototypes",[])}};(0,r.M)()&&((0,o.mS)()||(window[o.w2]={}),u=(0,o.mS)().metaRegistry||u,(0,o.mS)().metaRegistry=u);class f{onInit(e){this.listeners.push(e)}fireInitEvent(e){this.listeners.forEach(t=>t(e)),this.listeners=[]}clearInstances(){this.singletonInstances={},this.initializedSingletons=[]}addSingleton(e,t,n,r){const o=l(e,r),i=e,a=n&&n[Symbol.metadata]||void 0;this.additionalSingletonDefinitions.push({key:o,type:()=>t,name:i,options:r||{},metadata:a})}getSingleton(e){const t=this.singletonInstances[e];return t?t.instance:void 0}getSingletonDefinition(e){return this.singletonInstances[e]}isSingletonInitialized(e){return!!this.singletonInstances[e]}initSingletons(e,t){this.logger.general.debug("start singletons %s",e),this.checkInjection(),Object.keys(u.singletonDefinitions).map(e=>u.singletonDefinitions[e]).filter(e=>!e.options.devMode||t).map((e,t)=>c(s({},e),{idx:t,additional:!1})).concat(this.additionalSingletonDefinitions.map((e,t)=>c(s({},e),{idx:t,additional:!0}))).sort((e,t)=>e.name===t.name?e.options.devMode===t.options.devMode?e.additional===t.additional?t.idx-e.idx:e.additional?-1:1:e.options.devMode?-1:1:e.name.localeCompare(t.name)).forEach(t=>{this.initSingleton(t,e)}),Object.keys(this.singletonInstances).forEach(e=>{const t=this.singletonInstances[e];this.injectSingletons(t,e)}),this.logger.general.debug("end singletons %s",e),this.fireInitEvent(e)}injectSingletons(e,t){if(e&&e.def&&(!t||this.initializedSingletons.indexOf(t)<0)){if(!t)return;if(this.initializedSingletons.push(t),e.def){const t=e.def.metadata;t&&((t.injects||[]).forEach(t=>{const n=this.getSingletonDefinition(t.type);n?(e.instance[t.field]=n.instance,this.injectSingletons(n,t.type)):this.logger.general.debug(`cannot find ${t.type}. `)},this),i.callPostConstruct(e.instance,t))}}}initSingleton(e,t){if(function(e,t){return(!e.options.env||e.options.env===t)&&("priority"!==t||e.options&&"priority"===e.options.env)}(e,t))try{if(this.logger.general.debug("adding singleton %s, o-env=%s, env=%s, devMode=%s, name=%s",e.name,e.options&&e.options.env?e.options.env:"any",t,Boolean(e.options&&e.options.devMode),e.key),e.name in this.singletonInstances)this.logger.general.info("Singleton with name %s already exists. Registration skipped.",e.name);else{const t=e.type();this.singletonInstances[e.name]={instance:t,def:e}}}catch(t){const n=`Some error occurred in the init() of ${e.name}.`;t instanceof Error?this.logger.general.error(n+" Exception:",t,t.stack?t.stack:""):this.logger.general.error(n)}else this.logger.general.debug("skip instantiation %s, env=%s",e.name,t)}checkInjection(){const e=u.prototypesNeedInjection.filter(e=>u.injectedPrototypes.indexOf(e)<0);if(e.length>0)throw new Error("need @singleton annotation\n"+e.map(e=>e.constructor&&e.constructor.name?e.constructor.name:"noname").join("\n"))}constructor(e){a(this,"logger",void 0),a(this,"singletonInstances",{}),a(this,"initializedSingletons",[]),a(this,"additionalSingletonDefinitions",[]),a(this,"listeners",[]),this.logger=e}}function d(e){if(!(0,r.M)())throw new Error("don't attach registry to global in server");const t=(0,o.mS)().browserRegistry||new f(e);return(0,o.mS)().browserRegistry=t,t}},62498(e,t,n){"use strict";n.d(t,{WQ:()=>a,kr:()=>s,Gr:()=>c});var r=n(53402);class o{static firstUpperCase(e){return e.substring(0,1).toUpperCase()+e.substring(1)}}function i(e,t){return(n,r)=>{if(!r.metadata)throw new Error("no metadata");const i=r.metadata[e]||[],a=o.firstUpperCase(String(r.name));
2i.push({field:String(r.name),props:t||{},type:a}),r.metadata[e]=i}}function a(){return i("injects")}function s(){return i("postConstructs")}function c(e,t){return(n,o)=>{r.Zp.regSingleton(n,e,o,t)}}n(60865)},67964(e,t,n){"use strict";n.d(t,{d:()=>r});const r=(e,t)=>"hub-"+(t||e)},54535(e,t,n){"use strict";n.d(t,{C:()=>r}),n(30758);const r=new class{setIsInEditor(e){this.isInEditorValue=e}isInEditor(){return this.isInEditorValue}constructor(){var e,t;t=!1,(e="isInEditorValue")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}},38212(e,t,n){"use strict";function r(){return"undefined"!=typeof window&&void 0!==window.document}n.d(t,{M:()=>r})},2541(e,t,n){"use strict";n.d(t,{Uh:()=>l,mS:()=>s,w2:()=>a});var r=n(38212);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o(e,t,n[t])})}return e}const a="vwa_d6_cms";function s(){return(0,r.M)()?window[a]:n.g[a]}const c=(e,t)=>({config:e,log:t,disableLsgLog(){window.sessionStorage.setItem("disableComponentsCoreLogging","true")}}),l=(e,t)=>{(0,r.M)()&&(window[a]=i({},c(e,t),window[a])),n.g[a]=i({},c(e,t),n.g[a])}},60865(){var e,t;null!==(t=(e=Symbol).metadata)&&void 0!==t||(e.metadata=Symbol("metadata"))},96180(e,t,n){"use strict";n.d(t,{i:()=>r});const r=(...e)=>{let t=[];return e.forEach(e=>{Array.isArray(e)?t=t.concat(e):t.push(e)}),t.join(".")}},62114(e,t,n){"use strict";n.d(t,{o:()=>s});var r=n(38212),o=n(2541);const i=()=>Boolean((0,r.M)()&&(0,o.mS)().config.getBoolean("mock","vec"));let a;const s=(e=!0)=>e&&void 0!==a?a:"undefined"!=typeof window&&"Cypress"in window?(a=i(),a):(a=i()||"undefined"!=typeof window&&window.parent&&window.parent!==window,a)},55090(e,t,n){"use strict";function r(e,t){const n=window.vwdata;n&&"reportException"in n&&n.reportException({name:e,message:t})}n.d(t,{g:()=>r})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}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.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),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n(74653),n(71072),n(35244),n(27344),n(92024),n(1939),n(24021),n(69128),n(25024)})();
3//# sourceMappingURL=clientlibs-priority.7aff33b2c31b9933.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.