1import{$r as qT,Ai as v,Bi as yC,Br as ne$2,Ct as Nm,Di as ut$1,Dr as kT,Dt as Og,Et as Od$1,Fn as _$2,Ft as Pe$1,Gi as yy,Gn as ar$1,Ir as ms$1,J as Je$1,K as J,Kt as RT,Lr as nD,M as Fw,Mt as PT,N as GC,On as ZC,Pr as mg,Pt as Pb,R as He$2,Rt as Q$1,Si as tg,Sr as jT,T as Ey,Ti as ue,U as Ie$2,Ui as yg,Ur as nt$1,Ut as Qr$1,Wt as Qu$1,X as Jl$1,Xt as S$1,Yt as Ry,Z as Jm,Zr as qC,_t as N$2,b as De$1,bn as XC,c as Bc$1,ci as ri$2,ct as LT,di as sC,dn as VT,dt as Lr,en as Tg,et as Jr$1,fi as sV,fn as Vs$1,hi as sr$1,hr as hg,ht as Mn$2,i as Ao$1,kt as Ow,li as rs$1,ni as qu,nt as KC,or as eb,pn as WC,pr as gg,q as JT,qn as ay,qr as oo$1,qt as Rd$1,rn as Tv,rt as KD,si as rb,tt as K$1,u as Bg,ui as ru$1,un as V$1,ut as Lb,vn as Ws$1,vt as NC,w as Eg,wn as Y$1,wr as jv,xn as Xh,xt as Ne$2,y as Dd$1,yi as tI}from"./chunk-CV5nYveR.js";import"./chunk-oSL-nIhO.js";import"./chunk-uOcD6qAT.js";import{E as Mo$1,Et as kn$2,F as Qw,Gt as rl$1,I as Sl$1,It as ou$1,J as YP,Jt as tt$2,Kt as sl$1,Lt as ov,M as Pr,Q as Yt$2,R as Su$1,T as Lu$1,W as Wd$1,Wt as re$2,X as Yd$1,Zt as ue$1,b as Jw,ct as da$1,d as Gb,ft as en$1,g as Ht$2,i as B$2,in as zd$1,l as El$1,lt as ea$1,m as Gt$2,n as Ad$1,on as zo$1,p as Gr$2,r as Al$1,s as DC,vt as gC,w as L$2,wt as jo$1,z as U$2}from"./chunk-DQKBkm8K.js";import{t as E$1}from"./chunk-DfvakS7h.js";import{t as o}from"./chunk-l18B6xJ1.js";import{c as Yn,d as sr$2,l as ie$3,n as H,o as Oo$1,r as Ie$3,s as Qo$1,t as G$2}from"./chunk-BUIK9DOo.js";import{_ as as$1,d as W,g as _$3,l as Te$2,t as $$1,x as t,y as mt$2}from"./chunk-0uxqbsxk.js";import{t as A$1}from"./chunk-BDeTZzSJ.js";import{n as N$3,t as G$3}from"./chunk-DI_8cXuR.js";import{t as p}from"./chunk-BUL99XFo.js";import{n as o$1}from"./chunk-szgOCI3X.js";import"./chunk-DK_dkcYt.js";import"./chunk-B6v5ew8_.js";import{t as h}from"./chunk-dH2EDqBl.js";import{n as u$1,t as C$2}from"./chunk-1kPstesX.js";import{t as C$3}from"./chunk-CRDTPw8j.js";import"./chunk-ki40RYI2.js";import{a as M$1,d as be$1,f as c,i as K$2,n as D$2,p as et,s as T$2,u as Z$1,v as ye$1}from"./chunk-B_GYXuYy.js";import{n as d$1,t as c$1}from"./chunk-C6AAHCGH.js";import{n as m,r as yn$2,t as a}from"./chunk-CQYRMdx4.js";import"./chunk-Ce7TiKh-.js";import"./chunk-BDlbG4TW.js";import{i as N$4,n as E$2,s as f$1,t as C$4}from"./chunk-B0b4-P2b.js";import"./chunk-BlGhX5sK.js";import"./chunk-BBKiEKtE.js";import"./chunk-B1QSFubI.js";import{n as jt}from"./chunk-CeXssKB-.js";import{t as N$5}from"./chunk-4R4FzZm2.js";import"./chunk-CE6peC2w.js";import{c as nn$1}from"./chunk-xmZksxOe.js";var f=(()=>{let r=class r{constructor(){this.browserRefresh$=new ar$1(!1)}sendBrowserRefresh(e){this.browserRefresh$.next(e)}};r.ɵfac=function(i){return new(i||r)},r.ɵprov=Y$1({token:r,factory:r.ɵfac,providedIn:`root`});return r})();var $t$2=Lb((qs,et)=>{"use strict";var w=String,Vt=function(){return{isColorSupported:!1,reset:w,bold:w,dim:w,italic:w,underline:w,inverse:w,hidden:w,strikethrough:w,black:w,red:w,green:w,yellow:w,blue:w,magenta:w,cyan:w,white:w,gray:w,bgBlack:w,bgRed:w,bgGreen:w,bgYellow:w,bgBlue:w,bgMagenta:w,bgCyan:w,bgWhite:w,blackBright:w,redBright:w,greenBright:w,yellowBright:w,blueBright:w,magentaBright:w,cyanBright:w,whiteBright:w,bgBlackBright:w,bgRedBright:w,bgGreenBright:w,bgYellowBright:w,bgBlueBright:w,bgMagentaBright:w,bgCyanBright:w,bgWhiteBright:w}};et.exports=Vt();et.exports.createColors=Vt});var tt$1=Lb(()=>{"use strict";});var Ie$1=Lb((Us,Yt)=>{"use strict";var Qt=$t$2(),Jt=tt$1(),ue=class n extends Error{constructor(e,t,r,i,s,o){super(e),this.name=`CssSyntaxError`,this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof t<`u`&&typeof r<`u`&&(typeof t==`number`?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,typeof this.line<`u`&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason}showSourceCode(e){if(!this.source)return``;let t=this.source;e??=Qt.isColorSupported;let r=f=>f,i=f=>f,s=f=>f;if(e){let{bold:f,gray:h,red:c}=Qt.createColors(!0);i=p=>f(c(p)),r=p=>h(p),Jt&&(s=p=>Jt(p))}let o=t.split(/\r?\n/),u=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),a=String(l).length;return o.slice(u,l).map((f,h)=>{let c=u+1+h,p=` `+(` `+c).slice(-a)+` | `;if(c===this.line){if(f.length>160){let S=20,g=Math.max(0,this.column-S),x=Math.max(this.column+S,this.endColumn+S),A=f.slice(g,x),Q=r(p.replace(/\d/g,` `))+f.slice(0,Math.min(this.column-1,S-1)).replace(/[^\t]/g,` `);return i(`>`)+r(p)+s(A)+` 2 `+Q+i(`^`)}let y=r(p.replace(/\d/g,` `))+f.slice(0,this.column-1).replace(/[^\t]/g,` `);return i(`>`)+r(p)+s(f)+` 3 `+y+i(`^`)}return` `+r(p)+s(f)}).join(` 4`)}toString(){let e=this.showSourceCode();return e&&(e=` 5 6`+e+` 7`),this.name+`: `+this.message+e}};Yt.exports=ue;ue.default=ue});var rt$1=Lb((Bs,Ht)=>{"use strict";var Kt={after:` 8`,beforeClose:` 9`,beforeComment:` 10`,beforeDecl:` 11`,beforeOpen:` `,beforeRule:` 12`,colon:`: `,commentLeft:` `,commentRight:` `,emptyBody:``,indent:` `,semicolon:!1};function zi(n){return n[0].toUpperCase()+n.slice(1)}var ae=class{constructor(e){this.builder=e}atrule(e,t){let r=`@`+e.name,i=e.params?this.rawValue(e,`params`):``;if(typeof e.raws.afterName<`u`?r+=e.raws.afterName:i&&(r+=` `),e.nodes)this.block(e,r+i);else{let s=(e.raws.between||``)+(t?`;`:``);this.builder(r+i+s,e)}}beforeAfter(e,t){let r;e.type===`decl`?r=this.raw(e,null,`beforeDecl`):e.type===`comment`?r=this.raw(e,null,`beforeComment`):t===`before`?r=this.raw(e,null,`beforeRule`):r=this.raw(e,null,`beforeClose`);let i=e.parent,s=0;for(;i&&i.type!==`root`;)s+=1,i=i.parent;if(r.includes(` 13`)){let o=this.raw(e,null,`indent`);if(o.length)for(let u=0;u<s;u++)r+=o}return r}block(e,t){let r=this.raw(e,`between`,`beforeOpen`);this.builder(t+r+`{`,e,`start`);let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,`after`)):i=this.raw(e,`after`,`emptyBody`),i&&this.builder(i),this.builder(`}`,e,`end`)}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type===`comment`;)t-=1;let r=this.raw(e,`semicolon`);for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,`before`);o&&this.builder(o),this.stringify(s,t!==i||r)}}comment(e){let t=this.raw(e,`left`,`commentLeft`),r=this.raw(e,`right`,`commentRight`);this.builder(`/*`+t+e.text+r+`*/`,e)}decl(e,t){let r=this.raw(e,`between`,`colon`),i=e.prop+r+this.rawValue(e,`value`);e.important&&(i+=e.raws.important||` !important`),t&&(i+=`;`),this.builder(i,e)}document(e){this.body(e)}raw(e,t,r){let i;if(r||(r=t),t&&(i=e.raws[t],typeof i<`u`))return i;let s=e.parent;if(r===`before`&&(!s||s.type===`root`&&s.first===e||s&&s.type===`document`))return``;if(!s)return Kt[r];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[r]<`u`)return o.rawCache[r];if(r===`before`||r===`after`)return this.beforeAfter(e,r);{let u=`raw`+zi(r);this[u]?i=this[u](o,e):o.walk(l=>{if(i=l.raws[t],typeof i<`u`)return!1})}return typeof i>`u`&&(i=Kt[r]),o.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<`u`)return t=r.raws.after,t.includes(` 14`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&(t=t.replace(/\S/g,``)),t}rawBeforeComment(e,t){let r;return e.walkComments(i=>{if(typeof i.raws.before<`u`)return r=i.raws.before,r.includes(` 15`)&&(r=r.replace(/[^\n]+$/,``)),!1}),typeof r>`u`?r=this.raw(t,null,`beforeDecl`):r&&(r=r.replace(/\S/g,``)),r}rawBeforeDecl(e,t){let r;return e.walkDecls(i=>{if(typeof i.raws.before<`u`)return r=i.raws.before,r.includes(` 16`)&&(r=r.replace(/[^\n]+$/,``)),!1}),typeof r>`u`?r=this.raw(t,null,`beforeRule`):r&&(r=r.replace(/\S/g,``)),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!==`decl`&&(t=r.raws.between,typeof t<`u`))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<`u`)return t=r.raws.before,t.includes(` 17`)&&(t=t.replace(/[^\n]+$/,``)),!1}),t&&(t=t.replace(/\S/g,``)),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<`u`)return t=r.raws.between.replace(/[^\s:]/g,``),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<`u`))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let i=r.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof r.raws.before<`u`){let s=r.raws.before.split(` 18`);return t=s[s.length-1],t=t.replace(/\S/g,``),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type===`decl`&&(t=r.raws.semicolon,typeof t<`u`))return!1}),t}rawValue(e,t){let r=e[t],i=e.raws[t];return i&&i.value===r?i.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,`selector`)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,`end`)}stringify(e,t){if(!this[e.type])throw new Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);this[e.type](e,t)}};Ht.exports=ae;ae.default=ae});var fe$2=Lb((Fs,Zt)=>{"use strict";var Wi=rt$1();function it(n,e){new Wi(e).stringify(n)}Zt.exports=it;it.default=it});var Ne$1=Lb((js,nt)=>{"use strict";nt.exports.isClean=Symbol(`isClean`);nt.exports.my=Symbol(`my`)});var pe$2=Lb((Gs,Xt)=>{"use strict";var Vi=Ie$1(),$i=rt$1(),Qi=fe$2(),{isClean:ce,my:Ji}=Ne$1();function st(n,e){let t=new n.constructor;for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r)||r===`proxyCache`)continue;let i=n[r],s=typeof i;r===`parent`&&s===`object`?e&&(t[r]=e):r===`source`?t[r]=i:Array.isArray(i)?t[r]=i.map(o=>st(o,t)):(s===`object`&&i!==null&&(i=st(i)),t[r]=i)}return t}function k(n,e){if(e&&typeof e.offset<`u`)return e.offset;let t=1,r=1,i=0;for(let s=0;s<n.length;s++){if(r===e.line&&t===e.column){i=s;break}n[s]===`
19`?(t=1,r+=1):t+=1}return i}var he=class{get proxyOf(){return this}constructor(e={}){this.raws={},this[ce]=!1,this[Ji]=!0;for(let t in e)if(t===`nodes`){this.nodes=[];for(let r of e[t])typeof r.clone==`function`?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=st(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new Vi(e)}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:t===`root`?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||t===`text`)&&e.markDirty()),!0}}}markClean(){this[ce]=!0}
vendor: 4,790 bytes, lines 19-20
19markDirty(){if(this[ce]){this[ce]=!1;let e=this;for(;e=e.parent;)e[ce]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=`document`in this.source.input?this.source.input.document:this.source.input.css,s=r.slice(k(r,this.source.start),k(r,this.source.end)).indexOf(e.word);s!==-1&&(t=this.positionInside(s))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,i=`document`in this.source.input?this.source.input.document:this.source.input.css,s=k(i,this.source.start),o=s+e;for(let u=s;u<o;u++)i[u]===` 20`?(t=1,r+=1):t+=1;return{column:t,line:r,offset:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:k(t,this.source.start)},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset==`number`?this.source.end.offset:k(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let o=t.slice(k(t,this.source.start),k(t,this.source.end)).indexOf(e.word);o!==-1&&(r=this.positionInside(o),i=this.positionInside(o+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:k(t,e.start)}:e.index&&(r=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line,offset:k(t,e.end)}:typeof e.endIndex==`number`?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<r.line||i.line===r.line&&i.column<=r.column)&&(i={column:r.column+1,line:r.line,offset:r.offset+1}),{end:i,start:r}}raw(e,t){return new $i().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let i of e)i===this?r=!0:r?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!==`document`;)e=e.parent;return e}toJSON(e,t){let r={},i=t==null;t=t||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o===`parent`||o===`proxyCache`)continue;let u=this[o];if(Array.isArray(u))r[o]=u.map(l=>typeof l==`object`&&l.toJSON?l.toJSON(null,t):l);else if(typeof u==`object`&&u.toJSON)r[o]=u.toJSON(null,t);else if(o===`source`){if(u==null)continue;let l=t.get(u.input);l??(l=s,t.set(u.input,s),s++),r[o]={end:u.end,inputId:l,start:u.start}}else r[o]=u}return i&&(r.inputs=[...t.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Qi){e.stringify&&(e=e.stringify);let t=``;return e(this,r=>{t+=r}),t}warn(e,t,r={}){let i={node:this};for(let s in r)i[s]=r[s];return e.warn(t,i)}};Xt.exports=he;he.default=he});var ge$1=Lb((zs,er)=>{"use strict";var Yi=pe$2(),de=class extends Yi{constructor(e){super(e),this.type=`comment`}};er.exports=de;de.default=de});var we$1=Lb((Ws,tr)=>{"use strict";var Ki=pe$2(),me=class extends Ki{get variable(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}constructor(e){e&&typeof e.value<`u`&&typeof e.value!=`string`&&(e=J(K$1({},e),{value:String(e.value)})),super(e),this.type=`decl`}};tr.exports=me;me.default=me});var U$1=Lb(($s,fr)=>{"use strict";var rr=ge$1(),ir=we$1(),Hi=pe$2(),{isClean:nr,my:sr}=Ne$1(),ot,or,lr,lt;function ur(n){return n.map(e=>(e.nodes&&(e.nodes=ur(e.nodes)),delete e.source,e))}function ar(n){if(n[nr]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)ar(e)}var P=class n extends Hi{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?(...r)=>e[t](...r.map(i=>typeof i==`function`?(s,o)=>i(s.toProxy(),o):i)):t===`every`||t===`some`?r=>e[t]((i,...s)=>r(i.toProxy(),...s)):t===`root`?()=>
vendor: 4,628 bytes, line 20
20e.root().toProxy():t===`nodes`?e.nodes.map(r=>r.toProxy()):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t===`name`||t===`params`||t===`selector`)&&e.markDirty()),!0}}}index(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?`prepend`:!1,s=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let u of s)this.proxyOf.nodes.splice(r,0,u);let o;for(let u in this.indexes)o=this.indexes[u],r<=o&&(this.indexes[u]=o+s.length);return this.markDirty(),this}normalize(e,t){if(typeof e==`string`)e=ur(or(e).nodes);else if(typeof e>`u`)e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,`ignore`)}else if(e.type===`root`&&this.type!==`document`){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,`ignore`)}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>`u`)throw new Error(`Value field is missed in node creation`);typeof e.value!=`string`&&(e.value=String(e.value)),e=[new ir(e)]}else if(e.selector||e.selectors)e=[new lt(e)];else if(e.name)e=[new ot(e)];else if(e.text)e=[new rr(e)];else throw new Error(`Unknown node type in node creation`);return e.map(i=>(i[sr]||n.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[nr]&&ar(i),i.raws||(i.raws={}),typeof i.raws.before>`u`&&t&&typeof t.raws.before<`u`&&(i.raws.before=t.raws.before.replace(/\S/g,``)),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,`prepend`).reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r)}catch(s){throw t.addToError(s)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type===`atrule`&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type===`atrule`&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type===`atrule`)return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type===`comment`)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type===`decl`&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type===`decl`&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type===`decl`)return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type===`rule`&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type===`rule`&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type===`rule`)return t(r,i)}))}};P.registerParse=n=>{or=n};P.registerRule=n=>{lt=n};P.registerAtRule=n=>{ot=n};P.registerRoot=n=>{lr=n};fr.exports=P;P.default=P;P.rebuild=n=>{n.type===`atrule`?Object.setPrototypeOf(n,ot.prototype):n.type===`rule`?Object.setPrototypeOf(n,lt.prototype):n.type===`decl`?Object.setPrototypeOf(n,ir.prototype):n.type===`comment`?Object.setPrototypeOf(n,rr.prototype):n.type===`root`&&Object.setPrototypeOf(n,lr.prototype),n[sr]=!0,n.nodes&&n.nodes.forEach(e=>{P.rebuild(e)})}});var ke$1=Lb((Qs,hr)=>{"use strict";var cr=U$1(),Z=class extends cr{constructor(e){super(e),this.type=`atrule`}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};hr.exports=Z;Z.default=Z;cr.registerAtRule(Z)});var qe$1=Lb((Js,gr)=>{"use strict";var Zi=U$1(),pr,dr,z=class extends Zi{constructor(e){super(K$1({type:`document`},e)),this.nodes||(this.nodes=[])}toResult(e={}){return new pr(new dr,this,e).stringify()}};z.registerLazyResult=n=>{pr=n};z.registerProcessor=n=>{dr=n};gr.exports=z;z.default=z});var wr$1=Lb((Ks,mr)=>
vendor: 17,091 bytes, line 20
20{"use strict";var Xi=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,en=(n,e=21)=>(t=e)=>{let r=``,i=t|0;for(;i-->0;)r+=n[Math.random()*n.length|0];return r},tn=(n=21)=>{let e=``,t=n|0;for(;t-->0;)e+=Xi[Math.random()*64|0];return e};mr.exports={nanoid:tn,customAlphabet:en}});var Te$1=Lb(()=>{"use strict";});var vr$1=Lb(ut=>{"use strict";var yr=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);ut.encode=function(n){if(0<=n&&n<yr.length)return yr[n];throw new TypeError(`Must be between 0 and 63: `+n)};ut.decode=function(n){var e=65,t=90,r=97,i=122,s=48;return e<=n&&n<=t?n-e:r<=n&&n<=i?n-r+26:s<=n&&n<=57?n-s+52:n==43?62:n==47?63:-1}});var ct$1=Lb(ft=>{"use strict";var Sr=vr$1(),at=5,Cr=1<<at,_r=Cr-1,br=Cr;function rn(n){return n<0?(-n<<1)+1:(n<<1)+0}function nn(n){var e=(n&1)===1,t=n>>1;return e?-t:t}ft.encode=function(e){var t=``,r,i=rn(e);do r=i&_r,i>>>=at,i>0&&(r|=br),t+=Sr.encode(r);while(i>0);return t};ft.decode=function(e,t,r){var i=e.length,s=0,o=0,u,l;do{if(t>=i)throw new Error(`Expected more digits in base 64 VLQ value.`);if(l=Sr.decode(e.charCodeAt(t++)),l===-1)throw new Error(`Invalid base64 digit: `+e.charAt(t-1));u=!!(l&br),l&=_r,s=s+(l<<o),o+=at}while(u);r.value=nn(s),r.rest=t}});var ee$1=Lb(O=>{"use strict";function sn(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error(`"`+e+`" is a required argument.`)}O.getArg=sn;var xr=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,on=/^data:.+\,.+$/;function ye(n){var e=n.match(xr);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}O.urlParse=ye;function X(n){var e=``;return n.scheme&&(e+=n.scheme+`:`),e+=`//`,n.auth&&(e+=n.auth+`@`),n.host&&(e+=n.host),n.port&&(e+=`:`+n.port),n.path&&(e+=n.path),e}O.urlGenerate=X;var ln=32;function un(n){var e=[];return function(t){for(var r=0;r<e.length;r++)if(e[r].input===t){var i=e[0];return e[0]=e[r],e[r]=i,e[0].result}var s=n(t);return e.unshift({input:t,result:s}),e.length>ln&&e.pop(),s}}var ht=un(function(e){var t=e,r=ye(e);if(r){if(!r.path)return e;t=r.path}for(var i=O.isAbsolute(t),s=[],o=0,u=0;;)if(o=u,u=t.indexOf(`/`,o),u===-1){s.push(t.slice(o));break}else for(s.push(t.slice(o,u));u<t.length&&t[u]===`/`;)u++;for(var l,a=0,u=s.length-1;u>=0;u--)l=s[u],l===`.`?s.splice(u,1):l===`..`?a++:a>0&&(l===``?(s.splice(u+1,a),a=0):(s.splice(u,2),a--));return t=s.join(`/`),t===``&&(t=i?`/`:`.`),r?(r.path=t,X(r)):t});O.normalize=ht;function Or(n,e){n===``&&(n=`.`),e===``&&(e=`.`);var t=ye(e),r=ye(n);if(r&&(n=r.path||`/`),t&&!t.scheme)return r&&(t.scheme=r.scheme),X(t);if(t||e.match(on))return e;if(r&&!r.host&&!r.path)return r.host=e,X(r);var i=e.charAt(0)===`/`?e:ht(n.replace(/\/+$/,``)+`/`+e);return r?(r.path=i,X(r)):i}O.join=Or;O.isAbsolute=function(n){return n.charAt(0)===`/`||xr.test(n)};function an(n,e){n===``&&(n=`.`),n=n.replace(/\/$/,``);for(var t=0;e.indexOf(n+`/`)!==0;){var r=n.lastIndexOf(`/`);if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join(`../`)+e.substr(n.length+1)}O.relative=an;var Er=(function(){return!(`__proto__`in Object.create(null))})();function Ar(n){return n}function fn(n){return Lr(n)?`$`+n:n}O.toSetString=Er?Ar:fn;function cn(n){return Lr(n)?n.slice(1):n}O.fromSetString=Er?Ar:cn;function Lr(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function hn(n,e,t){var r=q(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:q(n.name,e.name)}O.compareByOriginalPositions=hn;function pn(n,e,t){var r;return r=n.originalLine-e.originalLine,r!==0||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:q(n.name,e.name)}O.compareByOriginalPositionsNoSource=pn;function dn(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=q(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:q(n.name,e.name)}O.compareByGeneratedPositionsDeflated=dn;function gn(n,e,t){var r=n.generatedColumn-e.generatedColumn;return r!==0||t||(r=q(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:q(n.name,e.name)}O.compareByGeneratedPositionsDeflatedNoLine=gn;function q(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function mn(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=q(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:q(n.name,e.name)}O.compareByGeneratedPositionsInflated=mn;function wn(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,``))}O.parseSourceMapInput=wn;function yn(n,e,t){if(e=e||``,n&&(n[n.length-1]!==`/`&&e[0]!==`/`&&(n+=`/`),e=n+e),t){var r=ye(t);if(!r)throw new Error(`sourceMapURL could not be parsed`);if(r.path){var i=r.path.lastIndexOf(`/`);i>=0&&(r.path=r.path.substring(0,i+1))}e=Or(X(r),e)}return ht(e)}O.computeSourceURL=yn});var gt$1=Lb(Mr=>{"use strict";var pt=ee$1(),dt=Object.prototype.hasOwnProperty,W=typeof Map<`u`;function T(){this._array=[],this._set=W?new Map:Object.create(null)}T.fromArray=function(e,t){for(var r=new T,i=0,s=e.length;i<s;i++)r.add(e[i],t);return r};T.prototype.size=function(){return W?this._set.size:Object.getOwnPropertyNames(this._set).length};T.prototype.add=function(e,t){var r=W?e:pt.toSetString(e),i=W?this.has(e):dt.call(this._set,r),s=this._array.length;(!i||t)&&this._array.push(e),i||(W?this._set.set(e,s):this._set[r]=s)};T.prototype.has=function(e){if(W)return this._set.has(e);var t=pt.toSetString(e);return dt.call(this._set,t)};T.prototype.indexOf=function(e){if(W){var t=this._set.get(e);if(t>=0)return t}else{var r=pt.toSetString(e);if(dt.call(this._set,r))return this._set[r]}throw new Error(`"`+e+`" is not in the set.`)};T.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error(`No element indexed by `+e)};T.prototype.toArray=function(){return this._array.slice()};Mr.ArraySet=T});var Ir$1=Lb(Pr=>{"use strict";var Rr=ee$1();function vn(n,e){var t=n.generatedLine,r=e.generatedLine,i=n.generatedColumn,s=e.generatedColumn;return r>t||r==t&&s>=i||Rr.compareByGeneratedPositionsInflated(n,e)<=0}function De(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}De.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};De.prototype.add=function(e){vn(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};De.prototype.toArray=function(){return this._sorted||(this._array.sort(Rr.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Pr.MappingList=De});var mt$1=Lb(Nr=>{"use strict";var ve=ct$1(),b=ee$1(),Ue=gt$1().ArraySet,Sn=Ir$1().MappingList;function R(n){n||(n={}),this._file=b.getArg(n,`file`,null),this._sourceRoot=b.getArg(n,`sourceRoot`,null),this._skipValidation=b.getArg(n,`skipValidation`,!1),this._ignoreInvalidMapping=b.getArg(n,`ignoreInvalidMapping`,!1),this._sources=new Ue,this._names=new Ue,this._mappings=new Sn,this._sourcesContents=null}R.prototype._version=3;R.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new R(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(s){var o={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(o.source=s.source,r!=null&&(o.source=b.relative(r,o.source)),o.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(o.name=s.name)),i.addMapping(o)}),e.sources.forEach(function(s){var o=s;r!==null&&(o=b.relative(r,s)),i._sources.has(o)||i._sources.add(o);var u=e.sourceContentFor(s);u!=null&&i.setSourceContent(s,u)}),i};R.prototype.addMapping=function(e){var t=b.getArg(e,`generated`),r=b.getArg(e,`original`,null),i=b.getArg(e,`source`,null),s=b.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(t,r,i,s)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:s}))};R.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=b.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[b.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[b.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};R.prototype.applySourceMap=function(e,t,r){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=b.relative(s,i));var o=new Ue,u=new Ue;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var a=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});a.source!=null&&(l.source=a.source,r!=null&&(l.source=b.join(r,l.source)),s!=null&&(l.source=b.relative(s,l.source)),l.originalLine=a.line,l.originalColumn=a.column,a.name!=null&&(l.name=a.name))}var f=l.source;f!=null&&!o.has(f)&&o.add(f);var h=l.name;h!=null&&!u.has(h)&&u.add(h)},this),this._sources=o,this._names=u,e.sources.forEach(function(l){var a=e.sourceContentFor(l);a!=null&&(r!=null&&(l=b.join(r,l)),s!=null&&(l=b.relative(s,l)),this.setSourceContent(l,a))},this)};R.prototype._validateMapping=function(e,t,r,i){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var s=`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`;if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!r&&!i)){if(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;var s=`Invalid mapping: `+JSON.stringify({generated:e,source:r,original:t,name:i});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(s),!1;throw new Error(s)}};R.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,i=0,s=0,o=0,u=``,l,a,f,h,c=this._mappings.toArray(),p=0,y=c.length;p<y;p++){if(a=c[p],l=``,a.generatedLine!==t)for(e=0;a.generatedLine!==t;)l+=`;`,t++;else if(p>0){if(!b.compareByGeneratedPositionsInflated(a,c[p-1]))continue;l+=`,`}l+=ve.encode(a.generatedColumn-e),e=a.generatedColumn,a.source!=null&&(h=this._sources.indexOf(a.source),l+=ve.encode(h-o),o=h,l+=ve.encode(a.originalLine-1-i),i=a.originalLine-1,l+=ve.encode(a.originalColumn-r),r=a.originalColumn,a.name!=null&&(f=this._names.indexOf(a.name),l+=ve.encode(f-s),s=f)),u+=l}return u};R.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=b.relative(t,r));var i=b.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};R.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};R.prototype.toString=function(){return JSON.stringify(this.toJSON())};Nr.SourceMapGenerator=R});var kr$1=Lb(V=>{"use strict";V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;function wt(n,e,t,r,i,s){var o=Math.floor((e-n)/2)+n,u=i(t,r[o],!0);return u===0?o:u>0?e-o>1?wt(o,e,t,r,i,s):s==V.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?wt(n,o,t,r,i,s):s==V.LEAST_UPPER_BOUND?o:n<0?-1:n}V.search=function(e,t,r,i){if(t.length===0)return-1;var s=wt(-1,t.length,e,t,r,i||V.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&r(t[s],t[s-1],!0)===0;)--s;return s}});var Dr=Lb(Tr=>{"use strict";function Cn(n){function e(i,s,o){var u=i[s];i[s]=i[o],i[o]=u}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,o,u){if(o<u){var l=t(o,u),a=o-1;e(i,l,u);for(var f=i[u],h=o;h<u;h++)s(i[h],f,!1)<=0&&(a+=1,e(i,a,h));e(i,a+1,h);var c=a+1;r(i,s,o,c-1),r(i,s,c+1,u)}}return r}function _n(n){let e=Cn.toString();return new Function(`return ${e}`)()(n)}var qr=new WeakMap;Tr.quickSort=function(n,e,t=0){let r=qr.get(e);r===void 0&&(r=_n(e),qr.set(e,r)),r(n,e,t,n.length-1)}});var Fr$1=Lb(Be=>{"use strict";var d=ee$1(),vt=kr$1(),te=gt$1().ArraySet,bn=ct$1(),Se=Dr().quickSort;function C(n,e){var t=n;return typeof n==`string`&&(t=d.parseSourceMapInput(n)),t.sections!=null?new I(t,e):new E(t,e)}C.fromSourceMap=function(n,e){return E.fromSourceMap(n,e)};C.prototype._version=3;C.prototype.__generatedMappings=null;Object.defineProperty(C.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});C.prototype.__originalMappings=null;Object.defineProperty(C.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});C.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===`;`||r===`,`};C.prototype._parseMappings=function(e,t){throw new Error(`Subclasses must implement _parseMappings`)};C.GENERATED_ORDER=1;C.ORIGINAL_ORDER=2;C.GREATEST_LOWER_BOUND=1;C.LEAST_UPPER_BOUND=2;C.prototype.eachMapping=function(e,t,r){var i=t||null,s=r||C.GENERATED_ORDER,o;switch(s){case C.GENERATED_ORDER:o=this._generatedMappings;break;case C.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error(`Unknown order of iteration.`)}for(var u=this.sourceRoot,l=e.bind(i),a=this._names,f=this._sources,h=this._sourceMapURL,c=0,p=o.length;c<p;c++){var y=o[c],S=y.source===null?null:f.at(y.source);S!==null&&(S=d.computeSourceURL(u,S,h)),l({source:S,generatedLine:y.generatedLine,generatedColumn:y.generatedColumn,originalLine:y.originalLine,originalColumn:y.originalColumn,name:y.name===null?null:a.at(y.name)})}};C.prototype.allGeneratedPositionsFor=function(e){var t=d.getArg(e,`line`),r={source:d.getArg(e,`source`),originalLine:t,originalColumn:d.getArg(e,`column`,0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var i=[],s=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,d.compareByOriginalPositions,vt.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var u=o.originalLine;o&&o.originalLine===u;)i.push({line:d.getArg(o,`generatedLine`,null),column:d.getArg(o,`generatedColumn`,null),lastColumn:d.getArg(o,`lastGeneratedColumn`,null)}),o=this._originalMappings[++s];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)i.push({line:d.getArg(o,`generatedLine`,null),column:d.getArg(o,`generatedColumn`,null),lastColumn:d.getArg(o,`lastGeneratedColumn`,null)}),o=this._originalMappings[++s]}return i};Be.SourceMapConsumer=C;function E(n,e){var t=n;typeof n==`string`&&(t=d.parseSourceMapInput(n));var r=d.getArg(t,`version`),i=d.getArg(t,`sources`),s=d.getArg(t,`names`,[]),o=d.getArg(t,`sourceRoot`,null),u=d.getArg(t,`sourcesContent`,null),l=d.getArg(t,`mappings`),a=d.getArg(t,`file`,null);if(r!=this._version)throw new Error(`Unsupported version: `+r);o&&(o=d.normalize(o)),i=i.map(String).map(d.normalize).map(function(f){return o&&d.isAbsolute(o)&&d.isAbsolute(f)?d.relative(o,f):f}),this._names=te.fromArray(s.map(String),!0),this._sources=te.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return d.computeSourceURL(o,f,e)}),this.sourceRoot=o,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=e,this.file=a}E.prototype=Object.create(C.prototype);E.prototype.consumer=C;E.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=d.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};E.fromSourceMap=function(e,t){var r=Object.create(E.prototype),i=r._names=te.fromArray(e._names.toArray(),!0),s=r._sources=te.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.f
vendor: 3,903 bytes, line 20
20ile=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(p){return d.computeSourceURL(r.sourceRoot,p,t)});for(var o=e._mappings.toArray().slice(),u=r.__generatedMappings=[],l=r.__originalMappings=[],a=0,f=o.length;a<f;a++){var h=o[a],c=new Br;c.generatedLine=h.generatedLine,c.generatedColumn=h.generatedColumn,h.source&&(c.source=s.indexOf(h.source),c.originalLine=h.originalLine,c.originalColumn=h.originalColumn,h.name&&(c.name=i.indexOf(h.name)),l.push(c)),u.push(c)}return Se(r.__originalMappings,d.compareByOriginalPositions),r};E.prototype._version=3;Object.defineProperty(E.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Br(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var yt=d.compareByGeneratedPositionsDeflatedNoLine;function Ur(n,e){let t=n.length,r=n.length-e;if(!(r<=1))if(r==2){let i=n[e],s=n[e+1];yt(i,s)>0&&(n[e]=s,n[e+1]=i)}else if(r<20)for(let i=e;i<t;i++)for(let s=i;s>e;s--){let o=n[s-1],u=n[s];if(yt(o,u)<=0)break;n[s-1]=u,n[s]=o}else Se(n,yt,e)}E.prototype._parseMappings=function(e,t){var r=1,i=0,s=0,o=0,u=0,l=0,a=e.length,f=0,c={},p=[],y=[],S,x,A,Q;let j=0;for(;f<a;)if(e.charAt(f)===`;`)r++,f++,i=0,Ur(y,j),j=y.length;else if(e.charAt(f)===`,`)f++;else{for(S=new Br,S.generatedLine=r,A=f;A<a&&!this._charIsMappingSeparator(e,A);A++);for(e.slice(f,A),x=[];f<A;)bn.decode(e,f,c),Q=c.value,f=c.rest,x.push(Q);if(x.length===2)throw new Error(`Found a source, but no line and column`);if(x.length===3)throw new Error(`Found a source and line, but no column`);if(S.generatedColumn=i+x[0],i=S.generatedColumn,x.length>1&&(S.source=u+x[1],u+=x[1],S.originalLine=s+x[2],s=S.originalLine,S.originalLine+=1,S.originalColumn=o+x[3],o=S.originalColumn,x.length>4&&(S.name=l+x[4],l+=x[4])),y.push(S),typeof S.originalLine==`number`){let Y=S.source;for(;p.length<=Y;)p.push(null);p[Y]===null&&(p[Y]=[]),p[Y].push(S)}}Ur(y,j),this.__generatedMappings=y;for(var J=0;J<p.length;J++)p[J]!=null&&Se(p[J],d.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};E.prototype._findMapping=function(e,t,r,i,s,o){if(e[r]<=0)throw new TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw new TypeError(`Column must be greater than or equal to 0, got `+e[i]);return vt.search(e,t,s,o)};E.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=Infinity}};E.prototype.originalPositionFor=function(e){var t={generatedLine:d.getArg(e,`line`),generatedColumn:d.getArg(e,`column`)},r=this._findMapping(t,this._generatedMappings,`generatedLine`,`generatedColumn`,d.compareByGeneratedPositionsDeflated,d.getArg(e,`bias`,C.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=d.getArg(i,`source`,null);s!==null&&(s=this._sources.at(s),s=d.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=d.getArg(i,`name`,null);return o!==null&&(o=this._names.at(o)),{source:s,line:d.getArg(i,`originalLine`,null),column:d.getArg(i,`originalColumn`,null),name:o}}}return{source:null,line:null,column:null,name:null}};E.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};E.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=d.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=d.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);
vendor: 9,709 bytes, line 20
20if(s.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(t)return null;throw new Error(`"`+i+`" is not in the SourceMap.`)};E.prototype.generatedPositionFor=function(e){var t=d.getArg(e,`source`);if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:d.getArg(e,`line`),originalColumn:d.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,d.compareByOriginalPositions,d.getArg(e,`bias`,C.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:d.getArg(s,`generatedLine`,null),column:d.getArg(s,`generatedColumn`,null),lastColumn:d.getArg(s,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}};Be.BasicSourceMapConsumer=E;function I(n,e){var t=n;typeof n==`string`&&(t=d.parseSourceMapInput(n));var r=d.getArg(t,`version`),i=d.getArg(t,`sections`);if(r!=this._version)throw new Error(`Unsupported version: `+r);this._sources=new te,this._names=new te;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error(`Support for url field in sections not implemented.`);var u=d.getArg(o,`offset`),l=d.getArg(u,`line`),a=d.getArg(u,`column`);if(l<s.line||l===s.line&&a<s.column)throw new Error(`Section offsets must be ordered and non-overlapping.`);return s=u,{generatedOffset:{generatedLine:l+1,generatedColumn:a+1},consumer:new C(d.getArg(o,`map`),e)}})}I.prototype=Object.create(C.prototype);I.prototype.constructor=C;I.prototype._version=3;Object.defineProperty(I.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});I.prototype.originalPositionFor=function(e){var t={generatedLine:d.getArg(e,`line`),generatedColumn:d.getArg(e,`column`)},r=vt.search(t,this._sections,function(s,o){return s.generatedLine-o.generatedOffset.generatedLine||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[r];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};I.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};I.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s||s===``)return s}if(t)return null;throw new Error(`"`+e+`" is not in the SourceMap.`)};I.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(d.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};I.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var u=s[o],l=i.consumer._sources.at(u.source);l!==null&&(l=d.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var a=null;u.name&&(a=i.consumer._names.at(u.name),this._names.add(a),a=this._names.indexOf(a));var f={source:l,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:a};this.__generatedMappings.push(f),typeof f.originalLine==`number`&&this.__originalMappings.push(f)}Se(this.__generatedMappings,d.compareByGeneratedPositionsDeflated),Se(this.__originalMappings,d.compareByOriginalPositions)};Be.IndexedSourceMapConsumer=I});var Gr$1=Lb(jr=>{"use strict";var xn=mt$1().SourceMapGenerator,Fe=ee$1(),On=/(\r?\n)/,En=10,re=`$$$isSourceNode$$$`;function M(n,e,t,r,i){this.children=[],this.sourceContents={},this.line=n??null,this.column=e??null,this.source=t??null,this.name=i??null,this[re]=!0,r!=null&&this.add(r)}M.fromStringWithSourceMap=function(e,t,r){var i=new M,s=e.split(On),o=0,u=function(){return y()+(y()||``);function y(){return o<s.length?s[o++]:void 0}},l=1,a=0,f=null;return t.eachMapping(function(c){if(f!==null)if(l<c.generatedLine)h(f,u()),l++,a=0;else{var p=s[o]||``,y=p.substr(0,c.generatedColumn-a);s[o]=p.substr(c.generatedColumn-a),a=c.generatedColumn,h(f,y),f=c;return}for(;l<c.generatedLine;)i.add(u()),l++;if(a<c.generatedColumn){var p=s[o]||``;i.add(p.substr(0,c.generatedColumn)),s[o]=p.substr(c.generatedColumn),a=c.generatedColumn}f=c},this),o<s.length&&(f&&h(f,u()),i.add(s.splice(o).join(``))),t.sources.forEach(function(c){var p=t.sourceContentFor(c);p!=null&&(r!=null&&(c=Fe.join(r,c)),i.setSourceContent(c,p))}),i;function h(c,p){if(c===null||c.source===void 0)i.add(p);else{var y=r?Fe.join(r,c.source):c.source;i.add(new M(c.originalLine,c.originalColumn,y,p,c.name))}}};M.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[re]||typeof e==`string`)e&&this.children.push(e);else throw new TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this};M.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[re]||typeof e==`string`)this.children.unshift(e);else throw new TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this};M.prototype.walk=function(e){for(var t,r=0,i=this.children.length;r<i;r++)t=this.children[r],t[re]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};M.prototype.join=function(e){var t,r,i=this.children.length;if(i>0){for(t=[],r=0;r<i-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this};M.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[re]?r.replaceRight(e,t):typeof r==`string`?this.children[this.children.length-1]=r.replace(e,t):this.children.push(``.replace(e,t)),this};M.prototype.setSourceContent=function(e,t){this.sourceContents[Fe.toSetString(e)]=t};M.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][re]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(Fe.fromSetString(i[t]),this.sourceContents[i[t]])};M.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e};M.prototype.toStringWithSourceMap=function(e){var t={code:``,line:1,column:0},r=new xn(e),i=!1,s=null,o=null,u=null,l=null;return this.walk(function(a,f){t.code+=a,f.source!==null&&f.line!==null&&f.column!==null?((s!==f.source||o!==f.line||u!==f.column||l!==f.name)&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name}),s=f.source,o=f.line,u=f.column,l=f.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),s=null,i=!1);for(var h=0,c=a.length;h<c;h++)a.charCodeAt(h)===En?(t.line++,t.column=0,h+1===c?(s=null,i=!1):i&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name})):t.column++}),this.walkSourceContents(function(a,f){r.setSourceContent(a,f)}),{code:t.code,map:r}};jr.SourceNode=M});var Ge$1=Lb(je=>{"use strict";je.SourceMapGenerator=mt$1().SourceMapGenerator;je.SourceMapConsumer=Fr$1().SourceMapConsumer;je.SourceNode=Gr$1().SourceNode});var St$1=Lb(()=>{"use strict";});var zr$1=Lb(()=>{"use strict";});var _t=Lb((go,$r)=>{"use strict";var{existsSync:An,readFileSync:Ln}=zr$1(),{dirname:Ct,join:Mn}=Te$1(),{SourceMapConsumer:Wr,SourceMapGenerator:Vr}=Ge$1();function Rn(n){return Buffer?Buffer.from(n,`base64`).toString():window.atob(n)}var Ce=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);let r=t.map?t.map.prev:void 0,i=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Ct(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Wr(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,o=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(o)return decodeURIComponent(e.substr(o[0].length));let u=e.match(t)||e.match(r);if(u)return Rn(e.substr(u[0].length));let l=e.match(/data:application\/json;([^,]+),/)[1];throw new Error(`Unsupported source map encoding `+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()}isMap(e){return typeof e!=`object`?!1:typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),i=e.indexOf(`*/`,r);r>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,i)))}loadFile(e){if(this.root=Ct(e),An(e))return this.mapFile=e,Ln(e,`utf-8`).toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){let r=t(e);
vendor: 5,753 bytes, lines 20-22
20if(r){let i=this.loadFile(r);if(!i)throw new Error(`Unable to load previous source map: `+r.toString());return i}}else{if(t instanceof Wr)return Vr.fromSourceMap(t).toString();if(t instanceof Vr)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error(`Unsupported previous source map format: `+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=Mn(Ct(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};$r.exports=Ce;Ce.default=Ce});var _e$1=Lb((mo,Hr)=>{"use strict";var{nanoid:Pn}=wr$1(),{isAbsolute:Ot,resolve:Et}=Te$1(),{SourceMapConsumer:In,SourceMapGenerator:Nn}=Ge$1(),{fileURLToPath:Qr,pathToFileURL:ze}=St$1(),Jr=Ie$1(),kn=_t(),bt=tt$1(),xt=Symbol(`lineToIndexCache`),qn=!!(In&&Nn),Yr=!!(Et&&Ot);function Kr(n){if(n[xt])return n[xt];let e=n.css.split(` 21`),t=new Array(e.length),r=0;for(let i=0,s=e.length;i<s;i++)t[i]=r,r+=e[i].length+1;return n[xt]=t,t}var ie=class{get from(){return this.file||this.id}constructor(e,t={}){if(e===null||typeof e>`u`||typeof e==`object`&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]===``||this.css[0]===`￾`?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!Yr||/^\w+:\/\//.test(t.from)||Ot(t.from)?this.file=t.from:this.file=Et(t.from)),Yr&&qn){let r=new kn(this.css,t);if(r.text){this.map=r;let i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id=`<input css `+Pn(6)+`>`),this.map&&(this.map.file=this.from)}error(e,t,r,i={}){let s,o,u,l,a;if(t&&typeof t==`object`){let h=t,c=r;if(typeof h.offset==`number`){l=h.offset;let p=this.fromOffset(l);t=p.line,r=p.col}else t=h.line,r=h.column,l=this.fromLineAndColumn(t,r);if(typeof c.offset==`number`){u=c.offset;let p=this.fromOffset(u);o=p.line,s=p.col}else o=c.line,s=c.column,u=this.fromLineAndColumn(c.line,c.column)}else if(r)l=this.fromLineAndColumn(t,r);else{l=t;let h=this.fromOffset(l);t=h.line,r=h.col}let f=this.origin(t,r,o,s);return f?a=new Jr(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,i.plugin):a=new Jr(e,o===void 0?t:{column:r,line:t},o===void 0?r:{column:s,line:o},this.css,this.file,i.plugin),a.input={column:r,endColumn:s,endLine:o,endOffset:u,line:t,offset:l,source:this.css},this.file&&(ze&&(a.input.url=ze(this.file).toString()),a.input.file=this.file),a}fromLineAndColumn(e,t){return Kr(this)[e-1]+t-1}fromOffset(e){let t=Kr(this),r=t[t.length-1],i=0;if(e>=r)i=t.length-1;else{let s=t.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<t[o])s=o-1;else if(e>=t[o+1])i=o+1;else{i=o;break}}return{col:e-t[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Et(this.map.consumer().sourceRoot||this.map.root||`.`,e)}origin(e,t,r,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({column:t,line:e});if(!o.source)return!1;let u;typeof r==`number`&&(u=s.originalPositionFor({column:i,line:r}));let l;Ot(o.source)?l=ze(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||ze(this.map.mapFile));let a={column:o.column,endColumn:u&&u.column,endLine:u&&u.line,line:o.line,url:l.toString()};if(l.protocol===`file:`)if(Qr)a.file=Qr(l);else throw new Error(`file: protocol is not available in this PostCSS build`);let f=s.sourceContentFor(o.source);return f&&(a.source=f),a}toJSON(){let e={};for(let t of[`hasBOM`,`css`,`file`,`id`])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map=K$1({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Hr.exports=ie;ie.default=ie;bt&&bt.registerInput&&bt.registerInput(ie)});var ne$1=Lb((yo,ti)=>{"use strict";var Zr=U$1(),Xr,ei,B=class extends Zr{constructor(e){super(e),this.type=`root`,this.nodes||(this.nodes=[])}normalize(e,t,r){let i=super.normalize(e);if(t){if(r===`prepend`)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let s of i)s.raws.before=t.raws.before}return i}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Xr(new ei,this,e).stringify()}};B.registerLazyResult=n=>{Xr=n};B.registerProcessor=n=>{ei=n};ti.exports=B;B.default=B;Zr.registerRoot(B)});var At$1=Lb((vo,ri)=>{"use strict";var be={comma(n){return be.split(n,[`,`],!0)},space(n){return be.split(n,[` `,` 22`,` `])},split(n,e,t){let r=[],i=``,s=!1,o=0,u=!1,l=``,a=!1;for(let f of n)a?a=!1:f===`\\`?a=!0:u?f===l&&(u=!1):f===`"`||f===`'`?(u=!0,l=f):f===`(`?o+=1:f===`)`?o>0&&(o-=1):o===0&&e.includes(f)&&(s=!0),s?(i!==``&&r.push(i.trim()),i=``,s=!1):i+=f;return(t||i!==``)&&r.push(i.trim()),r}};ri.exports=be;be.default=be});var We$1=Lb((So,ni)=>{"use strict";var ii=U$1(),Tn=At$1(),se=class extends ii{get selectors(){return Tn.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(r)}constructor(e){super(e),this.type=`rule`,this.nodes||(this.nodes=[])}};ni.exports=se;se.default=se;ii.registerRule(se)});var oi$3=Lb((Co,si)=>{"use strict";var Dn=ke$1(),Un=ge$1(),Bn=we$1(),Fn=_e$1(),jn=_t(),Gn=ne$1(),zn=We$1();function xe(n,e){if(Array.isArray(n))return n.map(o=>xe(o));let i=n,{inputs:t}=i,r=Nm(i,[`inputs`]);if(t){e=[];for(let o of t){let u=J(K$1({},o),{__proto__:Fn.prototype});u.map&&(u.map=J(K$1({},u.map),{__proto__:jn.prototype})),e.push(u)}}if(r.nodes&&(r.nodes=n.nodes.map(o=>
vendor: 7,829 bytes, lines 22-26
22xe(o,e))),r.source){let s=r.source,{inputId:o}=s;r.source=Nm(s,[`inputId`]),o!=null&&(r.source.input=e[o])}if(r.type===`root`)return new Gn(r);if(r.type===`decl`)return new Bn(r);if(r.type===`rule`)return new zn(r);if(r.type===`comment`)return new Un(r);if(r.type===`atrule`)return new Dn(r);throw new Error(`Unknown node type: `+n.type)}si.exports=xe;xe.default=xe});var Mt$1=Lb((bo,hi)=>{"use strict";var{dirname:Ve,relative:ui,resolve:ai,sep:fi}=Te$1(),{SourceMapConsumer:ci,SourceMapGenerator:$e}=Ge$1(),{pathToFileURL:li}=St$1(),Wn=_e$1(),Vn=!!(ci&&$e),$n=!!(Ve&&ai&&ui&&fi),Lt=class{constructor(e,t,r,i){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e=`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?e=this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+`.map`;let t=` 23`;this.css.includes(`\r 24`)&&(t=`\r 25`),this.css+=t+`/*# sourceMappingURL=`+e+` */`}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||Ve(e.file),i;this.mapOpts.sourcesContent===!1?(i=new ci(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.startsWith(`# sourceMappingURL=`)&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,``))}generate(){if(this.clearAnnotation(),$n&&Vn&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=$e.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new $e({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new $e({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,r=`<no source>`,i={generated:{column:0,line:0},original:{column:0,line:0},source:``},s,o;this.stringify(this.root,(u,l,a)=>{if(this.css+=u,l&&a!==`end`&&(i.generated.line=e,i.generated.column=t-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),o=u.match(/\n/g),o?(e+=o.length,s=u.lastIndexOf(` 26`),t=u.length-s):t+=u.length,l&&a!==`start`){let f=l.parent||{raws:{}};(!(l.type===`decl`||l.type===`atrule`&&!l.nodes)||l!==f.last||f.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=e,i.generated.column=t-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=t-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<`u`?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<`u`)return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<`u`&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<`u`?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<`u`?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Ve(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(r=Ve(ai(r,this.mapOpts.annotation)));let i=ui(r,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new Wn(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(li){let r=li(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;fi===`\\`&&(e=e.replace(/\\/g,`/`));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};hi.exports=Lt});var gi$2=Lb((xo,di)=>{"use strict";var Qe=/[\t\n\f\r "#'()/;[\\\]{}]/g,Je=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Qn=/.[\r\n"'(/\\]/,pi=/[\da-f]/i;di.exports=function(e,t={}){let r=e.css.valueOf(),i=t.ignoreErrors,s,o,u,l,a,f,h,c,p,y,S=r.length,g=0,x=[],A=[];function Q(){return g}function j(K){throw e.error(`Unclosed `+K,g)}function J(){return A.length===0&&g>=S}function Y(K){if(A.length)return A.pop();if(g>=S)return;let Ze=K?K.ignoreUnclosed:!1;switch(s=r.charCodeAt(g),s){case 10:case 32:case 9:case 13:case 12:l=g;do l+=1,s=r.charCodeAt(l);while(s===32||s===10||s===9||s===13||s===12);f=[`space`,r.slice(g,l)],g=l-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Dt=String.fromCharCode(s);f=[Dt,Dt,g];break}case 40:if(y=x.length?x.pop()[1]:``,p=r.charCodeAt(g+1),y===`url`&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){l=g;do{if(h=!1,l=r.indexOf(`)`,l+1),l===-1)if(i||Ze){l=g;break}else j(`bracket`);for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=[`brackets`,r.slice(g,l+1),g,l],g=l}else l=r.indexOf(`)`,g+1),o=r.slice(g,l+1),l===-1||Qn.test(o)?f=[`(`,`(`,g]:(f=[`brackets`,o,g,l],g=l);break;case 39:case 34:a=s===39?`'`:`"`,l=g;do{if(h=!1,l=r.indexOf(a,l+1),l===-1)if(i||Ze){l=g+1;break}else j(`string`);for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=[`string`,r.slice(g,l+1),g,l],g=l;break;case 64:Qe.lastIndex=g+1,Qe.test(r),Qe.lastIndex===0?l=r.length-1:l=Qe.lastIndex-2,f=[`at-word`,r.slice(g,l+1),g,l],g=l;break;case 92:for(l=g,u=!0;r.charCodeAt(l+1)===92;)l+=1,u=!u;if(s=r.charCodeAt(l+1),u&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(l+=1,pi.test(r.charAt(l)))){for(;pi.test(r.charAt(l+1));)l+=1;r.charCodeAt(l+1)===32&&(l+=1)}f=[`word`,r.slice(g,l+1),g,l],g=l;break;default:s===47&&r.charCodeAt(g+1)===42?(l=r.indexOf(`*/`,g+2)+1,l===0&&(i||Ze?l=r.length:j(`comment`)),f=[`c
26omment`,r.slice(g,l+1),g,l],g=l):(Je.lastIndex=g+1,Je.test(r),Je.lastIndex===0?l=r.length-1:l=Je.lastIndex-2,f=[`word`,r.slice(g,l+1),g,l],x.push(f),g=l);break}return g++,f}function ji(K){A.push(K)}return{back:ji,endOfFile:J,nextToken:Y,position:Q}}});var vi$2=Lb((Oo,yi)=>{"use strict";var Jn=ke$1(),Yn=ge$1(),Kn=we$1(),Hn=ne$1(),mi=We$1(),Zn=gi$2(),wi={empty:!0,space:!0};function Xn(n){for(let e=n.length-1;e>=0;e--){let t=n[e],r=t[3]||t[2];if(r)return r}}var Rt=class{constructor(e){this.input=e,this.root=new Hn,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Jn;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,s,o=!1,u=!1,l=[],a=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r===`(`||r===`[`?a.push(r===`(`?`)`:`]`):r===`{`&&a.length>0?a.push(`}`):r===a[a.length-1]&&a.pop(),a.length===0)if(r===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r===`{`){u=!0;break}else if(r===`}`){if(l.length>0){for(s=l.length-1,i=l[s];i&&i[0]===`space`;)i=l[--s];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(t.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(t,`params`,l),o&&(e=l[l.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),u&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,i;for(let s=t-1;s>=0&&(i=e[s],!(i[0]!==`space`&&(r+=1,r===2)));s--);throw this.input.error(`Missed semicolon`,i[0]===`word`?i[3]+1:i[2])}colon(e){let t=0,r,i,s;for(let[o,u]of e.entries()){if(i=u,s=i[0],s===`(`&&(t+=1),s===`)`&&(t-=1),t===0&&s===`:`)if(!r)this.doubleColon(i);else{if(r[0]===`word`&&r[1]===`progid`)continue;return o}r=i}return!1}comment(e){let t=new Yn;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text=``,t.raws.left=r,t.raws.right=``;else{let i=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=i[2],t.raws.left=i[1],t.raws.right=i[3]}}createTokenizer(){this.tokenizer=Zn(this.input)}decl(e,t){let r=new Kn;this.init(r,e[0][2]);let i=e[e.length-1];for(i[0]===`;`&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||Xn(e)),r.source.end.offset++;e[0][0]!==`word`;)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop=``;e.length;){let a=e[0][0];if(a===`:`||a===`space`||a===`comment`)break;r.prop+=e.shift()[1]}r.raws.between=``;let s;for(;e.length;)if(s=e.shift(),s[0]===`:`){r.raws.between+=s[1];break}else s[0]===`word`&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1];(r.prop[0]===`_`||r.prop[0]===`*`)&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],u;
vendor: 6,330 bytes, line 26
26for(;e.length&&(u=e[0][0],!(u!==`space`&&u!==`comment`));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let a=e.length-1;a>=0;a--){if(s=e[a],s[1].toLowerCase()===`!important`){r.important=!0;let f=this.stringFrom(e,a);f=this.spacesFromEnd(e)+f,f!==` !important`&&(r.raws.important=f);break}else if(s[1].toLowerCase()===`important`){let f=e.slice(0),h=``;for(let c=a;c>0;c--){let p=f[c][0];if(h.trim().startsWith(`!`)&&p!==`space`)break;h=f.pop()[1]+h}h.trim().startsWith(`!`)&&(r.important=!0,r.raws.important=h,e=f)}if(s[0]!==`space`&&s[0]!==`comment`)break}e.some(a=>a[0]!==`space`&&a[0]!==`comment`)&&(r.raws.between+=o.map(a=>a[1]).join(``),o=[]),this.raw(r,`value`,o.concat(e),t),r.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new mi;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,r=null,i=!1,s=null,o=[],u=e[1].startsWith(`--`),l=[],a=e;for(;a;){if(r=a[0],l.push(a),r===`(`||r===`[`)s||(s=a),o.push(r===`(`?`)`:`]`);else if(u&&i&&r===`{`)s||(s=a),o.push(`}`);else if(o.length===0)if(r===`;`)if(i){this.decl(l,u);return}else break;else if(r===`{`){this.rule(l);return}else if(r===`}`){this.tokenizer.back(l.pop()),t=!0;break}else r===`:`&&(i=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(s=null));a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(s),t&&i){if(!u)for(;l.length&&(a=l[l.length-1][0],!(a!==`space`&&a!==`comment`));)this.tokenizer.back(l.pop());this.decl(l,u)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,i){let s,o,u=r.length,l=``,a=!0,f,h;for(let c=0;c<u;c+=1)s=r[c],o=s[0],o===`space`&&c===u-1&&!i?a=!1:o===`comment`?(h=r[c-1]?r[c-1][0]:`empty`,f=r[c+1]?r[c+1][0]:`empty`,!wi[h]&&!wi[f]?l.slice(-1)===`,`?a=!1:l+=s[1]:a=!1):l+=s[1];if(!a){let c=r.reduce((p,y)=>p+y[1],``);e.raws[t]={raw:c,value:l}}e[t]=l}rule(e){e.pop();let t=new mi;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,r=``;for(;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r=``;for(;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r=``;for(let i=t;i<e.length;i++)r+=e[i][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}};yi.exports=Rt});var Ke$1=Lb((Eo,Si)=>{"use strict";var es=U$1(),ts=_e$1(),rs=vi$2();function Ye(n,e){let r=new rs(new ts(n,e));try{r.parse()}catch(i){throw i}return r.root}Si.exports=Ye;Ye.default=Ye;es.registerParse(Ye)});var Pt$2=Lb((Ao,Ci)=>{"use strict";var Oe=class{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}};Ci.exports=Oe;Oe.default=Oe});var He$1=Lb((Lo,_i)=>{"use strict";var is=Pt$2(),Ee=class{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=``,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new is(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}};_i.exports=Ee;Ee.default=Ee});var It$1=Lb((Mo,xi)=>{"use strict";var bi={};xi.exports=function(e){bi[e]||(bi[e]=!0,typeof console<`u`&&console.warn&&console.warn(e))}});var qt$2=Lb((Po,Li)=>{"use strict";var ns=U$1(),ss=qe$1(),os=Mt$1(),ls=Ke$1(),Oi=He$1(),us=ne$1(),as=fe$2(),{isClean:N,my:fs}=Ne$1();It$1();var cs={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},hs={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0}
vendor: 10,385 bytes, lines 26-28
26,ps={Once:!0,postcssPlugin:!0,prepare:!0},oe=0;function Ae(n){return typeof n==`object`&&typeof n.then==`function`}function Ai(n){let e=!1,t=cs[n.type];return n.type===`decl`?e=n.prop.toLowerCase():n.type===`atrule`&&(e=n.name.toLowerCase()),e&&n.append?[t,t+`-`+e,oe,t+`Exit`,t+`Exit-`+e]:e?[t,t+`-`+e,t+`Exit`,t+`Exit-`+e]:n.append?[t,oe,t+`Exit`]:[t,t+`Exit`]}function Ei(n){let e;return n.type===`document`?e=[`Document`,oe,`DocumentExit`]:n.type===`root`?e=[`Root`,oe,`RootExit`]:e=Ai(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function Nt(n){return n[N]=!1,n.nodes&&n.nodes.forEach(e=>Nt(e)),n}var kt={},F=class n{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return`LazyResult`}constructor(e,t,r){this.stringified=!1,this.processed=!1;let i;if(typeof t==`object`&&t!==null&&(t.type===`root`||t.type===`document`))i=Nt(t);else if(t instanceof n||t instanceof Oi)i=Nt(t.root),t.map&&(typeof r.map>`u`&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let s=ls;r.syntax&&(s=r.syntax.parse),r.parser&&(s=r.parser),s.parse&&(s=s.parse);try{i=s(t,r)}catch(o){this.processed=!0,this.error=o}i&&!i[fs]&&ns.rebuild(i)}this.result=new Oi(e,i,r),this.helpers=J(K$1({},kt),{postcss:kt,result:this.result}),this.plugins=this.processor.plugins.map(s=>typeof s==`object`&&s.prepare?K$1(K$1({},s),s.prepare(this.result)):s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(t,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,i])};for(let t of this.plugins)if(typeof t==`object`)for(let r in t){if(!hs[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!ps[r])if(typeof t[r]==`object`)for(let i in t[r])i===`*`?e(t,r,t[r][i]):e(t,r+`-`+i.toLowerCase(),t[r][i]);else typeof t[r]==`function`&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){return sr$1(this,null,function*(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Ae(r))try{yield r}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[N];){e[N]=!0;let t=[Ei(e)];for(;t.length>0;){let r=this.visitTick(t);if(Ae(r))try{yield r}catch(i){let s=t[t.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let i=e.nodes.map(s=>r(s,this.helpers));yield Promise.all(i)}else yield r(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()})}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return Ae(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e==`function`)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=as;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let i=new os(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(Ae(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[N];)e[N]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,i]of e){this.result.lastPlugin=r;let s;try{s=i(t,this.helpers)}catch(o){throw this.handleError(o,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(Ae(s))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if(r.type!==`root`&&r.type!==`document`&&!r.parent){e.pop();return}if(i.length>0&&t.visitorIndex<i.length){let[o,u]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return u(r.toProxy(),this.helpers)}catch(l){throw this.handleError(l,r)}}if(t.iterator!==0){let o=t.iterator,u;for(;u=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!u[N]){u[N]=!0,e.push(Ei(u));return}t.iterator=0,delete r.indexes[o]}let s=t.events;for(;t.eventIndex<s.length;){let o=s[t.eventIndex];if(t.eventIndex+=1,o===oe){r.nodes&&r.nodes.length&&(r[N]=!0,t.iterator=r.getIterator());return}else if(this.listeners[o]){t.visitors=this.listeners[o];return}}e.pop()}walkSync(e){e[N]=!0;let t=Ai(e);for(let r of t)if(r===oe)e.nodes&&e.each(i=>{i[N]||this.walkSync(i)});else{let i=this.listeners[r];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}};F.registerPostcss=n=>{kt=n};Li.exports=F;F.default=F;us.registerLazyResult(F);ss.registerLazyResult(F)});var Ri$1=Lb((ko,Mi)=>{"use strict";var ds=Mt$1(),gs=Ke$1(),ms=He$1(),ws=fe$2();It$1();var Le=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=gs;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let i,s=ws;this.result=new ms(this._processor,i,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let u=new ds(s,i,this._opts,t);if(u.isMap()){let[l,a]=u.generate();l&&(this.result.css=l),a&&(this.result.map=a)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};Mi.exports=Le;Le.default=Le});var Ii$1=Lb((qo,Pi)=>{"use strict";var ys=qe$1(),vs=qt$2(),Ss=Ri$1(),Cs=ne$1(),$=class{constructor(e=[]){this.version=`8.5.6`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r==`object`&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r==`object`&&r.postcssPlugin)t.push(r);else if(typeof r==`function`)t.push(r);else if(!(typeof r==`object`&&(r.parse||r.stringify)))throw new Error(r+` is not a PostCSS plugin`);return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Ss(this,e,t):new vs(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Pi.exports=$;$.default=$;Cs.registerProcessor($);ys.registerProcessor($)});var _$1=Pb(Lb((To,Bi)=>{"use strict";var Ni=ke$1(),ki=ge$1(),_s=U$1(),bs=Ie$1(),qi=we$1(),Ti=qe$1(),xs=oi$3(),Os=_e$1(),Es=qt$2(),As=At$1(),Ls=pe$2(),Ms=Ke$1(),Tt=Ii$1(),Rs=He$1(),Di=ne$1(),Ui=We$1(),Ps=fe$2(),Is=Pt$2();function v(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Tt(n)}v.plugin=function(e,t){let r=!1;function i(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: 27https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith(`cn`)&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 28https://www.w3ctech.com/topic/2226`));let u=t(...o);return u.postcssPlugin=e,u.postcssVersion=new Tt().version,u}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,u,l){return v([i(l)]).process(o,u)},i};v.stringify=Ps;v.parse=Ms;v.fromJSON=xs;v.list=As;v.comment=n=>new ki(n);v.atRule=n=>new Ni(n);v.decl=n=>new qi(n);v.rule=n=>new Ui(n);v.root=n=>new Di(n);v.document=n=>new Ti(n);v.CssSyntaxError=bs;v.Declaration=qi;v.Container=_s;v.Processor=Tt;v.Document=Ti;v.Comment=ki;v.Warning=Is;v.AtRule=Ni;v.Result=Rs;v.Input=Os;v.Rule=Ui;v.Root=Di;v.Node=Ls;Es.registerPostcss(v);Bi.exports=v;v.default=v})(),1);_$1.default.stringify;_$1.default.fromJSON;_$1.default.plugin;_$1.default.parse;_$1.default.list;_$1.default.document;_$1.default.comment;_$1.default.atRule;_$1.default.rule;_$1.default.decl;_$1.default.root;_$1.default.CssSyntaxError;_$1.default.Declaration;_$1.default.Container;_$1.default.Processor;_$1.default.Document;_$1.default.Comment;_$1.default.Warning;_$1.default.AtRule;_$1.default.Result;_$1.default.Input;_$1.default.Rule;_$1.default.Root;_$1.default.Node;var wl$1=(()=>{let e=class e{constructor(r,i,s,o){this.document=r,this.brandingTemplate=i,this.window=s,this.loaderService=o,this.cookieApiCallbackName=`cookieOptCb`,this.cookieWindowApiName=`cookieApi`,this.optInMode=!1,this.activeGroups=[``],this.activeGroups$=new ar$1(null)}loadScript(r,i){let s=this.cookieWindowApiName;return window[this.cookieApiCallbackName]=function(o){window[s]=o},new N$2(o=>{this.loaderService.loadScript(`https://cookieopt.porsche-holding.com/api/v1/cookieopt.js?site=${this.get
28Site(r,i)}&cb=${this.cookieApiCallbackName}`).then(()=>{window[this.cookieWindowApiName].getOpt()===`in`&&(window.dtrum&&typeof window.dtrum.enable==`function`&&window.dtrum.enable(),this.optInMode=!0),o.next(),o.complete()})})}getSite(r,i){let s;switch(r){case rl$1.VW:s=`vw`;break;case rl$1.LNF:s=`vwn`;break;case rl$1.AUDI:s=`audi`;break;case rl$1.SKODA:s=`skoda`;break;case rl$1.SEAT:s=`seat`;break;default:s=`vw`;break}return s=s+`-`+i.toLowerCase(),s}allowAll(){this.window.OneTrust&&this.window.OneTrust.AllowAll()}toggleCookieDialog(){this.window.OneTrust&&this.window.OneTrust.ToggleInfoDisplay()}cookieGroupActive(r){return this.activeGroups.indexOf(r)>=0}loadOneTrustScript(r){!this.brandingTemplate&&r.onetrustCookieBannerDataDomainScript&&(this.window.OptanonWrapper=()=>{this.activeGroups=this.window.OptanonActiveGroups.split(`,`),this.activeGroups$.next(this.activeGroups)},this.loaderService.loadScript(r.onetrustCookieBannerUrl,!1,!1,!1,{"data-domain-script":r.onetrustCookieBannerDataDomainScript,"data-document-language":`true`}))}};e.ɵfac=function(i){return new(i||e)(ue(Lr),ue(`brandingTemplate`),ue(Window),ue(E$1))},e.ɵprov=Y$1({token:e,factory:e.ɵfac});return e})();var xl$1=(()=>{let e=class e{constructor(r,i){this.loaderService=r,this.zone=i,this.initialized=new ar$1(!1)}get googleTagManager(){return this._googleTagManager}initGoogleTagManager(){if(this._googleTagManager)return;(window.dataLayer=window.dataLayer||[]).push({"gtm.start":new Date().getTime(),event:`gtm.js`}),this._googleTagManager=this.loaderService.loadScript(Mo$1.googleTagManager.js,!1,!1,!1).then(()=>window.dataLayer),this.initialized.next(!0)}track(r){return sr$1(this,null,function*(){return yield this.zone.runOutsideAngular(()=>sr$1(this,null,function*(){yield yy(this.initialized.asObservable().pipe(ut$1(i=>i===!0),Mn$2(1))),(yield this.googleTagManager).push(r)}))})}};e.ɵfac=function(i){return new(i||e)(ue(E$1),ue(V$1))},e.ɵprov=Y$1({token:e,factory:e.ɵfac,providedIn:`root`});return e})();var ce$1={log:`log`,debug:`debug`,info:`info`,warn:`warn`,error:`error`};var Mt=console;var Le={};Object.keys(ce$1).forEach(function(t){Le[t]=Mt[t]});var $e=`Datadog Browser SDK:`;var T$1={debug:Le.debug.bind(Mt,$e),log:Le.log.bind(Mt,$e),info:Le.info.bind(Mt,$e),warn:Le.warn.bind(Mt,$e),error:Le.error.bind(Mt,$e)};var le=`https://docs.datadoghq.com`;var Vr=``.concat(le,`/real_user_monitoring/browser/troubleshooting`);var Qt$1=`More details:`;function Fr(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return t.apply(void 0,r)}catch(o){T$1.error(e,o)}}}function Rt(t){return t!==0&&Math.random()*100<=t}function fe$1(t,e){return+t.toFixed(e)}function Bi(t){return Nt$1(t)&&t>=0&&t<=100}function Nt$1(t){return typeof t==`number`}var L$1=1e3;var U=60*L$1;var Jn=60*U;var hc=365*(24*Jn);function de$1(t){return{relative:t,timeStamp:gc(t)}}function zi(t){return{relative:Qe(t),timeStamp:t}}function gc(t){var e=ft()-performance.now();return e>tr()?Math.round(te(e,t)):_c(t)}function Hi(){return Math.round(ft()-te(tr(),performance.now()))}function C$1(t){return Nt$1(t)?fe$1(t*1e6,0):t}function ft(){return new Date().getTime()}function R$1(){return ft()}function $(){return performance.now()}function D$1(){return{relative:$(),timeStamp:R$1()}}function Br(){return{relative:0,timeStamp:tr()}}function M(t,e){return e-t}function te(t,e){return t+e}function Qe(t){return t-tr()}function _c(t){return Math.round(te(tr(),t))}function Gi(t){return t<hc}var Zn;function tr(){return Zn===void 0&&(Zn=performance.timing.navigationStart),Zn}var bt=1024;var $n=1024*bt;var bc=/[^\u0000-\u007F]/;function Me(t){return bc.test(t)?window.TextEncoder!==void 0?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function ji$1(t){for(var e=t.reduce(function(s,c){return s+c.length},0),r=new Uint8Array(e),n=0,o=0,i=t;o<i.length;o++){var a=i[o];r.set(a,n),n+=a.length}return r}function K(t,e){return t.indexOf(e)!==-1}function De(t){if(Array.from)return Array.from(t);var e=[];if(t instanceof Set)t.forEach(function(n){return e.push(n)});else for(var r=0;r<t.length;r++)e.push(t[r]);return e}function at(t,e){for(var r=0;r<t.length;r+=1){var n=t[r];
28if(e(n,r))return n}}function Ki(t,e){for(var r=t.length-1;r>=0;r-=1){var n=t[r];if(e(n,r,t))return n}}function Yi(t,e){Array.prototype.forEach.call(t,e)}function pe$1(t){return Object.keys(t).map(function(e){return t[e]})}function Pe(t){return Object.keys(t).map(function(e){return[e,t[e]]})}function Dt$2(t,e){return t.slice(0,e.length)===e}function Wi(t,e){return t.slice(-e.length)===e}function _(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.forEach(function(n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}),t}function Kt$1(t){return _({},t)}function me(t,e){return Object.keys(t).some(function(r){return t[r]===e})}function St(t){return Object.keys(t).length===0}function qi(t,e){for(var r={},n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];r[i]=e(t[i])}return r}function Et(){if(typeof globalThis==`object`)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,typeof t!=`object`&&(typeof self==`object`?t=self:typeof window==`object`?t=window:t={}),t}function yt(t,e){var r=Et(),n;return r.Zone&&typeof r.Zone.__symbol__==`function`&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}var Sc=function(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};var Qn;var Xi=!1;function Zi(t){Qn=t}function to(t){Xi=t}function S(t){return function(){return xt$1(t,this,arguments)}}function xt$1(t,e,r){try{return t.apply(e,r)}catch(n){if(zr(n),Qn)try{Qn(n)}catch(o){zr(o)}}}function zr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];Xi&&T$1.error.apply(T$1,Sc([`[MONITOR]`],t,!1))}function N$1(t,e){return yt(Et(),`setTimeout`)(S(t),e)}function q(t){yt(Et(),`clearTimeout`)(t)}function Tt(t,e){return yt(Et(),`setInterval`)(S(t),e)}function Pt$1(t){yt(Et(),`clearInterval`)(t)}var x=(function(){function t(e){this.onFirstSubscribe=e,this.observers=[]}return t.prototype.subscribe=function(e){var r=this;return this.observers.push(e),this.observers.length===1&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){r.observers=r.observers.filter(function(n){return e!==n}),!r.observers.length&&r.onLastUnsubscribe&&r.onLastUnsubscribe()}}},t.prototype.notify=function(e){this.observers.forEach(function(r){return r(e)})},t})();function Hr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new x(function(r){var n=t.map(function(o){return o.subscribe(function(i){return r.notify(i)})});return function(){return n.forEach(function(o){return o.unsubscribe()})}})}function Q(t,e,r){var n=r&&r.leading!==void 0?r.leading:!0,o=r&&r.trailing!==void 0?r.trailing:!0,i=!1,a,s;return{throttled:function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];if(i){a=c;return}n?t.apply(void 0,c):a=c,i=!0,s=N$1(function(){o&&a&&t.apply(void 0,a),i=!1,a=void 0},e)},cancel:function(){q(s),i=!1,a=void 0}}}function w$1(){}function k(t){return t?(parseInt(t,10)^Math.random()*16>>parseInt(t,10)/4).toString(16):``.concat(1e7,`-`).concat(1e3,`-`).concat(4e3,`-`).concat(8e3,`-`).concat(1e11).replace(/[018]/g,k)}var Gr=/([\w-]+)\s*=\s*([^;]+)/g;function ee(t,e){for(Gr.lastIndex=0;;){var r=Gr.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function Ji(t){var e=new Map;for(Gr.lastIndex=0;;){var r=Gr.exec(t);if(r)e.set(r[1],r[2]);else break}return e}function jr(t,e,r){r===void 0&&(r=``);var n=t.charCodeAt(e-1),i=n>=55296&&n<=56319?e+1:e;return t.length<=i?t:``.concat(t.slice(0,i)).concat(r)}function $i(){return eo()===0}function Qi(){return eo()===1}function ta(){return eo()===2}var Kr;function eo(){return Kr??(Kr=Ec())}function Ec(t){var e;t===void 0&&(t=window);var r=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(r)?1:((e=t.navigator.vendor)===null||e===void 0?void 0:e.indexOf(`Apple`))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?2:t.document.documentMode?0:3}function ve(t,e,r,n){var o=new Date;o.setTime(o.getTime()+r);var i=`expires=`.concat(o.toUTCString()),a=n&&n.crossSite?`none`:`strict`,s=n&&n.domain?`;domain=`.concat(n.domain):``,c=n&&n.secure?`;secure`:``,u=n&&n.partitioned?`;partitioned`:``;document.cookie=``.concat(t,`=`).concat(e,`;`).concat(i,`;path=/;
28samesite=`).concat(a).concat(s).concat(c).concat(u)}function er(t){return ee(document.cookie,t)}var ro;function wt(t){return ro||(ro=Ji(document.cookie)),ro.get(t)}function oo(t,e){ve(t,``,0,e)}function io(t){if(document.cookie===void 0||document.cookie===null)return!1;try{var e=`dd_cookie_test_`.concat(k()),r=`test`;ve(e,r,U,t);var n=er(e)===r;return oo(e,t),n}catch(o){return T$1.error(o),!1}}var no;function ea(){if(no===void 0){for(var t=`dd_site_test_`.concat(k()),e=`test`,r=window.location.hostname.split(`.`),n=r.pop();r.length&&!er(t);)n=``.concat(r.pop(),`.`).concat(n),ve(t,e,L$1,{domain:n});oo(t,{domain:n}),no=n}return no}var Yt$1=`_dd_s`;var st=4*Jn;var Yr=15*U;var ra=/^([a-zA-Z]+)=([a-z0-9-]+)$/;var ao=`&`;var yc=`1`;function Ut(){return{isExpired:yc}}function rr(t){return St(t)}function Wr(t){return!rr(t)}function Ue(t){return t.isExpired!==void 0||!xc(t)}function xc(t){return(t.created===void 0||ft()-Number(t.created)<st)&&(t.expire===void 0||ft()<Number(t.expire))}function qr(t){t.expire=String(ft()+Yr)}function nr(t){return Pe(t).map(function(e){var r=e[0],n=e[1];return``.concat(r,`=`).concat(n)}).join(ao)}function Xr(t){var e={};return Tc(t)&&t.split(ao).forEach(function(r){var n=ra.exec(r);if(n!==null){var o=n[1];e[o]=n[2]}}),e}function Tc(t){return!!t&&(t.indexOf(ao)!==-1||ra.test(t))}var wc=`_dd`;var Cc=`_dd_r`;var Ic=`_dd_l`;var Ac=`rum`;var Rc=`logs`;function na(t){if(!wt(Yt$1)){var r=wt(wc),n=wt(Cc),o=wt(Ic),i={};r&&(i.id=r),o&&/^[01]$/.test(o)&&(i[Rc]=o),n&&/^[012]$/.test(n)&&(i[Ac]=n),Wr(i)&&(qr(i),t.persistSession(i))}}function oa(t){var e=Lc(t);return io(e)?{type:`Cookie`,cookieOptions:e}:void 0}function ia(t){var e={isLockEnabled:Qi(),persistSession:Nc(t),retrieveSession:Oc,expireSession:function(){return kc(t)}};return na(e),e}function Nc(t){return function(e){ve(Yt$1,nr(e),Yr,t)}}function kc(t){ve(Yt$1,nr(Ut()),st,t)}function Oc(){return Xr(er(Yt$1))}function Lc(t){var e={};return e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=ea()),e}var Mc=`_dd_test_`;function aa(){try{var t=k(),e=``.concat(Mc).concat(t);localStorage.setItem(e,t);var r=localStorage.getItem(e);return localStorage.removeItem(e),t===r?{type:`LocalStorage`}:void 0}catch(n){return}}function sa(){return{isLockEnabled:!1,persistSession:ua,retrieveSession:Dc,expireSession:Pc}}function ua(t){localStorage.setItem(Yt$1,nr(t))}function Dc(){return Xr(localStorage.getItem(Yt$1))}function Pc(){ua(Ut())}var Uc=10;var Vc=100;var la=[];var Jr;function re$1(t,e,r){var n;r===void 0&&(r=0);var o=e.isLockEnabled,i=e.persistSession,a=e.expireSession,s=function(l){return i(_({},l,{lock:u}))},c=function(){var l=e.retrieveSession(),p=l.lock;return l.lock&&delete l.lock,{session:l,lock:p}};if(Jr||(Jr=t),t!==Jr){la.push(t);return}if(o&&r>=Vc){ca(e);return}var u,f=c();if(o){if(f.lock){Zr(t,e,r);return}if(u=k(),s(f.session),f=c(),f.lock!==u){Zr(t,e,r);return}}var d=t.process(f.session);if(o&&(f=c(),f.lock!==u)){Zr(t,e,r);return}if(d&&(Ue(d)?a():(qr(d),o?s(d):i(d))),o&&!(d&&Ue(d))){if(f=c(),f.lock!==u){Zr(t,e,r);return}i(f.session),d=f.session}
28(n=t.after)===null||n===void 0||n.call(t,d||f.session),ca(e)}function Zr(t,e,r){N$1(function(){re$1(t,e,r+1)},Uc)}function ca(t){Jr=void 0;var e=la.shift();e&&re$1(e,t)}var fa=L$1;function da(t){var e=oa(t);return!e&&t.allowFallbackToLocalStorage&&(e=aa()),e}function pa(t,e,r){var n=new x,o=new x,i=new x,a=t.type===`Cookie`?ia(t.cookieOptions):sa(),s=a.expireSession,c=Tt(m,fa),u;h();var f=Q(function(){re$1({process:function(b){if(!rr(b)){var et=v(b);return g(et),et}},after:function(b){Wr(b)&&!E()&&W(b),u=b}},a)},fa),d=f.throttled,l=f.cancel;function p(){re$1({process:function(b){return E()?v(b):void 0}},a)}function m(){re$1({process:function(b){return Ue(b)?Ut():void 0},after:v},a)}function v(b){return Ue(b)&&(b=Ut()),E()&&(O(b)?P():(i.notify({previousState:u,newState:b}),u=b)),b}function h(){re$1({process:function(b){if(rr(b))return Ut()},after:function(b){u=b}},a)}function g(b){if(rr(b))return!1;var et=r(b[e]),ue=et.trackingType,H=et.isTracked;b[e]=ue,delete b.isExpired,H&&!b.id&&(b.id=k(),b.created=String(ft()))}function E(){return u[e]!==void 0}function O(b){return u.id!==b.id||u[e]!==b[e]}function P(){u=Ut(),o.notify()}function W(b){u=b,n.notify()}function B(b){re$1({process:function(et){return _({},et,b)},after:v},a)}return{expandOrRenewSession:d,expandSession:p,getSession:function(){return u},renewObservable:n,expireObservable:o,sessionStateUpdateObservable:i,restartSession:h,expire:function(){l(),s(),v(Ut())},stop:function(){Pt$1(c)},updateSessionState:B}}var or={GRANTED:`granted`,NOT_GRANTED:`not-granted`};function so(t){var e=new x;return{tryToInit:function(r){t||(t=r)},update:function(r){t=r,e.notify()},isGranted:function(){return t===or.GRANTED},observable:e}}function mt(t,e,r){if(typeof t!=`object`||t===null)return JSON.stringify(t);var n=he(Object.prototype),o=he(Array.prototype),i=he(Object.getPrototypeOf(t)),a=he(t);try{return JSON.stringify(t,e,r)}catch(s){return`<error: unable to serialize object>`}finally{n(),o(),i(),a()}}function he(t){var e=t,r=e.toJSON;return r?(delete e.toJSON,function(){e.toJSON=r}):w$1}function Ve(t){return ir(t,location.href).href}function va(t){try{return!!ir(t)}catch(e){return!1}}function ha(t){var e=ir(t).pathname;return e[0]===`/`?e:`/`.concat(e)}function ir(t,e){var r=Fc();if(r)try{return e!==void 0?new r(t,e):new r(t)}catch(a){throw new Error(`Failed to construct URL: `.concat(String(a),` `).concat(mt({url:t,base:e})))}if(e===void 0&&!/:/.test(t))throw new Error(`Invalid URL: '`.concat(t,`'`));var n=document,o=n.createElement(`a`);if(e!==void 0){n=document.implementation.createHTMLDocument(``);var i=n.createElement(`base`);i.href=e,n.head.appendChild(i),n.body.appendChild(o)}return o.href=t,o}var ma=URL;var $r;function Fc(){if($r===void 0)try{$r=new ma(`http://test/path`).href===`http://test/path`}catch(e){$r=!1}return $r?ma:void 0}var ar=`datad0g.com`;var ga=`dd0g-gov.com`;var Ct=`datadoghq.com`;var uo=`datadoghq.eu`;var co=`ddog-gov.com`;var Qr=`pci.browser-intake-datadoghq.com`;function Fe(t,e,r){var n=Bc(t,e);return{build:function(o,i){return n(Hc(t,e,r,o,i))},urlPrefix:n(``),trackType:e}}function Bc(t,e){var r=`/api/v2/`.concat(e),n=t.proxy;if(typeof n==`string`){var o=Ve(n);return function(a){return``.concat(o,`?ddforward=`).concat(encodeURIComponent(``.concat(r,`?`).concat(a)))}}if(typeof n==`function`)return function(a){return n({path:r,parameters:a})};var i=zc(e,t);return function(a){return`https://`.concat(i).concat(r,`?`).concat(a)}}function zc(t,e){var r=e.site,n=r===void 0?Ct:r,o=e.internalAnalyticsSubdomain;if(t===`logs`&&e.usePciIntake&&n===Ct)return Qr;if(o&&n===Ct)return``.concat(o,`.`).concat(Ct);if(n===ga)return`http-intake.logs.`.concat(n);var i=n.split(`.`),a=i.pop();return`browser-intake-`.concat(i.join(`-`),`.`).concat(a)}function Hc(t,e,r,n,o){var i=t.clientToken,a=t.internalAnalyticsSubdomain,s=o.retry,c=o.encoding,u=[`sdk_version:`.concat(`5.28.1`),`api:`.concat(n)].concat(r);s&&u.push(`retry_count:`.concat(s.count),`retry_after:`.concat(s.lastFailureStatus));var f=[`ddsource=browser`,`ddtags=`.concat(encodeURIComponent(u.join(`,`))),`dd-api-key=`.concat(i),`dd-evp-origin-version=`.concat(encodeURIComponent(`5.28.1`)),`dd-evp-origin=browser`,`dd-request-id=`.concat(k())];
28return c&&f.push(`dd-evp-encoding=`.concat(c)),e===`rum`&&f.push(`batch_time=`.concat(R$1())),a&&f.reverse(),f.join(`&`)}var Gc=200;function _a(t){var e=t.env,r=t.service,n=t.version,o=t.datacenter,i=[];return e&&i.push(tn(`env`,e)),r&&i.push(tn(`service`,r)),n&&i.push(tn(`version`,n)),o&&i.push(tn(`datacenter`,o)),i}function tn(t,e){var r=Gc-t.length-1;(e.length>r||jc(e))&&T$1.warn(``.concat(t,` value doesn't meet tag requirements and will be sanitized. `).concat(Qt$1,` `).concat(le,`/getting_started/tagging/#defining-tags`));var n=e.replace(/,/g,`_`);return``.concat(t,`:`).concat(n)}function jc(t){return Kc()?new RegExp(`[^\\p{Ll}\\p{Lo}0-9_:./-]`,`u`).test(t):!1}function Kc(){try{return!0}catch(t){return!1}}function ba(t){var e=t.site||Ct,r=_a(t),n=Yc(t,r),o=qc(n,e);return _({isIntakeUrl:function(a){return o.some(function(s){return a.indexOf(s)===0})},replica:Wc(t,o,r),site:e},n)}function Yc(t,e){return{logsEndpointBuilder:Fe(t,`logs`,e),rumEndpointBuilder:Fe(t,`rum`,e),sessionReplayEndpointBuilder:Fe(t,`replay`,e)}}function Wc(t,e,r){if(t.replica){var n=_({},t,{site:Ct,clientToken:t.replica.clientToken}),o={logsEndpointBuilder:Fe(n,`logs`,r),rumEndpointBuilder:Fe(n,`rum`,r)};return e.push.apply(e,pe$1(o).map(function(i){return i.urlPrefix})),_({applicationId:t.replica.applicationId},o)}}function qc(t,e){var r=pe$1(t).map(function(n){return n.urlPrefix});return e===Ct&&r.push(`https://`.concat(Qr,`/`)),r}var qt$1={ALLOW:`allow`,MASK:`mask`,MASK_USER_INPUT:`mask-user-input`};var ge={ALL:`all`,SAMPLED:`sampled`};function lo(t,e){return t!=null&&typeof t!=`string`?(T$1.error(``.concat(e,` must be defined as a string`)),!1):!0}function Xc(t){return t&&typeof t==`string`&&!/(datadog|ddog|datad0g|dd0g)/.test(t)?(T$1.error(`Site should be a valid Datadog site. `.concat(Qt$1,` `).concat(le,`/getting_started/site/.`)),!1):!0}function Wt$1(t,e){return t!==void 0&&!Bi(t)?(T$1.error(``.concat(e,` Sample Rate should be a number between 0 and 100`)),!1):!0}function en(t){var e,r,n,o,i;if(!t||!t.clientToken){T$1.error(`Client Token is not configured, we will not send any data.`);return}if(!(!Xc(t.site)||!Wt$1(t.sessionSampleRate,`Session`)||!Wt$1(t.telemetrySampleRate,`Telemetry`)||!Wt$1(t.telemetryConfigurationSampleRate,`Telemetry Configuration`)||!Wt$1(t.telemetryUsageSampleRate,`Telemetry Usage`)||!lo(t.version,`Version`)||!lo(t.env,`Env`)||!lo(t.service,`Service`))){if(t.trackingConsent!==void 0&&!me(or,t.trackingConsent)){T$1.error(`Tracking Consent should be either "granted" or "not-granted"`);return}return _({beforeSend:t.beforeSend&&Fr(t.beforeSend,`beforeSend threw an error:`),sessionStoreStrategyType:da(t),sessionSampleRate:(e=t.sessionSampleRate)!==null&&e!==void 0?e:100,telemetrySampleRate:(r=t.telemetrySampleRate)!==null&&r!==void 0?r:20,telemetryConfigurationSampleRate:(n=t.telemetryConfigurationSampleRate)!==null&&n!==void 0?n:5,telemetryUsageSampleRate:(o=t.telemetryUsageSampleRate)!==null&&o!==void 0?o:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:(i=t.trackingConsent)!==null&&i!==void 0?i:or.GRANTED,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16*bt,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*L$1,batchMessagesLimit:50,messageBytesLimit:256*bt},ba(t))}}function rn$1(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent}}var vt=(function(t){return t.WRITABLE_RESOURCE_GRAPHQL=`writable_resource_graphql`,t.REMOTE_CONFIGURATION=`remote_configuration`,t.UPDATE_VIEW_NAME=`update_view_name`,t.LONG_ANIMATION_FRAME=`long_animation_frame`,t})(vt||{});var fo=new Set;function po(t){Array.isArray(t)&&Sa(t.filter(function(e){return me(vt,e)}))}function Sa(t){t.forEach(function(e){fo.add(e)})}function kt(t){return fo.has(t)}function mo(){return fo}var sr=`?`;function ut(t){var e=[],r=vo(t,`stack`),n=String(t);return r&&Dt$2(r,n)&&(r=r.slice(n.length)),r&&r.split(` 29`).forEach(function(o){var i=$c(o)||tl(o)||rl(o)||il(o);i&&(!i.func&&i.line&&(i.func=sr),e.push(i))}),{message:vo(t,`message`),name:vo(t,`name`),stack:e}}var Ea=`((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)`;var Be=`(?::(\\d+))`;var Zc=new RegExp(`^\\s*at (.*?) ?\\(`.concat(Ea).concat(Be,`?`).concat(Be,`?\\)?\\s*$`),`i`);var Jc=new RegExp(`\\((\\S*)`.concat(Be).concat(Be,`\\)`));function $c(t){var e=Zc.exec(t);if(e){var r=e[2]&&e[2].indexOf(`native`)===0,n=e[2]&&e[2].indexOf(`eval`)===0,o=Jc.exec(e[2]);return n&&o&&(e[2]=o[1],e[3]=o[2],e[4]=o[3]),{args:r?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||sr,line:e[3]?+e[3]:void 0,url:r?void 0:e[2]}}}var Qc=new RegExp(`^\\s*at ?`.concat(Ea).concat(Be,`?`).concat(Be,`??\\s*$`),`i`);function tl(t){var e=Qc.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:sr,line:e[2]?+e[2]:void 0,url:e[1]}}var el=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function rl(t){var e=el.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||sr,line:+e[3],url:e[2]}}var nl=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i;var ol=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function il(t){var e=nl.exec(t);if(e){var r=e[3]&&e[3].indexOf(` > eval`)>-1,n=ol.exec(e[3]);return r&&n&&(e[3]=n[1],e[4]=n[2],e[5]=void 0),{args:e[2]?e[2].split(`,`):[],column:e[5]?+e[5]:void 0,func:e[1]||sr,line:e[4]?+e[4]:void 0,url:e[3]}}}function vo(t,e){if(!(typeof t!=`object`||!t||!(e in t))){var r=t[e];return typeof r==`string`?r:void 0}}function ya(t,e,r,n){var o=[{url:e,column:n,line:r}],i=sl(t);return{name:i.name,message:i.message,stack:o}}var al=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function sl(t){var e,r,n;return{}.toString.call(t)===`[object String]`&&(e=al.exec(t),r=e[1],n=e[2]),{name:r,message:n}}function _e(){var t=2,e=new Error,r;if(!e.stack)try{throw e}catch(n){}return xt$1(function(){var n=ut(e);n.stack=n.stack.slice(t),r=Vt(n)}),r}function Vt(t){var e=ho(t);return t.stack.forEach(function(r){var n=r.func===`?`?`<anonymous>`:r.func,o=r.args&&r.args.length>0?`(`.concat(r.args.join(`, `),`)`):``,i=r.line?`:`.concat(r.line):``,a=r.line&&r.column?`:`.concat(r.column):``;e+=`
30 at `.concat(n).concat(o,` @ `).concat(r.url).concat(i).concat(a)}),e}function ho(t){return``.concat(t.name||`Error`,`: `).concat(t.message)}function G$1(t,e,r,n){var i=(n===void 0?{}:n).computeHandlingStack,a=t[e];if(typeof a!=`function`)if(e in t&&Dt$2(e,`on`))a=w$1;else return{stop:w$1};var s=!1,c=function(){if(s)return a.apply(this,arguments);var u=De(arguments),f;xt$1(r,null,[{target:this,parameters:u,onPostCall:function(l){f=l},handlingStack:i?_e():void 0}]);var d=a.apply(this,u);return f&&xt$1(f,null,[d]),d};return t[e]=c,{stop:function(){s=!0,t[e]===c&&(t[e]=a)}}}function be(t,e,r){var n=Object.getOwnPropertyDescriptor(t,e);if(!n||!n.set||!n.configurable)return{stop:w$1};var o=w$1,i=function(s,c){N$1(function(){i!==o&&r(s,c)},0)},a=function(s){n.set.call(this,s),i(this,s)};return Object.defineProperty(t,e,{set:a}),{stop:function(){var s;((s=Object.getOwnPropertyDescriptor(t,e))===null||s===void 0?void 0:s.set)===a&&Object.defineProperty(t,e,n),i=o}}}var ul=220*bt;var cl=`$`;var ll=3;function V(t,e){e===void 0&&(e=ul);var r=he(Object.prototype),n=he(Array.prototype),o=[],i=new WeakMap,a=go(t,cl,void 0,o,i),s=JSON.stringify(a),c=s?s.length:0;if(c>e){_o(e,`discarded`,t);return}for(;o.length>0&&c<e;){var u=o.shift(),f=0;if(Array.isArray(u.source))for(var d=0;d<u.source.length;d++){var l=go(u.source[d],u.path,d,o,i);if(l!==void 0?c+=JSON.stringify(l).length:c+=4,c+=f,f=1,c>e){_o(e,`truncated`,t);break}u.target[d]=l}else for(var d in u.source)if(Object.prototype.hasOwnProperty.call(u.source,d)){var l=go(u.source[d],u.path,d,o,i);if(l!==void 0&&(c+=JSON.stringify(l).length+f+d.length+ll,f=1),c>e){_o(e,`truncated`,t);break}u.target[d]=l}}return r(),n(),a}function go(t,e,r,n,o){var i=pl(t);if(!i||typeof i!=`object`)return fl(i);var a=dl(i);if(a!==`[Object]`&&a!==`[Array]`&&a!==`[Error]`)return a;var s=t;if(o.has(s))return`[Reference seen at `.concat(o.get(s),`]`);var c=r!==void 0?``.concat(e,`.`).concat(r):e,u=Array.isArray(i)?[]:{};return o.set(s,c),n.push({source:i,target:u,path:c}),u}function fl(t){return typeof t==`bigint`?`[BigInt] `.concat(t.toString()):typeof t==`function`?`[Function] `.concat(t.name||`unknown`):typeof t==`symbol`?`[Symbol] `.concat(t.description||t.toString()):t}function dl(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var r=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(r&&r[1])return`[`.concat(r[1],`]`)}catch(n){}return`[Unserializable]`}function pl(t){var e=t;if(e&&typeof e.toJSON==`function`)try{return e.toJSON()}catch(r){}return t}function _o(t,e,r){T$1.warn(`The data provided has been `.concat(e,` as it is over the limit of `).concat(t,` characters:`),r)}var nn=`No stack, consider using an instance of Error`;function ur(t){var e=t.stackTrace,r=t.originalError,n=t.handlingStack,o=t.startClocks,i=t.nonErrorPrefix,a=t.source,s=t.handling,c=r instanceof Error,u=ml(e,c,i,r),f=vl(c,e)?Vt(e):nn,d=c?So(r,a):void 0;return{startClocks:o,source:a,handling:s,handlingStack:n,originalError:r,type:e?e.name:void 0,message:u,stack:f,causes:d,fingerprint:bo(r)}}function ml(t,e,r,n){return t?.message&&t?.name?t.message:e?`Empty message`:``.concat(r,` `).concat(mt(V(n)))}function vl(t,e){return e===void 0?!1:t?!0:e.stack.length>0&&(e.stack.length>1||e.stack[0].url!==void 0)}function bo(t){return t instanceof Error&&`dd_fingerprint`in t?String(t.dd_fingerprint):void 0}function So(t,e){for(var r=t,n=[];r?.cause instanceof Error&&n.length<10;){var o=ut(r.cause);n.push({message:r.cause.message,source:e,type:o?.name,stack:o&&Vt(o)}),r=r.cause}return n.length?n:void 0}var ht={AGENT:`agent`,CONSOLE:`console`,CUSTOM:`custom`,LOGGER:`logger`,NETWORK:`network`,SOURCE:`source`,REPORT:`report`};function Eo(t){var e=function(o,i){var a=ur({stackTrace:o,originalError:i,startClocks:D$1(),nonErrorPrefix:`Uncaught`,source:ht.SOURCE,handling:`unhandled`});t.notify(a)},r=hl(e).stop,n=gl(e).stop;return{stop:function(){r(),n()}}}function hl(t){return G$1(window,`onerror`,function(e){var r=e.parameters,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],c;s instanceof Error?c=ut(s):c=ya(n,o,i,a),t(c,s??n)})}function gl(t){return G$1(window,`onunhandledrejection`,function(e){var n=e.parameters[0].reason||`Empty reason`;t(ut(n),n)})}function yo(t){var e=_({version:`5.28.1`,onReady:function(r){r()}},t);return Object.defineProperty(e,"_setDebug",{get:function(){return to},enumerable:!1}),e}function xo(t,e,r){var n=t[e];n&&!n.q&&n.version&&T$1.warn(`SDK is loaded more than once. This is unsupported and might have unex
30pected behavior.`),t[e]=r,n&&n.q&&n.q.forEach(function(o){return Fr(o,`onReady callback threw an error:`)()})}function cr(t,e){e.silentMultipleInit||T$1.error(``.concat(t,` is already initialized.`))}function I(t,e,r,n,o){return F(t,e,[r],n,o)}function F(t,e,r,n,o){var i=o===void 0?{}:o,a=i.once,s=i.capture,c=i.passive,u=S(function(p){!p.isTrusted&&!p.__ddIsTrusted&&!t.allowUntrustedEvents||(a&&l(),n(p))}),f=c?{capture:s,passive:c}:s,d=yt(e,`addEventListener`);r.forEach(function(p){return d.call(e,p,u,f)});function l(){var p=yt(e,`removeEventListener`);r.forEach(function(m){return p.call(e,m,u,f)})}return{stop:l}}var Se={intervention:`intervention`,deprecation:`deprecation`,cspViolation:`csp_violation`};function To(t,e){var r=[];K(e,Se.cspViolation)&&r.push(bl(t));var n=e.filter(function(o){return o!==Se.cspViolation});return n.length&&r.push(_l(n)),Hr.apply(void 0,r)}function _l(t){return new x(function(e){if(window.ReportingObserver){var r=S(function(o,i){return o.forEach(function(a){return e.notify(Sl(a))})}),n=new window.ReportingObserver(r,{types:t,buffered:!0});return n.observe(),function(){n.disconnect()}}})}function bl(t){return new x(function(e){return I(t,document,`securitypolicyviolation`,function(n){e.notify(El(n))}).stop})}function Sl(t){var e=t.type,r=t.body;return xa({type:r.id,message:``.concat(e,`: `).concat(r.message),originalError:t,stack:Ta(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}function El(t){var e=`'`.concat(t.blockedURI,`' blocked by '`).concat(t.effectiveDirective,`' directive`);return xa({type:t.effectiveDirective,message:``.concat(Se.cspViolation,`: `).concat(e),originalError:t,csp:{disposition:t.disposition},stack:Ta(t.effectiveDirective,t.originalPolicy?``.concat(e,` of the policy "`).concat(jr(t.originalPolicy,100,`...`),`"`):`no policy`,t.sourceFile,t.lineNumber,t.columnNumber)})}function xa(t){return _({startClocks:D$1(),source:ht.REPORT,handling:`unhandled`},t)}function Ta(t,e,r,n,o){return r?Vt({name:t,message:e,stack:[{func:`?`,url:r,line:n??void 0,column:o??void 0}]}):void 0}function Ee(t,e){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:t,payload:e})}function ct(t){return t===null?`null`:Array.isArray(t)?`array`:typeof t}function on(t,e,r){if(r===void 0&&(r=yl()),e===void 0)return t;if(typeof e!=`object`||e===null)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var n=e.flags||[e.global?`g`:``,e.ignoreCase?`i`:``,e.multiline?`m`:``,e.sticky?`y`:``,e.unicode?`u`:``].join(``);return new RegExp(e.source,n)}if(!r.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var o=Array.isArray(t)?t:[],i=0;i<e.length;++i)o[i]=on(o[i],e[i],r);return o}var a=ct(t)===`object`?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(a[s]=on(a[s],e[s],r));return a}}function ze(t){return on(void 0,t)}function rt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n=0,o=t;n<o.length;n++){var i=o[n];i!=null&&(r=on(r,i))}return r}function yl(){if(typeof WeakSet<`u`){var t=new WeakSet;return{hasAlreadyBeenSeen:function(r){var n=t.has(r);return n||t.add(r),n}}}var e=[];return{hasAlreadyBeenSeen:function(r){var n=e.indexOf(r)>=0;return n||e.push(r),n}}}function an(){var t,e=window.navigator;return{status:e.onLine?`connected`:`not_connected`,interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:(t=e.connection)===null||t===void 0?void 0:t.effectiveType}}function sn$1(t,e){var r=t.indexOf(e);r>=0&&t.splice(r,1)}var xl=500;function lr(){var t=[],e=function(o){t.push(o)>xl&&t.splice(0,1)},r=function(o){sn$1(t,o)},n=function(o){t.forEach(function(i){return i(o)}),t.length=0};return{add:e,remove:r,drain:n}}var ne={log:`log`,configuration:`configuration`,usage:`usage`};var Tl=[`https://www.datadoghq-browser-agent.com`,`https://www.datad0g-browser-agent.com`,`https://d3uc069fcn7uxw.cloudfront.net`,`https://d20xtzwzcl0ceb.cloudfront.net`,`http://localhost`,`<anonymous>`];var wl=[co];var wa=lr();var He=function(t){wa.add(function(){return He(t)})};function un$1(t,e){var r,n,o=new x,i=new Set,a=!K(wl,e.site)&&Rt(e.telemetrySampleRate),s=(r={},r[ne.log]=a,r[ne.configuration]=a&&Rt(e.telemetryConfigurationSampleRate),r[ne.usage]=a&&Rt(e.telemetryUsageSampleRate),r),c=Cl();He=function(f){var d=mt(f);if(s[f.type]&&i.size<e.maxTelemetryEventsPerPage&&!i.has(d)){var l=u(t,f,c);o.notify(l),Ee(`telemetry`,l),i.add(d)}},Zi(oe$1);function u(f,d,l){return rt({type:`telemetry`,date:R$1(),service:f,version:`5.28.1`,source:`browser`,_dd:{format_version:2},telemetry:rt(d,{runtime_env:l,connectivity:an(),sdk_setup:`npm`}),experimental_features:De(mo())},n!==void 0?n():{})}return{setContextProvider:function(f){n=f},observable:o,enabled:a}}function Cl(){return{is_local_file:window.location.protocol===`file:`,is_worker:`WorkerGlobalScope`in self}}function cn$1(){wa.drain()}function ln$1(t){return t.site===ar}function dt(t,e){zr(ce$1.debug,t,e),He(_({type:ne.log,message:t,status:`debug`},e))}function oe$1(t,e){He(_({type:ne.log,status:`error`},Il(t),e))}function fn$1(t){He({type:ne.configuration,configuration:t})}function nt(t){He({type:ne.usage,usage:t})}function Il(t){if(t instanceof Error){var e=ut(t);return{error:{kind:e.name,stack:Vt(Al(e))},message:e.message}}return{error:{stack:nn},message:``.concat(`Uncaught`,` `).concat(mt(t))}}function Al(t){return t.stack=t.stack.filter(function(e){return!e.url||Tl.some(function(r){return Dt$2(e.url,r)})}),t}var dn=Infinity;var Ca=U;function gt(t){var e=t.expireDelay,r=t.maxEntries,n=[],o=Tt(function(){return i()},Ca);function i(){for(var l=$()-e;n.length>0&&n[n.length-1].endTime<l;)n.pop()}function a(l,p){var m={value:l,startTime:p,endTime:dn,remove:function(){sn$1(n,m)},close:function(v){m.endTime=v}};return r&&n.length>=r&&n.pop(),n.unshift(m),m}function s(l,p){l===void 0&&(l=dn),p===void 0&&(p={returnInactive:!1});for(var m=0,v=n;m<v.length;m++){var h=v[m];if(h.startTime<=l){if(p.returnInactive||l<=h.endTime)return h.value;break}}}function c(l){var p=n[0];p&&p.endTime===dn&&p.close(l)}function u(l,p){l===void 0&&(l=dn),p===void 0&&(p=0);var m=te(l,p);return n.filter(function(v){return v.startTime<=m&&l<=v.endTime}).map(function(v){return v.value})}function f(){n=[]}function d(){Pt$1(o)}return{add:a,find:s,closeActive:c,findAll:u,reset:f,stop:d}}var kl=U;var Ol=st;var Ge=[];function wo(t,e,r,n){var o=new x,i=new x,a=pa(t.sessionStoreStrategyType,e,r);Ge.push(function(){return a.stop()});var s=gt({expireDelay:Ol});Ge.push(function(){return s.stop()}),a.renewObservable.subscribe(function(){s.add(c(),$()),o.notify()}),a.expireObservable.subscribe(function(){i.notify(),s.closeActive($())}),a.expandOrRenewSession(),s.add(c(),Br().relative),n.observable.subscribe(function(){n.isGranted()?a.expandOrRenewSession():a.expire()}),Ll(t,function(){n.isGranted()&&a.expandOrRenewSession()}),Ml(t,function(){return a.expandSession()}),Dl(t,function(){return a.restartSession()});function c(){return{id:a.getSession().id,trackingType:a.getSession()[e],isReplayForced:!!a.getSession().forcedReplay}}return{findSession:function(u,f){return s.find(u,f)}
30,renewObservable:o,expireObservable:i,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}function Ll(t,e){var r=F(t,window,[`click`,`touchstart`,`keydown`,`scroll`],e,{capture:!0,passive:!0}).stop;Ge.push(r)}function Ml(t,e){var r=function(){document.visibilityState===`visible`&&e()},n=I(t,document,`visibilitychange`,r).stop;Ge.push(n);var o=Tt(r,kl);Ge.push(function(){Pt$1(o)})}function Dl(t,e){var r=I(t,window,`resume`,e,{capture:!0}).stop;Ge.push(r)}function Ia(t){return t>=500}function Aa(t){try{return t.clone()}catch(e){return}}var Pl=80*bt;var Ul=32;var Ra=3*$n;var Vl=U;var Na=L$1;function Co(t,e,r,n,o){e.transportStatus===0&&e.queuedPayloads.size()===0&&e.bandwidthMonitor.canHandle(t)?Oa(t,e,r,{onSuccess:function(){return La(0,e,r,n,o)},onFailure:function(){e.queuedPayloads.enqueue(t),ka(e,r,n,o)}}):e.queuedPayloads.enqueue(t)}function ka(t,e,r,n){t.transportStatus===2&&N$1(function(){Oa(t.queuedPayloads.first(),t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=Na,La(1,t,e,r,n)},onFailure:function(){t.currentBackoffTime=Math.min(Vl,t.currentBackoffTime*2),ka(t,e,r,n)}})},t.currentBackoffTime)}function Oa(t,e,r,n){var o=n.onSuccess,i=n.onFailure;e.bandwidthMonitor.add(t),r(t,function(a){e.bandwidthMonitor.remove(t),Fl(a)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:a.status},i()):(e.transportStatus=0,o())})}function La(t,e,r,n,o){t===0&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o({message:`Reached max `.concat(n,` events size queued for upload: `).concat(Ra/$n,`MiB`),source:ht.AGENT,startClocks:D$1()}),e.queueFullReported=!0);var i=e.queuedPayloads;for(e.queuedPayloads=Da();i.size()>0;)Co(i.dequeue(),e,r,n,o)}function Fl(t){return t.type!==`opaque`&&(t.status===0&&!navigator.onLine||t.status===408||t.status===429||Ia(t.status))}function Ma(){return{transportStatus:0,currentBackoffTime:Na,bandwidthMonitor:Bl(),queuedPayloads:Da(),queueFullReported:!1}}function Da(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=Ra}}}function Bl(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return this.ongoingRequestCount===0||this.ongoingByteCount+t.bytesCount<=Pl&&this.ongoingRequestCount<Ul},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}}}
30function je(t,e,r,n){var o=Ma(),i=function(a,s){return Gl(t,e,r,a,s)};return{send:function(a){Co(a,o,i,e.trackType,n)},sendOnExit:function(a){zl(t,e,r,a)}}}function zl(t,e,r,n){if(!!navigator.sendBeacon&&n.bytesCount<r)try{var i=e.build(`beacon`,n);if(navigator.sendBeacon(i,n.data))return}catch(c){Hl(c)}Io(t,e.build(`xhr`,n),n.data)}var Pa=!1;function Hl(t){Pa||(Pa=!0,oe$1(t))}function Gl(t,e,r,n,o){if(jl()&&n.bytesCount<r){var a=e.build(`fetch`,n);fetch(a,{method:`POST`,body:n.data,keepalive:!0,mode:`cors`}).then(S(function(c){return o?.({status:c.status,type:c.type})}),S(function(){Io(t,e.build(`xhr`,n),n.data,o)}))}else Io(t,e.build(`xhr`,n),n.data,o)}function jl(){try{return window.Request&&`keepalive`in new Request(`http://a`)}catch(t){return!1}}function Io(t,e,r,n){var o=new XMLHttpRequest;o.open(`POST`,e,!0),r instanceof Blob&&o.setRequestHeader(`Content-Type`,r.type),I(t,o,`loadend`,function(){n?.({status:o.status})},{once:!0}),o.send(r)}function It(){var t=Kl();if(t)return{getCapabilities:function(){var e;return JSON.parse(((e=t.getCapabilities)===null||e===void 0?void 0:e.call(t))||`[]`)},getPrivacyLevel:function(){var e;return(e=t.getPrivacyLevel)===null||e===void 0?void 0:e.call(t)},getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,r,n){var o=n?{id:n}:void 0;t.send(JSON.stringify({eventType:e,event:r,view:o}))}}}function Ke(t){var e=It();return!!e&&K(e.getCapabilities(),t)}function pt(t){var e;t===void 0&&(t=(e=Et().location)===null||e===void 0?void 0:e.hostname);var r=It();return!!r&&r.getAllowedWebViewHosts().some(function(n){return t===n||Wi(t,`.`.concat(n))})}function Kl(){return Et().DatadogEventBridge}var Xt$1={HIDDEN:`visibility_hidden`,UNLOADING:`before_unload`,PAGEHIDE:`page_hide`,FROZEN:`page_frozen`};function Ao(t){return new x(function(e){var r=F(t,window,[`visibilitychange`,`freeze`],function(o){o.type===`visibilitychange`&&document.visibilityState===`hidden`?e.notify({reason:Xt$1.HIDDEN}):o.type===`freeze`&&e.notify({reason:Xt$1.FROZEN})},{capture:!0}).stop,n=I(t,window,`beforeunload`,function(){e.notify({reason:Xt$1.UNLOADING})}).stop;return function(){r(),n()}})}function fr(t){return K(pe$1(Xt$1),t)}function Va(t){var e=t.encoder,r=t.request,n=t.flushController,o=t.messageBytesLimit,i={},a=n.flushObservable.subscribe(function(l){return d(l)});function s(l,p,m){n.notifyBeforeAddMessage(p),m!==void 0?(i[m]=l,n.notifyAfterAddMessage()):e.write(e.isEmpty?l:` 31`.concat(l),function(v){n.notifyAfterAddMessage(v-p)})}function c(l){return l!==void 0&&i[l]!==void 0}function u(l){var p=i[l];delete i[l];var m=e.estimateEncodedBytesCount(p);n.notifyAfterRemoveMessage(m)}function f(l,p){var m=mt(l),v=e.estimateEncodedBytesCount(m);if(v>=o){T$1.warn(`Discarded a message whose size was bigger than the maximum allowed size `.concat(o,`KB. `).concat(Qt$1,` `).concat(Vr,`/#technical-limitations`));return}c(p)&&u(p),s(m,v,p)}function d(l){var p=pe$1(i).join(` 32`);i={};var m=fr(l.reason),v=m?r.sendOnExit:r.send;if(m&&e.isAsync){var h=e.finishSync();h.outputBytesCount&&v(Ua(h));var g=[h.pendingData,p].filter(Boolean).join(` 33`);g&&v({data:g,bytesCount:Me(g)})}else p&&e.write(e.isEmpty?p:` 34`.concat(p)),e.finish(function(E){v(Ua(E))})}return{flushController:n,add:f,upsert:f,stop:a.unsubscribe}}function Ua(t){var e;return typeof t.output==`string`?e=t.output:e=new Blob([t.output],{type:`text/plain`}),{data:e,bytesCount:t.outputBytesCount,encoding:t.encoding}}function Ro(t){var e=t.messagesLimit,r=t.bytesLimit,n=t.durationLimit,o=t.pageExitObservable,i=t.sessionExpireObservable,a=o.subscribe(function(v){return d(v.reason)}),s=i.subscribe(function(){return d(`session_expire`)}),c=new x(function(){return function(){a.unsubscribe(),s.unsubscribe()}}),u=0,f=0;function d(v){if(f!==0){var h=f,g=u;f=0,u=0,m(),c.notify({reason:v,messagesCount:h,bytesCount:g})}}var l;function p(){l===void 0&&(l=N$1(function(){d(`duration_limit`)},n))}function m(){q(l),l=void 0}return{flushObservable:c,get messagesCount(){return f},notifyBeforeAddMessage:function(v){u+v>=r&&d(`bytes_limit`),f+=1,u+=v,p()},notifyAfterAddMessage:function(v){v===void 0&&(v=0),u+=v,f>=e?d(`messages_limit`):u>=r&&d(`bytes_limit`)},notifyAfterRemoveMessage:function(v){u-=v,f-=1,f===0&&m()}}}function pn(t,e,r,n,o,i,a){a===void 0&&(a=Va);var s=u(t,e),c=r&&u(t,r);function u(f,d){var l=d.endpoint,p=d.encoder;return a({encoder:p,request:je(f,l,f.batchBytesLimit,n),flushController:Ro({messagesLimit:f.batchMessagesLimit,bytesLimit:f.batchBytesLimit,durationLimit:f.flushTimeout,pageExitObservable:o,sessionExpireOb
34servable:i}),messageBytesLimit:f.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add:function(f,d){d===void 0&&(d=!0),s.add(f),c&&d&&c.add(r.transformMessage?r.transformMessage(f):f)},upsert:function(f,d){s.upsert(f,d),c&&c.upsert(r.transformMessage?r.transformMessage(f):f,d)},stop:function(){s.stop(),c&&c.stop()}}}function No(){var t=``,e=0;return{isAsync:!1,get isEmpty(){return!t},write:function(r,n){var o=Me(r);e+=o,t+=r,n&&n(o)},finish:function(r){r(this.finishSync())},finishSync:function(){var r={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:``};return t=``,e=0,r},estimateEncodedBytesCount:function(r){return r.length}}}var ko=(function(){function t(){this.callbacks={}}return t.prototype.notify=function(e,r){var n=this.callbacks[e];n&&n.forEach(function(o){return o(r)})},t.prototype.subscribe=function(e,r){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(r),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter(function(o){return r!==o})}}},t})();function mn$1(t,e,r){var n=0,o=!1;return{isLimitReached:function(){if(n===0&&N$1(function(){n=0},U),n+=1,n<=e||o)return o=!1,!1;if(n===e+1){o=!0;try{r({message:`Reached max number of `.concat(t,`s by minute: `).concat(e),source:ht.AGENT,startClocks:D$1()})}finally{o=!1}}return!0}}}function ye(t,e,r){if(document.readyState===e||document.readyState===`complete`)return r(),{stop:w$1};return I(t,window,e===`complete`?`load`:`DOMContentLoaded`,r,{once:!0})}var Oo;var Lo=new WeakMap;function Mo(t){return Oo||(Oo=Yl(t)),Oo}function Yl(t){return new x(function(e){var r=G$1(XMLHttpRequest.prototype,`open`,Wl).stop,n=G$1(XMLHttpRequest.prototype,`send`,function(i){ql(i,t,e)},{computeHandlingStack:!0}).stop,o=G$1(XMLHttpRequest.prototype,`abort`,Xl).stop;return function(){r(),n(),o()}})}function Wl(t){var e=t.target,r=t.parameters,n=r[0],o=r[1];Lo.set(e,{state:`open`,method:String(n).toUpperCase(),url:Ve(String(o))})}function ql(t,e,r){var n=t.target,o=t.handlingStack,i=Lo.get(n);if(i){var a=i;a.state=`start`,a.startClocks=D$1(),a.isAborted=!1,a.xhr=n,a.handlingStack=o;var s=!1,c=G$1(n,`onreadystatechange`,function(){n.readyState===XMLHttpRequest.DONE&&u()}).stop,u=function(){if(f(),c(),!s){s=!0;var d=i;d.state=`complete`,d.duration=M(a.startClocks.timeStamp,R$1()),d.status=n.status,r.notify(Kt$1(d))}},f=I(e,n,`loadend`,u).stop;r.notify(a)}}function Xl(t){var e=t.target,r=Lo.get(e);r&&(r.isAborted=!0)}var Do;function dr(){return Do||(Do=Zl()),Do}function Zl(){return new x(function(t){if(window.fetch)return G$1(window,`fetch`,function(r){return Jl(r,t)},{computeHandlingStack:!0}).stop})}function Jl(t,e){var r=t.parameters,n=t.onPostCall,o=t.handlingStack,i=r[0],a=r[1],s=a&&a.method;s===void 0&&i instanceof Request&&(s=i.method);var c=s!==void 0?String(s).toUpperCase():`GET`,u=i instanceof Request?i.url:Ve(String(i)),d={state:`start`,init:a,input:i,method:c,startClocks:D$1(),url:u,handlingStack:o};e.notify(d),r[0]=d.input,r[1]=d.init,n(function(l){return $l(e,l,d)})}function $l(t,e,r){var n=r;function o(i){n.state=`resolve`,_(n,i),t.notify(n)}e.then(S(function(i){o({response:i,responseType:i.type,status:i.status,isAborted:!1})}),S(function(i){var a,s;o({status:0,isAborted:((s=(a=n.init)===null||a===void 0?void 0:a.signal)===null||s===void 0?void 0:s.aborted)||i instanceof DOMException&&i.code===DOMException.ABORT_ERR,error:i})}))}var Po={};function Uo(t){var e=t.map(function(r){return Po[r]||(Po[r]=Ql(r)),Po[r]});return Hr.apply(void 0,e)}function Ql(t){return new x(function(e){var r=Mt[t];return Mt[t]=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];r.apply(console,n);var i=_e();xt$1(function(){e.notify(tf(n,t,i))})},function(){Mt[t]=r}})}function tf(t,e,r){var n=t.map(function(a){return ef(a)}).join(` `),o;if(e===ce$1.error){var i=at(t,function(a){return a instanceof Error});o={stack:i?Vt(ut(i)):void 0,fingerprint:bo(i),causes:i?So(i,`console`):void 0,startClocks:D$1(),message:n,source:ht.CONSOLE,handling:`handled`,handlingStack:r}}return{api:e,message:n,error:o,handlingStack:r}}function ef(t){return typeof t==`string`?V(t):t instanceof Error?ho(ut(t)):mt(V(t),void 0,2)}function Ye(t){var e={},r=new x,n={getContext:function(){return ze(e)},setContext:function(o){ct(o)===`object`?(e=V(o),t&&t.updateCustomerData(e)):n.clearContext(),r.notify()},setContextProperty:function(o,i){e[o]=V(i),t&&t.updateCustomerData(e),r.notify()},removeContextProperty:function(o){delete e[o],t&&t.updateCustomerData(e),r.notify()},clearContext:function(){e={}
34,t&&t.resetCustomerData(),r.notify()},changeObservable:r};return n}var rf=`_dd_c`;var nf=[];function vn$1(t,e,r,n){var o=of(r,n);nf.push(I(t,window,`storage`,function(c){o===c.key&&i()})),e.changeObservable.subscribe(a),e.setContext(rt(s(),e.getContext()));function i(){e.setContext(s())}function a(){localStorage.setItem(o,JSON.stringify(e.getContext()))}function s(){var c=localStorage.getItem(o);return c!==null?JSON.parse(c):{}}}function of(t,e){return``.concat(rf,`_`).concat(t,`_`).concat(e)}var Fa=3*bt;var af=16*bt;var sf=200;function Fo(t){t===void 0&&(t=2);var e=new Map,r=!1;function n(o){if(o===void 0&&(o=0),!(r||t===0)){var i=t===2?Fa:af,a=o;e.forEach(function(s){a+=s.getBytesCount()}),a>i&&(uf(i),r=!0)}}return{createDetachedTracker:function(){var o=Vo(function(){return n(o.getBytesCount())});return o},getOrCreateTracker:function(o){return e.has(o)||e.set(o,Vo(n)),e.get(o)},setCompressionStatus:function(o){t===0&&(t=o,n())},getCompressionStatus:function(){return t},stop:function(){e.forEach(function(o){return o.stop()}),e.clear()}}}function Vo(t){var e=0,r=Q(function(a){e=Me(mt(a)),t()},sf),n=r.throttled,o=r.cancel,i=function(){o(),e=0};return{updateCustomerData:function(a){St(a)?i():n(a)},resetCustomerData:i,getBytesCount:function(){return e},stop:function(){o()}}}function uf(t){T$1.warn(`Customer data exceeds the recommended `.concat(t/bt,`KiB threshold. `).concat(Qt$1,` `).concat(Vr,`/#customer-data-exceeds-the-recommended-threshold-warning`))}function Bo(t,e,r){var n=t.getReader(),o=[],i=0;a();function a(){n.read().then(S(function(c){if(c.done){s();return}r.collectStreamBody&&o.push(c.value),i+=c.value.length,i>r.bytesLimit?s():a()}),S(function(c){return e(c)}))}function s(){n.cancel().catch(w$1);var c,u;if(r.collectStreamBody){var f;if(o.length===1)f=o[0];else{f=new Uint8Array(i);var d=0;o.forEach(function(l){f.set(l,d),d+=l.length})}c=f.slice(0,r.bytesLimit),u=f.length>r.bytesLimit}e(void 0,c,u)}}var cf=`datadog-synthetics-public-id`;var lf=`datadog-synthetics-result-id`;var ff=`datadog-synthetics-injects-rum`;function pr(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||wt(ff))}function zo(){var t=window._DATADOG_SYNTHETICS_PUBLIC_ID||wt(cf);return typeof t==`string`?t:void 0}function Ho(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||wt(lf);return typeof t==`string`?t:void 0}function hn$1(t){var e=_({},t);return[`id`,`name`,`email`].forEach(function(n){n in e&&(e[n]=String(e[n]))}),e}function Go(t){var e=ct(t)===`object`;return e||T$1.error(`Unsupported user:`,t),e}function mr(t){var e=ct(t);return e===`string`||e===`function`||t instanceof RegExp}function gn$1(t,e,r){return r===void 0&&(r=!1),t.some(function(n){try{if(typeof n==`function`)return n(e);if(n instanceof RegExp)return n.test(e);if(typeof n==`string`)return r?Dt$2(e,n):n===e}catch(o){T$1.error(o)}return!1})}function Ba(t,e,r){return{context:t.getContext(),user:e.getContext(),hasReplay:r.isRecording()?!0:void 0}}function za(){return{vitalsByName:new Map,vitalsByReference:new WeakMap}}function Ha(t,e,r){function n(i){return!e.wasInPageStateDuringPeriod(`frozen`,i.startClocks.relative,i.duration)}function o(i){n(i)&&t.notify(11,pf(i,!0))}return{addDurationVital:o,startDurationVital:function(i,a){return a===void 0&&(a={}),jo(r,i,a)},stopDurationVital:function(i,a){a===void 0&&(a={}),Ko(o,r,i,a)}}}function jo(t,e,r){var n=t.vitalsByName,o=t.vitalsByReference;r===void 0&&(r={});var i={name:e,startClocks:D$1(),context:r.context,description:r.description},a={__dd_vital_reference:!0};return n.set(e,i),o.set(a,i),a}function Ko(t,e,r,n){var o=e.vitalsByName,i=e.vitalsByReference;n===void 0&&(n={});var a=typeof r==`string`?o.get(r):i.get(r);a&&(t(df(a,a.startClocks,n,D$1())),typeof r==`string`?o.delete(r):i.delete(r))}function df(t,e,r,n){var o;return{name:t.name,type:`duration`,startClocks:e,duration:M(e.timeStamp,n.timeStamp),context:rt(t.context,r.context),description:(o=r.description)!==null&&o!==void 0?o:t.description}}function pf(t,e){var r={date:t.startClocks.timeStamp,vital:{id:k(),type:t.type,name:t.name,duration:C$1(t.duration),description:t.description},type:`vital`};return e&&(r._dd={vital:{computed_value:!0}}),{rawRumEvent:r,startTime:t.startClocks.relative,customerContext:t.context,domainContext:{}}}function ja(t){var e=t;return ct(e)===`object`&&mr(e.match)&&Array.isArray(e.propagatorTypes)}function mf(t){t.status===0&&!t.isAborted&&(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function Ka(t,e){return{clearTracingIfNeeded:mf,traceFetch:function(r){return Ga(t,r,e,function(n){var o;if(r.input instanceof Request&&!(!((o=r.init)===null||o===void 0)&&o.headers))r.input=new Request
34(r.input),Object.keys(n).forEach(function(a){r.input.headers.append(a,n[a])});else{r.init=Kt$1(r.init);var i=[];r.init.headers instanceof Headers?r.init.headers.forEach(function(a,s){i.push([s,a])}):Array.isArray(r.init.headers)?r.init.headers.forEach(function(a){i.push(a)}):r.init.headers&&Object.keys(r.init.headers).forEach(function(a){i.push([a,r.init.headers[a]])}),r.init.headers=i.concat(Pe(n))}})},traceXhr:function(r,n){return Ga(t,r,e,function(o){Object.keys(o).forEach(function(i){n.setRequestHeader(i,o[i])})})}}}function Ga(t,e,r,n){if(!(!vf()||!r.findTrackedSession())){var o=at(t.allowedTracingUrls,function(i){return gn$1([i.match],e.url,!0)});o&&(e.traceSampled=!Nt$1(t.traceSampleRate)||Rt(t.traceSampleRate),!(!e.traceSampled&&t.traceContextInjection!==ge.ALL)&&(e.traceId=_n$1(),e.spanId=_n$1(),n(hf(e.traceId,e.spanId,e.traceSampled,o.propagatorTypes))))}}function vf(){return Ya()!==void 0}function Ya(){return window.crypto||window.msCrypto}function hf(t,e,r,n){var o={};return n.forEach(function(i){switch(i){case`datadog`:_(o,{"x-datadog-origin":`rum`,"x-datadog-parent-id":e.toDecimalString(),"x-datadog-sampling-priority":r?`1`:`0`,"x-datadog-trace-id":t.toDecimalString()});break;case`tracecontext`:_(o,{traceparent:`00-0000000000000000`.concat(t.toPaddedHexadecimalString(),`-`).concat(e.toPaddedHexadecimalString(),`-0`).concat(r?`1`:`0`)});break;case`b3`:_(o,{b3:``.concat(t.toPaddedHexadecimalString(),`-`).concat(e.toPaddedHexadecimalString(),`-`).concat(r?`1`:`0`)});break;case`b3multi`:_(o,{"X-B3-TraceId":t.toPaddedHexadecimalString(),"X-B3-SpanId":e.toPaddedHexadecimalString(),"X-B3-Sampled":r?`1`:`0`});break}}),o}function _n$1(){var t=new Uint8Array(8);Ya().getRandomValues(t),t[0]=t[0]&127;function e(i){return t[i]*16777216+(t[i+1]<<16)+(t[i+2]<<8)+t[i+3]}function r(i){var a=e(0),s=e(4),c=``;do{var u=a%i*4294967296+s;a=Math.floor(a/i),s=Math.floor(u/i),c=(u%i).toString(i)+c}while(a||s);return c}function n(){return r(10)}function o(){var i=r(16);return Array(17-i.length).join(`0`)+i}return{toDecimalString:n,toPaddedHexadecimalString:o}}var Wa=[`tracecontext`,`datadog`];function qa(t){var e,r;if(!t.applicationId){T$1.error(`Application ID is not configured, no RUM data will be collected.`);return}if(!(!Wt$1(t.sessionReplaySampleRate,`Session Replay`)||!Wt$1(t.traceSampleRate,`Trace`))){if(t.excludedActivityUrls!==void 0&&!Array.isArray(t.excludedActivityUrls)){T$1.error(`Excluded Activity Urls should be an array`);return}var n=gf(t);if(n){var o=en(t);if(o)return _({applicationId:t.applicationId,version:t.version||void 0,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:(e=t.sessionReplaySampleRate)!==null&&e!==void 0?e:0,startSessionReplayRecordingManually:!!t.startSessionReplayRecordingManually,traceSampleRate:t.traceSampleRate,allowedTracingUrls:n,excludedActivityUrls:(r=t.excludedActivityUrls)!==null&&r!==void 0?r:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:me(qt$1,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:qt$1.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:me(ge,t.traceContextInjection)?t.traceContextInjection:ge.ALL,plugins:t.betaPlugins||[]},o)}}}function gf(t){if(t.allowedTracingUrls===void 0)return[];if(!Array.isArray(t.allowedTracingUrls)){T$1.error(`Allowed Tracing URLs should be an array`);return}if(t.allowedTracingUrls.length!==0&&t.service===void 0){T$1.error(`Service needs to be configured when tracing is enabled`);return}var e=[];return t.allowedTracingUrls.forEach(function(r){mr(r)?e.push({match:r,propagatorTypes:Wa}):ja(r)?e.push(r):T$1.warn(`Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter`,r)}),e}function _f(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>
340&&t.allowedTracingUrls.forEach(function(r){mr(r)?Wa.forEach(function(n){return e.add(n)}):ct(r)===`object`&&Array.isArray(r.propagatorTypes)&&r.propagatorTypes.forEach(function(n){return e.add(n)})}),De(e)}function Xa(t){var e,r=rn$1(t);return _({session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:_f(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,plugins:(e=t.betaPlugins)===null||e===void 0?void 0:e.map(function(n){var o;return _({name:n.name},(o=n.getConfigurationTelemetry)===null||o===void 0?void 0:o.call(n))})},r)}var bf=`https://d3uc069fcn7uxw.cloudfront.net/configuration`;function Ja(t,e){Ef(t,function(r){e(Sf(t,r))})}function Sf(t,e){return _({},t,e)}function Ef(t,e){var r=new XMLHttpRequest;I(t,r,`load`,function(){r.status===200?e(JSON.parse(r.responseText)):Za()}),I(t,r,`error`,function(){Za()}),r.open(`GET`,``.concat(bf,`/`).concat(encodeURIComponent(t.remoteConfigurationId),`.json`)),r.send()}function Za(){T$1.error(`Error fetching the remote configuration.`)}function $a(t,e,r){if(t)for(var n=0,o=t;n<o.length;n++){var a=o[n][e];a&&a(r)}}function Qa(t,e,r,n,o){var i=t.ignoreInitIfSyntheticsWillInjectRum,a=t.startDeflateWorker,s=lr(),c,u,f,d,l=r.observable.subscribe(p);function p(){if(!(!f||!d||!r.isGranted())){l.unsubscribe();var h;if(d.trackViewsManually){if(!c)return;s.remove(c.callback),h=c.options}var g=o(d,u,h);s.drain(g)}}function m(h){var g=pt();if(g&&(h=yf(h)),f=h,fn$1(Xa(h)),d){cr(`DD_RUM`,h);return}var E=qa(h);if(E){if(!g&&!E.sessionStoreStrategyType){T$1.warn(`No storage available for session. We will not send any data.`);return}E.compressIntakeRequests&&!g&&a&&(u=a(E,`Datadog RUM`,w$1),!u)||(d=E,dr().subscribe(w$1),r.tryToInit(E.trackingConsent),p())}}var v=function(h){s.add(function(g){return g.addDurationVital(h)})};return{init:function(h,g){if(!h){T$1.error(`Missing configuration`);return}po(h.enableExperimentalFeatures),f=h,!(i&&pr())&&($a(h.betaPlugins,`onInit`,{initConfiguration:h,publicApi:g}),h.remoteConfigurationId&&kt(vt.REMOTE_CONFIGURATION)?Ja(h,m):m(h))},get initConfiguration(){return f},getInternalContext:w$1,stopSession:w$1,addTiming:function(h,g){g===void 0&&(g=R$1()),s.add(function(E){return E.addTiming(h,g)})},startView:function(h,g){g===void 0&&(g=D$1());var E=function(O){O.startView(h,g)};s.add(E),c||(c={options:h,callback:E},p())},updateViewName:function(h){s.add(function(g){return g.updateViewName(h)})}
34,setViewContext:function(h){s.add(function(g){return g.setViewContext(h)})},setViewContextProperty:function(h,g){s.add(function(E){return E.setViewContextProperty(h,g)})},addAction:function(h,g){g===void 0&&(g=e()),s.add(function(E){return E.addAction(h,g)})},addError:function(h,g){g===void 0&&(g=e()),s.add(function(E){return E.addError(h,g)})},addFeatureFlagEvaluation:function(h,g){s.add(function(E){return E.addFeatureFlagEvaluation(h,g)})},startDurationVital:function(h,g){return jo(n,h,g)},stopDurationVital:function(h,g){Ko(v,n,h,g)},addDurationVital:v}}function yf(t){var e,r;return _({},t,{applicationId:`00000000-aaaa-0000-aaaa-000000000000`,clientToken:`empty`,sessionSampleRate:100,defaultPrivacyLevel:(e=t.defaultPrivacyLevel)!==null&&e!==void 0?e:(r=It())===null||r===void 0?void 0:r.getPrivacyLevel()})}var ts=`rum`;function Yo(t,e,r){r===void 0&&(r={});var n=Fo(0),o=Ye(n.getOrCreateTracker(2)),i=Ye(n.getOrCreateTracker(1)),a=so(),s=za();function c(){return Ba(o,i,e)}var u=Qa(r,c,a,s,function(l,p,m){l.storeContextsAcrossPages&&(vn$1(l,o,ts,2),vn$1(l,i,ts,1)),n.setCompressionStatus(p?1:2);var v=t(l,e,n,c,m,p&&r.createDeflateEncoder?function(h){return r.createDeflateEncoder(l,p,h)}:No,a,s);return e.onRumStart(v.lifeCycle,l,v.session,v.viewHistory,p),u=xf(u,v),v}),f=S(function(l){var p=typeof l==`object`?l:{name:l};p.context&&n.getOrCreateTracker(3).updateCustomerData(p.context),u.startView(p),nt({feature:`start-view`})}),d=yo({init:S(function(l){u.init(l,d),kt(vt.UPDATE_VIEW_NAME)&&(d.updateViewName=S(function(p){u.updateViewName(p)}))}),setTrackingConsent:S(function(l){a.update(l),nt({feature:`set-tracking-consent`,tracking_consent:l})}),setViewContext:S(function(l){u.setViewContext(l)}),setViewContextProperty:S(function(l,p){u.setViewContextProperty(l,p)}),setGlobalContext:S(function(l){o.setContext(l),nt({feature:`set-global-context`})}),getGlobalContext:S(function(){return o.getContext()}),setGlobalContextProperty:S(function(l,p){o.setContextProperty(l,p),nt({feature:`set-global-context`})}),removeGlobalContextProperty:S(function(l){return o.removeContextProperty(l)}),clearGlobalContext:S(function(){return o.clearContext()}),getInternalContext:S(function(l){return u.getInternalContext(l)}),getInitConfiguration:S(function(){return ze(u.initConfiguration)}),addAction:function(l,p){var m=_e();xt$1(function(){u.addAction({name:V(l),context:V(p),startClocks:D$1(),type:`custom`,handlingStack:m}),nt({feature:`add-action`})})},addError:function(l,p){var m=_e();xt$1(function(){u.addError({error:l,handlingStack:m,context:V(p),startClocks:D$1()}),nt({feature:`add-error`})})},addTiming:S(function(l,p){u.addTiming(V(l),p)}),setUser:S(function(l){Go(l)&&i.setContext(hn$1(l)),nt({feature:`set-user`})}),getUser:S(function(){return i.getContext()}),setUserProperty:S(function(l,p){var m,v=hn$1((m={},m[l]=p,m))[l];i.setContextProperty(l,v),nt({feature:`set-user`})}),removeUserProperty:S(function(l){return i.removeContextProperty(l)}),clearUser:S(function(){return i.clearContext()}),startView:f,stopSession:S(function(){u.stopSession(),nt({feature:`stop-session`})}),addFeatureFlagEvaluation:S(function(l,p){u.addFeatureFlagEvaluation(V(l),V(p)),nt({feature:`add-feature-flag-evaluation`})}),getSessionReplayLink:S(function(){return e.getSessionReplayLink()}),startSessionReplayRecording:S(function(l){e.start(l),nt({feature:`start-session-replay-recording`,force:l&&l.force})}),stopSessionReplayRecording:S(function(){return e.stop()}),addDurationVital:S(function(l,p){nt({feature:`add-duration-vital`}),u.addDurationVital({name:V(l),type:`duration`,startClocks:zi(p.startTime),duration:p.duration,context:V(p&&p.context),description:V(p&&p.description)})}),startDurationVital:S(function(l,p){return nt({feature:`start-duration-vital`}),u.startDurationVital(V(l),{context:V(p&&p.context),description:V(p&&p.description)})}),stopDurationVital:S(function(l,p){nt({feature:`stop-duration-vital`}),u.stopDurationVital(typeof l==`string`?V(l):l,{context:V(p&&p.context),description:V(p&&p.description)})})});return d}function xf(t,e){return _({init:function(r){cr(`DD_RUM`,r)},initConfiguration:t.initConfiguration},e)}function es(){var t=bn$1();return new x(function(e){if(t){var r=new t(S(function(){return e.notify()}));return r.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return r.disconnect()}}})}function bn$1(){var t,e=window;if(e.Zone&&(t=yt(e,`MutationObserver`),e.MutationObserver&&t===e.MutationObserver)){var n=yt(new e.MutationObserver(w$1),`originalInstance`);
34t=n&&n.constructor}return t||(t=e.MutationObserver),t}function rs(){var t=zo(),e=Ho();if(t&&e)return{test_id:t,result_id:e,injected:pr()}}function os(t,e,r){var n=ze(t),o=r(n);return Pe(e).forEach(function(i){var a=i[0],s=i[1],c=Tf(n,a),u=ct(c);u===s?ns(t,a,V(c)):s===`object`&&(u===`undefined`||u===`null`)&&ns(t,a,{})}),o}function Tf(t,e){for(var r=t,n=0,o=e.split(`.`);n<o.length;n++){var i=o[n];if(!wf(r,i))return;r=r[i]}return r}function ns(t,e,r){for(var n=t,o=e.split(`.`),i=0;i<o.length;i+=1){var a=o[i];if(!is(n))return;i!==o.length-1?n=n[a]:n[a]=r}}function is(t){return ct(t)===`object`}function wf(t,e){return is(t)&&Object.prototype.hasOwnProperty.call(t,e)}var We={"view.name":`string`,"view.url":`string`,"view.referrer":`string`};var qe={context:`object`};var Wo={service:`string`,version:`string`};var as;function ss(t,e,r,n,o,i,a,s,c,u){var f,d;as=(f={},f.view=_({},qe,We),f.error=_({"error.message":`string`,"error.stack":`string`,"error.resource.url":`string`,"error.fingerprint":`string`},qe,We,Wo),f.resource=_({"resource.url":`string`},kt(vt.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":`object`}:{},qe,We,Wo),f.action=_({"action.target.name":`string`},qe,We,Wo),f.long_task=_({},qe,We),f.vital=_({},qe,We),f);var l=(d={},d.error=mn$1(`error`,t.eventRateLimiterThreshold,u),d.action=mn$1(`action`,t.eventRateLimiterThreshold,u),d.vital=mn$1(`vital`,t.eventRateLimiterThreshold,u),d),p=rs();e.subscribe(11,function(m){var v=m.startTime,h=m.rawRumEvent,g=m.domainContext,E=m.savedCommonContext,O=m.customerContext,P=n.findView(v),W=o.findUrl(v),B=r.findTrackedSession(v);if(B&&P&&W){var b=E||c(),et=i.findActionId(v),H=rt({_dd:{format_version:2,drift:Hi(),configuration:{session_sample_rate:fe$1(t.sessionSampleRate,3),session_replay_sample_rate:fe$1(t.sessionReplaySampleRate,3)},browser_sdk_version:pt()?`5.28.1`:void 0},application:{id:t.applicationId},date:R$1(),service:P.service||t.service,version:P.version||t.version,source:`browser`,session:{id:B.id,type:p?`synthetics`:s.get()?`ci_test`:`user`},view:{id:P.id,name:P.name,url:W.url,referrer:W.referrer},action:If(h)&&et?{id:et}:void 0,synthetics:p,ci_test:s.get(),display:a.get(),connectivity:an()},h);H.context=rt(b.context,P.context,O),`has_replay`in H.session||(H.session.has_replay=b.hasReplay),H.type===`view`&&(H.session.sampled_for_replay=B.sessionReplay===1),St(b.user)||(H.usr=b.user),Cf(H,t.beforeSend,g,l)&&(St(H.context)&&delete H.context,e.notify(12,H))}})}function Cf(t,e,r,n){var o;if(e){var i=os(t,as[t.type],function(s){return e(s,r)});if(i===!1&&t.type!==`view`)return!1;i===!1&&T$1.warn(`Can't dismiss view events using beforeSend!`)}return!((o=n[t.type])===null||o===void 0?void 0:o.isLimitReached())}function If(t){return[`error`,`resource`,`long_task`].indexOf(t.type)!==-1}function us(t,e,r,n,o){return{get:function(i){var a=r.findView(i),s=o.findUrl(i),c=e.findTrackedSession(i);if(c&&a&&s){var u=n.findActionId(i);return{application_id:t,session_id:c.id,user_action:u?{id:u}:void 0,view:{id:a.id,name:a.name,referrer:s.referrer,url:s.url}}}}}}var qo=ko;var Af=st;function Xo(t){var e=gt({expireDelay:Af});t.subscribe(1,function(n){e.add(r(n),n.startClocks.relative)}),t.subscribe(5,function(n){var o=n.endClocks;e.closeActive(o.relative)}),t.subscribe(3,function(n){var o=e.find(n.startClocks.relative);
34o&&n.name&&(o.name=n.name),o&&n.context&&(o.context=n.context)}),t.subscribe(9,function(){e.reset()});function r(n){return{service:n.service,version:n.version,context:n.context,id:n.id,name:n.name,startClocks:n.startClocks}}return{findView:function(n){return e.find(n)},stop:function(){e.stop()}}}var Jo=`initial_document`;var Rf=[[`document`,function(t){return Jo===t}],[`xhr`,function(t){return t===`xmlhttprequest`}],[`fetch`,function(t){return t===`fetch`}],[`beacon`,function(t){return t===`beacon`}],[`css`,function(t,e){return/\.css$/i.test(e)}],[`js`,function(t,e){return/\.js$/i.test(e)}],[`image`,function(t,e){return K([`image`,`img`,`icon`],t)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)!==null}],[`font`,function(t,e){return/\.(woff|eot|woff2|ttf)$/i.exec(e)!==null}],[`media`,function(t,e){return K([`audio`,`video`],t)||/\.(mp3|mp4)$/i.exec(e)!==null}]];function ls(t){var e=t.name;if(!va(e))return dt(`Failed to construct URL for "`.concat(t.name,`"`)),`other`;for(var r=ha(e),n=0,o=Rf;n<o.length;n++){var i=o[n],a=i[0],s=i[1];if(s(t.initiatorType,r))return a}return`other`}function cs(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=1;r<t.length;r+=1)if(t[r-1]>t[r])return!1;return!0}function fs(t){return t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`}function ds(t){var e=t.duration,r=t.startTime,n=t.responseEnd;return e===0&&r<n?C$1(M(r,n)):C$1(e)}function ps(t){if($o(t)){var e=t.startTime,r=t.fetchStart,n=t.redirectStart,o=t.redirectEnd,i=t.domainLookupStart,a=t.domainLookupEnd,s=t.connectStart,c=t.secureConnectionStart,u=t.connectEnd,f=t.requestStart,d=t.responseStart,l=t.responseEnd,p={download:Xe(e,d,l),first_byte:Xe(e,f,d)};return r<u&&(p.connect=Xe(e,s,u),s<=c&&c<=u&&(p.ssl=Xe(e,c,u))),r<a&&(p.dns=Xe(e,i,a)),e<o&&(p.redirect=Xe(e,n,o)),p}}function Sn$1(t){return t.duration>=0}function $o(t){var e=cs(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),r=Nf(t)?cs(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart):!0;return e&&r}function Nf(t){return t.redirectEnd>t.startTime}function Xe(t,e,r){if(t<=e&&e<=r)return{duration:C$1(M(e,r)),start:C$1(M(t,e))}}function ms(t){if(t.startTime<t.responseStart){var e=t.encodedBodySize,r=t.decodedBodySize;return{size:r,encoded_body_size:e,decoded_body_size:r,transfer_size:t.transferSize}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function vr(t,e){return e&&!t.isIntakeUrl(e)}var kf=/data:(.+)?(;base64)?,/g;var Zo=24e3;function hr(t){return t.length<=Zo?!1:t.substring(0,5)===`data:`?(t=t.substring(0,Zo),!0):!1}function gr(t){return``.concat(t.match(kf)[0],`[...]`)}var vs=1;function hs(t,e,r){var n=Ka(e,r);Of(t,e,n),Lf(t,e,n)}function Of(t,e,r){var n=Mo(e).subscribe(function(o){var i=o;if(vr(e,i.url))switch(i.state){case`start`:r.traceXhr(i,i.xhr),i.requestIndex=gs(),t.notify(6,{requestIndex:i.requestIndex,url:i.url});break;case`complete`:r.clearTracingIfNeeded(i),t.notify(7,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:`xhr`,url:i.url,xhr:i.xhr,isAborted:i.isAborted,handlingStack:i.handlingStack});break}});return{stop:function(){return n.unsubscribe()}}}function Lf(t,e,r){var n=dr().subscribe(function(o){var i=o;if(vr(e,i.url))switch(i.state){case`start`:r.traceFetch(i),i.requestIndex=gs(),t.notify(6,{requestIndex:i.requestIndex,url:i.url});break;case`resolve`:Mf(i,function(a){r.clearTracingIfNeeded(i),t.notify(7,{duration:a,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:`fetch`,url:i.url,response:i.response,init:i.init,input:i.input,isAborted:i.isAborted,handlingStack:i.handlingStack})});break}});return{stop:function(){return n.unsubscribe()}}}function gs(){var t=vs;return vs+=1,t}function Mf(t,e){var r=t.response&&Aa(t.response);!r||!r.body?e(M(t.startClocks.timeStamp,R$1())):Bo(r.body,function(){e(M(t.startClocks.timeStamp,R$1()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1})}function En$1(t){return Nt$1(t)&&t<0?void 0:t}function yn$1(t){var e=t.lifeCycle,r=t.isChildEvent,n=t.onChange,o=n===void 0?w$1:n,i={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},a=e.subscribe(12,function(s){var c;if(!(s.type===`view`||s.type===`vital`||!r(s)))switch(s.type){case`error`:i.errorCount+=1,o();break;case`action`:i.actionCount+=1,s.action.frustration&&(i.frustrationCount+=s.action.frustration.type.length),o();break;case`long_task`:i.longTaskCount+=1,o();break;case`resource`:!((c=s._dd)===null||c===void 0)&&c.discarded||(i.resourceCount+=1,o());break}});return{stop:function(){a.unsubscribe()},eventCounts:i}}function _s(t,e){var r=ft(),n=!1,o=F(t,window,[`click`,`mousedown`,`keydown`,`touchstart`,`pointerdown`],function(s){if(s.cancelable){var c={entryType:`first-input`,processingStart:$(),processingEnd:$(),startTime:s.timeStamp,duration:0,name:``,cancelable:!1,target:null,toJSON:function(){return{}}};s.type===`pointerdown`?i(t,c):a(c)}},{passive:!0,capture:!0}).stop;return{stop:o};function i(s,c){F(s,window,[`pointerup`,`pointercancel`],function(u){u.type===`pointerup`&&a(c)},{once:!0})}function a(s){if(!n){n=!0,o();var c=s.processingStart-s.startTime;c>=0&&c<ft()-r&&e(s)}}}var A=(function(t){return t.EVENT=`event`,t.FIRST_INPUT=`first-input`,t.LARGEST_CONTENTFUL_PAINT=`largest-contentful-paint`,t.LAYOUT_SHIFT=`layout-shift`,t.LONG_TASK=`longtask`,t.LONG_ANIMATION_FRAME=`long-animation-frame`,t.NAVIGATION=`navigation`,t.PAINT=`paint`,t.RESOURCE=`resource`,t})(A||{});function X(t,e){return new x(function(r){if(window.PerformanceObserver){var n=function(u){var f=Uf(t,u);f.length>0&&r.notify(f)},o,i=!0,a=new PerformanceObserver(S(function(u){i?o=N$1(function(){return n(u.getEntries())}):n(u.getEntries())}));try{a.observe(e)}catch(u){if(K([A.RESOURCE,A.NAVIGATION,A.LONG_TASK,A.PAINT],e.type)){e.buffered&&(o=N$1(function(){return n(performance.getEntriesByType(e.type))}));try{a.observe({entryTypes:[e.type]})}catch(f){return}}}i=!1,Df(t);var c;return!xe(A.FIRST_INPUT)&&e.type===A.FIRST_INPUT&&(c=_s(t,function(u){n([u])}).stop),function(){a.disconnect(),c&&c(),q(o)}}})}var _r;function Df(t){return!_r&&Pf()&&`addEventListener`in performance&&(_r=I(t,performance,`resourcetimingbufferfull`,function(){performance.clearResourceTimings()})),function(){_r?.stop()}}function Pf(){return window.performance!==void 0&&`getEntries`in performance}function xe(t){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(t)}function Uf(t,e){return e.filter(function(r){return!Vf(t,r)})}function Vf(t,e){return e.entryType===A.RESOURCE&&(!vr(t,e.name)||!Sn$1(e))}var ti$1=100;var Ff=100;function br(t,e,r,n,o){return Bf(zf(t,e,r),n,o)}function Bf(t,e,r){var n,o=!1,i=N$1(S(function(){return u({hadActivity:!1})}),ti$1),a=r!==void 0?N$1(S(function(){return u({hadActivity:!0,end:R$1()})}),r):void 0,s=t.subscribe(function(f){var d=f.isBusy;q(i),q(n);var l=R$1();d||(n=N$1(S(function(){return u({hadActivity:!0,end:l})}),Ff))}),c=function(){o=!0,q(i),q(n),q(a),s.unsubscribe()};function u(f){o||(c(),e(f))}return{stop:c}}function zf(t,e,r){return new x(function(n){var o=[],i,a=0;o.push(e.subscribe(c),X(r,{type:A.RESOURCE}).subscribe(function(u){u.some(function(f){return!Qo(r,f.name)})&&c()}),t.subscribe(6,function(u){Qo(r,u.url)||(i===void 0&&(i=u.requestIndex),a+=1,c())}),t.subscribe(7,function(u){Qo(r,u.url)||i===void 0||u.requestIndex<i||(a-=1,c())}));var s=Hf(c).stop;return function(){s(),o.forEach(function(u){return u.unsubscribe()})};function c(){n.notify({isBusy:a>0})}})}function Qo(t,e){return gn$1(t.excludedActivityUrls,e)}function Hf(t){return G$1(window,`open`,t)}function Ft$1(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,r){return r?e===`\0`?`
34�`:``.concat(e.slice(0,-1),`\\`).concat(e.charCodeAt(e.length-1).toString(16),` `):`\\`.concat(e)})}function Zt$1(t,e){return t.matches?t.matches(e):t.msMatchesSelector?t.msMatchesSelector(e):!1}function Te(t){if(t.parentElement)return t.parentElement;for(;t.parentNode;){if(t.parentNode.nodeType===Node.ELEMENT_NODE)return t.parentNode;t=t.parentNode}return null}function Ss(t){if(t.classList)return t.classList;var e=(t.getAttribute(`class`)||``).trim();return e?e.split(/\s+/):[]}var bs=1;var Es=(function(){function t(e){var r=this;this.map=new WeakMap,e&&e.forEach(function(n){return r.map.set(n,bs)})}return t.prototype.add=function(e){return this.map.set(e,bs),this},t.prototype.delete=function(e){return this.map.delete(e)},t.prototype.has=function(e){return this.map.has(e)},t})();function xn$1(t){return t.nodeType===Node.TEXT_NODE}function ys(t){return t.nodeType===Node.COMMENT_NODE}function Bt$1(t){return t.nodeType===Node.ELEMENT_NODE}function Ze(t){return Bt$1(t)&&!!t.shadowRoot}function Sr(t){var e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Bt$1(e.host)}function xs(t){return t.childNodes.length>0||Ze(t)}function Tn$1(t,e){for(var r=t.firstChild;r;)e(r),r=r.nextSibling;Ze(t)&&e(t.shadowRoot)}function we(t){return Sr(t)?t.host:t.parentNode}var y$1={IGNORE:`ignore`,HIDDEN:`hidden`,ALLOW:qt$1.ALLOW,MASK:qt$1.MASK,MASK_USER_INPUT:qt$1.MASK_USER_INPUT};var Er=`data-dd-privacy`;var ws=`hidden`;var Gf=`dd-privacy-`;var zt$1=`***`;var ei$1=`data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==`;var jf={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};var Kf=`x`;function it(t,e,r){if(r&&r.has(t))return r.get(t);var n=we(t),o=n?it(n,e,r):e,a=ri$1(ni(t),o);return r&&r.set(t,a),a}function ri$1(t,e){switch(e){case y$1.HIDDEN:case y$1.IGNORE:return e}switch(t){case y$1.ALLOW:case y$1.MASK:case y$1.MASK_USER_INPUT:case y$1.HIDDEN:case y$1.IGNORE:return t;default:return e}}function ni(t){if(Bt$1(t)){if(t.tagName===`BASE`)return y$1.ALLOW;if(t.tagName===`INPUT`){var e=t;if(e.type===`password`||e.type===`email`||e.type===`tel`||e.type===`hidden`)return y$1.MASK;var r=e.getAttribute(`autocomplete`);if(r&&r.indexOf(`cc-`)===0)return y$1.MASK}if(Zt$1(t,Ce(y$1.HIDDEN)))return y$1.HIDDEN;if(Zt$1(t,Ce(y$1.MASK)))return y$1.MASK;if(Zt$1(t,Ce(y$1.MASK_USER_INPUT)))return y$1.MASK_USER_INPUT;if(Zt$1(t,Ce(y$1.ALLOW)))return y$1.ALLOW;if(Wf(t))return y$1.IGNORE}}function Ie(t,e){switch(e){case y$1.MASK:case y$1.HIDDEN:case y$1.IGNORE:return!0;case y$1.MASK_USER_INPUT:return xn$1(t)?Ts(t.parentNode):Ts(t);default:return!1}}function Ts(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;var e=t;if(e.tagName===`INPUT`)switch(e.type){case`button`:case`color`:case`reset`:case`submit`:return!1}return!!jf[e.tagName]}var Yf=function(t){return t.replace(/\S/g,Kf)};function wn$1(t,e,r){var n,o=(n=t.parentElement)===null||n===void 0?void 0:n.tagName,i=t.textContent||``;if(!(e&&!i.trim())){var a=r;if(o===`SCRIPT`)i=zt$1;else if(a===y$1.HIDDEN)i=zt$1;else if(Ie(t,a))if(o===`DATALIST`||o===`SELECT`||o===`OPTGROUP`){if(!i.trim())return}else o===`OPTION`?i=zt$1:i=Yf(i);return i}}function Wf(t){if(t.nodeName===`SCRIPT`)return!0;
34if(t.nodeName===`LINK`){var e=o(`rel`);return/preload|prefetch/i.test(e)&&o(`as`)===`script`||e===`shortcut icon`||e===`icon`}if(t.nodeName===`META`){var r=o(`name`),e=o(`rel`),n=o(`property`);return/^msapplication-tile(image|color)$/.test(r)||r===`application-name`||e===`icon`||e===`apple-touch-icon`||e===`shortcut icon`||r===`keywords`||r===`description`||/^(og|twitter|fb):/.test(n)||/^(og|twitter):/.test(r)||r===`pinterest`||r===`robots`||r===`googlebot`||r===`bingbot`||t.hasAttribute(`http-equiv`)||r===`author`||r===`generator`||r===`framework`||r===`publisher`||r===`progid`||/^article:/.test(n)||/^product:/.test(n)||r===`google-site-verification`||r===`yandex-verification`||r===`csrf-token`||r===`p:domain_verify`||r===`verify-v1`||r===`verification`||r===`shopify-checkout-api-token`}function o(i){return(t.getAttribute(i)||``).toLowerCase()}return!1}function Ce(t){return`[`.concat(Er,`="`).concat(t,`"], .`).concat(Gf).concat(t)}var yr=`data-dd-action-name`;var qf=`Masked Element`;function As(t,e,r){var n=e.enablePrivacyForActionName,o=e.actionNameAttribute,i=Cs(t,yr)||o&&Cs(t,o);return r===y$1.MASK?i||qf:i||Is(t,o,Xf,n)||Is(t,o,Zf,n)||``}function Cs(t,e){var r;if(ed())r=t.closest(`[`.concat(e,`]`));else for(var n=t;n;){if(n.hasAttribute(e)){r=n;break}n=Te(n)}if(r)return Ns(Rs(r.getAttribute(e).trim()))}
34var Xf=[function(t,e,r){if(td()){if(`labels`in t&&t.labels&&t.labels.length>0)return Je(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&at(t.ownerDocument.querySelectorAll(`label`),function(o){return o.htmlFor===t.id});return n&&Je(n,e,r)}},function(t){if(t.nodeName===`INPUT`){var e=t,r=e.getAttribute(`type`);if(r===`button`||r===`submit`||r===`reset`)return e.value}},function(t,e,r){if(t.nodeName===`BUTTON`||t.nodeName===`LABEL`||t.getAttribute(`role`)===`button`)return Je(t,e,r)},function(t){return t.getAttribute(`aria-label`)},function(t,e,r){var n=t.getAttribute(`aria-labelledby`);if(n)return n.split(/\s+/).map(function(o){return $f(t,o)}).filter(function(o){return!!o}).map(function(o){return Je(o,e,r)}).join(` `)},function(t){return t.getAttribute(`alt`)},function(t){return t.getAttribute(`name`)},function(t){return t.getAttribute(`title`)},function(t){return t.getAttribute(`placeholder`)},function(t,e){if(`options`in t&&t.options.length>0)return Je(t.options[0],e)}];var Zf=[function(t,e,r){return Je(t,e,r)}];var Jf=10;function Is(t,e,r,n){for(var o=t,i=0;i<=Jf&&o&&o.nodeName!==`BODY`&&o.nodeName!==`HTML`&&o.nodeName!==`HEAD`;){for(var a=0,s=r;a<s.length;a++){var c=s[a],u=c(o,e,n);if(typeof u==`string`){var f=u.trim();if(f)return Ns(Rs(f))}}if(o.nodeName===`FORM`)break;o=Te(o),i+=1}}function Rs(t){return t.replace(/\s+/g,` `)}function Ns(t){return t.length>100?``.concat(jr(t,100),` [...]`):t}function $f(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}function Je(t,e,r){if(!t.isContentEditable){if(`innerText`in t){var n=t.innerText,o=function(i){for(var a=t.querySelectorAll(i),s=0;s<a.length;s+=1){var c=a[s];if(`innerText`in c){var u=c.innerText;u&&u.trim().length>0&&(n=n.replace(u,``))}}};return Qf()||o(`script, style`),o(`[`.concat(yr,`]`)),e&&o(`[`.concat(e,`]`)),r&&o(``.concat(Ce(y$1.HIDDEN),`, `).concat(Ce(y$1.MASK))),n}return t.textContent}}function Qf(){return!$i()}var oi$2;function td(){return oi$2===void 0&&(oi$2=`labels`in HTMLInputElement.prototype),oi$2}var ii$1;function ed(){return ii$1===void 0&&(ii$1=`closest`in HTMLElement.prototype),ii$1}var In$1=[yr,`data-testid`,`data-test`,`data-qa`,`data-cy`,`data-test-id`,`data-qa-id`,`data-testing`,`data-component`,`data-element`,`data-source-file`];var rd=[Ls,od];var nd=[Ls,id,ad];function Ht$1(t,e){if(fd(t)){for(var r,n=t;n&&n.nodeName!==`HTML`;){var o=ks(n,rd,ud,e,r);if(o)return o;r=ks(n,nd,cd,e,r)||xr(sd(n),r),n=Te(n)}return r}}function Os(t){return/[0-9]/.test(t)}function od(t){if(t.id&&!Os(t.id))return`#`.concat(Ft$1(t.id))}function id(t){if(t.tagName!==`BODY`)for(var e=Ss(t),r=0;r<e.length;r+=1){var n=e[r];if(!Os(n))return``.concat(Ft$1(t.tagName),`.`).concat(Ft$1(n))}}function ad(t){return Ft$1(t.tagName)}function Ls(t,e){if(e){var r=a(e);if(r)return r}for(var n=0,o=In$1;n<o.length;n++){var i=o[n],r=a(i);if(r)return r}function a(s){if(t.hasAttribute(s))return``.concat(Ft$1(t.tagName),`[`).concat(s,`="`).concat(Ft$1(t.getAttribute(s)),`"]`)}}function sd(t){for(var e=Te(t).firstElementChild,r=1;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return``.concat(Ft$1(t.tagName),`:nth-of-type(`).concat(r,`)`)}function ks(t,e,r,n,o){for(var i=0,a=e;i<a.length;i++){var s=a[i],c=s(t,n);if(c&&r(t,c,o))return xr(c,o)}}function ud(t,e,r){return t.ownerDocument.querySelectorAll(xr(e,r)).length===1}function cd(t,e,r){var n;if(r===void 0)n=function(s){return Zt$1(s,e)};else{var o=ld()?xr(``.concat(e,`:scope`),r):xr(e,r);n=function(s){return s.querySelector(o)!==null}}for(var a=Te(t).firstElementChild;a;){if(a!==t&&n(a))return!1;a=a.nextElementSibling}return!0}function xr(t,e){return e?``.concat(t,`>`).concat(e):t}var Cn;function ld(){if(Cn===void 0)try{document.querySelector(`:scope`),Cn=!0}catch(t){Cn=!1}return Cn}function fd(t){return`isConnected`in t?t.isConnected:t.ownerDocument.documentElement.contains(t)}var Ms=L$1;var dd=100;function Ds(t,e){var r=[],n=0,o;i(t);function i(c){c.stopObservable.subscribe(a),r.push(c),q(o),o=N$1(s,Ms)}function a(){n===1&&r.every(function(c){return c.isStopped()})&&(n=2,e(r))}function s(){q(o),n===0&&(n=1,a())}return{tryAppend:function(c){return n!==0?!1:r.length>0&&!pd(r[r.length-1].event,c.event)?(s(),!1):(i(c),!0)},stop:function(){s()}}}function pd(t,e){return t.target===e.target&&md(t,e)<=dd&&t.timeStamp-e.timeStamp<=Ms}function md(t,e){return Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2))}function Vs(t,e){var r=e.onPointerDown,n=e.onPointerUp,o,i={selection:!1,input:!1,scroll:!1},a,s=[I(t,window,`pointerdown`,function(c){Us(c)&&(o=Ps(),i={selection:!1,input:!1,scroll:!1},a=r(c))},{capture:!0}),I(t,window,`selectionchange`,function(){(!o||!Ps())&&(i.selection=!0)},{capture:!0}),I(t,window,`scroll`,function(){i.scroll=!0},{capture:!0,passive:!0}),I(t,window,`pointerup`,function(c){if(Us(c)&&a){var u=i;n(a,c,function(){return u}),a=void 0}},{capture:!0}),I(t,window,`input`,function(){i.input=!0},{capture:!0})];
34return{stop:function(){s.forEach(function(c){return c.stop()})}}}function Ps(){var t=window.getSelection();return!t||t.isCollapsed}function Us(t){return t.target instanceof Element&&t.isPrimary!==!1}var Fs=3;function zs(t,e){if(vd(t))return e.addFrustration(`rage_click`),t.some(Bs)&&e.addFrustration(`dead_click`),e.hasError&&e.addFrustration(`error_click`),{isRage:!0};var r=t.some(function(n){return n.getUserActivity().selection});return t.forEach(function(n){n.hasError&&n.addFrustration(`error_click`),Bs(n)&&!r&&n.addFrustration(`dead_click`)}),{isRage:!1}}function vd(t){if(t.some(function(r){return r.getUserActivity().selection||r.getUserActivity().scroll}))return!1;for(var e=0;e<t.length-(Fs-1);e+=1)if(t[e+Fs-1].event.timeStamp-t[e].event.timeStamp<=L$1)return!0;return!1}var hd=`input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *`;function Bs(t){return t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll?!1:!Zt$1(t.event.target,hd)}var gd=10*L$1;var _d=5*U;function Hs(t,e,r){var n=gt({expireDelay:_d}),o=new x,i;t.subscribe(9,function(){n.reset()}),t.subscribe(4,u);var a=Vs(r,{onPointerDown:function(f){return bd(r,t,e,f)},onPointerUp:function(f,d,l){var p=f.clickActionBase,m=f.hadActivityOnPointerDown;Sd(r,t,e,n,o,c,p,d,l,m)}}).stop;return{stop:function(){u(),o.notify(),a()},actionContexts:{findActionId:function(f){return n.findAll(f)}}};function c(f){if(!i||!i.tryAppend(f)){var d=f.clone();i=Ds(f,function(l){yd(l,d)})}}function u(){i&&i.stop()}}function bd(t,e,r,n){var o=t.enablePrivacyForActionName?it(n.target,t.defaultPrivacyLevel):y$1.ALLOW;if(o!==y$1.HIDDEN){var i=Ed(n,o,t),a=!1;return br(e,r,t,function(s){a=s.hadActivity},ti$1),{clickActionBase:i,hadActivityOnPointerDown:function(){return a}}}}function Sd(t,e,r,n,o,i,a,s,c,u){var f=Gs(e,n,c,a,s);i(f);var d=br(e,r,t,function(m){m.hadActivity&&m.end<f.startClocks.timeStamp?f.discard():m.hadActivity?f.stop(m.end):u()?f.stop(f.startClocks.timeStamp):f.stop()},gd).stop,l=e.subscribe(4,function(m){var v=m.endClocks;f.stop(v.timeStamp)}),p=o.subscribe(function(){f.stop()});f.stopObservable.subscribe(function(){l.unsubscribe(),d(),p.unsubscribe()})}function Ed(t,e,r){var n=t.target.getBoundingClientRect();return{type:`click`,target:{width:Math.round(n.width),height:Math.round(n.height),selector:Ht$1(t.target,r.actionNameAttribute)},position:{x:Math.round(t.clientX-n.left),y:Math.round(t.clientY-n.top)},name:As(t.target,r,e)}}function Gs(t,e,r,n,o){var i=k(),a=D$1(),s=e.add(i,a.relative),c=yn$1({lifeCycle:t,isChildEvent:function(m){return m.action!==void 0&&(Array.isArray(m.action.id)?K(m.action.id,i):m.action.id===i)}}),u=0,f,d=[],l=new x;function p(m){u===0&&(f=m,u=1,f?s.close(Qe(f)):s.remove(),c.stop(),l.notify())}return{event:o,stop:p,stopObservable:l,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return f!==void 0},getUserActivity:r,addFrustration:function(m){d.push(m)},startClocks:a,isStopped:function(){return u===1||u===2},clone:function(){return Gs(t,e,r,n,o)},validate:function(m){if(p(),u===1){var v=c.eventCounts,h=v.resourceCount,g=v.errorCount,E=v.longTaskCount,O=_({type:`click`,duration:f&&M(a.timeStamp,f),startClocks:a,id:i,frustrationTypes:d,counts:{resourceCount:h,errorCount:g,longTaskCount:E},events:m??[o],event:o},n);t.notify(0,O),u=2}},discard:function(){p(),u=2}}}function yd(t,e){zs(t,e).isRage?(t.forEach(function(n){return n.discard()}),e.stop(R$1()),e.validate(t.map(function(n){return n.event}))):(e.discard(),t.forEach(function(n){return n.validate()}))}function Ks(t,e,r,n){t.subscribe(0,function(i){return t.notify(11,js(i,n))});var o={findActionId:w$1};return r.trackUserInteractions&&(o=Hs(t,e,r).actionContexts),{addAction:function(i,a){t.notify(11,_({savedCommonContext:a},js(i,n)))},actionContexts:o}}function js(t,e){var r=An$1(t)?{action:{id:t.id,loading_time:En$1(C$1(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}
34:void 0,n=An$1(t)?void 0:t.context,o=rt({action:{id:k(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:`action`,view:{in_foreground:e.wasInPageStateAt(`active`,t.startClocks.relative)}},r),i=An$1(t)?{events:t.events}:{};return!An$1(t)&&t.handlingStack&&(i.handlingStack=t.handlingStack),{customerContext:n,rawRumEvent:o,startTime:t.startClocks.relative,domainContext:i}}function An$1(t){return t.type!==`custom`}function Ys(t){var e=Uo([ce$1.error]).subscribe(function(r){return t.notify(r.error)});return{stop:function(){e.unsubscribe()}}}function Ws(t,e){var r=To(t,[Se.cspViolation,Se.intervention]).subscribe(function(n){return e.notify(n)});return{stop:function(){r.unsubscribe()}}}function qs(t,e,r,n){var o=new x;return Ys(o),Eo(o),Ws(e,o),o.subscribe(function(i){return t.notify(13,{error:i})}),xd(t,r,n)}function xd(t,e,r){return t.subscribe(13,function(n){var o=n.error,i=n.customerContext,a=n.savedCommonContext;t.notify(11,_({customerContext:i,savedCommonContext:a},Td(o,e,r)))}),{addError:function(n,o){var i=n.error,a=n.handlingStack,s=n.startClocks,c=n.context,f=ur({stackTrace:i instanceof Error?ut(i):void 0,originalError:i,handlingStack:a,startClocks:s,nonErrorPrefix:`Provided`,source:ht.CUSTOM,handling:`handled`});t.notify(13,{customerContext:c,savedCommonContext:o,error:f})}}}function Td(t,e,r){var n={date:t.startClocks.timeStamp,error:{id:k(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling,causes:t.causes,source_type:`browser`,fingerprint:t.fingerprint,csp:t.csp},type:`error`,view:{in_foreground:e.wasInPageStateAt(`active`,t.startClocks.relative)}},o=r.findFeatureFlagEvaluations(t.startClocks.relative);o&&!St(o)&&(n.feature_flags=o);var i={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:n,startTime:t.startClocks.relative,domainContext:i}}function Xs(t,e){var r=X(e,{type:A.LONG_TASK,buffered:!0}).subscribe(function(n){for(var o=0,i=n;o<i.length;o++){var a=i[o];if(a.entryType!==A.LONG_TASK||!e.trackLongTasks)break;var s=de$1(a.startTime),c={date:s.timeStamp,long_task:{id:k(),entry_type:`long-task`,duration:C$1(a.duration)},type:`long_task`,_dd:{discarded:!1}};t.notify(11,{rawRumEvent:c,startTime:s.relative,domainContext:{performanceEntry:a}})}});return{stop:function(){r.unsubscribe()}}}var Zs=new Es;function Js(t){if(!(!performance||!(`getEntriesByName`in performance))){var e=performance.getEntriesByName(t.url,`resource`);if(!(!e.length||!(`toJSON`in e[0]))){var r=e.filter(function(n){return!Zs.has(n)}).filter(function(n){return Sn$1(n)&&$o(n)}).filter(function(n){return wd(n,t.startClocks.relative,$s({startTime:t.startClocks.relative,duration:t.duration}))});if(r.length===1)return Zs.add(r[0]),r[0].toJSON()}}}function $s(t){return te(t.startTime,t.duration)}function wd(t,e,r){var n=1;return t.startTime>=e-n&&$s(t)<=te(r,n)}var Cd=2*U;function tu(t){var e=Id(t)||Ad(t);if(!(!e||e.traceTime<=ft()-Cd))return e.traceId}function Id(t){var e=t.querySelector(`meta[name=dd-trace-id]`),r=t.querySelector(`meta[name=dd-trace-time]`);return eu(e&&e.content,r&&r.content)}function Ad(t){var e=Rd(t);if(e)return eu(ee(e,`trace-id`),ee(e,`trace-time`))}function eu(t,e){var r=e&&Number(e);if(!(!t||!r))return{traceId:t,traceTime:r}}function Rd(t){for(var e=0;e<t.childNodes.length;e+=1){var r=Qs(t.childNodes[e]);if(r)return r}if(t.body)for(var e=t.body.childNodes.length-1;e>=0;e-=1){var n=t.body.childNodes[e],r=Qs(n);if(r)return r;if(!xn$1(n))break}}function Qs(t){if(t&&ys(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function Rn$1(){if(xe(A.NAVIGATION)){var t=performance.getEntriesByType(A.NAVIGATION)[0];if(t)return t}var e=Nd(),r=_({entryType:A.NAVIGATION,initiatorType:`navigation`,name:window.location.href,startTime:0,duration:e.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,toJSON:function(){return _({},r,{toJSON:void 0})}},e);return r}function Nd(){var t={},e=performance.timing;for(var r in e)if(Nt$1(e[r])){var n=r,o=e[n];t[n]=o===0?0:Qe(o)}return t}function ru(t,e){ye(t,`interactive`,function(){var r=_(Rn$1().toJSON(),{entryType:A.RESOURCE,initiatorType:Jo,traceId:tu(document),toJSON:function(){return _({},r,{toJSON:void 0})}});e(r)})}function ou(t,e,r,n){n===void 0&&(n=ru),t.subscribe(7,function(i){var a=kd(i,e,r);a&&t.notify(11,a)});var o=X(e,{type:A.RESOURCE,buffered:!0}).subscribe(function(i){for(var a=0,s=i;a<s.length;a++){var c=s[a];if(!fs(c)){var u=nu(c,e);u&&t.notify(11,u)}}});return n(e,function(i){var a=nu(i,e);a&&t.notify(11,a)}),{stop:function(){o.unsubscribe()}}}function kd(t,e,r){var n=Js(t),o=n?de$1(n.startTime):t.startClocks,i=Od(t,e);if(!(!e.trackResources&&!i)){var a=t.type===`xhr`?`xhr`:`fetch`,s=n?iu(n):void 0,c=Md(r,o,t.duration),u=rt({date:o.timeStamp,resource:{id:k(),type:a,duration:c,method:t.method,status_code:t.status,url:hr(t.url)?gr(t.url):t.url},type:`resource`,_dd:{discarded:!e.trackResources}},i,s);return{startTime:o.relative,rawRumEvent:u,domainContext:{performanceEntry:n,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error,isAborted:t.isAborted,handlingStack:t.handlingStack}}}}function nu(t,e){var r=de$1(t.startTime),n=Ld(t,e);if(!(!e.trackResources&&!n)){var o=ls(t),i=iu(t),a=rt({date:r.timeStamp,resource:{id:k(),type:o,url:t.name,status_code:Dd(t.responseStatus)},type:`resource`,_dd:{discarded:!e.trackResources}},n,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:t}}}}function iu(t){var e=t.renderBlockingStatus;return{resource:_({duration:ds(t),render_blocking_status:e},ms(t),ps(t))}}function Od(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:au(e)}}}function Ld(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:_n$1().toDecimalString(),rule_psr:au(e)}}}function au(t){return Nt$1(t.traceSampleRate)?t.traceSampleRate/100:void 0}function Md(t,e,r){return t.wasInPageStateDuringPeriod(`frozen`,e.relative,r)?void 0:C$1(r)}function Dd(t){return t===0?void 0:t}function su(t,e,r){var n=yn$1({lifeCycle:t,isChildEvent:function(a){return a.view.id===e},onChange:r});return{stop:n.stop,eventCounts:n.eventCounts}}var Pd=10*U;function uu(t,e,r){return{stop:X(t,{type:A.PAINT,buffered:!0}).subscribe(function(o){var i=at(o,function(a){return a.name===`first-contentful-paint`&&a.startTime<e.timeStamp&&a.startTime<Pd});i&&r(i.startTime)}).unsubscribe}}function cu(t,e,r){var n=X(t,{type:A.FIRST_INPUT,buffered:!0}).subscribe(function(o){var i=at(o,function(c){return c.startTime<e.timeStamp});if(i){var a=M(i.startTime,i.processingStart),s=void 0;i.target&&Bt$1(i.target)&&(s=Ht$1(i.target,t.actionNameAttribute)),r({delay:a>=0?a:0,time:i.startTime,targetSelector:s})}});return{stop:function(){n.unsubscribe()}}}function lu(t,e,r){return r===void 0&&(r=Rn$1),Fd(t,function(){var n=r();Vd(n)||e(Ud(n))})}function Ud(t){return{domComplete:t.domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=$()?t.responseStart:void 0}}function Vd(t){return t.loadEventEnd<=0}function Fd(t,e){var r,n=ye(t,`complete`,function(){r=N$1(function(){return e()})}).stop;return{stop:function(){n(),q(r)}}}var Bd=10*U;function fu(t,e,r,n){var o=Infinity,i=F(t,r,[`pointerdown`,`keydown`],function(c){o=c.timeStamp},{capture:!0,once:!0}).stop,a=0,s=X(t,{type:A.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(function(c){var u=Ki(c,function(d){return d.entryType===A.LARGEST_CONTENTFUL_PAINT&&d.startTime<o&&d.startTime<e.timeStamp&&d.startTime<Bd&&d.size>a});if(u){var f=void 0;u.element&&(f=Ht$1(u.element,t.actionNameAttribute)),n({value:u.startTime,targetSelector:f}),a=u.size}});return{stop:function(){i(),s.unsubscribe()}}}function Nn$1(t,e){e===void 0&&(e=window);var r,n;return document.visibilityState===`hidden`?r=0:(r=Infinity,n=F(t,e,[`pagehide`,`visibilitychange`],function(o){(o.type===`pagehide`||document.visibilityState===`hidden`)&&(r=o.timeStamp,n())},{capture:!0}).stop),{get timeStamp(){return r},stop:function(){n?.()}}}function du(t,e,r){var n={},o=lu(t,function(f){e(f.loadEvent),n.navigationTimings=f,r()}).stop,i=Nn$1(t),a=uu(t,i,function(f){n.firstContentfulPaint=f,r()}).stop,s=fu(t,i,window,function(f){n.largestContentfulPaint=f,r()}).stop,c=cu(t,i,function(f){n.firstInput=f,r()}).stop;function u(){o(),a(),s(),c(),i.stop()}return{stop:u,initialViewMetrics:n}}function pu(t,e,r){if(!Kd())return{stop:w$1};var n=0,o,i;r({value:0});var a=jd(),s=X(t,{type:A.LAYOUT_SHIFT,buffered:!0}).subscribe(function(c){for(var u=0,f=c;u<f.length;u++){var d=f[u];
34if(!(d.hadRecentInput||d.startTime<e)){var l=a.update(d),p=l.cumulatedValue;if(l.isMaxValue){var v=zd(d.sources);o=v?new WeakRef(v):void 0,i=M(e,d.startTime)}if(p>n){n=p;var v=o?.deref();r({value:fe$1(n,4),targetSelector:v&&Ht$1(v,t.actionNameAttribute),time:i})}}}});return{stop:function(){s.unsubscribe()}}}function zd(t){var e;if(t)return(e=at(t,function(r){return!!r.node&&Bt$1(r.node)}))===null||e===void 0?void 0:e.node}var Hd=5*L$1;var Gd=L$1;function jd(){var t=0,e,r,n=0;return{update:function(o){var i=e===void 0||o.startTime-r>=Gd||o.startTime-e>=Hd,a;return i?(e=r=o.startTime,n=t=o.value,a=!0):(t+=o.value,r=o.startTime,a=o.value>n,a&&(n=o.value)),{cumulatedValue:t,isMaxValue:a}}}}function Kd(){return xe(A.LAYOUT_SHIFT)&&`WeakRef`in window}var kn$1;var mu=0;var ai=Infinity;var si$1=0;function vu(){`interactionCount`in performance||kn$1||(kn$1=new window.PerformanceObserver(S(function(t){t.getEntries().forEach(function(e){var r=e;r.interactionId&&(ai=Math.min(ai,r.interactionId),si$1=Math.max(si$1,r.interactionId),mu=(si$1-ai)/7+1)})})),kn$1.observe({type:`event`,buffered:!0,durationThreshold:0}))}var ui$1=function(){return kn$1?mu:window.performance.interactionCount||0};var hu=10;var Yd=1*U;function gu(t,e,r){if(!Xd())return{getInteractionToNextPaint:function(){},setViewEnd:w$1,stop:w$1};var n=qd(r),o=n.getViewInteractionCount,i=n.stopViewInteractionCount,a=Infinity,s=Wd(o),c=-1,u,f;function d(m){for(var v=0,h=m;v<h.length;v++){var g=h[v];g.interactionId&&g.startTime>=e&&g.startTime<=a&&s.process(g)}var E=s.estimateP98Interaction();E&&E.duration!==c&&(c=E.duration,f=M(e,E.startTime),E.target&&Bt$1(E.target)?u=Ht$1(E.target,t.actionNameAttribute):u=void 0)}var l=X(t,{type:A.FIRST_INPUT,buffered:!0}).subscribe(d),p=X(t,{type:A.EVENT,durationThreshold:40,buffered:!0}).subscribe(d);return{getInteractionToNextPaint:function(){if(c>=0)return{value:Math.min(c,Yd),targetSelector:u,time:f};if(o())return{value:0}}
34,setViewEnd:function(m){a=m,i()},stop:function(){p.unsubscribe(),l.unsubscribe()}}}function Wd(t){var e=[];function r(){e.sort(function(n,o){return o.duration-n.duration}).splice(hu)}return{process:function(n){var o=e.findIndex(function(a){return n.interactionId===a.interactionId}),i=e[e.length-1];o!==-1?n.duration>e[o].duration&&(e[o]=n,r()):(e.length<hu||n.duration>i.duration)&&(e.push(n),r())},estimateP98Interaction:function(){return e[Math.min(e.length-1,Math.floor(t()/50))]}}}function qd(t){vu();var e=t===`initial_load`?0:ui$1(),r={stopped:!1};function n(){return ui$1()-e}return{getViewInteractionCount:function(){return r.stopped?r.interactionCount:n()},stopViewInteractionCount:function(){r={stopped:!0,interactionCount:n()}}}}function Xd(){return xe(A.EVENT)&&window.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype}function _u(t,e,r,n,o,i){var a=n===`initial_load`,s=!0,c=[],u=Nn$1(r);function f(){if(!s&&!a&&c.length>0){var l=Math.max.apply(Math,c);l<u.timeStamp&&i(l)}}var d=br(t,e,r,function(l){s&&(s=!1,l.hadActivity&&c.push(M(o.timeStamp,l.end)),f())}).stop;return{stop:function(){d(),u.stop()},setLoadEvent:function(l){a&&(a=!1,c.push(l),f())}}}function Tr(){var t,e=window.visualViewport;return e?t=e.pageLeft-e.offsetLeft:window.scrollX!==void 0?t=window.scrollX:t=window.pageXOffset||0,Math.round(t)}function Ae(){var t,e=window.visualViewport;return e?t=e.pageTop-e.offsetTop:window.scrollY!==void 0?t=window.scrollY:t=window.pageYOffset||0,Math.round(t)}var ci$1;function wr(t){return ci$1||(ci$1=Zd(t)),ci$1}function Zd(t){return new x(function(e){var r=Q(function(){e.notify(ie$2())},200).throttled;return I(t,window,`resize`,r,{capture:!0,passive:!0}).stop})}function ie$2(){var t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var Jd=L$1;function bu(t,e,r,n){n===void 0&&(n=Qd(t));var o=0,i=0,a=0,s=n.subscribe(function(c){var u=c.scrollDepth,f=c.scrollTop,d=c.scrollHeight,l=!1;if(u>o&&(o=u,l=!0),d>i){i=d;var p=$();a=M(e.relative,p),l=!0}l&&r({maxDepth:Math.min(o,i),maxDepthScrollTop:f,maxScrollHeight:i,maxScrollHeightTime:a})});return{stop:function(){return s.unsubscribe()}}}function $d(){var t=Ae(),e=ie$2().height;return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}function Qd(t,e){return e===void 0&&(e=Jd),new x(function(r){function n(){r.notify($d())}if(window.ResizeObserver){var o=Q(n,e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver(S(o.throttled));a.observe(i);var s=I(t,window,`scroll`,o.throttled,{passive:!0});return function(){o.cancel(),a.unobserve(i),s.stop()}}})}function Su(t,e,r,n,o,i){var a={},s=_u(t,e,r,o,i,function(h){a.loadingTime=h,n()}),c=s.stop,u=s.setLoadEvent,f=bu(r,i,function(h){a.scroll=h}).stop,d=pu(r,i.relative,function(h){a.cumulativeLayoutShift=h,n()}).stop,l=gu(r,i.relative,o),p=l.stop,m=l.getInteractionToNextPaint;return{stop:function(){c(),d(),f()},stopINPTracking:p,setLoadEvent:u,setViewEnd:l.setViewEnd,getCommonViewMetrics:function(){return a.interactionToNextPaint=m(),a}}}var tp=3e3;var ep=5*U;var rp=5*U;function yu(t,e,r,n,o,i,a){var s=new Set,c=f(`initial_load`,Br(),a);d();var u;i&&(u=l(o));function f(p,m,v){var h=np(e,r,n,t,p,m,v);return s.add(h),h.stopObservable.subscribe(function(){s.delete(h)}),h}function d(){e.subscribe(9,function(){c=f(`route_change`,void 0,{name:c.name,service:c.service,version:c.version,context:c.contextManager.getContext()})}),e.subscribe(8,function(){c.end({sessionIsActive:!1})}),e.subscribe(10,function(p){p.reason===Xt$1.UNLOADING&&c.end()})}function l(p){return p.subscribe(function(m){var v=m.oldLocation,h=m.newLocation;ip(v,h)&&(c.end(),c=f(`route_change`))})}return{addTiming:function(p,m){m===void 0&&(m=R$1()),c.addTiming(p,m)},startView:function(p,m){c.end({endClocks:m}),c=f(`route_change`,m,p)},setViewContext:function(p){c.contextManager.setContext(p)}
34,setViewContextProperty:function(p,m){c.contextManager.setContextProperty(p,m)},updateViewName:function(p){c.updateViewName(p)},stop:function(){u&&u.unsubscribe(),c.end(),s.forEach(function(p){return p.stop()})}}}function np(t,e,r,n,o,i,a){i===void 0&&(i=D$1());var s=k(),c=new x,u={},f=0,d,l=Kt$1(n),p=Ye(),m=!0,v,h,g,E;a&&(v=a.name,h=a.service||void 0,g=a.version||void 0,a.context&&(E=a.context,p.setContext(E)));var O={id:s,name:v,startClocks:i,service:h,version:g,context:E};t.notify(1,O),t.notify(2,O);var P=Q(Lt,tp,{leading:!1}),W=P.throttled,B=P.cancel,b=Su(t,e,r,W,o,i),et=b.setLoadEvent,ue=b.setViewEnd,H=b.stop,Fn=b.stopINPTracking,Bn=b.getCommonViewMetrics,Lr=o===`initial_load`?du(r,et,W):{stop:w$1,initialViewMetrics:{}},zn=Lr.stop,Hn=Lr.initialViewMetrics,Mr=su(t,s,W),Gn=Mr.stop,jn=Mr.eventCounts,Kn=Tt(Lt,ep);Lt(),p.changeObservable.subscribe(Lt);function Lt(){B(),f+=1;var _t=d===void 0?R$1():d.timeStamp;t.notify(3,{customTimings:u,documentVersion:f,id:s,name:v,service:h,version:g,context:p.getContext(),loadingType:o,location:l,startClocks:i,commonViewMetrics:Bn(),initialViewMetrics:Hn,duration:M(i.timeStamp,_t),isActive:d===void 0,sessionIsActive:m,eventCounts:jn})}return{get name(){return v},service:h,version:g,contextManager:p,stopObservable:c,end:function(_t){var J=this,jt,Yn;_t===void 0&&(_t={}),!d&&(d=(jt=_t.endClocks)!==null&&jt!==void 0?jt:D$1(),m=(Yn=_t.sessionIsActive)!==null&&Yn!==void 0?Yn:!0,t.notify(4,{endClocks:d}),t.notify(5,{endClocks:d}),Pt$1(Kn),ue(d.relative),H(),Lt(),N$1(function(){J.stop()},rp))},stop:function(){zn(),Gn(),Fn(),c.notify()},addTiming:function(_t,J){if(!d){var jt=Gi(J)?J:M(i.timeStamp,J);u[op(_t)]=jt,W()}}
34,updateViewName:function(_t){kt(vt.UPDATE_VIEW_NAME)&&(v=_t,Lt())}}}function op(t){var e=t.replace(/[^a-zA-Z0-9-_.@$]/g,`_`);return e!==t&&T$1.warn(`Invalid timing name: `.concat(t,`, sanitized to: `).concat(e)),e}function ip(t,e){return t.pathname!==e.pathname||!ap(e.hash)&&Eu(e.hash)!==Eu(t.hash)}function ap(t){var e=t.substring(1);return e!==``&&!!document.getElementById(e)}function Eu(t){var e=t.indexOf(`?`);return e<0?t:t.slice(0,e)}function xu(t,e,r,n,o,i,a,s,c){return t.subscribe(3,function(u){return t.notify(11,sp(u,e,i,s,a))}),yu(r,t,n,e,o,!e.trackViewsManually,c)}function sp(t,e,r,n,o){var i,a,s,c,u,f,d,l,p,m,v,h,g,E,O,P,W=n.getReplayStats(t.id),B=r.findFeatureFlagEvaluations(t.startClocks.relative),b=o.findAll(t.startClocks.relative,t.duration),et={_dd:{document_version:t.documentVersion,replay_stats:W,page_states:b,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually}},date:t.startClocks.timeStamp,type:`view`,view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:(i=t.commonViewMetrics.cumulativeLayoutShift)===null||i===void 0?void 0:i.value,cumulative_layout_shift_time:C$1((a=t.commonViewMetrics.cumulativeLayoutShift)===null||a===void 0?void 0:a.time),cumulative_layout_shift_target_selector:(s=t.commonViewMetrics.cumulativeLayoutShift)===null||s===void 0?void 0:s.targetSelector,first_byte:C$1((c=t.initialViewMetrics.navigationTimings)===null||c===void 0?void 0:c.firstByte),dom_complete:C$1((u=t.initialViewMetrics.navigationTimings)===null||u===void 0?void 0:u.domComplete),dom_content_loaded:C$1((f=t.initialViewMetrics.navigationTimings)===null||f===void 0?void 0:f.domContentLoaded),dom_interactive:C$1((d=t.initialViewMetrics.navigationTimings)===null||d===void 0?void 0:d.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:C$1(t.initialViewMetrics.firstContentfulPaint),first_input_delay:C$1((l=t.initialViewMetrics.firstInput)===null||l===void 0?void 0:l.delay),first_input_time:C$1((p=t.initialViewMetrics.firstInput)===null||p===void 0?void 0:p.time),first_input_target_selector:(m=t.initialViewMetrics.firstInput)===null||m===void 0?void 0:m.targetSelector,interaction_to_next_paint:C$1((v=t.commonViewMetrics.interactionToNextPaint)===null||v===void 0?void 0:v.value),interaction_to_next_paint_time:C$1((h=t.commonViewMetrics.interactionToNextPaint)===null||h===void 0?void 0:h.time),interaction_to_next_paint_target_selector:(g=t.commonViewMetrics.interactionToNextPaint)===null||g===void 0?void 0:g.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:C$1((E=t.initialViewMetrics.largestContentfulPaint)===null||E===void 0?void 0:E.value),largest_contentful_paint_target_selector:(O=t.initialViewMetrics.largestContentfulPaint)===null||O===void 0?void 0:O.targetSelector,load_event:C$1((P=t.initialViewMetrics.navigationTimings)===null||P===void 0?void 0:P.loadEvent),loading_time:En$1(C$1(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:C$1(t.duration)},feature_flags:B&&!St(B)?B:void 0,display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:C$1(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:W?!0:void 0,is_active:t.sessionIsActive?void 0:!1},privacy:{replay_level:e.defaultPrivacyLevel}};return St(t.customTimings)||(et.view.custom_timings=qi(t.customTimings,C$1)),{rawRumEvent:et,startTime:t.startClocks.relative,domainContext:{location:t.location}}}var up=`rum`;function Tu(t,e,r){var n=wo(t,up,function(o){return cp(t,o)},r);return n.expireObservable.subscribe(function(){e.notify(8)}),n.renewObservable.subscribe(function(){e.notify(9)}
34),n.sessionStateUpdateObservable.subscribe(function(o){var i=o.previousState,a=o.newState;if(!i.forcedReplay&&a.forcedReplay){var s=n.findSession();s&&(s.isReplayForced=!0)}}),{findTrackedSession:function(o){var i=n.findSession(o);if(!(!i||!Cu(i.trackingType)))return{id:i.id,sessionReplay:i.trackingType===`1`?1:i.isReplayForced?2:0}},expire:n.expire,expireObservable:n.expireObservable,setForcedReplay:function(){return n.updateSessionState({forcedReplay:`1`})}}}function wu(){var t={id:`00000000-aaaa-0000-aaaa-000000000000`,sessionReplay:Ke(`records`)?1:0};return{findTrackedSession:function(){return t},expire:w$1,expireObservable:new x,setForcedReplay:w$1}}function cp(t,e){var r;return lp(e)?r=e:Rt(t.sessionSampleRate)?Rt(t.sessionReplaySampleRate)?r=`1`:r=`2`:r=`0`,{trackingType:r,isTracked:Cu(r)}}function lp(t){return t===`0`||t===`1`||t===`2`}function Cu(t){return t===`2`||t===`1`}function Iu(t,e,r,n,o,i,a){var s=t.replica,c=pn(t,{endpoint:t.rumEndpointBuilder,encoder:a(2)},s&&{endpoint:s.rumEndpointBuilder,transformMessage:function(u){return rt(u,{application:{id:s.applicationId}})},encoder:a(3)},n,o,i);return e.subscribe(12,function(u){u.type===`view`?c.upsert(u,u.view.id):c.add(u)}),r.subscribe(function(u){return c.add(u,ln$1(t))}),c}function Au(t){var e=It();t.subscribe(12,function(r){e.send(`rum`,r)})}var fp=st;function Ru(t,e,r){var n=gt({expireDelay:fp}),o;t.subscribe(1,function(s){var c=s.startClocks,u=r.href;n.add(a({url:u,referrer:o||document.referrer}),c.relative),o=u}),t.subscribe(5,function(s){var c=s.endClocks;n.closeActive(c.relative)});var i=e.subscribe(function(s){var c=s.newLocation,u=n.find();if(u){var f=$();n.closeActive(f),n.add(a({url:c.href,referrer:u.referrer}),f)}});function a(s){return{url:s.url,referrer:s.referrer}}return{findUrl:function(s){return n.find(s)},stop:function(){i.unsubscribe(),n.stop()}}}function ku(t,e){var r=Kt$1(e);return new x(function(n){var o=dp(t,a).stop,i=pp(t,a).stop;function a(){if(r.href!==e.href){var s=Kt$1(e);n.notify({newLocation:s,oldLocation:r}),r=s}}return function(){o(),i()}})}function dp(t,e){var r=G$1(Nu(`pushState`),`pushState`,function(i){var a=i.onPostCall;a(e)}).stop,n=G$1(Nu(`replaceState`),`replaceState`,function(i){var a=i.onPostCall;a(e)}).stop,o=I(t,window,`popstate`,e).stop;return{stop:function(){r(),n(),o()}}}function pp(t,e){return I(t,window,`hashchange`,e)}function Nu(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}var mp=st;function Ou(t,e){var r=gt({expireDelay:mp});return t.subscribe(1,function(n){var o=n.startClocks;r.add({},o.relative),e.resetCustomerData()}),t.subscribe(5,function(n){var o=n.endClocks;r.closeActive(o.relative)}),{findFeatureFlagEvaluations:function(n){return r.find(n)},addFeatureFlagEvaluation:function(n,o){var i=r.find();i&&(i[n]=o,e.updateCustomerData(i))},stop:function(){return e.stop()}}}var vp=10*L$1;var Jt$1;var Re;var fi$1;function Mu(t,e,r,n,o){e.enabled&&Rt(t.customerDataTelemetrySampleRate)&&(Du(),Lu(),r.subscribe(12,function(a){fi$1=!0,Cr(Re.globalContextBytes,n.getOrCreateTracker(2).getBytesCount()),Cr(Re.userContextBytes,n.getOrCreateTracker(1).getBytesCount()),Cr(Re.featureFlagBytes,K([`view`,`error`],a.type)?n.getOrCreateTracker(0).getBytesCount():0)}),o.subscribe(function(a){var s=a.bytesCount,c=a.messagesCount;fi$1&&(Jt$1.batchCount+=1,Cr(Jt$1.batchBytesCount,s),Cr(Jt$1.batchMessagesCount,c),li$1(Jt$1.globalContextBytes,Re.globalContextBytes),li$1(Jt$1.userContextBytes,Re.userContextBytes),li$1(Jt$1.featureFlagBytes,Re.featureFlagBytes),Lu())}),Tt(hp,vp))}function hp(){Jt$1.batchCount!==0&&(dt(`Customer data measures`,Jt$1),Du())}function ae(){return{min:Infinity,max:0,sum:0}}function Cr(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function li$1(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function Du(){Jt$1={batchCount:0,batchBytesCount:ae(),batchMessagesCount:ae(),globalContextBytes:ae(),userContextBytes:ae(),featureFlagBytes:ae()}}function Lu(){fi$1=!1,Re={globalContextBytes:ae(),userContextBytes:ae(),featureFlagBytes:ae()}}var gp=4e3;var _p=500;var bp=st;function Pu(t,e){e===void 0&&(e=_p);var r=gt({expireDelay:bp,maxEntries:gp}),n;i(Uu(),$());var o=F(t,window,[`pageshow`,`focus`,`blur`,`visibilitychange`,`resume`,`freeze`,`pagehide`],function(s){i(Sp(s),s.timeStamp)},{capture:!0}).stop;function i(s,c){c===void 0&&(c=$()),s!==n&&(n=s,r.closeActive(c),r.add({state:n,startTime:c},c))}var a={findAll:function(s,c){var u=r.findAll(s,c);if(u.length!==0){for(var f=[],d=Math.max(0,u.length-e),l=u.length-1;l>=d;l--){var p=u[l],m=M(s,p.startTime);f.push({state:p.state,start:C$1(m)})}return f}},wasInPageStateAt:function(s,c){return a.wasInPageStateDuringPeriod(s,c,0)},wasInPageStateDuringPeriod:function(s,c,u){return r.findAll(c,u).some(function(f){return f.state===s})},addPageState:i,stop:function(){o(),r.stop()}};return a}function Sp(t){return t.type===`freeze`?`frozen`:t.type===`pagehide`?t.persisted?`frozen`:`terminated`:Uu()}function Uu(){return document.visibilityState===`hidden`?`hidden`:document.hasFocus()?`active`:`passive`}function Vu(t){var e=ie$2();return{get:function(){return{viewport:e}},stop:wr(t).subscribe(function(n){e=n}).unsubscribe}}function Fu(t,e){var r=window.cookieStore?Ep(t):xp;return new x(function(n){return r(e,function(o){return n.notify(o)})})}function Ep(t){return function(e,r){return I(t,window.cookieStore,`change`,function(o){var i=at(o.changed,function(a){return a.name===e})||at(o.deleted,function(a){return a.name===e});i&&r(i.value)}).stop}}var yp=L$1;function xp(t,e){var r=ee(document.cookie,t),n=Tt(function(){var o=ee(document.cookie,t);o!==r&&e(o)},yp);return function(){Pt$1(n)}}var Bu=`datadog-ci-visibility-test-execution-id`;function zu(t,e){var r;e===void 0&&(e=Fu(t,Bu));var n=wt(Bu)||((r=window.Cypress)===null||r===void 0?void 0:r.env(`traceId`)),o=e.subscribe(function(i){n=i});return{get:function(){if(typeof n==`string`)return{test_execution_id:n}},stop:function(){return o.unsubscribe()}}}function Hu(t,e){var r=X(e,{type:A.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(function(n){for(var o=0,i=n;o<i.length;o++){var a=i[o],s=de$1(a.startTime),c={date:s.timeStamp,long_task:{id:k(),entry_type:`long-animation-frame`,duration:C$1(a.duration),blocking_duration:C$1(a.blockingDuration),first_ui_event_timestamp:C$1(a.firstUIEventTimestamp),render_start:C$1(a.renderStart),style_and_layout_start:C$1(a.styleAndLayoutStart),start_time:C$1(a.startTime),scripts:a.scripts.map(function(u){return{duration:C$1(u.duration),pause_duration:C$1(u.pauseDuration),forced_style_and_layout_duration:C$1(u.forcedStyleAndLayoutDuration),start_time:C$1(u.startTime),execution_start:C$1(u.executionStart),source_url:u.sourceURL,source_function_name:u.sourceFunctionName,source_char_position:u.sourceCharPosition,invoker:u.invoker,invoker_type:u.invokerType,window_attribution:u.windowAttribution}})},type:`long_task`,_dd:{discarded:!1}};t.notify(11,{rawRumEvent:c,startTime:s.relative,domainContext:{performanceEntry:a}})}});return{stop:function(){return r.unsubscribe()}}}function di$1(t,e,r,n,o,i,a,s){var c=[],u=new qo;u.subscribe(12,function(J){return Ee(`rum`,J)});var f=Tp(t);f.setContextProvider(function(){var J,jt;return{application:{id:t.applicationId},session:{id:(J=v.findTrackedSession())===null||J===void 0?void 0:J.id},view:{id:(jt=W.findView())===null||jt===void 0?void 0:jt.id},action:{id:b.findActionId()}}});var d=function(J){u.notify(13,{error:J}),dt(`Error reported to customer`,{"error.message":J.message})},l=Ou(u,r.getOrCreateTracker(0)),p=Ao(t),m=p.subscribe(function(J){u.notify(10,J)});c.push(function(){return m.unsubscribe()});var v=pt()?wu():Tu(t,u,a);if(pt())Au(u);else{var h=Iu(t,u,f.observable,d,p,v.expireObservable,i);c.push(function(){return h.stop()}),Mu(t,f,u,r,h.flushObservable)}
34var g=es(),E=ku(t,location),O=Pu(t),P=wp(u,t,location,v,O,E,g,n,d),W=P.viewHistory,B=P.urlContexts,b=P.actionContexts,et=P.addAction,ue=P.stop;c.push(ue),cn$1();var H=xu(u,t,location,g,E,l,O,e,o),Fn=H.addTiming,Bn=H.startView,Lr=H.updateViewName,zn=H.setViewContext,Hn=H.setViewContextProperty,Mr=H.stop;c.push(Mr);var Gn=ou(u,t,O).stop;if(c.push(Gn),kt(vt.LONG_ANIMATION_FRAME)){if(t.trackLongTasks){var jn=Hu(u,t).stop;c.push(jn)}}else Xs(u,t);var Kn=qs(u,t,O,l).addError;hs(u,t,v);var Lt=Ha(u,O,s),_t=us(t.applicationId,v,W,b,B);return{addAction:et,addError:Kn,addTiming:Fn,addFeatureFlagEvaluation:l.addFeatureFlagEvaluation,startView:Bn,setViewContext:zn,setViewContextProperty:Hn,updateViewName:Lr,lifeCycle:u,viewHistory:W,session:v,stopSession:function(){return v.expire()},getInternalContext:_t.get,startDurationVital:Lt.startDurationVital,stopDurationVital:Lt.stopDurationVital,addDurationVital:Lt.addDurationVital,stop:function(){c.forEach(function(J){return J()})}}}function Tp(t){var e=un$1(`browser-rum-sdk`,t);if(pt()){var r=It();e.observable.subscribe(function(n){return r.send(`internal_telemetry`,n)})}return e}function wp(t,e,r,n,o,i,a,s,c){var u=Xo(t),f=Ru(t,i,r),d=Ks(t,a,e,o),l=d.addAction,p=d.actionContexts,m=Vu(e),v=zu(e);return ss(e,t,n,u,f,p,m,v,s,c),{viewHistory:u,pageStateHistory:o,urlContexts:f,addAction:l,actionContexts:p,stop:function(){v.stop(),m.stop(),f.stop(),u.stop(),o.stop()}}}function pi$1(t,e){var r=e.session,n=e.viewContext,o=e.errorType,i=r?r.id:`no-session-id`,a=[];o!==void 0&&a.push(`error-type=`.concat(o)),n&&(a.push(`seed=`.concat(n.id)),a.push(`from=`.concat(n.startClocks.timeStamp)));var s=Cp(t),c=`/rum/replay/sessions/`.concat(i);return``.concat(s).concat(c,`?`).concat(a.join(`&`))}function Cp(t){var e=t.site,r=t.subdomain||Ip(t);return`https://`.concat(r?``.concat(r,`.`):``).concat(e)}function Ip(t){switch(t.site){case Ct:case uo:return`app`;case ar:return`dd`;default:return}}var Ap=10;var lt;function Gu(t){return On$1(t).segments_count}function ju(t){On$1(t).segments_count+=1}function Ku(t){On$1(t).records_count+=1}function Yu(t,e){On$1(t).segments_total_raw_size+=e}function Wu(t){return lt?.get(t)}function On$1(t){lt||(lt=new Map);var e;return lt.has(t)?e=lt.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},lt.set(t,e),lt.size>Ap&&Rp()),e}function Rp(){if(lt)if(lt.keys){var t=lt.keys().next().value;t&<.delete(t)}else{var e=!0;lt.forEach(function(r,n){e&&(lt.delete(n),e=!1)})}}var mi$1=new WeakMap;function tt(t){return mi$1.has(t)}function vi$1(t){for(var e=t;e;){if(!tt(e)&&!Sr(e))return!1;e=we(e)}return!0}function z(t){return mi$1.get(t)}function Xu(t,e){mi$1.set(t,e)}function Ne(t,e){var r=t.tagName,n=t.value;if(Ie(t,e)){var o=t.type;return r===`INPUT`&&(o===`button`||o===`submit`||o===`reset`)?n:!n||r===`OPTION`?void 0:zt$1}if(r===`OPTION`||r===`SELECT`)return t.value;if(!(r!==`INPUT`&&r!==`TEXTAREA`))return n}var Np=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm;var kp=/^[A-Za-z]+:|^\/\//;var Op=/^data:.*,/i;function Zu(t,e){return t.replace(Np,function(r,n,o,i,a,s){var c=o||a||s;if(!e||!c||kp.test(c)||Op.test(c))return r;var u=n||i||``;return`url(`.concat(u).concat(Lp(c,e)).concat(u,`)`)})}function Lp(t,e){try{return ir(t,e).href}catch(r){return t}}var Mp=/[^a-z1-6-_]/;function Ln$1(t){var e=t.toLowerCase().trim();return Mp.test(e)?`div`:e}function hi$1(t,e){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='`.concat(t,`' height='`).concat(e,`' style='background-color:silver'%3E%3C/svg%3E`)}var ot={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9};var se={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11};var Y={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8};var At={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9};var gi$1={Play:0,Pause:1};function _i$1(t){if(!(t===void 0||t.length===0))return t.map(function(e){var r=e.cssRules||e.rules;return{cssRules:Array.from(r,function(i){return i.cssText}),disabled:e.disabled||void 0,media:e.media.length>0?Array.from(e.media):void 0}})}function Ir(t,e,r,n){if(e===y$1.HIDDEN)return null;var o=t.getAttribute(r);if(e===y$1.MASK&&r!==Er&&!In$1.includes(r)&&r!==n.actionNameAttribute){var i=t.tagName;switch(r){case`title`:case`alt`:case`placeholder`:return zt$1}
34if(i===`IMG`&&(r===`src`||r===`srcset`)){var a=t;if(a.naturalWidth>0)return hi$1(a.naturalWidth,a.naturalHeight);var s=t.getBoundingClientRect(),c=s.width,u=s.height;return c>0||u>0?hi$1(c,u):ei$1}if(i===`SOURCE`&&(r===`src`||r===`srcset`))return ei$1;if(i===`A`&&r===`href`)return zt$1;if(o&&Dt$2(r,`data-`))return zt$1;if(i===`IFRAME`&&r===`srcdoc`)return zt$1}return!o||typeof o!=`string`?o:hr(o)?gr(o):o}function Ju(t,e,r){var n;if(e===y$1.HIDDEN)return{};for(var o={},i=Ln$1(t.tagName),a=t.ownerDocument,s=0;s<t.attributes.length;s+=1){var u=t.attributes.item(s).name,f=Ir(t,e,u,r.configuration);f!==null&&(o[u]=f)}if(t.value&&(i===`textarea`||i===`select`||i===`option`||i===`input`)){var d=Ne(t,e);d!==void 0&&(o.value=d)}if(i===`option`&&e===y$1.ALLOW){var l=t;l.selected&&(o.selected=l.selected)}if(i===`link`){var p=Array.from(a.styleSheets).find(function(P){return P.href===t.href}),m=bi(p);m&&p&&(o._cssText=m)}if(i===`style`&&t.sheet){var m=bi(t.sheet);m&&(o._cssText=m)}var v=t;if(i===`input`&&(v.type===`radio`||v.type===`checkbox`)&&(e===y$1.ALLOW?o.checked=!!v.checked:Ie(v,e)&&delete o.checked),i===`audio`||i===`video`)o.rr_mediaState=t.paused?`paused`:`played`;var g,E,O=r.serializationContext;switch(O.status){case 0:g=Math.round(t.scrollTop),E=Math.round(t.scrollLeft),(g||E)&&O.elementsScrollPositions.set(t,{scrollTop:g,scrollLeft:E});break;case 1:O.elementsScrollPositions.has(t)&&(n=O.elementsScrollPositions.get(t),g=n.scrollTop,E=n.scrollLeft);break}return E&&(o.rr_scrollLeft=E),g&&(o.rr_scrollTop=g),o}function bi(t){if(!t)return null;var e;try{e=t.rules||t.cssRules}catch(n){}if(!e)return null;return Zu(Array.from(e,ta()?Dp:$u).join(``),t.href)}function Dp(t){if(Up(t)&&t.selectorText.includes(`:`))return t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,`$1\\$2`);return $u(t)}function $u(t){return Pp(t)&&bi(t.styleSheet)||t.cssText}function Pp(t){return`styleSheet`in t}function Up(t){return`selectorText`in t}function ke(t,e){var r=Bp(t,e);if(!r)return null;var n=z(t)||Fp(),o=r;return o.id=n,Xu(t,n),e.serializedNodeIds&&e.serializedNodeIds.add(n),o}var Vp=1;function Fp(){return Vp++}function Si(t,e){var r=[];return Tn$1(t,function(n){var o=ke(n,e);o&&r.push(o)}),r}function Bp(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return zp(t,e);case t.DOCUMENT_FRAGMENT_NODE:return Hp(t,e);case t.DOCUMENT_TYPE_NODE:return Gp(t);case t.ELEMENT_NODE:return jp(t,e);case t.TEXT_NODE:return Yp(t,e);case t.CDATA_SECTION_NODE:return Wp()}}function zp(t,e){return{type:se.Document,childNodes:Si(t,e),adoptedStyleSheets:_i$1(t.adoptedStyleSheets)}}function Hp(t,e){var r=Sr(t);return r&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:se.DocumentFragment,childNodes:Si(t,e),isShadowRoot:r,adoptedStyleSheets:r?_i$1(t.adoptedStyleSheets):void 0}}function Gp(t){return{type:se.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId}}function jp(t,e){var r,n=Ln$1(t.tagName),o=Kp(t)||void 0,i=ri$1(ni(t),e.parentNodePrivacyLevel);if(i===y$1.HIDDEN){var a=t.getBoundingClientRect(),s=a.width,c=a.height;return{type:se.Element,tagName:n,attributes:(r={rr_width:``.concat(s,`px`),rr_height:``.concat(c,`px`)},r[Er]=ws,r),childNodes:[],isSVG:o}}if(i!==y$1.IGNORE){var u=Ju(t,i,e),f=[];if(xs(t)&&n!==`style`){var d=void 0;e.parentNodePrivacyLevel===i&&e.ignoreWhiteSpace===(n===`head`)?d=e:d=_({},e,{parentNodePrivacyLevel:i,ignoreWhiteSpace:n===`head`}),f=Si(t,d)}return{type:se.Element,tagName:n,attributes:u,childNodes:f,isSVG:o}}}function Kp(t){return t.tagName===`svg`||t instanceof SVGElement}function Yp(t,e){var r=wn$1(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(r!==void 0)return{type:se.Text,textContent:r}}function Wp(){return{type:se.CDATA,textContent:``}}function Mn$1(t,e,r){return ke(t,{serializationContext:r,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function Ei(t){return!!t.changedTouches}function Gt$1(t){return t.composed===!0&&Ze(t.target)?t.composedPath()[0]:t.target}var Qu=25;function qp(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>Qu||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>Qu}
34var tc=function(t,e){var r=window.visualViewport,n={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};if(r)qp(r)?(n.layoutViewportX=Math.round(t+r.offsetLeft),n.layoutViewportY=Math.round(e+r.offsetTop)):(n.visualViewportX=Math.round(t-r.offsetLeft),n.visualViewportY=Math.round(e-r.offsetTop));else return n;return n};var Dn$1=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function Z(t,e){return{data:_({source:t},e),type:ot.IncrementalSnapshot,timestamp:R$1()}}var Xp=50;function yi(t,e){var r=Q(function(a){var s=Gt$1(a);if(tt(s)){var c=xi$2(a);if(!c)return;var u={id:z(s),timeOffset:0,x:c.x,y:c.y};e(Z(Ei(a)?Y.TouchMove:Y.MouseMove,{positions:[u]}))}},Xp,{trailing:!1}),n=r.throttled,o=r.cancel,i=F(t,document,[`mousemove`,`touchmove`],n,{capture:!0,passive:!0}).stop;return{stop:function(){i(),o()}}}function xi$2(t){var e=Ei(t)?t.changedTouches[0]:t,r=e.clientX,n=e.clientY;if(window.visualViewport){var o=tc(r,n),i=o.visualViewportX,a=o.visualViewportY;r=i,n=a}if(!Number.isFinite(r)||!Number.isFinite(n)){t.isTrusted&&dt(`mouse/touch event without x/y`);return}return{x:r,y:n}}var Ot$1;var ec=(Ot$1={},Ot$1.pointerup=At.MouseUp,Ot$1.mousedown=At.MouseDown,Ot$1.click=At.Click,Ot$1.contextmenu=At.ContextMenu,Ot$1.dblclick=At.DblClick,Ot$1.focus=At.Focus,Ot$1.blur=At.Blur,Ot$1.touchstart=At.TouchStart,Ot$1.touchend=At.TouchEnd,Ot$1);function Ti(t,e,r){var n=function(o){var i=Gt$1(o);if(!(it(i,t.defaultPrivacyLevel)===y$1.HIDDEN||!tt(i))){var a=z(i),s=ec[o.type],c;if(s!==At.Blur&&s!==At.Focus){var u=xi$2(o);if(!u)return;c={id:a,type:s,x:u.x,y:u.y}}else c={id:a,type:s};e(_({id:r.getIdForEvent(o)},Z(Y.MouseInteraction,c)))}};return F(t,document,Object.keys(ec),n,{capture:!0,passive:!0})}var Zp=100;function Ar(t,e,r,n){n===void 0&&(n=document);var o=Q(function(c){var u=Gt$1(c);if(!(!u||it(u,t.defaultPrivacyLevel)===y$1.HIDDEN||!tt(u))){var f=z(u),d=u===document?{scrollTop:Ae(),scrollLeft:Tr()}:{scrollTop:Math.round(u.scrollTop),scrollLeft:Math.round(u.scrollLeft)};r.set(u,d),e(Z(Y.Scroll,{id:f,x:d.scrollLeft,y:d.scrollTop}))}},Zp),i=o.throttled,a=o.cancel,s=I(t,n,`scroll`,i,{capture:!0,passive:!0}).stop;return{stop:function(){s(),a()}}}var Jp=200;function wi(t,e){var r=wr(t).subscribe(function(n){e(Z(Y.ViewportResize,n))});return{stop:function(){r.unsubscribe()}}}function Ci$1(t,e){var r=window.visualViewport;if(!r)return{stop:w$1};var n=Q(function(){e({data:Dn$1(r),type:ot.VisualViewport,timestamp:R$1()})},Jp,{trailing:!1}),o=n.throttled,i=n.cancel,a=F(t,r,[`resize`,`scroll`],o,{capture:!0,passive:!0}).stop;return{stop:function(){a(),i()}}}function Ii(t,e){return F(t,document,[`play`,`pause`],function(r){var n=Gt$1(r);!n||it(n,t.defaultPrivacyLevel)===y$1.HIDDEN||!tt(n)||e(Z(Y.MediaInteraction,{id:z(n),type:r.type===`play`?gi$1.Play:gi$1.Pause}))},{capture:!0,passive:!0})}function Ai(t){function e(o,i){o&&tt(o.ownerNode)&&i(z(o.ownerNode))}var r=[G$1(CSSStyleSheet.prototype,`insertRule`,function(o){var i=o.target,a=o.parameters,s=a[0],c=a[1];e(i,function(u){return t(Z(Y.StyleSheetRule,{id:u,adds:[{rule:s,index:c}]}))})}),G$1(CSSStyleSheet.prototype,`deleteRule`,function(o){var i=o.target,a=o.parameters[0];e(i,function(s){return t(Z(Y.StyleSheetRule,{id:s,removes:[{index:a}]}))})})];typeof CSSGroupingRule<`u`?n(CSSGroupingRule):(n(CSSMediaRule),n(CSSSupportsRule));function n(o){r.push(G$1(o.prototype,`insertRule`,function(i){var a=i.target,s=i.parameters,c=s[0],u=s[1];e(a.parentStyleSheet,function(f){var d=rc(a);d&&(d.push(u||0),t(Z(Y.StyleSheetRule,{id:f,adds:[{rule:c,index:d}]})))})}),G$1(o.prototype,`deleteRule`,function(i){var a=i.target,s=i.parameters[0];e(a.parentStyleSheet,function(c){var u=rc(a);u&&(u.push(s),t(Z(Y.StyleSheetRule,{id:c,removes:[{index:u}]})))})}))}return{stop:function(){r.forEach(function(o){return o.stop()})}}}function rc(t){for(var e=[],r=t;r.parentRule;){var o=Array.from(r.parentRule.cssRules).indexOf(r);e.unshift(o),r=r.parentRule}if(r.parentStyleSheet){var a=Array.from(r.parentStyleSheet.cssRules).indexOf(r);return e.unshift(a),e}}function Ri(t,e){return F(t,window,[`focus`,`blur`],function(){e({data:{has_focus:document.hasFocus()},type:ot.Focus,timestamp:R$1()})})}function Ni$1(t,e,r){var n=t.subscribe(11,function(o){var i,a;o.rawRumEvent.type===`action`&&o.rawRumEvent.action.type===`click`&&!((a=(i=o.rawRumEvent.action.frustration)===null||i===void 0?void 0:i.type)===null||a===void 0)&&a.length&&`events`in o.domainContext&&o.domainContext.events&&o.domainContext.events.length&&e({timestamp:o.rawRumEvent.date,type:ot.FrustrationRecord,data:{frustrationTypes:o.rawRumEvent.action.frustration.type,recordIds:o.domainContext.events.map(function(s){return r.getIdForEvent(s)})}})});return{stop:function(){n.unsubscribe()}}}function ki(t,e){var r=t.subscribe(4,function(){e({timestamp:R$1(),type:ot.ViewEnd})});return{stop:function(){r.unsubscribe()}}}function Rr(t,e,r){r===void 0&&(r=document);var n=t.defaultPrivacyLevel,o=new WeakMap,i=r!==document,a=F(t,r,i?[`change`]:[`input`,`change`],function(d){var l=Gt$1(d);(l instanceof HTMLInputElement||l instanceof HTMLTextAreaElement||l instanceof HTMLSelectElement)&&u(l)},{capture:!0,passive:!0}).stop,s;if(i)s=w$1;else{var c=[be(HTMLInputElement.prototype,`value`,u),be(HTMLInputElement.prototype,`checked`,u),be(HTMLSelectElement.prototype,`value`,u),be(HTMLTextAreaElement.prototype,`value`,u),be(HTMLSelectElement.prototype,`selectedIndex`,u)];
34s=function(){c.forEach(function(d){return d.stop()})}}return{stop:function(){s(),a()}};function u(d){var l=it(d,n);if(l!==y$1.HIDDEN){var p=d.type,m;if(p===`radio`||p===`checkbox`){if(Ie(d,l))return;m={isChecked:d.checked}}else{var v=Ne(d,l);if(v===void 0)return;m={text:v}}f(d,m);var h=d.name;p===`radio`&&h&&d.checked&&Yi(document.querySelectorAll(`input[type="radio"][name="`.concat(Ft$1(h),`"]`)),function(g){g!==d&&f(g,{isChecked:!1})})}}function f(d,l){if(tt(d)){var p=o.get(d);(!p||p.text!==l.text||p.isChecked!==l.isChecked)&&(o.set(d,l),e(Z(Y.Input,_({id:z(d)},l))))}}}var $p=100;var Qp=16;function nc(t){var e=w$1,r=[];function n(){e(),t(r),r=[]}var o=Q(n,Qp,{leading:!1}),i=o.throttled,a=o.cancel;return{addMutations:function(s){r.length===0&&(e=tm(i,{timeout:$p})),r.push.apply(r,s)},flush:n,stop:function(){e(),a()}}}function tm(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var r=window.requestIdleCallback(S(t),e);return function(){return window.cancelIdleCallback(r)}}var n=window.requestAnimationFrame(S(t));return function(){return window.cancelAnimationFrame(n)}}function Nr(t,e,r,n){var o=bn$1();if(!o)return{stop:w$1,flush:w$1};var i=nc(function(s){em(s.concat(a.takeRecords()),t,e,r)}),a=new o(S(i.addMutations));return a.observe(n,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),i.stop()},flush:function(){i.flush()}}}function em(t,e,r,n){var o=new Map;t.filter(function(l){return l.type===`childList`}
34).forEach(function(l){l.removedNodes.forEach(function(p){oc(p,n.removeShadowRoot)})});var i=t.filter(function(l){return l.target.isConnected&&vi$1(l.target)&&it(l.target,r.defaultPrivacyLevel,o)!==y$1.HIDDEN}),a=rm(i.filter(function(l){return l.type===`childList`}),r,n,o),s=a.adds,c=a.removes,u=a.hasBeenSerialized,f=nm(i.filter(function(l){return l.type===`characterData`&&!u(l.target)}),r,o),d=om(i.filter(function(l){return l.type===`attributes`&&!u(l.target)}),r,o);!f.length&&!d.length&&!c.length&&!s.length||e(Z(Y.Mutation,{adds:s,removes:c,texts:f,attributes:d}))}function rm(t,e,r,n){for(var o=new Set,i=new Map,a=function(B){B.addedNodes.forEach(function(b){o.add(b)}),B.removedNodes.forEach(function(b){o.has(b)||i.set(b,B.target),o.delete(b)})},s=0,c=t;s<c.length;s++){var u=c[s];a(u)}var f=Array.from(o);im(f);for(var d=new Set,l=[],p=0,m=f;p<m.length;p++){var v=m[p];if(!P(v)){var h=it(v.parentNode,e.defaultPrivacyLevel,n);if(!(h===y$1.HIDDEN||h===y$1.IGNORE)){var g=ke(v,{serializedNodeIds:d,parentNodePrivacyLevel:h,serializationContext:{status:2,shadowRootsController:r},configuration:e});if(g){var E=we(v);l.push({nextId:W(v),parentId:z(E),node:g})}}}}var O=[];return i.forEach(function(B,b){tt(b)&&O.push({parentId:z(B),id:z(b)})}),{adds:l,removes:O,hasBeenSerialized:P};function P(B){return tt(B)&&d.has(z(B))}function W(B){for(var b=B.nextSibling;b;){if(tt(b))return z(b);b=b.nextSibling}return null}}function nm(t,e,r){for(var n,o=[],i=new Set,a=t.filter(function(l){return i.has(l.target)?!1:(i.add(l.target),!0)}),s=0,c=a;s<c.length;s++){var u=c[s];if(u.target.textContent!==u.oldValue){var d=it(we(u.target),e.defaultPrivacyLevel,r);d===y$1.HIDDEN||d===y$1.IGNORE||o.push({id:z(u.target),value:(n=wn$1(u.target,!1,d))!==null&&n!==void 0?n:null})}}return o}function om(t,e,r){for(var n=[],o=new Map,i=t.filter(function(h){var g=o.get(h.target);return g&&g.has(h.attributeName)?!1:(g?g.add(h.attributeName):o.set(h.target,new Set([h.attributeName])),!0)}),a=new Map,s=0,c=i;s<c.length;s++){var u=c[s];if(u.target.getAttribute(u.attributeName)!==u.oldValue){var d=it(u.target,e.defaultPrivacyLevel,r),l=Ir(u.target,d,u.attributeName,e),p=void 0;if(u.attributeName===`value`){var m=Ne(u.target,d);if(m===void 0)continue;p=m}else typeof l==`string`?p=l:p=null;var v=a.get(u.target);v||(v={id:z(u.target),attributes:{}},n.push(v),a.set(u.target,v)),v.attributes[u.attributeName]=p}}return n}function im(t){t.sort(function(e,r){var n=e.compareDocumentPosition(r);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}function oc(t,e){Ze(t)&&e(t.shadowRoot),Tn$1(t,function(r){return oc(r,e)})}function Oi$1(){var t=new WeakMap;return{set:function(e,r){e===document&&!document.scrollingElement||t.set(e===document?document.scrollingElement:e,r)},get:function(e){return t.get(e)},has:function(e){return t.has(e)}}}var ic=function(t,e,r){var n=new Map,o={addShadowRoot:function(i){if(!n.has(i)){var a=Nr(e,t,o,i),s=Rr(t,e,i),c=Ar(t,e,r,i);n.set(i,{flush:function(){return a.flush()},stop:function(){a.stop(),s.stop(),c.stop()}})}},removeShadowRoot:function(i){var a=n.get(i);a&&(a.stop(),n.delete(i))},stop:function(){n.forEach(function(i){var a=i.stop;return a()})},flush:function(){n.forEach(function(i){var a=i.flush;return a()})}};return o};function ac(t,e,r,n,o,i){var a=function(c,u){c===void 0&&(c=R$1()),u===void 0&&(u={status:0,elementsScrollPositions:t,shadowRootsController:e});var f=ie$2(),d=f.width,p=[{data:{height:f.height,href:window.location.href,width:d},type:ot.Meta,timestamp:c},{data:{has_focus:document.hasFocus()},type:ot.Focus,timestamp:c},{data:{node:Mn$1(document,n,u),initialOffset:{left:Tr(),top:Ae()}},type:ot.FullSnapshot,timestamp:c}];return window.visualViewport&&p.push({data:Dn$1(window.visualViewport),type:ot.VisualViewport,timestamp:c}),p};i(a());return{stop:r.subscribe(2,function(c){o(),i(a(c.startClocks.timeStamp,{shadowRootsController:e,status:1,elementsScrollPositions:t}))}).unsubscribe}}function sc(){var t=new WeakMap,e=1;return{getIdForEvent:function(r){return t.has(r)||t.set(r,e++),t.get(r)}}}function Li$1(t){var e=t.emit,r=t.configuration,n=t.lifeCycle;if(!e)throw new Error(`emit function is required`);var o=function(l){e(l),Ee(`record`,{record:l});Ku(t.viewHistory.findView().id)},i=Oi$1(),a=ic(r,o,i),s=ac(i,a,n,r,c,function(l){return l.forEach(function(p){return o(p)})}).stop;function c(){a.flush(),f.flush()}var u=sc(),f=Nr(o,r,a,document),d=[f,yi(r,o),Ti(r,o,u),Ar(r,o,i,document),wi(r,o),Rr(r,o),Ii(r,o),Ai(o),Ri(r,o),Ci$1(r,o),Ni$1(n,o,u),ki(n,function(l){c(),o(l)})];return{stop:function(){a.stop(),d.forEach(function(l){return l.stop()}),s()},flushMutations:c,shadowRootsController:a}}function uc(t,e,r){var n=new FormData;
34n.append(`segment`,new Blob([t],{type:`application/octet-stream`}),``.concat(e.session.id,`-`).concat(e.start));var o=_({raw_segment_size:r,compressed_segment_size:t.byteLength},e),i=JSON.stringify(o);return n.append(`event`,new Blob([i],{type:`application/json`})),{data:n,bytesCount:t.byteLength}}function cc(t){var e=t.context,r=t.creationReason,n=t.encoder,o=0,i=e.view.id,a=_({start:Infinity,end:-Infinity,creation_reason:r,records_count:0,has_full_snapshot:!1,index_in_view:Gu(i),source:`browser`},e);ju(i);function s(u,f){a.start=Math.min(a.start,u.timestamp),a.end=Math.max(a.end,u.timestamp),a.records_count+=1,a.has_full_snapshot||(a.has_full_snapshot=u.type===ot.FullSnapshot);var d=n.isEmpty?`{"records":[`:`,`;n.write(d+JSON.stringify(u),function(l){o+=l,f(o)})}function c(u){if(n.isEmpty)throw new Error(`Empty segment flushed`);n.write(`],`.concat(JSON.stringify(a).slice(1),` 35`)),n.finish(function(f){Yu(a.view.id,f.rawBytesCount),u(a,f)})}return{addRecord:s,flush:c}}var am=30*L$1;var Pn$1=6e4;function Mi(t,e,r,n,o,i){return sm(t,function(){return um(e.applicationId,r,n)},o,i)}function sm(t,e,r,n){var o={status:0,nextSegmentCreationReason:`init`},i=t.subscribe(2,function(){s(`view_change`)}).unsubscribe,a=t.subscribe(10,function(c){s(c.reason)}).unsubscribe;function s(c){o.status===1&&(o.segment.flush(function(u,f){var d=uc(f.output,u,f.rawBytesCount);fr(c)?r.sendOnExit(d):r.send(d)}),q(o.expirationTimeoutId)),c!==`stop`?o={status:0,nextSegmentCreationReason:c}:o={status:2}}return{addRecord:function(c){if(o.status!==2){if(o.status===0){var u=e();if(!u)return;o={status:1,segment:cc({encoder:n,context:u,creationReason:o.nextSegmentCreationReason}),expirationTimeoutId:N$1(function(){s(`segment_duration_limit`)},am)}}o.segment.addRecord(c,function(f){f>Pn$1&&s(`segment_bytes_limit`)})}},stop:function(){s(`stop`),i(),a()}}}function um(t,e,r){var n=e.findTrackedSession(),o=r.findView();if(!(!n||!o))return{application:{id:t},session:{id:n.id},view:{id:o.id}}}function lc(t){var e=It();return{addRecord:function(r){var n=t.findView();e.send(`record`,r,n.id)}}}function fc(t,e,r,n,o,i){var a=[],s=function(l){t.notify(13,{error:l}),dt(`Error reported to customer`,{"error.message":l.message})},c=i||je(e,e.sessionReplayEndpointBuilder,Pn$1,s),u;if(pt())u=lc(n).addRecord;else{var f=Mi(t,e,r,n,c,o);u=f.addRecord,a.push(f.stop)}var d=Li$1({emit:u,configuration:e,lifeCycle:t,viewHistory:n}).stop;return a.push(d),{stop:function(){a.forEach(function(l){return l()})}}}function Un$1(){return typeof Array.from==`function`&&typeof CSSSupportsRule==`function`&&typeof URL.createObjectURL==`function`&&`forEach`in NodeList.prototype}function dc(t,e,r,n){var o=e.findTrackedSession(),i=cm(o,n);return pi$1(t,{viewContext:r.findView(),errorType:i,session:o})}function cm(t,e){if(!Un$1())return`browser-not-supported`;if(!t)return`rum-not-tracked`;if(t.sessionReplay===0)return`incorrect-session-plan`;if(!e)return`replay-not-started`}function kr(t,e,r){var n=0,o=[],i,a=0,s=[],c=I(t,e,`message`,function(d){var l=d.data;if(!(l.type!==`wrote`||l.streamId!==r)){n+=l.additionalBytesCount,o.push(l.result),i=l.trailer;var p=s.shift();p&&p.id===l.id?p.writeCallback?p.writeCallback(l.result.byteLength):p.finishCallback&&p.finishCallback():(c(),dt(`Worker responses received out of order.`))}}).stop;function u(){var d=o.length===0?new Uint8Array(0):ji$1(o.concat(i)),l={rawBytesCount:n,output:d,outputBytesCount:d.byteLength,encoding:`deflate`};return n=0,o=[],l}function f(){a>0&&(e.postMessage({action:`reset`,streamId:r}),a=0)}return{isAsync:!0,get isEmpty(){return a===0},write:function(d,l){e.postMessage({action:`write`,id:a,data:d,streamId:r}),s.push({id:a,writeCallback:l,data:d}),a+=1},finish:function(d){f(),s.length?(s.forEach(function(l){delete l.writeCallback}),s[s.length-1].finishCallback=function(){return d(u())}):d(u())},finishSync:function(){f();var d=s.map(function(l){return delete l.writeCallback,delete l.finishCallback,l.data}).join(``);return _(u(),{pendingData:d})},estimateEncodedBytesCount:function(d){return d.length/8},stop:function(){c()}}}var lm=30*L$1;function pc(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob([`!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),_=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>
vendor: 20,501 bytes, line 35
35>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},U=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,l,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},D=function(t,e,n,r){var i,s,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(E(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
35i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.28.1"};case"write":var n=e.get(a.streamId);n||(n=new Jt,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,_=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();`])))}var j={status:0};function Or(t,e,r,n){switch(n===void 0&&(n=pc),j.status===0&&fm(t,e,n),j.status){case 1:return j.initializationFailureCallbacks.push(r),j.worker;case 3:return j.worker}}function Vn$1(){return j.status}function fm(t,e,r){r===void 0&&(r=pc);try{var n=r(t),o=I(t,n,`error`,function(s){Di(t,e,s)}).stop,i=I(t,n,`message`,function(s){var c=s.data;c.type===`errored`?Di(t,e,c.error,c.streamId):c.type===`initialized`&&pm(c.version)}).stop;n.postMessage({action:`init`}),N$1(function(){return dm(e)},lm);var a=function(){o(),i()};j={status:1,worker:n,stop:a,initializationFailureCallbacks:[]}}catch(s){Di(t,e,s)}}function dm(t){j.status===1&&(T$1.error(``.concat(t,` failed to start: a timeout occurred while initializing the Worker`)),j.initializationFailureCallbacks.forEach(function(e){return e()}),j={status:2})}function pm(t){j.status===1&&(j={status:3,worker:j.worker,stop:j.stop,version:t})}function Di(t,e,r,n){if(j.status===1||j.status===0){if(T$1.error(``.concat(e,` failed to start: an error occurred while creating the Worker:`),r),r instanceof Event||r instanceof Error&&mm(r.message)){var o=void 0;t.workerUrl?o=`Please make sure the Worker URL `.concat(t.workerUrl,` is correct and CSP is correctly configured.`):o=`Please make sure CSP is correctly configured.`,T$1.error(``.concat(o,` See documentation at `).concat(le,`/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`))}else oe$1(r);j.status===1&&j.initializationFailureCallbacks.forEach(function(i){return i()}),j={status:2}}else oe$1(r,{worker_version:j.status===3&&j.version,stream_id:n})}function mm(t){return K(t,`Content Security Policy`)||K(t,`requires 'TrustedScriptURL'`)}function mc(t,e){if(pt()&&!Ke(`records`)||!Un$1())return{start:w$1,stop:w$1,getReplayStats:function(){},onRumStart:w$1,isRecording:function(){return!1},getSessionReplayLink:function(){}};var r={status:1},n=function(){r={status:1}},o=function(){r={status:0}},i=w$1;return{start:function(a){return n(a)},stop:function(){return o()},getSessionReplayLink:function(){return i()},onRumStart:function(a,s,c,u,f){s.startSessionReplayRecordingManually&&(r={status:0}),a.subscribe(8,function(){(r.status===2||r.status===3)&&(o(),r={status:1})}),a.subscribe(10,function(p){p.reason===Xt$1.UNLOADING&&o()}),a.subscribe(9,function(){r.status===1&&n()});var d;function l(){return d||(f||(f=Or(s,`Datadog Session Replay`,function(){o()},e)),f&&(d=kr(s,f,1))),d}n=function(p){var m=c.findTrackedSession();if(!m||m.sessionReplay===0&&(!p||!p.force)){r={status:1};return}r.status===2||r.status===3||(r={status:2},ye(s,`interactive`,function(){if(r.status===2){var v=l();if(!v){r={status:0};return}r={status:3,stopRecording:t(a,s,c,u,v).stop}}}),p&&p.force&&m.sessionReplay===0&&c.setForcedReplay())},o=function(){r.status!==0&&(r.status===3&&r.stopRecording(),r={status:0})},i=function(){return dc(s,c,u,r.status!==0)},r.status===1&&n()},isRecording:function(){return Vn$1()===3&&r.status===3},getReplayStats:function(a){return Vn$1()===3?Wu(a):void 0}}}var $t$1=Yo(di$1,mc(fc),{startDeflateWorker:Or,createDeflateEncoder:kr});xo(Et(),`DD_RUM`,$t$1);var vA=(()=>{let e=class e{constructor(n,o,i){this.configurationService=n,this.meta=o,this.fccUserService=i,this.configurationService.events.subscribe(a=>this.handleEvent(a))}handleEvent(n){if(this.configurationService.storage.dataDogEnabled.getValue()&&n.type===W.DATA_DOG_TRACKING){let o=this.configurationService.app.country?.toLowerCase(),i=Te$2.getKey(rl$1,this.configurationService.brand)?.toLowerCase(),a=this.configurationService.theme?.toLowerCase(),s=this.configurationService.variant?.toLowerCase(),c=n,u=this.configurationService.getCarConfigParams().bnr,f,d;this.configurationService.variant===Gt$2.FCC&&this.fccUserService&&(f=this.fccUserService.cachedUser?.company,d=this.fccUserService.cachedUser?.companyNumber);let l=Object.assign({},c.data.context??{},{country:o,brand:i,theme:a,variant:s},u?{bnr:u}:{},f?{fccCompany:f}:{},d?{fccCompanyNumber:d}:{});$t$1?.addAction(c.name,l)}}setDatadog(n){let a=new RegExp(`(googlebot/|bot|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)`,`i`).test(navigator.userAgent)?0:100,s=[`https://dcc.porscheinformatik.com`,`https://fcc.porscheinformatik.com`];[`volkswagen`,`vw-`,`audi`,`seat`,`cupraofficial`,`skoda`].forEach(p=>{s.push(`https://configurator.`+p),s.push(`https://konfigurator.`+p),s.push(`https://configurador.`+p)}),this.configurationService.storage.dataDogEnabled.next(!0);let f=this.meta.getTag(`name=version`).content.split(` `),d,l;
35n===`cc`?(d=`d57e432a-7941-43be-91c3-f769a9e51e4f`,l=`pubeaf737131c70b4fae42e324fe86dab82`):n===`dcc`?(d=`e6de9cca-0f09-4e98-b60c-b92fa1f0b80d`,l=`pub128ba9eb2c1ff1bc72e650b52bd90b91`):n===`fcc`&&(d=`bd169f28-12d0-4400-b756-64f933c530bc`,l=`puba497979f4b3592d398ce3c87adc43a3d`),this.configurationService.variant$.pipe(Mn$2(1)).subscribe(p=>{$t$1.init({applicationId:d,clientToken:l,site:`datadoghq.eu`,service:p.toLowerCase()+`-frontend`,env:Mo$1.environment_origin,version:f?.length>0?f[0]:null,sessionSampleRate:a,sessionReplaySampleRate:100,traceSampleRate:20,traceContextInjection:`all`,startSessionReplayRecordingManually:!0,allowedTracingUrls:[(m=>s.some(v=>m.includes(v)))],telemetrySampleRate:0,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:`mask-user-input`,trackSessionAcrossSubdomains:!0,useSecureSessionCookie:!0,usePartitionedCrossSiteSessionCookie:!0}),$t$1.setGlobalContextProperty(`team`,`whs-dib-ccm`),this.setContext(this.configurationService.app)})}setContext(n){n&&($t$1.setGlobalContextProperty(`country`,n.country.toLowerCase()),$t$1.setGlobalContextProperty(`brand`,Te$2.getKey(rl$1,n.brand)?.toLowerCase()),$t$1.setGlobalContextProperty(`theme`,n.theme.toLowerCase()),$t$1.setGlobalContextProperty(`env`,Mo$1.environment_origin))}};e.ɵfac=function(o){return new(o||e)(ue(YP),ue(Qw),ue(A$1,8))},e.ɵprov=Y$1({token:e,factory:e.ɵfac,providedIn:`root`});return e})();var SA=(()=>{let e=class e{constructor(n){this.configurationService=n,this.disarm=!1,this.configurationService.events.subscribe(o=>this.handleEvent(o))}handleEvent(n){if(n.type===W.FEASIBILITY&&!this.disarm)throw new Error(`FeasibilityEvent is not handled by any service!`)}};e.ɵfac=function(o){return new(o||e)(ue(YP))},e.ɵprov=Y$1({token:e,factory:e.ɵfac,providedIn:`root`});return e})();var b=(()=>{let a=class a{constructor(i,n,p,t){this.configurationService=i,this.navigationService=n,this.apiConfiguration=p,this.window=t}resolve(i,n){let p=this.configurationService.app,t$15,m={};if(i)t$15=i.params,m=i.queryParams;else{let l=this.window.location.href.match(/\/([df]?cc-[a-z]{2})\/([a-z]{2}_[A-Z]{2}_[A-Z]*[0-9]*)\/([A-Z])/);if(l)t$15={appContext:l[1],langThemeApp:l[2],brand:l[3]};else return}if(!(t$15.appContext||t$15.langThemeApp||t$15.brand)&&n?.url){let f=n.url.match(/\/([df]?cc-[a-z]{2})\/([a-z]{2}_[A-Z]{2}_[A-Z]*[0-9]*)\/([A-Z])/);if(f){let l={appContext:f[1],langThemeApp:f[2],brand:f[3]};t$15={},Object.assign(t$15,i.params,l)}else return}this.configurationService.storage.setSiteConfigByOptionalQueryParams(m);let u=Te$2.getValue(rl$1,t$15.brand),g=Te$2.getValue(sl$1,t$15.appContext.split(`-`)[1].toUpperCase()),s=t$15.langThemeApp.split(`_`)[0],I=t$15.langThemeApp.substring(0,5),o=Te$2.getValue(tt$2,t$15.langThemeApp.split(`_`)[2]),A=this.getVariantForTheme(o),S=null;if(o||(t$15.langThemeApp.split(`_`)[2]===`BCC`?(A=Gt$2.DCC,o=tt$2.DCC,S=`BCC`):t$15.langThemeApp.split(`_`)[2]===`CCC`&&(A=Gt$2.DCC,o=tt$2.DCC,S=`CCC`)),!(u&&g&&s&&o)){console.error(`Incorrect URL. Using default.`);return}if(s===`es`&&(s=s+`-`+g),p.country===g&&p.language===s&&p.theme===o&&p.variant===A&&p.brand===u)return this.configurationService.app;a.setBrand(u,o);let T=new zo$1({country:g,brand:u,language:s,locale:I,theme:o,variant:A,explicitVariant:S});if(this.apiConfiguration.rootUrl=T.rootUrl(),this.configurationService.updateApp(T),i&&i._routerState.url.includes(`/${t.MODELS}`)&&u===rl$1.LNF&&m&&m.fromVW){this.navigationService.goToApp(rl$1.VW,tt$2.VW22);return}return this.configurationService.app}getVariantForTheme(i){return i===tt$2.FCC23?Gt$2.FCC:i===tt$2.DCC26?Gt$2.DCC:Gt$2[i]??Gt$2.CC}static setBrand(i,n){[tt$2.AUDI23].includes(n)&&(i=rl$1.AUDI),[tt$2.SEAT24,tt$2.CUPRA24].includes(n)&&(i=rl$1.SEAT),[tt$2.SKODA20,tt$2.SKODA23].includes(n)&&(i=rl$1.SKODA),n===tt$2.LNF22&&i!==rl$1.LNF&&i!==rl$1.VW&&(i=rl$1.LNF),n===tt$2.VW22&&i!==rl$1.LNF&&i!==rl$1.VW&&(i=rl$1.VW)}};a.ɵfac=function(n){return new(n||a)(ue(YP),ue(as$1),ue(B$2),ue(Window))},a.ɵprov=Y$1({token:a,factory:a.ɵfac,providedIn:`root`});return a})();var B$1=(()=>{let t=class t extends DC{constructor(){super(),this.ctmWarning=new Je$1}closeModal(){this.ctmWarning.next(!1),this.modalRef?.dismiss()}accept(){this.ctmWarning.next(!0),this.modalRef?.dismiss()}};t.ɵfac=function(p){return new(p||t)},t.ɵcmp=Ow({type:t,selectors:[[`cc-ctm-warning-modal`]],outputs:{ctmWarning:`ctmWarning`},features:[Xh],decls:15,vars:12,consts:[[1,`header`],[1,`title`],[1,`close-button`,`svg-button-close`,3,`click`],[1,`description`],[1,`button-wrapper`],[1,`-primary`,3,`click`],[1,`-secondary`,3,`click`]],template:function(p,m){p&1&&(rs$1(0,`div`,0)(1,`div`,1),NC(2),KC(3,`translate`),Jl$1(),rs$1(4,`div`,2),Tg(`click`,function(){return m.closeModal()}),Jl$1()(),rs$1(5,`div`,3),NC(6),KC(7,`translate`),Jl$1(),rs$1(8,`div`,4)(9,`nwi-button`,5),Tg(`click`,function(){return m.accept()}),NC(10),KC(11,`translate`),Jl$1(),rs$1(12,`nwi-button`,6),Tg(`click`,function(){return m.closeModal()}
35),NC(13),KC(14,`translate`),Jl$1()()),p&2&&(nD(2),Bg(XC(3,4,`cc.ctm.warning.title`)),nD(4),Bg(XC(7,6,`cc.ctm.warning.text`)),nD(4),Bg(XC(11,8,`cc.ctm.warning.accept`)),nD(3),Bg(XC(14,10,`cc.ctm.warning.cancel`)))},dependencies:[Gr$2,gC,p],styles:[`@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}[_nghost-%COMP%]{display:block;max-width:500px;margin:20px;padding:20px;overflow-wrap:anywhere;background:#fff}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:20px}@media(min-width:768px){[_nghost-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:30px}}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-size:18px}@media(min-width:768px){[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-size:20px}}[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}@media(min-width:414px){[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:row}}[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{margin-top:10px}@media(min-width:414px){[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{margin-top:20px}}[_nghost-%COMP%] .button-wrapper[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{padding:0 20px}`],changeDetection:1});return t})();var i=class{constructor(s,l,e){this.handle=s,this.type=l,this.name=e}};var y=(()=>{let s=class s{constructor(){this.events=new ne$2,this.handlers=[]}handle(e){return Ey(this.handlers.filter(t=>t.type===e.type||t.type===W.ANY).map(t=>t.handle(e)))}register(e,t=W.ANY,h,p=!1){p&&this.handlers.some(n=>n.type===t)?this.handlers[this.handlers.findIndex(n=>n.type===t)]=new i(e,t,h):this.handlers.push(new i(e,t,h))}};s.ɵfac=function(t){return new(t||s)},s.ɵprov=Y$1({token:s,factory:s.ɵfac,providedIn:`root`});return s})();var G=(()=>{let i=class i{constructor(e,r){this.dealerControllerService=e,this.configurationService=r,this.dealers=new Map,this.partnerBrands=new Map([[rl$1.VW,rl$1.LNF],[rl$1.LNF,rl$1.VW]])}getDealers(e){return this.configurationService.app$.pipe(Ne$2(r=>{if(e||(e=r.brand),r.variant===Gt$2.FCC&&!o$1.isFccDealerSearchEnabledForBrand(e)||r.variant===Gt$2.DCC)return Vs$1(null);if(this.dealers.has(e))return Vs$1(this.dealers.get(e));else return this.dealerControllerService.getDealersUsingGET(e).pipe(Pe$1(t=>(this.dealers.set(e,t),this.dealers.get(e))),Qu$1(()=>(this.dealers.set(e,{Dealers:[]}),Vs$1(this.dealers.get(e)))))}))}getDealer(e,r){return this.configurationService.app$.pipe(Ao$1(t=>(r||(r=t.brand),t.variant===Gt$2.FCC?this.getDealers(r).pipe(Pe$1(s=>s&&s.Dealers.find(n=>n.bnr===(e||``).toString()))):e&&t.variant!==Gt$2.DCC?this.dealerControllerService.getDealerUsingGET(r,e):Vs$1(null))))}getMainDealer(e,r){return this.configurationService.app$.pipe(Ao$1(t=>(r||(r=t.brand),e?this.dealerControllerService.mainDealerUsingGET({fab:r,grp:e}):Vs$1(null))))}existDealerForOtherBrand(){return this.configurationService.brand$.pipe(Ao$1(e=>{let r=this.partnerBrands.get(e),t=this.configurationService.storage.BNR.getValue(),s=this.configurationService.storage.GRP.getValue();if(r){if(t)return this.getDealers(r).pipe(Pe$1(n=>n.Dealers.filter(u=>u.bnr===t).length>0));if(s)return this.getDealers(r).pipe(Pe$1(n=>n.Dealers.filter(u=>u.group.groupName===s).length>0))}return this.configurationService.configTO.pipe(Pe$1(n=>n.showPartnerButton))}))}};i.ɵfac=function(r){return new(r||i)(ue(zd$1),ue(YP))},i.ɵprov=Y$1({token:i,factory:i.ɵfac,providedIn:`root`});return i})();var oi$1=(()=>{let f=class f{constructor(e,o){this.configurationService=e,this.adaptConfigurationController=o}adaptConfiguration(e,o=!1){let r=this.configurationService.getCarConfigParams(),i=this.configurationService.previousCarConfig,n=this.configurationService.isHarmonisingEnabled();r.exterior===`@`&&i.exterior?.code!==`@`&&(e={exterior:i.exterior?.code??`@`,interior:i.interior?.code??`@`,equipments:i.equipments.map(u=>u.code).join(`@`)||`@`,accessories:i.accessories.map(u=>u.code).join(`@`)||`@`,model:i.model?.code,modelYear:i.model?.modelYear,brand:i.model?.brand});let a={fab:this.configurationService.brand,model:this.configurationService.previousCarConfig.model?.code,farbe:e?e.exterior:r.exterior,polster:e?e.interior:r.interior,mehraus:e?e.equipments:r.equipments,accessories:e?e.accessories:r.accessories,NEWMODEL:o&&n&&e?e.model:r.model,full:o};
35return a.model?this.adaptConfigurationController.adaptConfigUsingGET(a):Vs$1(!0)}};f.ɵfac=function(o){return new(o||f)(ue(YP),ue(Yd$1))},f.ɵprov=Y$1({token:f,factory:f.ɵfac,providedIn:`root`});return f})();var w=class extends $$1{constructor(f,x,e,o,r,i){super(),this.callback=()=>console.warn(`feasibility Event with not set callback.`),this.modelDetail=f,this.ccParams=x,this.feasibilityParams=e,this.callback=o,this.name=`feasibility`,this.type=W.FEASIBILITY,this.noConfigChange=!!r,this.enforceResolve=!!i}};var L=class{constructor(f=!1,x=!1,e=!0,o=!1,r=!1){this.async=!1,this.checkFeasibility=!0,this.fromResolver=!1,this.async=f,this.fromResolver=x,this.checkFeasibility=e,this.doPreSelect=o,this.ignoreOffer=r}};var ce=(()=>{let f=class f{constructor(e,o,r,i,n,a,u,c,s){this.carConfigService=e,this.configurationService=o,this.navigationService=r,this.disclaimerService=i,this.loaderService=n,this.adaptConfigurationRestService=a,this.modalService=u,this.lazyLoaderService=c,this.translateService=s}init(){this.configurationService.storage.discount.subscribe(i=>{this.configurationService.car.model&&this.updateCar(this.configurationService.getCarConfigParams(),{},null,!0,!0)}),this.configurationService.storage.specialTaxCalculationMethod.subscribe(i=>{i&&this.configurationService.car.model&&this.updateCar(this.configurationService.getCarConfigParams())}),Jm([this.configurationService.storage.novaDisabled,this.configurationService.storage.currentNovaDisabled,this.configurationService.storage.fromFramebus,this.configurationService.car$,this.configurationService.app$,this.configurationService.configTO]).subscribe(([i,n,a,u,c,s])=>{n!==i&&u.model&&c.variant===Gt$2.DCC&&s.novaEnabled&&!a&&this.updateCar(this.configurationService.getCarConfigParams())}),Jm([this.configurationService.car$,this.configurationService.variant$,this.navigationService.active$]).pipe(ut$1(([i,n,a])=>a!==t.MODEL_SELECT),Pe$1(([i,n,a])=>n!==Gt$2.DCC&&i.model?.wltpFallback&&this.navigationService.isOnPageWithCarConfiguration(a))).subscribe(i=>{this.disclaimerService.setDisclaimer(c$1.WLTP_FALLBACK,i)}),Jm([this.configurationService.car$,this.navigationService.active$]).pipe(Pe$1(([i,n])=>i.model?.price?.hasSelectedBankPromotions&&this.navigationService.isOnPageWithCarConfiguration(n))).subscribe(i=>{this.disclaimerService.setDisclaimer(c$1.CAMPAIGN,i)}),Jm([this.configurationService.configTO,this.navigationService.active$]).pipe(Pe$1(([i,n])=>i.showDisclaimerTotalPriceFrom&&this.navigationService.isOnPageWithCarConfiguration(n))).subscribe(i=>{this.disclaimerService.setDisclaimer(c$1.FROM_PRICE,i)})}adaptConfigurationForHarmonising(e,o,r,i){this.configurationService.storage.initialParamsForHarmonising.getValue();return this.adaptSubscription&&this.adaptSubscription.unsubscribe(),new Promise((a$1,u)=>{let c=this.configurationService.getCarConfigParams();this.adaptSubscription=this.adaptConfigurationRestService.adaptConfiguration().subscribe({next:s=>{if(s&&typeof s!=`boolean`&&!this.configurationService.storage.hasAlreadyBeenOnConfigurationPage()){a$1(this.resolveAdaptConfiguration(!0,e,s,i));return}if(s.originalColor||s.originalInterior||s.originalWheel||s.addedOptions?.length>0||s.removedOptions?.length>0){let b=this.configurationService.theme,t=m.getModalConfig(b,a.ADAPT_CONFIG),g=import(`./chunk-CstC38tc2.js`);this.lazyLoaderService.loadAdaptConfigurationComponent(g,o).then(h=>{t.aria.label=this.translateService.getSync(`cc.adoptableConfiguration.headline`),this.modalService.load(h.componentType,t).then(p=>{p.instance.response=s,p.instance.initialParams=c,p.instance.harmonising=!0,p.instance.adaptedConfiguration.subscribe(P=>{a$1(this.resolveAdaptConfiguration(P,e,s,i))})})}).catch(h=>{console.error(`error in adapt configuration call (model-selection)`,h)})}else a$1(this.updateCarResolveFeasibility(e,r,i))},error:s=>{u(new Error(s))}})})}resolveAdaptConfiguration(e,o,r,i){if(e){let n=this.configurationService.car;this.configurationService.updatePrevious(n),this.configurationService.updateCar({model:o.model});let a={};
35return a.equipments=r.solvedFeasibility.equipmentCodes||`@`,a.interior=r.solvedFeasibility.interiorCode||`@`,a.exterior=r.solvedFeasibility.exteriorCode||`@`,this.updateCarResolveFeasibility(o,a,i)}else return null}updateCarResolveFeasibility(e,o,r){return this.updateCar(o??{},{},r??{checkFeasibility:!1,doPreSelect:!0},!1).then(i=>{if(i.feasibilityProblems&&i.feasibilityProblems.length>0){let n=i.feasibilityProblems[i.feasibilityProblems.length-1].solvedFeasibility;if(n)return e.exterior=new K$2(n.exteriorCode),e.interior=new D$2(n.interiorCode),e.equipments=n.equipmentCodes.split(`@`).filter(a=>a!==``).map(a=>new mt$2(a)),this.configurationService.updateCar(e),this.updateCar({},{},{fromResolver:r?r.fromResolver:!1})}return i})}updateCarAndReloadModel(e,o){let r=this.configurationService.car.copy();r.update(e);let i=r.getEquipmentAsString();return this.updateCar({},kn$2.toCarConfigParams(e,i),o).then(n=>n)}updateCar(e={},o={},r,i=!1,n=!1){r=K$1(K$1({},new L),r),this.configurationService.storage.previousFeasibilityCarConfig.next(this.configurationService.getCarConfigParams());let a=r.withParams?r.withParams:this.carConfigService.getParams(o),u=K$1(K$1(K$1({},this.configurationService.getCarConfigParams()),e),a);if(u.doPreSelect=r?.doPreSelect,this.modelSubscription&&this.modelSubscription.unsubscribe(),!u.model)return Promise.reject(new Error);let c;return n?c=this.carConfigService.getCarConfig(u):c=this.carConfigService.getCarConfigFast(u),new Promise((s,b)=>{this.modelSubscription=Jm([c,this.configurationService.configTO,this.configurationService.featureConfig.getEnabled()]).pipe(Mn$2(1)).subscribe({next:([t$13,g,h])=>{if(!t$13)return;t$13.fastMode&&this.updateCar(e,o,r,i,!0);let p=M$1.map(t$13),P=p.hasFeasibilityProblems||t$13.buildabilitySolutions?.length>0||t$13.okapiAlternativesTreeResolutions?.solutions?.length;t$13.price&&this.configurationService.variant===Gt$2.FCC&&this.configurationService.storage.policyDiscount.getValue()!==t$13.price.rebatePercentage&&this.configurationService.storage.policyDiscount.next(t$13.price.rebatePercentage),!t$13.fastMode&&t$13.price?.rebatePercentage&&this.configurationService.storage.ctmOfferUuid.getValue()&&this.configurationService.storage.discount.getValue()!==t$13.price.rebatePercentage&&setTimeout(()=>{this.configurationService.storage.discount.next(t$13.price.rebatePercentage)});let ai=this.configurationService.storage.offerUuid.getValue();!g.dcc&&!p.orderable&&!ai&&(g.fcc?this.navigationService.goto(t.ERROR):this.navigationService.goto(t.ERROR,u)),this.updateAvailableConfiguration(t$13,g,h),this.configurationService.updateModelDetail(t$13),(!P||r?.fromResolver)&&(this.updateCarConfiguration(t$13,g,r.fromResolver,i,e),this.configurationService.setLoadingBar(!1),s(t$13)),P&&r.checkFeasibility?n||this.configurationService.events.next(new w(t$13,u,a,y=>{if(y.adaptFeasibility)y?.modelDetail&&(t$13=y.modelDetail),t$13.fastMode&&!this.configurationService.modelDetail?.fastMode&&(t$13=this.configurationService.modelDetail),t$13.feasibilityProblems=[],this.carConfigService.updateFeasibilityParams(t$13),this.updateAvailableConfiguration(t$13,g,h),this.updateCarConfiguration(t$13,g,r.fromResolver,i,e),this.navigationService.updatePath(this.navigationService.navigator.activeNav,this.configurationService.getCarConfigParams()),this.configurationService.setLoadingBar(!1),s(t$13);else{let ni=this.configurationService.storage.previousFeasibilityCarConfig.getValue();if(y.backToModelSelect){this.navigationService.goto(t.MODEL_SELECT).then(()=>{this.configurationService.resetConfig(!0,!0)}),this.configurationService.setLoadingBar(!1),s(null);return}this.updateCar(ni,{},new L(!1,!1),!0).then(m=>{this.updateAvailableConfiguration(m,g,h),s(m)},m=>{if(m instanceof ue$1&&m.status===404)throw new be$1(`cc.error.nosuchmodel`,m)})}},!1,r?.fromResolver)):(this.carConfigService.updateFeasibilityParams(t$13),r.fromResolver||this.navigationService.updatePath(this.navigationService.navigator.activeNav,this.configurationService.getCarConfigParams()),this.configurationService.setLoadingBar(!1),s(t$13))},error:t$14=>{setTimeout(()=>{this.navigationService.goto(t.ERROR)}),this.configurationService.setLoadingBar(!1),b(new Error(t$14))}})})}updateAvailableConfiguration(e,o,r){let i=this.configurationService.app,n=this.configurationService.featureConfig,a=new ye$1(e,o,r,i,n);this.configurationService.updateAvailable(a.mappedPartialAvailableConfiguration),this.configurationService.resolve
35Config.setResolved(Wd$1.AVAILABLE_EQUIPMENTS)}updateCarConfiguration(e,o,r,i=!1,n){let a=this.configurationService.available,u=Z$1.mapListAccessoriesModelDetail(e,o.accessoriesAllCategoryEnabled)?.filter(t=>t.isSelected),c={exterior:a.exteriors.find(t=>t.code===e.exterior),interior:a.interiors.find(t=>t.code===e.interior),equipments:this.configurationService.available.equipments.filter(t=>e.equipmentCode.split(`@`).includes(t.code))};if(u.length>0&&n?.accessories&&(c.accessories=u),c.wheel=a.wheels.find(t=>e.equipmentCode.split(`@`).includes(t.code)),!c.wheel){let t=a.wheels.find(g=>g.includedInSelectedPackage!==null);t?(t.includedInSelectedPackageName=a.equipments.find(g=>g.code===t.includedInSelectedPackage)?.title,c.wheel=t):c.wheel=a.wheels.find(g=>g.serie)}let s=()=>Promise.all([this.loaderService.loadStyles([`pannellum-style.css`]),this.loaderService.loadScripts([`pannellum.js`])]),b=h.map(e,c.interior,this.configurationService.app,o,this.configurationService.car.model,this.navigationService.$activeNav,s);c.model=M$1.map(e,b),c.fromServer=!0,c.offerUuidFromServer=e.offerUuid,c.fromResolver=r,c.noFramebusEvent=i,this.configurationService.updateCar(c),this.configurationService.updatePrevious(this.configurationService.car),this.configurationService.resolveConfig.setResolved(Wd$1.CAR_CONFIGURATION)}getDisplayedModelCodes(e,o){if(e.engines&&o){let r=new Map;return o.models.forEach(i=>r.set(i.number,null)),e.engines.forEach(i=>{Array.from(T$2.toMap(i.variantCodes).keys()).includes(o.code)||r.set(i.cheapestModelCode,i.combinedEmissionData)}),r}return null}};f.ɵfac=function(o){return new(o||f)(ue(C$2),ue(YP),ue(as$1),ue(d$1),ue(E$1),ue(oi$1),ue(yn$2),ue(C$3),ue(G$3))},f.ɵprov=Y$1({token:f,factory:f.ɵfac,providedIn:`root`});return f})();function d(t,e){t&1&&yg(0,`div`,0)}var C=(()=>{let e=class e{constructor(o){this.elementRef=o,this.count=1,this.Array=Array}ngOnInit(){this.fontSize?this.elementRef.nativeElement.style.setProperty(`--skeleton-size`,this.fontSize*1.5+`px`):this.elementRef.nativeElement.style.setProperty(`--skeleton-size`,`100%`)}};e.ɵfac=function(n){return new(n||e)(oo$1(Jr$1))},e.ɵcmp=Ow({type:e,selectors:[[`cc-skeleton`]],inputs:{count:`count`,fontSize:`fontSize`},decls:2,vars:0,consts:[[1,`skeleton-entry`]],template:function(n,i){n&1&&jT(0,d,1,0,`div`,0,PT),n&2&&VT(i.Array(i.count))},styles:[`@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}[_nghost-%COMP%]{display:block;width:100%}#nwi-root.VW22 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#f4f4f4}#nwi-root.LNF22 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#f4f4f4}#nwi-root.AUDI23 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#59637399}#nwi-root.SKODA23 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#9e9fa0}#nwi-root.SEAT24 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#dedede}#nwi-root.DCC [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#dcdcdc}#nwi-root.FCC23 [_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{background:#edeef2}[_nghost-%COMP%] .skeleton-entry[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 2s ease-in-out infinite;animation-delay:.5s;width:100%;height:var(--%NS%skeleton-size);margin:20px 0}`],changeDetection:1});return e})();var B=(function(i){return i.EUR=`EUR`,i.RON=`RON`,i.HRK=`HRK`,i.BGN=`BGN`,i})(B||{});var si=i=>({primary:i});var ci=i=>[i];function pi(i,o){if(i&1&&(rs$1(0,`span`,2),NC(1),Jl$1()),i&2){let r=JT(3);nD(),Bg(r.prefix)}}function li(i,o){if(i&1&&(mg(0,`span`,3),KC(1,`push`),KC(2,`safeHtml`)),i&2)gg(`ngClass`,WC(6,si,!!XC(1,2,JT(3).formattedTargetPrice$)))(`innerHTML`,XC(2,4,o),tI)}function di(i,o){i&1&&mg(0,`br`)}function gi(i,o){if(i&1&&(kT(0,di,1,0,`br`),KC(1,`push`),mg(2,`span`,4),KC(3,`safeHtml`)),i&2){let r=JT(3);LT(XC(1,2,r.formattedPrice$)&&!r.hideBr?0:-1),nD(2),gg(`innerHTML`,XC(3,4,o),tI)}}function hi(i,o){i&1&&(rs$1(0,`sup`),NC(1),Jl$1()),i&2&&(nD(),Bg(o))}function mi(i,o){i&1&&(rs$1(0,`sup`),NC(1),Jl$1()),i&2&&(nD(),Bg(o))}function ui(i,o){if(i&1&&(kT(0,mi,2,1,`sup`),KC(1,`push`),KC(2,`push`)),i&2){let r,e=JT(3);LT((r=!e.superscript&&XC(1,1,e.showAsterisk$)&&XC(2,3,e.wltpDisclaimerIndexOverride$))?0:-1,r)}}function fi(i,o){i&1&&(rs$1(0,`sup`),NC(1),Jl$1()),i&2&&(nD(),Bg(o))}function Ci(i,o){i&1&&(rs$1(0,`sup`),NC(1),Jl$1()),i&2&&(nD(),Bg(o))}function _i(i,o){if(i&1&&(rs$1(0,`sup`),NC(1),Jl$1()),i&2){let r=JT(3);nD(),Bg(r.superscript)}}function Pi$1(i,o){if(i&1&&(kT(0,pi,2,1,`span`,2),kT(1,li,3,8,`span`,3),KC(2,`push`),kT(3,gi,4,6),KC(4,`push`),kT(5,hi,2,1,`sup`),KC(6,`push`),KC(7,`push`),kT(8,ui,3,5),KC(9,`push`),kT(10,fi,2,1,`sup`),KC(11,`push`),kT(12,Ci,2,1,`sup`),KC(13,`push`),KC(14,`push`),kT(15,_i,2,1,`sup`)),i&2){let r,e,t,a,n,s=JT(2);LT(s.prefix?0:-1),nD(),LT((r=XC(2,8,s.formattedPrice$))?1:-1,r),nD(2),LT((e=XC(4,10,s.formattedTargetPrice$))?3:-1,e),nD(2),LT((t=!s.superscript&&XC(6,12,s.showAsterisk$)&&XC(7,14,s.wltpDisclaimerIndex$))?5:-1,t),nD(3),LT(XC(9,16,s.wltpDisclaimerIndex$)?-1:8),nD(2),LT((a=!s.superscript&&s.priceType===`ConfigurationsPrice`&&XC(11,18,s.campaignDisclaimerIndex$))?10:-1,a),nD(2),LT((n=!s.superscript&&XC(13,20,s.showFromPriceDisclaimer$)&&XC(14,22,s.fromPriceDisclaimerIndex$))?12:-1,n),nD(3),LT(s.superscript?15:-1)}}function Oi(i,o){i&1&&(rs$1(0,`span`,0),NC(1),KC(2,`translate`),Jl$1()),i&2&&(nD(),Bg(XC(2,1,`cc.design.without-charge`)))}function vi(i,o){if(i&1&&(rs$1(0,`span`,1),NC(1),KC(2,`translate`),Jl$1()),i&2){let r=JT(2);nD(),Bg(r.packageName?eb(2,1,`cc.design.wheels.includedInSelectedPackage`,WC(4,ci,r.packageName)):``)}}function xi$1(i,o){if(i&1&&(kT(0,Pi$1,16,24),KC(1,`push`),kT(2,Oi,3,3,`span`,0),KC(3,`push`),kT(4,vi,3,6,`span`,1)),i&2){let r=JT();LT((!XC(1,3,r.isZero$)||r.zeroHandling===`show`)&&!r.isIncludedInPackage?0:-1),nD(2),LT(XC(3,5,r.isZero$)&&r.zeroHandling===`without-charge`&&!r.isIncludedInPackage?2:-1),nD(2),LT(r.isIncludedInPackage?4:-1)}}var ie$1=(()=>{let o$3=class o$2{set overrideWltpFallback(e){e&&this.configurationService.variant===Gt$2.CC&&(this.disclaimerService.setDisclaimer(c$1.WLTP_FALLBACK_OVERRIDE,!0),this.wltpDisclaimerIndexOverride$=this.disclaimerService.getDisclaimerIndex(c$1.WLTP_FALLBACK_OVERRIDE).pipe(Pe$1(t=>t>0?t.toString():``)),this.showAsterisk$=Vs$1(!0))}set overrideVAT(e){e&&this.overrideVat$.next(e)}set overridePricePresentation(e){e&&o.isNotEmpty(e)&&(e===`netNet`?this.showNetNet$.next(!0):(this.showNetNet$.next(!1),this.overrideVat$.next(e)))}set price(e){if(e){let t=e.net===null&&e.gross===null&&e.netNet===null;t!==this.configurationService.storage.peOutage$.getValue()&&setTimeout(()=>{this.configurationService.storage.peOutage$.next(t),this.configurationService.storage.peOutage.set(t)}),this.price$.next(e)}}constructor(e,t,a,n,s,v){this.configurationService=e,this.translateService=t,this.pricePipe=a,this.navigationService=n,this.disclaimerService=s,this.policyResultService=v,this.format=`none`,this.zeroHandling=`show`,this.hideBr=!1,this.overrideVat$=new ar$1(null),this.showNetNet$=new ar$1(!1),this.price$=new ar$1(null),this._displayNetNetPricesInsteadNet=!1,this.switchCurrencies=!1}ngOnInit(){this.peOutage$=this.configurationService.storage.peOutage$,this._displayNetNetPricesInsteadNet=this.configurationService.storage.displayNetNetPricesInsteadNet$.getValue(),this.show
35FromPriceDisclaimer$=this.configurationService.configTO.pipe(Pe$1(e=>e.showDisclaimerTotalPriceFrom&&this.priceType===`ConfigurationsPrice`)),this.showAsterisk$=Jm([this.configurationService.car$,this.configurationService.variant$,this.navigationService.active$]).pipe(Pe$1(([e,t,a])=>t!==Gt$2.DCC&&e.model?.wltpFallback&&this.navigationService.isOnPageWithCarConfiguration(a))),this.wltpDisclaimerIndex$=this.disclaimerService.getDisclaimerIndex(c$1.WLTP_FALLBACK).pipe(Pe$1(e=>e>0?e.toString():``)),this.campaignDisclaimerIndex$=this.disclaimerService.getDisclaimerIndex(c$1.CAMPAIGN).pipe(Pe$1(e=>e>0?e.toString():``)),this.fromPriceDisclaimerIndex$=this.disclaimerService.getDisclaimerIndex(c$1.FROM_PRICE).pipe(Pe$1(e=>e>0?e.toString():``)),this.showPriceType$=this.configurationService.app$.pipe(Ao$1(e=>{if(e.variant!==Gt$2.FCC)return Vs$1(!0);{let t=[`ModelGroupPrice`,`ListModelPrice`,`ConfigurationsPrice`,`ExampleConfigPrice`].includes(this.priceType);return this.policyResultService?this.policyResultService.shouldHideFinancingPrice().pipe(Pe$1(a=>!t||!a)):Vs$1(!1)}})),this.switchCurrencies=this.configTO?.prices?.switchCurrencies}ngOnChanges(){this.configurationService.configTO.pipe(Mn$2(1)).subscribe(e=>{this.configTO=e;let t=this.getComputedPrice(),a=this.getComputedPrice(!0);if(this.isZero$=t.pipe(Pe$1(n=>!n||n===0)),this.formattedPrice$=this.getFormattedPrice(t),this.formattedTargetPrice$=this.getFormattedPrice(a,!0),this.configTO.prices.switchCurrencies&&this.configTO.prices.dualPricePresentation){let n=this.formattedPrice$;this.formattedPrice$=this.formattedTargetPrice$,this.formattedTargetPrice$=n}})}ngOnDestroy(){this.overrideWltpFallback&&this.disclaimerService.setDisclaimer(c$1.WLTP_FALLBACK_OVERRIDE,!1)}getComputedPrice(e){return Jm([this.configurationService.storage.selectedVat,this.overrideVat$,this.price$,this.showNetNet$,this.configurationService.storage.novaDisabled,this.configurationService.storage.selectedCurrency]).pipe(Pe$1(([t,a,n,s,v,m])=>{let T=this.configTO.prices.multiCurrencyConfigs?.filter(y=>!y.mainCurrency);if(e)if(this.configTO.prices.multiCurrencyActive&&this.configTO.prices.dualPricePresentation){if(m=B[T[0]?.currencyCode],n&&(!n.targetCurrency||n.targetCurrency[m]===void 0))return n.net===0?0:null;if(!n)return 0}else return null;if(m&&this.configTO.prices.multiCurrencyActive&&T?.map(y=>y.currencyCode).includes(m))if(n?.targetCurrency&&n.targetCurrency[m])n=n.targetCurrency[m];else return null;let F=this._displayNetNetPricesInsteadNet&&(a||t)===en$1.net,L=v||s||F,u=(a||t)===en$1.gross,$=n?L?n.netNet:u?n.gross:n.net:0;return this.removed?$*-1:$}),Ry({bufferSize:1,refCount:!0}))}getFormattedPrice(e,t){return Jm([e,this.configurationService.configTO,this.configurationService.storage.selectedCurrency,this.translateService.get(`cc.pricefrom`),this.translateService.get(`cc.price.max`)]).pipe(ay((a,n)=>JSON.stringify(a)===JSON.stringify(n)),ut$1(([a,n,s,v,m])=>a!==null),Ao$1(([a,n,s,v,m])=>{let T=this.configTO.prices.multiCurrencyConfigs?.filter(u=>!u.mainCurrency);if(t)if(this.configTO.prices.multiCurrencyActive&&this.configTO.prices.dualPricePresentation)s=B[T[0]?.currencyCode];else return Vs$1(null);let F=T&&T[0].currencyCode===s,L=n.showDisclaimerTotalPriceFrom&&this.priceType===`ConfigurationsPrice`?`from`:this.format;return this.pricePipe.transform(a,null,F).pipe(Pe$1(u=>{switch(L){case`from`:return G$3.interpolateParams(v,{0:u});case`from-formatted`:let $=v.split(/(\s)(?!.*\1)/).filter(x=>x!==` `).map(x=>`<span class="from">${x}</span>`).join(` `);return G$3.interpolateParams($,{0:u});case`from-line`:let y=v.split(/(\s)(?!.*\1)/).filter(x=>x!==` `).map(x=>`<span class="from-line">${x}</span>`).join(`<br />`);return G$3.interpolateParams(y,{0:u});case`max`:return G$3.interpolateParams(m,{0:u});default:return u}}))}))}};o$3.ɵfac=function(t){return new(t||o$3)(oo$1(YP),oo$1(G$3),oo$1(N$5),oo$1(as$1),oo$1(d$1),oo$1(jt,8))},o$3.ɵcmp=Ow({type:o$3,selectors:[[`cc-price`]],hostVars:4,hostBindings:function(t,a){t&2&&Og(`right-alignment`,a.hideBr)(`switch-currencies`,a.switchCurrencies)},inputs:{format:`format`,zeroHandling:`zeroHandling`,prefix:`prefix`,superscript:`superscript`,isIncludedInPackage:`isIncludedInPackage`,priceType:`priceType`,packageName:`packageName`,removed:`removed`,hideBr:`hideBr`,overrideWltpFallback:`overrideWltpFallback`,overrideVAT:`overrideVAT`,overridePricePresentation:`overridePricePresentation`,price:`price`},features:[jv],decls:3,vars:5,consts:[[1,`without-charge`],[1,`included-in-package`],[1,`prefix`],[`data-cy`,`price`,3,`ngClass`,`innerHTML`],[1,`secondary`,3,`innerHTML`]],template:function(t,a){t&1&&(kT(0,xi$1,5,7),KC(1,`push`),KC(2,`push`)),t&2&<(XC(1,1,a.showPriceType$)&&!XC(2,3,a.peOutage$)?0:-1)},dependencies:[ov,re$2,nn$1,Gb,p],styles:[`@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}#nwi-root.VW22 [_nghost-%COMP%]{font-weight:700}#nwi-root.LNF22 [_nghost-%COMP%]{font-weight:700}#nwi-root.SKODA23 [_nghost-%COMP%]{font-weight:700}#nwi-root.AUDI23 [_nghost-%COMP%]{font-weight:700}#nwi-root.CUPRA24 [_nghost-%COMP%]{font-weight:700}#nwi-root.SEAT24 [_nghost-%COMP%]{font-weight:700}#nwi-root.FCC23 [_nghost-%COMP%]{font-weight:600}#nwi-root.VW19 [_nghost-%COMP%]{font-family:VWHead,sans-serif}#nwi-root.LNF19 [_nghost-%COMP%]{font-family:VWHead,sans-serif}#nwi-root.VW22 [_nghost-%COMP%]{font-family:VWHead,sans-serif}#nwi-root.LNF22 [_nghost-%COMP%]{font-family:VWHead,sans-serif}[_nghost-%COMP%]{display:block;font-size:16px;white-space:nowrap}.right-alignment[_nghost-%COMP%]{display:flex;flex-direction:column;text-align:right}[_nghost-%COMP%] sup[_ngcontent-%COMP%]{position:relative;line-height:0}[_nghost-%COMP%] sup[_ngcontent-%COMP%] + sup[_ngcontent-%COMP%]:before{position:relative;content:","}[_nghost-%COMP%] .secondary[_ngcontent-%COMP%]{font-weight:400}#nwi-root.BG [_nghost-%COMP%] .secondary[_ngcontent-%COMP%]{font-weight:inherit}#nwi-root.AUDI23 [_nghost-%COMP%] .from:first-of-type{font-weight:400;font-size:13px}#nwi-root.DCC .strike-through[_nghost-%COMP%]{text-decoration:line-through}#nwi-root.DCC26 .strike-through[_nghost-%COMP%]{text-decoration:line-through}#nwi-root.DCC26 .strike-through[_nghost-%COMP%]{font-weight:400}#nwi-root.VW22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:5px}#nwi-root.LNF22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:5px}#nwi-root.AUDI23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:10px}#nwi-root.CUPRA24 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:10px}#nwi-root.SEAT24 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:10px}#nwi-root.SKODA23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-weight:400}#nwi-root.VW22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-weight:300}#nwi-root.LNF22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-weight:300}#nwi-root.VW22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:13px}#nwi-root.LNF22 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:13px}#nwi-root.AUDI23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:12px}#nwi-root.CUPRA24 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:12px}#nwi-root.SEAT24 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:12px}#nwi-root.SKODA23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{font-size:12px}#nwi-root.CUPRA24 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{color:#808890}#nwi-root.AUDI23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{color:#fcfcfdb3}#nwi-root.SKODA23 [_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{color:#419468}[_nghost-%COMP%] .included-in-package[_ngcontent-%COMP%]{white-space:break-spaces}`],changeDetection:1});return o$3})();var R=(()=>
35{let r=class r{constructor(e,i,t,c){this.element=e,this.viewContainer=i,this.configurationService=t,this.renderer=c,this.appConfigurationSubscription=this.configurationService.app$.subscribe(s=>{s.variant&&(this.variant=s.variant),s.brand&&(this.brand=s.brand),s.theme&&(this.theme=s.theme),this.updateClassList()})}ngOnInit(){this.updateClassList()}ngOnChanges(){this.updateClassList()}updateClassList(){for(let e in this.ccClass)if(this.ccClass.hasOwnProperty(e)){let i=this.ccClass[e],t=!1;Array.isArray(i)&&(t=this.setClassKeyInArray(i,t)),t&&e.split(` `).forEach(s=>this.renderer.addClass(this.element.nativeElement,s))}}setClassKeyInArray(e,i){return e.every(t=>Object.values(Gt$2).indexOf(t)>-1)&&e.indexOf(this.variant)>-1&&(i=!0),e.every(t=>Object.values(tt$2).indexOf(t)>-1)&&e.indexOf(this.theme)>-1&&(i=!0),e.every(t=>Object.values(rl$1).indexOf(t)>-1)&&e.indexOf(this.brand)>-1&&(i=!0),i}ngOnDestroy(){this.appConfigurationSubscription.unsubscribe()}};r.ɵfac=function(i){return new(i||r)(oo$1(Jr$1),oo$1(ms$1),oo$1(YP),oo$1(Bc$1))},r.ɵdir=Fw({type:r,selectors:[[``,`ccClass`,``]],inputs:{ccClass:`ccClass`},features:[jv]});return r})();var gn=(()=>{let t=class t{set price(i){this.mappedPrice=c.map(i)}};t.ɵfac=function(g){return new(g||t)},t.ɵcmp=Ow({type:t,selectors:[[`cc-mapped-price`]],inputs:{price:`price`},decls:1,vars:2,consts:[[1,`price`,3,`price`,`zeroHandling`]],template:function(g,d){g&1&&mg(0,`cc-price`,0),g&2&&gg(`price`,d.mappedPrice)(`zeroHandling`,`show`)},dependencies:[ie$1],encapsulation:2,changeDetection:1});return t})();u$1.CarConfigParams;var u=n=>[n];var hn=(n,t,e,i,g,d)=>[n,t,e,i,g,d];var mn=(n,t,e)=>({"svg-close-small":n,"svg-button-close":t,"svg-close":e});var D=(n,t)=>({text:n,price:t});var rn=n=>({text:n,price:null});var N=n=>({option:n});function xn(n,t){n&1&&(rs$1(0,`div`,14),NC(1),KC(2,`translate`),Jl$1()),n&2&&(nD(),Bg(XC(2,1,`cc.adoptableConfiguration.standard`)))}function _n(n,t){if(n&1&&(rs$1(0,`div`,14),NC(1),Jl$1()),n&2){let e=JT().text;nD(),Bg(e)}}function cn(n,t){if(n&1&&(rs$1(0,`div`,13),kT(1,xn,3,3,`div`,14)(2,_n,2,1,`div`,14),mg(3,`cc-mapped-price`,15),Jl$1()),n&2){let e=t.text,i=t.price;nD(),LT(e?2:1),nD(2),gg(`price`,i)}}function On(n,t){n&1&&Eg(0)}function ln(n,t){if(n&1&&(rs$1(0,`div`,16),tg(1,On,1,0,`ng-container`,17),Jl$1()),n&2){let e=t.option;JT();let i=sC(1);nD(),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,qC(2,D,e.title,e.preis))}}function Pn(n,t){n&1&&(rs$1(0,`h1`,3),NC(1),KC(2,`translate`),Jl$1()),n&2&&(nD(),Bg(XC(2,1,`cc.adoptableConfiguration.ask-adapt`)))}function sn(n,t){n&1&&(rs$1(0,`div`,4)(1,`div`,18)(2,`h1`),NC(3),KC(4,`translate`),Jl$1(),rs$1(5,`h2`),NC(6),KC(7,`translate`),Jl$1()()()),n&2&&(nD(3),Bg(XC(4,2,`cc.adoptableConfiguration.ask-adapt`)),nD(3),Bg(XC(7,4,`cc.adoptableConfiguration.action-required`)))}function Mn(n,t){n&1&&(rs$1(0,`div`,5)(1,`h2`,19),mg(2,`div`,20),rs$1(3,`span`),NC(4),KC(5,`translate`),Jl$1()()()),n&2&&(nD(4),Bg(XC(5,1,`cc.adoptableConfiguration.action-required`)))}function wn(n,t){n&1&&mg(0,`cc-skeleton`,21)(1,`cc-skeleton`,22),n&2&&(gg(`fontSize`,25),nD(),gg(`count`,2)(`fontSize`,40))}function fn(n,t){n&1&&(rs$1(0,`div`,24)(1,`h3`),NC(2),KC(3,`translate`),Jl$1(),rs$1(4,`span`,27),NC(5),KC(6,`translate`),Jl$1()()),n&2&&(nD(2),Bg(XC(3,2,`cc.adoptableConfiguration.adapt.title.previous`)),nD(3),ru$1(`(`,XC(6,4,`cc.adoptableConfiguration.will-remove`),`)`))}function un(n,t){n&1&&Eg(0)}function An(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,un,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.color.previous`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,qC(5,D,e.originalColor.bezf,e.originalColor.preis))}}function vn(n,t){n&1&&Eg(0)}function Dn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,vn,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.interior.previous`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,WC(5,rn,e.originalInterior.stof))}}function Sn(n,t){n&1&&Eg(0)}function Rn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,Sn,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.wheel.previous`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,qC(5,D,e.originalWheel.title,e.originalWheel.preis))}}function En(n,t){n&1&&Eg(0)}function Un(n,t){if(n&1&&tg(0,En,1,0,`ng-container`,17),n&2){let e=t.$implicit;JT(3);gg(`ngTemplateOutlet`,sC(3))(`ngTemplateOutletContext`,WC(2,N,e))}}function Tn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),jT(4,Un,1,4,`ng-container`,null,RT().trackByCode,!0),Jl$1()),n&2){let e=JT(2);nD(2),Bg(XC(3,1,`cc.adoptableConfiguration.equipments`)),nD(2),VT(e.removedOptions)}}function bn(n,t){n&1&&(rs$1(0,`div`,24)(1,`h3`),NC(2),KC(3,`translate`),Jl$1(),rs$1(4,`span`,27),NC(5),KC(6,`translate`),Jl$1()()),n&2&&(nD(2),Bg(XC(3,2,`cc.adoptableConfiguration.adapt.title`)),nD(3),ru$1(`(`,XC(6,4,`cc.adoptableConfiguration.will-add`),`)`))}function Fn(n,t){n&1&&Eg(0)}function In(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,Fn,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.color`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,qC(5,D,e.newColor.bezf,e.newColor.preis))}}function Ln(n,t){n&1&&Eg(0)}function Wn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,Ln,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.interior`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,WC(5,rn,e.newInterior.stof))}}function Nn(n,t){n&1&&Eg(0)}function yn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),tg(4,Nn,1,0,`ng-container`,17),Jl$1()),n&2){let e=JT(2),i=sC(1);nD(2),Bg(XC(3,3,`cc.adoptableConfiguration.wheel`)),nD(2),gg(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,qC(5,D,e.newWheel.title,e.newWheel.preis))}}function Vn(n,t){n&1&&Eg(0)}function Kn(n,t){if(n&1&&tg(0,Vn,1,0,`ng-container`,17),n&2){let e=t.$implicit;JT(3);gg(`ngTemplateOutlet`,sC(3))(`ngTemplateOutletContext`,WC(2,N,e))}}function Gn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),jT(4,Kn,1,4,`ng-container`,null,RT().trackByCode,!0),Jl$1()),n&2){let e=JT(2);nD(2),Bg(XC(3,1,`cc.adoptableConfiguration.equipments`)),nD(2),VT(e.adaptedOptions)}}function Hn(n,t){n&1&&Eg(0)}function kn(n,t){if(n&1&&tg(0,Hn,1,0,`ng-container`,17),n&2){let e=t.$implicit;JT(3);gg(`ngTemplateOutlet`,sC(3))(`ngTemplateOutletContext`,WC(2,N,e))}}function Bn(n,t){if(n&1&&(rs$1(0,`div`,25)(1,`h4`,28),NC(2),KC(3,`translate`),Jl$1(),jT(4,kn,1,4,`ng-container`,null,RT().trackByCode,!0),Jl$1()),n&2){let e=JT(2);nD(2),Bg(XC(3,1,`cc.adoptableConfiguration.equipments.added`)),nD(2),VT(e.addedOptions)}}function qn(n,t){if(n&1&&(rs$1(0,`div`,9)(1,`section`,23),kT(2,fn,7,6,`div`,24),kT(3,An,5,8,`div`,25),kT(4,Dn,5,7,`div`,25),kT(5,Rn,5,8,`div`,25),kT(6,Tn,6,3,`div`,25),Jl$1(),rs$1(7,`section`,26),kT(8,bn,7,6,`div`,24),kT(9,In,5,8,`div`,25),kT(10,Wn,5,7,`div`,25),kT(11,yn,5,8,`div`,25),kT(12,Gn,6,3,`div`,25),kT(13,Bn,6,3,`div`,25),Jl$1()()),n&2){let e=JT();nD(2),LT(e.showRemovedEquipments?2:-1),nD(),LT(e.originalColor?3:-1),nD(),LT(e.originalInterior?4:-1),nD(),LT(e.originalWheel?5:-1),nD(),LT(e.removedOptions?.length>0?6:-1),nD(2),LT(e.showAddedEquipments?8:-1),nD(),LT(e.newColor?9:-1),nD(),LT(e.newInterior?10:-1),nD(),LT(e.newWheel?11:-1),nD(),LT(e.adaptedOptions?.length>0?12:-1),nD(),LT(e.addedOptions?.length>0?13:-1)}}var Dt$1=(()=>{let t$12=class t$11 extends DC{constructor(i,g,d,S){super(),this.configurationService=i,this.adaptConfigurationRestService=g,this.navigationService=d,this.modelService=S,this.adaptedConfiguration=new Je$1,this.loading=!0,this.showAddedEquipments=!1,this.showRemovedEquipments=!1,this.harmonising=!1,this.VARIANT=Gt$2,this.THEME=tt$2,this.theme=this.configurationService.theme}ngOnInit(){this.variant=this.configurationService.variant;let i=this.navigationService.activeNav===t.MODEL_SELECT&&this.configurationService.isHarmonisingEnabled();this.harmonising=i,this.response===void 0||!i?this.adaptConfigSubscription=this.adaptConfigurationRestService.adaptC
35onfiguration(this.initialParams).subscribe({next:g=>{this.mapResponse(g)},error:()=>this.onError()}):this.mapResponse(this.response),this.loadPrices()}ngOnDestroy(){this.adaptConfigSubscription&&this.adaptConfigSubscription.unsubscribe()}mapResponse(i){i!==void 0?(this.adaptedOptions=i.adaptedOptions,this.addedOptions=i.addedOptions,this.newColor=i.newColor,this.newInterior=i.newInterior,this.newWheel=i.newWheel,this.originalColor=i.originalColor,this.originalInterior=i.originalInterior,this.originalWheel=i.originalWheel,this.removedOptions=i.removedOptions,this.solvedFeasibility=i.solvedFeasibility,this.showAddedEquipments=this.adaptedOptions?.length>0||this.addedOptions?.length>0||!!this.newColor||!!this.newInterior||!!this.newWheel,this.showRemovedEquipments=!!this.originalWheel||!!this.originalInterior||!!this.originalColor||this.removedOptions?.length>0,this.loading=!1,this.configurationService.storage.showBrandLoadingIndicator.next(!1),!this.showAddedEquipments&&!this.showRemovedEquipments&&([Gt$2.DCC,Gt$2.CC].includes(this.configurationService.variant)||[tt$2.FCC23].includes(this.configurationService.theme))&&this.adaptConfiguration()):this.modalRef&&(this.loading=!1,this.close())}onError(){this.configurationService.resetConfig(!1),this.navigationService.alreadyNavigatedToInterior$.next(!1),this.modalRef?.dismiss(),this.configurationService.storage.showBrandLoadingIndicator.next(!1),this.adaptedConfiguration.emit(!1)}adaptConfiguration(){let i={};i.equipments=this.solvedFeasibility?.equipmentCodes?this.solvedFeasibility.equipmentCodes:`@`,i.interior=this.solvedFeasibility?.interiorCode?this.solvedFeasibility.interiorCode:`@`,i.exterior=this.solvedFeasibility?.exteriorCode?this.solvedFeasibility.exteriorCode:`@`;let g={};this.solvedFeasibility&&(g.exterior=new K$2(this.solvedFeasibility.exteriorCode),g.interior=new D$2(this.solvedFeasibility.interiorCode),g.equipments=this.solvedFeasibility.equipmentCodes.split(`@`).filter(d=>d!==``).map(d=>new mt$2(d))),this.harmonising||(this.configurationService.updateCar(g),this.modelService.updateCar(i)),this.adaptedConfiguration.emit(!0),this.modalRef?.dismiss()}close(){this.harmonising||(this.configurationService.resetConfig(!1),this.navigationService.alreadyNavigatedToInterior$.next(!1)),this.adaptedConfiguration.emit(!1),this.modalRef?.dismiss()}trackByCode(i,g){return g.code}loadPrices(){this.adaptConfigSubscription=this.adaptConfigurationRestService.adaptConfiguration(this.initialParams,!0).subscribe({next:i=>this.mapResponse(i),error:()=>this.onError()})}};t$12.ɵfac=function(g){return new(g||t$12)(oo$1(YP),oo$1(oi$1),oo$1(as$1),oo$1(ce))},t$12.ɵcmp=Ow({type:t$12,selectors:[[`cc-adapt-configuration`]],inputs:{initialParams:`initialParams`,response:`response`},outputs:{adaptedConfiguration:`adaptedConfiguration`},features:[Xh],decls:21,vars:44,consts:[[`optionInfo`,``],[`optionWrapper`,``],[1,`wrapper`],[1,`dcc-modal-header`],[1,`modal-header`],[1,`dcc-warning-wrapper`],[`data-cy`,`close-button`,1,`close-wrapper`,`-no-style`,3,`click`],[`aria-hidden`,`true`,3,`ccClass`],[1,`info-wrapper`],[1,`info`],[1,`actions`],[`data-cy`,`maintain-button`,3,`click`],[`data-cy`,`adapt-button`,1,`-primary`,3,`click`],[1,`option`],[1,`option-text`],[3,`price`],[1,`option-wrapper`],[4,`ngTemplateOutlet`,`ngTemplateOutletContext`],[1,`modal-titles`],[1,`dcc-warning`],[`aria-hidden`,`true`,1,`icon`],[3,`fontSize`],[3,`count`,`fontSize`],[1,`previous-equipments`],[1,`equipment-title`],[1,`adapt-option-wrapper`],[1,`new-equipments`],[1,`equipment-subtitle`],[1,`option-title`]],template:function(g,d){g&1&&(tg(0,cn,4,2,`ng-template`,null,0,rb)(2,ln,2,5,`ng-template`,null,1,rb),rs$1(4,`div`,2),kT(5,Pn,3,3,`h1`,3)(6,sn,8,6,`div`,4),kT(7,Mn,6,3,`div`,5),rs$1(8,`nwi-button`,6),KC(9,`translate`),Tg(`click`,function(){return d.close()}),mg(10,`div`,7),Jl$1(),rs$1(11,`div`,8),kT(12,wn,2,3)(13,qn,14,11,`div`,9),Jl$1(),rs$1(14,`div`,10)(15,`nwi-button`,11),Tg(`click`,function(){return d.close()}),NC(16),KC(17,`translate`),Jl$1(),rs$1(18,`nwi-button`,12),Tg(`click`,function(){return d.adaptConfiguration()}),NC(19),KC(20,`translate`),Jl$1()()()),g&2&&(nD(5),LT(WC(21,u,d.VARIANT.DCC).includes(d.variant)?5:6),nD(2),LT(WC(23,u,d.VARIANT.DCC).includes(d.variant)?7:-1),nD(),hg(`aria-label`,XC(9,15,`cc.close`)),nD(2),gg(`ccClass`,GC(36,mn,WC(25,u,d.THEME.SKODA23),WC(27,u,d.THEME.DCC),ZC(29,hn,d.THEME.SEAT24,d.THEME.VW22,d.THEME.LNF22,d.THEME.AUDI23,d.THEME.FCC23,d.THEME.CUPRA24))),nD(2),LT(d.loading?12:13),nD(3),Og(`-disabled`,d.loading)(`-outline`,!WC(40,u,d.THEME.AUDI23).includes(d.theme))(`-secondary`,WC(42,u,d.THEME.AUDI23).includes(d.theme)),nD(),ru$1(``,XC(17,17,`cc.adoptableConfiguration.dontAdopt`),` `),nD(2),Og(`-disabled`,d.loading),nD(),ru$1(``,XC(20,19,`cc.adoptableConfiguration.adopt`),` `))},dependencies:[gn,jo$1,C,Gr$2,gC,R,p],styles:[`@charset "UTF-8";@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}@media(min-width:320px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:20px;padding-right:20px}}#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:20px;padding-right:20px}@media(min-width:414px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:768px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1440px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-left:64px;padding-right:64px}}#nwi-root.CUPRA24:not(.CUPRA24) [_nghost-%COMP%]{padding-top:50px;padding-bottom:60px;background-color:#f5f5f5}[_nghost-%COMP%]{background-color:#fff}#nwi-root.SKODA23 [_nghost-%COMP%]{background-color:#f1f1f1}#nwi-root.AUDI23 [_nghost-%COMP%]{background-color:#2c343f}#nwi-root.CUPRA24 [_nghost-%COMP%]{color:#242221}@media(min-width:768px){#nwi-root.AUDI23 [_nghost-%COMP%]{overflow:hidden;border-radius:20px}}[_nghost-%COMP%]{display:block;max-width:900px}#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:1184px}#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:1792px}#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{max-width:1440px}@media(min-width:320px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}}@media(min-width:320px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}@media(min-width:414px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}}@media(min-width:414px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:768px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:36px;padding-right:36px}}@media(min-width:768px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px}}@media(min-width:768px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{p
35adding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:1024px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:45px;padding-right:45px}}@media(min-width:1024px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:1024px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1024px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1440px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:1440px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:84px;padding-right:84px}}@media(min-width:1920px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:1920px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.VW19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.LNF19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.VW22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.LNF22 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.AUDI19 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.AUDI23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.SKODA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.SKODA23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:84px;padding-right:84px}}@media(min-width:2560px){#nwi-root.SEAT21 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.SEAT24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.PORSCHE [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}}@media(min-width:2560px){#nwi-root.DCC26 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:96px;padding-right:96px}}@media(min-width:2560px){#nwi-root.FCC23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:2560px){#nwi-root.DWO [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA20 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA24 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.CARLOG [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CARLOG23 [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}#nwi-root.DCC [_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{padding:0 24px 20px}[_nghost-%COMP%] .info-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}[_nghost-%COMP%] section[_ngcontent-%COMP%] .equipment-title[_ngcontent-%COMP%]{margin-bottom:10px}[_nghost-%COMP%] section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;line-height:1}[_nghost-%COMP%] section[_ngcontent-%COMP%] .equipment-subtitle[_ngcontent-%COMP%]{font-size:14px}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%]{padding:15px 0 5px}#nwi-root.DCC [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%]{padding:0 0 5px}#nwi-root.VW22 [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%]{padding:10px 0 5px}#nwi-root.LNF22 [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%]{padding:10px 0 5px}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:5px;align-items:center;justify-content:space-between}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-title[_ngcontent-%COMP%]{width:100%}@media(min-width:768px){[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-title[_ngcontent-%COMP%]{width:auto}}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-title[_ngcontent-%COMP%]{font-weight:700;font-size:14px;overflow-wrap:anywhere}#nwi-root.FCC23 [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-title[_ngcontent-%COMP%]{color:#103344}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{width:100%}@media(min-width:768px){[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{width:70%}}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}#nwi-root.AUDI23 [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] cc-price[_ngcontent-%COMP%] {font-size:14px}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .option-text[_ngcontent-%COMP%]{font-size:14px}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-wrapper[_ngcontent-%COMP%]{width:100%}@media(min-width:768px){[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-wrapper[_ngcontent-%COMP%]{width:70%}}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-left:auto}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .option-wrapper[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{width:100%}#nwi-root.HR [_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] .price[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%] .adapt-option-wrapper[_ngcontent-%COMP%] cc-mapped-price[_ngcontent-%COMP%] .price{font-size:14px}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]:focus{outline:unset}
35#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:2560px}#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:1184px}#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:1792px}#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{max-width:1440px}@media(min-width:320px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}}@media(min-width:320px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:320px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}
35#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}@media(min-width:414px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}}@media(min-width:414px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:414px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}@media(min-width:768px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.VW22 [_nghost-%COMP%] .modal
35-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:36px;padding-right:36px}}@media(min-width:768px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px}}@media(min-width:768px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:768px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:768px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:1024px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:45px;padding-right:45px}}@media(min-width:1024px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:48px;padding-right:48px}}@media(min-width:1024px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1024px){#nwi-root.DWO [_nghost-%COMP%] .modal
35-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media(min-width:1024px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1024px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:50px;padding-right:50px}}@media(min-width:1440px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:1440px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1440px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1440px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal
35-header[_ngcontent-%COMP%]{padding-left:84px;padding-right:84px}}@media(min-width:1920px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:1920px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:1920px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:1920px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.VW19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.LNF19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.AUDI19 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.SKODA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:84px;padding-right:84px}}@media(min-width:2560px){#nwi-root.SEAT21 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.SEAT24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.PORSCHE [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.DCC [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}}@media(min-width:2560px){#nwi-root.DCC26 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:96px;padding-right:96px}}@media(min-width:2560px){#nwi-root.FCC23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:120px;padding-right:120px}}@media(min-width:2560px){#nwi-root.DWO [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA20 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA24 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:64px;padding-right:64px}}@media(min-width:2560px){#nwi-root.CARLOG [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}@media(min-width:2560px){#nwi-root.CARLOG23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{padding-left:60px;padding-right:60px}}
35[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{align-items:flex-start}@media(min-width:768px){[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{align-items:center}}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-top:25px}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-titles[_ngcontent-%COMP%]{gap:15px}#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-titles[_ngcontent-%COMP%]{gap:25px}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-titles[_ngcontent-%COMP%]{display:flex;flex-direction:column}#nwi-root.VW22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#293043}#nwi-root.LNF22 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#293043}#nwi-root.SKODA23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#0e3a2f}#nwi-root.AUDI23 [_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#fcfcfd}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{max-width:90%;font-size:18px;line-height:1}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:1}[_nghost-%COMP%] .dcc-modal-header[_ngcontent-%COMP%]{padding:20px 24px 15px;font-size:16px;border-bottom:1px solid #ccc}[_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%]{padding:20px 24px 0}[_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%] .dcc-warning[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;padding:0 8px;color:#4d4d4d;font-size:13px;background:#fff4c7;border:1px solid #c78b00;border-radius:4px}#nwi-root.DCC [_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%] .dcc-warning[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;width:30px;padding-bottom:30px}#nwi-root.DCC [_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%] .dcc-warning[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;background:url("./media/sprite-DCC-VG3FQV32.svg") no-repeat 87.3417721519% 73.6141906874%;background-size:1347.3684210526% 1286.8421052632%;content:""}#nwi-root.DCC26 [_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%] .dcc-warning[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;width:30px;padding-bottom:30px}#nwi-root.DCC26 [_nghost-%COMP%] .dcc-warning-wrapper[_ngcontent-%COMP%] .dcc-warning[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;background:url("./media/sprite-DCC26-4PYTN2MH.svg") no-repeat 83.4677419355% 70.9401709402%;background-size:1405.2631578947% 1331.5789473684%;content:""}[_nghost-%COMP%] .close-wrapper[_ngcontent-%COMP%]{position:absolute;top:25px}#nwi-root.DCC [_nghost-%COMP%] .close-wrapper[_ngcontent-%COMP%]{top:15px}[_nghost-%COMP%] .close-wrapper[_ngcontent-%COMP%]{right:25px}#nwi-root.DCC [_nghost-%COMP%] .close-wrapper[_ngcontent-%COMP%]{right:15px}#nwi-root.AUDI23 [_nghost-%COMP%] .close-wrapper[_ngcontent-%COMP%] .svg-close[_ngcontent-%COMP%]{filter:brightness(0) invert(1)}[_nghost-%COMP%] .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:25px;margin:25px 0}[_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%]{list-style-type:none}#nwi-root.SKODA23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:18px}#nwi-root.VW22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:25px}#nwi-root.LNF22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:25px}#nwi-root.DCC [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.DCC26 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.FCC23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.AUDI23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.SEAT24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.CUPRA24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{margin-left:12px}#nwi-root.DCC26 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{font-weight:400;font-size:12px;line-height:16px;vertical-align:middle}[_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul{list-style-type:none}[_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li{position:relative;padding:1px 0}#nwi-root.DCC [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:"\\2022"}#nwi-root.DCC26 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:"\\2022"}#nwi-root.FCC23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:"\\2022"}#nwi-root.SEAT24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:"\\2022"}#nwi-root.CUPRA24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:"\\2022"}#nwi-root.AUDI23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:">"}#nwi-root.VW22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:""}#nwi-root.LNF22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:""}#nwi-root.SKODA23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{content:""}#nwi-root.SKODA23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-18px}#nwi-root.VW22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-25px}#nwi-root.LNF22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-25px}#nwi-root.DCC [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.DCC26 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.FCC23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.AUDI23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.SEAT24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.CUPRA24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{left:-12px}#nwi-root.DCC [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.DCC26 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.FCC23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.AUDI23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.SEAT24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.CUPRA24 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:0}#nwi-root.SKODA23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:7px}#nwi-root.VW22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:4px}#nwi-root.LNF22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{top:4px}[_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{position:absolute}#nwi-root.VW22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{width:14px;
35height:14px;background:url("./media/sprite-VW22-7BRJICCU.svg") no-repeat 85.8115183246% 65.2223489168%}#nwi-root.LNF22 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{width:14px;height:14px;background:url("./media/sprite-LNF22-YXM6RIIG.svg") no-repeat 79.8952879581% 91.3321167883%}#nwi-root.SKODA23 [_nghost-%COMP%] .standard-item-list[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] ul li:before{width:8px;height:8px;background:url("./media/sprite-SKODA23-GVIGJBNJ.svg") no-repeat 100% 33.8308457711%}@media(min-width:320px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:16px;margin-right:16px}}@media(min-width:320px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:320px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:16px;margin-right:16px}#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}@media(min-width:414px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:16px;margin-right:16px}}@media(min-width:414px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:414px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}}@media(min-width:768px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:768px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:36px;margin-right:36px}}@media(min-width:768px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:768px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:30px;margin-right:30px}}@media(min-width:768px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:768px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:768px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:1024px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:1024px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:45px;margin-right:45px}}@media(min-width:1024px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:1024px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:48px;margin-right:48px}}@media(min-width:1024px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1024px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media(min-width:1024px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1024px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:50px;margin-right:50px}}@media(min-width:1440px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1440px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1440px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:120px;margin-right:120px}}@media(min-width:1440px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1440px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1440px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:
3560px}}@media(min-width:1920px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1920px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:84px;margin-right:84px}}@media(min-width:1920px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1920px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1920px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:120px;margin-right:120px}}@media(min-width:1920px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:1920px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:1920px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.VW19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.LNF19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.VW22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.LNF22.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.AUDI19.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.AUDI23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:2560px){#nwi-root.SKODA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.SKODA23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:84px;margin-right:84px}}@media(min-width:2560px){#nwi-root.SEAT21.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.SEAT24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:2560px){#nwi-root.PORSCHE.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.DCC.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:80px;margin-right:80px}}@media(min-width:2560px){#nwi-root.DCC26.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:96px;margin-right:96px}}@media(min-width:2560px){#nwi-root.FCC23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:120px;margin-right:120px}}@media(min-width:2560px){#nwi-root.DWO.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA20.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.CUPRA24.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:64px;margin-right:64px}}@media(min-width:2560px){#nwi-root.CARLOG.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}@media(min-width:2560px){#nwi-root.CARLOG23.variant-CC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:60px;margin-right:60px}}[_nghost-%COMP%] .actions[_ngcontent-%COMP%]{flex-direction:column}@media(min-width:768px){[_nghost-%COMP%] .actions[_ngcontent-%COMP%]{flex-direction:row}}[_nghost-%COMP%] .actions[_ngcontent-%COMP%]{gap:15px}#nwi-root.DCC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{gap:8px}[_nghost-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;padding-bottom:25px}#nwi-root.DCC [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{padding:10px 24px;border-top:1px solid #ccc}[_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{max-width:220px}#nwi-root.FCC23 [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{max-width:250px}#nwi-root.SKODA23 [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{max-width:250px}#nwi-root.DCC [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{max-width:250px}#nwi-root.CUPRA24 [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{max-width:250px}[_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{width:255px}@media(min-width:768px){[_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{width:320px}}#nwi-root.SKODA23 [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{width:100%}@media(min-width:768px){#nwi-root.SKODA23 [_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{width:auto}}[_nghost-%COMP%] .actions[_ngcontent-%COMP%] nwi-button[_ngcontent-%COMP%]{flex-grow:1}`],changeDetection:1});return t$12})();var e=class extends $$1{constructor(r){super(),this.data=r,this.type=W.GTM,this.name=`googleTagManagerEvent`}};var T={production:!0,developmentMode:!1,service_base_url:`https://cc.porscheinformatik.com`,stored_car_list_base_url:``,fccAdminServerUrl:`https://fcc-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://fcc-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://fcc.porscheinformatik.com`,base_url:`https://cc.porscheinformatik.com/`,fccBrandingPageFallback:!1,environment_origin:`prod`,googleTagManager:{js:`assets/js/gtm.js`}};var Pt=J(K$1({},T),{production:!1,developmentMode:!1,service_base_url:`https://qa-cc.porscheinformatik.com`,stored_car_list_base_url:``,fccAdminServerUrl:`https://qa-fcc-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://qa-fcc-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://qa-fcc.porscheinformatik.com`,base_url:`https://qa-cc.porscheinformatik.com/`,fccBrandingPageFallback:!1,environment_origin:`qa`});var Nt=J(K$1({},T),{production:!1,developmentMode:!1,service_base_url:`https://qa-cc2.porscheinformatik.com`,fccAdminServerUrl:`https://qa-fcc2-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://qa-fcc2-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://qa-fcc2.porscheinformatik.com`,stored_car_list_base_url:``,base_url:`https://qa-cc2.porscheinformatik.com/`,fccBrandingPageFallback:!1,environment_origin:`qa2`});var xt=J(K$1({},T),{production:!1,developmentMode:!1,service_base_url:`https://qa-fcc.porscheinformatik.com`,fccAdminServerUrl:`https://qa-fcc-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://qa-fcc-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://qa-fcc.porscheinformatik.com`,stored_car_list_base_url:`https://qa-fcc-watchlist-fe.porscheinformatik.com/`,base_url:`https://qa-fcc.porscheinformatik.com/`,fccBrandingPageFallback:!1,environment_origin:`qa`});var Ot={production:!0,developmentMode:!1,service_base_url:`https://fcc.porscheinformatik.com`,stored_car_list_base_url:`https://fcc-watchlist-fe.porscheinformatik.com/`,fccAdminServerUrl:`https://fcc-admin.porscheinformatik.com`,fccServerUrl:`https://fcc.porscheinformatik.com`,fccWatchlistServerUrl:`https://fcc-watchlist-fe.porscheinformatik.com`,base_url:`https://fcc.porscheinformatik.com/`,fccBrandingPageFallback:!1,environment_origin:`prod`,googleTagManager:{js:`assets/js/gtm.js`}};var Dt=J(K$1({},T),{production:!1,developmentMode:!1,fccAdminServerUrl:`https://qa-fcc-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://qa-fcc-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://qa-fcc.porscheinformatik.com`,service_base_url:`https://datentest-dcc.porscheinformatik.com`,stored_car_list_base_url:``,base_url:`https://datentest-dcc.porscheinformatik.com/`,environment_origin:`datentest`,fccBrandingPageFallback:!1});var Ft=J(K$1({},T),{production:!1,developmentMode:!1,fccAdminServerUrl:`https://qa-fcc-admin.porscheinformatik.com`,fccWatchlistServerUrl:`https://qa-fcc-watchlist-fe.porscheinformatik.com`,fccServerUrl:`https://qa-fcc.porscheinformatik.com`,service_base_url:`https://datentest-cc.porscheinformatik.com`,stored_car_list_base_url:``,base_url:`https://datentest-cc.porscheinformatik.com/`,environment_origin:`datentest`,fccBrandingPageFallback:!1});var Bt=(()=>{let t=class t{constructor(e,i,r){this.eventService=e,this.modalService=i,this.configurationService=r,this.handleEvent=()=>{let n=this.configurationService.theme,m$1=m.getModalConfig(n,a.ADAPT_CONFIG);return new N$2(p=>{this.modalService.load(Dt$1,m$1).then(_=>{_.instance.adaptedConfiguration.subscribe(A=>
35{p.next(A),p.complete()})})})},this.eventService.register(this.handleEvent,W.ADAPT_CONFIGURATION,`adapt`)}};t.ɵfac=function(i){return new(i||t)(ue(y),ue(yn$2),ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();var Gt=(()=>{let t$2=class t$1{constructor(e,i,r,n,m,p,_){this.configurationService=e,this.navigationService=i,this.router=r,this.title=n,this.meta=m,this.translateService=p,this._document=_}init(){Jm([this.configurationService.variant$,this.configurationService.configTO,this.translateService.get(`cc.title`)]).pipe(qu(([e,i,r])=>{this.translationTitle=r,e===Gt$2.CC&&(this.configTo=i)})).subscribe(()=>this.updateTitleAndMetaDescription()),this.configurationService.variant$.pipe(ut$1(e=>e===Gt$2.FCC)).subscribe(()=>this.updateTitleAndMetaDescription()),this.navigationService.active$.pipe(ut$1(e=>this.activeStep!==e)).subscribe(e=>{this.activeStep=e,this.updateTitleAndMetaDescription()}),Jm([this.navigationService.isBeforeNAV(t.EXTERIOR),this.navigationService.isBeforeNAV(t.AUV),this.navigationService.isAfterNAV(t.AUV),this.configurationService.storage.BNR,this.configurationService.storage.GRP]).pipe(ay((e,i)=>JSON.stringify(e)===JSON.stringify(i))).subscribe(([e,i,r,n,m])=>{let p=[tt$2.VW22].includes(this.configurationService.theme)&&this.navigationService.isCurrentNAV(t.MODEL_SELECT),_=[`qa`,`qa2`,`datentest`].includes(Mo$1.environment_origin),A=r||!!n||!!m;if(this.handleRobotMetaTags(p,_,A),!e)this.appendHref(this.generateUrlForNav(t.MODEL_SELECT));else if(i)this.appendHref(this.generateUrlForNav(t.MODELS));else{let w=this._document.querySelector(`link[rel="canonical"]`);w&&this._document.head.removeChild(w)}}),Jm([this.configurationService.variant$,this.configurationService.car$]).pipe(ut$1(([e,i])=>e===Gt$2.CC&&!!i.modelGroup)).subscribe(([e,i])=>{this.selectedModelGroup=i.modelGroup,this.selectedVariant=i.variant??i.modelGroup?.variants?.find(r=>r.code===i.model?.variantCode),this.updateTitleAndMetaDescription()})}handleRobotMetaTags(e,i,r){i||r&&!e?this.meta.addTag({name:`robots`,content:`noindex`}):this.meta.removeTag(`name=robots`)}appendHref(e){let i=this._document.createElement(`link`);i.setAttribute(`rel`,`canonical`),i.setAttribute(`href`,e);let r=this._document.querySelector(`link[rel="canonical"]`);r?r.setAttribute(`href`,e):this._document.head.appendChild(i)}generateUrlForNav(e){let i=this.configurationService.getCarConfigParams();return Mo$1.service_base_url+this.router.createUrlTree(this.navigationService.navigator.createAbsolutePath(e,i),{}).toString()}updateTitleAndMetaDescription(){if(!this.activeStep)this.doUpdateTitle();else if(this.activeStep===t.MODELS)this.doUpdateTitle(),this.doUpdateMeta();else if(this.selectedModelGroup){let e=`{ModelGroupName}`,i=!1;this.configTo?.pageTitleAfterModelGroup&&(e=this.configTo.pageTitleAfterModelGroup),![t.AUV].includes(this.activeStep)&&this.selectedVariant&&this.configTo?.pageTitleAfterVariant&&(e=this.configTo.pageTitleAfterVariant,i=!0),this.updateByTemplate(e,i)}}updateByTemplate(e,i){let r=this.selectedModelGroup,n=this.selectedVariant;i&&n&&(e=e.replace(`{VariantName}`,n.name)),r&&(e=e.replace(`{ModelGroupName}`,r.name)),this.title.setTitle(e),this.meta.updateTag({name:`description`,content:r.metaDescription||r.name})}doUpdateTitle(){this.configTo&&this.configTo.pageTitle?this.title.setTitle(this.configTo.pageTitle):this.title.setTitle(this.translationTitle)}doUpdateMeta(){let e;this.configTo&&this.configTo.metaDescription&&(e=this.configTo.metaDescription),e?this.meta.getTag(`name=description`)?this.meta.updateTag({name:`description`,content:e}):this.meta.addTag({name:`description`,content:e}):this.meta.removeTag(`name=description`)}};t$2.ɵfac=function(i){return new(i||t$2)(ue(YP),ue(as$1),ue(Ie$3),ue(Jw),ue(Qw),ue(G$3),ue(Lr))},t$2.ɵprov=Y$1({token:t$2,factory:t$2.ɵfac,providedIn:`root`});return t$2})();var qt=(()=>{let t=class t{constructor(e){this.configurationService=e,this.subscriptions=[]}init(){this.configurationService.app$.pipe(Mn$2(1)).subscribe(e=>{e.country===sl$1.AT&&this.initSpecialTaxLogicAT()})}
35ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}initSpecialTaxLogicAT(){this.subscriptions.push(this.configurationService.configTO.subscribe(e=>{if(e.specialTaxSwitchConfig){this.defaultSpecialTaxCalculationMethods=e.specialTaxSwitchConfig.defaultSpecialTaxCalculationMethods;let i=e.specialTaxSwitchConfig.specialTaxCalculationMethods,r=this.configurationService.storage.specialTaxCalculationMethod.value;(!r||!i.includes(r))&&this.defaultSpecialTaxCalculationMethods&&this.configurationService.storage.specialTaxCalculationMethod.next(this.defaultSpecialTaxCalculationMethods)}}))}};t.ɵfac=function(i){return new(i||t)(ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();var $t=(()=>{let t=class t{constructor(e,i){this.eventService=e,this.modalService=i,this.handleEvent=()=>{let r=m.transparentCenteredConfig();return new N$2(n=>{this.modalService.load(B$1,r).then(m=>{m.instance.ctmWarning.subscribe(p=>{n.next(p),n.complete()})})})},this.eventService.register(this.handleEvent,W.CTM_WARNING,`ctm-warning`)}};t.ɵfac=function(i){return new(i||t)(ue(y),ue(yn$2))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();var Wt=(()=>{let t=class t extends L$2{constructor(e,i,r){super(e,i),this.config=e,this.http=i,this.configurationService=r}init(){this.configurationService.events.subscribe(e=>this.handleEvent(e))}handleEvent(e){if(e.type===W.SERVER_TRACKING){let i=e;this.sendTrackingEvent(i.data.eventName,i.data.overrideParams)}}sendTrackingEvent(e,i){if(this.configurationService.variant!==Gt$2.CC)return;let n=K$1(K$1({},this.configurationService.getCarConfigParams()),i);n.model?this.sendModelTrackingEvent(e,n):this.sendModelGrpTrackingEvent(e,n)}sendModelTrackingEvent(e,i){let r=this.rootUrl+`/trackKpi/${i.brand}/${i.model}/${i.exterior}/${i.interior}/${i.equipments}/${i.accessories}`;this.sendTrackingRequest(r,e,i)}sendModelGrpTrackingEvent(e,i){let r=this.rootUrl+`/trackKpi/${i.brand}/${i.mg}`;this.sendTrackingRequest(r,e,i)}sendTrackingRequest(e,i,r){this.http.get(e,{params:this.getUrlParams(r,i)}).pipe(Mn$2(1)).subscribe(()=>{})}getUrlParams(e,i){let r=this.newParams();return r=r.set(`event`,i),r=e.bnr?r.set(`bnr`,e.bnr.toString()):r,r}};t.ɵfac=function(i){return new(i||t)(ue(B$2),ue(U$2),ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();var ie=(()=>{let t=class t{constructor(e,i){this.configurationService=e,this.kpiService=i,this.configurationService.events.subscribe(r=>this.handleEvent(r))}handleEvent(e){if(e.type===W.KPI_TRACKING){let i=e,r=this.configurationService.getCarConfigParams().bnr;r&&(i.data.bnr=r),this.kpiService.trackKpiUsingGET(i.data.brand,i.data.shortDescription,i.data.longDescription).pipe(Mn$2(1)).subscribe(n=>{console.debug(`track Kpi: `,i.data)})}}};t.ɵfac=function(i){return new(i||t)(ue(YP),ue(ou$1))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();function Li(o,t){if(o&1){let a=qT();rs$1(0,`div`,0),NC(1),rs$1(2,`nwi-button`,1),Tg(`click`,function(){Rd$1(a);return Od$1(JT().goto())}),NC(3),KC(4,`translate`),Jl$1()()}if(o&2){let a=JT();nD(),ru$1(` `,a.error.message,` `),nD(2),Bg(XC(4,2,`cc.errorpage.redirectinfo`))}}var Ht=(()=>{let t$4=class t$3{constructor(e,i,r,n,m){this.errorService=e,this.navigationService=i,this.configurationService=r,this.activatedRoute=n,this.ngZone=m,this.showError=!1,this.subscriptions=new Q$1}ngOnInit(){this.subscriptions.add(this.errorService.error.pipe(ay((e,i)=>JSON.stringify(e)===JSON.stringify(i))).subscribe(e=>{let i=this.configurationService.variant,r=this.navigationService.activeNav;this.showError=e&&![Gt$2.CC,Gt$2.FCC].includes(i),this.error=e,!(!e||[t.UNAVAILABLE,t.ERROR].includes(r))&&(i===Gt$2.CC?this.ngZone.run(()=>{this.navigationService.goto(t.ERROR,this.configurationService.getCarConfigParams())}):i===Gt$2.FCC&&this.ngZone.run(()=>{this.navigationService.goto(t.ERROR)}))}))}ngOnDestroy(){this.subscriptions.unsubscribe()}goto(){this.ngZone.run(()=>{let e=this.configurationService.app,i=this.activatedRoute.snapshot.queryParams;this.navigationService.goToApp(e.brand,e.theme,t.MODELS,{},i)})}};t$4.ɵfac=function(i){return new(i||t$4)(oo$1(_$3),oo$1(as$1),oo$1(YP),oo$1(G$2),oo$1(V$1
35))},t$4.ɵcmp=Ow({type:t$4,selectors:[[`ng-component`]],decls:1,vars:1,consts:[[1,`error`],[1,`-outline`,3,`click`]],template:function(i,r){i&1&&kT(0,Li,5,4,`div`,0),i&2&<(r.showError?0:-1)},dependencies:[Gr$2,gC,p],styles:[`@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}[_nghost-%COMP%] .error[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:10px;text-align:center;background-color:#fff}[_nghost-%COMP%] nwi-button[_ngcontent-%COMP%]{margin-top:30px;padding:0 25px}`],changeDetection:1});return t$4})();var E=class{};function ji(o,t){o&1&&Eg(0)}var Kt=(()=>{let t$6=class t$5{constructor(e,i,r,n,m,p,_,A,w,ai,ni,si,ci,li,mi,di,pi,fi,hi,ui,vi,gi,Oi,Si,Ci){this.configurationService=i,this.breakpointService=r,this.adaptConfigurationService=n,this.ctmWarningService=m,this.modalService=p,this.translateService=_,this.navigationService=A,this.meta=w,this.cookieService=ai,this.injector=ni,this.urlResolver=si,this.searchEngineOptimizationService=ci,this.serverSideTrackingService=li,this.kpiTrackingService=mi,this.specialTaxDefaultService=di,this.loaderService=pi,this.router=fi,this.unavailableService=hi,this.viewContainerRef=ui,this.feasibilityCheckerService=vi,this.modelService=gi,this._document=Si,this.window=Ci,this.title=`cc`,this.classBinding=``,this.ErrorComponent=Ht,this.modelService.init(),this.element=e.nativeElement}ngOnInit(){this.router.events.pipe(ut$1(e=>e instanceof ie$3&&e.url.includes(t.UNAVAILABLE))).subscribe(()=>this.unavailableService.sendBrowserRefresh(!this.router.navigated)),window.performance.mark(`onInit_AppComponent`),this.readEnvironmentMetaInformation(),this.urlResolver.resolve(),this.searchEngineOptimizationService.init(),this.specialTaxDefaultService.init(),this.loadTrackingGoogleScript(),this.serverSideTrackingService.init(),this.configurationService.storage.appViewContainerRef$.next(this.viewContainerRef),Jm([this.configurationService.app$,this.breakpointService.active$]).subscribe(([e,i])=>this.updateAppStyles(e,i)),this.configurationService.theme$.pipe(ay()).subscribe(e=>this.setFaviconForTheme(e)),this.breakpointService.init(this.element),this.configurationService.variant!==Gt$2.DCC&&(this._document.body.style.overflowY=`scroll`)}ngAfterViewInit(){this.configurationService.configTO.pipe(Mn$2(1)).subscribe(e=>{e.dcc||setTimeout(()=>this.cookieService.loadOneTrustScript(e),5e3)}),this.configurationService.app$.pipe(Mn$2(1)).subscribe(e=>{e.variant===Gt$2.CC&&Mo$1.production&&this.loaderService.loadScript(`https://try.abtasty.com/be1d33b5e3b02c728a70d53642bba4a4.js`,!1,!1,!1)})}updateAppStyles(e,i){this.classBinding=[e.theme||``,e.country||``,`variant-${e.variant||``}`,`brand-${e.brand||``}`,this.getActiveBreakpointClasses(i)].join(` `)}getActiveBreakpointClasses(e){return e===null?`XXS`:Object.keys(Ht$2).filter(i=>e>=Ht$2[i]).reduce((i,r)=>`${i} ${r}`.trim(),``)}setFaviconForTheme(e){let i=new Map([[`js-cc-favicon`,`/favicon.ico`],[`js-cc-favicon-16`,`/favicon16.png`],[`js-cc-favicon-32`,`/favicon32.png`],[`js-cc-favicon-ios`,`/apple-touch-icon.png`]]);
35e&&this._document&&i.forEach((r,n)=>{let m=this._document.getElementById(n);m?m.setAttribute(`href`,`/assets/images/`+e+r):console.error(`CC favicon element missing!`)})}readEnvironmentMetaInformation(){let e=this.meta.getTag(`name=env`);if(e&&e.content){let r=e.content.split(`,`);r.indexOf(`prod`)>-1?Object.assign(Mo$1,T):r.indexOf(`prod-fcc`)>-1?Object.assign(Mo$1,Ot):r.indexOf(`qa2`)>-1?Object.assign(Mo$1,Nt):r.indexOf(`qa`)>-1?Object.assign(Mo$1,Pt):r.indexOf(`qa-fcc`)>-1?Object.assign(Mo$1,xt):r.indexOf(`datentest-dcc`)>-1?Object.assign(Mo$1,Dt):r.indexOf(`datentest`)>-1&&Object.assign(Mo$1,Ft)}else if(Mo$1.environment_origin!==`prod`){let n=this.window.location.href.match(/\/([df]?cc-[a-z]{2})\/([a-z]{2}_[A-Z]{2}_[A-Z0-9]*_?[A-Z]*)\/([A-Z])/),m=n?n[1].split(`-`)[0].toLowerCase():null;(n[1]===`dcc-it`||n[1]===`dcc-se`)&&(m=`okapi-dcc`),this.setDevBackendUrlsForEnvironment(Mo$1.environment_origin,m)}let i=this.meta.getTag(`name=server`);i&&i.content&&(Mo$1.service_base_url=i.content)}setDevBackendUrlsForEnvironment(e,i){e&&i&&(console.log(`init dev environment with`,e,i),Mo$1.service_base_url=Mo$1.service_base_url.replace(`cc`,i),Mo$1.base_url=Mo$1.base_url.replace(`cc`,i),Mo$1.stored_car_list_base_url=Mo$1.stored_car_list_base_url.replace(`cc`,i))}loadTrackingGoogleScript(){this.configurationService.storage.noTracking.value}};t$6.ɵfac=function(i){return new(i||t$6)(oo$1(Jr$1),oo$1(YP),oo$1(Qo$1),oo$1(Bt),oo$1($t),oo$1(yn$2),oo$1(G$3),oo$1(as$1),oo$1(Qw),oo$1(wl$1),oo$1(De$1),oo$1(b),oo$1(Gt),oo$1(Wt),oo$1(ie),oo$1(qt),oo$1(E$1),oo$1(Ie$3),oo$1(f),oo$1(ms$1),oo$1(SA),oo$1(ce),oo$1(E),oo$1(Lr),oo$1(Window))},t$6.ɵcmp=Ow({type:t$6,selectors:[[`cc-root`]],hostVars:2,hostBindings:function(i,r){i&2&&yC(r.classBinding)},decls:2,vars:1,consts:[[4,`ngComponentOutlet`]],template:function(i,r){i&1&&(mg(0,`router-outlet`),tg(1,ji,1,0,`ng-container`,0)),i&2&&(nD(),gg(`ngComponentOutlet`,r.ErrorComponent))},dependencies:[sr$2,Ad$1],encapsulation:2,changeDetection:1});return t$6})();function de(o,t){if([tt$2.CUPRA24].includes(t))return`CUPRA`;if(o===rl$1.VW)return`Volkswagen`;if(o===rl$1.LNF)return`VW Commercial Vehicles`;let a=Object.keys(rl$1).find(e=>rl$1[e]===o);return a?a.charAt(0).toUpperCase()+a.slice(1):void 0}var re=class{constructor(t){this._dataLayer=K$1({},t)}build(){return J(K$1({},this._dataLayer),{platform:`configurator`})}merge(t){this._dataLayer=K$1(K$1({},this._dataLayer),t)}addModelGroup(t){let a=t.modelGroup;if(!a){this._dataLayer.carModelGroup=null,this._dataLayer.carModelGroupId=null,this._dataLayer.carCategory=null;return}this._dataLayer.carModelGroup=a.name,this._dataLayer.carModelGroupId=a.code,this._dataLayer.carCategory=a.categories&&a.categories[0]?a.categories[0].toLowerCase():null}addEquipments(t){let a=t.equipments;if(!a){this._dataLayer.carExtras=null;return}this._dataLayer.carExtras=[];for(let e of a)this._dataLayer.carExtras.push({name:e.title,category:e.categories?.join(`, `),price:e.price?.gross,netPrice:e.price?.net,code:e.code})}addCarlosCodes(t){let a=t.model;if(!a){this._dataLayer.carlosCodes=null;return}this._dataLayer.carlosCodes={carDriveKey:a.transmissionType,carGearCode:a.gear?.code,carFuelKey:a.fuelKey,carModelLineCode:a.variantCode,carBaseColorCode:t.exterior?.baseColorCode,carRimCode:t.wheel?.code,carSeatcoverCode:t.interior?.code}}addAccessories(t){let a=t.accessories;if(!a){this._dataLayer.carAccessories=null;return}this._dataLayer.carAccessories=[];for(let e of a)this._dataLayer.carAccessories.push({name:e.description,category:e.categories?.join(`, `),price:e.price?.gross,netPrice:e.price?.net,code:e.code})}addModel(t,a){let e=t.model;if(!e){this._dataLayer.currency=null,this._dataLayer.carCode6=null,this._dataLayer.carCode8=null,this._dataLayer.carBrand=null,this._dataLayer.carModel=null,this._dataLayer.carModelLine=null,this._dataLayer.carModelPrice=null,this._dataLayer.carModelPriceNet=null,this._dataLayer.carFuel=null,this._dataLayer.carElectro=null,this._dataLayer.carDrive=null,this._dataLayer.carGear=null,this._dataLayer.carColor=null,this._dataLayer.carColorName=null,this._dataLayer.carRim=null,this._dataLayer.carSeatcover=null,this._dataLayer.carAccessories=null,this._dataLayer.carExtrasPrice=null,this._dataLayer.carExtrasNetPrice=null,this._dataLayer.carTotalPrice=null,this._dataLayer.carTotalNetPrice=null,this._dataLayer.carImageUrl=null,this._dataLayer.smallCarImageUrl=null,this._dataLayer.carConfiguratorUrl=null;return}this._dataLayer.currency=e?.price?.currency,this._dataLayer.carCo
35de6=e.code.slice(0,6),this._dataLayer.carCode8=e.code,this._dataLayer.carBrand=de(e.brand,a.theme),this._dataLayer.carModel=e.description,this._dataLayer.carModelGroup=e.modelGroupDescription,this._dataLayer.carModelGroupId=e.modelGroupCode,this._dataLayer.carCategory=e.categories?.join(`, `),this._dataLayer.carModelLine=e.variantDescription,this._dataLayer.carModelPrice=e.price?.list?.gross,this._dataLayer.carModelPriceNet=e.price?.list?.net,this._dataLayer.carFuel=e.fuel,this._dataLayer.carElectro=e.emission?.electro,this._dataLayer.carDrive=e.wheelDriveType,this._dataLayer.carGear=e.gear?.name,this._dataLayer.carColor=t.exterior?.logbookColor,this._dataLayer.carColorName=t.exterior?.description,this._dataLayer.carRim=t.wheel?.title,this._dataLayer.carSeatcover=t.interior?.description,this._dataLayer.carExtrasPrice=e.price?.equipmentTotal?.gross,this._dataLayer.carExtrasNetPrice=e.price?.equipmentTotal?.net,this._dataLayer.carTotalPrice=e.price?.totalWithoutRebate?.gross,this._dataLayer.carTotalNetPrice=e.price?.totalWithoutRebate?.net,this._dataLayer.carImageUrl=e.hdImageUrl,this._dataLayer.smallCarImageUrl=e.smallImageUrl,this._dataLayer.carConfiguratorUrl=window.location.href}addDealer(t){t&&(this._dataLayer.dealerName=t.name,this._dataLayer.dealerId=t.bnr,t.geo&&(this._dataLayer.dealerPostcode=t.geo.zip,this._dataLayer.dealerRegion=t.geo.federalState,this._dataLayer.dealerLocation=t.geo.city),this._dataLayer.dealerCountry=this._dataLayer.country,t.group&&(this._dataLayer.dealerGroup=t.group.groupName),this._dataLayer.dealerPia=t.pia,t.pia&&(this._dataLayer.dealerPiaGroup=this._dataLayer.dealerGroup))}};var oe=(()=>{let t$8=class t$7{constructor(e){this.navigationService=e,Jm([this.navigationService.active$,this.navigationService.queryParams$,this.navigationService.navigator.navOrder$]).subscribe(([i,r,n])=>{this.activeNav=i,this.navOrder=n,this.queryParams=r})}resolve(){return{dataLayer:{event:`funnel-step`,pageType:this.activeNav===t.DETAIL?t$7.RESULT_PAGE_TYPE:`Configurator`,funnelStep:this.navOrder?this.navOrder.indexOf(this.activeNav)+1:0,funnelStepName:this.activeNav,funnelLength:this.navOrder?this.navOrder.length:-1,funnelSource:this.queryParams?.funnelSource}}}};t$8.RESULT_PAGE_TYPE=`Configurator result`,t$8.ɵfac=function(i){return new(i||t$8)(ue(as$1))},t$8.ɵprov=Y$1({token:t$8,factory:t$8.ɵfac,providedIn:`root`});return t$8})();var Zt=(()=>{let t=class t extends f$1{constructor(e,i,r,n){super(),this.googleTagManager=e,this.funnelTrackingMetadataResolver=i,this.configurationService=r,this.dealerService=n}doTrack(e){return sr$1(this,null,function*(){e=Object.freeze(e);let i=this.funnelTrackingMetadataResolver.resolve();if(!i||Object.keys(i).length===0)return;e instanceof C$4&&i.dataLayer.pageType===oe.RESULT_PAGE_TYPE&&(i.dataLayer.configId=yield yy(this.configurationService.storage.offerNr.pipe(ut$1(n=>!!n),Mn$2(1))));let r=yield this._buildDataLayer(e,i);return yield this.googleTagManager.track(r)})}_buildDataLayer(e,i){return sr$1(this,null,function*(){let r=yield yy(this.configurationService.app$.pipe(Mn$2(1))),n=yield yy(this.configurationService.car$.pipe(Mn$2(1))),m=yield yy(this.configurationService.variant$.pipe(Mn$2(1))),p=new re({platform:`configurator`,language:`${r?.language?.toString()}`,brand:`${de(r.brand,r.theme)}`,country:`${r?.country?.toString()}`,pageType:i?.dataLayer?.pageType,environment:Mo$1.production?`live`:`test`,funnel:m===Gt$2.DCC?`Dealer Car Configurator`:m===Gt$2.FCC?`Fleet Car Configurator`:`Car Configurator`,event:e.eventName,element:e.elementId||void 0,details:e.parameters[0]?e.parameters[0]:void 0,details2:e.parameters[1]?e.parameters[1]:void 0,context:e.context});i.dataLayer.funnelStep>0&&(p.addModelGroup(n),p.addModel(n,r),p.addEquipments(n),p.addCarlosCodes(n),p.addAccessories(n));let _=e.dealerId?e.dealerId:this.configurationService.storage.BNR.getValue(),A=this.configurationService.storage.GRP.getValue();if(_||A){let w=_?yield yy(this.dealerService.getDealer(_,r.brand).pipe(Mn$2(1))):yield yy(this.dealerService.getMainDealer(A,r.brand).pipe(Mn$2(1)));p.addDealer(w)}
35return i.dataLayer&&e instanceof C$4&&p.merge(i.dataLayer),e.dataLayer&&p.merge(e.dataLayer),p.build()})}};t.ɵfac=function(i){return new(i||t)(ue(xl$1),ue(oe),ue(YP),ue(G))},t.ɵprov=Y$1({token:t,factory:t.ɵfac});return t})();var zt=(()=>{let t=class t extends E{constructor(e$1,i){super(),this.trackingEvents=e$1,this.configurationService=i,this.subscription=this.configurationService.events.pipe(ut$1(r=>r instanceof e)).subscribe(r=>{try{let n=new E$2(`cc:event`);n.elementId=r.data.element||void 0,n.eventName=r.data.eventName||void 0,n.parameters=r.data.parameters||[],n.context=r.data.context,n.dealerId=r.data.dealerId,setTimeout(()=>{this.trackingEvents.publish(n)})}catch(n){console.error(`error sending event`)}})}};t.ɵfac=function(i){return new(i||t)(ue(N$4),ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac});return t})();var Yt=(()=>{let t=class t extends E{constructor(e,i){super(),this.router=e,this.trackingEvents=i,this.subscription=this.router.events.pipe(ut$1(r=>r instanceof H)).subscribe(r=>{let n=new C$4(`router:navigation`,r.urlAfterRedirects),m=this.router.routerState.snapshot.root.queryParams.BNR;m&&(n.dealerId=m),setTimeout(()=>{this.trackingEvents.publish(n)})})}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}};t.ɵfac=function(i){return new(i||t)(ue(Ie$3),ue(N$4))},t.ɵprov=Y$1({token:t,factory:t.ɵfac});return t})();var Xt=(()=>{let t=class t{constructor(e,i,r){this.navigationService=e,this.window=i,this.configurationService=r,this.redirectPending=!1,this.configurationService.app$.subscribe(n=>{this.rootUrl=n.rootUrl(),this.storedCarUrl=n.storedCarUrl(),this.variant=n.variant,n.variant===Gt$2.DCC&&(t.redirectTargetHeaderName=`Referer`)})}intercept(e,i){return!e.url.startsWith(this.rootUrl)&&!(e.url.startsWith(this.storedCarUrl)&&e.url.indexOf(`/storedcar/`)>0)?i.handle(e):(e=this.apply(e),i.handle(e).pipe(Pe$1(r=>r),Qu$1(r=>{if((r.status===401||r.status===403)&&r.headers.get(`Location`)){let n=r.headers.get(`Location`);if(n=n.replace(`8090`,`4200`),console.log(`catchError in AuthInterceptor`,r,n,this.redirectPending,this.window.location.href),!this.redirectPending){this.redirectPending=!0;let m=`${this.rootUrl}/user/logon`,p=this.window.location.href;this.window.location.href=`${m}?target_url=${encodeURIComponent(p)}`}}return Ws$1(()=>r)})))}apply(e){return e.clone({withCredentials:!0})}};t.redirectTargetHeaderName=`target_url`,t.ɵfac=function(i){return new(i||t)(ue(as$1),ue(Window),ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac});return t})();var Jt=(()=>{let t$10=class t$9{constructor(e,i){this.navigationService=e,this.window=i,this.redirectPending=!1}intercept(e,i){return this.isAliveUrl(e.url)?i.handle(e).pipe(Qu$1(()=>{this.redirectPending||(this.redirectPending=!0,this.navigationService.goto(t.UNAVAILABLE));let r=new Error(`Application unavailable`);return Ws$1(()=>r)})):i.handle(e)}isAliveUrl(e){return t$9.isAliveUrls.find(i=>e.includes(i))!==void 0}};t$10.isAliveUrls=[`/config/`,`/features/`,`/all-messages`],t$10.ɵfac=function(i){return new(i||t$10)(ue(as$1),ue(Window))},t$10.ɵprov=Y$1({token:t$10,factory:t$10.ɵfac,providedIn:`root`});return t$10})();var Qt=(()=>{let t=class t{constructor(e,i){this.navigationService=e,this.configurationService=i,this.configurationService.app$.subscribe(r=>{this.rootUrl=r.rootUrl(),this.storedCarUrl=r.storedCarUrl()})}static removeParam(e,i){return e&&i&&e.delete(i),e}static setOrRemoveIfEmptyParameter(e,i,r){return!e||!i||(r==null?e=e.delete(i):e.get(i)?e=e.set(i,r.toString()):e=e.append(i,r.toString())),e}intercept(e,i){if(this.isCCUrl(e)){let r=new Yt$2({fromString:e.params.toString()});r=t.setOrRemoveIfEmptyParameter(r,`cat`,this.configurationService.storage.category.getValue()),r=t.setOrRemoveIfEmptyParameter(r,`rebate`,this.configurationService.storage.discount.getValue()),r=t.setOrRemoveIfEmptyParameter(r,`specialTaxCalculationMethod`,this.configurationService.storage.specialTaxCalculationMethod.getValue()),this.configurationService.storage.noBuildability.getValue()&&(r=t.setOrRemoveIfEmptyParameter(r,`noBuildability`,`true`)),this.configurationService.storage.subBrands.getValue()&&(r=t.setOrRemoveIfEmptyParameter(r,`subBrand`,this.configurationService.storage.subBrands.getValue().toString())),Yn.isCypressTestProd()&&(r=t.setOrRemoveIfEmptyParameter(r,`youShallNotPass`,`true`)),r=t.removeParam(r,`category`),r=t.removeParam(r,`discount`);let n=e.clone({params:r});return i.handle(n)}return i.handle(e)}isCCUrl(e){let i=e.url;if(i){if(this.isBlacklisted(i))return!1;if(this.rootUrl&&i.startsWith(this.rootUrl)||this.storedCarUrl&&i.startsWith(this.storedCarUrl)&&i.indexOf(`/storedcar/`)>0)return!0}return!1}isBlacklisted(e){return t.blackListUrls.find(i=>e.includes(i))!==void 0}};t.blackListUrls=[`/config/`,`/features/`,`/all-messages`,`/wcping/`,`/isAlive/`,`/user/`,`/user/session/`],t.ɵfac=function(i){return new(i||t)(ue(as$1),ue(YP))},t.ɵprov=Y$1({token:t,factory:t.ɵfac,providedIn:`root`});return t})();var Ui=`@`;var Pi=(()=>{class o{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;
35scheduler=null;injector=v(De$1);loadingSchedulerFn=v(Ni,{optional:!0});_engine;constructor(a,e,i,r,n){this.doc=a,this.delegate=e,this.zone=i,this.animationType=r,this.moduleImpl=n}ngOnDestroy(){this._engine?.flush()}loadImpl(){let a=()=>this.moduleImpl??import(`./chunk-CpQW6X7_.js`).then(i=>i),e;return this.loadingSchedulerFn?e=this.loadingSchedulerFn(a):e=a(),e.catch(i=>{throw new _$2(5300,!1)}).then(({ɵcreateEngine:i,ɵAnimationRendererFactory:r})=>{this._engine=i(this.animationType,this.doc);let n=new r(this.delegate,this._engine,this.zone);return this.delegate=n,n})}createRenderer(a,e){let i=this.delegate.createRenderer(a,e);if(i.ɵtype===0)return i;typeof i.throwOnSyntheticProps==`boolean`&&(i.throwOnSyntheticProps=!1);let r=new pe(i);return e?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(n=>{let m=n.createRenderer(a,e);r.use(m),this.scheduler??=this.injector.get(He$2,null,{optional:!0}),this.scheduler?.notify(10)}).catch(n=>{r.use(i)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(a){this._engine?.flush(),this.delegate.componentReplaced?.(a)}static ɵfac=function(e){KD()};static ɵprov=Y$1({token:o,factory:o.ɵfac})}return o})();var pe=class{delegate;replay=[];ɵtype=1;constructor(t){this.delegate=t}use(t){if(this.delegate=t,this.replay!==null){for(let a of this.replay)a(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,a){return this.delegate.createElement(t,a)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,a){this.delegate.appendChild(t,a)}insertBefore(t,a,e,i){this.delegate.insertBefore(t,a,e,i)}removeChild(t,a,e,i){this.delegate.removeChild(t,a,e,i)}selectRootElement(t,a){return this.delegate.selectRootElement(t,a)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,a,e,i){this.delegate.setAttribute(t,a,e,i)}removeAttribute(t,a,e){this.delegate.removeAttribute(t,a,e)}addClass(t,a){this.delegate.addClass(t,a)}removeClass(t,a){this.delegate.removeClass(t,a)}setStyle(t,a,e,i){this.delegate.setStyle(t,a,e,i)}removeStyle(t,a,e){this.delegate.removeStyle(t,a,e)}setProperty(t,a,e){this.shouldReplay(a)&&this.replay.push(i=>i.setProperty(t,a,e)),this.delegate.setProperty(t,a,e)}setValue(t,a){this.delegate.setValue(t,a)}listen(t,a,e,i){return this.shouldReplay(a)&&this.replay.push(r=>r.listen(t,a,e,i)),this.delegate.listen(t,a,e,i)}shouldReplay(t){return this.replay!==null&&t.startsWith(Ui)}};var Ni=new S$1(``);function ei(o=`animations`){return Ie$2(`NgAsyncAnimations`),ri$2([{provide:Qr$1,useFactory:()=>new Pi(v(Lr),v(Pr),v(V$1),o)},{provide:Tv,useValue:o===`noop`?`NoopAnimations`:`BrowserAnimations`}])}function fe(o,t){return o.some(a=>t.some(e=>a.path.endsWith(e)))}function ti(o,t,a){return fe(t.segments,[`_DCC`,`_DCC26`,`_BCC`,`_CCC`,`_FCC`,`_FCC23`])?null:{consumed:[]}}function ii(o,t,a){return fe(t.segments,[`_DCC`,`_BCC`,`_CCC`,`_DCC26`])?{consumed:[]}:null}function ri(o,t,a){return fe(t.segments,[`_FCC`,`_FCC23`])?{consumed:[]}:null}var oi=[{path:`:appContext/:langThemeApp/:brand`,children:[{matcher:ti,loadChildren:()=>import(`./chunk-DyycXkrJ.js`).then(o=>o.CC_CONFIGURATOR_ROUTES)},{matcher:ii,loadChildren:()=>import(`./chunk-Bxvqs7Cw.js`).then(o=>o.DCC_CONFIGURATOR_ROUTES)},{matcher:ri,loadChildren:()=>import(`./chunk-Dl76Jkwq2.js`).then(o=>o.FCC_CONFIGURATOR_ROUTES)}],resolve:[b]},{path:`fcc-at/**`,redirectTo:`/fcc-at/de_AT_FCC23/E/models`},{path:`dcc-at/**`,redirectTo:`/dcc-at/de_AT_DCC/V/models`},{path:`**`,redirectTo:`/cc-at/de_AT_VW22/V/models`}];function xi(o){let t=o.head.querySelector(`meta[name="branding-template"]`);return t&&t.getAttribute(`content`)===`true`}Mo$1.developmentMode;window.performance.mark(`bootstrapping_angular`);Su$1(Kt,{providers:[sV(),Dd$1(Lu$1,ov),Oo$1(oi),ei(),{provide:Window,useValue:window},{provide:nt$1,useClass:et},{provide:`brandingTemplate`,useFactory:xi,deps:[Lr]},{provide:da$1,useValue:Mo$1.production?void 0:`/`},{provide:ea$1,useClass:Qt,multi:!0},{provide:ea$1,useClass:Jt,multi:!0},{provide:ea$1,useClass:Xt,multi:!0},{provide:E,useClass:Yt,multi:!0},{provide:E,useClass:zt,multi:!0},{provide:f$1,useClass:Zt,multi:!0},wl$1,vA,ie,N$3,N$5,El$1(Al$1(),Sl$1())]}).then(()=>window.performance.mark(`bootstrapping_angular_done`)).catch(o=>console.log(o));export{C as a,y as c,SA as d,vA as f,f as h,ie$1 as i,B$1 as l,xl$1 as m,Dt$1 as n,ce as o,wl$1 as p,R as r,G as s,e as t,b as u};
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.