<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*version - 2.0.0*/
!function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&amp;&amp;"object"==typeof t||"function"==typeof t}function c(e,n,o){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const o=e.subscribe(...n);return o.unsubscribe?()=&gt;o.unsubscribe():o}(n,o))}function a(t,e){t.appendChild(e)}function s(t,e,n){t.insertBefore(e,n||null)}function u(t){t.parentNode.removeChild(t)}function l(t){return document.createElement(t)}function d(){return t=" ",document.createTextNode(t);var t}function p(t,e,n,o){return t.addEventListener(e,n,o),()=&gt;t.removeEventListener(e,n,o)}function f(t,e,n){e in t?t[e]="boolean"==typeof t[e]&amp;&amp;""===n||n:function(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&amp;&amp;t.setAttribute(e,n)}(t,e,n)}function b(t){const e={};for(const n of t)e[n.name]=n.value;return e}let h;function g(t){h=t}const m=[],$=[],_=[],y=[],k=Promise.resolve();let L=!1;function x(t){_.push(t)}let C=!1;const v=new Set;function w(){if(!C){C=!0;do{for(let t=0;t&lt;m.length;t+=1){const e=m[t];g(e),z(e.$$)}for(g(null),m.length=0;$.length;)$.pop()();for(let t=0;t&lt;_.length;t+=1){const e=_[t];v.has(e)||(v.add(e),e())}_.length=0}while(m.length);for(;y.length;)y.pop()();L=!1,C=!1,v.clear()}}function z(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&amp;&amp;t.fragment.p(t.ctx,e),t.after_update.forEach(x)}}const E=new Set;function S(t,e){-1===t.$$.dirty[0]&amp;&amp;(m.push(t),L||(L=!0,k.then(w)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1&lt;&lt;e%31}function T(i,c,a,s,l,d,p,f=[-1]){const b=h;g(i);const m=i.$$={fragment:null,ctx:null,props:d,update:t,not_equal:l,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(b?b.$$.context:c.context||[]),callbacks:n(),dirty:f,skip_bound:!1,root:c.target||b.$$.root};p&amp;&amp;p(m.root);let $=!1;if(m.ctx=a?a(i,c.props||{},((t,e,...n)=&gt;{const o=n.length?n[0]:e;return m.ctx&amp;&amp;l(m.ctx[t],m.ctx[t]=o)&amp;&amp;(!m.skip_bound&amp;&amp;m.bound[t]&amp;&amp;m.bound[t](o),$&amp;&amp;S(i,t)),e})):[],m.update(),$=!0,o(m.before_update),m.fragment=!!s&amp;&amp;s(m.ctx),c.target){if(c.hydrate){const t=function(t){return Array.from(t.childNodes)}(c.target);m.fragment&amp;&amp;m.fragment.l(t),t.forEach(u)}else m.fragment&amp;&amp;m.fragment.c();c.intro&amp;&amp;((_=i.$$.fragment)&amp;&amp;_.i&amp;&amp;(E.delete(_),_.i(y))),function(t,n,i,c){const{fragment:a,on_mount:s,on_destroy:u,after_update:l}=t.$$;a&amp;&amp;a.m(n,i),c||x((()=&gt;{const n=s.map(e).filter(r);u?u.push(...n):o(n),t.$$.on_mount=[]})),l.forEach(x)}(i,c.target,c.anchor,c.customElement),w()}var _,y;g(b)}let A;"function"==typeof HTMLElement&amp;&amp;(A=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(r);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(t,e){const n=t.$$;null!==n.fragment&amp;&amp;(o(n.on_destroy),n.fragment&amp;&amp;n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=&gt;{const t=n.indexOf(e);-1!==t&amp;&amp;n.splice(t,1)}}$set(t){var e;this.$$set&amp;&amp;(e=t,0!==Object.keys(e).length)&amp;&amp;(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const j=[];function N(e,n=t){let o;const r=[];function c(t){if(i(e,t)&amp;&amp;(e=t,o)){const t=!j.length;for(let t=0;t&lt;r.length;t+=1){const n=r[t];n[1](),j.push(n,e)}if(t){for(let t=0;t&lt;j.length;t+=2)j[t][0](j[t+1]);j.length=0}}}return{set:c,update:function(t){c(t(e))},subscribe:function(i,a=t){const s=[i,a];return r.push(s),1===r.length&amp;&amp;(o=n(c)||t),i(e),()=&gt;{const t=r.indexOf(s);-1!==t&amp;&amp;r.splice(t,1),0===r.length&amp;&amp;(o(),o=null)}}}}const O=N({bannerTitle:"",bannerSubTitle:"",primaryCta:"",secondaryCta:"",loginAccountPrompt:"",bannerLoginLink:"",feature1:"",feature2:"",feature3:""}),q=N({bannerTitle:"prm-my-schneider-banner-title",bannerSubTitle:"prm-my-schneider-banner-sub-title",primaryCta:"prm-my-schneider-banner-primary-cta",bannerLoginLink:"prm-my-schneider-banner-login-link",feature1:"prm-my-schneider-banner-feature1",feature2:"prm-my-schneider-banner-feature2",feature3:"prm-my-schneider-banner-feature3"}),F=N({endpointForLocalizedLabels:"",countryCode:"",languageCode:"",appSource:""});let H,M,P,B,G=[];function I(){O.subscribe((t=&gt;{B=t})),q.subscribe((t=&gt;{P=t}));for(let t in B){let e=P[t];B[t]=M[e]}O.set(B)}function R(e){let n,r,i,c,b,h,g,m,$,_,y;return{c(){n=l("qds-web-block-promo"),r=l("qds-button"),c=d(),b=l("qds-button"),this.c=t,f(r,"size","large"),f(r,"text",i=e[0].primaryCta),f(r,"importance","emphasized"),f(b,"size","large"),f(b,"text",h=e[0].bannerLoginLink),f(b,"importance","standard"),f(n,"main-title",g=e[0].bannerTitle),f(n,"subtitle",m=e[0].bannerSubTitle),f(n,"title-tag","h2"),f(n,"description-list",$=e[0].feature1+";"+e[0].feature2+";"+e[0].feature3),f(n,"importance","standard"),f(n,"size","small"),f(n,"image-src","https://www.se.com/us/en/download/resources/img/GettyImages.webp"),f(n,"image-position","end")},m(t,o){s(t,n,o),a(n,r),a(n,c),a(n,b),_||(y=[p(r,"click",e[1]),p(b,"click",e[2])],_=!0)},p(t,[e]){1&amp;e&amp;&amp;i!==(i=t[0].primaryCta)&amp;&amp;f(r,"text",i),1&amp;e&amp;&amp;h!==(h=t[0].bannerLoginLink)&amp;&amp;f(b,"text",h),1&amp;e&amp;&amp;g!==(g=t[0].bannerTitle)&amp;&amp;f(n,"main-title",g),1&amp;e&amp;&amp;m!==(m=t[0].bannerSubTitle)&amp;&amp;f(n,"subtitle",m),1&amp;e&amp;&amp;$!==($=t[0].feature1+";"+t[0].feature2+";"+t[0].feature3)&amp;&amp;f(n,"description-list",$)},i:t,o:t,d(t){t&amp;&amp;u(n),_=!1,o(y)}}}function D(t,e,n){let o;c(t,O,(t=&gt;n(0,o=t)));let{localization_end_point:r}=e,{country_code:i}=e,{language_code:a}=e,{app_source:s}=e;return t.$$set=t=&gt;{"localization_end_point"in t&amp;&amp;n(3,r=t.localization_end_point),"country_code"in t&amp;&amp;n(4,i=t.country_code),"language_code"in t&amp;&amp;n(5,a=t.language_code),"app_source"in t&amp;&amp;n(6,s=t.app_source)},t.$$.update=()=&gt;{120&amp;t.$$.dirty&amp;&amp;function(t,e,n,o){if(t&amp;&amp;e&amp;&amp;n&amp;&amp;o){let c={};c.endpointForLocalizedLabels=(r=e,i=n,t.replace(/{cc}/,r).replace(/{lc}/,i)),c.countryCode=e,c.languageCode=n,c.appSource=o,F.set(c)}var r,i}(r,i,a,s)},[o,function(){window.dispatchEvent(new CustomEvent("createAccountLinkClicked",{detail:{eventName:"createAccountLinkClicked"},bubbles:!0}))},function(){window.dispatchEvent(new CustomEvent("loginHereLinkClicked",{detail:{eventName:"loginHereLinkClicked"},bubbles:!0}))},r,i,a,s]}F.subscribe((t=&gt;{""!==t.endpointForLocalizedLabels&amp;&amp;(H=t,async function(){q.subscribe((t=&gt;{G=Object.values(t).join(",")})),await fetch(H.endpointForLocalizedLabels+"getLocalizedLabels/?appSource="+H.appSource+"&amp;labelNames="+G).then((t=&gt;t.json())).then((t=&gt;{M=t,I()}),(t=&gt;{M={},I()}))}())}));customElements.define("promotion-banner",class extends A{constructor(t){super(),T(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},D,R,i,{localization_end_point:3,country_code:4,language_code:5,app_source:6},null),t&amp;&amp;(t.target&amp;&amp;s(t.target,this,t.anchor),t.props&amp;&amp;(this.$set(t.props),w()))}static get observedAttributes(){return["localization_end_point","country_code","language_code","app_source"]}get localization_end_point(){return this.$$.ctx[3]}set localization_end_point(t){this.$$set({localization_end_point:t}),w()}get country_code(){return this.$$.ctx[4]}set country_code(t){this.$$set({country_code:t}),w()}get language_code(){return this.$$.ctx[5]}set language_code(t){this.$$set({language_code:t}),w()}get app_source(){return this.$$.ctx[6]}set app_source(t){this.$$set({app_source:t}),w()}})}();
//# sourceMappingURL=promotion-banner.js.map
</pre></body></html>