vendor: 4,131 bytes, lines 1-9
1(function(){"use strict";/** 2 * @license 3 * Copyright 2019 Google LLC 4 * SPDX-License-Identifier: BSD-3-Clause 5 */var Ke;const V=globalThis,ee=V.ShadowRoot&&(V.ShadyCSS===void 0||V.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,we=Symbol(),be=new WeakMap;let Qe=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==we)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(ee&&e===void 0){const n=t!==void 0&&t.length===1;n&&(e=be.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&be.set(t,e))}return e}toString(){return this.cssText}};const Ze=r=>new Qe(typeof r=="string"?r:r+"",void 0,we),Xe=(r,e)=>{if(ee)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const n=document.createElement("style"),i=V.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)}},ge=ee?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return Ze(t)})(r):r;/** 6 * @license 7 * Copyright 2017 Google LLC 8 * SPDX-License-Identifier: BSD-3-Clause 9 */const{is:et,defineProperty:tt,getOwnPropertyDescriptor:rt,getOwnPropertyNames:nt,getOwnPropertySymbols:it,getPrototypeOf:ot}=Object,$=globalThis,_e=$.trustedTypes,st=_e?_e.emptyScript:"",te=$.reactiveElementPolyfillSupport,U=(r,e)=>r,W={toAttribute(r,e){switch(e){case Boolean:r=r?st:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},re=(r,e)=>!et(r,e),$e={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:re};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),$.litPropertyMetadata??($.litPropertyMetadata=new WeakMap);class R extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=$e){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&tt(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){const{get:i,set:o}=rt(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i==null?void 0:i.call(this)},set(s){const c=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??$e}static _$Ei(){if(this.hasOwnProperty(U("elementProperties")))return;const e=ot(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(U("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(U("properties"))){const t=this.properties,n=[...nt(t),...it(t)];for(const i of n)this.createProperty(i,t[i])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[t,n]of this.elementProperties){const i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const i of n)t.unshift(ge(i))}else e!==void 0&&t.push(ge(e));return t}static _$Eu(e,t){const n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}
vendor: 9,754 bytes, lines 9-15
9removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Xe(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostConnected)==null?void 0:n.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var n;return(n=t.hostDisconnected)==null?void 0:n.call(t)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){var o;const n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){const s=(((o=n.converter)==null?void 0:o.toAttribute)!==void 0?n.converter:W).toAttribute(t,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,t){var o;const n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const s=n.getPropertyOptions(i),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:W;this._$Em=i,this[i]=c.fromAttribute(t,s.type),this._$Em=null}}requestUpdate(e,t,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??re)(this[e],t))return;this.P(e,t,n)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,s]of i)s.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],s)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(n=this._$EO)==null||n.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(t)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}R.elementStyles=[],R.shadowRootOptions={mode:"open"},R[U("elementProperties")]=new Map,R[U("finalized")]=new Map,te==null||te({ReactiveElement:R}),($.reactiveElementVersions??($.reactiveElementVersions=[])).push("2.0.4");/** 10 * @license 11 * Copyright 2017 Google LLC 12 * SPDX-License-Identifier: BSD-3-Clause 13 */const L=globalThis,G=L.trustedTypes,Se=G?G.createPolicy("lit-html",{createHTML:r=>r}):void 0,Ee="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,Ae="?"+S,at=`<${Ae}>`,A=document,M=()=>A.createComment(""),j=r=>r===null||typeof r!="object"&&typeof r!="function",Pe=Array.isArray,ct=r=>Pe(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",ne=`[ 14\f\r]`,D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ke=/-->/g,xe=/>/g,P=RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^ 15\f\r"'\`<>=]|("|')|))|$)`,"g"),Re=/'/g,Te=/"/g,Ce=/^(?:script|style|textarea|title)$/i,ut=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),E=ut(1),T=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),Ie=new WeakMap,k=A.createTreeWalker(A,129);function Oe(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Se!==void 0?Se.createHTML(e):e}const lt=(r,e)=>{const t=r.length-1,n=[];let i,o=e===2?"<svg>":"",s=D;for(let c=0;c<t;c++){const a=r[c];let u,l,d=-1,m=0;for(;m<a.length&&(s.lastIndex=m,l=s.exec(a),l!==null);)m=s.lastIndex,s===D?l[1]==="!--"?s=ke:l[1]!==void 0?s=xe:l[2]!==void 0?(Ce.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=P):l[3]!==void 0&&(s=P):s===P?l[0]===">"?(s=i??D,d=-1):l[1]===void 0?d=-2:(d=s.lastIndex-l[2].length,u=l[1],s=l[3]===void 0?P:l[3]==='"'?Te:Re):s===Te||s===Re?s=P:s===ke||s===xe?s=D:(s=P,i=void 0);const h=s===P&&r[c+1].startsWith("/>")?" ":"";o+=s===D?a+at:d>=0?(n.push(u),a.slice(0,d)+Ee+a.slice(d)+S+h):a+S+(d===-2?c:h)}return[Oe(r,o+(r[t]||"<?>")+(e===2?"</svg>":"")),n]};class H{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let o=0,s=0;const c=e.length-1,a=this.parts,[u,l]=lt(e,t);if(this.el=H.createElement(u,n),k.currentNode=this.el.content,t===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=k.nextNode())!==null&&a.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const d of i.getAttributeNames())if(d.endsWith(Ee)){const m=l[s++],h=i.getAttribute(d).split(S),b=/([.?@])?(.*)/.exec(m);a.push({type:1,index:o,name:b[2],strings:h,ctor:b[1]==="."?dt:b[1]==="?"?ft:b[1]==="@"?pt:Y}),i.removeAttribute(d)}else d.startsWith(S)&&(a.push({type:6,index:o}),i.removeAttribute(d));if(Ce.test(i.tagName)){const d=i.textContent.split(S),m=d.length-1;if(m>0){i.textContent=G?G.emptyScript:"";for(let h=0;h<m;h++)i.append(d[h],M()),k.nextNode(),a.push({type:2,index:++o});i.append(d[m],M())}}}else if(i.nodeType===8)if(i.data===Ae)a.push({type:2,index:o});else{let d=-1;for(;(d=i.data.indexOf(S,d+1))!==-1;)a.push({type:7,index:o}),d+=S.length-1}o++}}static createElement(e,t){const n=A.createElement("template");return n.innerHTML=e,n}}function C(r,e,t=r,n){var s,c;if(e===T)return e;let i=n!==void 0?(s=t._$Co)==null?void 0:s[n]:t._$Cl;const o=j(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),o===void 0?i=void 0:(i=new o(r),i._$AT(r,t,n)),n!==void 0?(t._$Co??(t._$Co=[]))[n]=i:t._$Cl=i),i!==void 0&&(e=C(r,i._$AS(r,e.values),i,n)),e}class ht{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,i=((e==null?void 0:e.creationScope)??A).importNode(t,!0);k.currentNode=i;let o=k.nextNode(),s=0,c=0,a=n[0];for(;a!==void 0;){if(s===a.index){let u;a.type===2?u=new B(o,o.nextSibling,this,e):a.type===1?u=new a.ctor(o,a.name,a.strings,this,e):a.type===6&&(u=new yt(o,this,e)),this._$AV.push(u),a=n[++c]}s!==(a==null?void 0:a.index)&&(o=k.nextNode(),s++)}return k.currentNode=A,i}p(e){let t=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class B{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=C(this,e,t),j(e)?e===p||e==null||e===""?(this._$AH!==p&&this._$AR(),this._$AH=p):e!==this._$AH&&e!==T&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ct(e)?this.k(e):this._(e)}S(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}_(e){this._$AH!==p&&j(this._$AH)?this._$AA.nextSibling.data=e:this.T(A.createTextNode(e)),this._$AH=e}$(e){var o;const{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=H.createElement(Oe(n.h,n.h[0]),this.options)),n);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(t);else{const s=new ht(i,this),c=s.u(this.options);s.p(t),this.T(c),this._$AH=s}}_$AC(e){let t=Ie.get(e.strings);return t===void 0&&Ie.set(e.strings,t=new H(e)),t}k(e){Pe(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,i=0;for(const o of e)i===t.length?t.push(n=new B(this.S(M()),this.S(M()),this,this.options)):n=t[i],n._$AI(o),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,t);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Y{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,o){this.type=1,this._$AH=p,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=p}_$AI(e,t=this,n,i){const o=this.strings;let s=!1;if(o===void 0)e=C(this,e,t,0),s=!j(e)||e!==this._$AH&&e!==T,s&&(this._$AH=e);else{const c=e;let a,u;for(e=o[0],a=0;a<o.length-1;a++)u=C(this,c[n+a],t,a),u===T&&(u=this._$AH[a]),s||(s=!j(u)||u!==this._$AH[a]),u===p?e=p:e!==p&&(e+=(u??"")+o[a+1]),this._$AH[a]=u}s&&!i&&this.j(e)}j(e){e===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class dt extends Y{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===p?void 0:e}}class ft extends Y{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==p)}}class pt extends Y{constructor(e,t,n,i,o){super(e,t,n,i,o),this.type=5}
15_$AI(e,t=this){if((e=C(this,e,t,0)??p)===T)return;const n=this._$AH,i=e===p&&n!==p||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==p&&(n===p||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}}class yt{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){C(this,e)}}const ie=L.litHtmlPolyfillSupport;ie==null||ie(H,B),(L.litHtmlVersions??(L.litHtmlVersions=[])).push("3.1.4");const mt=(r,e,t)=>{const n=(t==null?void 0:t.renderBefore)??e;let i=n._$litPart$;if(i===void 0){const o=(t==null?void 0:t.renderBefore)??null;n._$litPart$=i=new B(e.insertBefore(M(),o),o,void 0,t??{})}return i._$AI(r),i};/** 16 * @license 17 * Copyright 2017 Google LLC 18 * SPDX-License-Identifier: BSD-3-Clause 19 */class q extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=mt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return T}}q._$litElement$=!0,q.finalized=!0,(Ke=globalThis.litElementHydrateSupport)==null||Ke.call(globalThis,{LitElement:q});const oe=globalThis.litElementPolyfillSupport;oe==null||oe({LitElement:q}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.6");/** 20 * @license 21 * Copyright 2017 Google LLC 22 * SPDX-License-Identifier: BSD-3-Clause 23 */const vt={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:re},wt=(r=vt,e,t)=>{const{kind:n,metadata:i}=t;let o=globalThis.litPropertyMetadata.get(i);if(o===void 0&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(t.name,r),n==="accessor"){const{name:s}=t;return{set(c){const a=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,a,r)},init(c){return c!==void 0&&this.P(s,void 0,r),c}}}if(n==="setter"){const{name:s}=t;return function(c){const a=this[s];e.call(this,c),this.requestUpdate(s,a,r)}}throw Error("Unsupported decorator location: "+n)};function g(r){return(e,t)=>typeof t=="object"?wt(r,e,t):((n,i,o)=>{const s=i.hasOwnProperty(o);return i.constructor.createProperty(o,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,o):void 0})(r,e,t)}/** 24 * @license 25 * Copyright 2017 Google LLC 26 * SPDX-License-Identifier: BSD-3-Clause 27 */function x(r){return g({...r,state:!0,attribute:!1})}var se=function(r,e){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},se(r,e)};function N(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");se(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function bt(r,e,t,n){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function c(l){try{u(n.next(l))}catch(d){s(d)}}function a(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(c,a)}u((n=n.apply(r,e||[])).next())})}function Ue(r,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(l){return a([u,l])}}function a(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(t=0)),t;)try{if(n=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1],o=u;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(u);break}o[2]&&t.ops.pop(),t.trys.pop();continue}u=e.call(r,t)}catch(l){u=[6,l],i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function I(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],n=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){s={error:c}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return o}function ce(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;
vendor: 14,083 bytes, lines 27-29
27n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))}function O(r){return this instanceof O?(this.v=r,this):new O(r)}function gt(r,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(r,e||[]),i,o=[];return i={},c("next"),c("throw"),c("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(h){return function(b){return Promise.resolve(b).then(h,d)}}function c(h,b){n[h]&&(i[h]=function(w){return new Promise(function(yr,mr){o.push([h,w,yr,mr])>1||a(h,w)})},b&&(i[h]=b(i[h])))}function a(h,b){try{u(n[h](b))}catch(w){m(o[0][3],w)}}function u(h){h.value instanceof O?Promise.resolve(h.value.v).then(l,d):m(o[0][2],h)}function l(h){a("next",h)}function d(h){a("throw",h)}function m(h,b){h(b),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _t(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof I=="function"?I(r):r[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(o){t[o]=r[o]&&function(s){return new Promise(function(c,a){s=r[o](s),i(c,a,s.done,s.value)})}}function i(o,s,c,a){Promise.resolve(a).then(function(u){o({value:u,done:c})},s)}}typeof SuppressedError=="function"&&SuppressedError;function v(r){return typeof r=="function"}function ue(r){var e=function(n){Error.call(n),n.stack=new Error().stack},t=r(e);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var le=ue(function(r){return function(t){r(this),this.message=t?t.length+` errors occurred during unsubscription: 28`+t.map(function(n,i){return i+1+") "+n.toString()}).join(` 29 `):"",this.name="UnsubscriptionError",this.errors=t}});function he(r,e){if(r){var t=r.indexOf(e);0<=t&&r.splice(t,1)}}var J=function(){function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var c=I(s),a=c.next();!a.done;a=c.next()){var u=a.value;u.remove(this)}}catch(w){e={error:w}}finally{try{a&&!a.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;if(v(l))try{l()}catch(w){o=w instanceof le?w.errors:[w]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var m=I(d),h=m.next();!h.done;h=m.next()){var b=h.value;try{je(b)}catch(w){o=o??[],w instanceof le?o=ce(ce([],ae(o)),ae(w.errors)):o.push(w)}}}catch(w){n={error:w}}finally{try{h&&!h.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(o)throw new le(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)je(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&he(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&he(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=function(){var e=new r;return e.closed=!0,e}(),r}(),Le=J.EMPTY;function Me(r){return r instanceof J||r&&"closed"in r&&v(r.remove)&&v(r.add)&&v(r.unsubscribe)}function je(r){v(r)?r():r.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},He={setTimeout:function(r,e){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];return setTimeout.apply(void 0,ce([r,e],ae(t)))},clearTimeout:function(r){var e=He.delegate;return((e==null?void 0:e.clearTimeout)||clearTimeout)(r)},delegate:void 0};function Be(r){He.setTimeout(function(){throw r})}function de(){}function K(r){r()}var fe=function(r){N(e,r);function e(t){var n=r.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=At,n}return e.create=function(t,n,i){return new ye(t,n,i)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(J),$t=Function.prototype.bind;function pe(r,e){return $t.call(r,e)}var St=function(){function r(e){this.partialObserver=e}return r.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){Q(n)}},r.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){Q(n)}else Q(e)},r.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){Q(t)}},r}(),ye=function(r){N(e,r);function e(t,n,i){var o=r.call(this)||this,s;if(v(t)||!t)s={next:t??void 0,error:n??void 0,complete:i??void 0};else{var c;o&&De.useDeprecatedNextContext?(c=Object.create(t),c.unsubscribe=function(){return o.unsubscribe()},s={next:t.next&&pe(t.next,c),error:t.error&&pe(t.error,c),complete:t.complete&&pe(t.complete,c)}):s=t}return o.destination=new St(s),o}return e}(fe);function Q(r){Be(r)}function Et(r){throw r}var At={closed:!0,next:de,error:Et,complete:de},me=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function qe(r){return r}function Pt(r){return r.length===0?qe:r.length===1?r[0]:function(t){return r.reduce(function(n,i){return i(n)},t)}}var _=function(){function r(e){e&&(this._subscribe=e)}return r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,n){var i=this,o=xt(e)?e:new ye(e,t,n);return K(function(){var s=i,c=s.operator,a=s.source;o.add(c?c.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},r.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},r.prototype.forEach=function(e,t){var n=this;return t=Ne(t),new t(function(i,o){var s=new ye({next:function(c){try{e(c)}catch(a){o(a),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},r.prototype._subscribe=function(e){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(e)},r.prototype[me]=function(){return this},r.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Pt(e)(this)},r.prototype.toPromise=function(e){var t=this;return e=Ne(e),new e(function(n,i){var o;t.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},r.create=function(e){return new r(e)},r}();function Ne(r){var e;return(e=r??De.Promise)!==null&&e!==void 0?e:Promise}function kt(r){return r&&v(r.next)&&v(r.error)&&v(r.complete)}function xt(r){return r&&r instanceof fe||kt(r)&&Me(r)}function Rt(r){return v(r==null?void 0:r.lift)}function F(r){return function(e){if(Rt(e))return e.lift(function(t){try{return r(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(r,e,t,n,i){return new Tt(r,e,t,n,i)}var Tt=function(r){N(e,r);function e(t,n,i,o,s,c){var a=r.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=c,a._next=n?function(u){try{n(u)}catch(l){t.error(l)}}:r.prototype._next,a._error=o?function(u){try{o(u)}catch(l){t.error(l)}finally{this.unsubscribe()}}:r.prototype._error,a._complete=i?function(){try{i()}catch(u){t.error(u)}finally{this.unsubscribe()}}:r.prototype._complete,a}return e.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;r.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}},e}(fe),Ct=ue(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Fe=function(r){N(e,r);function e(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return e.prototype.lift=function(t){var n=new ze(this,this);return n.operator=t,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new Ct},e.prototype.next=function(t){var n=this;K(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=I(n.currentObservers),c=s.next();!c.done;c=s.next()){var a=c.value;a.next(t)}}catch(u){i={error:u}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},e.prototype.error=function(t){var n=this;K(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var i=n.observers;i.length;)i.shift().error(t)}})},e.prototype.complete=function(){var t=this;K(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var n=this,i=this,o=i.hasError,s=i.isStopped,c=i.observers;return o||s?Le:(this.currentObservers=null,c.push(t),new J(function(){n.currentObservers=null,he(c,t)}))},e.prototype._checkFinalizedStatuses=function(t){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?t.error(o):s&&t.complete()},e.prototype.asObservable=function(){var t=new _;return t.source=this,t},e.create=function(t,n){return new ze(t,n)},e}(_),ze=function(r){N(e,r);function e(t,n){var i=r.call(this)||this;return i.destination=t,i.source=n,i}return e.prototype.next=function(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,t)},e.prototype.error=function(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,t)},e.prototype.complete=function(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)},e.prototype._subscribe=function(t){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&i!==void 0?i:Le},e}(Fe),It=new _(function(r){return r.complete()}),Ot=function(r){return r&&typeof r.length=="number"&&typeof r!="function"};function Ut(r){return v(r==null?void 0:r.then)}function Lt(r){return v(r[me])}function Mt(r){return Symbol.asyncIterator&&v(r==null?void 0:r[Symbol.asyncIterator])}function jt(r){return new TypeError("You provided "+(r!==null&&typeof r=="object"?"an invalid object":"'"+r+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Dt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ht=Dt();function Bt(r){return v(r==null?void 0:r[Ht])}function qt(r){return gt(this,arguments,function(){var t,n,i,o;return Ue(this,function(s){switch(s.label){case 0:t=r.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,O(t.read())];case 3:return n=s.sent(),i=n.value,o=n.done,o?[4,O(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,O(i)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Nt(r){return v(r==null?void 0:r.getReader)}function Ft(r){if(r instanceof _)return r;if(r!=null){if(Lt(r))return zt(r);if(Ot(r))return Vt(r);if(Ut(r))return Wt(r);if(Mt(r))return Ve(r);if(Bt(r))return Gt(r);if(Nt(r))return Yt(r)}throw jt(r)}function zt(r){return new _(function(e){var t=r[me]();if(v(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vt(r){return new _(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}function Wt(r){return new _(function(e){r.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,Be)})}function Gt(r){return new _(function(e){var t,n;try{for(var i=I(r),o=i.next();!o.done;o=i.next()){var s=o.value;if(e.next(s),e.closed)return}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e.complete()})}function Ve(r){return new _(function(e){Jt(r,e).catch(function(t){return e.error(t)})})}function Yt(r){return Ve(qt(r))}function Jt(r,e){var t,n,i,o;return bt(this,void 0,void 0,function(){var s,c;return Ue(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),t=_t(r),a.label=1;case 1:return[4,t.next()];case 2:if(n=a.sent(),!!n.done)return[3,4];if(s=n.value,e.next(s),e.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=a.sent(),i={error:c},[3,11];case 6:return a.trys.push([6,,9,10]),n&&!n.done&&(o=t.return)?[4,o.call(t)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})}var We=ue(function(r){return function(){r(this),this.name="EmptyError",this.message="no elements in sequence"}});function Z(r,e){return F(function(t,n){var i=0;t.subscribe(z(n,function(o){return r.call(e,o,i++)&&n.next(o)}))})}function Kt(r){return F(function(e,t){var n=!1;e.subscribe(z(t,function(i){n=!0,t.next(i)},function(){n||t.next(r),t.complete()}
29))})}function Qt(r){return r<=0?function(){return It}:F(function(e,t){var n=0;e.subscribe(z(t,function(i){++n<=r&&(t.next(i),r<=n&&t.complete())}))})}function Zt(r){return r===void 0&&(r=Xt),F(function(e,t){var n=!1;e.subscribe(z(t,function(i){n=!0,t.next(i)},function(){return n?t.complete():t.error(r())}))})}function Xt(){return new We}function er(r,e){var t=arguments.length>=2;return function(n){return n.pipe(r?Z(function(i,o){return r(i,o,n)}):qe,Qt(1),t?Kt(e):Zt(function(){return new We}))}}function Ge(r){return F(function(e,t){Ft(r).subscribe(z(t,function(){return t.complete()},de)),!t.closed&&e.subscribe(t)})}async function tr(){return new Promise(r=>{var e,t;if((e=window.Rai)!=null&&e._trackEnqueue)return r((t=window.Rai)==null?void 0:t._trackEnqueue);import(new URL("/common/assets/js/webcomponents/track-enqueue.js",window.location.href).toString()).then(()=>{setTimeout(async()=>{await ir(),r(window.Rai._trackEnqueue)})}).catch(console.error)})}async function rr(){return new Promise(r=>{var e,t;if((e=window.Rai)!=null&&e.FingerPrintManager)return r((t=window.Rai)==null?void 0:t.FingerPrintManager);import(new URL("/common/assets/js/webcomponents/rai-fingerprint.js",window.location.href).toString()).then(()=>{setTimeout(async()=>{await or(),r(window.Rai.FingerPrintManager)})}).catch(console.error)})}async function nr(){return new Promise(r=>{var e,t;if((e=window.Rai)!=null&&e.IdentifierService)return r((t=window.Rai)==null?void 0:t.IdentifierService);import(new URL("/common/assets/js/webcomponents/rai-identifier-service.js",window.location.href).toString()).then(()=>{setTimeout(()=>{r(window.Rai.IdentifierService)})}).catch(console.error)})}function ir(){return new Promise(r=>{var e;if((e=window.Rai)!=null&&e._trackEnqueue)r(window.Rai._trackEnqueue);else{const t=window.Rai??{};window.Rai=new Proxy(t,{set(n,i,o){const s=Reflect.set(n,i,o);return i==="_trackEnqueue"&&(window.Rai=t,window.setTimeout(()=>r(window.Rai._trackEnqueue),0)),s}})}})}function or(){return new Promise(r=>{var e;if((e=window.Rai)!=null&&e.FingerPrintManager)r(window.Rai.FingerPrintManager);else{const t=window.Rai??{};window.Rai=new Proxy(t,{set(n,i,o){const s=Reflect.set(n,i,o);return i==="FingerPrintManager"&&(window.Rai=t,window.setTimeout(()=>r(window.Rai.FingerPrintManager),0)),s}})}})}async function sr(){return new Promise(r=>{var t;if((t=window.Rai)!=null&&t.PolicyManager)return r(window.Rai.PolicyManager);const e=window.Rai??{};window.Rai=new Proxy(e,{set:(n,i,o,s)=>{const c=Reflect.set(n,i,o,s);return i==="PolicyManager"&&(window.Rai=e,window.setTimeout(()=>{r(o)})),c}})})}var ve={};
29Object.defineProperty(ve,"__esModule",{value:!0}),ve.AdblockDetector=void 0;class ar{constructor(){this.bannerIds=["AdHeader","AdContainer","AD_Top","homead","ad-lead"],this.init()}init(){if(!this.isBrowser()){console.error("Detection on server side is not supported. Please use library only on client side.");return}const e=document.createElement("div");e.innerHTML=this.generatesBannersString(),document.body.append(e)}detect(){return this.isBrowser()?!this.bannerIds.every(e=>this.checkVisibility(e)):!1}generatesBannersString(){return this.bannerIds.map(e=>`<div id="${e}"></div>`).join("")}checkVisibility(e){const t=document.querySelector(`#${e}`);return t?t.offsetParent:null}isBrowser(){return typeof window<"u"}}ve.AdblockDetector=ar;const cr=1628;async function ur(){var r;return(r=window.Rai)!=null&&r.PolicyManager?window.Rai.PolicyManager:(window.Rai._gdprManagerPromise||(window.Rai._gdprManagerPromise=new Promise(e=>{window.Rai=new Proxy(window.Rai??{},{set(t,n,i){const o=Reflect.set(t,n,i);return n==="PolicyManager"&&setTimeout(()=>{e(window.Rai.PolicyManager)},0),o}})})),window.Rai._gdprManagerPromise)}async function lr(){const r=await ur();return new Promise(e=>{r.eventsCmpLoaded$.pipe(Z(Boolean),er(t=>t.type===r.events.CMP_LOADED_EVENT)).subscribe(()=>e())})}async function hr(){var r,e;return await lr(),((e=(r=window.Rai.PolicyManager)==null?void 0:r.getCustomPurposesConsents)==null?void 0:e.call(r))||{}}var dr=Object.defineProperty,y=(r,e,t,n)=>{for(var i=void 0,o=r.length-1,s;o>=0;o--)(s=r[o])&&(i=s(e,t,i)||i);return i&&dr(e,t,i),i};const X=new Fe;let Ye;const fr=new Promise(r=>{Ye=r});let Je;const pr=new Promise(r=>{Je=r});class f extends q{constructor(){super(),this.pageInfo=void 0,this.webtrekk=!1,this.comscore=!0,this.nielsen=!0,this.akamai=!0,this.exaudi=!0,this.permutive=!0,this.railytics=!0,this.disableOnLoadTrack="",this.disableTrackingSystems="",this.mode="",this.webtrekkLoaded=!1,this.comsoreLoaded=!1,this.akamaiLoaded=!1,this.nielsenLoaded=!1,this.exaudiLoaded=!1,this.permutiveLoaded=!1,this.railyticsLoaded=!1}get trackEnqueue(){return window.Rai._trackEnqueue}connectedCallback(){super.connectedCallback();const e=this.querySelector("#page_info");e&&(this.pageInfo=JSON.parse(e.innerText)),this.dispatch("tracker_ready",void 0),this.disableTrackingSystems&&this.disableTrackingSystems.split(",").forEach(t=>{const n=t.trim();this[n]=!1}),this.exposeApi(),this.trackEnqueue.policyActivator.pipe(Z(Boolean),Ge(X)).subscribe(()=>{this.initGDPRTrackingSystems()}),this.trackEnqueue.privacyPolicyActivator.pipe(Z(Boolean),Ge(X)).subscribe(()=>{this.initPrivacyPolicyTrackingSystems().catch(console.error)}),this.initTrackingSystems()}initTrackingSystems(){this.webtrekk&&import(new URL("/common/assets/js/webcomponents/rai-webtrekk.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-webtrekk")).then(()=>{this.webtrekkLoaded=!0}).catch(console.error),this.akamai&&import(new URL("/common/assets/js/webcomponents/rai-akamai.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-akamai")).then(()=>{this.akamaiLoaded=!0}).catch(console.error),this.comscore&&import(new URL("/common/assets/js/webcomponents/rai-comscore.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-comscore")).then(()=>{this.comsoreLoaded=!0}).catch(console.error),this.railytics&&import(new URL("/common/assets/js/webcomponents/rai-railytics.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-railytics")).then(()=>{this.railyticsLoaded=!0}).catch(console.error)}async initPrivacyPolicyTrackingSystems(){var a;const e=await sr(),t=await hr(),n=this.exaudi&&e.hasConsents(["1","2","3","4","7","9"]);if(Ye(n),n)try{import(new URL("/common/assets/js/webcomponents/rai-exaudi.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-exaudi")).then(()=>{this.exaudiLoaded=!0}).catch(console.error)}catch(u){console.error(u)}const i=this.permutive&&this.isPermutiveAllowedOnDomain()&&e.hasConsents(["1","2","3","4","7","9"])&&((a=e.hasIabVendorWithConsentById)==null?void 0:a.call(e,cr));if(Je(i),i)try{import(new URL("/common/assets/js/webcomponents/rai-permutive.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-permutive")).then(()=>{this.permutiveLoaded=!0}).catch(console.error)}catch(u){console.error(u)}const o=t==null?void 0:t[5],s=!o,c=!!(o!=null&&o.li);this.nielsen&&(s||c)&&import(new URL("/common/assets/js/webcomponents/rai-nielsen.js",window.location.href).toString()).then(()=>customElements.whenDefined("rai-nielsen")).then(()=>{this.nielsenLoaded=!0}).catch(console.error)}isPermutiveAllowedOnDomain(){return/^(?:www\.)?(?:raiplay|raiplaysound|rainews)(?:(?:-dev|-pre|-int)\.rai\.it|\.it)$/.test(window.location.hostname)}initGDPRTrackingSystems(){}exposeApi(){window.Rai=window.Rai??{},window.Rai.TrackerManager=window.Rai.TrackerManager??{isExaudiEnabled:()=>fr,isPermutiveEnabled:()=>pr}}firstUpdated(e){super.firstUpdated(e),this.disableOnLoadTrack!=="true"&&this.mode!=="extendInfoByComponent"&&this.trackEnqueue.setPageQueueEvent(this.pageInfo),this.trackEnqueue.setUserQueueEvent(this.pageInfo)}render(){return E` 30 <slot></slot> 31 ${this.webtrekkLoaded?E`<rai-webtrekk .mode=${this.mode} .pageInfoBaseData=${this.pageInfo}></rai-webtrekk>`:""} 32 ${this.comsoreLoaded?E`<rai-comscore .mode=${this.mode} .pageInfoBaseData=${this.pageInfo}></rai-comscore>`:""} 33 ${this.nielsenLoaded?E`<rai-nielsen .mode=${this.mode} .pageInfoBaseData=${this.pageInfo}></rai-nielsen>`:""} 34 ${this.akamaiLoaded?E`<rai-akamai></rai-akamai>`:""} 35 ${this.exaudiLoaded?E`<rai-exaudi .pageInfoBaseData=${this.pageInfo}></rai-exaudi>`:""} 36 ${this.permutiveLoaded?E`<rai-permutive .pageInfoBaseData=${this.pageInfo}></rai-permutive>`:""} 37 ${this.railyticsLoaded?E`<rai-railytics .mode=${this.mode} .pageInfoBaseData=${this.pageInfo}></rai-railytics>`:""} 38 `}disconnectedCallback(){super.disconnectedCallback(),X.next(),X.complete()}dispatch(e,t){const n=t?new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}):new Event(e,{bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(n)}}y([g({type:Object})],f.prototype,"pageInfo"),y([g({type:Boolean})],f.prototype,"webtrekk"),y([g({type:Boolean})],f.prototype,"comscore"),y([g({type:Boolean})],f.prototype,"nielsen"),y([g({type:Boolean})],f.prototype,"akamai"),y([g({type:Boolean})],f.prototype,"exaudi"),y([g({type:Boolean})],f.prototype,"permutive"),y([g({type:Boolean})],f.prototype,"railytics"),y([g()],f.prototype,"disableOnLoadTrack"),y([g()],f.prototype,"disableTrackingSystems"),y([g()],f.prototype,"mode"),y([x()],f.prototype,"exaudiLoaded"),y([x()],f.prototype,"permutiveLoaded"),y([x()],f.prototype,"webtrekkLoaded"),y([x()],f.prototype,"comsoreLoaded"),y([x()],f.prototype,"nielsenLoaded"),y([x()],f.prototype,"akamaiLoaded"),y([x()],f.prototype,"railyticsLoaded"),async function(){try{await tr(),await nr(),await rr(),customElements.define("rai-tracker",f)}catch(r){console.error(r)}}()})(); 39//# sourceMappingURL=rai-tracker.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.