vendor: 4,653 bytes, line 1
1import{a as C,b as Y,c as yi,d as ir,e as Ee,f as yt,g as $e}from"./chunk-WASH4JYL.js";import{b as Ci,c as Ni,d as Ai}from"./chunk-UMWIWTRL.js";import"./chunk-LMOGIK2J.js";import"./chunk-WHA7BCDH.js";import"./chunk-PIR67QSY.js";import"./chunk-JFKXTGU3.js";import{a as ve,b as gi,c as bi,d as nr,e as xt,f as gt,g as bt}from"./chunk-FQV3YSWA.js";import"./chunk-FZ3Z44LB.js";import"./chunk-IN3VEMBL.js";import"./chunk-GAQSURR6.js";import"./chunk-5PGW6P4A.js";import{a as _e,b as mt}from"./chunk-2YHUYNCF.js";import"./chunk-YIENNKOL.js";import{c as _i,g as Ei}from"./chunk-U5LHJUTF.js";import{b as wi}from"./chunk-GQZM7SIZ.js";import"./chunk-YXF27KFF.js";import"./chunk-4X2TMMYR.js";import{B as Si,C as Ti}from"./chunk-DKD7YC7B.js";import{a as mi,b as pt,c as xi}from"./chunk-MGGDP7BY.js";import"./chunk-Z5TDZRP3.js";import"./chunk-C36OD5NO.js";import{d as oi,e as ci,g as li,h as ui,i as fi,l as di,m as pi}from"./chunk-U2FOBR4W.js";import{a as hi}from"./chunk-WJZFZ2RK.js";import{k as de}from"./chunk-LM6BGULH.js";import"./chunk-W6UQFIIC.js";import"./chunk-GOFYIOLX.js";import{c as si}from"./chunk-WDAY2MXF.js";import{a as ei,b as V,c as ti}from"./chunk-JH4DGLAR.js";import"./chunk-SSFQLSAJ.js";import{a as Pn,b as Fn,c as qn,d as Hn,h as Gn,i as $n,j as Kn,l as Wn,n as Qn,o as Xn,r as Jn,s as Yn,t as Zn}from"./chunk-SGHLWUR7.js";import{a as j}from"./chunk-JMZPCFYQ.js";import{a as W,c as ri,e as Ge,g as ni,h as ii,i as ai}from"./chunk-QNTHF4YA.js";import"./chunk-HEQTRXQ3.js";import"./chunk-JCFZDGYA.js";import{a as vi}from"./chunk-VILIE2GY.js";import{d as Bn,f as ht,g as Un,h as jn,i as Vn,j as zn}from"./chunk-JJJH4M7G.js";import{Ea as Rn,Fa as In,U as ut,a as An,d as Mn,ea as kn,h as Dn,i as rr,j as Ln,ua as ft,wa as On,ya as dt}from"./chunk-J6HS7K5Z.js";import{$ as M,$c as ot,Ab as mn,Ac as Sn,Bc as Tn,Cb as at,Cc as wn,D as an,Da as ln,Fd as ct,Gb as xn,Gc as ze,Gd as lt,Ha as Be,Jb as gn,Jd as tr,Ka as Qt,Kb as bn,Lc as Cn,O as sn,Oa as un,Ob as yn,Pb as st,Qa as fn,Wb as vn,Xb as ke,Y as on,Zb as Oe,_c as Yt,ac as Ue,bc as je,ca as D,cc as oe,dc as ie,eb as dn,ec as ce,fa as He,fc as Ve,ga as be,ha as y,hb as Me,hd as Zt,ia as nt,ja as cn,jc as _n,jd as er,kc as En,lc as ae,mb as De,nb as Xt,nd as Nn,q as nn,qb as hn,ra as ye,rb as pn,sa as ne,ua as it,uc as Jt,wb as Le,wc as U}from"./chunk-TMZLV3BB.js";import{a as ge,b as Kt,e as Wt,g as X,i as Is,l as x}from"./chunk-FPO36RWJ.js";var Ut=X((Pr,Fa)=>{(function(r,e){"use strict";typeof define=="function"&&define.amd?define("stackframe",[],e):typeof Pr=="object"?Fa.exports=e():r.StackFrame=e()})(Pr,function(){"use strict";function r(d){return!isNaN(parseFloat(d))&&isFinite(d)}function e(d){return d.charAt(0).toUpperCase()+d.substring(1)}function t(d){return function(){return this[d]}}var n=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],a=["fileName","functionName","source"],s=["args"],o=["evalOrigin"],c=n.concat(i,a,s,o);function l(d){if(d)for(var h=0;h<c.length;h++)d[c[h]]!==void 0&&this["set"+e(c[h])](d[c[h]])}l.prototype={getArgs:function(){return this.args},setArgs:function(d){if(Object.prototype.toString.call(d)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=d},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(d){if(d instanceof l)this.evalOrigin=d;else if(d instanceof Object)this.evalOrigin=new l(d);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var d=this.getFileName()||"",h=this.getLineNumber()||"",m=this.getColumnNumber()||"",g=this.getFunctionName()||"";return this.getIsEval()?d?"[eval] ("+d+":"+h+":"+m+")":"[eval]:"+h+":"+m:g?g+" ("+d+":"+h+":"+m+")":d+":"+h+":"+m}},l.fromString=function(h){var m=h.indexOf("("),g=h.lastIndexOf(")"),b=h.substring(0,m),w=h.substring(m+1,g).split(","),T=h.substring(g+1);if(T.indexOf("@")===0)var N=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),O=N[1],I=N[2],P=N[3];return new l({functionName:b,args:w||void 0,fileName:O,lineNumber:I||void 0,columnNumber:P||void 0})};for(var u=0;u<n.length;u++)l.prototype["get"+e(n[u])]=t(n[u]),l.prototype["set"+e(n[u])]=(function(d){return function(h){this[d]=!!h}})(n[u]);for(var f=0;f<i.length;f++)l.prototype["get"+e(i[f])]=t(i[f]),l.prototype["set"+e(i[f])]=(function(d){return function(h){if(!r(h))throw new TypeError(d+" must be a Number");this[d]=Number(h)}})(i[f]);for(var p=0;p<a.length;p++)l.prototype["get"+e(a[p])]=t(a[p]),l.prototype["set"+e(a[p])]=(function(d){return function(h){this[d]=String(h)}})(a[p]);return l})});var Ha=X((Fr,qa)=>{(function(r,e){"use strict";typeof define=="function"&&define.amd?define("error-stack-parser",["
1stackframe"],e):typeof Fr=="object"?qa.exports=e(Ut()):r.ErrorStackParser=e(r.StackFrame)})(Fr,function(e){"use strict";var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,i=/^(eval@)?(\[native code])?$/;return{parse:function(s){if(typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u")return this.parseOpera(s);if(s.stack&&s.stack.match(n))return this.parseV8OrIE(s);if(s.stack)return this.parseFFOrSafari(s);throw new Error("Cannot parse given Error object")},extractLocation:function(s){if(s.indexOf(":")===-1)return[s];var o=/(.+?)(?::(\d+))?(?::(\d+))?$/,c=o.exec(s.replace(/[()]/g,""));return[c[1],c[2]||void 0,c[3]||void 0]},parseV8OrIE:function(s){var o=s.stack.split(` 2`).filter(function(c){return!!c.match(n)},this);return o.map(function(c){c.indexOf("(eval ")>-1&&(c=c.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var l=c.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),u=l.match(/ (\(.+\)$)/);l=u?l.replace(u[0],""):l;var f=this.extractLocation(u?u[1]:l),p=u&&l||void 0,d=["eval","<anonymous>"].indexOf(f[0])>-1?void 0:f[0];return new e({functionName:p,fileName:d,lineNumber:f[1],columnNumber:f[2],source:c})},this)},parseFFOrSafari:function(s){var o=s.stack.split(` 3`).filter(function(c){return!c.match(i)},this);return o.map(function(c){if(c.indexOf(" > eval")>-1&&(c=c.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),c.indexOf("@")===-1&&c.indexOf(":")===-1)return new e({functionName:c});var l=/((.*".+"[^@]*)?[^@]*)(?:@)/,u=c.match(l),f=u&&u[1]?u[1]:void 0,p=this.extractLocation(c.replace(l,""));return new e({functionName:f,fileName:p[0],lineNumber:p[1],columnNumber:p[2],source:c})},this)},parseOpera:function(s){return!s.stacktrace||s.message.indexOf(` 4`)>-1&&s.message.split(` 5`).length>s.stacktrace.split(` 6`).length?this.parseOpera9(s):s.stack?this.parseOpera11(s):this.parseOpera10(s)},parseOpera9:function(s){for(var o=/Line (\d+).*script (?:in )?(\S+)/i,c=s.message.split(` 7`),l=[],u=2,f=c.length;u<f;u+=2){var p=o.exec(c[u]);p&&l.push(new e({fileName:p[2],lineNumber:p[1],source:c[u]}))}return l},parseOpera10:function(s){for(var o=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,c=s.stacktrace.split(` 8`),l=[],u=0,f=c.length;u<f;u+=2){var p=o.exec(c[u]);p&&l.push(new e({functionName:p[3]||void 0,fileName:p[2],lineNumber:p[1],source:c[u]}))}return l},parseOpera11:function(s){var o=s.stack.split(` 9`).filter(function(c){return!!c.match(t)&&!c.match(/^Error created at/)},this);return o.map(function(c){var l=c.split("@"),u=this.extractLocation(l.pop()),f=l.shift()||"",p=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,d;f.match(/\(([^)]*)\)/)&&(d=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var h=d===void 0||d==="[arguments not available]"?void 0:d.split(",");return new e({functionName:p,args:h,fileName:u[0],lineNumber:u[1],columnNumber:u[2],source:c})},this)}}})});var Ua=X((qr,Ba)=>{(function(r,e){"use strict";typeof define=="function"&&define.amd?define("stack-generator",["stackframe"],e):typeof qr=="object"?Ba.exports=e(Ut()):r.StackGenerator=e(r.StackFrame)})(qr,function(r){return{backtrace:function(t){var n=[],i=10;typeof t=="object"&&typeof t.maxStackSize=="number"&&(i=t.maxStackSize);for(var a=arguments.callee;a&&n.length<i&&a.arguments;){for(var s=new Array(a.arguments.length),o=0;o<s.length;++o)s[o]=a.arguments[o];/function(?:\s+([\w$]+))+\s*\(/.test(a.toString())?n.push(new r({functionName:RegExp.$1||void 0,args:s})):n.push(new r({args:s}));try{a=a.caller}catch{break}}return n}}})});var Hr=X($=>{function ec(r,e,t){if(e in r)return r[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}$.getArg=ec;var Va=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,tc=/^data:.+\,.+$/;function jt(r){var e=r.match(Va);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}$.urlParse=jt;function et(r){var e="";return r.scheme&&(e+=r.scheme+":"),e+="//",r.auth&&(e+=r.auth+"@"),r.host&&(e+=r.host),r.port&&(e+=":"+r.port),r.path&&(e+=r.path),e}$.urlGenerate=et;function za(r){var e=r,t=jt(r);if(t){if(!t.path)return r;e=t.path}for(var n=$.isAbsolute(e),i=e.split(/\/+/),a,s=0,o=i.length-1;o>=0;o--)a=i[o],a==="."?i.splice(o,1):a===".."?s++:s>0&&(a===""?(i.splice(o+1,s),s=0):(i.splice(o,2),s--));return e=i.join("/"),e===""&&(e=n?"/":"."),t?(t.path=e,et(t)):e}$.normalize=za;function rc(r,e){r===""&&(r="."),e===""&&(e=".");var t=jt(e),n=jt(r);if(n&&(r=n.path||"/"),t&&!t.scheme)return n&&(t.scheme=n.scheme),et(t);if(t||e.match(tc))return e;if(n&&!n.host&&!n.path)return n.host=e,et(n);var i=e.charAt(0)==="/"?e:za(r.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,et(n)):i}$.join=rc;$.isAbsolute=function(r){return r.charAt(0)==="/"||!!r.match(Va)};function nc(r,e){r===""&&(r="."),r=r.replace(/\/$/,"");for(var t=0;e.indexOf(r+"/")!==0;){var n=r.lastIndexOf("/");if(n<0||(r=r.slice(0,n),r.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(r.length+1)}$.relative=nc;var Ga=(function(){var r=Object.create(null);return!("__proto__"in r)})();function $a(r){return r}function ic(r){return Ka(r)?"$"+r:r}$.toSetString=Ga?$a:ic;function ac(r){return Ka(r)?r.slice(1):r}$.fromSetString=Ga?$a:ac;function Ka(r){if(!r)return!1;var e=r.length;if(e<9||r.charCodeAt(e-1)!==95||r.charCodeAt(e-2)!==95||r.charCodeAt(e-3)!==111||r.charCodeAt(e-4)!==116||r.charCodeAt(e-5)!==111||r.charCodeAt(e-6)!==114||r.charCodeAt(e-7)!==112||r.charCodeAt(e-8)!==95||r.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(r.charCodeAt(t)!==36)return!1;return!0}function sc(r,e,t){var n=r.source-e.source;return n!==0||(n=r.originalLine-e.originalLine,n!==0)||(n=r.originalColumn-e.originalColumn,n!==0||t)||(n=r.generatedColumn-e.generatedColumn,n!==0)||(n=r.generatedLine-e.generatedLine,n!==0)?n:r.name-e.name}$.compareByOriginalPositions=sc;function oc(r,e,t){var n=r.generatedLine-e.generatedLine;return n!==0||(n=r.generatedColumn-e.generatedColumn,n!==0||t)||(n=r.source-e.source,n!==0)||(n=r.originalLine-e.originalLine,n!==0)||(n=r.originalColumn-e.originalColumn,n!==0)?n:r.name-e.name}$.compareByGeneratedPositionsDeflated=oc;function ja(r,e){return r===e?0:r>e?1:-1}function cc(r,e){var t=r.generatedLine-e.generatedLine;return t!==0||(t=r.generatedColumn-e.generatedColumn,t!==0)||(t=ja(r.source,e.source),t!==0)||(t=r.originalLine-e.originalLine,t!==0)||(t=r.originalColumn-e.originalColumn,t!==0)?t:ja(r.name,e.name)}$.compareByGeneratedPositionsInflated=cc});
vendor: 20,092 bytes, lines 9-10
9var Wa=X(Ne=>{Ne.GREATEST_LOWER_BOUND=1;Ne.LEAST_UPPER_BOUND=2;function Br(r,e,t,n,i,a){var s=Math.floor((e-r)/2)+r,o=i(t,n[s],!0);return o===0?s:o>0?e-s>1?Br(s,e,t,n,i,a):a==Ne.LEAST_UPPER_BOUND?e<n.length?e:-1:s:s-r>1?Br(r,s,t,n,i,a):a==Ne.LEAST_UPPER_BOUND?s:r<0?-1:r}Ne.search=function(e,t,n,i){if(t.length===0)return-1;var a=Br(-1,t.length,e,t,n,i||Ne.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&n(t[a],t[a-1],!0)===0;)--a;return a}});var Xa=X(Qa=>{var Ur=Hr(),jr=Object.prototype.hasOwnProperty;function ue(){this._array=[],this._set=Object.create(null)}ue.fromArray=function(e,t){for(var n=new ue,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n};ue.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length};ue.prototype.add=function(e,t){var n=Ur.toSetString(e),i=jr.call(this._set,n),a=this._array.length;(!i||t)&&this._array.push(e),i||(this._set[n]=a)};ue.prototype.has=function(e){var t=Ur.toSetString(e);return jr.call(this._set,t)};ue.prototype.indexOf=function(e){var t=Ur.toSetString(e);if(jr.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')};ue.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};ue.prototype.toArray=function(){return this._array.slice()};Qa.ArraySet=ue});var Ya=X(Vr=>{var Ja="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Vr.encode=function(r){if(0<=r&&r<Ja.length)return Ja[r];throw new TypeError("Must be between 0 and 63: "+r)};Vr.decode=function(r){var e=65,t=90,n=97,i=122,a=48,s=57,o=43,c=47,l=26,u=52;return e<=r&&r<=t?r-e:n<=r&&r<=i?r-n+l:a<=r&&r<=s?r-a+u:r==o?62:r==c?63:-1}});var ns=X(Gr=>{var Za=Ya(),zr=5,es=1<<zr,ts=es-1,rs=es;function lc(r){return r<0?(-r<<1)+1:(r<<1)+0}function uc(r){var e=(r&1)===1,t=r>>1;return e?-t:t}Gr.encode=function(e){var t="",n,i=lc(e);do n=i&ts,i>>>=zr,i>0&&(n|=rs),t+=Za.encode(n);while(i>0);return t};Gr.decode=function(e,t,n){var i=e.length,a=0,s=0,o,c;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Za.decode(e.charCodeAt(t++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(c&rs),c&=ts,a=a+(c<<s),s+=zr}while(o);n.value=uc(a),n.rest=t}});var as=X(is=>{function $r(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function fc(r,e){return Math.round(r+Math.random()*(e-r))}function Kr(r,e,t,n){if(t<n){var i=fc(t,n),a=t-1;$r(r,i,n);for(var s=r[n],o=t;o<n;o++)e(r[o],s)<=0&&(a+=1,$r(r,a,o));$r(r,a+1,o);var c=a+1;Kr(r,e,t,c-1),Kr(r,e,c+1,n)}}is.quickSort=function(r,e){Kr(r,e,0,r.length-1)}});var os=X(Vt=>{var _=Hr(),Wr=Wa(),qe=Xa().ArraySet,dc=ns(),tt=as().quickSort;function L(r){var e=r;return typeof r=="string"&&(e=JSON.parse(r.replace(/^\)\]\}'/,""))),e.sections!=null?new te(e):new H(e)}L.fromSourceMap=function(r){return H.fromSourceMap(r)};L.prototype._version=3;L.prototype.__generatedMappings=null;Object.defineProperty(L.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});L.prototype.__originalMappings=null;Object.defineProperty(L.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});L.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===";"||n===","};L.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};L.GENERATED_ORDER=1;L.ORIGINAL_ORDER=2;L.GREATEST_LOWER_BOUND=1;L.LEAST_UPPER_BOUND=2;L.prototype.eachMapping=function(e,t,n){var i=t||null,a=n||L.GENERATED_ORDER,s;switch(a){case L.GENERATED_ORDER:s=this._generatedMappings;break;case L.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;s.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l!=null&&o!=null&&(l=_.join(o,l)),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,i)};L.prototype.allGeneratedPositionsFor=function(e){var t=_.getArg(e,"line"),n={source:_.getArg(e,"source"),originalLine:t,originalColumn:_.getArg(e,"column",0)};if(this.sourceRoot!=null&&(n.source=_.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,Wr.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(e.column===void 0)for(var o=s.originalLine;s&&s.originalLine===o;)i.push({line:_.getArg(s,"generatedLine",null),column:_.getArg(s,"generatedColumn",null),lastColumn:_.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)i.push({line:_.getArg(s,"generatedLine",null),column:_.getArg(s,"generatedColumn",null),lastColumn:_.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i};Vt.SourceMapConsumer=L;function H(r){var e=r;typeof r=="string"&&(e=JSON.parse(r.replace(/^\)\]\}'/,"")));var t=_.getArg(e,"version"),n=_.getArg(e,"sources"),i=_.getArg(e,"names",[]),a=_.getArg(e,"sourceRoot",null),s=_.getArg(e,"sourcesContent",null),o=_.getArg(e,"mappings"),c=_.getArg(e,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);n=n.map(String).map(_.normalize).map(function(l){return a&&_.isAbsolute(a)&&_.isAbsolute(l)?_.relative(a,l):l}),this._names=qe.fromArray(i.map(String),!0),this._sources=qe.fromArray(n,!0),this.sourceRoot=a,this.sourcesContent=s,this._mappings=o,this.file=c}H.prototype=Object.create(L.prototype);H.prototype.consumer=L;H.fromSourceMap=function(e){var t=Object.create(H.prototype),n=t._names=qe.fromArray(e._names.toArray(),!0),i=t._sources=qe.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),s=t.__generatedMappings=[],o=t.__originalMappings=[],c=0,l=a.length;c<l;c++){var u=a[c],f=new ss;f.generatedLine=u.generatedLine,f.generatedColumn=u.generatedColumn,u.source&&(f.source=i.indexOf(u.source),f.originalLine=u.originalLine,f.originalColumn=u.originalColumn,u.name&&(f.name=n.indexOf(u.name)),o.push(f)),s.push(f)}return tt(t.__originalMappings,_.compareByOriginalPositions),t};H.prototype._version=3;Object.defineProperty(H.prototype,"sources",{get:function(){return this._sources.toArray().map(function(r){return this.sourceRoot!=null?_.join(this.sourceRoot,r):r},this)}});function ss(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}H.prototype._parseMappings=function(e,t){for(var n=1,i=0,a=0,s=0,o=0,c=0,l=e.length,u=0,f={},p={},d=[],h=[],m,g,b,w,T;u<l;)if(e.charAt(u)===";")n++,u++,i=0;else if(e.charAt(u)===",")u++;else{for(m=new ss,m.generatedLine=n,w=u;w<l&&!this._charIsMappingSeparator(e,w);w++);if(g=e.slice(u,w),b=f[g],b)u+=g.length;else{for(b=[];u<w;)dc.decode(e,u,p),T=p.value,u=p.rest,b.push(T);if(b.length===2)throw new Error("Found a source, but no line and column");if(b.length===3)throw new Error("Found a source and line, but no column");f[g]=b}m.generatedColumn=i+b[0],i=m.generatedColumn,b.length>1&&(m.source=o+b[1],o+=b[1],m.originalLine=a+b[2],a=m.originalLine,m.originalLine+=1,m.originalColumn=s+b[3],s=m.originalColumn,b.length>4&&(m.name=c+b[4],c+=b[4])),h.push(m),typeof m.originalLine=="number"&&d.push(m)}tt(h,_.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,tt(d,_.compareByOriginalPositions),this.__originalMappings=d};H.prototype._findMapping=function(e,t,n,i,a,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Wr.search(e,t,a,s)};H.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};H.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",_.compareByGeneratedPositionsDeflated,_.getArg(e,"bias",L.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var a=_.getArg(i,"source",null);a!==null&&(a=this._sources.at(a),this.sourceRoot!=null&&(a=_.join(this.sourceRoot,a)));var s=_.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:a,line:_.getArg(i,"originalLine",null),column:_.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};H.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};H.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(e=_.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(this.sourceRoot!=null&&(n=_.urlParse(this.sourceRoot))){var i=e.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!n.path||n.path=="/")&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};H.prototype.generatedPositionFor=function(e){var t=_.getArg(e,"source");if(this.sourceRoot!=null&&(t=_.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:_.getArg(e,"line"),originalColumn:_.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,_.getArg(e,"bias",L.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===n.source)return{line:_.getArg(a,"generatedLine",null),column:_.getArg(a,"generatedColumn",null),lastColumn:_.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Vt.BasicSourceMapConsumer=H;function te(r){var e=r;typeof r=="string"&&(e=JSON.parse(r.replace(/^\)\]\}'/,"")));var t=_.getArg(e,"version"),n=_.getArg(e,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new qe,this._names=new qe;var i={line:-1,column:0};this._sections=n.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var s=_.getArg(a,"offset"),o=_.getArg(s,"line"),c=_.getArg(s,"column");if(o<i.line||o===i.line&&c<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=s,{generatedOffset:{generatedLine:o+1,generatedColumn:c+1},consumer:new L(_.getArg(a,"map"))}})}te.prototype=Object.create(L.prototype);te.prototype.constructor=L;te.prototype._version=3;Object.defineProperty(te.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)r.push(this._sections[e].consumer.sources[t]);return r}});te.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},n=Wr.search(t,this._sections,function(a,s){var o=a.generatedLine-s.generatedOffset.generatedLine;return o||a.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[n];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}};te.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};te.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],a=i.consumer.sourceContentFor(e,!0);if(a)return a}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};te.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(n.consumer.sources.indexOf(_.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var a={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return a}}}return{line:null,column:null}};te.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var o=a[s],c=i.consumer._sources.at(o.source);i.consumer.sourceRoot!==null&&(c=_.join(i.consumer.sourceRoot,c)),this._sources.add(c),c=this._sources.indexOf(c);var l=i.consumer._names.at(o.name);this._names.add(l),l=this._names.indexOf(l);var u={source:c,generatedLine:o.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(i.generatedOffset.generatedLine===o.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}tt(this.__generatedMappings,_.compareByGeneratedPositionsDeflated),tt(this.__originalMappings,_.compareByOriginalPositions)};Vt.IndexedSourceMapConsumer=te});var ls=X((Qr,cs)=>{(function(r,e){"use strict";typeof define=="function"&&define.amd?define("stacktrace-gps",["source-map","stackframe"],e):typeof Qr=="object"?cs.exports=e(os(),Ut()):r.StackTraceGPS=e(r.SourceMap||r.sourceMap,r.StackFrame)})(Qr,function(r,e){"use strict";function t(u){return new Promise(function(f,p){var d=new XMLHttpRequest;d.open("get",u),d.onerror=p,d.onreadystatechange=function(){d.readyState===4&&(d.status>=200&&d.status<300||u.substr(0,7)==="file://"&&d.responseText?f(d.responseText):p(new Error("HTTP status: "+d.status+" retrieving "+u)))},d.send()})}function n(u){if(typeof window<"u"&&window.atob)return window.atob(u);throw new Error("You must supply a polyfill for window.atob in this environment")}function i(u){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(u);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function a(u,f){for(var p=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],d=u.split(` 10`),h="",m=Math.min(f,20),g=0;g<m;++g){var b=d[f-g-1],w=b.indexOf("//");if(w>=0&&(b=b.substr(0,w)),b){h=b+h;for(var T=p.length,N=0;N<T;N++){var O=p[N].exec(h);if(O&&O[1])return O[1]}}}}function s(){if(typeof Object.defineProperty!="function"||typeof Object.create!="function")throw new Error("Unable to consume source maps in older browsers")}function o(u){if(typeof u!="object")throw new TypeError("Given StackFrame is not an object");if(typeof u.fileName!="string")throw new TypeError("Given file name is not a String");if(typeof u.lineNumber!="number"||u.lineNumber%1!==0||u.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if(typeof u.columnNumber!="number"||u.columnNumber%1!==0||u.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function c(u){for(var f=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg,p,d;d=f.exec(u);)p=d[1];if(p)return p;throw new Error("sourceMappingURL not found")}function l(u,f,p){return new Promise(function(d,h){var m=f.originalPositionFor({line:u.lineNumber,column:u.columnNumber});if(m.source){var g=f.sourceContentFor(m.source);g&&(p[m.source]=g),d(new e({functionName:m.name||u.functionName,args:u.args,fileName:m.source,lineNumber:m.line,columnNumber:m.column}))}else h(new Error("Could not get original source for given stackframe and source map"))})}return function u(f){if(!(this instanceof u))return new u(f);f=f||{},this.sourceCache=f.sourceCache||{},this.sourceMapConsumerCache=f.sourceMapConsumerCache||{},this.ajax=f.ajax||t,this._atob=f.atob||n,this._get=function(d){return new Promise(function(h,m){var g=d.substr(0,5)==="data:";if(this.sourceCache[d])h(this.sourceCache[d]);else if(f.offline&&!g)m(new Error("Cannot make network requests in offline mode"));else if(g){var b=/^data:application\/json;([\w=:"-]+;)*base64,/,w=d.match(b);if(w){var T=w[0].length,N=d.substr(T),O=this._atob(N);this.sourceCache[d]=O,h(O)}else m(new Error("The encoding of the inline sourcemap is not supported"))}else{var I=this.ajax(d,{method:"get"});this.sourceCache[d]=I,I.then(h,m)}}.bind(this))},this._getSourceMapConsumer=function(d,h){return new Promise(function(m){if(this.sourceMapConsumerCache[d])m(this.sourceMapConsumerCache[d]);else{var g=new Promise(function(b,w){return this._get(d).then(function(T){typeof T=="string"&&(T=i(T.replace(/^\)\]\}'/,""))),typeof T.sourceRoot>"u"&&(T.sourceRoot=h),b(new r.SourceMapConsumer(T))}).catch(w)}.bind(this));this.sourceMapConsumerCache[d]=g,m(g)}}.bind(this))},this.pinpoint=function(d){return new Promise(function(h,m){this.getMappedLocation(d).then(function(g){function b(){h(g)}this.findFunctionName(g).then(h,b).catch(b)}.bind(this),m)}.bind(this))},this.findFunctionName=function(d){return new Promise(function(h,m){o(d),this._get(d.fileName).then(function(b){var w=d.lineNumber,T=d.columnNumber,N=a(b,w,T);h(N?new e({functionName:N,args:d.args,fileName:d.fileName,lineNumber:w,columnNumber:T}):d)},m).catch(m)}.bind(this))},this.getMappedLocation=function(d){return new Promise(function(h,m){s(),o(d);var g=this.sourceCache,b=d.fileName;this._get(b).then(function(w){var T=c(w),N=T.substr(0,5)==="data:",O=b.substring(0,b.lastIndexOf("/")+1);return T[0]!=="/"&&!N&&!/^https?:\/\/|^\/\//i.test(T)&&(T=O+T),this._getSourceMapConsumer(T,O).then(function(I){return l(d,I,g).then(h).catch(function(){h(d)})})}.bind(this),m).catch(m)}.bind(this))}}})});var fs=X((Xr,us)=>{(function(r,e){"use strict";typeof define=="function"&&define.amd?define("stacktrace",["error-stack-parser","stack-generator","stacktrace-gps"],e):typeof Xr=="object"?us.exports=e(Ha(),Ua(),ls()):r.StackTrace=e(r.ErrorStackParser,r.StackGenerator,r.StackTraceGPS)})(Xr,function(e,t,n){var i={filter:function(l){return(l.functionName||"").indexOf("StackTrace$$")===-1&&(l.functionName||"").indexOf("ErrorStackParser$$")===-1&&(l.functionName||"").indexOf("StackTraceGPS$$")===-1&&(l.functionName||"").indexOf("StackGenerator$$")===-1},sourceCache:{}},a=function(){try{throw new Error}catch(u){return u}};function s(l,u){var f={};return[l,u].forEach(function(p){for(var d in p)Object.prototype.hasOwnProperty.call(p,d)&&(f[d]=p[d]);return f}),f}function o(l){return l.stack||l["opera#sourceloc"]}function c(l,u){return typeof u=="function"?l.filter(u):l}return{get:function(u){var f=a();return o(f)?this.fromError(f,u):this.generateArtificially(u)},getSync:function(u){u=s(i,u);var f=a(),p=o(f)?e.parse(f):t.backtrace(u);return c(p,u.filter)},fromError:function(u,f){f=s(i,f);var p=new n(f);return new Promise(function(d){var h=c(e.parse(u),f.filter);d(Promise.all(h.map(function(m){return new Promise(function(g){function b(){g(m)}p.pinpoint(m).then(g,b).catch(b)})})))}.bind(this))},generateArtificially:function(u){u=s(i,u);var f=t.backtrace(u);return typeof u.filter=="function"&&(f=f.filter(u.filter)),Promise.resolve(f)},instrument:function(u,f,p,d){if(typeof u!="function")throw new Error("Cannot instrument non-function object");
10if(typeof u.__stacktraceOriginalFn=="function")return u;var h=function(){try{return this.get().then(f,p).catch(p),u.apply(d||this,arguments)}catch(g){throw o(g)&&this.fromError(g).then(f,p).catch(p),g}}.bind(this);return h.__stacktraceOriginalFn=u,h},deinstrument:function(u){if(typeof u!="function")throw new Error("Cannot de-instrument non-function object");return typeof u.__stacktraceOriginalFn=="function"?u.__stacktraceOriginalFn:u},report:function(u,f,p,d){return new Promise(function(h,m){var g=new XMLHttpRequest;if(g.onerror=m,g.onreadystatechange=function(){g.readyState===4&&(g.status>=200&&g.status<400?h(g.responseText):m(new Error("POST to "+f+" failed with status: "+g.status)))},g.open("post",f),g.setRequestHeader("Content-Type","application/json"),d&&typeof d.headers=="object"){var b=d.headers;for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&g.setRequestHeader(w,b[w])}var T={stack:u};p!=null&&(T.message=p),g.send(JSON.stringify(T))})}}})});function qs(r){return r.serialize()}var Mi=new He("Server.RENDER_MODULE_HOOK"),Hs=new He("ENABLE_DOM_EMULATION"),ar=(()=>{class r{_doc;_enableDomEmulation=Bs(y(ye));constructor(t){this._doc=t}renderToString(){let t="renderToString";ct(t);let n=this._enableDomEmulation?qs(this._doc):this._doc.documentElement.outerHTML;return lt(t),n}getDocument(){return this._doc}static \u0275fac=function(n){return new(n||r)(be(ne))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();function Bs(r){return r.get(Hs,!0)}var Us=(()=>{class r{xhrImpl;\u0275loadImpl(){return x(this,null,function*(){if(!this.xhrImpl){let{default:t}=yield import("./chunk-2EJNCGLR.js");this.xhrImpl=t}})}build(){let t=this.xhrImpl;if(!t)throw new Error("Unexpected state in ServerXhr: XHR implementation is not loaded.");return new t.XMLHttpRequest}static \u0275fac=function(n){return new(n||r)};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();function js(r,e){let t=y(Mn),{href:n,protocol:i,hostname:a,port:s}=t;if(!i.startsWith("http"))return e(r);let o=`${i}//${a}`;s&&(o+=`:${s}`);let c=t.getBaseHrefFromDOM()||n,l=new URL(c,o),u=new URL(r.url,l).toString();return e(r.clone({url:u}))}var Vs=[{provide:On,useClass:Us},{provide:Un,useValue:js,multi:!0}];var zs=(()=>{class r extends Fn{doc;constructor(t){super(t),this.doc=t}supports(t){return!0}addEventListener(t,n,i,a){return An().onAndCancel(t,n,i,a)}static \u0275fac=function(n){return new(n||r)(be(ne))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();var Gs=[{provide:Mi,useFactory:$s,multi:!0}];function Di(r,e,t){let n=r.createElement("script");return n.textContent=e,t&&n.setAttribute("nonce",t),n}function $s(){let r=y(ne),e=y(Be),t=y(un),n=y(ye);return()=>{let i="serializeTransferStateFactory";ct(i);let a=t.toJson();if(t.isEmpty)return;let s=Di(r,a,null);s.id=e+"-state",s.setAttribute("type","application/json"),r.body.appendChild(s),lt(i)}}var Ks=[{provide:Pn,multi:!0,useClass:zs}],Li=[Gs,Ks,Vs,{provide:bn,useValue:null},{provide:gn,useValue:null},{provide:Rn,useClass:In}];function ki(){return nt([...Li])}var sr=(function(r){return r[r.AppShell=0]="AppShell",r[r.ServerRoutes=1]="ServerRoutes",r})(sr||{}),vt=(function(r){return r[r.Server=0]="Server",r[r.Client=1]="Client",r[r.Prerender=2]="Prerender",r})(vt||{});function Oi(...r){let e=!1,t=!1,n=[ki()];for(let{\u0275kind:i,\u0275providers:a}of r)e||=i===sr.AppShell,t||=i===sr.ServerRoutes,n.push(...a);if(!t&&e)throw new Error("Configuration error: found 'withAppShell()' without 'withRoutes()' in the same call to 'provideServerRendering()'.The 'withAppShell()' function requires 'withRoutes()' to be used.");return nt(n)}var Ml={[vt.Prerender]:"ssg",[vt.Server]:"ssr",[vt.Client]:""};var Ri=[{path:"**",component:pi}];var Xs=["ucp_ui_scheme","ucp_ui_scheme_device"],Ii=(()=>{class r{constructor(){this.runtimeConfiguration=y(ve,{optional:!0})}readAllAsString(){let n=this.runtimeConfiguration?.request?.headers?.cookie;return n?n.split(";").map(i=>i.trim()).filter(i=>Xs.includes(i.split("=")[0])).join(";"):""}write(){}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac})}}return r})();function Pi(r){return new M(3e3,!1)}function Js(){return new M(3100,!1)}function Ys(){return new M(3101,!1)}function Zs(r){return new M(3001,!1)}function eo(r){return new M(3003,!1)}function to(r){return new M(3004,!1)}function qi(r,e){return new M(3005,!1)}function Hi(){return new M(3006,!1)}function Bi(){return new M(3007,!1)}function Ui(r,e){return new M(3008,!1)}function ji(r){return new M(3002,!1)}function Vi(r,e,t,n,i){return new M(3010,!1)}function zi(){return new M(3011,!1)}function Gi(){return new M(3012,!1)}function $i(){return new M(3200,!1)}function Ki(){return new M(3202,!1)}function Wi(){return new M(3013,!1)}function Qi(r){return new M(3014,!1)}function Xi(r){return new M(3015,!1)}function Ji(r){return new M(3016,!1)}function Yi(r,e){return new M(3404,!1)}function ro(r){return new M(3502,!1)}function Zi(r){return new M(3503,!1)}function ea(){return new M(3300,!1)}function ta(r){return new M(3504,!1)}function ra(r){return new M(3301,!1)}function na(r,e){return new M(3302,!1)}function ia(r){return new M(3303,!1)}function aa(r,e){return new M(3400,!1)}function sa(r){return new M(3401,!1)}function oa(r){return new M(3402,!1)}function ca(r,e){return new M(3505,!1)}function le(r){switch(r.length){case 0:return new Ee;case 1:return r[0];default:return new yt(r)}}function ur(r,e,t=new Map,n=new Map){let i=[],a=[],s=-1,o=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,f=u&&o||new Map;
vendor: 51,010 bytes, line 10
10c.forEach((p,d)=>{let h=d,m=p;if(d!=="offset")switch(h=r.normalizePropertyName(h,i),m){case $e:m=t.get(d);break;case Y:m=n.get(d);break;default:m=r.normalizeStyleValue(d,h,m,i);break}f.set(h,m)}),u||a.push(f),o=f,s=l}),i.length)throw ro(i);return a}function _t(r,e,t,n){switch(e){case"start":r.onStart(()=>n(t&&or(t,"start",r)));break;case"done":r.onDone(()=>n(t&&or(t,"done",r)));break;case"destroy":r.onDestroy(()=>n(t&&or(t,"destroy",r)));break}}function or(r,e,t){let n=t.totalTime,i=!!t.disabled,a=Et(r.element,r.triggerName,r.fromState,r.toState,e||r.phaseName,n??r.totalTime,i),s=r._data;return s!=null&&(a._data=s),a}function Et(r,e,t,n,i="",a=0,s){return{element:r,triggerName:e,fromState:t,toState:n,phaseName:i,totalTime:a,disabled:!!s}}function z(r,e,t){let n=r.get(e);return n||r.set(e,n=t),n}function fr(r){let e=r.indexOf(":"),t=r.substring(1,e),n=r.slice(e+1);return[t,n]}var no=typeof document>"u"?null:document.documentElement;function St(r){let e=r.parentNode||r.host||null;return e===no?null:e}function io(r){return r.substring(1,6)=="ebkit"}var Se=null,Fi=!1;function la(r){Se||(Se=ao()||{},Fi=Se.style?"WebkitAppearance"in Se.style:!1);let e=!0;return Se.style&&!io(r)&&(e=r in Se.style,!e&&Fi&&(e="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Se.style)),e}function ao(){return typeof document<"u"?document.body:null}function dr(r,e){for(;e;){if(e===r)return!0;e=St(e)}return!1}function hr(r,e,t){if(t)return Array.from(r.querySelectorAll(e));let n=r.querySelector(e);return n?[n]:[]}var so=1e3,pr="{{",oo="}}",mr="ng-enter",Tt="ng-leave",Ke="ng-trigger",We=".ng-trigger",xr="ng-animating",wt=".ng-animating";function se(r){if(typeof r=="number")return r;let e=r.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:cr(parseFloat(e[1]),e[2])}function cr(r,e){switch(e){case"s":return r*so;default:return r}}function Qe(r,e,t){return r.hasOwnProperty("duration")?r:lo(r,e,t)}var co=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function lo(r,e,t){let n,i=0,a="";if(typeof r=="string"){let s=r.match(co);if(s===null)return e.push(Pi(r)),{duration:0,delay:0,easing:""};n=cr(parseFloat(s[1]),s[2]);let o=s[3];o!=null&&(i=cr(parseFloat(o),s[4]));let c=s[5];c&&(a=c)}else n=r;if(!t){let s=!1,o=e.length;n<0&&(e.push(Js()),s=!0),i<0&&(e.push(Ys()),s=!0),s&&e.splice(o,0,Pi(r))}return{duration:n,delay:i,easing:a}}function ua(r){return r.length?r[0]instanceof Map?r:r.map(e=>new Map(Object.entries(e))):[]}function Z(r,e,t){e.forEach((n,i)=>{let a=Ct(i);t&&!t.has(i)&&t.set(i,r.style[a]),r.style[a]=n})}function he(r,e){e.forEach((t,n)=>{let i=Ct(n);r.style[i]=""})}function Re(r){return Array.isArray(r)?r.length==1?r[0]:yi(r):r}function fa(r,e,t){let n=e.params||{},i=gr(r);i.length&&i.forEach(a=>{n.hasOwnProperty(a)||t.push(Zs(a))})}var lr=new RegExp(`${pr}\\s*(.+?)\\s*${oo}`,"g");function gr(r){let e=[];if(typeof r=="string"){let t;for(;t=lr.exec(r);)e.push(t[1]);lr.lastIndex=0}return e}function Ie(r,e,t){let n=`${r}`,i=n.replace(lr,(a,s)=>{let o=e[s];return o==null&&(t.push(eo(s)),o=""),o.toString()});return i==n?r:i}var uo=/-+([a-z0-9])/g;function Ct(r){return r.replace(uo,(...e)=>e[1].toUpperCase())}function da(r,e){return r===0||e===0}function ha(r,e,t){if(t.size&&e.length){let n=e[0],i=[];if(t.forEach((a,s)=>{n.has(s)||i.push(s),n.set(s,a)}),i.length)for(let a=1;a<e.length;a++){let s=e[a];i.forEach(o=>s.set(o,Nt(r,o)))}}return e}function G(r,e,t){switch(e.type){case C.Trigger:return r.visitTrigger(e,t);case C.State:return r.visitState(e,t);case C.Transition:return r.visitTransition(e,t);case C.Sequence:return r.visitSequence(e,t);case C.Group:return r.visitGroup(e,t);case C.Animate:return r.visitAnimate(e,t);case C.Keyframes:return r.visitKeyframes(e,t);case C.Style:return r.visitStyle(e,t);case C.Reference:return r.visitReference(e,t);case C.AnimateChild:return r.visitAnimateChild(e,t);case C.AnimateRef:return r.visitAnimateRef(e,t);case C.Query:return r.visitQuery(e,t);case C.Stagger:return r.visitStagger(e,t);default:throw to(e.type)}}function Nt(r,e){return window.getComputedStyle(r)[e]}var Rr=(()=>{class r{validateStyleProperty(t){return la(t)}containsElement(t,n){return dr(t,n)}getParentElement(t){return St(t)}query(t,n,i){return hr(t,n,i)}computeStyle(t,n,i){return i||""}animate(t,n,i,a,s,o=[],c){return new Ee(i,a)}static \u0275fac=function(n){return new(n||r)};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})(),we=class{static NOOP=new Rr},Ce=class{};var fo=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),kt=class extends Ce{normalizePropertyName(e,t){return Ct(e)}normalizeStyleValue(e,t,n,i){let a="",s=n.toString().trim();if(fo.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(qi(e,n))}return s+a}};var Ot="*";function ho(r,e){let t=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(n=>po(n,t,e)):t.push(r),t}function po(r,e,t){if(r[0]==":"){let c=mo(r,t);if(typeof c=="function"){e.push(c);return}r=c}let n=r.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return t.push(Xi(r)),e;let i=n[1],a=n[2],s=n[3];e.push(pa(i,s));let o=i==Ot&&s==Ot;a[0]=="<"&&!o&&e.push(pa(s,i))}function mo(r,e){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n)<parseFloat(t);default:return e.push(Ji(r)),"* => *"}}var At=new Set(["true","1"]),Mt=new Set(["false","0"]);function pa(r,e){let t=At.has(r)||Mt.has(r),n=At.has(e)||Mt.has(e);return(i,a)=>{let s=r==Ot||r==i,o=e==Ot||e==a;return!s&&t&&typeof i=="boolean"&&(s=i?At.has(r):Mt.has(r)),!o&&n&&typeof a=="boolean"&&(o=a?At.has(e):Mt.has(e)),s&&o}}var wa=":self",xo=new RegExp(`s*${wa}s*,?`,"g");function Ca(r,e,t,n){return new Sr(r).build(e,t,n)}var ma="",Sr=class{_driver;constructor(e){this._driver=e}build(e,t,n){let i=new Tr(t);return this._resetContextStyleTimingState(i),G(this,Re(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=ma,e.collectedStyles=new Map,e.collectedStyles.set(ma,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0,a=[],s=[];return e.name.charAt(0)=="@"&&t.errors.push(Hi()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==C.State){let c=o,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,a.push(this.visitState(c,t))}),c.name=l}else if(o.type==C.Transition){let c=this.visitTransition(o,t);n+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(Bi())}),{type:C.Trigger,name:e.name,states:a,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let a=new Set,s=i||{};n.styles.forEach(o=>{o instanceof Map&&o.forEach(c=>{gr(c).forEach(l=>{s.hasOwnProperty(l)||a.add(l)})})}),a.size&&t.errors.push(Ui(e.name,[...a.values()]))}return{type:C.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=G(this,Re(e.animation),t),i=ho(e.expr,t.errors);return{type:C.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Te(e.options)}}visitSequence(e,t){return{type:C.Sequence,steps:e.steps.map(n=>G(this,n,t)),options:Te(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(s=>{t.currentTime=n;let o=G(this,s,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:C.Group,steps:a,options:Te(e.options)}}visitAnimate(e,t){let n=vo(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:ir({});if(a.type==C.Keyframes)i=this.visitKeyframes(a,t);else{let s=e.styles,o=!1;if(!s){o=!0;let l={};n.easing&&(l.easing=n.easing),s=ir(l)}t.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,t);c.isEmptyStep=o,i=c}return t.currentAnimateTimings=null,{type:C.Animate,timings:n,style:i,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===Y?n.push(o):t.errors.push(ji(o)):n.push(new Map(Object.entries(o)));let a=!1,s=null;return n.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(s=o.get("easing"),o.delete("easing")),!a)){for(let c of o.values())if(c.toString().indexOf(pr)>=0){a=!0;break}}}),{type:C.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,c)=>{let l=t.collectedStyles.get(t.currentQuerySelector),u=l.get(c),f=!0;u&&(a!=i&&a>=u.startTime&&i<=u.endTime&&(t.errors.push(Vi(c,u.startTime,u.endTime,a,i)),f=!1),a=u.startTime),f&&l.set(c,{startTime:a,endTime:i}),t.options&&fa(o,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:C.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(zi()),n;let i=1,a=0,s=[],o=!1,c=!1,l=0,u=e.steps.map(b=>{let w=this._makeStyleAst(b,t),T=w.offset!=null?w.offset:yo(w.styles),N=0;return T!=null&&(a++,N=w.offset=T),c=c||N<0||N>1,o=o||N<l,l=N,s.push(N),w});c&&t.errors.push(Gi()),o&&t.errors.push($i());let f=e.steps.length,p=0;a>0&&a<f?t.errors.push(Ki()):a==0&&(p=i/(f-1));let d=f-1,h=t.currentTime,m=t.currentAnimateTimings,g=m.duration;return u.forEach((b,w)=>{let T=p>0?w==d?1:p*w:s[w],N=T*g;t.currentTime=h+m.delay+N,m.duration=N,this._validateStyleAst(b,t),b.offset=T,n.styles.push(b)}),n}visitReference(e,t){return{type:C.Reference,animation:G(this,Re(e.animation),t),options:Te(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:C.AnimateChild,options:Te(e.options)}}visitAnimateRef(e,t){return{type:C.AnimateRef,animation:this.visitReference(e.animation,t),options:Te(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,s]=go(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,z(t.collectedStyles,t.currentQuerySelector,new Map);let o=G(this,Re(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:C.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:Te(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Wi());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Qe(e.timings,t.errors,!0);return{type:C.Stagger,animation:G(this,Re(e.animation),t),timings:n,options:null}}};function go(r){let e=!!r.split(/\s*,\s*/).find(t=>t==wa);return e&&(r=r.replace(xo,"")),r=r.replace(/@\*/g,We).replace(/@\w+/g,t=>We+"-"+t.slice(1)).replace(/:animating/g,wt),[r,e]}function bo(r){return r?ge({},r):null}var Tr=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function yo(r){if(typeof r=="string")return null;let e=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function vo(r,e){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let a=Qe(r,e).duration;return br(a,0,"")}let t=r;if(t.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=br(0,0,"");return a.dynamic=!0,a.strValue=t,a}let i=Qe(t,e);return br(i.duration,i.delay,i.easing)}function Te(r){return r?(r=ge({},r),r.params&&(r.params=bo(r.params))):r={},r}function br(r,e,t){return{duration:r,delay:e,easing:t}}function Ir(r,e,t,n,i,a,s=null,o=!1){return{type:1,element:r,keyframes:e,preStyleProps:t,postStyleProps:n,duration:i,delay:a,totalTime:i+a,easing:s,subTimeline:o}}var Je=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},_o=1,Eo=":enter",So=new RegExp(Eo,"g"),To=":leave",wo=new RegExp(To,"g");function Na(r,e,t,n,i,a=new Map,s=new Map,o,c,l=[]){return new wr().buildKeyframes(r,e,t,n,i,a,s,o,c,l)}var wr=class{buildKeyframes(e,t,n,i,a,s,o,c,l,u=[]){l=l||new Je;let f=new Cr(e,t,l,i,a,u,[]);f.options=c;let p=c.delay?se(c.delay):0;f.currentTimeline.delayNextStep(p),f.currentTimeline.setStyles([s],null,f.errors,c),G(this,n,f);let d=f.timelines.filter(h=>h.containsAnimation());if(d.length&&o.size){let h;for(let m=d.length-1;m>=0;m--){let g=d[m];if(g.element===t){h=g;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([o],null,f.errors,c)}return d.length?d.map(h=>h.buildKeyframes()):[Ir(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);a!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let i of e){let a=i?.delay;if(a){let s=typeof a=="number"?a:se(Ie(a,i?.params??{},t.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,t,n){let a=t.currentTimeline.currentTime,s=n.duration!=null?se(n.duration):null,o=n.delay!=null?se(n.delay):null;return s!==0&&e.forEach(c=>{let l=t.appendInstructionToTimeline(c,s,o);a=Math.max(a,l.duration+l.delay)}),a}visitReference(e,t){t.updateOptions(e.options,!0),G(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&(i=t.createSubContext(a),i.transformIntoNewTimeline(),a.delay!=null)){i.previousNode.type==C.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Rt);let s=se(a.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>G(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?se(e.options.delay):0;e.steps.forEach(s=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),G(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,i=t.params?Ie(n,t.params,t.errors):n;return Qe(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());let a=e.style;a.type==C.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(c=>{let l=c.offset||0;o.forwardTime(l*a),o.setStyles(c.styles,c.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?se(i.delay):0;a&&(t.previousNode.type===C.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Rt);let s=n,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let c=null;o.forEach((l,u)=>{t.currentQueryIndex=u;let f=t.createSubContext(e.options,l);a&&f.delayNextStep(a),l===t.element&&(c=f.currentTimeline),G(this,e.animation,f),f.currentTimeline.applyStylesToKeyframe();let p=f.currentTimeline.currentTime;s=Math.max(s,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,i=t.currentTimeline,a=e.timings,s=Math.abs(a.duration),o=s*(t.currentQueryTotal-1),c=s*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":c=o-c;break;case"full":c=n.currentStaggerTime;break}let u=t.currentTimeline;c&&u.delayNextStep(c);let f=u.currentTime;G(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-f+(i.startTime-n.currentTimeline.startTime)}},Rt={},Cr=class r{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Rt;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,n,i,a,s,o,c){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=a,this.errors=s,this.timelines=o,this.currentTimeline=c||new It(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=se(n.duration)),n.delay!=null&&(i.delay=se(n.delay));let a=n.params;if(a){let s=i.params;s||(s=this.options.params={}),Object.keys(a).forEach(o=>{(!t||!s.hasOwnProperty(o))&&(s[o]=Ie(a[o],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(i=>{n[i]=t[i]})}}return e}createSubContext(e=null,t,n){let i=t||this.element,a=new r(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(e){return this.previousNode=Rt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},a=new Nr(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(a),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,a,s){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(So,"."+this._enterClassName),e=e.replace(wo,"."+this._leaveClassName);let c=n!=1,l=this._driver.query(this.element,e,c);n!==0&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),o.push(...l)}return!a&&o.length==0&&s.push(Qi(t)),o}},It=class r{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new r(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=_o,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||Y),this._currentKeyframe.set(t,Y);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&this._previousKeyframe.set("easing",t);let a=i&&i.params||{},s=Co(e,this._globalTimelineStyles);for(let[o,c]of s){let l=Ie(c,a,n);this._pendingStyles.set(o,l),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??Y),this._updateStyle(o,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,n)=>{let i=this._styleSummary.get(n);(!i||t.time>i.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,c)=>{let l=new Map([...this._backFill,...o]);l.forEach((u,f)=>{u===$e?e.add(f):u===Y&&t.add(f)}),n||l.set("offset",c/this.duration),i.push(l)});let a=[...e.values()],s=[...t.values()];if(n){let o=i[0],c=new Map(o);o.set("offset",0),c.set("offset",1),i=[o,c]}return Ir(this.element,i,a,s,this.duration,this.startTime,this.easing,!1)}},Nr=class extends It{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,n,i,a,s,o=!1){super(e,t,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=a,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let a=[],s=n+t,o=t/s,c=new Map(e[0]);c.set("offset",0),a.push(c);let l=new Map(e[0]);l.set("offset",xa(o)),a.push(l);let u=e.length-1;for(let f=1;f<=u;f++){let p=new Map(e[f]),d=p.get("offset"),h=t+d*n;p.set("offset",xa(h/s)),a.push(p)}n=s,t=0,i="",e=a}return Ir(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}};function xa(r,e=3){let t=Math.pow(10,e-1);return Math.round(r*t)/t}function Co(r,e){let t=new Map,n;return r.forEach(i=>{if(i==="*"){n??=e.keys();for(let a of n)t.set(a,Y)}else for(let[a,s]of i)t.set(a,s)}),t}function ba(r,e,t,n,i,a,s,o,c,l,u,f,p){return{type:0,element:r,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:a,toState:n,toStyles:s,timelines:o,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:f,errors:p}}var yr={},Pt=class{_triggerName;ast;_stateStyles;constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return No(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,n):new Map}build(e,t,n,i,a,s,o,c,l,u){let f=[],p=this.ast.options&&this.ast.options.params||yr,d=o&&o.params||yr,h=this.buildStyles(n,d,f),m=c&&c.params||yr,g=this.buildStyles(i,m,f),b=new Set,w=new Map,T=new Map,N=i==="void",O={params:Aa(m,p),delay:this.ast.options?.delay},I=u?[]:Na(e,t,this.ast.animation,a,s,h,g,O,l,f),P=0;return I.forEach(B=>{P=Math.max(B.duration+B.delay,P)}),f.length?ba(t,this._triggerName,n,i,N,h,g,[],[],w,T,P,f):(I.forEach(B=>{let pe=B.element,Ae=z(w,pe,new Set);B.preStyleProps.forEach(me=>Ae.add(me));let Zr=z(T,pe,new Set);B.postStyleProps.forEach(me=>Zr.add(me)),pe!==t&&b.add(pe)}),ba(t,this._triggerName,n,i,N,h,g,I,[...b.values()],w,T,P))}};function No(r,e,t,n,i){return r.some(a=>a(e,t,n,i))}function Aa(r,e){let t=ge({},e);return Object.entries(r).forEach(([n,i])=>{i!=null&&(t[n]=i)}),t}var Ar=class{styles;defaultParams;normalizer;constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=Aa(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,o)=>{s&&(s=Ie(s,i,t));let c=this.normalizer.normalizePropertyName(o,t);s=this.normalizer.normalizeStyleValue(o,c,s,t),n.set(o,s)})}),n}};function Ao(r,e,t){return new Mr(r,e,t)}var Mr=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new Ar(i.style,a,n))}),ya(this.states,"true","1"),ya(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new Pt(e,i,this.states))}),this.fallbackTransition=Mo(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(s=>s.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function Mo(r,e,t){let n=[(s,o)=>!0],i={type:C.Sequence,steps:[],options:null},a={type:C.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new Pt(r,a,e)}function ya(r,e,t){r.has(e)?r.has(t)||r.set(t,r.get(e)):r.has(t)&&r.set(e,r.get(t))}var Do=new Je,Dr=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],i=[],a=Ca(this._driver,t,n,i);if(n.length)throw Zi(n);this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=ur(this._normalizer,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let i=[],a=this._animations.get(e),s,o=new Map;if(a?(s=Na(this._driver,t,a,mr,Tt,new Map,new Map,n,Do,i),s.forEach(u=>{let f=z(o,u.element,new Map);u.postStyleProps.forEach(p=>f.set(p,null))})):(i.push(ea()),s=[]),i.length)throw ta(i);o.forEach((u,f)=>{u.forEach((p,d)=>{u.set(d,this._driver.computeStyle(f,d,Y))})});let c=s.map(u=>{let f=o.get(u.element);return this._buildPlayer(u,new Map,f)}),l=le(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw ra(e);return t}listen(e,t,n,i){let a=Et(t,"","","");return _t(this._getPlayer(e),n,a,i),()=>{}}command(e,t,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,t,s);return}let a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},va="ng-animate-queued",Lo=".ng-animate-queued",vr="ng-animate-disabled",ko=".ng-animate-disabled",Oo="ng-star-inserted",Ro=".ng-star-inserted",Io=[],Ma={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Po={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ee="__ng_removed",Ye=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=qo(i),n){let a=e,{value:s}=a,o=Wt(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},Xe="void",_r=new Ye(Xe),Lr=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,J(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw na(n,t);if(n==null||n.length==0)throw ia(t);if(!Ho(n))throw aa(n,t);let a=z(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);let o=z(this._engine.statesByElement,e,new Map);return o.has(t)||(J(e,Ke),J(e,Ke+"-"+t),o.set(t,_r)),()=>{this._engine.afterFlush(()=>{let c=a.indexOf(s);c>=0&&a.splice(c,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw sa(e);return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),s=new Ze(this.id,t,e),o=this._engine.statesByElement.get(e);o||(J(e,Ke),J(e,Ke+"-"+t),this._engine.statesByElement.set(e,o=new Map));let c=o.get(t),l=new Ye(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),o.set(t,l),c||(c=_r),!(l.value===Xe)&&c.value===l.value){if(!jo(c.params,l.params)){let m=[],g=a.matchStyles(c.value,c.params,m),b=a.matchStyles(l.value,l.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{he(e,g),Z(e,b)})}return}let p=z(this._engine.playersByElement,e,[]);p.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let d=a.matchTransition(c.value,l.value,e,l.params),h=!1;if(!d){if(!i)return;d=a.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:c,toState:l,player:s,isFallbackTransition:h}),h||(J(e,va),s.onStart(()=>{Pe(e,va)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);let g=this._engine.playersByElement.get(e);if(g){let b=g.indexOf(s);b>=0&&g.splice(b,1)}}),this.players.push(s),p.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,We,!0);n.forEach(i=>{if(i[ee])return;let a=this._engine.fetchNamespacesByElement(i);a.size?a.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,n,i){let a=this._engine.statesByElement.get(e),s=new Map;if(a){let o=[];if(a.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,Xe,i);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),n&&le(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let i=new Set;t.forEach(a=>{let s=a.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=n.get(s)||_r,u=new Ye(Xe),f=new Ze(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:f,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(e):[];if(a&&a.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{let a=e[ee];(!a||a===Ma)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){J(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let a=n.element,s=this._elementListeners.get(a);s&&s.forEach(o=>{if(o.name==n.triggerName){let c=Et(a,n.triggerName,n.fromState.value,n.toState.value);c._data=e,_t(n.player,o.phase,c,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((n,i)=>{let a=n.transition.ast.depCount,s=i.transition.ast.depCount;return a==0||s==0?a-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},kr=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new Lr(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,o=this.driver.getParentElement(t);for(;o;){let c=i.get(o);if(c){let l=n.indexOf(c);n.splice(l+1,0,e),s=!0;break}o=this.driver.getParentElement(o)}s||n.unshift(e)}else n.push(e);return i.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let a=this._fetchNamespace(i.namespaceId);a&&t.add(a)}}return t}trigger(e,t,n,i){if(Dt(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Dt(t))return;let a=t[ee];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),J(e,vr)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Pe(e,vr))}removeNode(e,t,n){if(Dt(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,i,a){this.collectedLeaveElements.push(t),t[ee]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return Dt(t)?this._fetchNamespace(e).listen(t,n,i,a):()=>{}}_buildInstruction(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,We,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,wt,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return le(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[ee];if(t&&t.setForRemoval){if(e[ee]=Ma,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(vr)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ko,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];J(i,Oo)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?le(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw oa(e)}_flushAnimations(e,t){let n=new Je,i=[],a=new Map,s=[],o=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(v=>{u.add(v);let E=this.driver.query(v,Lo,!0);for(let S=0;S<E.length;S++)u.add(E[S])});let f=this.bodyNode,p=Array.from(this.statesByElement.keys()),d=Sa(p,this.collectedEnterElements),h=new Map,m=0;d.forEach((v,E)=>{let S=mr+m++;h.set(E,S),v.forEach(A=>J(A,S))});let g=[],b=new Set,w=new Set;for(let v=0;v<this.collectedLeaveElements.length;v++){let E=this.collectedLeaveElements[v],S=E[ee];S&&S.setForRemoval&&(g.push(E),b.add(E),S.hasAnimation?this.driver.query(E,Ro,!0).forEach(A=>b.add(A)):w.add(E))}let T=new Map,N=Sa(p,Array.from(b));N.forEach((v,E)=>{let S=Tt+m++;T.set(E,S),v.forEach(A=>J(A,S))}),e.push(()=>{d.forEach((v,E)=>{let S=h.get(E);v.forEach(A=>Pe(A,S))}),N.forEach((v,E)=>{let S=T.get(E);v.forEach(A=>Pe(A,S))}),g.forEach(v=>{this.processLeaveNode(v)})});let O=[],I=[];for(let v=this._namespaceList.length-1;v>=0;v--)this._namespaceList[v].drainQueuedTransitions(t).forEach(S=>{let A=S.player,R=S.element;if(O.push(A),this.collectedEnterElements.length){let q=R[ee];if(q&&q.setForMove){if(q.previousTriggersValues&&q.previousTriggersValues.has(S.triggerName)){let xe=q.previousTriggersValues.get(S.triggerName),Q=this.statesByElement.get(S.element);if(Q&&Q.has(S.triggerName)){let rt=Q.get(S.triggerName);rt.value=xe,Q.set(S.triggerName,rt)}}A.destroy();return}}let re=!f||!this.driver.containsElement(f,R),K=T.get(R),fe=h.get(R),k=this._buildInstruction(S,n,fe,K,re);if(k.errors&&k.errors.length){I.push(k);return}if(re){A.onStart(()=>he(R,k.fromStyles)),A.onDestroy(()=>Z(R,k.toStyles)),i.push(A);return}if(S.isFallbackTransition){A.onStart(()=>he(R,k.fromStyles)),A.onDestroy(()=>Z(R,k.toStyles)),i.push(A);return}let rn=[];k.timelines.forEach(q=>{q.stretchStartingKeyframe=!0,this.disabledNodes.has(q.element)||rn.push(q)}),k.timelines=rn,n.append(R,k.timelines);let Rs={instruction:k,player:A,element:R};s.push(Rs),k.queriedElements.forEach(q=>z(o,q,[]).push(A)),k.preStyleProps.forEach((q,xe)=>{if(q.size){let Q=c.get(xe);Q||c.set(xe,Q=new Set),q.forEach((rt,$t)=>Q.add($t))}}),k.postStyleProps.forEach((q,xe)=>{let Q=l.get(xe);Q||l.set(xe,Q=new Set),q.forEach((rt,$t)=>Q.add($t))})});if(I.length){let v=[];I.forEach(E=>{v.push(ca(E.triggerName,E.errors))}),O.forEach(E=>E.destroy()),this.reportError(v)}let P=new Map,B=new Map;s.forEach(v=>{let E=v.element;n.has(E)&&(B.set(E,E),this._beforeAnimationBuild(v.player.namespaceId,v.instruction,P))}),i.forEach(v=>{let E=v.element;this._getPreviousPlayers(E,!1,v.namespaceId,v.triggerName,null).forEach(A=>{z(P,E,[]).push(A),A.destroy()})});let pe=g.filter(v=>Ta(v,c,l)),Ae=new Map;Ea(Ae,this.driver,w,l,Y).forEach(v=>{Ta(v,c,l)&&pe.push(v)});let me=new Map;d.forEach((v,E)=>{Ea(me,this.driver,new Set(v),c,$e)}),pe.forEach(v=>{let E=Ae.get(v),S=me.get(v);Ae.set(v,new Map([...E?.entries()??[],...S?.entries()??[]]))});let Gt=[],en=[],tn={};s.forEach(v=>{let{element:E,player:S,instruction:A}=v;if(n.has(E)){if(u.has(E)){S.onDestroy(()=>Z(E,A.toStyles)),S.disabled=!0,S.overrideTotalTime(A.totalTime),i.push(S);return}let R=tn;if(B.size>1){let K=E,fe=[];for(;K=K.parentNode;){let k=B.get(K);if(k){R=k;break}fe.push(K)}fe.forEach(k=>B.set(k,R))}let re=this._buildAnimation(S.namespaceId,A,P,a,me,Ae);if(S.setRealPlayer(re),R===tn)Gt.push(S);else{let K=this.playersByElement.get(R);K&&K.length&&(S.parentPlayer=le(K)),i.push(S)}}else he(E,A.fromStyles),S.onDestroy(()=>Z(E,A.toStyles)),en.push(S),u.has(E)&&i.push(S)}),en.forEach(v=>{let E=a.get(v.element);if(E&&E.length){let S=le(E);v.setRealPlayer(S)}}),i.forEach(v=>{v.parentPlayer?v.syncPlayerEvents(v.parentPlayer):v.destroy()});for(let v=0;v<g.length;v++){let E=g[v],S=E[ee];if(Pe(E,Tt),S&&S.hasAnimation)continue;let A=[];if(o.size){let re=o.get(E);re&&re.length&&A.push(...re);let K=this.driver.query(E,wt,!0);for(let fe=0;fe<K.length;fe++){let k=o.get(K[fe]);k&&k.length&&A.push(...k)}}let R=A.filter(re=>!re.destroyed);R.length?Bo(this,E,R):this.processLeaveNode(E)}return g.length=0,Gt.forEach(v=>{this.players.push(v),v.onDone(()=>{v.destroy();let E=this.players.indexOf(v);this.players.splice(E,1)}),v.play()}),Gt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let s=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(s=o)}else{let o=this.playersByElement.get(e);if(o){let c=!a||a==Xe;o.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(n||i)&&(s=s.filter(o=>!(n&&n!=o.namespaceId||i&&i!=o.triggerName))),s}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let c of t.timelines){let l=c.element,u=l!==a,f=z(n,l,[]);this._getPreviousPlayers(l,u,s,o,t.toState).forEach(d=>{let h=d.getRealPlayer();h.beforeDestroy&&h.beforeDestroy(),d.destroy(),f.push(d)})}he(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,s){let o=t.triggerName,c=t.element,l=[],u=new Set,f=new Set,p=t.timelines.map(h=>{let m=h.element;u.add(m);let g=m[ee];if(g&&g.removedBeforeQueried)return new Ee(h.duration,h.delay);let b=m!==c,w=Uo((n.get(m)||Io).map(P=>P.getRealPlayer())).filter(P=>{let B=P;return B.element?B.element===m:!1}),T=a.get(m),N=s.get(m),O=ur(this._normalizer,h.keyframes,T,N),I=this._buildPlayer(h,O,w);if(h.subTimeline&&i&&f.add(m),b){let P=new Ze(e,o,m);P.setRealPlayer(I),l.push(P)}return I});l.forEach(h=>{z(this.playersByQueriedElement,h.element,[]).push(h),h.onDone(()=>Fo(this.playersByQueriedElement,h.element,h))}),u.forEach(h=>J(h,xr));let d=le(p);return d.onDestroy(()=>{u.forEach(h=>Pe(h,xr)),Z(c,t.toStyles)}),f.forEach(h=>{z(i,h,[]).push(d)}),d}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Ee(e.duration,e.delay)}},Ze=class{namespaceId;triggerName;element;_player=new Ee;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>_t(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){z(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Fo(r,e,t){let n=r.get(e);if(n){if(n.length){let i=n.indexOf(t);n.splice(i,1)}n.length==0&&r.delete(e)}return n}function qo(r){return r??null}function Dt(r){return r&&r.nodeType===1}function Ho(r){return r=="start"||r=="done"}function _a(r,e){let t=r.style.display;return r.style.display=e??"none",t}function Ea(r,e,t,n,i){let a=[];t.forEach(c=>a.push(_a(c)));let s=[];n.forEach((c,l)=>{let u=new Map;c.forEach(f=>{let p=e.computeStyle(l,f,i);u.set(f,p),(!p||p.length==0)&&(l[ee]=Po,s.push(l))}),r.set(l,u)});let o=0;return t.forEach(c=>_a(c,a[o++])),s}function Sa(r,e){let t=new Map;if(r.forEach(o=>t.set(o,[])),e.length==0)return t;let n=1,i=new Set(e),a=new Map;function s(o){if(!o)return n;let c=a.get(o);if(c)return c;let l=o.parentNode;return t.has(l)?c=l:i.has(l)?c=n:c=s(l),a.set(o,c),c}return e.forEach(o=>{let c=s(o);c!==n&&t.get(c).push(o)}),t}function J(r,e){r.classList?.add(e)}function Pe(r,e){r.classList?.remove(e)}function Bo(r,e,t){le(t).onDone(()=>r.processLeaveNode(e))}function Uo(r){let e=[];return Da(r,e),e}function Da(r,e){for(let t=0;t<r.length;t++){let n=r[t];n instanceof yt?Da(n.players,e):e.push(n)}}function jo(r,e){let t=Object.keys(r),n=Object.keys(e);if(t.length!=n.length)return!1;for(let i=0;i<t.length;i++){let a=t[i];if(!e.hasOwnProperty(a)||r[a]!==e[a])return!1}return!0}function Ta(r,e,t){let n=t.get(r);if(!n)return!1;let i=e.get(r);return i?n.forEach(a=>i.add(a)):e.set(r,n),t.delete(r),!0}var Fe=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,n){this._driver=t,this._normalizer=n,this._transitionEngine=new kr(e.body,t,n),this._timelineEngine=new Dr(e.body,t,n),this._transitionEngine.onRemovalComplete=(i,a)=>this.onRemovalComplete(i,a)}registerTrigger(e,t,n,i,a){let s=e+"-"+i,o=this._triggerCache[s];if(!o){let c=[],l=[],u=Ca(this._driver,a,c,l);if(c.length)throw Yi(i,c);o=Ao(i,u,this._normalizer),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if(n.charAt(0)=="@"){let[a,s]=fr(n),o=i;this._timelineEngine.command(a,t,s,o)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[s,o]=fr(n);return this._timelineEngine.listen(s,t,o,a)}return this._transitionEngine.listen(e,t,n,i,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Vo(r,e){let t=null,n=null;return Array.isArray(e)&&e.length?(t=Er(e[0]),e.length>1&&(n=Er(e[e.length-1]))):e instanceof Map&&(t=Er(e)),t||n?new zo(r,t,n):null}var zo=(()=>{class r{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i;let a=r.initialStylesByElement.get(t);a||r.initialStylesByElement.set(t,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Z(this._element,this._initialStyles),this._endStyles&&(Z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(he(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(he(this._element,this._endStyles),this._endStyles=null),Z(this._element,this._initialStyles),this._state=3)}}return r})();function Er(r){let e=null;return r.forEach((t,n)=>{Go(n)&&(e=e||new Map,e.set(n,t))}),e}function Go(r){return r==="display"||r==="position"}var Ft=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e
10=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:Nt(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},qt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return dr(e,t)}getParentElement(e){return St(e)}query(e,t,n){return hr(e,t,n)}computeStyle(e,t,n){return Nt(e,t)}animate(e,t,n,i,a,s=[]){let o=i==0?"both":"forwards",c={duration:n,delay:i,fill:o};a&&(c.easing=a);let l=new Map,u=s.filter(d=>d instanceof Ft);da(n,i)&&u.forEach(d=>{d.currentSnapshot.forEach((h,m)=>l.set(m,h))});let f=ua(t).map(d=>new Map(d));f=ha(e,f,l);let p=Vo(e,f);return new Ft(e,f,c,p)}};var Lt="@",La="@.disabled",Ht=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,n,i){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n,i){if(i){this.delegate.removeChild(e,t,n);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Lt&&t==La?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,i){return this.delegate.listen(e,t,n,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Or=class extends Ht{factory;constructor(e,t,n,i,a){super(t,n,i,a),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Lt?t.charAt(1)=="."&&t==La?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n,i){if(t.charAt(0)==Lt){let a=$o(e),s=t.slice(1),o="";return s.charAt(0)!=Lt&&([s,o]=Ko(s)),this.engine.listen(this.namespaceId,a,s,o,c=>{let l=c._data||-1;this.factory.scheduleListenerCallback(l,n,c)})}return this.delegate.listen(e,t,n,i)}};function $o(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function Ko(r){let e=r.indexOf("."),t=r.substring(0,e),n=r.slice(e+1);return[t,n]}var Bt=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(i,a)=>{a?.removeChild(null,i)}}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let l=this._rendererCache,u=l.get(i);if(!u){let f=()=>l.delete(i);u=new Ht("",i,this.engine,f),l.set(i,u)}return u}let a=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let o=l=>{Array.isArray(l)?l.forEach(o):this.engine.registerTrigger(a,s,e,l.name,l)};return t.data.animation.forEach(o),new Or(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>
10{i.forEach(a=>{let[s,o]=a;s(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var Qo=(()=>{class r extends Fe{constructor(t,n,i){super(t,n,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||r)(be(ne),be(we),be(Ce))};static \u0275prov=D({token:r,factory:r.\u0275fac})}return r})();function Xo(){return new kt}function Jo(r,e,t){return new Bt(r,e,t)}var ka=[{provide:Ce,useFactory:Xo},{provide:Fe,useClass:Qo},{provide:De,useFactory:Jo,deps:[qn,Fe,xn]}],Yo=[{provide:we,useClass:Rr},{provide:Qt,useValue:"NoopAnimations"},...ka],Zo=[{provide:we,useFactory:()=>new qt},{provide:Qt,useFactory:()=>"BrowserAnimations"},...ka];function Oa(){return pn("NgEagerAnimations"),[...Zo]}function Ra(){return[...Yo]}var Ia=(()=>{class r{constructor(){this.cookie=y(pt),this.cache=y(mt),this.logService=y(V),this.platform=y(j)}intercept(t,n){if(this.platform.isServer())return n.handle(t);let i=localStorage.getItem(W.DEV.IV_USER);i&&(t=t.clone({setHeaders:{"iv-user":i}}));let a=localStorage.getItem(W.DEV.API_HOST_REQ_PREFIX_REWRITE),s=t.urlWithParams,o=s.indexOf("/",10),c=s.slice(o+1),l=localStorage.getItem(W.DEV.API_HOST_OVERRIDE);if(!c.startsWith("_api")||!l)return n.handle(t);if(l.endsWith("/")&&(l=l.slice(0,l.length-1)),a?.length){let u=a.trim().split(";");for(let f of u)if(f&&c.toLowerCase().startsWith(f.toLowerCase())){let p=t.url,d=t.clone({url:p.replace(p.slice(0,o),l)});return n.handle(d)}}return n.handle(t)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Pa=r=>de.production?null:"/";var ds=Is(fs());var hs=(()=>{class r extends it{constructor(){super(),this.injector=y(ye)}handleError(t){try{let n=this.injector.get(V),i=this.injector.get(Dn),a=t.message?t.message:t.toString(),s=i instanceof Ln?i.path():"";ds.fromError(t).then(o=>{let c=o.splice(0,10).map(l=>l.toString()).join(` 11`);n.error(a,{message:a,url:s,stack:c})}).catch(o=>{console.debug("There was an error parsing the stack-trace",o.message,t)})}catch(n){console.log("Error could not be logged.",n)}}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var ps=(()=>{class r{constructor(){this.logService=y(V)}intercept(t,n){let i=Date.now();return n.handle(t).pipe(on(a=>{if(a instanceof Bn){let s=Date.now()-i;this.logService.debugQueued("Outgoing Requests",`Request for ${t.urlWithParams} took ${s} ms.`)}}))}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac})}}return r})();var ms=(()=>{class r extends _e{constructor(){super(),this.state=y(ar),this.rendererFactory=y(De),this.logService=y(V),this.runtimeConfiguration=y(ve)}inject(){try{let t=this.state.getDocument(),n=JSON.stringify(this.toJson()),i=this.rendererFactory.createRenderer(t,{id:"-1",encapsulation:fn.None,styles:[],data:{}}),a=t.childNodes[1].childNodes[0];if(a.localName!=="head")throw new Error("Please have <head> as the first element in your document");let s=this.runtimeConfiguration.version||"1.0.0";this.logService.log("fileVersion",s);let o=this?.VERSION;this.logService.log("VERSION",o);try{this.logService.log("RTC",JSON.stringify(this.runtimeConfiguration))}catch{this.logService.log("Runtime Configuration Error")}s=s.replace(/\./g,"_");let c=this.runtimeConfiguration.baseHRef||"";c.endsWith("/")||(c+="/");let l=i.createElement("base");i.setAttribute(l,"href",c);let u;try{let p=t.querySelector("title");u=i.nextSibling(p)}catch{this.logService.log("Rendering Error")}this.addHeadTag(i,a,l,u);let f=i.createElement("script");i.appendChild(f,i.createText(`window['TRANSFER_STATE'] = ${n};`)),i.appendChild(a,f)}catch(t){this.logService.error(t)}}addHeadTag(t,n,i,a){a?t.insertBefore(n,i,a):t.appendChild(n,i)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var xs=()=>{let r=process.env.API_HOST?process.env.API_HOST+(process.env.API_HOST?.endsWith("/")?"":"/"):"https://ucp5cms.ucp.sil.dev.aws.thyssenkrupp-materials.com/";return{apiHost:r,apiHostInternal:process.env.API_HOST_INTERNAL??r,editEnabled:process.env.EDIT_ENABLED?process.env.EDIT_ENABLED==="true":!0,baseHRef:"/",request:{}}};var gs=[{name:"page-closer",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-UFRDRVXL.js").then(r=>r.PageCloserComponent)})},{name:"description-list",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-MH57KG42.js").then(r=>r.DescriptionListComponent)})},{name:"table-of-contents",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-ZROF6BS2.js").then(r=>r.TableOfContentsComponent)})},{name:"link-list",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-OGFXSFC4.js").then(r=>r.LinkListComponent)})},{name:"static-teaser-collection",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-MPXS25PL.js").then(r=>r.StaticTeaserCollectionComponent)})},{name:"dynamic-teaser-collection",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-3WOZNITS.js").then(r=>r.DynamicTeaserCollectionComponent)})},{name:"document-center",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-T4YL2DB7.js").then(r=>r.DocumentCenterComponent)})},{name:"footnote",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-BPDC6RIL.js").then(r=>r.FootnoteComponent)})},{name:"opener-detail-page",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-L7RFTM5T.js").then(r=>r.PressReleaseDetailOpener)})},{name:"media-center",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-H6QGM4FA.js").then(r=>
11r.MediaCenterComponent)})},{name:"separator",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-JQJ2LC4C.js").then(r=>r.SeparatorComponent)})},{name:"press-release-detail",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-U6IR2ETR.js").then(r=>r.PressReleaseDetailComponent)})},{name:"share-press-detail-page",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-35VYICZL.js").then(r=>r.SharePressDetailPageComponent)})},{name:"share-page-download",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-QQOTZM6V.js").then(r=>r.SharePageDownloadComponent)})},{name:"include-html",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-GSL4QPSP.js").then(r=>r.IncludeHtmlComponent)})},{name:"load-html",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-KX67RT4A.js").then(r=>r.LoadHtmlComponent)})},{name:"media-text-element",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-LEJRS7HI.js").then(r=>r.MediaTextElementComponent)})},{name:"media-text-list",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-KEBMHZ62.js").then(r=>r.MediaTextListComponent)})},{name:"product-tiles",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-CQ4ZXT7Y.js").then(r=>r.ProductTilesComponent)})},{name:"text-block-grid",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-VJBYTO3K.js").then(r=>r.TextBlockGridComponent)})},{name:"share-page",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-D446WNPY.js").then(r=>r.SharePageComponent)})},{name:"opener-news",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-DDNOO533.js").then(r=>r.OpenerNewsComponent)})},{name:"text-offset-image",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-CNK2WVAL.js").then(r=>r.TextOffsetImageComponent)})},{name:"press-release-center",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-YSH4FA2U.js").then(r=>r.PressReleaseCenterComponent)})},{name:"dashboard",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-VONIXUTK.js").then(r=>r.DashboardComponent)})},{name:"stock-market-line-chart",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-B6XEMOTF.js").then(r=>r.StockMarketLineChartComponent)})},{name:"accordion",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-2QGJLXIS.js").then(r=>r.AccordionComponent)})},{name:"table",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-L3FINURI.js").then(r=>r.TableComponent)})},{name:"contact-card",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-QG66F3EM.js").then(r=>r.ContactCardComponent)})},{name:"organigram",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-OFZ3FJWU.js").then(r=>r.OrganigramComponent)})},{name:"tabs",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-FOG7H6UQ.js").then(r=>r.TabsComponent)})},{name:"contact-list",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-SU77IWC5.js").then(r=>r.ContactListComponent)})},{name:"dashboard-card",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-SD3Q6UUE.js").then(r=>r.DashboardCardComponent)})},{name:"video",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-X7PBZHIW.js").then(r=>r.VideoComponent)})},{name:"jumper",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-AGIASMYZ.js").then(r=>r.JumperComponent)})},{name:"form-builder",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-4O7TS45L.js").then(r=>r.FormBuilderComponent)})},{name:"form-field-checkbox",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-SEU6R2SH.js").then(r=>r.FormFieldCheckboxComponent)})},{name:"form-field-radio-group",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-LVJ7Y7BE.js").then(r=>r.FormFieldRadioGroupComponent)})},{name:"form-field-select",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-U7QKJO2A.js").then(r=>r.FormFieldSelectComponent)})},{name:"form-field-chip-list",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-SD3OV5EL.js").then(r=>r.FormFieldChipListComponent)})},{name:"form-field-textarea",loadComponent:()=>
11x(null,null,function*(){return yield import("./chunk-6TLKDM57.js").then(r=>r.FormFieldTextareaComponent)})},{name:"form-field-input",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-IPMTSDUN.js").then(r=>r.FormFieldInputComponent)})},{name:"donut-chart",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-GDMGTPOG.js").then(r=>r.DonutChartComponent)})},{name:"cta-banner",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-E5CV7SAS.js").then(r=>r.CtaBannerComponent)})},{name:"download-box",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-IGXDCDHW.js").then(r=>r.DownloadBoxComponent)})},{name:"usercentrics-policy",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-QM6AV54P.js").then(r=>r.UsercentricsPolicyComponent)})},{name:"location-card",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-TY75BJGR.js").then(r=>r.LocationCardComponent)})},{name:"image-quotation",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-NPBK5CZO.js").then(r=>r.ImageQuotationComponent)})},{name:"image-slider",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-AEV3B22F.js").then(r=>r.ImageSliderComponent)})},{name:"simple-press-overview",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-L2KMW7NK.js").then(r=>r.SimplePressOverviewComponent)})},{name:"gallery-slider",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-FN6JQI2K.js").then(r=>r.GallerySliderComponent)})},{name:"image-hotspot",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-NRM6ZMUR.js").then(r=>r.ImageHotspotComponent)})},{name:"image",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-BCCLT32L.js").then(r=>r.ImageComponent)})},{name:"facts-figures",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-PSXR3LHH.js").then(r=>r.FactsFiguresComponent)})},{name:"text-image",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-CCDZLV6M.js").then(r=>r.TextImageComponent)})},{name:"linear-navigation",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-RE3LTKFI.js").then(r=>r.LinearNavigationComponent)})},{name:"infobox",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-226ICJJ7.js").then(r=>r.InfoBoxComponent)})},{name:"key-figures-tiles",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-G3QHB7BR.js").then(r=>r.KeyFigureTilesComponent)})},{name:"sitemap",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-FWZL3X5E.js").then(r=>r.SitemapComponent)})},{name:"big-image-teaser",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-26QIVKHD.js").then(r=>r.BigImageTeaserComponent)})},{name:"big-image-teaser-collection",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-6PM3CKPB.js").then(r=>r.BigImageTeaserCollectionComponent)})},{name:"image-teaser-collection",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-UPRYBXFU.js").then(r=>r.ImageTeaserCollectionComponent)})},{name:"document-information",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-FAX4LYIQ.js").then(r=>r.DocumentInformationComponent)})},{name:"event-information",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-5XYKHR67.js").then(r=>r.EventInformationComponent)})},{name:"media-information",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-U5HPWRDK.js").then(r=>r.MediaInformationComponent)})},{name:"page-teaser",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-VY3LBHFU.js").then(r=>r.PageTeaserComponent)})},{name:"press-release",loadComponent:()=>x(null,null,function*(){return yield import("./chunk-OBBHAZ34.js").then(r=>r.PressTeaserComponent)})}];var bs=(()=>{class r{constructor(){this.platform=y(j)}intercept(t,n){if(!this.platform.isServer())return n.handle(t);let i={},a=t.clone({setHeaders:i});return n.handle(a)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac})}}return r})();function hc(r){let e=r,t=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var ys=["de",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
11, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",hc];function pc(r){let e=r,t=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var vs=["en-GB",[["a","p"],["am","pm"]],[["am","pm"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",pc];function mc(r){let e=r,t=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var _s=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mc];var zt=class{static loadLocale(){let e="de-DE";if(dt(ys),dt(_s),dt(vs),e.substring(0,2)==="de")return"de-DE"}};var Es=(()=>{class r{constructor(){this.isScrolledDown=!1}onWindowScroll(){this.isScrolledDown=window.scrollY>0}scrollToTop(t){t.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=Le({type:r,selectors:[["ucp-back-to-top"]],hostBindings:function(n,i){n&1&&Jt("scroll",function(){return i.onWindowScroll()},dn)},decls:4,vars:1,consts:[[1,"back-to-top","tw-fixed","tw-right-16","tw-bottom-16","tw-z-[100]","hover:tw-cursor-pointer",3,"ngClass"],["type","button","ucp-ui-button","","size","lg","iconName","arrow-up",1,"back-to-top-button",3,"click"],[1,"tw-sr-only"]],template:function(n,i){n&1&&(ie(0,"div",0)(1,"button",1),Jt("click",function(s){return i.scrollToTop(s)}),ie(2,"span",2),Cn(3,"Back to top"),ce()()()),n&2&&oe("ngClass",i.isScrolledDown?"tw-block":"tw-hidden")},dependencies:[Ei,ut],styles:[".back-to-top-button[_ngcontent-%COMP%]{--ucp-ui-cta-icon-size: 2.5rem;padding:.5rem}"]})}}return r})();var xc=r=>({layoutArea:r,revealComponentsAnimation:!1}),gc=(r,e)=>({layoutArea:r,revealComponentsAnimation:e}),Ss=(r,e)=>({contentArea:r,revealComponentsAnimation:e}),bc=r=>({revealComponentsAnimation:r}),yc=(r,e)=>e.layoutAreaId,Jr=(r,e)=>e.id;function vc(r,e){if(r&1&&(ie(0,"header",6),ae(1,7),ce()),r&2){let t=U().$implicit;U();let n=ze(5);Me(),oe("ngTemplateOutlet",n)("ngTemplateOutletContext",Yt(2,xc,t))}}function _c(r,e){if(r&1&&ae(0,7),r&2){let t=U().$implicit,n=U(),i=ze(5);oe("ngTemplateOutlet",i)("ngTemplateOutletContext",ot(2,gc,t,n.revealComponentsAnimation()))}}function Ec(r,e){if(r&1&&ke(0,vc,2,4,"header",6)(1,_c,1,5,"ng-container",7),r&2){let t=e.$index;Oe(t===0?0:1)}}
11function Sc(r,e){r&1&&(ie(0,"footer",5),Ve(1,"ucp-back-to-top"),ce())}function Tc(r,e){r&1&&ae(0)}function wc(r,e){if(r&1&&at(0,Tc,1,0,"ng-container",10),r&2){let t=U().$implicit,n=U().revealComponentsAnimation;U();let i=ze(7);oe("ngTemplateOutlet",i)("ngTemplateOutletContext",ot(2,Ss,t,n))}}function Cc(r,e){if(r&1&&ke(0,wc,1,5,"ng-container"),r&2){let t=e.$implicit;Oe(t.name==="main"?0:-1)}}function Nc(r,e){r&1&&ae(0)}function Ac(r,e){if(r&1&&at(0,Nc,1,0,"ng-container",10),r&2){let t=U().$implicit,n=U(2).revealComponentsAnimation;U();let i=ze(7);oe("ngTemplateOutlet",i)("ngTemplateOutletContext",ot(2,Ss,t,n))}}function Mc(r,e){if(r&1&&ke(0,Ac,1,5,"ng-container"),r&2){let t=e.$implicit;Oe(t.name==="sidebar"?0:-1)}}function Dc(r,e){if(r&1&&Ue(0,Mc,1,1,null,null,Jr),r&2){let t=U().layoutArea;je(t.contentAreas)}}function Lc(r,e){if(r&1&&(ie(0,"ucp-ui-basic-layout-section",8),ae(1,null,2),Ue(3,Cc,1,1,null,null,Jr),_n(5,9),ae(6,null,3),ke(8,Dc,2,0),En(),ce()),r&2){let t=e.layoutArea,n=U();oe("type",t.type)("ngClass",n.getCustomClasses(t.settings==null||t.settings.layoutSettings==null?null:t.settings.layoutSettings.customClasses))("sidebarPosition",t.type===n.LayoutAreaType.DEFAULT_WITH_SIDEBAR?t.settings==null?null:t.settings.sidebarPosition:null),vn("data-ucp-layout-area-id",t.layoutAreaId)("data-ucp-layout-area",t.type),Me(3),je(t.contentAreas),Me(5),Oe(t.type===n.LayoutAreaType.DEFAULT_WITH_SIDEBAR?8:-1)}}function kc(r,e){if(r&1&&ae(0,11),r&2){let t=e.$implicit,n=U().revealComponentsAnimation;oe("ucpRenderComponent",t)("componentAttributes",Yt(2,bc,n))}}function Oc(r,e){if(r&1&&Ue(0,kc,1,4,"ng-container",11,Jr),r&2){let t=e.contentArea;je(t.sections)}}var Ts=(()=>{class r extends li{constructor(){super(...arguments),this.pageSettingsStore=y(xt),this.projectSettingsStore=y(gt),this.revealComponentsAnimation=Nn(()=>{let t=this.projectSettingsStore.settings(),n=this.pageSettingsStore.settings(),i=t?.revealComponentsAnimation??"disabled";return n?.revealComponentsAnimation&&n.revealComponentsAnimation!=="default"&&(i=n.revealComponentsAnimation),i}),this.LayoutAreaType=ri}getCustomClasses(t){return t?t.trim().split(" ").map(n=>"ucp-custom-"+n).join(" "):null}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=ln(r)))(i||r)}})()}static{this.\u0275cmp=Le({type:r,selectors:[["ucp-flexible-template"]],features:[mn],decls:8,vars:1,consts:[["layoutAreaTemplate",""],["contentAreas",""],["includeMainArea",""],["includeSidebarArea",""],["id","main"],["id","main-footer"],["id","main-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["contentContainerClasses","editorial-components-container",1,"layout-area",3,"type","ngClass","sidebarPosition"],["ngProjectAs","sidebar",5,["sidebar"]],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ucpRenderComponent","componentAttributes"]],template:function(n,i){n&1&&(ie(0,"main",4),Ue(1,Ec,2,1,null,null,yc),ke(3,Sc,2,0,"footer",5),ce(),at(4,Lc,9,6,"ng-template",null,0,Zt)(6,Oc,2,0,"ng-template",null,1,Zt)),n&2&&(Me(),je(i.content().layoutAreas),Me(2),Oe(i.projectSettingsStore.settings().showBackToTopButton?3:-1))},dependencies:[ft,ut,kn,_i,Es,di],encapsulation:2})}}return r})();var Yr=(function(r){return r.FLEXIBLE="flexible-fav2",r})(Yr||{});var ws=(()=>{class r{getPageTemplate(t){switch(t){case Yr.FLEXIBLE:return Ts;default:throw new Error(`The page template ${t} does not exist`)}}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Cs={providers:[jn(zn(),Vn()),ft,Jn(Ri,Yn({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),{provide:ht,useClass:bs,multi:!0},cn(xi.withOptions()),{provide:Ge,useExisting:nr},{provide:it,useClass:hs},vi(),{provide:ei,useFactory:()=>ti(de)},{provide:ht,useClass:Ia,multi:!0},{provide:ht,useClass:ps,multi:!0},{provide:ui,useValue:gs},{provide:fi,useExisting:ws},{provide:Ge,useExisting:nr},{provide:ii,useExisting:bt},{provide:ni,useExisting:xt},{provide:ai,useExisting:gt}]},Ns=tr(Cs,{providers:[Oa(),$n(Gn()),{provide:er,useValue:zt.loadLocale()},{provide:bi,useValue:{}},{provide:gi,useValue:{}},{provide:ve,useValue:{}},{provide:rr,useFactory:Pa,deps:[ye]},{provide:Be,useValue:"client"},{provide:_e,useFactory:()=>{let r=new _e;return r.initialize(window.TRANSFER_STATE??{}),r}}]}),K0=tr(Cs,{providers:[{provide:rr,useValue:"/"},Oi(),Ra(),{provide:de.production?{}:ve,useFactory:xs},{provide:_e,useClass:ms},{provide:mi,useClass:Ii},{provide:yn,useFactory:(r,e)=>()=>{r.isStable.pipe(an(t=>t),sn()).subscribe(()=>{e.inject()})},multi:!0,deps:[st,_e]}]});var As=(()=>
11{class r{constructor(){this.platformService=y(j)}isTabletDevice(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 767px)").matches:!1}isBigTabletDevice(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 900px)").matches:!1}isBiggerTabletDevice(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 992px)").matches:!1}isSmartphoneDevice(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 499px)").matches:!1}isBiggerSmartphoneDevice(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 577px)").matches:!1}isTabletLandscape(){return this.platformService.isBrowser()?window.matchMedia("(max-width: 1100px)").matches:!1}isDesktopDevice(){return this.platformService.isBrowser()?window.matchMedia("(min-width: 992px)").matches:!1}isTouchDevice(){return this.platformService.isBrowser()&&window.matchMedia("(pointer: coarse)").matches}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Ms=(()=>{class r{constructor(){this.document=y(ne),this.platformService=y(j),this.logService=y(V),this.deviceService=y(As)}trackGTMStart(){this.platformService.isBrowser()&&(window.dataLayer=[{"gtm.start":new Date().getTime(),event:"gtm.js"}])}trackDataLayer(t){if(this.platformService.isServer()||!this.isTrackingInstalled()){this.logService.debug("Tracking-Service early exit on dataLayer");return}window.dataLayer.push(t)}trackNavigation(t,n){if(this.platformService.isServer()||!this.isTrackingInstalled()){this.logService.debug("Tracking-Service early exit on navigation");return}n||(n=window.dataLayer);let i=t?.url;try{if(Object.hasOwn(window,"ga")&&i){let a=ga?.getAll()?.[0]?.get("name");a?(ga(`${a}.set`,"page",i),ga(`${a}.send`,"pageview")):(ga("set","page",i),ga("send","pageview"))}Object.hasOwn(window,"_paq")&&i&&(_paq.push(["setCustomUrl",i]),this.document?.title&&_paq.push(["setDocumentTitle",this.document.title]),_paq.push(["deleteCustomVariables","page"]),_paq.push(["trackPageView"])),window.dataLayer.push({event:"pageview",pagePath:i,pageSystemPath:i,pageCategoryPath:i,internal:n.internal,pageCountry:n.pageCountry,pageBusinessArea:n.pageBusinessArea,pageBusinessUnit:n.pageBusinessUnit,pageDevice:n.pageDevice,pageArea:n.pageArea,pageLanguage:n.pageLanguage})}catch(a){this.logService.error("GTM Error",a)}}isTrackingInstalled(){return!!window.dataLayer}initMatomo(t){if(this.platformService.isServer()||!t.siteId||!t.target||this.isMatomoScriptAlreadyLoaded(t.target))return;window._paq=window._paq||[],window._paq.push(["trackPageView"]),window._paq.push(["enableLinkTracking"]),window._paq.push(["setSiteId",t.siteId]),window._paq.push(["setTrackerUrl",`${t.target}/matomo.php`]);let n=document.createElement("script");n.async=!0,n.src=`${t.target}/matomo.js`,n.onerror=a=>{this.logService.error("Error while loading matomo script",a)},document.querySelector("script").before(n)}isMatomoScriptAlreadyLoaded(t){return!!document?.querySelector('script[src*="matomo.js"]')||!!document?.querySelector(`script[src*="${t}"]`)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Ds=(()=>{class r{constructor(){this.platformService=y(j)}load(t,n={}){if(!this.platformService.isBrowser()||!t||this.isGtmScriptPresent(t))return;window.dataLayer=window.dataLayer||[];let i=Object.fromEntries(Object.entries(n).filter(([,o])=>o!=null));Object.keys(i).length>0&&window.dataLayer.push(i);let a=document.createElement("script");a.async=!0,a.src=`//www.googletagmanager.com/gtm.js?id=${t}`,a.onload=()=>{this.platformService.isBrowser()&&window.dataLayer.push({event:"gtm.js","gtm.start":new Date().getTime()})},document.querySelector('link[rel="stylesheet"]')?.before(a)}isGtmScriptPresent(t){return document.head.querySelectorAll(`script[src*="//www.googletagmanager.com/gtm.js?id=${t}"]`).length>0}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Ls=(()=>
11{class r{constructor(){this.platformService=y(j),this.document=y(ne),this.renderer=y(De).createRenderer(null,null),this.usercentricsCmpSettings={}}load(t){this.platformService.isBrowser()||!t?.ucCmpSettingsId||(this.usercentricsCmpSettings=t,this.initUcCmpLoader(),this.initUcCmpSmartDataProtector())}initUcCmpLoader(){let t=this.renderer.createElement("script");t.setAttribute("id","usercentrics-cmp"),t.setAttribute("src","https://web.cmp.usercentrics.eu/ui/loader.js"),t.setAttribute("data-settings-id",this.usercentricsCmpSettings.ucCmpSettingsId),t.setAttribute("async",""),this.usercentricsCmpSettings.ucCmpEnableDraftVersion&&t.setAttribute("data-draft",!0),this.renderer.appendChild(this.document.head,t)}initUcCmpSmartDataProtector(){if(!this.usercentricsCmpSettings.ucCmpEnableSmartDataProtector)return;let t=this.renderer.createElement("script");t.setAttribute("src","https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js"),this.renderer.appendChild(this.document.head,t)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var ks=(()=>{class r{constructor(){this.logService=y(V),this.cmsLoader=y(Ni)}initialize(){this.logService.info("initializing CMS Loader");let t=Date.now();this.cmsLoader.loadCMS().then(()=>
11{this.logService.debug(`CMS Module loaded. Took ${Date.now()-t}ms`)})}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275prov=D({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Rc=["additionalContent"],Os=(()=>{class r{constructor(){this.applicationConfiguration=y(Ge),this.overlayInitService=y(ks),this.logger=y(V),this.externalScriptService=y(hi),this.renderer=y(Xt),this.trackingService=y(Ms),this.usercentricsService=y(Ls),this.router=y(Xn),this.platform=y(j),this.cache=y(mt),this.cookieService=y(pt),this.gtmService=y(Ds),this.contentRenderingServiceV2=y(ci),this.projectSettingsService=y(bt),this.metaDataService=y(oi),this.apiRequestService=y(si),this.schemeService=y(wi),this.platform.isServer()&&this.initServerData(),this.logger.debug("ViewEnvironment",de)}ngOnInit(){return x(this,null,function*(){this.schemeService.initThemeMode();let t=this.applicationConfiguration.isEditEnabled();if(this.platform.isBrowser()&&location.hostname.match(/-(relaunch)(-(live|cms))*\.dev\.tkpharos\.com$/i)){this.cookieService.put("overwrite_logging",JSON.stringify({clientEnabled:!0,logLevel:"DEBUG"}));try{(yield nn(this.apiRequestService.performExternalApiGetRequest("","/_api/ok")))?.ok&&this.applicationConfiguration.set(W.API_HOST,"/")}catch{this.logger.info("Feature Branch detected, but no local API_HOST reachable")}}t&&this.platform.isBrowser()&&(this.logger.debug("Loading CMS..."),this.overlayInitService.initialize()),this.metaDataService.setEditEnabled(t);let n=!1;if(this.router.events.subscribe(i=>{i instanceof Kn&&(n=!0),!(!(i instanceof Wn)||!n)&&(setTimeout(()=>{this.trackingService.trackNavigation(i)},1500),n=!1)}),this.platform.isBrowser()&&!de.production){let{DeveloperToolbarComponent:i}=yield import("./chunk-U27PZULE.js");this.additionalContentTarget.createComponent(i)}this.externalScriptService.newExternalScript().subscribe({next:i=>{this.addExternalScript(i)}}),this.contentRenderingServiceV2.pageRendered$.subscribe(()=>{let i=this.projectSettingsService.getGoogleTagManager();i?.gtmId&&this.gtmService.load(i.gtmId,i.dataLayer),this.projectSettingsService.getMatomoTracking()&&this.trackingService.initMatomo(this.projectSettingsService.getMatomoTracking())})})}ngAfterViewInit(){return x(this,null,function*(){this.projectSettingsService.getSettings().subscribe(()=>{let t=this.projectSettingsService.getUsercentricsSettings();t?.ucCmpSettingsId&&this.usercentricsService.load(t)})})}removeSearchTermParam(){let t=this.router.parseUrl(this.router.url);if(t.queryParams.searchTerm){let n=this.router.createUrlTree([],{queryParams:Kt(ge({},t.queryParams),{searchTerm:void 0}),queryParamsHandling:"merge",preserveFragment:!0});this.router.navigateByUrl(n,{replaceUrl:!0})}}addExternalScript(t){if(!this.platform.isBrowser())return;let n=document.body;if(!t||!n){this.logger.debug("No external script url given");return}let i=this.renderer.createElement("script");this.renderer.setAttribute(i,"src",t),this.renderer.listen(i,"load",()=>{this.externalScriptService.externalScriptLoaded(t)}),this.renderer.setAttribute(i,"type","text/javascript"),this.renderer.appendChild(n,i)}initServerData(){this.applicationConfiguration.getApiHost()||(this.logger.error("No API_HOST set! Set host!"),process.exit(-1)),this.cache.set(W.VERSION,this.applicationConfiguration.getVersion()??process.env.VERSION),this.cache.set(W.API_HOST,this.applicationConfiguration.getApiHost(!1)),this.cache.set(W.BASE_HREF,this.applicationConfiguration.getBaseHRef()),this.cache.set(W.RECAPTCHA_SITE_KEY,this.applicationConfiguration.getRecaptchaSiteKey()),this.applicationConfiguration.isEditEnabled()&&this.cache.set(W.FEATURES.EDIT_ENABLED,!0),this.cache.set(W.ANNOUNCEMENT,this.applicationConfiguration.getAnnouncement()),this.cache.set(W.RUN_ENVIRONMENT,"PROD"),this.logger.debug("Run-ENV:","production"),this.logger.info("Set API-HOST to",this.applicationConfiguration.getApiHost())}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=Le({type:r,selectors:[["ucp-root"]],viewQuery:function(n,i){if(n&1&&Sn(Rc,7,hn),n&2){let a;Tn(a=wn())&&(i.additionalContentTarget=a.first)}},decls:6,vars:0,consts:[["additionalContent",""],[1,"tw-flex","tw-flex-col","tw-w-full","tw-min-h-dvh"],[1,"tw-block","tw-fixed","tw-w-full","tw-top-0","tw-z-header"],[1,"tw-mt-
11auto"]],template:function(n,i){n&1&&(ie(0,"div",1),Ve(1,"ucp-page-header",2)(2,"router-outlet"),ae(3,null,0),Ve(5,"ucp-page-footer",3),ce())},dependencies:[Zn,Qn,Ti,Si,Ai,Ci],encapsulation:2})}}return r})();Hn(Os,Ns).catch(r=>console.error(r));
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.