diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30bc162 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules \ No newline at end of file diff --git a/dist/assets/index.c2e184af.js b/dist/assets/index.c2e184af.js new file mode 100644 index 0000000..19596a1 --- /dev/null +++ b/dist/assets/index.c2e184af.js @@ -0,0 +1,2165 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerpolicy&&(i.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?i.credentials="include":s.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function hA(){const t=document.createElement("p");t.innerHTML="vite example",document.querySelector("#app").appendChild(t)}/** + * @license Angular v14.2.6 + * (c) 2010-2022 Google LLC. https://angular.io/ + * License: MIT + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var cr;(function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"})(cr||(cr={}));function is(t){if(t[0]!=":")return[null,t];const e=t.indexOf(":",1);if(e===-1)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[t.slice(1,e),t.slice(e+1)]}function ch(t){return is(t)[1]==="ng-container"}function dh(t){return is(t)[1]==="ng-content"}function fA(t){return is(t)[1]==="ng-template"}function Dy(t){return t===null?null:is(t)[0]}function ph(t,e){return t?`:${t}:${e}`:e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class de{constructor({closedByChildren:e,implicitNamespacePrefix:n,contentType:r=cr.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=n||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if(typeof this.contentType=="object"){const n=e===void 0?void 0:this.contentType[e];return n!=null?n:this.contentType.default}return this.contentType}}let Cy,El;function Sf(t){var e,n;return El||(Cy=new de,El={base:new de({isVoid:!0}),meta:new de({isVoid:!0}),area:new de({isVoid:!0}),embed:new de({isVoid:!0}),link:new de({isVoid:!0}),img:new de({isVoid:!0}),input:new de({isVoid:!0}),param:new de({isVoid:!0}),hr:new de({isVoid:!0}),br:new de({isVoid:!0}),source:new de({isVoid:!0}),track:new de({isVoid:!0}),wbr:new de({isVoid:!0}),p:new de({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new de({closedByChildren:["tbody","tfoot"]}),tbody:new de({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new de({closedByChildren:["tbody"],closedByParent:!0}),tr:new de({closedByChildren:["tr"],closedByParent:!0}),td:new de({closedByChildren:["td","th"],closedByParent:!0}),th:new de({closedByChildren:["td","th"],closedByParent:!0}),col:new de({isVoid:!0}),svg:new de({implicitNamespacePrefix:"svg"}),foreignObject:new de({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new de({implicitNamespacePrefix:"math"}),li:new de({closedByChildren:["li"],closedByParent:!0}),dt:new de({closedByChildren:["dt","dd"]}),dd:new de({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new de({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new de({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new de({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new de({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new de({closedByChildren:["optgroup"],closedByParent:!0}),option:new de({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new de({ignoreFirstLf:!0}),listing:new de({ignoreFirstLf:!0}),style:new de({contentType:cr.RAW_TEXT}),script:new de({contentType:cr.RAW_TEXT}),title:new de({contentType:{default:cr.ESCAPABLE_RAW_TEXT,svg:cr.PARSABLE_DATA}}),textarea:new de({contentType:cr.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(n=(e=El[t])!==null&&e!==void 0?e:El[t.toLowerCase()])!==null&&n!==void 0?n:Cy}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const wy=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");class Ti{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const n=[],r=(u,l)=>{l.notSelectors.length>0&&!l.element&&l.classNames.length==0&&l.attrs.length==0&&(l.element="*"),u.push(l)};let s=new Ti,i,o=s,a=!1;for(wy.lastIndex=0;i=wy.exec(e);){if(i[1]){if(a)throw new Error("Nesting :not in a selector is not allowed");a=!0,o=new Ti,s.notSelectors.push(o)}const u=i[2];if(u){const c=i[3];c==="#"?o.addAttribute("id",u.slice(1)):c==="."?o.addClassName(u.slice(1)):o.setElement(u)}const l=i[4];if(l&&o.addAttribute(o.unescapeAttribute(l),i[6]),i[7]&&(a=!1,o=s),i[8]){if(a)throw new Error("Multiple selectors in :not are not supported");r(n,s),s=o=new Ti}}return r(n,s),n}unescapeAttribute(e){let n="",r=!1;for(let s=0;s0?` class="${this.classNames.join(" ")}"`:"";let r="";for(let s=0;s`:`<${e}${n}${r}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,n=""){this.attrs.push(e,n&&n.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(n=>e+=`.${n}`),this.attrs)for(let n=0;ne+=`:not(${n})`),e}}var Fs;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(Fs||(Fs={}));var ac;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(ac||(ac={}));const Sy={name:"custom-elements"},Iy={name:"no-errors-schema"};var st;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(st||(st={}));var by;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(by||(by={}));function gA(t){const e=t.classNames&&t.classNames.length?[8,...t.classNames]:[];return[t.element&&t.element!=="*"?t.element:"",...t.attrs,...e]}function mA(t){const e=t.classNames&&t.classNames.length?[8,...t.classNames]:[];return t.element?[5,t.element,...t.attrs,...e]:t.attrs.length?[3,...t.attrs,...e]:t.classNames&&t.classNames.length?[9,...t.classNames]:[]}function vA(t){const e=gA(t),n=t.notSelectors&&t.notSelectors.length?t.notSelectors.map(r=>mA(r)):[];return e.concat(...n)}function If(t){return t?Ti.parse(t).map(vA):[]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const yA=/-+([a-z0-9])/g;function EA(t){return t.replace(yA,(...e)=>e[1].toUpperCase())}function _A(t,e){return q_(t,":",e)}function DA(t,e){return q_(t,".",e)}function q_(t,e,n){const r=t.indexOf(e);return r==-1?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function uc(t){throw new Error(`Internal Error: ${t}`)}function bf(t){let e=[];for(let n=0;n=55296&&r<=56319&&t.length>n+1){const s=t.charCodeAt(n+1);s>=56320&&s<=57343&&(n++,r=(r-55296<<10)+s-56320+65536)}r<=127?e.push(r):r<=2047?e.push(r>>6&31|192,r&63|128):r<=65535?e.push(r>>12|224,r>>6&63|128,r&63|128):r<=2097151&&e.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,r&63|128)}return e}function G_(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(G_).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";const e=t.toString();if(e==null)return""+e;const n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}class CA{constructor(e){this.full=e;const n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}const Co=(()=>typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();function wA(t,e){const n=[];for(let r=0;r=10?(this.digits[s]=i-10,r=1):(this.digits[s]=i,r=0)}r>0&&(this.digits[n]=1)}toString(){let e="";for(let n=this.digits.length-1;n>=0;n--)e+=this.digits[n];return e}}class Ay{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const n=wo.zero();return this.multiplyByAndAddTo(e,n),n}multiplyByAndAddTo(e,n){for(let r=0;e!==0;e=e>>>1,r++)if(e&1){const s=this.getMultipliedByPowerOfTwo(r);n.addToSelf(s)}}getMultipliedByPowerOfTwo(e){for(let n=this.powerOfTwos.length;n<=e;n++){const r=this.powerOfTwos[n-1];this.powerOfTwos[n]=r.add(r)}return this.powerOfTwos[e]}}class IA{constructor(e){this.base=e,this.exponents=[new Ay(wo.one())]}toThePowerOf(e){for(let n=this.exponents.length;n<=e;n++){const r=this.exponents[n-1].multiplyBy(this.base);this.exponents[n]=new Ay(r)}return this.exponents[e]}}function bA(t){return PA(xA(t.nodes).join("")+`[${t.meaning}]`)}function AA(t){return t.id||z_(t)}function z_(t){const e=new MA,n=t.nodes.map(r=>r.visit(e,null));return Z_(n.join(""),t.meaning)}class W_{visitText(e,n){return e.value}visitContainer(e,n){return`[${e.children.map(r=>r.visit(this)).join(", ")}]`}visitIcu(e,n){const r=Object.keys(e.cases).map(s=>`${s} {${e.cases[s].visit(this)}}`);return`{${e.expression}, ${e.type}, ${r.join(", ")}}`}visitTagPlaceholder(e,n){return e.isVoid?``:`${e.children.map(r=>r.visit(this)).join(", ")}`}visitPlaceholder(e,n){return e.value?`${e.value}`:``}visitIcuPlaceholder(e,n){return`${e.value.visit(this)}`}}const TA=new W_;function xA(t){return t.map(e=>e.visit(TA,null))}class MA extends W_{visitIcu(e,n){let r=Object.keys(e.cases).map(s=>`${s} {${e.cases[s].visit(this)}}`);return`{${e.type}, ${r.join(", ")}}`}}function PA(t){const e=bf(t),n=RA(e,lr.Big),r=e.length*8,s=wA(80);let i=1732584193,o=4023233417,a=2562383102,u=271733878,l=3285377520;n[r>>5]|=128<<24-r%32,n[(r+64>>9<<4)+15]=r;for(let c=0;c>>13,e=ft(e,n),e=ft(e,t),e^=t<<8,n=ft(n,t),n=ft(n,e),n^=e>>>13,t=ft(t,e),t=ft(t,n),t^=n>>>12,e=ft(e,n),e=ft(e,t),e^=t<<16,n=ft(n,t),n=ft(n,e),n^=e>>>5,t=ft(t,e),t=ft(t,n),t^=n>>>3,e=ft(e,n),e=ft(e,t),e^=t<<10,n=ft(n,t),n=ft(n,e),n^=e>>>15,[t,e,n]}var lr;(function(t){t[t.Little=0]="Little",t[t.Big=1]="Big"})(lr||(lr={}));function Bt(t,e){return K_(t,e)[1]}function K_(t,e){const n=(t&65535)+(e&65535),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|n&65535]}function NA(t,e){const n=t[0],r=t[1],s=e[0],i=e[1],o=K_(r,i),a=o[0],u=o[1];return[Bt(Bt(n,s),a),u]}function ft(t,e){const n=(t&65535)-(e&65535);return(t>>16)-(e>>16)+(n>>16)<<16|n&65535}function sp(t,e){return t<>>32-e}function FA(t,e){const n=t[0],r=t[1],s=n<>>32-e,i=r<>>32-e;return[s,i]}function RA(t,e){const n=t.length+3>>>2,r=[];for(let s=0;s=t.length?0:t[e]}function Ei(t,e,n){let r=0;if(n===lr.Big)for(let s=0;s<4;s++)r+=hh(t,e+s)<<24-8*s;else for(let s=0;s<4;s++)r+=hh(t,e+s)<<8*s;return r}function LA(t){return t.reduce((e,n)=>e.concat(OA(n)),[])}function OA(t){let e=[];for(let n=0;n<4;n++)e.push(t>>>8*(3-n)&255);return e}function BA(t){let e="";for(let n=0;n>>4).toString(16)+(r&15).toString(16)}return e.toLowerCase()}const Py=new IA(256);function $A(t,e){const n=Py.toThePowerOf(0).multiplyBy(e);return Py.toThePowerOf(4).multiplyByAndAddTo(t,n),n.toString()}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var fh;(function(t){t[t.None=0]="None",t[t.Const=1]="Const"})(fh||(fh={}));class Q_{constructor(e=fh.None){this.modifiers=e}hasModifier(e){return(this.modifiers&e)!==0}}var Sr;(function(t){t[t.Dynamic=0]="Dynamic",t[t.Bool=1]="Bool",t[t.String=2]="String",t[t.Int=3]="Int",t[t.Number=4]="Number",t[t.Function=5]="Function",t[t.Inferred=6]="Inferred",t[t.None=7]="None"})(Sr||(Sr={}));class pi extends Q_{constructor(e,n){super(n),this.name=e}visitType(e,n){return e.visitBuiltinType(this,n)}}class os extends Q_{constructor(e,n,r=null){super(n),this.value=e,this.typeParams=r}visitType(e,n){return e.visitExpressionType(this,n)}}const ra=new pi(Sr.Dynamic),Xt=new pi(Sr.Inferred),jA=new pi(Sr.Bool);new pi(Sr.Int);const Fu=new pi(Sr.Number),Y_=new pi(Sr.String);new pi(Sr.Function);const hs=new pi(Sr.None);var Ro;(function(t){t[t.Minus=0]="Minus",t[t.Plus=1]="Plus"})(Ro||(Ro={}));var q;(function(t){t[t.Equals=0]="Equals",t[t.NotEquals=1]="NotEquals",t[t.Identical=2]="Identical",t[t.NotIdentical=3]="NotIdentical",t[t.Minus=4]="Minus",t[t.Plus=5]="Plus",t[t.Divide=6]="Divide",t[t.Multiply=7]="Multiply",t[t.Modulo=8]="Modulo",t[t.And=9]="And",t[t.Or=10]="Or",t[t.BitwiseAnd=11]="BitwiseAnd",t[t.Lower=12]="Lower",t[t.LowerEquals=13]="LowerEquals",t[t.Bigger=14]="Bigger",t[t.BiggerEquals=15]="BiggerEquals",t[t.NullishCoalesce=16]="NullishCoalesce"})(q||(q={}));function VA(t,e){return t==null||e==null?t==e:t.isEquivalent(e)}function X_(t,e,n){const r=t.length;if(r!==e.length)return!1;for(let s=0;sn.isEquivalent(r))}class Je{constructor(e,n){this.type=e||null,this.sourceSpan=n||null}prop(e,n){return new Qc(this,e,null,n)}key(e,n,r){return new Ff(this,e,n,r)}callFn(e,n,r){return new Lo(this,e,null,n,r)}instantiate(e,n,r){return new su(this,e,n,r)}conditional(e,n=null,r){return new Pf(this,e,n,null,r)}equals(e,n){return new Ze(q.Equals,this,e,null,n)}notEquals(e,n){return new Ze(q.NotEquals,this,e,null,n)}identical(e,n){return new Ze(q.Identical,this,e,null,n)}notIdentical(e,n){return new Ze(q.NotIdentical,this,e,null,n)}minus(e,n){return new Ze(q.Minus,this,e,null,n)}plus(e,n){return new Ze(q.Plus,this,e,null,n)}divide(e,n){return new Ze(q.Divide,this,e,null,n)}multiply(e,n){return new Ze(q.Multiply,this,e,null,n)}modulo(e,n){return new Ze(q.Modulo,this,e,null,n)}and(e,n){return new Ze(q.And,this,e,null,n)}bitwiseAnd(e,n,r=!0){return new Ze(q.BitwiseAnd,this,e,null,n,r)}or(e,n){return new Ze(q.Or,this,e,null,n)}lower(e,n){return new Ze(q.Lower,this,e,null,n)}lowerEquals(e,n){return new Ze(q.LowerEquals,this,e,null,n)}bigger(e,n){return new Ze(q.Bigger,this,e,null,n)}biggerEquals(e,n){return new Ze(q.BiggerEquals,this,e,null,n)}isBlank(e){return this.equals(Gl,e)}nullishCoalesce(e,n){return new Ze(q.NullishCoalesce,this,e,null,n)}toStmt(){return new fi(this,null)}}class Ru extends Je{constructor(e,n,r){super(n,r),this.name=e}isEquivalent(e){return e instanceof Ru&&this.name===e.name}isConstant(){return!1}visitExpression(e,n){return e.visitReadVarExpr(this,n)}set(e){return new Af(this.name,e,null,this.sourceSpan)}}class Zc extends Je{constructor(e,n,r){super(n,r),this.expr=e}visitExpression(e,n){return e.visitTypeofExpr(this,n)}isEquivalent(e){return e instanceof Zc&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class ne extends Je{constructor(e,n,r){super(n,r),this.node=e}isEquivalent(e){return e instanceof ne&&this.node===e.node}isConstant(){return!1}visitExpression(e,n){return e.visitWrappedNodeExpr(this,n)}}class Af extends Je{constructor(e,n,r,s){super(r||n.type,s),this.name=e,this.value=n}isEquivalent(e){return e instanceof Af&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,n){return e.visitWriteVarExpr(this,n)}toDeclStmt(e,n){return new hi(this.name,this.value,e,n,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Xt,Mn.Final)}}class Tf extends Je{constructor(e,n,r,s,i){super(s||r.type,i),this.receiver=e,this.index=n,this.value=r}isEquivalent(e){return e instanceof Tf&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,n){return e.visitWriteKeyExpr(this,n)}}class xf extends Je{constructor(e,n,r,s,i){super(s||r.type,i),this.receiver=e,this.name=n,this.value=r}isEquivalent(e){return e instanceof xf&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,n){return e.visitWritePropExpr(this,n)}}class Lo extends Je{constructor(e,n,r,s,i=!1){super(r,s),this.fn=e,this.args=n,this.pure=i}isEquivalent(e){return e instanceof Lo&&this.fn.isEquivalent(e.fn)&&Kn(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,n){return e.visitInvokeFunctionExpr(this,n)}}class Mf extends Je{constructor(e,n,r,s){super(r,s),this.tag=e,this.template=n}isEquivalent(e){return e instanceof Mf&&this.tag.isEquivalent(e.tag)&&X_(this.template.elements,e.template.elements,(n,r)=>n.text===r.text)&&Kn(this.template.expressions,e.template.expressions)}isConstant(){return!1}visitExpression(e,n){return e.visitTaggedTemplateExpr(this,n)}}class su extends Je{constructor(e,n,r,s){super(r,s),this.classExpr=e,this.args=n}isEquivalent(e){return e instanceof su&&this.classExpr.isEquivalent(e.classExpr)&&Kn(this.args,e.args)}isConstant(){return!1}visitExpression(e,n){return e.visitInstantiateExpr(this,n)}}class Qn extends Je{constructor(e,n,r){super(n,r),this.value=e}isEquivalent(e){return e instanceof Qn&&this.value===e.value}isConstant(){return!0}visitExpression(e,n){return e.visitLiteralExpr(this,n)}}class ky{constructor(e,n){this.elements=e,this.expressions=n}}class Ny{constructor(e,n,r){var s;this.text=e,this.sourceSpan=n,this.rawText=(s=r!=null?r:n==null?void 0:n.toString())!==null&&s!==void 0?s:gh(ql(e))}}class Ga{constructor(e,n){this.text=e,this.sourceSpan=n}}class Ul{constructor(e,n,r){this.text=e,this.sourceSpan=n,this.associatedMessage=r}}const HA="|",Fy="@@",UA="\u241F";class qA extends Je{constructor(e,n,r,s,i){super(Y_,i),this.metaBlock=e,this.messageParts=n,this.placeHolderNames=r,this.expressions=s}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,n){return e.visitLocalizedString(this,n)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}${HA}${e}`),this.metaBlock.customId&&(e=`${e}${Fy}${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(n=>{e=`${e}${UA}${n}`}),Ry(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){var n,r;return(r=(n=this.messageParts[e])===null||n===void 0?void 0:n.sourceSpan)!==null&&r!==void 0?r:this.sourceSpan}getPlaceholderSourceSpan(e){var n,r,s,i;return(i=(r=(n=this.placeHolderNames[e])===null||n===void 0?void 0:n.sourceSpan)!==null&&r!==void 0?r:(s=this.expressions[e])===null||s===void 0?void 0:s.sourceSpan)!==null&&i!==void 0?i:this.sourceSpan}serializeI18nTemplatePart(e){var n;const r=this.placeHolderNames[e-1],s=this.messageParts[e];let i=r.text;return((n=r.associatedMessage)===null||n===void 0?void 0:n.legacyIds.length)===0&&(i+=`${Fy}${Z_(r.associatedMessage.messageString,r.associatedMessage.meaning)}`),Ry(i,s.text,this.getMessagePartSourceSpan(e))}}const ql=t=>t.replace(/\\/g,"\\\\"),GA=t=>t.replace(/^:/,"\\:"),zA=t=>t.replace(/:/g,"\\:"),gh=t=>t.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function Ry(t,e,n){return t===""?{cooked:e,raw:gh(GA(ql(e))),range:n}:{cooked:`:${t}:${e}`,raw:gh(`:${zA(ql(t))}:${ql(e)}`),range:n}}class Kc extends Je{constructor(e,n,r=null,s){super(n,s),this.value=e,this.typeParams=r}isEquivalent(e){return e instanceof Kc&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,n){return e.visitExternalExpr(this,n)}}class Pf extends Je{constructor(e,n,r=null,s,i){super(s||n.type,i),this.condition=e,this.falseCase=r,this.trueCase=n}isEquivalent(e){return e instanceof Pf&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&VA(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,n){return e.visitConditionalExpr(this,n)}}class kf extends Je{constructor(e,n){super(jA,n),this.condition=e}isEquivalent(e){return e instanceof kf&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,n){return e.visitNotExpr(this,n)}}class ln{constructor(e,n=null){this.name=e,this.type=n}isEquivalent(e){return this.name===e.name}}class Lu extends Je{constructor(e,n,r,s,i){super(r,s),this.params=e,this.statements=n,this.name=i}isEquivalent(e){return e instanceof Lu&&Kn(this.params,e.params)&&Kn(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,n){return e.visitFunctionExpr(this,n)}toDeclStmt(e,n){return new Rf(e,this.params,this.statements,this.type,n,this.sourceSpan)}}class Nf extends Je{constructor(e,n,r,s,i=!0){super(r||Fu,s),this.operator=e,this.expr=n,this.parens=i}isEquivalent(e){return e instanceof Nf&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,n){return e.visitUnaryOperatorExpr(this,n)}}class Ze extends Je{constructor(e,n,r,s,i,o=!0){super(s||n.type,i),this.operator=e,this.rhs=r,this.parens=o,this.lhs=n}isEquivalent(e){return e instanceof Ze&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,n){return e.visitBinaryOperatorExpr(this,n)}}class Qc extends Je{constructor(e,n,r,s){super(r,s),this.receiver=e,this.name=n}isEquivalent(e){return e instanceof Qc&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,n){return e.visitReadPropExpr(this,n)}set(e){return new xf(this.receiver,this.name,e,null,this.sourceSpan)}}class Ff extends Je{constructor(e,n,r,s){super(r,s),this.receiver=e,this.index=n}isEquivalent(e){return e instanceof Ff&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,n){return e.visitReadKeyExpr(this,n)}set(e){return new Tf(this.receiver,this.index,e,null,this.sourceSpan)}}class Ou extends Je{constructor(e,n,r){super(n,r),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof Ou&&Kn(this.entries,e.entries)}visitExpression(e,n){return e.visitLiteralArrayExpr(this,n)}}class J_{constructor(e,n,r){this.key=e,this.value=n,this.quoted=r}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Yc extends Je{constructor(e,n,r){super(n,r),this.entries=e,this.valueType=null,n&&(this.valueType=n.valueType)}isEquivalent(e){return e instanceof Yc&&Kn(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,n){return e.visitLiteralMapExpr(this,n)}}const mh=new Qn(null,null,null),Gl=new Qn(null,Xt,null);var Mn;(function(t){t[t.None=0]="None",t[t.Final=1]="Final",t[t.Private=2]="Private",t[t.Exported=4]="Exported",t[t.Static=8]="Static"})(Mn||(Mn={}));class WA{constructor(e,n,r){this.text=e,this.multiline=n,this.trailingNewline=r}toString(){return this.multiline?` ${this.text} `:this.text}}class eD extends WA{constructor(e){super("",!0,!0),this.tags=e}toString(){return YA(this.tags)}}class Bu{constructor(e=Mn.None,n=null,r){this.modifiers=e,this.sourceSpan=n,this.leadingComments=r}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){var n;this.leadingComments=(n=this.leadingComments)!==null&&n!==void 0?n:[],this.leadingComments.push(e)}}class hi extends Bu{constructor(e,n,r,s,i,o){super(s,i,o),this.name=e,this.value=n,this.type=r||n&&n.type||null}isEquivalent(e){return e instanceof hi&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,n){return e.visitDeclareVarStmt(this,n)}}class Rf extends Bu{constructor(e,n,r,s,i,o,a){super(i,o,a),this.name=e,this.params=n,this.statements=r,this.type=s||null}isEquivalent(e){return e instanceof Rf&&Kn(this.params,e.params)&&Kn(this.statements,e.statements)}visitStatement(e,n){return e.visitDeclareFunctionStmt(this,n)}}class fi extends Bu{constructor(e,n,r){super(Mn.None,n,r),this.expr=e}isEquivalent(e){return e instanceof fi&&this.expr.isEquivalent(e.expr)}visitStatement(e,n){return e.visitExpressionStmt(this,n)}}class vt extends Bu{constructor(e,n=null,r){super(Mn.None,n,r),this.value=e}isEquivalent(e){return e instanceof vt&&this.value.isEquivalent(e.value)}visitStatement(e,n){return e.visitReturnStmt(this,n)}}class Lf extends Bu{constructor(e,n,r=[],s,i){super(Mn.None,s,i),this.condition=e,this.trueCase=n,this.falseCase=r}isEquivalent(e){return e instanceof Lf&&this.condition.isEquivalent(e.condition)&&Kn(this.trueCase,e.trueCase)&&Kn(this.falseCase,e.falseCase)}visitStatement(e,n){return e.visitIfStmt(this,n)}}function ZA(t=[]){return new eD(t)}function ye(t,e,n){return new Ru(t,e,n)}function K(t,e=null,n){return new Kc(t,null,e,n)}function hn(t,e,n){return new os(t,e,n)}function Of(t){return new Zc(t)}function Ve(t,e,n){return new Ou(t,e,n)}function Pn(t,e=null){return new Yc(t.map(n=>new J_(n.key,n.value,n.quoted)),e,null)}function KA(t,e){return new kf(t,e)}function Ut(t,e,n,r,s){return new Lu(t,e,n,r,s)}function Bf(t,e,n,r,s){return new Lf(t,e,n,r,s)}function Ly(t,e,n,r){return new Mf(t,e,n,r)}function x(t,e,n){return new Qn(t,e,n)}function QA(t,e,n,r,s){return new qA(t,e,n,r,s)}function tD(t){return t instanceof Qn&&t.value===null}function Oy(t){let e="";if(t.tagName&&(e+=` @${t.tagName}`),t.text){if(t.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');e+=" "+t.text.replace(/@/g,"\\@")}return e}function YA(t){if(t.length===0)return"";if(t.length===1&&t[0].tagName&&!t[0].text)return`*${Oy(t[0])} `;let e=`* +`;for(const n of t)e+=" *",e+=Oy(n).replace(/\n/g,` + * `),e+=` +`;return e+=" ",e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const XA="_c",By=ye(""),nD={},JA=50;class lc extends Je{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,n){return n===nD?this.original.visitExpression(e,n):this.resolved.visitExpression(e,n)}isEquivalent(e){return e instanceof lc&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class $y{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.nextNameIndex=0}getConstLiteral(e,n){if(e instanceof Qn&&!jy(e)||e instanceof lc)return e;const r=this.keyOf(e);let s=this.literals.get(r),i=!1;if(s||(s=new lc(e),this.literals.set(r,s),i=!0),!i&&!s.shared||i&&n){const o=this.freshName();let a,u;this.isClosureCompilerEnabled&&jy(e)?(a=ye(o).set(new Lu([],[new vt(e)])),u=ye(o).callFn([])):(a=ye(o).set(e),u=ye(o)),this.statements.push(a.toDeclStmt(Xt,Mn.Final)),s.fixup(u)}return s}getLiteralFactory(e){if(e instanceof Ou){const n=e.entries.map(s=>s.isConstant()?s:By),r=this.keyOf(Ve(n));return this._getLiteralFactory(r,e.entries,s=>Ve(s))}else{const n=Pn(e.entries.map(s=>({key:s.key,value:s.value.isConstant()?s.value:By,quoted:s.quoted}))),r=this.keyOf(n);return this._getLiteralFactory(r,e.entries.map(s=>s.value),s=>Pn(s.map((i,o)=>({key:e.entries[o].key,value:i,quoted:e.entries[o].quoted}))))}}_getLiteralFactory(e,n,r){let s=this.literalFactories.get(e);const i=n.filter(o=>!o.isConstant());if(!s){const o=n.map((c,d)=>c.isConstant()?this.getConstLiteral(c,!0):ye(`a${d}`)),a=o.filter(tT).map(c=>new ln(c.name,ra)),u=Ut(a,[new vt(r(o))],Xt),l=this.freshName();this.statements.push(ye(l).set(u).toDeclStmt(Xt,Mn.Final)),s=ye(l),this.literalFactories.set(e,s)}return{literalFactory:s,literalFactoryArguments:i}}uniqueName(e){return`${e}${this.nextNameIndex++}`}freshName(){return this.uniqueName(XA)}keyOf(e){return e.visitExpression(new eT,nD)}}class eT{constructor(){this.visitWrappedNodeExpr=gt,this.visitWriteVarExpr=gt,this.visitWriteKeyExpr=gt,this.visitWritePropExpr=gt,this.visitInvokeFunctionExpr=gt,this.visitTaggedTemplateExpr=gt,this.visitInstantiateExpr=gt,this.visitConditionalExpr=gt,this.visitNotExpr=gt,this.visitAssertNotNullExpr=gt,this.visitCastExpr=gt,this.visitFunctionExpr=gt,this.visitUnaryOperatorExpr=gt,this.visitBinaryOperatorExpr=gt,this.visitReadPropExpr=gt,this.visitReadKeyExpr=gt,this.visitCommaExpr=gt,this.visitLocalizedString=gt}visitLiteralExpr(e){return`${typeof e.value=="string"?'"'+e.value+'"':e.value}`}visitLiteralArrayExpr(e,n){return`[${e.entries.map(r=>r.visitExpression(this,n)).join(",")}]`}visitLiteralMapExpr(e,n){const r=i=>{const o=i.quoted?'"':"";return`${o}${i.key}${o}`},s=i=>`${r(i)}:${i.value.visitExpression(this,n)}`;return`{${e.entries.map(s).join(",")}`}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:`EX:${e.value.runtime.name}`}visitReadVarExpr(e){return`VAR:${e.name}`}visitTypeofExpr(e,n){return`TYPEOF:${e.expr.visitExpression(this,n)}`}}function gt(t){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${t.constructor.name}`)}function tT(t){return t instanceof Ru}function jy(t){return t instanceof Qn&&typeof t.value=="string"&&t.value.length>=JA}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const _="@angular/core";class h{}h.NEW_METHOD="factory";h.TRANSFORM_METHOD="transform";h.PATCH_DEPS="patchedDeps";h.core={name:null,moduleName:_};h.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:_};h.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:_};h.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:_};h.element={name:"\u0275\u0275element",moduleName:_};h.elementStart={name:"\u0275\u0275elementStart",moduleName:_};h.elementEnd={name:"\u0275\u0275elementEnd",moduleName:_};h.advance={name:"\u0275\u0275advance",moduleName:_};h.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:_};h.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:_};h.attribute={name:"\u0275\u0275attribute",moduleName:_};h.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:_};h.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:_};h.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:_};h.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:_};h.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:_};h.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:_};h.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:_};h.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:_};h.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:_};h.classProp={name:"\u0275\u0275classProp",moduleName:_};h.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:_};h.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:_};h.elementContainer={name:"\u0275\u0275elementContainer",moduleName:_};h.styleMap={name:"\u0275\u0275styleMap",moduleName:_};h.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:_};h.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:_};h.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:_};h.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:_};h.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:_};h.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:_};h.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:_};h.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:_};h.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:_};h.classMap={name:"\u0275\u0275classMap",moduleName:_};h.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:_};h.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:_};h.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:_};h.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:_};h.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:_};h.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:_};h.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:_};h.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:_};h.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:_};h.styleProp={name:"\u0275\u0275styleProp",moduleName:_};h.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:_};h.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:_};h.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:_};h.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:_};h.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:_};h.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:_};h.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:_};h.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:_};h.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:_};h.nextContext={name:"\u0275\u0275nextContext",moduleName:_};h.resetView={name:"\u0275\u0275resetView",moduleName:_};h.templateCreate={name:"\u0275\u0275template",moduleName:_};h.text={name:"\u0275\u0275text",moduleName:_};h.enableBindings={name:"\u0275\u0275enableBindings",moduleName:_};h.disableBindings={name:"\u0275\u0275disableBindings",moduleName:_};h.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:_};h.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:_};h.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:_};h.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:_};h.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:_};h.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:_};h.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:_};h.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:_};h.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:_};h.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:_};h.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:_};h.restoreView={name:"\u0275\u0275restoreView",moduleName:_};h.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:_};h.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:_};h.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:_};h.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:_};h.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:_};h.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:_};h.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:_};h.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:_};h.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:_};h.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:_};h.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:_};h.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:_};h.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:_};h.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:_};h.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:_};h.hostProperty={name:"\u0275\u0275hostProperty",moduleName:_};h.property={name:"\u0275\u0275property",moduleName:_};h.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:_};h.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:_};h.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:_};h.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:_};h.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:_};h.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:_};h.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:_};h.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:_};h.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:_};h.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:_};h.i18n={name:"\u0275\u0275i18n",moduleName:_};h.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:_};h.i18nExp={name:"\u0275\u0275i18nExp",moduleName:_};h.i18nStart={name:"\u0275\u0275i18nStart",moduleName:_};h.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:_};h.i18nApply={name:"\u0275\u0275i18nApply",moduleName:_};h.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:_};h.pipe={name:"\u0275\u0275pipe",moduleName:_};h.projection={name:"\u0275\u0275projection",moduleName:_};h.projectionDef={name:"\u0275\u0275projectionDef",moduleName:_};h.reference={name:"\u0275\u0275reference",moduleName:_};h.inject={name:"\u0275\u0275inject",moduleName:_};h.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:_};h.directiveInject={name:"\u0275\u0275directiveInject",moduleName:_};h.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:_};h.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:_};h.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:_};h.forwardRef={name:"forwardRef",moduleName:_};h.resolveForwardRef={name:"resolveForwardRef",moduleName:_};h.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:_};h.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:_};h.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:_};h.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:_};h.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:_};h.resolveBody={name:"\u0275\u0275resolveBody",moduleName:_};h.defineComponent={name:"\u0275\u0275defineComponent",moduleName:_};h.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:_};h.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:_};h.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:_};h.ViewEncapsulation={name:"ViewEncapsulation",moduleName:_};h.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:_};h.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:_};h.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:_};h.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:_};h.defineDirective={name:"\u0275\u0275defineDirective",moduleName:_};h.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:_};h.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:_};h.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:_};h.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:_};h.defineInjector={name:"\u0275\u0275defineInjector",moduleName:_};h.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:_};h.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:_};h.ModuleWithProviders={name:"ModuleWithProviders",moduleName:_};h.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:_};h.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:_};h.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:_};h.registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:_};h.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:_};h.definePipe={name:"\u0275\u0275definePipe",moduleName:_};h.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:_};h.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:_};h.setClassMetadata={name:"\u0275setClassMetadata",moduleName:_};h.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:_};h.viewQuery={name:"\u0275\u0275viewQuery",moduleName:_};h.loadQuery={name:"\u0275\u0275loadQuery",moduleName:_};h.contentQuery={name:"\u0275\u0275contentQuery",moduleName:_};h.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:_};h.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:_};h.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:_};h.StandaloneFeature={name:"\u0275\u0275StandaloneFeature",moduleName:_};h.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:_};h.listener={name:"\u0275\u0275listener",moduleName:_};h.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:_};h.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:_};h.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:_};h.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:_};h.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:_};h.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:_};h.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:_};h.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:_};h.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:_};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const nT=3,rT="# sourceMappingURL=data:application/json;base64,";class sT{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,n=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,n),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,n,r,s){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(n!=null&&!this.sourcesContent.has(n))throw new Error(`Unknown source file "${n}"`);if(e==null)throw new Error("The column in the generated code must be provided");if(e{e.set(l,c),n.push(l),r.push(this.sourcesContent.get(l)||null)});let s="",i=0,o=0,a=0,u=0;return this.lines.forEach(l=>{i=0,s+=l.map(c=>{let d=_l(c.col0-i);return i=c.col0,c.sourceUrl!=null&&(d+=_l(e.get(c.sourceUrl)-o),o=e.get(c.sourceUrl),d+=_l(c.sourceLine0-a),a=c.sourceLine0,d+=_l(c.sourceCol0-u),u=c.sourceCol0),d}).join(","),s+=";"}),s=s.slice(0,-1),{file:this.file||"",version:nT,sourceRoot:"",sources:n,sourcesContent:r,mappings:s}}toJsComment(){return this.hasMappings?"//"+rT+iT(JSON.stringify(this,null,0)):""}}function iT(t){let e="";const n=bf(t);for(let r=0;r>2),e+=ja((s&3)<<4|(i===null?0:i>>4)),e+=i===null?"=":ja((i&15)<<2|(o===null?0:o>>6)),e+=i===null||o===null?"=":ja(o&63)}return e}function _l(t){t=t<0?(-t<<1)+1:t<<1;let e="";do{let n=t&31;t=t>>5,t>0&&(n=n|32),e+=ja(n)}while(t>0);return e}const oT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ja(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return oT[t]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const aT=/'|\\|\n|\r|\$/g,uT=/^[$A-Z_][0-9A-Z_$]*$/i,vh=" ";class Vy{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class $f{constructor(e){this._indent=e,this._lines=[new Vy(e)]}static createRoot(){return new $f(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,n=""){this.print(e||null,n,!0)}lineIsEmpty(){return this._currentLine.parts.length===0}lineLength(){return this._currentLine.indent*vh.length+this._currentLine.partsLength}print(e,n,r=!1){n.length>0&&(this._currentLine.parts.push(n),this._currentLine.partsLength+=n.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),r&&this._lines.push(new Vy(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(e=>e.parts.length>0?Hy(e.indent)+e.parts.join(""):"").join(` +`)}toSourceMapGenerator(e,n=0){const r=new sT(e);let s=!1;const i=()=>{s||(r.addSource(e," ").addMapping(0,e,0,0),s=!0)};for(let o=0;o{r.addLine();const u=o.srcSpans,l=o.parts;let c=o.indent*vh.length,d=0;for(;ds)return r.srcSpans[i];s-=o.length}}return null}get sourceLines(){return this._lines.length&&this._lines[this._lines.length-1].parts.length===0?this._lines.slice(0,-1):this._lines}}class lT{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,n){if(e.leadingComments!==void 0)for(const r of e.leadingComments)r instanceof eD?n.print(e,`/*${r.toString()}*/`,r.trailingNewline):r.multiline?n.print(e,`/* ${r.text} */`,r.trailingNewline):r.text.split(` +`).forEach(s=>{n.println(e,`// ${s}`)})}visitExpressionStmt(e,n){return this.printLeadingComments(e,n),e.expr.visitExpression(this,n),n.println(e,";"),null}visitReturnStmt(e,n){return this.printLeadingComments(e,n),n.print(e,"return "),e.value.visitExpression(this,n),n.println(e,";"),null}visitIfStmt(e,n){this.printLeadingComments(e,n),n.print(e,"if ("),e.condition.visitExpression(this,n),n.print(e,") {");const r=e.falseCase!=null&&e.falseCase.length>0;return e.trueCase.length<=1&&!r?(n.print(e," "),this.visitAllStatements(e.trueCase,n),n.removeEmptyLastLine(),n.print(e," ")):(n.println(),n.incIndent(),this.visitAllStatements(e.trueCase,n),n.decIndent(),r&&(n.println(e,"} else {"),n.incIndent(),this.visitAllStatements(e.falseCase,n),n.decIndent())),n.println(e,"}"),null}visitWriteVarExpr(e,n){const r=n.lineIsEmpty();return r||n.print(e,"("),n.print(e,`${e.name} = `),e.value.visitExpression(this,n),r||n.print(e,")"),null}visitWriteKeyExpr(e,n){const r=n.lineIsEmpty();return r||n.print(e,"("),e.receiver.visitExpression(this,n),n.print(e,"["),e.index.visitExpression(this,n),n.print(e,"] = "),e.value.visitExpression(this,n),r||n.print(e,")"),null}visitWritePropExpr(e,n){const r=n.lineIsEmpty();return r||n.print(e,"("),e.receiver.visitExpression(this,n),n.print(e,`.${e.name} = `),e.value.visitExpression(this,n),r||n.print(e,")"),null}visitInvokeFunctionExpr(e,n){return e.fn.visitExpression(this,n),n.print(e,"("),this.visitAllExpressions(e.args,n,","),n.print(e,")"),null}visitTaggedTemplateExpr(e,n){e.tag.visitExpression(this,n),n.print(e,"`"+e.template.elements[0].rawText);for(let r=1;r{n.print(e,`${Ii(r.key,this._escapeDollarInStrings,r.quoted)}:`),r.value.visitExpression(this,n)},e.entries,n,","),n.print(e,"}"),null}visitCommaExpr(e,n){return n.print(e,"("),this.visitAllExpressions(e.parts,n,","),n.print(e,")"),null}visitAllExpressions(e,n,r){this.visitAllObjects(s=>s.visitExpression(this,n),e,n,r)}visitAllObjects(e,n,r,s){let i=!1;for(let o=0;o0&&(r.lineLength()>80?(r.print(null,s,!0),i||(r.incIndent(),r.incIndent(),i=!0)):r.print(null,s,!1)),e(n[o]);i&&(r.decIndent(),r.decIndent())}visitAllStatements(e,n){e.forEach(r=>r.visitStatement(this,n))}}function Ii(t,e,n=!0){if(t==null)return null;const r=t.replace(aT,(...i)=>i[0]=="$"?e?"\\$":"$":i[0]==` +`?"\\n":i[0]=="\r"?"\\r":`\\${i[0]}`);return n||!uT.test(r)?`'${r}'`:r}function Hy(t){let e="";for(let n=0;nr.value));return e?Ut([],[new vt(n)]):n}function jf(t,e){return{expression:t,forwardRef:e}}function fT({expression:t,forwardRef:e}){switch(e){case 0:case 1:return t;case 2:return gT(t)}}function gT(t){return K(h.forwardRef).callFn([Ut([],[new vt(t)])])}var iu;(function(t){t[t.Class=0]="Class",t[t.Function=1]="Function"})(iu||(iu={}));var dr;(function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"})(dr||(dr={}));function Ci(t){const e=ye("t");let n=null;const r=qy(t)?e:new Ze(q.Or,e,t.internalType);let s=null;t.deps!==null?t.deps!=="invalid"&&(s=new su(r,Uy(t.deps,t.target))):(n=ye(`\u0275${t.name}_BaseFactory`),s=n.callFn([r]));const i=[];let o=null;function a(l){const c=ye("r");i.push(c.set(mh).toDeclStmt());const d=s!==null?c.set(s).toStmt():K(h.invalidFactory).callFn([]).toStmt();return i.push(Bf(e,[d],[c.set(l).toStmt()])),c}if(qy(t)){const l=Uy(t.delegateDeps,t.target),c=new(t.delegateType===iu.Class?su:Lo)(t.delegate,l);o=a(c)}else _T(t)?o=a(t.expression):o=s;if(o===null)i.push(K(h.invalidFactory).callFn([]).toStmt());else if(n!==null){const l=K(h.getInheritedFactory).callFn([t.internalType]),c=new Ze(q.Or,n,n.set(l));i.push(new vt(c.callFn([r])))}else i.push(new vt(o));let u=Ut([new ln("t",ra)],i,Xt,void 0,`${t.name}_Factory`);return n!==null&&(u=Ut([],[new hi(n.name),new vt(u)]).callFn([],void 0,!0)),{expression:u,statements:[],type:mT(t)}}function mT(t){const e=t.deps!==null&&t.deps!=="invalid"?yT(t.deps):hs;return hn(K(h.FactoryDeclaration,[Xc(t.type.type,t.typeArgumentCount),e]))}function Uy(t,e){return t.map((n,r)=>vT(n,e,r))}function vT(t,e,n){if(t.token===null)return K(h.invalidFactoryDep).callFn([x(n)]);if(t.attributeNameType===null){const r=0|(t.self?2:0)|(t.skipSelf?4:0)|(t.host?1:0)|(t.optional?8:0)|(e===dr.Pipe?16:0);let s=r!==0||t.optional?x(r):null;const i=[t.token];s&&i.push(s);const o=DT(e);return K(o).callFn(i)}else return K(h.injectAttribute).callFn([t.token])}function yT(t){let e=!1;const n=t.map(r=>{const s=ET(r);return s!==null?(e=!0,s):x(null)});return e?hn(Ve(n)):hs}function ET(t){const e=[];return t.attributeNameType!==null&&e.push({key:"attribute",value:t.attributeNameType,quoted:!1}),t.optional&&e.push({key:"optional",value:x(!0),quoted:!1}),t.host&&e.push({key:"host",value:x(!0),quoted:!1}),t.self&&e.push({key:"self",value:x(!0),quoted:!1}),t.skipSelf&&e.push({key:"skipSelf",value:x(!0),quoted:!1}),e.length>0?Pn(e):null}function qy(t){return t.delegateType!==void 0}function _T(t){return t.expression!==void 0}function DT(t){switch(t){case dr.Component:case dr.Directive:case dr.Pipe:return h.directiveInject;case dr.NgModule:case dr.Injectable:default:return h.inject}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class CT{constructor(e,n){this.value=e,this.sourceSpan=n}visit(e){throw new Error("visit() not implemented for Comment")}}class Jc{constructor(e,n){this.value=e,this.sourceSpan=n}visit(e){return e.visitText(this)}}class yh{constructor(e,n,r){this.value=e,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitBoundText(this)}}class Eh{constructor(e,n,r,s,i,o){this.name=e,this.value=n,this.sourceSpan=r,this.keySpan=s,this.valueSpan=i,this.i18n=o}visit(e){return e.visitTextAttribute(this)}}class ed{constructor(e,n,r,s,i,o,a,u,l){this.name=e,this.type=n,this.securityContext=r,this.value=s,this.unit=i,this.sourceSpan=o,this.keySpan=a,this.valueSpan=u,this.i18n=l}static fromBoundElementProperty(e,n){if(e.keySpan===void 0)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new ed(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,n)}visit(e){return e.visitBoundAttribute(this)}}class td{constructor(e,n,r,s,i,o,a,u){this.name=e,this.type=n,this.handler=r,this.target=s,this.phase=i,this.sourceSpan=o,this.handlerSpan=a,this.keySpan=u}static fromParsedEvent(e){const n=e.type===0?e.targetOrPhase:null,r=e.type===1?e.targetOrPhase:null;if(e.keySpan===void 0)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new td(e.name,e.type,e.handler,n,r,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}class cc{constructor(e,n,r,s,i,o,a,u,l,c){this.name=e,this.attributes=n,this.inputs=r,this.outputs=s,this.children=i,this.references=o,this.sourceSpan=a,this.startSourceSpan=u,this.endSourceSpan=l,this.i18n=c}visit(e){return e.visitElement(this)}}class ip{constructor(e,n,r,s,i,o,a,u,l,c,d,p){this.tagName=e,this.attributes=n,this.inputs=r,this.outputs=s,this.templateAttrs=i,this.children=o,this.references=a,this.variables=u,this.sourceSpan=l,this.startSourceSpan=c,this.endSourceSpan=d,this.i18n=p}visit(e){return e.visitTemplate(this)}}class wT{constructor(e,n,r,s){this.selector=e,this.attributes=n,this.sourceSpan=r,this.i18n=s,this.name="ng-content"}visit(e){return e.visitContent(this)}}class Gy{constructor(e,n,r,s,i){this.name=e,this.value=n,this.sourceSpan=r,this.keySpan=s,this.valueSpan=i}visit(e){return e.visitVariable(this)}}class ST{constructor(e,n,r,s,i){this.name=e,this.value=n,this.sourceSpan=r,this.keySpan=s,this.valueSpan=i}visit(e){return e.visitReference(this)}}class oD{constructor(e,n,r,s){this.vars=e,this.placeholders=n,this.sourceSpan=r,this.i18n=s}visit(e){return e.visitIcu(this)}}function zy(t,e){const n=[];if(t.visit)for(const r of e)t.visit(r)||r.visit(t);else for(const r of e){const s=r.visit(t);s&&n.push(s)}return n}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class $s{constructor(e,n,r,s,i,o){this.nodes=e,this.placeholders=n,this.placeholderToMessage=r,this.meaning=s,this.description=i,this.customId=o,this.id=this.customId,this.legacyIds=[],this.messageString=bT(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class Dl{constructor(e,n){this.value=e,this.sourceSpan=n}visit(e,n){return e.visitText(this,n)}}class ou{constructor(e,n){this.children=e,this.sourceSpan=n}visit(e,n){return e.visitContainer(this,n)}}class aD{constructor(e,n,r,s){this.expression=e,this.type=n,this.cases=r,this.sourceSpan=s}visit(e,n){return e.visitIcu(this,n)}}class IT{constructor(e,n,r,s,i,o,a,u,l){this.tag=e,this.attrs=n,this.startName=r,this.closeName=s,this.children=i,this.isVoid=o,this.sourceSpan=a,this.startSourceSpan=u,this.endSourceSpan=l}visit(e,n){return e.visitTagPlaceholder(this,n)}}class uD{constructor(e,n,r){this.value=e,this.name=n,this.sourceSpan=r}visit(e,n){return e.visitPlaceholder(this,n)}}class dc{constructor(e,n,r){this.value=e,this.name=n,this.sourceSpan=r}visit(e,n){return e.visitIcuPlaceholder(this,n)}}function bT(t){const e=new AT;return t.map(r=>r.visit(e)).join("")}class AT{visitText(e){return e.value}visitContainer(e){return e.children.map(n=>n.visit(this)).join("")}visitIcu(e){const n=Object.keys(e.cases).map(r=>`${r} {${e.cases[r].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${n.join(" ")}}`}visitTagPlaceholder(e){const n=e.children.map(r=>r.visit(this)).join("");return`{$${e.startName}}${n}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}}function TT(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const xT="MSG_",MT="i18n_",lD="i18n",_h="i18n-",PT="VAR_",kT="I18N_EXP_",Wy="\uFFFD";function NT(t){return t===lD||t.startsWith(_h)}function au(t){return t instanceof $s}function Cl(t){return au(t)&&t.nodes.length===1&&t.nodes[0]instanceof aD}function FT(t){return!!t.i18n}function RT(t){return t.attrs.some(e=>NT(e.name))}function cD(t){return t.nodes[0]}function nd(t,e=0){const n=e>0?`:${e}`:"";return`${Wy}${t}${n}${Wy}`}function LT(t,e=0,n=0){if(!t.length)return"";let r="";const s=t.length-1;for(let i=0;ie++}function Zy(t){const e={};return t.forEach((n,r)=>{e[r]=x(n.length>1?`[${n.join("|")}]`:n[0])}),e}function zl(t,e,...n){const r=t.get(e)||[];r.push(...n),t.set(e,r)}function dD(t,e=0,n=0){const r=e,s=new Map,i=t instanceof $s?t.nodes.find(o=>o instanceof ou):t;return i&&i.children.filter(o=>o instanceof uD).forEach((o,a)=>{const u=nd(r+a,n);zl(s,o.name,u)}),s}function Vf(t={},e){const n={};return t&&Object.keys(t).length&&Object.keys(t).forEach(r=>n[$u(r,e)]=t[r]),n}function $u(t,e=!0){const n=TT(t);if(!e)return n;const r=n.split("_");if(r.length===1)return t.toLowerCase();let s;/^\d+$/.test(r[r.length-1])&&(s=r.pop());let i=r.shift().toLowerCase();return r.length&&(i+=r.map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join("")),s?`${i}_${s}`:i}function Ky(t){return`${xT}${t}`.toUpperCase()}function BT(t){return new hi(t.name,void 0,Xt,void 0,t.sourceSpan)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const $T=/[-.]/,Hf="_t",Gn="ctx",ju="rf",jT="_r",VT="$implicit",HT="ngNonBindable",pD="restoredCtx",UT=500,qT=new Set([h.element,h.elementStart,h.elementEnd,h.elementContainer,h.elementContainerStart,h.elementContainerEnd,h.i18nExp,h.listener,h.classProp,h.syntheticHostListener,h.hostProperty,h.syntheticHostProperty,h.property,h.propertyInterpolate1,h.propertyInterpolate2,h.propertyInterpolate3,h.propertyInterpolate4,h.propertyInterpolate5,h.propertyInterpolate6,h.propertyInterpolate7,h.propertyInterpolate8,h.propertyInterpolateV,h.attribute,h.attributeInterpolate1,h.attributeInterpolate2,h.attributeInterpolate3,h.attributeInterpolate4,h.attributeInterpolate5,h.attributeInterpolate6,h.attributeInterpolate7,h.attributeInterpolate8,h.attributeInterpolateV,h.styleProp,h.stylePropInterpolate1,h.stylePropInterpolate2,h.stylePropInterpolate3,h.stylePropInterpolate4,h.stylePropInterpolate5,h.stylePropInterpolate6,h.stylePropInterpolate7,h.stylePropInterpolate8,h.stylePropInterpolateV,h.textInterpolate,h.textInterpolate1,h.textInterpolate2,h.textInterpolate3,h.textInterpolate4,h.textInterpolate5,h.textInterpolate6,h.textInterpolate7,h.textInterpolate8,h.textInterpolateV]);function Ri(t,e,n){return K(e,null,t).callFn(n,t)}function hD(t,e){let n=null;return()=>(n||(t.push(new hi(Hf,void 0,ra)),n=ye(e)),n)}function Fa(t){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${t.constructor.name}`)}function yr(t){return Array.isArray(t)?Ve(t.map(yr)):x(t,Xt)}function Qy(t,e){return Object.getOwnPropertyNames(t).length>0?GT(t,e):null}function GT(t,e){return Pn(Object.getOwnPropertyNames(t).map(n=>{const r=t[n];let s,i,o,a;return Array.isArray(r)?([i,s]=r,o=n,a=i!==s):(o=s=n,i=r,a=!1),{key:o,quoted:$T.test(o),value:e&&a?Ve([yr(i),yr(s)]):yr(i)}}))}function op(t){for(;tD(t[t.length-1]);)t.pop();return t}function zT(t,e){if(Array.isArray(t.predicate)){let n=[];return t.predicate.forEach(r=>{const s=r.split(",").map(i=>x(i.trim()));n.push(...s)}),e.getConstLiteral(Ve(n),!0)}else switch(t.predicate.forwardRef){case 0:case 2:return t.predicate.expression;case 1:return K(h.resolveForwardRef).callFn([t.predicate.expression])}}class sa{constructor(){this.values=[]}set(e,n){n&&this.values.push({key:e,value:n,quoted:!1})}toLiteralMap(){return Pn(this.values)}}function Ji(t){const{expressions:e,strings:n}=t;return e.length===1&&n.length===2&&n[0]===""&&n[1]===""?1:e.length+n.length}function pc(t){var e;const n=[];let r=null,s=null,i=0;for(const o of t){const a=(e=typeof o.paramsOrFn=="function"?o.paramsOrFn():o.paramsOrFn)!==null&&e!==void 0?e:[],u=Array.isArray(a)?a:[a];i]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function KT(t,e){if(e!=null&&!(Array.isArray(e)&&e.length==2))throw new Error(`Expected '${t}' to be an array, [start, end].`);if(e!=null){const n=e[0],r=e[1];ZT.forEach(s=>{if(s.test(n)||s.test(r))throw new Error(`['${n}', '${r}'] contains unusable interpolation symbol.`)})}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class rd{constructor(e,n){this.start=e,this.end=n}static fromArray(e){return e?(KT("interpolation",e),new rd(e[0],e[1])):pr}}const pr=new rd("{{","}}");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const un=0,QT=8,Uf=9,xi=10,fD=11,gD=12,qf=13,mD=32,Dh=33,uu=34,vD=35,yD=36,YT=37,hc=38,lu=39,Wl=40,Va=41,XT=42,ED=43,es=44,fc=45,uo=46,Yr=47,Rs=58,ts=59,lo=60,co=61,ks=62,e0=63,Gf=48,JT=55,_D=57,ia=65,ex=69,tx=70,nx=88,sd=90,za=91,zf=92,Ha=93,rx=94,Wf=95,Li=97,sx=98,ix=101,Zf=102,DD=110,CD=114,wD=116,SD=117,ID=118,bD=120,Vu=122,Bs=123,t0=124,fr=125,AD=160,ox=96;function Kf(t){return t>=Uf&&t<=mD||t==AD}function Ns(t){return Gf<=t&&t<=_D}function Qf(t){return t>=Li&&t<=Vu||t>=ia&&t<=sd}function ax(t){return t>=Li&&t<=Zf||t>=ia&&t<=tx||Ns(t)}function TD(t){return t===xi||t===qf}function n0(t){return Gf<=t&&t<=JT}function Ch(t){return t===lu||t===uu||t===ox}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class cu{constructor(e,n,r,s){this.file=e,this.offset=n,this.line=r,this.col=s}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const n=this.file.content,r=n.length;let s=this.offset,i=this.line,o=this.col;for(;s>0&&e<0;)if(s--,e++,n.charCodeAt(s)==xi){i--;const u=n.substring(0,s-1).lastIndexOf(String.fromCharCode(xi));o=u>0?s-u:s}else o--;for(;s0;){const a=n.charCodeAt(s);s++,e--,a==xi?(i++,o=0):o++}return new cu(this.file,s,i,o)}getContext(e,n){const r=this.file.content;let s=this.offset;if(s!=null){s>r.length-1&&(s=r.length-1);let i=s,o=0,a=0;for(;o0&&(s--,o++,!(r[s]==` +`&&++a==n)););for(o=0,a=0;o]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}function ux(t,e,n){const r=`in ${t} ${e} in ${n}`,s=new xD("",r);return new wt(new cu(s,-1,-1,-1),new cu(s,-1,-1,-1))}let lx=0;function cx(t){if(!t||!t.reference)return null;const e=t.reference;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";let n=G_(e);return n.indexOf("(")>=0?(n=`anonymous_${lx++}`,e.__anonymousType=n):n=So(n),n}function So(t){return t.replace(/\W/g,"_")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const r0='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class dx extends lT{constructor(){super(!1)}visitWrappedNodeExpr(e,n){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,n){return n.print(e,`var ${e.name}`),e.value&&(n.print(e," = "),e.value.visitExpression(this,n)),n.println(e,";"),null}visitTaggedTemplateExpr(e,n){const r=e.template.elements;return e.tag.visitExpression(this,n),n.print(e,`(${r0}(`),n.print(e,`[${r.map(s=>Ii(s.text,!1)).join(", ")}], `),n.print(e,`[${r.map(s=>Ii(s.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(s=>{n.print(e,", "),s.visitExpression(this,n)}),n.print(e,")"),null}visitFunctionExpr(e,n){return n.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,n),n.println(e,") {"),n.incIndent(),this.visitAllStatements(e.statements,n),n.decIndent(),n.print(e,"}"),null}visitDeclareFunctionStmt(e,n){return n.print(e,`function ${e.name}(`),this._visitParams(e.params,n),n.println(e,") {"),n.incIndent(),this.visitAllStatements(e.statements,n),n.decIndent(),n.println(e,"}"),null}visitLocalizedString(e,n){n.print(e,`$localize(${r0}(`);const r=[e.serializeI18nHead()];for(let s=1;sIi(s.cooked,!1)).join(", ")}], `),n.print(e,`[${r.map(s=>Ii(s.raw,!1)).join(", ")}])`),e.expressions.forEach(s=>{n.print(e,", "),s.visitExpression(this,n)}),n.print(e,")"),null}_visitParams(e,n){this.visitAllObjects(r=>n.print(null,r.name),e,n,",")}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let wl;function px(){if(wl===void 0&&(wl=null,Co.trustedTypes))try{wl=Co.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:t=>t})}catch{}return wl}function hx(t){var e;return((e=px())===null||e===void 0?void 0:e.createScript(t))||t}function s0(...t){if(!Co.trustedTypes)return new Function(...t);const e=t.slice(0,-1).join(","),n=t[t.length-1],r=`(function anonymous(${e} +) { ${n} +})`,s=Co.eval(hx(r));return s.bind===void 0?new Function(...t):(s.toString=()=>r,s.bind(Co))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class fx{evaluateStatements(e,n,r,s){const i=new gx(r),o=$f.createRoot();return n.length>0&&!mx(n[0])&&(n=[x("use strict").toStmt(),...n]),i.visitAllStatements(n,o),i.createReturnStmt(o),this.evaluateCode(e,o,i.getArgs(),s)}evaluateCode(e,n,r,s){let i=`"use strict";${n.toSource()} +//# sourceURL=${e}`;const o=[],a=[];for(const l in r)a.push(r[l]),o.push(l);if(s){const l=s0(...o.concat("return null;")).toString(),c=l.slice(0,l.indexOf("return null;")).split(` +`).length-1;i+=` +${n.toSourceMapGenerator(e,c).toJsComment()}`}const u=s0(...o.concat(i));return this.executeFunction(u,a)}executeFunction(e,n){return e(...n)}}class gx extends dx{constructor(e){super(),this.refResolver=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new vt(new Yc(this._evalExportedVars.map(r=>new J_(r,ye(r),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let n=0;n0&&e.set("imports",Ve(t.imports));const n=K(h.defineInjector).callFn([e.toLiteralMap()],void 0,!0),r=vx(t);return{expression:n,type:r,statements:[]}}function vx(t){return new os(K(h.InjectorDeclaration,[new os(t.type.type)]))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class yx{constructor(e){this.context=e}resolveExternalReference(e){if(e.moduleName!=="@angular/core")throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var du;(function(t){t[t.Inline=0]="Inline",t[t.SideEffect=1]="SideEffect",t[t.Omit=2]="Omit"})(du||(du={}));function Ex(t){const{adjacentType:e,internalType:n,bootstrap:r,declarations:s,imports:i,exports:o,schemas:a,containsForwardDecls:u,selectorScopeMode:l,id:c}=t,d=[],p=new sa;if(p.set("type",n),r.length>0&&p.set("bootstrap",bi(r,u)),l===du.Inline)s.length>0&&p.set("declarations",bi(s,u)),i.length>0&&p.set("imports",bi(i,u)),o.length>0&&p.set("exports",bi(o,u));else if(l===du.SideEffect){const m=Cx(t);m!==null&&d.push(m)}a!==null&&a.length>0&&p.set("schemas",Ve(a.map(m=>m.value))),c!==null&&(p.set("id",c),d.push(K(h.registerNgModuleType).callFn([e,c]).toStmt()));const f=K(h.defineNgModule).callFn([p.toLiteralMap()],void 0,!0),g=Dx(t);return{expression:f,type:g,statements:d}}function _x(t){const e=new sa;return e.set("type",new ne(t.type)),t.bootstrap!==void 0&&e.set("bootstrap",new ne(t.bootstrap)),t.declarations!==void 0&&e.set("declarations",new ne(t.declarations)),t.imports!==void 0&&e.set("imports",new ne(t.imports)),t.exports!==void 0&&e.set("exports",new ne(t.exports)),t.schemas!==void 0&&e.set("schemas",new ne(t.schemas)),t.id!==void 0&&e.set("id",new ne(t.id)),K(h.defineNgModule).callFn([e.toLiteralMap()])}function Dx({type:t,declarations:e,exports:n,imports:r,includeImportTypes:s,publicDeclarationTypes:i}){return new os(K(h.NgModuleDeclaration,[new os(t.type),i===null?ap(e):wx(i),s?ap(r):hs,ap(n)]))}function Cx(t){const{adjacentType:e,declarations:n,imports:r,exports:s,containsForwardDecls:i}=t,o=new sa;if(n.length>0&&o.set("declarations",bi(n,i)),r.length>0&&o.set("imports",bi(r,i)),s.length>0&&o.set("exports",bi(s,i)),Object.keys(o.values).length===0)return null;const a=new Lo(K(h.setNgModuleScope),[e,o.toLiteralMap()]),u=pT(a),l=new Lu([],[u.toStmt()]);return new Lo(l,[]).toStmt()}function ap(t){const e=t.map(n=>Of(n.type));return t.length>0?hn(Ve(e)):hs}function wx(t){const e=t.map(n=>Of(n));return t.length>0?hn(Ve(e)):hs}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function o0(t){const e=[];e.push({key:"name",value:x(t.pipeName),quoted:!1}),e.push({key:"type",value:t.type.value,quoted:!1}),e.push({key:"pure",value:x(t.pure),quoted:!1}),t.isStandalone&&e.push({key:"standalone",value:x(!0),quoted:!1});const n=K(h.definePipe).callFn([Pn(e)],void 0,!0),r=Sx(t);return{expression:n,type:r,statements:[]}}function Sx(t){return new os(K(h.PipeDeclaration,[Xc(t.type.type,t.typeArgumentCount),new os(new Qn(t.pipeName)),new os(new Qn(t.isStandalone))]))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var pu;(function(t){t[t.Directive=0]="Directive",t[t.Pipe=1]="Pipe",t[t.NgModule=2]="NgModule"})(pu||(pu={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class wh{constructor(e,n,r,s){this.input=n,this.errLocation=r,this.ctxLocation=s,this.message=`Parser Error: ${e} ${r} [${n}] in ${s}`}}class hu{constructor(e,n){this.start=e,this.end=n}toAbsolute(e){return new Hn(e+this.start,e+this.end)}}class Dt{constructor(e,n){this.span=e,this.sourceSpan=n}toString(){return"AST"}}class id extends Dt{constructor(e,n,r){super(e,n),this.nameSpan=r}}class wn extends Dt{visit(e,n=null){}}class fu extends Dt{visit(e,n=null){return e.visitImplicitReceiver(this,n)}}class Sh extends fu{visit(e,n=null){var r;return(r=e.visitThisReceiver)===null||r===void 0?void 0:r.call(e,this,n)}}class Yf extends Dt{constructor(e,n,r){super(e,n),this.expressions=r}visit(e,n=null){return e.visitChain(this,n)}}class Xf extends Dt{constructor(e,n,r,s,i){super(e,n),this.condition=r,this.trueExp=s,this.falseExp=i}visit(e,n=null){return e.visitConditional(this,n)}}class js extends id{constructor(e,n,r,s,i){super(e,n,r),this.receiver=s,this.name=i}visit(e,n=null){return e.visitPropertyRead(this,n)}}class Jf extends id{constructor(e,n,r,s,i,o){super(e,n,r),this.receiver=s,this.name=i,this.value=o}visit(e,n=null){return e.visitPropertyWrite(this,n)}}class eg extends id{constructor(e,n,r,s,i){super(e,n,r),this.receiver=s,this.name=i}visit(e,n=null){return e.visitSafePropertyRead(this,n)}}class od extends Dt{constructor(e,n,r,s){super(e,n),this.receiver=r,this.key=s}visit(e,n=null){return e.visitKeyedRead(this,n)}}class ad extends Dt{constructor(e,n,r,s){super(e,n),this.receiver=r,this.key=s}visit(e,n=null){return e.visitSafeKeyedRead(this,n)}}class tg extends Dt{constructor(e,n,r,s,i){super(e,n),this.receiver=r,this.key=s,this.value=i}visit(e,n=null){return e.visitKeyedWrite(this,n)}}class ud extends id{constructor(e,n,r,s,i,o){super(e,n,o),this.exp=r,this.name=s,this.args=i}visit(e,n=null){return e.visitPipe(this,n)}}class on extends Dt{constructor(e,n,r){super(e,n),this.value=r}visit(e,n=null){return e.visitLiteralPrimitive(this,n)}}class ld extends Dt{constructor(e,n,r){super(e,n),this.expressions=r}visit(e,n=null){return e.visitLiteralArray(this,n)}}class ng extends Dt{constructor(e,n,r,s){super(e,n),this.keys=r,this.values=s}visit(e,n=null){return e.visitLiteralMap(this,n)}}class Ot extends Dt{constructor(e,n,r,s){super(e,n),this.strings=r,this.expressions=s}visit(e,n=null){return e.visitInterpolation(this,n)}}class ur extends Dt{constructor(e,n,r,s,i){super(e,n),this.operation=r,this.left=s,this.right=i}visit(e,n=null){return e.visitBinary(this,n)}}class fs extends ur{constructor(e,n,r,s,i,o,a){super(e,n,i,o,a),this.operator=r,this.expr=s,this.left=null,this.right=null,this.operation=null}static createMinus(e,n,r){return new fs(e,n,"-",r,"-",new on(e,n,0),r)}static createPlus(e,n,r){return new fs(e,n,"+",r,"-",r,new on(e,n,0))}visit(e,n=null){return e.visitUnary!==void 0?e.visitUnary(this,n):e.visitBinary(this,n)}}class rg extends Dt{constructor(e,n,r){super(e,n),this.expression=r}visit(e,n=null){return e.visitPrefixNot(this,n)}}class sg extends Dt{constructor(e,n,r){super(e,n),this.expression=r}visit(e,n=null){return e.visitNonNullAssert(this,n)}}class oa extends Dt{constructor(e,n,r,s,i){super(e,n),this.receiver=r,this.args=s,this.argumentSpan=i}visit(e,n=null){return e.visitCall(this,n)}}class cd extends Dt{constructor(e,n,r,s,i){super(e,n),this.receiver=r,this.args=s,this.argumentSpan=i}visit(e,n=null){return e.visitSafeCall(this,n)}}class Hn{constructor(e,n){this.start=e,this.end=n}}class Ls extends Dt{constructor(e,n,r,s,i){super(new hu(0,n===null?0:n.length),new Hn(s,n===null?s:s+n.length)),this.ast=e,this.source=n,this.location=r,this.errors=i}visit(e,n=null){return e.visitASTWithSource?e.visitASTWithSource(this,n):this.ast.visit(e,n)}toString(){return`${this.source} in ${this.location}`}}class Ih{constructor(e,n,r){this.sourceSpan=e,this.key=n,this.value=r}}class Ix{constructor(e,n,r){this.sourceSpan=e,this.key=n,this.value=r}}class bx{visit(e,n){e.visit(this,n)}visitUnary(e,n){this.visit(e.expr,n)}visitBinary(e,n){this.visit(e.left,n),this.visit(e.right,n)}visitChain(e,n){this.visitAll(e.expressions,n)}visitConditional(e,n){this.visit(e.condition,n),this.visit(e.trueExp,n),this.visit(e.falseExp,n)}visitPipe(e,n){this.visit(e.exp,n),this.visitAll(e.args,n)}visitImplicitReceiver(e,n){}visitThisReceiver(e,n){}visitInterpolation(e,n){this.visitAll(e.expressions,n)}visitKeyedRead(e,n){this.visit(e.receiver,n),this.visit(e.key,n)}visitKeyedWrite(e,n){this.visit(e.receiver,n),this.visit(e.key,n),this.visit(e.value,n)}visitLiteralArray(e,n){this.visitAll(e.expressions,n)}visitLiteralMap(e,n){this.visitAll(e.values,n)}visitLiteralPrimitive(e,n){}visitPrefixNot(e,n){this.visit(e.expression,n)}visitNonNullAssert(e,n){this.visit(e.expression,n)}visitPropertyRead(e,n){this.visit(e.receiver,n)}visitPropertyWrite(e,n){this.visit(e.receiver,n),this.visit(e.value,n)}visitSafePropertyRead(e,n){this.visit(e.receiver,n)}visitSafeKeyedRead(e,n){this.visit(e.receiver,n),this.visit(e.key,n)}visitCall(e,n){this.visit(e.receiver,n),this.visitAll(e.args,n)}visitSafeCall(e,n){this.visit(e.receiver,n),this.visitAll(e.args,n)}visitAll(e,n){for(const r of e)this.visit(r,n)}}class Ax{visitImplicitReceiver(e,n){return e}visitThisReceiver(e,n){return e}visitInterpolation(e,n){return new Ot(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,n){return new on(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,n){return new js(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,n){return new Jf(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,n){return new eg(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitLiteralArray(e,n){return new ld(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,n){return new ng(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,n){switch(e.operator){case"+":return fs.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return fs.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error(`Unknown unary operator ${e.operator}`)}}visitBinary(e,n){return new ur(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,n){return new rg(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,n){return new sg(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,n){return new Xf(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,n){return new ud(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,n){return new od(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,n){return new tg(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitCall(e,n){return new oa(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitSafeCall(e,n){return new cd(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitAll(e){const n=[];for(let r=0;rp=>Ve(p),createLiteralMapConverter:d=>p=>{const f=d.map((g,m)=>({key:g.key,value:p[m],quoted:g.quoted}));return Pn(f)},createPipeConverter:d=>{throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${d}`)}},n),u=new ig(t,e,r,!1,s,i),l=[];ND(a.visit(u,Te.Statement),l),Rx(u.temporaryCount,r,l),u.usesImplicitReceiver&&t.notifyImplicitReceiverUse();const c=l.length-1;if(c>=0){const d=l[c];d instanceof fi&&(l[c]=new vt(d.expr))}return l}function Px(t,e){return Fx(t,e)}class kx{constructor(e,n){this.stmts=e,this.currValExpr=n}}function MD(t,e,n,r){t||(t=new FD);const s=new ig(t,e,r,!1),i=n.visit(s,Te.Expression),o=PD(s,r);return s.usesImplicitReceiver&&t.notifyImplicitReceiverUse(),new kx(o,i)}function Nx(t,e,n,r){const s=new ig(t,e,r,!0),i=s.visitInterpolation(n,Te.Expression);s.usesImplicitReceiver&&t.notifyImplicitReceiverUse();const o=PD(s,r),a=i.args;return{stmts:o,args:a}}function PD(t,e){const n=[];for(let r=0;r=0;r--)n.unshift(kD(e,r))}var Te;(function(t){t[t.Statement=0]="Statement",t[t.Expression=1]="Expression"})(Te||(Te={}));function Lx(t,e){if(t!==Te.Statement)throw new Error(`Expected a statement, but saw ${e}`)}function l0(t,e){if(t!==Te.Expression)throw new Error(`Expected an expression, but saw ${e}`)}function Lt(t,e){return t===Te.Statement?e.toStmt():e}class Ox extends Ax{constructor(e){super(),this._converterFactory=e}visitPipe(e,n){const r=[e.exp,...e.args].map(s=>s.visit(this,n));return new Io(e.span,e.sourceSpan,r,this._converterFactory.createPipeConverter(e.name,r.length))}visitLiteralArray(e,n){const r=e.expressions.map(s=>s.visit(this,n));return new Io(e.span,e.sourceSpan,r,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,n){const r=e.values.map(s=>s.visit(this,n));return new Io(e.span,e.sourceSpan,r,this._converterFactory.createLiteralMapConverter(e.keys))}}class ig{constructor(e,n,r,s,i,o){this._localResolver=e,this._implicitReceiver=n,this.bindingId=r,this.supportsInterpolation=s,this.baseSourceSpan=i,this.implicitReceiverAccesses=o,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,n){let r;switch(e.operator){case"+":r=Ro.Plus;break;case"-":r=Ro.Minus;break;default:throw new Error(`Unsupported operator ${e.operator}`)}return Lt(n,new Nf(r,this._visit(e.expr,Te.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,n){let r;switch(e.operation){case"+":r=q.Plus;break;case"-":r=q.Minus;break;case"*":r=q.Multiply;break;case"/":r=q.Divide;break;case"%":r=q.Modulo;break;case"&&":r=q.And;break;case"||":r=q.Or;break;case"==":r=q.Equals;break;case"!=":r=q.NotEquals;break;case"===":r=q.Identical;break;case"!==":r=q.NotIdentical;break;case"<":r=q.Lower;break;case">":r=q.Bigger;break;case"<=":r=q.LowerEquals;break;case">=":r=q.BiggerEquals;break;case"??":return this.convertNullishCoalesce(e,n);default:throw new Error(`Unsupported operation ${e.operation}`)}return Lt(n,new Ze(r,this._visit(e.left,Te.Expression),this._visit(e.right,Te.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,n){return Lx(n,e),this.visitAll(e.expressions,n)}visitConditional(e,n){const r=this._visit(e.condition,Te.Expression);return Lt(n,r.conditional(this._visit(e.trueExp,Te.Expression),this._visit(e.falseExp,Te.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,n){throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${e.name}`)}visitImplicitReceiver(e,n){return l0(n,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,n){return this.visitImplicitReceiver(e,n)}visitInterpolation(e,n){if(!this.supportsInterpolation)throw new Error("Unexpected interpolation");l0(n,e);let r=[];for(let i=0;i=9&&(r=[Ve(r)]),new Bx(r)}visitKeyedRead(e,n){const r=this.leftMostSafeNode(e);return r?this.convertSafeAccess(e,r,n):Lt(n,this._visit(e.receiver,Te.Expression).key(this._visit(e.key,Te.Expression)))}visitKeyedWrite(e,n){const r=this._visit(e.receiver,Te.Expression),s=this._visit(e.key,Te.Expression),i=this._visit(e.value,Te.Expression);return r===this._implicitReceiver&&this._localResolver.maybeRestoreView(),Lt(n,r.key(s).set(i))}visitLiteralArray(e,n){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,n){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,n){const r=e.value===null||e.value===void 0||e.value===!0||e.value===!0?Xt:void 0;return Lt(n,x(e.value,r,this.convertSourceSpan(e.span)))}_getLocal(e,n){var r;return((r=this._localResolver.globals)===null||r===void 0?void 0:r.has(e))&&n instanceof Sh?null:this._localResolver.getLocal(e)}visitPrefixNot(e,n){return Lt(n,KA(this._visit(e.expression,Te.Expression)))}visitNonNullAssert(e,n){return Lt(n,this._visit(e.expression,Te.Expression))}visitPropertyRead(e,n){const r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,n);{let s=null;const i=this.usesImplicitReceiver,o=this._visit(e.receiver,Te.Expression);return o===this._implicitReceiver&&(s=this._getLocal(e.name,e.receiver),s&&(this.usesImplicitReceiver=i,this.addImplicitReceiverAccess(e.name))),s==null&&(s=o.prop(e.name,this.convertSourceSpan(e.span))),Lt(n,s)}}visitPropertyWrite(e,n){const r=this._visit(e.receiver,Te.Expression),s=this.usesImplicitReceiver;let i=null;if(r===this._implicitReceiver){const o=this._getLocal(e.name,e.receiver);if(o)if(o instanceof Qc)i=o,this.usesImplicitReceiver=s,this.addImplicitReceiverAccess(e.name);else{const a=e.name,u=e.value instanceof js?e.value.name:void 0;throw new Error(`Cannot assign value "${u}" to template variable "${a}". Template variables are read-only.`)}}return i===null&&(i=r.prop(e.name,this.convertSourceSpan(e.span))),Lt(n,i.set(this._visit(e.value,Te.Expression)))}visitSafePropertyRead(e,n){return this.convertSafeAccess(e,this.leftMostSafeNode(e),n)}visitSafeKeyedRead(e,n){return this.convertSafeAccess(e,this.leftMostSafeNode(e),n)}visitAll(e,n){return e.map(r=>this._visit(r,n))}visitCall(e,n){const r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,n);const s=this.visitAll(e.args,Te.Expression);if(e instanceof Io)return Lt(n,e.converter(s));const i=e.receiver;if(i instanceof js&&i.receiver instanceof fu&&!(i.receiver instanceof Sh)&&i.name==="$any"){if(s.length!==1)throw new Error(`Invalid call to $any, expected 1 argument but received ${s.length||"none"}`);return Lt(n,s[0])}const o=this._visit(i,Te.Expression).callFn(s,this.convertSourceSpan(e.span));return Lt(n,o)}visitSafeCall(e,n){return this.convertSafeAccess(e,this.leftMostSafeNode(e),n)}_visit(e,n){const r=this._resultMap.get(e);return r||(this._nodeMap.get(e)||e).visit(this,n)}convertSafeAccess(e,n,r){let s=this._visit(n.receiver,Te.Expression),i;this.needsTemporaryInSafeAccess(n.receiver)&&(i=this.allocateTemporary(),s=i.set(s),this._resultMap.set(n.receiver,i));const o=s.isBlank();n instanceof cd?this._nodeMap.set(n,new oa(n.span,n.sourceSpan,n.receiver,n.args,n.argumentSpan)):n instanceof ad?this._nodeMap.set(n,new od(n.span,n.sourceSpan,n.receiver,n.key)):this._nodeMap.set(n,new js(n.span,n.sourceSpan,n.nameSpan,n.receiver,n.name));const a=this._visit(e,Te.Expression);return this._nodeMap.delete(n),i&&this.releaseTemporary(i),Lt(r,o.conditional(mh,a))}convertNullishCoalesce(e,n){const r=this._visit(e.left,Te.Expression),s=this._visit(e.right,Te.Expression),i=this.allocateTemporary();return this.releaseTemporary(i),Lt(n,i.set(r).notIdentical(mh).and(i.notIdentical(x(void 0))).conditional(i,s))}leftMostSafeNode(e){const n=(r,s)=>(this._nodeMap.get(s)||s).visit(r);return e.visit({visitUnary(r){return null},visitBinary(r){return null},visitChain(r){return null},visitConditional(r){return null},visitCall(r){return n(this,r.receiver)},visitSafeCall(r){return n(this,r.receiver)||r},visitImplicitReceiver(r){return null},visitThisReceiver(r){return null},visitInterpolation(r){return null},visitKeyedRead(r){return n(this,r.receiver)},visitKeyedWrite(r){return null},visitLiteralArray(r){return null},visitLiteralMap(r){return null},visitLiteralPrimitive(r){return null},visitPipe(r){return null},visitPrefixNot(r){return null},visitNonNullAssert(r){return null},visitPropertyRead(r){return n(this,r.receiver)},visitPropertyWrite(r){return null},visitSafePropertyRead(r){return n(this,r.receiver)||r},visitSafeKeyedRead(r){return n(this,r.receiver)||r}})}needsTemporaryInSafeAccess(e){const n=(s,i)=>i&&(this._nodeMap.get(i)||i).visit(s),r=(s,i)=>i.some(o=>n(s,o));return e.visit({visitUnary(s){return n(this,s.expr)},visitBinary(s){return n(this,s.left)||n(this,s.right)},visitChain(s){return!1},visitConditional(s){return n(this,s.condition)||n(this,s.trueExp)||n(this,s.falseExp)},visitCall(s){return!0},visitSafeCall(s){return!0},visitImplicitReceiver(s){return!1},visitThisReceiver(s){return!1},visitInterpolation(s){return r(this,s.expressions)},visitKeyedRead(s){return!1},visitKeyedWrite(s){return!1},visitLiteralArray(s){return!0},visitLiteralMap(s){return!0},visitLiteralPrimitive(s){return!1},visitPipe(s){return!0},visitPrefixNot(s){return n(this,s.expression)},visitNonNullAssert(s){return n(this,s.expression)},visitPropertyRead(s){return!1},visitPropertyWrite(s){return!1},visitSafePropertyRead(s){return!1},visitSafeKeyedRead(s){return!1}})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new Ru(Ah(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=Ah(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const n=this.baseSourceSpan.start.moveBy(e.start),r=this.baseSourceSpan.start.moveBy(e.end),s=this.baseSourceSpan.fullStart.moveBy(e.start);return new wt(n,r,s)}else return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}function ND(t,e){Array.isArray(t)?t.forEach(n=>ND(n,e)):e.push(t)}function lp(){throw new Error("Unsupported operation")}class Bx extends Je{constructor(e){super(null,null),this.args=e,this.isConstant=lp,this.isEquivalent=lp,this.visitExpression=lp}}class FD{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(e){return e===bh.event.name?bh.event:null}}class Io extends oa{constructor(e,n,r,s){super(e,n,new wn(e,n),r,null),this.converter=s}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class $x{constructor(){this.strictStyling=!0}shimCssText(e,n,r=""){const s=Jx(e);return e=Yx(e),e=this._insertDirectives(e),[this._scopeCssText(e,n,r),...s].join(` +`)}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(Vx,function(...n){return n[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(Hx,(...n)=>{const r=n[0].replace(n[1],"").replace(n[2],"");return n[4]+r})}_scopeCssText(e,n,r){const s=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),n&&(e=this._scopeSelectors(e,n,r)),e=e+` +`+s,e.trim()}_extractUnscopedRulesFromCssText(e){let n="",r;for(c0.lastIndex=0;(r=c0.exec(e))!==null;)n+=r[0].replace(r[2],"").replace(r[1],r[4])+` + +`;return n}_convertColonHost(e){return e.replace(Ux,(n,r,s)=>{if(r){const i=[],o=r.split(",").map(a=>a.trim());for(const a of o){if(!a)break;const u=_i+a.replace(gc,"")+s;i.push(u)}return i.join(",")}else return _i+s})}_convertColonHostContext(e){return e.replace(qx,n=>{var r;const s=[[]];let i;for(;i=Gx.exec(n);){const o=((r=i[1])!==null&&r!==void 0?r:"").trim().split(",").map(u=>u.trim()).filter(u=>u!==""),a=s.length;aM(s,o.length);for(let u=0;uoM(o,n)).join(", ")})}_convertShadowDOMSelectors(e){return zx.reduce((n,r)=>n.replace(r," "),e)}_scopeSelectors(e,n,r){return h0(e,s=>{let i=s.selector,o=s.content;return s.selector[0]!=="@"?i=this._scopeSelector(s.selector,n,r,this.strictStyling):s.selector.startsWith("@media")||s.selector.startsWith("@supports")||s.selector.startsWith("@document")||s.selector.startsWith("@layer")?o=this._scopeSelectors(s.content,n,r):(s.selector.startsWith("@font-face")||s.selector.startsWith("@page"))&&(o=this._stripScopingSelectors(s.content)),new Th(i,o)})}_stripScopingSelectors(e){return h0(e,n=>{const r=n.selector.replace(p0," ").replace(d0," ");return new Th(r,n.content)})}_scopeSelector(e,n,r,s){return e.split(",").map(i=>i.trim().split(p0)).map(i=>{const[o,...a]=i;return[(l=>this._selectorNeedsScoping(l,n)?s?this._applyStrictSelectorScope(l,n,r):this._applySelectorScope(l,n,r):l)(o),...a].join(" ")}).join(", ")}_selectorNeedsScoping(e,n){return!this._makeScopeMatcher(n).test(e)}_makeScopeMatcher(e){const n=/\[/g,r=/\]/g;return e=e.replace(n,"\\[").replace(r,"\\]"),new RegExp("^("+e+")"+Wx,"m")}_applySelectorScope(e,n,r){return this._applySimpleSelectorScope(e,n,r)}_applySimpleSelectorScope(e,n,r){if(po.lastIndex=0,po.test(e)){const s=this.strictStyling?`[${r}]`:n;return e.replace(d0,(i,o)=>o.replace(/([^:]*)(:*)(.*)/,(a,u,l,c)=>u+s+l+c)).replace(po,s+" ")}return n+" "+e}_applyStrictSelectorScope(e,n,r){const s=/\[is=([^\]]*)\]/g;n=n.replace(s,(m,...y)=>y[0]);const i="["+n+"]",o=m=>{let y=m.trim();if(!y)return"";if(m.indexOf(_i)>-1)y=this._applySimpleSelectorScope(m,n,r);else{const w=m.replace(po,"");if(w.length>0){const E=w.match(/([^:]*)(:*)(.*)/);E&&(y=E[1]+i+E[2]+E[3])}}return y},a=new jx(e);e=a.content();let u="",l=0,c;const d=/( |>|\+|~(?!=))\s*/g;let f=!(e.indexOf(_i)>-1);for(;(c=d.exec(e))!==null;){const m=c[1],y=e.slice(l,c.index).trim();f=f||y.indexOf(_i)>-1,u+=`${f?o(y):y} ${m} `,l=d.lastIndex}const g=e.substring(l);return f=f||g.indexOf(_i)>-1,u+=f?o(g):g,a.restore(u)}_insertPolyfillHostInCssText(e){return e.replace(Kx,og).replace(Zx,gc)}}class jx{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(n,r,s)=>{const i=`__ph-${this.index}__`;return this.placeholders.push(s),this.index++,r+i})}restore(e){return e.replace(/__ph-(\d+)__/g,(n,r)=>this.placeholders[+r])}content(){return this._content}_escapeRegexMatches(e,n){return e.replace(n,(r,s)=>{const i=`__ph-${this.index}__`;return this.placeholders.push(s),this.index++,i})}}const Vx=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Hx=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,c0=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,gc="-shadowcsshost",og="-shadowcsscontext",ag="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Ux=new RegExp(gc+ag,"gim"),qx=new RegExp(og+ag,"gim"),Gx=new RegExp(og+ag,"im"),_i=gc+"-no-combinator",d0=/-shadowcsshost-no-combinator([^\s]*)/,zx=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],p0=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Wx="([>\\s~+[.,{:][\\s\\S]*)?$",po=/-shadowcsshost/gim,Zx=/:host/gim,Kx=/:host-context/gim,Qx=/\/\*[\s\S]*?\*\//g;function Yx(t){return t.replace(Qx,"")}const Xx=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;function Jx(t){return t.match(Xx)||[]}const cp="%BLOCK%",eM="%QUOTED%",tM=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,nM=/%QUOTED%/g,rM=new Map([["{","}"]]),sM=new Map([['"','"'],["'","'"]]);class Th{constructor(e,n){this.selector=e,this.content=n}}function h0(t,e){const n=f0(t,sM,eM),r=f0(n.escapedString,rM,cp);let s=0,i=0;return r.escapedString.replace(tM,(...o)=>{const a=o[2];let u="",l=o[4],c="";l&&l.startsWith("{"+cp)&&(u=r.blocks[s++],l=l.substring(cp.length+1),c="{");const d=e(new Th(a,u));return`${o[1]}${d.selector}${o[3]}${c}${d.content}${l}`}).replace(nM,()=>n.blocks[i++])}class iM{constructor(e,n){this.escapedString=e,this.blocks=n}}function f0(t,e,n){const r=[],s=[];let i=0,o=0,a=-1,u,l;for(let c=0;c0;){const i=s.length,o=t.pop();for(let a=0;ar?`${i}${e}`:`${i}${n}${e}, ${i} ${n}${e}`).join(",")}function aM(t,e){const n=t.length;for(let r=1;r0,s===0?s=39:s===39&&t.charCodeAt(n-1)!==92&&(s=0);break;case 34:u=u||i>0,s===0?s=34:s===34&&t.charCodeAt(n-1)!==92&&(s=0);break;case 58:!a&&r===0&&s===0&&(a=RD(t.substring(o,n-1).trim()),i=n);break;case 59:if(a&&i>0&&r===0&&s===0){const c=t.substring(i,n-1).trim();e.push(a,u?g0(c):c),o=n,i=0,a=null,u=!1}break}if(a&&i){const l=t.slice(i).trim();e.push(a,u?g0(l):l)}return e}function g0(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);if(e==n&&(e==39||e==34)){const r=t.substring(1,t.length-1);r.indexOf("'")==-1&&r.indexOf('"')==-1&&(t=r)}return t}function RD(t){return t.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}const lM="!important",mc=2;class LD{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let n=null,r=e.name;switch(e.type){case 0:n=this.registerInputBasedOnName(r,e.value,e.sourceSpan);break;case 3:n=this.registerStyleInput(r,!1,e.value,e.sourceSpan,e.unit);break;case 2:n=this.registerClassInput(r,!1,e.value,e.sourceSpan);break}return!!n}registerInputBasedOnName(e,n,r){let s=null;const i=e.substring(0,6),o=e==="style"||i==="style."||i==="style!";if(o||!o&&(e==="class"||i==="class."||i==="class!")){const u=e.charAt(5)!==".",l=e.slice(u?5:6);o?s=this.registerStyleInput(l,u,n,r):s=this.registerClassInput(l,u,n,r)}return s}registerStyleInput(e,n,r,s,i){if(y0(r))return null;hM(e)||(e=RD(e));const{property:o,hasOverrideFlag:a,suffix:u}=v0(e);i=typeof i=="string"&&i.length!==0?i:u;const l={name:o,suffix:i,value:r,sourceSpan:s,hasOverrideFlag:a};return n?this._styleMapInput=l:((this._singleStyleInputs=this._singleStyleInputs||[]).push(l),m0(this._stylesIndex,o)),this._lastStylingInput=l,this._firstStylingInput=this._firstStylingInput||l,this._checkForPipes(r),this.hasBindings=!0,l}registerClassInput(e,n,r,s){if(y0(r))return null;const{property:i,hasOverrideFlag:o}=v0(e),a={name:i,value:r,sourceSpan:s,hasOverrideFlag:o,suffix:null};return n?this._classMapInput=a:((this._singleClassInputs=this._singleClassInputs||[]).push(a),m0(this._classesIndex,i)),this._lastStylingInput=a,this._firstStylingInput=this._firstStylingInput||a,this._checkForPipes(r),this.hasBindings=!0,a}_checkForPipes(e){e instanceof Ls&&e.ast instanceof ud&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=uM(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(x(1));for(let n=0;n{const u=a(i);return Array.isArray(u)?u:[u]}}]}}_buildSingleInputs(e,n,r,s,i){const o=[];return n.forEach(a=>{const u=o[o.length-1],l=a.value.visit(r);let c=e,d=mc;l instanceof Ot&&(d+=l.expressions.length,s&&(c=s(l)));const p={sourceSpan:a.sourceSpan,allocateBindingSlots:d,supportsInterpolation:!!s,params:f=>{const g=[];g.push(x(a.name));const m=f(l);return Array.isArray(m)?g.push(...m):g.push(m),!i&&a.suffix!==null&&g.push(x(a.suffix)),g}};u&&u.reference===c?u.calls.push(p):o.push({reference:c,calls:[p]})}),o}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(h.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(h.styleProp,this._singleStyleInputs,e,pM,!1):[]}buildUpdateLevelInstructions(e){const n=[];if(this.hasBindings){const r=this.buildStyleMapInstruction(e);r&&n.push(r);const s=this.buildClassMapInstruction(e);s&&n.push(s),n.push(...this._buildStyleInputs(e)),n.push(...this._buildClassInputs(e))}return n}}function m0(t,e){t.has(e)||t.set(e,t.size)}function v0(t){let e=!1;const n=t.indexOf(lM);n!==-1&&(t=n>0?t.substring(0,n):"",e=!0);let r=null,s=t;const i=t.lastIndexOf(".");return i>0&&(r=t.slice(i+1),s=t.substring(0,i)),{property:s,suffix:r,hasOverrideFlag:e}}function cM(t){switch(Ji(t)){case 1:return h.classMap;case 3:return h.classMapInterpolate1;case 5:return h.classMapInterpolate2;case 7:return h.classMapInterpolate3;case 9:return h.classMapInterpolate4;case 11:return h.classMapInterpolate5;case 13:return h.classMapInterpolate6;case 15:return h.classMapInterpolate7;case 17:return h.classMapInterpolate8;default:return h.classMapInterpolateV}}function dM(t){switch(Ji(t)){case 1:return h.styleMap;case 3:return h.styleMapInterpolate1;case 5:return h.styleMapInterpolate2;case 7:return h.styleMapInterpolate3;case 9:return h.styleMapInterpolate4;case 11:return h.styleMapInterpolate5;case 13:return h.styleMapInterpolate6;case 15:return h.styleMapInterpolate7;case 17:return h.styleMapInterpolate8;default:return h.styleMapInterpolateV}}function pM(t){switch(Ji(t)){case 1:return h.styleProp;case 3:return h.stylePropInterpolate1;case 5:return h.stylePropInterpolate2;case 7:return h.stylePropInterpolate3;case 9:return h.stylePropInterpolate4;case 11:return h.stylePropInterpolate5;case 13:return h.stylePropInterpolate6;case 15:return h.stylePropInterpolate7;case 17:return h.stylePropInterpolate8;default:return h.stylePropInterpolateV}}function hM(t){return t.startsWith("--")}function y0(t){return t instanceof Ls&&(t=t.ast),t instanceof wn}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var pe;(function(t){t[t.Character=0]="Character",t[t.Identifier=1]="Identifier",t[t.PrivateIdentifier=2]="PrivateIdentifier",t[t.Keyword=3]="Keyword",t[t.String=4]="String",t[t.Operator=5]="Operator",t[t.Number=6]="Number",t[t.Error=7]="Error"})(pe||(pe={}));const fM=["var","let","as","null","undefined","true","false","if","else","this"];class OD{tokenize(e){const n=new DM(e),r=[];let s=n.scanToken();for(;s!=null;)r.push(s),s=n.scanToken();return r}}class Ds{constructor(e,n,r,s,i){this.index=e,this.end=n,this.type=r,this.numValue=s,this.strValue=i}isCharacter(e){return this.type==pe.Character&&this.numValue==e}isNumber(){return this.type==pe.Number}isString(){return this.type==pe.String}isOperator(e){return this.type==pe.Operator&&this.strValue==e}isIdentifier(){return this.type==pe.Identifier}isPrivateIdentifier(){return this.type==pe.PrivateIdentifier}isKeyword(){return this.type==pe.Keyword}isKeywordLet(){return this.type==pe.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==pe.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==pe.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==pe.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==pe.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==pe.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==pe.Keyword&&this.strValue=="this"}isError(){return this.type==pe.Error}toNumber(){return this.type==pe.Number?this.numValue:-1}toString(){switch(this.type){case pe.Character:case pe.Identifier:case pe.Keyword:case pe.Operator:case pe.PrivateIdentifier:case pe.String:case pe.Error:return this.strValue;case pe.Number:return this.numValue.toString();default:return null}}}function E0(t,e,n){return new Ds(t,e,pe.Character,n,String.fromCharCode(n))}function gM(t,e,n){return new Ds(t,e,pe.Identifier,0,n)}function mM(t,e,n){return new Ds(t,e,pe.PrivateIdentifier,0,n)}function vM(t,e,n){return new Ds(t,e,pe.Keyword,0,n)}function dp(t,e,n){return new Ds(t,e,pe.Operator,0,n)}function yM(t,e,n){return new Ds(t,e,pe.String,0,n)}function EM(t,e,n){return new Ds(t,e,pe.Number,n,"")}function _M(t,e,n){return new Ds(t,e,pe.Error,0,n)}const pp=new Ds(-1,-1,pe.Character,0,"");class DM{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?un:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,n=this.length;let r=this.peek,s=this.index;for(;r<=mD;)if(++s>=n){r=un;break}else r=e.charCodeAt(s);if(this.peek=r,this.index=s,s>=n)return null;if(_0(r))return this.scanIdentifier();if(Ns(r))return this.scanNumber(s);const i=s;switch(r){case uo:return this.advance(),Ns(this.peek)?this.scanNumber(i):E0(i,this.index,uo);case Wl:case Va:case Bs:case fr:case za:case Ha:case es:case Rs:case ts:return this.scanCharacter(i,r);case lu:case uu:return this.scanString();case vD:return this.scanPrivateIdentifier();case ED:case fc:case XT:case Yr:case YT:case rx:return this.scanOperator(i,String.fromCharCode(r));case e0:return this.scanQuestion(i);case lo:case ks:return this.scanComplexOperator(i,String.fromCharCode(r),co,"=");case Dh:case co:return this.scanComplexOperator(i,String.fromCharCode(r),co,"=",co,"=");case hc:return this.scanComplexOperator(i,"&",hc,"&");case t0:return this.scanComplexOperator(i,"|",t0,"|");case AD:for(;Kf(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(r)}]`,0)}scanCharacter(e,n){return this.advance(),E0(e,this.index,n)}scanOperator(e,n){return this.advance(),dp(e,this.index,n)}scanComplexOperator(e,n,r,s,i,o){this.advance();let a=n;return this.peek==r&&(this.advance(),a+=s),i!=null&&this.peek==i&&(this.advance(),a+=o),dp(e,this.index,a)}scanIdentifier(){const e=this.index;for(this.advance();D0(this.peek);)this.advance();const n=this.input.substring(e,this.index);return fM.indexOf(n)>-1?vM(e,this.index,n):gM(e,this.index,n)}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!_0(this.peek))return this.error("Invalid character [#]",-1);for(;D0(this.peek);)this.advance();const n=this.input.substring(e,this.index);return mM(e,this.index,n)}scanNumber(e){let n=this.index===e,r=!1;for(this.advance();;){if(!Ns(this.peek))if(this.peek===Wf){if(!Ns(this.input.charCodeAt(this.index-1))||!Ns(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(this.peek===uo)n=!1;else if(CM(this.peek)){if(this.advance(),wM(this.peek)&&this.advance(),!Ns(this.peek))return this.error("Invalid exponent",-1);n=!1}else break;this.advance()}let s=this.input.substring(e,this.index);r&&(s=s.replace(/_/g,""));const i=n?IM(s):parseFloat(s);return EM(e,this.index,i)}scanString(){const e=this.index,n=this.peek;this.advance();let r="",s=this.index;const i=this.input;for(;this.peek!=n;)if(this.peek==zf){r+=i.substring(s,this.index),this.advance();let a;if(this.peek=this.peek,this.peek==SD){const u=i.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(u))a=parseInt(u,16);else return this.error(`Invalid unicode escape [\\u${u}]`,0);for(let l=0;l<5;l++)this.advance()}else a=SM(this.peek),this.advance();r+=String.fromCharCode(a),s=this.index}else{if(this.peek==un)return this.error("Unterminated quote",0);this.advance()}const o=i.substring(s,this.index);return this.advance(),yM(e,this.index,r+o)}scanQuestion(e){this.advance();let n="?";return(this.peek===e0||this.peek===uo)&&(n+=this.peek===uo?".":"?",this.advance()),dp(e,this.index,n)}error(e,n){const r=this.index+n;return _M(r,this.index,`Lexer Error: ${e} at column ${r} in expression [${this.input}]`)}}function _0(t){return Li<=t&&t<=Vu||ia<=t&&t<=sd||t==Wf||t==yD}function D0(t){return Qf(t)||Ns(t)||t==Wf||t==yD}function CM(t){return t==ix||t==ex}function wM(t){return t==fc||t==ED}function SM(t){switch(t){case DD:return xi;case Zf:return gD;case CD:return qf;case wD:return Uf;case ID:return fD;default:return t}}function IM(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class bM{constructor(e,n,r){this.strings=e,this.expressions=n,this.offsets=r}}class AM{constructor(e,n,r){this.templateBindings=e,this.warnings=n,this.errors=r}}class BD{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,n,r,s,i=pr){this._checkNoInterpolation(e,r,i);const o=this._stripComments(e),a=this._lexer.tokenize(o);let u=1;n&&(u|=2);const l=new Ra(e,r,s,a,u,this.errors,0).parseChain();return new Ls(l,e,r,s,this.errors)}parseBinding(e,n,r,s=pr){const i=this._parseBindingAst(e,n,r,s);return new Ls(i,e,n,r,this.errors)}checkSimpleExpression(e){const n=new TM;return e.visit(n),n.errors}parseSimpleBinding(e,n,r,s=pr){const i=this._parseBindingAst(e,n,r,s),o=this.checkSimpleExpression(i);return o.length>0&&this._reportError(`Host binding expression cannot contain ${o.join(" ")}`,e,n),new Ls(i,e,n,r,this.errors)}_reportError(e,n,r,s){this.errors.push(new wh(e,n,r,s))}_parseBindingAst(e,n,r,s){this._checkNoInterpolation(e,n,s);const i=this._stripComments(e),o=this._lexer.tokenize(i);return new Ra(e,n,r,o,0,this.errors,0).parseChain()}parseTemplateBindings(e,n,r,s,i){const o=this._lexer.tokenize(n);return new Ra(n,r,i,o,0,this.errors,0).parseTemplateBindings({source:e,span:new Hn(s,s+e.length)})}parseInterpolation(e,n,r,s,i=pr){const{strings:o,expressions:a,offsets:u}=this.splitInterpolation(e,n,s,i);if(a.length===0)return null;const l=[];for(let c=0;cc.text),l,e,n,r)}parseInterpolationExpression(e,n,r){const s=this._stripComments(e),i=this._lexer.tokenize(s),o=new Ra(e,n,r,i,0,this.errors,0).parseChain(),a=["",""];return this.createInterpolationAst(a,[o],e,n,r)}createInterpolationAst(e,n,r,s,i){const o=new hu(0,r.length),a=new Ot(o,o.toAbsolute(i),e,n);return new Ls(a,r,s,i,this.errors)}splitInterpolation(e,n,r,s=pr){var i;const o=[],a=[],u=[],l=r?xM(r):null;let c=0,d=!1,p=!1,{start:f,end:g}=s;for(;c-1)break;i>-1&&o>-1&&this._reportError(`Got interpolation (${r}${s}) where expression was expected`,e,`at column ${i} in`,n)}_getInterpolationEndIndex(e,n,r){for(const s of this._forEachUnquotedChar(e,r)){if(e.startsWith(n,s))return s;if(e.startsWith("//",s))return e.indexOf(n,s)}return-1}*_forEachUnquotedChar(e,n){let r=null,s=0;for(let i=n;i=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,n){let r=this.currentEndIndex;if(n!==void 0&&n>this.currentEndIndex&&(r=n),e>r){const s=r;r=e,e=s}return new hu(e,r)}sourceSpan(e,n){const r=`${e}@${this.inputIndex}:${n}`;return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,n).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,n){this.context|=e;const r=n();return this.context^=e,r}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===pp?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){const e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){const e=[],n=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();const s=this.parseAdditive();n=new ur(this.span(e),this.sourceSpan(e),r,n,s);continue}break}return n}parseAdditive(){const e=this.inputIndex;let n=this.parseMultiplicative();for(;this.next.type==pe.Operator;){const r=this.next.strValue;switch(r){case"+":case"-":this.advance();let s=this.parseMultiplicative();n=new ur(this.span(e),this.sourceSpan(e),r,n,s);continue}break}return n}parseMultiplicative(){const e=this.inputIndex;let n=this.parsePrefix();for(;this.next.type==pe.Operator;){const r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();let s=this.parsePrefix();n=new ur(this.span(e),this.sourceSpan(e),r,n,s);continue}break}return n}parsePrefix(){if(this.next.type==pe.Operator){const e=this.inputIndex,n=this.next.strValue;let r;switch(n){case"+":return this.advance(),r=this.parsePrefix(),fs.createPlus(this.span(e),this.sourceSpan(e),r);case"-":return this.advance(),r=this.parsePrefix(),fs.createMinus(this.span(e),this.sourceSpan(e),r);case"!":return this.advance(),r=this.parsePrefix(),new rg(this.span(e),this.sourceSpan(e),r)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let n=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(uo))n=this.parseAccessMember(n,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(Wl)?n=this.parseCall(n,e,!0):n=this.consumeOptionalCharacter(za)?this.parseKeyedReadOrWrite(n,e,!0):this.parseAccessMember(n,e,!0);else if(this.consumeOptionalCharacter(za))n=this.parseKeyedReadOrWrite(n,e,!1);else if(this.consumeOptionalCharacter(Wl))n=this.parseCall(n,e,!1);else if(this.consumeOptionalOperator("!"))n=new sg(this.span(e),this.sourceSpan(e),n);else return n}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(Wl)){this.rparensExpected++;const n=this.parsePipe();return this.rparensExpected--,this.expectCharacter(Va),n}else{if(this.next.isKeywordNull())return this.advance(),new on(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new on(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new on(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new on(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Sh(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(za)){this.rbracketsExpected++;const n=this.parseExpressionList(Ha);return this.rbracketsExpected--,this.expectCharacter(Ha),new ld(this.span(e),this.sourceSpan(e),n)}else{if(this.next.isCharacter(Bs))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new fu(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const n=this.next.toNumber();return this.advance(),new on(this.span(e),this.sourceSpan(e),n)}else if(this.next.isString()){const n=this.next.toString();return this.advance(),new on(this.span(e),this.sourceSpan(e),n)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new wn(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new wn(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new wn(this.span(e),this.sourceSpan(e)))}}}parseExpressionList(e){const n=[];do if(!this.next.isCharacter(e))n.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(es));return n}parseLiteralMap(){const e=[],n=[],r=this.inputIndex;if(this.expectCharacter(Bs),!this.consumeOptionalCharacter(fr)){this.rbracesExpected++;do{const s=this.inputIndex,i=this.next.isString(),o=this.expectIdentifierOrKeywordOrString();if(e.push({key:o,quoted:i}),i)this.expectCharacter(Rs),n.push(this.parsePipe());else if(this.consumeOptionalCharacter(Rs))n.push(this.parsePipe());else{const a=this.span(s),u=this.sourceSpan(s);n.push(new js(a,u,u,new fu(a,u),o))}}while(this.consumeOptionalCharacter(es));this.rbracesExpected--,this.expectCharacter(fr)}return new ng(this.span(r),this.sourceSpan(r),e,n)}parseAccessMember(e,n,r){const s=this.inputIndex,i=this.withContext(ho.Writable,()=>{var u;const l=(u=this.expectIdentifierOrKeyword())!==null&&u!==void 0?u:"";return l.length===0&&this.error("Expected identifier for property access",e.span.end),l}),o=this.sourceSpan(s);let a;if(r)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),a=new wn(this.span(n),this.sourceSpan(n))):a=new eg(this.span(n),this.sourceSpan(n),o,e,i);else if(this.consumeOptionalAssignment()){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new wn(this.span(n),this.sourceSpan(n));const u=this.parseConditional();a=new Jf(this.span(n),this.sourceSpan(n),o,e,i,u)}else a=new js(this.span(n),this.sourceSpan(n),o,e,i);return a}parseCall(e,n,r){const s=this.inputIndex;this.rparensExpected++;const i=this.parseCallArguments(),o=this.span(s,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(Va),this.rparensExpected--;const a=this.span(n),u=this.sourceSpan(n);return r?new cd(a,u,e,i,o):new oa(a,u,e,i,o)}consumeOptionalAssignment(){return this.parseFlags&2&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(Va))return[];const e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(es));return e}expectTemplateBindingKey(){let e="",n=!1;const r=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),n=this.consumeOptionalOperator("-"),n&&(e+="-");while(n);return{source:e,span:new Hn(r,r+e.length)}}parseTemplateBindings(e){const n=[];for(n.push(...this.parseDirectiveKeywordBindings(e));this.index{this.rbracketsExpected++;const s=this.parsePipe();if(s instanceof wn&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(Ha),this.consumeOptionalOperator("="))if(r)this.error("The '?.' operator cannot be used in the assignment");else{const i=this.parseConditional();return new tg(this.span(n),this.sourceSpan(n),e,s,i)}else return r?new ad(this.span(n),this.sourceSpan(n),e,s):new od(this.span(n),this.sourceSpan(n),e,s);return new wn(this.span(n),this.sourceSpan(n))})}parseDirectiveKeywordBindings(e){const n=[];this.consumeOptionalCharacter(Rs);const r=this.getDirectiveBoundTarget();let s=this.currentAbsoluteOffset;const i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),s=this.currentAbsoluteOffset);const o=new Hn(e.span.start,s);return n.push(new Ix(o,e,r)),i&&n.push(i),n}getDirectiveBoundTarget(){if(this.next===pp||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:n,end:r}=e.span,s=this.input.substring(n,r);return new Ls(e,s,this.location,this.absoluteOffset+n,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const n=this.expectTemplateBindingKey();this.consumeStatementTerminator();const r=new Hn(e.span.start,this.currentAbsoluteOffset);return new Ih(r,n,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const n=this.expectTemplateBindingKey();let r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const s=new Hn(e,this.currentAbsoluteOffset);return new Ih(s,n,r)}consumeStatementTerminator(){this.consumeOptionalCharacter(ts)||this.consumeOptionalCharacter(es)}error(e,n=null){this.errors.push(new wh(e,this.input,this.locationText(n),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),ea+u.length,0);r+=o,n+=o}e.set(r,n),s++}return e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Uu{constructor(e,n){this.sourceSpan=e,this.i18n=n}}class dd extends Uu{constructor(e,n,r,s){super(n,s),this.value=e,this.tokens=r}visit(e,n){return e.visitText(this,n)}}class vc extends Uu{constructor(e,n,r,s,i,o){super(s,o),this.switchValue=e,this.type=n,this.cases=r,this.switchValueSourceSpan=i}visit(e,n){return e.visitExpansion(this,n)}}class MM{constructor(e,n,r,s,i){this.value=e,this.expression=n,this.sourceSpan=r,this.valueSourceSpan=s,this.expSourceSpan=i}visit(e,n){return e.visitExpansionCase(this,n)}}class PM extends Uu{constructor(e,n,r,s,i,o,a){super(r,a),this.name=e,this.value=n,this.keySpan=s,this.valueSpan=i,this.valueTokens=o}visit(e,n){return e.visitAttribute(this,n)}}class xh extends Uu{constructor(e,n,r,s,i,o=null,a){super(s,a),this.name=e,this.attrs=n,this.children=r,this.startSourceSpan=i,this.endSourceSpan=o}visit(e,n){return e.visitElement(this,n)}}class $D{constructor(e,n){this.value=e,this.sourceSpan=n}visit(e,n){return e.visitComment(this,n)}}function Ir(t,e,n=null){const r=[],s=t.visit?i=>t.visit(i,n)||i.visit(t,n):i=>i.visit(t,n);return e.forEach(i=>{const o=s(i);o&&r.push(o)}),r}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const yc={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:` +`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},jD="\uE500";yc.ngsp=jD;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class hp extends Hu{constructor(e,n,r){super(r,e),this.tokenType=n}}class kM{constructor(e,n,r){this.tokens=e,this.errors=n,this.nonNormalizedIcuExpressions=r}}function NM(t,e,n,r={}){const s=new LM(new xD(t,e),n,r);return s.tokenize(),new kM(HM(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}const FM=/\r\n?/g;function La(t){return`Unexpected character "${t===un?"EOF":String.fromCharCode(t)}"`}function C0(t){return`Unknown entity "${t}" - use the "&#;" or "&#x;" syntax`}function RM(t,e){return`Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`}var Ec;(function(t){t.HEX="hexadecimal",t.DEC="decimal"})(Ec||(Ec={}));class fp{constructor(e){this.error=e}}class LM{constructor(e,n,r){this._getTagDefinition=n,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||pr,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(i=>i.codePointAt(0)||0);const s=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new _c(e,s):new gu(e,s),this._preserveLineEndings=r.preserveLineEndings||!1,this._escapedString=r.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(FM,` +`)}tokenize(){for(;this._cursor.peek()!==un;){const e=this._cursor.clone();try{this._attemptCharCode(lo)?this._attemptCharCode(Dh)?this._attemptCharCode(za)?this._consumeCdata(e):this._attemptCharCode(fc)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(Yr)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(n){this.handleError(n)}}this._beginToken(24),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(jM(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===fr){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,n=this._cursor.clone()){this._currentTokenStart=n,this._currentTokenType=e}_endToken(e,n){if(this._currentTokenStart===null)throw new hp("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(n));if(this._currentTokenType===null)throw new hp("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const r={type:this._currentTokenType,parts:e,sourceSpan:(n!=null?n:this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,n){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);const r=new hp(e,this._currentTokenType,n);return this._currentTokenStart=null,this._currentTokenType=null,new fp(r)}handleError(e){if(e instanceof ug&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof fp)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return VM(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){const n=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(n))}_attemptStr(e){const n=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e);const n=this._cursor.clone();this._attemptUntilChar(ks);const r=this._cursor.getChars(n);this._cursor.advance(),this._endToken([r])}_consumePrefixAndName(){const e=this._cursor.clone();let n="";for(;this._cursor.peek()!==Rs&&!OM(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===Rs?(n=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(w0,n===""?0:1);const s=this._cursor.getChars(r);return[n,s]}_consumeTagOpen(e){let n,r,s;try{if(!Qf(this._cursor.peek()))throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),r=s.parts[0],n=s.parts[1],this._attemptCharCodeUntilFn(sn);this._cursor.peek()!==Yr&&this._cursor.peek()!==ks&&this._cursor.peek()!==lo&&this._cursor.peek()!==un;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(sn),this._attemptCharCode(co)&&(this._attemptCharCodeUntilFn(sn),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(sn);this._consumeTagOpenEnd()}catch(o){if(o instanceof fp){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}const i=this._getTagDefinition(n).getContentType(r);i===cr.RAW_TEXT?this._consumeRawTextWithTagClose(r,n,!1):i===cr.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,n,!0)}_consumeRawTextWithTagClose(e,n,r){this._consumeRawText(r,()=>!this._attemptCharCode(lo)||!this._attemptCharCode(Yr)||(this._attemptCharCodeUntilFn(sn),!this._attemptStrCaseInsensitive(n))?!1:(this._attemptCharCodeUntilFn(sn),this._attemptCharCode(ks))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===ks,3),this._cursor.advance(),this._endToken([e,n])}_consumeTagOpenStart(e){this._beginToken(0,e);const n=this._consumePrefixAndName();return this._endToken(n)}_consumeAttributeName(){const e=this._cursor.peek();if(e===lu||e===uu)throw this._createError(La(e),this._cursor.getSpan());this._beginToken(14);const n=this._consumePrefixAndName();this._endToken(n)}_consumeAttributeValue(){if(this._cursor.peek()===lu||this._cursor.peek()===uu){const e=this._cursor.peek();this._consumeQuote(e);const n=()=>this._cursor.peek()===e;this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(e)}else{const e=()=>w0(this._cursor.peek());this._consumeWithInterpolation(16,17,e,e)}}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(Yr)?2:1;this._beginToken(e),this._requireCharCode(ks),this._endToken([])}_consumeTagClose(e){this._beginToken(3,e),this._attemptCharCodeUntilFn(sn);const n=this._consumePrefixAndName();this._attemptCharCodeUntilFn(sn),this._requireCharCode(ks),this._endToken(n)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(Bs),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const e=this._readUntil(es),n=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([n]);else{const s=this._endToken([e]);n!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(es),this._attemptCharCodeUntilFn(sn),this._beginToken(7);const r=this._readUntil(es);this._endToken([r]),this._requireCharCode(es),this._attemptCharCodeUntilFn(sn)}_consumeExpansionCaseStart(){this._beginToken(20);const e=this._readUntil(Bs).trim();this._endToken([e]),this._attemptCharCodeUntilFn(sn),this._beginToken(21),this._requireCharCode(Bs),this._endToken([]),this._attemptCharCodeUntilFn(sn),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(fr),this._endToken([]),this._attemptCharCodeUntilFn(sn),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(fr),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,n,r,s){this._beginToken(e);const i=[];for(;!r();){const o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],o),i.length=0,this._consumeInterpolation(n,o,s),this._beginToken(e)):this._cursor.peek()===hc?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(i.join(""))])}_consumeInterpolation(e,n,r){const s=[];this._beginToken(e,n),s.push(this._interpolationConfig.start);const i=this._cursor.clone();let o=null,a=!1;for(;this._cursor.peek()!==un&&(r===null||!r());){const u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,s.push(this._getProcessedChars(i,u)),this._endToken(s);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(i,u)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(a=!0);const l=this._cursor.peek();this._cursor.advance(),l===zf?this._cursor.advance():l===o?o=null:!a&&o===null&&Ch(l)&&(o=l)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,n){return this._processCarriageReturns(n.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===un||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===fr&&this._isInExpansionCase()))}_isTagStart(){if(this._cursor.peek()===lo){const e=this._cursor.clone();e.advance();const n=e.peek();if(Li<=n&&n<=Vu||ia<=n&&n<=sd||n===Yr||n===Dh)return!0}return!1}_readUntil(e){const n=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(n)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===19}isExpansionFormStart(){if(this._cursor.peek()!==Bs)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),n=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!n}return!0}}function sn(t){return!Kf(t)||t===un}function w0(t){return Kf(t)||t===ks||t===lo||t===Yr||t===lu||t===uu||t===co||t===un}function OM(t){return(t_D)}function BM(t){return t===ts||t===un||!ax(t)}function $M(t){return t===ts||t===un||!Qf(t)}function jM(t){return t!==fr}function VM(t,e){return S0(t)===S0(e)}function S0(t){return t>=Li&&t<=Vu?t-Li+ia:t}function HM(t){const e=[];let n;for(let r=0;r0&&n.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();const s=this.locationFromCursor(e),i=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):s;return new wt(s,i,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ug('Unexpected character "EOF"',this);const n=this.charAt(e.offset);n===xi?(e.line++,e.column=0):TD(n)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?un:this.charAt(e.offset)}locationFromCursor(e){return new cu(e.file,e.state.offset,e.state.line,e.state.column)}}class _c extends gu{constructor(e,n){e instanceof _c?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,n),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new _c(this)}getChars(e){const n=e.clone();let r="";for(;n.internalState.offsetthis.internalState.peek;if(e()===zf)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===DD)this.state.peek=xi;else if(e()===CD)this.state.peek=qf;else if(e()===ID)this.state.peek=fD;else if(e()===wD)this.state.peek=Uf;else if(e()===sx)this.state.peek=QT;else if(e()===Zf)this.state.peek=gD;else if(e()===SD)if(this.advanceState(this.internalState),e()===Bs){this.advanceState(this.internalState);const n=this.clone();let r=0;for(;e()!==fr;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(n,r)}else{const n=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,4)}else if(e()===bD){this.advanceState(this.internalState);const n=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,2)}else if(n0(e())){let n="",r=0,s=this.clone();for(;n0(e())&&r<3;)s=this.clone(),n+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(n,8),this.internalState=s.internalState}else TD(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,n){const r=this.input.slice(e.internalState.offset,e.internalState.offset+n),s=parseInt(r,16);if(isNaN(s))throw e.state=e.internalState,new ug("Invalid hexadecimal escape sequence",e);return s}}class ug{constructor(e,n){this.msg=e,this.cursor=n}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Bn extends Hu{constructor(e,n,r){super(n,r),this.elementName=e}static create(e,n,r){return new Bn(e,n,r)}}class VD{constructor(e,n){this.rootNodes=e,this.errors=n}}class UM{constructor(e){this.getTagDefinition=e}parse(e,n,r){const s=NM(e,n,this.getTagDefinition,r),i=new lg(s.tokens,this.getTagDefinition);return i.build(),new VD(i.rootNodes,s.errors.concat(i.errors))}}class lg{constructor(e,n){this.tokens=e,this.getTagDefinition=n,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==24;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?this._consumeEndTag(this._advance()):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===19?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;const o=new wt(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),a=new wt(n.sourceSpan.start,s.sourceSpan.end,n.sourceSpan.fullStart);return new MM(e.parts[0],i.rootNodes,o,e.sourceSpan,a)}_collectExpansionExpTokens(e){const n=[],r=[21];for(;;){if((this._peek.type===19||this._peek.type===21)&&r.push(this._peek.type),this._peek.type===22)if(I0(r,21)){if(r.pop(),r.length===0)return n}else return this.errors.push(Bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===23)if(I0(r,19))r.pop();else return this.errors.push(Bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)return this.errors.push(Bn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.push(this._advance())}}_consumeText(e){const n=[e],r=e.sourceSpan;let s=e.parts[0];if(s.length>0&&s[0]===` +`){const i=this._getParentElement();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),n[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),n.push(e),e.type===8?s+=e.parts.join("").replace(/&([^;]+);/g,b0):e.type===9?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){const i=e.sourceSpan;this._addToParent(new dd(s,new wt(r.start,i.end,r.fullStart,r.details),n))}}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[n,r]=e.parts,s=[];for(;this._peek.type===14;)s.push(this._consumeAttr(this._advance()));const i=this._getElementFullName(n,r,this._getParentElement());let o=!1;if(this._peek.type===2){this._advance(),o=!0;const d=this.getTagDefinition(i);d.canSelfClose||Dy(i)!==null||d.isVoid||this.errors.push(Bn.create(i,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);const a=this._peek.sourceSpan.fullStart,u=new wt(e.sourceSpan.start,a,e.sourceSpan.fullStart),l=new wt(e.sourceSpan.start,a,e.sourceSpan.fullStart),c=new xh(i,s,[],u,l,void 0);this._pushElement(c),o?this._popElement(i,u):e.type===4&&(this._popElement(i,null),this.errors.push(Bn.create(i,u,`Opening tag "${i}" not terminated.`)))}_pushElement(e){const n=this._getParentElement();n&&this.getTagDefinition(n.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const n=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(n).isVoid)this.errors.push(Bn.create(n,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(n,e.sourceSpan)){const r=`Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Bn.create(n,e.sourceSpan,r))}}_popElement(e,n){let r=!1;for(let s=this._elementStack.length-1;s>=0;s--){const i=this._elementStack[s];if(i.name===e)return i.endSourceSpan=n,i.sourceSpan.end=n!==null?n.end:i.sourceSpan.end,this._elementStack.splice(s,this._elementStack.length-s),!r;this.getTagDefinition(i.name).closedByParent||(r=!0)}return!1}_consumeAttr(e){const n=ph(e.parts[0],e.parts[1]);let r=e.sourceSpan.end;this._peek.type===15&&this._advance();let s="";const i=[];let o,a;if(this._peek.type===16)for(o=this._peek.sourceSpan,a=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){const c=this._advance();i.push(c),c.type===17?s+=c.parts.join("").replace(/&([^;]+);/g,b0):c.type===9?s+=c.parts[0]:s+=c.parts.join(""),a=r=c.sourceSpan.end}this._peek.type===15&&(r=this._advance().sourceSpan.end);const l=o&&a&&new wt(o.start,a,o.fullStart);return new PM(n,s,new wt(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,l,i.length>0?i:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const n=this._getParentElement();n!=null?n.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,n,r){if(e===""&&(e=this.getTagDefinition(n).implicitNamespacePrefix||"",e===""&&r!=null)){const s=is(r.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=Dy(r.name))}return ph(e,n)}}function I0(t,e){return t.length>0&&t[t.length-1]===e}function b0(t,e){return yc[e]!==void 0?yc[e]||t:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class qM extends UM{constructor(){super(Sf)}parse(e,n,r){return super.parse(e,n,r)}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const HD="ngPreserveWhitespaces",GM=new Set(["pre","template","textarea","script","style"]),UD=` \f +\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,zM=new RegExp(`[^${UD}]`),WM=new RegExp(`[${UD}]{2,}`,"g");function ZM(t){return t.some(e=>e.name===HD)}function qD(t){return t.replace(new RegExp(jD,"g")," ")}class KM{visitElement(e,n){return GM.has(e.name)||ZM(e.attrs)?new xh(e.name,Ir(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new xh(e.name,e.attrs,YM(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,n){return e.name!==HD?e:null}visitText(e,n){const r=e.value.match(zM),s=n&&(n.prev instanceof vc||n.next instanceof vc);if(r||s){const i=e.tokens.map(a=>a.type===5?QM(a):a),o=GD(e.value);return new dd(o,e.sourceSpan,i,e.i18n)}return null}visitComment(e,n){return e}visitExpansion(e,n){return e}visitExpansionCase(e,n){return e}}function QM({type:t,parts:e,sourceSpan:n}){return{type:t,parts:[GD(e[0])],sourceSpan:n}}function GD(t){return qD(t).replace(WM," ")}function YM(t,e){const n=[];return e.forEach((r,s)=>{const i={prev:e[s-1],next:e[s+1]},o=r.visit(t,i);o&&n.push(o)}),n}function Dc(t,e=!1){return Pn(Object.keys(t).map(n=>({key:n,quoted:e,value:t[n]})))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Zl;function A0(){return Zl||(Zl={},Sl(st.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Sl(st.STYLE,["*|style"]),Sl(st.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Sl(st.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Zl}function Sl(t,e){for(const n of e)Zl[n.toLowerCase()]=t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class XM{}const JM="boolean",eP="number",tP="string",nP="object",rP=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],zD=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),sP=Array.from(zD).reduce((t,[e,n])=>(t.set(e,n),t),new Map);class WD extends XM{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,rP.forEach(e=>{const n=new Map,r=new Set,[s,i]=e.split("|"),o=i.split(","),[a,u]=s.split("^");a.split(",").forEach(c=>{this._schema.set(c.toLowerCase(),n),this._eventSchema.set(c.toLowerCase(),r)});const l=u&&this._schema.get(u.toLowerCase());if(l){for(const[c,d]of l)n.set(c,d);for(const c of this._eventSchema.get(u.toLowerCase()))r.add(c)}o.forEach(c=>{if(c.length>0)switch(c[0]){case"*":r.add(c.substring(1));break;case"!":n.set(c.substring(1),JM);break;case"#":n.set(c.substring(1),eP);break;case"%":n.set(c.substring(1),nP);break;default:n.set(c,tP)}})})}hasProperty(e,n,r){if(r.some(i=>i.name===Iy.name))return!0;if(e.indexOf("-")>-1){if(ch(e)||dh(e))return!1;if(r.some(i=>i.name===Sy.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(n)}hasElement(e,n){return n.some(r=>r.name===Iy.name)||e.indexOf("-")>-1&&(ch(e)||dh(e)||n.some(r=>r.name===Sy.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,n,r){r&&(n=this.getMappedPropName(n)),e=e.toLowerCase(),n=n.toLowerCase();let s=A0()[e+"|"+n];return s||(s=A0()["*|"+n],s||st.NONE)}getMappedPropName(e){var n;return(n=zD.get(e))!==null&&n!==void 0?n:e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){const n=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`;return{error:!0,msg:n}}else return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){const n=`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`;return{error:!0,msg:n}}else return{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){const n=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(n.keys()).map(r=>{var s;return(s=sP.get(r))!==null&&s!==void 0?s:r})}allKnownEventsOfElement(e){var n;return Array.from((n=this._eventSchema.get(e.toLowerCase()))!==null&&n!==void 0?n:[])}normalizeAnimationStyleProperty(e){return EA(e)}normalizeAnimationStyleValue(e,n,r){let s="";const i=r.toString().trim();let o=null;if(iP(e)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(o=`Please provide a CSS unit value for ${n}:${r}`)}return{error:o,value:i+s}}}function iP(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const T0=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function ZD(t,e){return t=t.toLowerCase(),e=e.toLowerCase(),T0.has(t+"|"+e)||T0.has("*|"+e)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const x0=".",oP="attr",aP="class",uP="style",lP="*",gp="animate-";class cP{constructor(e,n,r,s){this._exprParser=e,this._interpolationConfig=n,this._schemaRegistry=r,this.errors=s}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(e,n){const r=[];for(const s of Object.keys(e)){const i=e[s];typeof i=="string"?this.parsePropertyBinding(s,i,!0,n,n.start.offset,void 0,[],r,n):this._reportError(`Value of the host property binding "${s}" needs to be a string representing an expression but got "${i}" (${typeof i})`,n)}return r}createDirectiveHostEventAsts(e,n){const r=[];for(const s of Object.keys(e)){const i=e[s];typeof i=="string"?this.parseEvent(s,i,!1,n,n,[],r,n):this._reportError(`Value of the host listener "${s}" needs to be a string representing an expression but got "${i}" (${typeof i})`,n)}return r}parseInterpolation(e,n,r){const s=n.start.toString(),i=n.fullStart.offset;try{const o=this._exprParser.parseInterpolation(e,s,i,r,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,n),o}catch(o){return this._reportError(`${o}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",s,i)}}parseInterpolationExpression(e,n){const r=n.start.toString(),s=n.start.offset;try{const i=this._exprParser.parseInterpolationExpression(e,r,s);return i&&this._reportExpressionParserErrors(i.errors,n),i}catch(i){return this._reportError(`${i}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",r,s)}}parseInlineTemplateBinding(e,n,r,s,i,o,a,u){const l=r.start.offset+lP.length,c=this._parseTemplateBindings(e,n,r,l,s);for(const d of c){const p=xs(r,d.sourceSpan),f=d.key.source,g=xs(r,d.key.span);if(d instanceof Ih){const m=d.value?d.value.source:"$implicit",y=d.value?xs(r,d.value.span):void 0;a.push(new xx(f,m,p,g,y))}else if(d.value){const m=u?p:r,y=xs(r,d.value.ast.sourceSpan);this._parsePropertyAst(f,d.value,m,g,y,i,o)}else i.push([f,""]),this.parseLiteralAttr(f,null,g,s,void 0,i,o,g)}}_parseTemplateBindings(e,n,r,s,i){const o=r.start.toString();try{const a=this._exprParser.parseTemplateBindings(e,n,o,s,i);return this._reportExpressionParserErrors(a.errors,r),a.warnings.forEach(u=>{this._reportError(u,r,ns.WARNING)}),a.templateBindings}catch(a){return this._reportError(`${a}`,r),[]}}parseLiteralAttr(e,n,r,s,i,o,a,u){mp(e)?(e=e.substring(1),u!==void 0&&(u=xs(u,new Hn(u.start.offset+1,u.end.offset))),n&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',r,ns.ERROR),this._parseAnimation(e,n,r,s,u,i,o,a)):a.push(new up(e,this._exprParser.wrapLiteralPrimitive(n,"",s),Mi.LITERAL_ATTR,r,u,i))}parsePropertyBinding(e,n,r,s,i,o,a,u,l){e.length===0&&this._reportError("Property name is missing in binding",s);let c=!1;e.startsWith(gp)?(c=!0,e=e.substring(gp.length),l!==void 0&&(l=xs(l,new Hn(l.start.offset+gp.length,l.end.offset)))):mp(e)&&(c=!0,e=e.substring(1),l!==void 0&&(l=xs(l,new Hn(l.start.offset+1,l.end.offset)))),c?this._parseAnimation(e,n,s,i,l,o,a,u):this._parsePropertyAst(e,this._parseBinding(n,r,o||s,i),s,l,o,a,u)}parsePropertyInterpolation(e,n,r,s,i,o,a,u){const l=this.parseInterpolation(n,s||r,u);return l?(this._parsePropertyAst(e,l,r,a,s,i,o),!0):!1}_parsePropertyAst(e,n,r,s,i,o,a){o.push([e,n.source]),a.push(new up(e,n,Mi.DEFAULT,r,s,i))}_parseAnimation(e,n,r,s,i,o,a,u){e.length===0&&this._reportError("Animation trigger is missing",r);const l=this._parseBinding(n||"undefined",!1,o||r,s);a.push([e,l.source]),u.push(new up(e,l,Mi.ANIMATION,r,i,o))}_parseBinding(e,n,r,s){const i=(r&&r.start||"(unknown)").toString();try{const o=n?this._exprParser.parseSimpleBinding(e,i,s,this._interpolationConfig):this._exprParser.parseBinding(e,i,s,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,r),o}catch(o){return this._reportError(`${o}`,r),this._exprParser.wrapLiteralPrimitive("ERROR",i,s)}}createBoundElementProperty(e,n,r=!1,s=!0){if(n.isAnimation)return new u0(n.name,4,st.NONE,n.expression,null,n.sourceSpan,n.keySpan,n.valueSpan);let i=null,o,a=null;const u=n.name.split(x0);let l;if(u.length>1)if(u[0]==oP){a=u.slice(1).join(x0),r||this._validatePropertyOrAttributeName(a,n.sourceSpan,!0),l=vp(this._schemaRegistry,e,a,!0);const c=a.indexOf(":");if(c>-1){const d=a.substring(0,c),p=a.substring(c+1);a=ph(d,p)}o=1}else u[0]==aP?(a=u[1],o=2,l=[st.NONE]):u[0]==uP&&(i=u.length>2?u[2]:null,a=u[1],o=3,l=[st.STYLE]);if(a===null){const c=this._schemaRegistry.getMappedPropName(n.name);a=s?c:n.name,l=vp(this._schemaRegistry,e,c,!1),o=0,r||this._validatePropertyOrAttributeName(c,n.sourceSpan,!1)}return new u0(a,o,l[0],n.expression,i,n.sourceSpan,n.keySpan,n.valueSpan)}parseEvent(e,n,r,s,i,o,a,u){e.length===0&&this._reportError("Event name is missing in binding",s),mp(e)?(e=e.slice(1),u!==void 0&&(u=xs(u,new Hn(u.start.offset+1,u.end.offset))),this._parseAnimationEvent(e,n,r,s,i,a,u)):this._parseRegularEvent(e,n,r,s,i,o,a,u)}calcPossibleSecurityContexts(e,n,r){const s=this._schemaRegistry.getMappedPropName(n);return vp(this._schemaRegistry,e,s,r)}_parseAnimationEvent(e,n,r,s,i,o,a){const u=DA(e,[e,""]),l=u[0],c=u[1].toLowerCase(),d=this._parseAction(n,r,i);o.push(new a0(l,c,1,d,s,i,a)),l.length===0&&this._reportError("Animation event name is missing in binding",s),c?c!=="start"&&c!=="done"&&this._reportError(`The provided animation output phase value "${c}" for "@${l}" is not supported (use start or done)`,s):this._reportError(`The animation trigger output event (@${l}) is missing its phase value name (start or done are currently supported)`,s)}_parseRegularEvent(e,n,r,s,i,o,a,u){const[l,c]=_A(e,[null,e]),d=this._parseAction(n,r,i);o.push([e,d.source]),a.push(new a0(c,l,0,d,s,i,u))}_parseAction(e,n,r){const s=(r&&r.start||"(unknown").toString(),i=r&&r.start?r.start.offset:0;try{const o=this._exprParser.parseAction(e,n,s,i,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,r),!o||o.ast instanceof wn?(this._reportError("Empty expressions are not allowed",r),this._exprParser.wrapLiteralPrimitive("ERROR",s,i)):o}catch(o){return this._reportError(`${o}`,r),this._exprParser.wrapLiteralPrimitive("ERROR",s,i)}}_reportError(e,n,r=ns.ERROR){this.errors.push(new Hu(n,e,r))}_reportExpressionParserErrors(e,n){for(const r of e)this._reportError(r.message,n)}_validatePropertyOrAttributeName(e,n,r){const s=r?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);s.error&&this._reportError(s.msg,n,ns.ERROR)}}function mp(t){return t[0]=="@"}function vp(t,e,n,r){const s=[];return Ti.parse(e).forEach(i=>{const o=i.element?[i.element]:t.allKnownElementNames(),a=new Set(i.notSelectors.filter(l=>l.isElementSelector()).map(l=>l.element)),u=o.filter(l=>!a.has(l));s.push(...u.map(l=>t.securityContext(l,n,r)))}),s.length===0?[st.NONE]:Array.from(new Set(s)).sort()}function xs(t,e){const n=e.start-t.start.offset,r=e.end-t.end.offset;return new wt(t.start.moveBy(n),t.end.moveBy(r),t.fullStart.moveBy(n),t.details)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function dP(t){if(t==null||t.length===0||t[0]=="/")return!1;const e=t.match(pP);return e===null||e[1]=="package"||e[1]=="asset"}const pP=/^([^:/?#]+):/;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const hP="select",fP="link",gP="rel",mP="href",vP="stylesheet",yP="style",EP="script",_P="ngNonBindable",DP="ngProjectAs";function KD(t){let e=null,n=null,r=null,s=!1,i="";t.attrs.forEach(u=>{const l=u.name.toLowerCase();l==hP?e=u.value:l==mP?n=u.value:l==gP?r=u.value:u.name==_P?s=!0:u.name==DP&&u.value.length>0&&(i=u.value)}),e=wP(e);const o=t.name.toLowerCase();let a=Kt.OTHER;return dh(o)?a=Kt.NG_CONTENT:o==yP?a=Kt.STYLE:o==EP?a=Kt.SCRIPT:o==fP&&r==vP&&(a=Kt.STYLESHEET),new CP(a,e,n,s,i)}var Kt;(function(t){t[t.NG_CONTENT=0]="NG_CONTENT",t[t.STYLE=1]="STYLE",t[t.STYLESHEET=2]="STYLESHEET",t[t.SCRIPT=3]="SCRIPT",t[t.OTHER=4]="OTHER"})(Kt||(Kt={}));class CP{constructor(e,n,r,s,i){this.type=e,this.selectAttr=n,this.hrefAttr=r,this.nonBindable=s,this.projectAs=i}}function wP(t){return t===null||t.length===0?"*":t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const SP=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,M0=1,P0=2,k0=3,N0=4,F0=5,IP=6,Oa=7,Ms={BANANA_BOX:{start:"[(",end:")]"},PROPERTY:{start:"[",end:"]"},EVENT:{start:"(",end:")"}},R0="*";function bP(t,e,n){const r=new AP(e,n),s=Ir(r,t),i=e.errors.concat(r.errors),o={nodes:s,errors:i,styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return n.collectCommentNodes&&(o.commentNodes=r.commentNodes),o}class AP{constructor(e,n){this.bindingParser=e,this.options=n,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(e){const n=au(e.i18n);n&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const r=KD(e);if(r.type===Kt.SCRIPT)return null;if(r.type===Kt.STYLE){const y=kP(e);return y!==null&&this.styles.push(y),null}else if(r.type===Kt.STYLESHEET&&dP(r.hrefAttr))return this.styleUrls.push(r.hrefAttr),null;const s=fA(e.name),i=[],o=[],a=[],u=[],l=[],c={},d=[],p=[];let f=!1;for(const y of e.attrs){let w=!1;const E=L0(y.name);let v=!1;if(y.i18n&&(c[y.name]=y.i18n),E.startsWith(R0)){f&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",y.sourceSpan),v=!0,f=!0;const A=y.value,M=E.substring(R0.length),j=[],ee=y.valueSpan?y.valueSpan.start.offset:y.sourceSpan.start.offset+y.name.length;this.bindingParser.parseInlineTemplateBinding(M,A,y.sourceSpan,ee,[],d,j,!0),p.push(...j.map(O=>new Gy(O.name,O.value,O.sourceSpan,O.keySpan,O.valueSpan)))}else w=this.parseAttribute(s,y,[],i,o,a,u);!w&&!v&&l.push(this.visitAttribute(y))}const g=Ir(r.nonBindable?xP:this,e.children);let m;if(r.type===Kt.NG_CONTENT){e.children&&!e.children.every(E=>MP(E)||PP(E))&&this.reportError(" element cannot have content.",e.sourceSpan);const y=r.selectAttr,w=e.attrs.map(E=>this.visitAttribute(E));m=new wT(y,w,e.sourceSpan,e.i18n),this.ngContentSelectors.push(y)}else if(s){const y=this.extractAttributes(e.name,i,c);m=new ip(e.name,l,y.bound,o,[],g,u,a,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const y=this.extractAttributes(e.name,i,c);m=new cc(e.name,l,y.bound,o,g,u,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(f){const y=this.extractAttributes("ng-template",d,c),w=[];y.literal.forEach(M=>w.push(M)),y.bound.forEach(M=>w.push(M));const E=m instanceof cc?{attributes:m.attributes,inputs:m.inputs,outputs:m.outputs}:{attributes:[],inputs:[],outputs:[]},v=s&&n?void 0:e.i18n,A=m instanceof ip?null:m.name;m=new ip(A,E.attributes,E.inputs,E.outputs,w,[m],[],p,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,v)}return n&&(this.inI18nBlock=!1),m}visitAttribute(e){return new Eh(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!au(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const n=e.i18n,r={},s={};return Object.keys(n.placeholders).forEach(i=>{const o=n.placeholders[i];if(i.startsWith(PT)){const a=i.trim(),u=this.bindingParser.parseInterpolationExpression(o.text,o.sourceSpan);r[a]=new yh(u,o.sourceSpan)}else s[i]=this._visitTextWithInterpolation(o.text,o.sourceSpan,null)}),new oD(r,s,e.sourceSpan,n)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new CT(e.value||"",e.sourceSpan)),null}extractAttributes(e,n,r){const s=[],i=[];return n.forEach(o=>{const a=r[o.name];if(o.isLiteral)i.push(new Eh(o.name,o.expression.source||"",o.sourceSpan,o.keySpan,o.valueSpan,a));else{const u=this.bindingParser.createBoundElementProperty(e,o,!0,!1);s.push(ed.fromBoundElementProperty(u,a))}}),{bound:s,literal:i}}parseAttribute(e,n,r,s,i,o,a){var u;const l=L0(n.name),c=n.value,d=n.sourceSpan,p=n.valueSpan?n.valueSpan.start.offset:d.start.offset;function f(E,v,A){const M=n.name.length-l.length,j=E.start.moveBy(v.length+M),ee=j.moveBy(A.length);return new wt(j,ee,j,A)}const g=l.match(SP);if(g){if(g[M0]!=null){const E=g[Oa],v=f(d,g[M0],E);this.bindingParser.parsePropertyBinding(E,c,!1,d,p,n.valueSpan,r,s,v)}else if(g[P0])if(e){const E=g[Oa],v=f(d,g[P0],E);this.parseVariable(E,c,d,v,n.valueSpan,o)}else this.reportError('"let-" is only supported on ng-template elements.',d);else if(g[k0]){const E=g[Oa],v=f(d,g[k0],E);this.parseReference(E,c,d,v,n.valueSpan,a)}else if(g[N0]){const E=[],v=g[Oa],A=f(d,g[N0],v);this.bindingParser.parseEvent(v,c,!1,d,n.valueSpan||d,r,E,A),yp(E,i)}else if(g[F0]){const E=g[Oa],v=f(d,g[F0],E);this.bindingParser.parsePropertyBinding(E,c,!1,d,p,n.valueSpan,r,s,v),this.parseAssignmentEvent(E,c,d,n.valueSpan,r,i,v)}else if(g[IP]){const E=f(d,"",l);this.bindingParser.parseLiteralAttr(l,c,d,p,n.valueSpan,r,s,E)}return!0}let m=null;if(l.startsWith(Ms.BANANA_BOX.start)?m=Ms.BANANA_BOX:l.startsWith(Ms.PROPERTY.start)?m=Ms.PROPERTY:l.startsWith(Ms.EVENT.start)&&(m=Ms.EVENT),m!==null&&l.endsWith(m.end)&&l.length>m.start.length+m.end.length){const E=l.substring(m.start.length,l.length-m.end.length),v=f(d,m.start,E);if(m.start===Ms.BANANA_BOX.start)this.bindingParser.parsePropertyBinding(E,c,!1,d,p,n.valueSpan,r,s,v),this.parseAssignmentEvent(E,c,d,n.valueSpan,r,i,v);else if(m.start===Ms.PROPERTY.start)this.bindingParser.parsePropertyBinding(E,c,!1,d,p,n.valueSpan,r,s,v);else{const A=[];this.bindingParser.parseEvent(E,c,!1,d,n.valueSpan||d,r,A,v),yp(A,i)}return!0}const y=f(d,"",l);return this.bindingParser.parsePropertyInterpolation(l,c,d,n.valueSpan,r,s,y,(u=n.valueTokens)!==null&&u!==void 0?u:null)}_visitTextWithInterpolation(e,n,r,s){const i=qD(e),o=this.bindingParser.parseInterpolation(i,n,r);return o?new yh(o,n,s):new Jc(i,n)}parseVariable(e,n,r,s,i,o){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',r):e.length===0&&this.reportError("Variable does not have a name",r),o.push(new Gy(e,n,r,s,i))}parseReference(e,n,r,s,i,o){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',r):e.length===0?this.reportError("Reference does not have a name",r):o.some(a=>a.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,r),o.push(new ST(e,n,r,s,i))}parseAssignmentEvent(e,n,r,s,i,o,a){const u=[];this.bindingParser.parseEvent(`${e}Change`,`${n} =$event`,!0,r,s||r,i,u,a),yp(u,o)}reportError(e,n,r=ns.ERROR){this.errors.push(new Hu(n,e,r))}}class TP{visitElement(e){const n=KD(e);if(n.type===Kt.SCRIPT||n.type===Kt.STYLE||n.type===Kt.STYLESHEET)return null;const r=Ir(this,e.children,null);return new cc(e.name,Ir(this,e.attrs),[],[],r,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new Eh(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new Jc(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}}const xP=new TP;function L0(t){return/^data-/i.test(t)?t.substring(5):t}function yp(t,e){e.push(...t.map(n=>td.fromParsedEvent(n)))}function MP(t){return t instanceof dd&&t.value.trim().length==0}function PP(t){return t instanceof $D}function kP(t){return t.children.length!==1||!(t.children[0]instanceof dd)?null:t.children[0].value}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var hr;(function(t){t[t.ELEMENT=0]="ELEMENT",t[t.TEMPLATE=1]="TEMPLATE"})(hr||(hr={}));function NP(){return{getUniqueId:OT(),icus:new Map}}class cg{constructor(e,n,r=0,s=null,i,o){this.index=e,this.ref=n,this.level=r,this.templateIndex=s,this.meta=i,this.registry=o,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=o||NP(),this.id=this._registry.getUniqueId()}appendTag(e,n,r,s){if(n.isVoid&&s)return;const i=n.isVoid||!s?n.startName:n.closeName,o={type:e,index:r,ctx:this.id,isVoid:n.isVoid,closed:s};zl(this.placeholders,i,o)}get icus(){return this._registry.icus}get isRoot(){return this.level===0}get isResolved(){return this._unresolvedCtxCount===0}getSerializedPlaceholders(){const e=new Map;return this.placeholders.forEach((n,r)=>e.set(r,n.map(FP))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,n){zl(this._registry.icus,e,n)}appendBoundText(e){dD(e,this.bindings.size,this.id).forEach((r,s)=>zl(this.placeholders,s,...r))}appendTemplate(e,n){this.appendTag(hr.TEMPLATE,e,n,!1),this.appendTag(hr.TEMPLATE,e,n,!0),this._unresolvedCtxCount++}appendElement(e,n,r){this.appendTag(hr.ELEMENT,e,n,r)}appendProjection(e,n){this.appendTag(hr.ELEMENT,e,n,!1),this.appendTag(hr.ELEMENT,e,n,!0)}forkChildContext(e,n,r){return new cg(e,this.ref,this.level+1,n,r,this._registry)}reconcileChildContext(e){["start","close"].forEach(r=>{const s=e.meta[`${r}Name`],o=(this.placeholders.get(s)||[]).find(B0(this.id,e.templateIndex));o&&(o.ctx=e.id)}),e.placeholders.forEach((r,s)=>{const i=this.placeholders.get(s);if(!i){this.placeholders.set(s,r);return}const o=i.findIndex(B0(e.id,e.templateIndex));if(o>=0){const a=s.startsWith("CLOSE");if(s.endsWith("NG-TEMPLATE"))i.splice(o+(a?0:1),0,...r);else{const l=a?r.length-1:0;r[l].tmpl=i[o],i.splice(o,1,...r)}}else i.push(...r);this.placeholders.set(s,i)}),this._unresolvedCtxCount--}}function Ep(t,e,n,r){return nd(`${r?"/":""}${t}${e}`,n)}function O0(t,{index:e,ctx:n,isVoid:r},s){return r?Ep(t,e,n)+Ep(t,e,n,!0):Ep(t,e,n,s)}function B0(t,e){return n=>typeof n=="object"&&n.type===hr.TEMPLATE&&n.index===e&&n.ctx===t}function FP(t){const e=(r,s)=>O0("#",r,s),n=(r,s)=>O0("*",r,s);switch(t.type){case hr.ELEMENT:return t.closed?e(t,!0)+(t.tmpl?n(t.tmpl,!0):""):t.tmpl?n(t.tmpl)+e(t)+(t.isVoid?n(t.tmpl,!0):""):e(t);case hr.TEMPLATE:return n(t,t.closed);default:return t}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class RP{visitText(e){return e.value}visitContainer(e){return e.children.map(n=>n.visit(this)).join("")}visitIcu(e){const n=Object.keys(e.cases).map(s=>`${s} {${e.cases[s].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${n.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(n=>n.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,n){return this.formatPh(e.name)}formatPh(e){return`{${$u(e,!1)}}`}}const LP=new RP;function QD(t){return t.visit(LP)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const $0={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class OP{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,n,r){const s=this._hashTag(e,n,r);if(this._signatureToName[s])return this._signatureToName[s];const i=e.toUpperCase(),o=$0[i]||`TAG_${i}`,a=this._generateUniqueName(r?o:`START_${o}`);return this._signatureToName[s]=a,a}getCloseTagPlaceholderName(e){const n=this._hashClosingTag(e);if(this._signatureToName[n])return this._signatureToName[n];const r=e.toUpperCase(),s=$0[r]||`TAG_${r}`,i=this._generateUniqueName(`CLOSE_${s}`);return this._signatureToName[n]=i,i}getPlaceholderName(e,n){const r=e.toUpperCase(),s=`PH: ${r}=${n}`;if(this._signatureToName[s])return this._signatureToName[s];const i=this._generateUniqueName(r);return this._signatureToName[s]=i,i}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,n,r){const s=`<${e}`,i=Object.keys(n).sort().map(a=>` ${a}=${n[a]}`).join(""),o=r?"/>":`>`;return s+i+o}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const r=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=r+1,`${e}_${r}`}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const BP=new BD(new OD);function $P(t){const e=new VP(BP,t);return(n,r,s,i,o)=>e.toI18nMessage(n,r,s,i,o)}function jP(t,e){return e}class VP{constructor(e,n){this._expressionParser=e,this._interpolationConfig=n}toI18nMessage(e,n="",r="",s="",i){const o={isIcu:e.length==1&&e[0]instanceof vc,icuDepth:0,placeholderRegistry:new OP,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:i||jP},a=Ir(this,e,o);return new $s(a,o.placeholderToContent,o.placeholderToMessage,n,r,s)}visitElement(e,n){var r;const s=Ir(this,e.children,n),i={};e.attrs.forEach(c=>{i[c.name]=c.value});const o=Sf(e.name).isVoid,a=n.placeholderRegistry.getStartTagPlaceholderName(e.name,i,o);n.placeholderToContent[a]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let u="";o||(u=n.placeholderRegistry.getCloseTagPlaceholderName(e.name),n.placeholderToContent[u]={text:``,sourceSpan:(r=e.endSourceSpan)!==null&&r!==void 0?r:e.sourceSpan});const l=new IT(e.name,i,a,u,s,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return n.visitNodeFn(e,l)}visitAttribute(e,n){const r=e.valueTokens===void 0||e.valueTokens.length===1?new Dl(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,n,e.i18n);return n.visitNodeFn(e,r)}visitText(e,n){const r=e.tokens.length===1?new Dl(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,n,e.i18n);return n.visitNodeFn(e,r)}visitComment(e,n){return null}visitExpansion(e,n){n.icuDepth++;const r={},s=new aD(e.switchValue,e.type,r,e.sourceSpan);if(e.cases.forEach(a=>{r[a.value]=new ou(a.expression.map(u=>u.visit(this,n)),a.expSourceSpan)}),n.icuDepth--,n.isIcu||n.icuDepth>0){const a=n.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return s.expressionPlaceholder=a,n.placeholderToContent[a]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},n.visitNodeFn(e,s)}const i=n.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());n.placeholderToMessage[i]=this.toI18nMessage([e],"","","",void 0);const o=new dc(s,i,e.sourceSpan);return n.visitNodeFn(e,o)}visitExpansionCase(e,n){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,n,r,s){const i=[];let o=!1;for(const a of e)switch(a.type){case 8:case 17:o=!0;const u=a.parts[1],l=zP(u)||"INTERPOLATION",c=r.placeholderRegistry.getPlaceholderName(l,u);r.placeholderToContent[c]={text:a.parts.join(""),sourceSpan:a.sourceSpan},i.push(new uD(u,c,a.sourceSpan));break;default:if(a.parts[0].length>0){const d=i[i.length-1];d instanceof Dl?(d.value+=a.parts[0],d.sourceSpan=new wt(d.sourceSpan.start,a.sourceSpan.end,d.sourceSpan.fullStart,d.sourceSpan.details)):i.push(new Dl(a.parts[0],a.sourceSpan))}break}return o?(HP(i,s),new ou(i,n)):i[0]}}function HP(t,e){if(e instanceof $s&&(UP(e),e=e.nodes[0]),e instanceof ou){qP(e.children,t);for(let n=0;ne[r].constructor!==n.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}const GP=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function zP(t){return t.split(GP)[2]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class WP extends Hu{constructor(e,n){super(e,n)}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const ZP=(t,e)=>(t instanceof Uu&&(e instanceof dc&&t.i18n instanceof $s&&(e.previousMessage=t.i18n),t.i18n=e),e);class j0{constructor(e=pr,n=!1,r=!1){this.interpolationConfig=e,this.keepI18nAttrs=n,this.enableI18nLegacyMessageIdFormat=r,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=$P(this.interpolationConfig)}_generateI18nMessage(e,n="",r){const{meaning:s,description:i,customId:o}=this._parseMetadata(n),a=this._createI18nMessage(e,s,i,o,r);return this._setMessageId(a,n),this._setLegacyIds(a,n),a}visitAllWithErrors(e){const n=e.map(r=>r.visit(this,null));return new VD(n,this._errors)}visitElement(e){let n;if(RT(e)){this.hasI18nMeta=!0;const r=[],s={};for(const i of e.attrs)if(i.name===lD){const o=e.i18n||i.value;n=this._generateI18nMessage(e.children,o,ZP),n.nodes.length===0&&(n=void 0),e.i18n=n}else if(i.name.startsWith(_h)){const o=i.name.slice(_h.length);ZD(e.name,o)?this._reportError(i,`Translating attribute '${o}' is disallowed for security reasons.`):s[o]=i.value}else r.push(i);if(Object.keys(s).length)for(const i of r){const o=s[i.name];o!==void 0&&i.value&&(i.i18n=this._generateI18nMessage([i],i.i18n||o))}this.keepI18nAttrs||(e.attrs=r)}return Ir(this,e.children,n),e}visitExpansion(e,n){let r;const s=e.i18n;if(this.hasI18nMeta=!0,s instanceof dc){const i=s.name;r=this._generateI18nMessage([e],s);const o=cD(r);o.name=i,n!==null&&(n.placeholderToMessage[i]=r)}else r=this._generateI18nMessage([e],n||s);return e.i18n=r,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return typeof e=="string"?YP(e):e instanceof $s?e:{}}_setMessageId(e,n){e.id||(e.id=n instanceof $s&&n.id||AA(e))}_setLegacyIds(e,n){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[bA(e),z_(e)];else if(typeof n!="string"){const r=n instanceof $s?n:n instanceof dc?n.previousMessage:void 0;e.legacyIds=r?r.legacyIds:[]}}_reportError(e,n){this._errors.push(new WP(e.sourceSpan,n))}}const KP="|",QP="@@";function YP(t=""){let e,n,r;if(t=t.trim(),t){const s=t.indexOf(QP),i=t.indexOf(KP);let o;[o,e]=s>-1?[t.slice(0,s),t.slice(s+2)]:[t,""],[n,r]=i>-1?[o.slice(0,i),o.slice(i+1)]:["",o]}return{customId:e,meaning:n,description:r}}function XP(t){const e=[];return t.description?e.push({tagName:"desc",text:t.description}):e.push({tagName:"suppress",text:"{msgDescriptions}"}),t.meaning&&e.push({tagName:"meaning",text:t.meaning}),ZA(e)}const JP="goog.getMsg";function ek(t,e,n,r){const s=rk(e),i=[x(s)];Object.keys(r).length&&(i.push(Dc(Vf(r,!0),!0)),i.push(Dc({original_code:Pn(Object.keys(r).map(u=>({key:$u(u),quoted:!0,value:e.placeholders[u]?x(e.placeholders[u].sourceSpan.toString()):x(e.placeholderToMessage[u].nodes.map(l=>l.sourceSpan.toString()).join(""))})))})));const o=n.set(ye(JP).callFn(i)).toConstDecl();o.addLeadingComment(XP(e));const a=new fi(t.set(n));return[o,a]}class tk{formatPh(e){return`{$${$u(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(n=>n.visit(this)).join("")}visitIcu(e){return QD(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(n=>n.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,n){return this.formatPh(e.name)}}const nk=new tk;function rk(t){return t.nodes.map(e=>e.visit(nk,null)).join("")}function sk(t,e,n){const{messageParts:r,placeHolders:s}=ok(e),i=ak(e),o=s.map(l=>n[l.text]),a=QA(e,r,s,o,i),u=t.set(a);return[new fi(u)]}class ik{constructor(e,n){this.placeholderToMessage=e,this.pieces=n}visitText(e){if(this.pieces[this.pieces.length-1]instanceof Ga)this.pieces[this.pieces.length-1].text+=e.value;else{const n=new wt(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new Ga(e.value,n))}}visitContainer(e){e.children.forEach(n=>n.visit(this))}visitIcu(e){this.pieces.push(new Ga(QD(e),e.sourceSpan))}visitTagPlaceholder(e){var n,r;this.pieces.push(this.createPlaceholderPiece(e.startName,(n=e.startSourceSpan)!==null&&n!==void 0?n:e.sourceSpan)),e.isVoid||(e.children.forEach(s=>s.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,(r=e.endSourceSpan)!==null&&r!==void 0?r:e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,n,r){return new Ul($u(e,!1),n,r)}}function ok(t){const e=[],n=new ik(t.placeholderToMessage,e);return t.nodes.forEach(r=>r.visit(n)),uk(e)}function ak(t){const e=t.nodes[0],n=t.nodes[t.nodes.length-1];return new wt(e.sourceSpan.fullStart,n.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)}function uk(t){const e=[],n=[];t[0]instanceof Ul&&e.push(_p(t[0].sourceSpan.start));for(let r=0;rthis.allocateDataSlot(),p=>this.allocatePureFunctionSlots(p),(p,f,g,m)=>{this._bindingScope.set(this.level,f,m),this.creationInstruction(null,h.pipe,[x(g),x(p)])})}buildTemplateFunction(e,n,r=0,s){this._ngContentSelectorsOffset=r,this._namespace!==h.namespaceHTML&&this.creationInstruction(null,this._namespace),n.forEach(f=>this.registerContextVariables(f));const i=this.i18nContext||au(s)&&!Cl(s)&&!(Ck(e)&&e[0].i18n===s),o=Cp(e);if(i&&this.i18nStart(null,s,o),zy(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(f=>f()),this.level===0&&this._ngContentReservedSlots.length){const f=[];if(this._ngContentReservedSlots.length>1||this._ngContentReservedSlots[0]!=="*"){const g=this._ngContentReservedSlots.map(m=>m!=="*"?If(m):m);f.push(this.constantPool.getConstLiteral(yr(g),!0))}this.creationInstruction(null,h.projectionDef,f,!0)}i&&this.i18nEnd(null,o);const a=pc(this._creationCodeFns),u=pc(this._updateCodeFns),l=this._bindingScope.viewSnapshotStatements(),c=this._bindingScope.variableDeclarations().concat(this._tempVariables),d=a.length>0?[zs(1,l.concat(a))]:[],p=u.length>0?[zs(2,c.concat(u))]:[];return Ut([new ln(ju,Fu),new ln(Gn,null)],[...this._prefixCode,...d,...p],Xt,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}maybeRestoreView(){this._bindingScope.maybeRestoreView()}i18nTranslate(e,n={},r,s){const i=r||this.i18nGenerateMainBlockVar(),o=this.i18nGenerateClosureVar(e.id),a=Sk(e,i,o,n,s);return this._constants.prepareStatements.push(...a),i}registerContextVariables(e){const n=this._bindingScope.freshReferenceName(),r=this.level,s=ye(e.name+n);this._bindingScope.set(r,e.name,s,1,(i,o)=>{let a;if(i.bindingLevel===r)i.isListenerScope()&&i.hasRestoreViewVariable()?(a=ye(pD),i.notifyRestoredViewContextUse()):a=ye(Gn);else{const u=i.getSharedContextName(r);a=u||Mh(o)}return[s.set(a.prop(e.value||VT)).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(n=>this.i18n.appendBinding(n))}i18nBindProps(e){const n={};return Object.keys(e).forEach(r=>{const s=e[r];if(s instanceof Jc)n[r]=x(s.value);else{const i=s.value.visit(this._valueConverter);if(this.allocateBindingSlots(i),i instanceof Ot){const{strings:o,expressions:a}=i,{id:u,bindings:l}=this.i18n,c=LT(o,l.size,u);this.i18nAppendBindings(a),n[r]=x(c)}}}),n}i18nGenerateMainBlockVar(){return ye(this.constantPool.uniqueName(MT))}i18nGenerateClosureVar(e){let n;const r=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const s=Ky("EXTERNAL_"),i=this.constantPool.uniqueName(r);n=`${s}${So(e)}$$${i}`}else{const s=Ky(r);n=this.constantPool.uniqueName(s)}return ye(n)}i18nUpdateRef(e){const{icus:n,meta:r,isRoot:s,isResolved:i,isEmitted:o}=e;if(s&&i&&!o&&!Cl(r)){e.isEmitted=!0;const a=e.getSerializedPlaceholders();let u={},l=a.size?Zy(a):{};n.size&&n.forEach((p,f)=>{if(p.length===1)l[f]=p[0];else{const g=nd(`${kT}${f}`);l[f]=x(g),u[f]=Ve(p)}});const c=Array.from(a.values()).some(p=>p.length>1)||Object.keys(u).length;let d;c&&(d=p=>{const f=[p];return Object.keys(u).length&&f.push(Dc(u,!0)),Ri(null,h.i18nPostprocess,f)}),this.i18nTranslate(r,l,e.ref,d)}}i18nStart(e=null,n,r){const s=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(s,this.templateIndex,n):new cg(s,this.i18nGenerateMainBlockVar(),0,this.templateIndex,n);const{id:i,ref:o}=this.i18n,a=[x(s),this.addToConsts(o)];i>0&&a.push(x(i)),this.creationInstruction(e,r?h.i18n:h.i18nStart,a)}i18nEnd(e=null,n){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:r,bindings:s}=this.i18n;if(s.size){for(const i of s)this.updateInstructionWithAdvance(this.getConstCount()-1,e,h.i18nExp,()=>this.convertPropertyBinding(i));this.updateInstruction(e,h.i18nApply,[x(r)])}n||this.creationInstruction(e,h.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,n,r){let s=!1;const i=[];if(n.forEach(o=>{const a=o.i18n,u=o.value.visit(this._valueConverter);if(this.allocateBindingSlots(u),u instanceof Ot){const l=dD(a),c=Zy(l);i.push(x(o.name),this.i18nTranslate(a,c)),u.expressions.forEach(d=>{s=!0,this.updateInstructionWithAdvance(e,r,h.i18nExp,()=>this.convertPropertyBinding(d))})}}),i.length>0){const o=x(this.allocateDataSlot()),a=this.addToConsts(Ve(i));this.creationInstruction(r,h.i18nAttributes,[o,a]),s&&this.updateInstruction(r,h.i18nApply,[o])}}getNamespaceInstruction(e){switch(e){case"math":return h.namespaceMathML;case"svg":return h.namespaceSVG;default:return h.namespaceHTML}}addNamespaceInstruction(e,n){this._namespace=e,this.creationInstruction(n.startSourceSpan,e)}interpolatedUpdateInstruction(e,n,r,s,i,o){this.updateInstructionWithAdvance(n,s.sourceSpan,e,()=>[x(r),...this.getUpdateInstructionArguments(i),...o])}visitContent(e){const n=this.allocateDataSlot(),r=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,s=[x(n)];this._ngContentReservedSlots.push(e.selector);const i=e.attributes.filter(a=>a.name.toLowerCase()!==lk),o=this.getAttributeExpressions(e.name,i,[],[]);o.length>0?s.push(x(r),Ve(o)):r!==0&&s.push(x(r)),this.creationInstruction(e.sourceSpan,h.projection,s),this.i18n&&this.i18n.appendProjection(e.i18n,n)}visitElement(e){var n,r;const s=this.allocateDataSlot(),i=new LD(null);let o=!1;const a=au(e.i18n)&&!Cl(e.i18n),u=[],[l,c]=is(e.name),d=ch(e.name);for(const P of e.attributes){const{name:V,value:te}=P;V===HT?o=!0:V==="style"?i.registerStyleAttr(te):V==="class"?i.registerClassAttr(te):u.push(P)}const p=[x(s)];d||p.push(x(c));const f=[],g=[];e.inputs.forEach(P=>{i.registerBoundInput(P)||(P.type===0&&P.i18n?g.push(P):f.push(P))});const m=this.getAttributeExpressions(e.name,u,f,e.outputs,i,[],g);p.push(this.addAttrsToConsts(m));const y=this.prepareRefsArray(e.references);p.push(this.addToConsts(y));const w=this._namespace,E=this.getNamespaceInstruction(l);E!==w&&this.addNamespaceInstruction(E,e),this.i18n&&this.i18n.appendElement(e.i18n,s);const v=!a&&this.i18n?!Cp(e.children):e.children.length>0,A=!i.hasBindingsWithPipes&&e.outputs.length===0&&g.length===0&&!v,M=!A&&Cp(e.children);if(A)this.creationInstruction(e.sourceSpan,d?h.elementContainer:h.element,op(p));else{if(this.creationInstruction(e.startSourceSpan,d?h.elementContainerStart:h.elementStart,op(p)),o&&this.creationInstruction(e.startSourceSpan,h.disableBindings),g.length>0&&this.i18nAttributesInstruction(s,g,(n=e.startSourceSpan)!==null&&n!==void 0?n:e.sourceSpan),e.outputs.length>0)for(const P of e.outputs)this.creationInstruction(P.sourceSpan,h.listener,this.prepareListenerParameter(e.name,P,s));a&&this.i18nStart(e.startSourceSpan,e.i18n,M)}const j=i.buildUpdateLevelInstructions(this._valueConverter),ee=j.length-1;for(let P=0;P<=ee;P++){const V=j[P];this._bindingSlots+=this.processStylingUpdateInstruction(s,V)}const O=x(void 0),z=[],k=[];f.forEach(P=>{const V=P.type;if(V===4){const te=P.value.visit(this._valueConverter),Fe=te instanceof on?!!te.value:!0;this.allocateBindingSlots(te),z.push({span:P.sourceSpan,paramsOrFn:Il(()=>Fe?this.convertPropertyBinding(te):O,sD(P.name))})}else{if(P.i18n)return;const te=P.value.visit(this._valueConverter);if(te!==void 0){const Fe=[],[Ce,me]=is(P.name),lt=V===1,it=t2(P.securityContext,lt);if(it&&Fe.push(it),Ce){const je=x(Ce);it?Fe.push(je):Fe.push(x(null),je)}if(this.allocateBindingSlots(te),V===0)te instanceof Ot?this.interpolatedUpdateInstruction(U0(te),s,me,P,te,Fe):z.push({span:P.sourceSpan,paramsOrFn:Il(()=>this.convertPropertyBinding(te),me,Fe)});else if(V===1)if(te instanceof Ot&&Ji(te)>1)this.interpolatedUpdateInstruction(yk(te),s,me,P,te,Fe);else{const je=te instanceof Ot?te.expressions[0]:te;k.push({span:P.sourceSpan,paramsOrFn:Il(()=>this.convertPropertyBinding(je),me,Fe)})}else this.updateInstructionWithAdvance(s,P.sourceSpan,h.classProp,()=>[x(s),x(me),this.convertPropertyBinding(te),...Fe])}}});for(const P of z)this.updateInstructionWithAdvance(s,P.span,h.property,P.paramsOrFn);for(const P of k)this.updateInstructionWithAdvance(s,P.span,h.attribute,P.paramsOrFn);if(zy(this,e.children),!a&&this.i18n&&this.i18n.appendElement(e.i18n,s,!0),!A){const P=(r=e.endSourceSpan)!==null&&r!==void 0?r:e.sourceSpan;a&&this.i18nEnd(P,M),o&&this.creationInstruction(P,h.enableBindings),this.creationInstruction(P,d?h.elementContainerEnd:h.elementEnd)}}visitTemplate(e){var n;const r="ng-template",s=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,s);const i=e.tagName?is(e.tagName)[1]:e.tagName,o=`${this.contextName}${e.tagName?"_"+So(e.tagName):""}_${s}`,a=`${o}_Template`,u=[x(s),ye(a),x(i)],l=this.getAttributeExpressions(r,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(u.push(this.addAttrsToConsts(l)),e.references&&e.references.length){const d=this.prepareRefsArray(e.references);u.push(this.addToConsts(d)),u.push(K(h.templateRefExtractor))}const c=new dg(this.constantPool,this._bindingScope,this.level+1,o,this.i18n,s,a,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const d=c.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(d.toDeclStmt(a)),c._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...c._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,h.templateCreate,()=>(u.splice(2,0,x(c.getConstCount()),x(c.getVarCount())),op(u))),this.templatePropertyBindings(s,e.templateAttrs),i===r){const[d,p]=SA(e.inputs,FT);d.length>0&&this.i18nAttributesInstruction(s,d,(n=e.startSourceSpan)!==null&&n!==void 0?n:e.sourceSpan),p.length>0&&this.templatePropertyBindings(s,p);for(const f of e.outputs)this.creationInstruction(f.sourceSpan,h.listener,this.prepareListenerParameter("ng_template",f,s))}}visitBoundText(e){if(this.i18n){const s=e.value.visit(this._valueConverter);this.allocateBindingSlots(s),s instanceof Ot&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(s.expressions));return}const n=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,h.text,[x(n)]);const r=e.value.visit(this._valueConverter);this.allocateBindingSlots(r),r instanceof Ot?this.updateInstructionWithAdvance(n,e.sourceSpan,Ek(r),()=>this.getUpdateInstructionArguments(r)):uc("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,h.text,[x(this.allocateDataSlot()),x(e.value)])}visitIcu(e){let n=!1;this.i18n||(n=!0,this.i18nStart(null,e.i18n,!0));const r=this.i18n,s=this.i18nBindProps(e.vars),i=this.i18nBindProps(e.placeholders),o=e.i18n,a=u=>{const l=Object.assign(Object.assign({},s),i),c=Vf(l,!1);return Ri(null,h.i18nPostprocess,[u,Dc(c,!0)])};if(Cl(r.meta))this.i18nTranslate(o,{},r.ref,a);else{const u=this.i18nTranslate(o,{},void 0,a);r.appendIcu(cD(o).name,u)}return n&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(yr(this._ngContentReservedSlots),!0):null}bindingContext(){return`${this._bindingContext++}`}templatePropertyBindings(e,n){const r=[];for(const s of n){if(!(s instanceof ed))continue;const i=s.value.visit(this._valueConverter);if(i!==void 0)if(this.allocateBindingSlots(i),i instanceof Ot){const o=[];this.interpolatedUpdateInstruction(U0(i),e,s.name,s,i,o)}else r.push({span:s.sourceSpan,paramsOrFn:Il(()=>this.convertPropertyBinding(i),s.name)})}for(const s of r)this.updateInstructionWithAdvance(e,s.span,h.property,s.paramsOrFn)}instructionFn(e,n,r,s,i=!1){e[i?"unshift":"push"]({span:n,reference:r,paramsOrFn:s})}processStylingUpdateInstruction(e,n){let r=0;if(n)for(const s of n.calls)r+=s.allocateBindingSlots,this.updateInstructionWithAdvance(e,s.sourceSpan,n.reference,()=>s.params(i=>s.supportsInterpolation&&i instanceof Ot?this.getUpdateInstructionArguments(i):this.convertPropertyBinding(i)));return r}creationInstruction(e,n,r,s){this.instructionFn(this._creationCodeFns,e,n,r||[],s)}updateInstructionWithAdvance(e,n,r,s){this.addAdvanceInstructionIfNecessary(e,n),this.updateInstruction(n,r,s)}updateInstruction(e,n,r){this.instructionFn(this._updateCodeFns,e,n,r||[])}addAdvanceInstructionIfNecessary(e,n){if(e!==this._currentIndex){const r=e-this._currentIndex;if(r<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,n,h.advance,[x(r)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const n=this._pureFunctionSlots;return this._pureFunctionSlots+=e,n}allocateBindingSlots(e){this._bindingSlots+=e instanceof Ot?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=this.level===0?ye(Gn):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const n=MD(this,this.getImplicitReceiverExpr(),e,this.bindingContext()),r=n.currValExpr;return this._tempVariables.push(...n.stmts),r}getUpdateInstructionArguments(e){const{args:n,stmts:r}=Nx(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...r),n}getAttributeExpressions(e,n,r,s,i,o=[],a=[]){const u=new Set,l=[];let c;for(const p of n)if(p.name===ck&&(c=p),p.i18n){const{i18nVarRefsCache:f}=this._constants;let g;f.has(p.i18n)?g=f.get(p.i18n):(g=this.i18nTranslate(p.i18n),f.set(p.i18n,g)),l.push(x(p.name),g)}else l.push(...H0(p.name),Dk(e,p));c&&l.push(...vk(c));function d(p,f){typeof p=="string"?u.has(p)||(l.push(...H0(p)),f!==void 0&&l.push(f),u.add(p)):l.push(x(p))}if(i&&i.populateInitialStylingAttrs(l),r.length||s.length){const p=l.length;for(let f=0;fd(p.name))),a.length&&(l.push(x(6)),a.forEach(p=>d(p.name))),l}addToConsts(e){if(tD(e))return Gl;const n=this._constants.constExpressions;for(let r=0;r0?this.addToConsts(Ve(e)):Gl}prepareRefsArray(e){if(!e||e.length===0)return Gl;const n=n2(e.map(r=>{const s=this.allocateDataSlot(),i=this._bindingScope.freshReferenceName(),o=this.level,a=ye(i);return this._bindingScope.set(o,r.name,a,0,(u,l)=>{const c=l>0?[Mh(l).toStmt()]:[],d=a.set(K(h.reference).callFn([x(s)]));return c.concat(d.toConstDecl())},!0),[r.name,r.value]}));return yr(n)}prepareListenerParameter(e,n,r){return()=>{const s=n.name,i=n.type===1?iD(s,n.phase):So(s),o=`${this.templateName}_${e}_${i}_${r}_listener`,a=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,YD);return XD(n,o,a)}}}class JD extends Tx{constructor(e,n,r,s){super(),this.constantPool=e,this.allocateSlot=n,this.allocatePureFunctionSlots=r,this.definePipe=s,this._pipeBindExprs=[]}visitPipe(e,n){const r=this.allocateSlot(),s=`PIPE:${r}`,i=this.allocatePureFunctionSlots(2+e.args.length),o=new js(e.span,e.sourceSpan,e.nameSpan,new fu(e.span,e.sourceSpan),s),{identifier:a,isVarLength:u}=fk(e.args);this.definePipe(e.name,s,r,K(a));const l=[e.exp,...e.args],c=u?this.visitAll([new ld(e.span,e.sourceSpan,l)]):this.visitAll(l),d=new oa(e.span,e.sourceSpan,o,[new on(e.span,e.sourceSpan,r),new on(e.span,e.sourceSpan,i),...c],null);return this._pipeBindExprs.push(d),d}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(n=>{const r=n.args[1];r.value+=e})}visitLiteralArray(e,n){return new Io(e.span,e.sourceSpan,this.visitAll(e.expressions),r=>{const s=Ve(r);return V0(this.constantPool,s,this.allocatePureFunctionSlots)})}visitLiteralMap(e,n){return new Io(e.span,e.sourceSpan,this.visitAll(e.values),r=>{const s=Pn(r.map((i,o)=>({key:e.keys[o].key,value:i,quoted:e.keys[o].quoted})));return V0(this.constantPool,s,this.allocatePureFunctionSlots)})}}const hk=[h.pipeBind1,h.pipeBind2,h.pipeBind3,h.pipeBind4];function fk(t){const e=hk[t.length];return{identifier:e||h.pipeBindV,isVarLength:!e}}const gk=[h.pureFunction0,h.pureFunction1,h.pureFunction2,h.pureFunction3,h.pureFunction4,h.pureFunction5,h.pureFunction6,h.pureFunction7,h.pureFunction8];function mk(t){const e=gk[t.length];return{identifier:e||h.pureFunctionV,isVarLength:!e}}function Mh(t){return K(h.nextContext).callFn(t>1?[x(t)]:[])}function V0(t,e,n){const{literalFactory:r,literalFactoryArguments:s}=t.getLiteralFactory(e),i=n(1+s.length),{identifier:o,isVarLength:a}=mk(s),u=[x(i),r];return a?u.push(Ve(s)):u.push(...s),K(o).callFn(u)}function H0(t){const[e,n]=is(t),r=x(n);return e?[x(0),x(e),r]:[r]}const oo="$$shared_ctx$$";class Cc{constructor(e=0,n=null,r){if(this.bindingLevel=e,this.parent=n,this.globals=r,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,r!==void 0)for(const s of r)this.set(0,s,ye(s))}static createRootScope(){return new Cc}get(e){let n=this;for(;n;){let r=n.map.get(e);if(r!=null)return n!==this&&(r={retrievalLevel:r.retrievalLevel,lhs:r.lhs,declareLocalCallback:r.declareLocalCallback,declare:!1,priority:r.priority},this.map.set(e,r),this.maybeGenerateSharedContextVar(r),this.maybeRestoreView()),r.declareLocalCallback&&!r.declare&&(r.declare=!0),r.lhs;n=n.parent}return this.bindingLevel===0?null:this.getComponentProperty(e)}set(e,n,r,s=0,i,o){if(this.map.has(n)){if(o)return this;uc(`The name ${n} is already defined in scope to be ${this.map.get(n)}`)}return this.map.set(n,{retrievalLevel:e,lhs:r,declare:!1,declareLocalCallback:i,priority:s}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){this.bindingLevel!==0&&(this.map.get(oo+0).declare=!0)}nestedScope(e,n){const r=new Cc(e,this,n);return e>0&&r.generateSharedContextVar(0),r}getOrCreateSharedContextVar(e){const n=oo+e;return this.map.has(n)||this.generateSharedContextVar(e),this.map.get(n).lhs}getSharedContextName(e){const n=this.map.get(oo+e);return n&&n.declare?n.lhs:null}maybeGenerateSharedContextVar(e){if(e.priority===1&&e.retrievalLevel[n.set(Mh(s)).toConstDecl()],declare:!1,priority:2})}getComponentProperty(e){const n=this.map.get(oo+0);return n.declare=!0,this.maybeRestoreView(),n.lhs.prop(e)}maybeRestoreView(){this.isListenerScope()&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=ye(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){if(this.restoreViewVariable){const e=Ri(null,h.restoreView,[this.restoreViewVariable]);return this.usesRestoredViewContext?ye(pD).set(e).toConstDecl():e.toStmt()}return null}viewSnapshotStatements(){return this.restoreViewVariable?[this.restoreViewVariable.set(Ri(null,h.getCurrentView,[])).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(n=>n.declare).sort((n,r)=>r.retrievalLevel-n.retrievalLevel||r.priority-n.priority).reduce((n,r)=>{const s=this.bindingLevel-r.retrievalLevel,i=r.declareLocalCallback(this,s-e);return e=s,n.concat(i)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return`${jT}${e.referenceNameIndex++}`}hasRestoreViewVariable(){return!!this.restoreViewVariable}notifyRestoredViewContextUse(){this.usesRestoredViewContext=!0}}function vk(t){const e=If(t.value)[0];return[x(5),yr(e)]}function U0(t){switch(Ji(t)){case 1:return h.propertyInterpolate;case 3:return h.propertyInterpolate1;case 5:return h.propertyInterpolate2;case 7:return h.propertyInterpolate3;case 9:return h.propertyInterpolate4;case 11:return h.propertyInterpolate5;case 13:return h.propertyInterpolate6;case 15:return h.propertyInterpolate7;case 17:return h.propertyInterpolate8;default:return h.propertyInterpolateV}}function yk(t){switch(Ji(t)){case 3:return h.attributeInterpolate1;case 5:return h.attributeInterpolate2;case 7:return h.attributeInterpolate3;case 9:return h.attributeInterpolate4;case 11:return h.attributeInterpolate5;case 13:return h.attributeInterpolate6;case 15:return h.attributeInterpolate7;case 17:return h.attributeInterpolate8;default:return h.attributeInterpolateV}}function Ek(t){switch(Ji(t)){case 1:return h.textInterpolate;case 3:return h.textInterpolate1;case 5:return h.textInterpolate2;case 7:return h.textInterpolate3;case 9:return h.textInterpolate4;case 11:return h.textInterpolate5;case 13:return h.textInterpolate6;case 15:return h.textInterpolate7;case 17:return h.textInterpolate8;default:return h.textInterpolateV}}function _k(t,e,n={}){const{interpolationConfig:r,preserveWhitespaces:s,enableI18nLegacyMessageIdFormat:i}=n,o=wc(r),u=new qM().parse(t,e,Object.assign(Object.assign({leadingTriviaChars:dk},n),{tokenizeExpansionForms:!0}));if(!n.alwaysAttemptHtmlToR3AstConversion&&u.errors&&u.errors.length>0){const v={interpolationConfig:r,preserveWhitespaces:s,errors:u.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(v.commentNodes=[]),v}let l=u.rootNodes;const c=new j0(r,!s,i),d=c.visitAllWithErrors(l);if(!n.alwaysAttemptHtmlToR3AstConversion&&d.errors&&d.errors.length>0){const v={interpolationConfig:r,preserveWhitespaces:s,errors:d.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(v.commentNodes=[]),v}l=d.rootNodes,s||(l=Ir(new KM,l),c.hasI18nMeta&&(l=Ir(new j0(r,!1),l)));const{nodes:p,errors:f,styleUrls:g,styles:m,ngContentSelectors:y,commentNodes:w}=bP(l,o,{collectCommentNodes:!!n.collectCommentNodes});f.push(...u.errors,...d.errors);const E={interpolationConfig:r,preserveWhitespaces:s,errors:f.length>0?f:null,nodes:p,styleUrls:g,styles:m,ngContentSelectors:y};return n.collectCommentNodes&&(E.commentNodes=w),E}const e2=new WD;function wc(t=pr){return new cP(new BD(new OD),t,e2,[])}function t2(t,e){switch(t){case st.HTML:return K(h.sanitizeHtml);case st.SCRIPT:return K(h.sanitizeScript);case st.STYLE:return e?K(h.sanitizeStyle):null;case st.URL:return K(h.sanitizeUrl);case st.RESOURCE_URL:return K(h.sanitizeResourceUrl);default:return null}}function Dk(t,e){const n=yr(e.value);if(ZD(t,e.name))switch(e2.securityContext(t,e.name,!0)){case st.HTML:return Ly(K(h.trustConstantHtml),new ky([new Ny(e.value)],[]),void 0,e.valueSpan);case st.RESOURCE_URL:return Ly(K(h.trustConstantResourceUrl),new ky([new Ny(e.value)],[]),void 0,e.valueSpan);default:return n}else return n}function Ck(t){return t.length===1&&t[0]instanceof cc}function wk(t){return t instanceof Jc||t instanceof yh||t instanceof oD}function Cp(t){return t.every(wk)}function Il(t,e,n){return()=>{const r=t(),s=Array.isArray(r)?r:[r];return n&&s.push(...n),e&&s.unshift(x(e)),s}}const q0="ngI18nClosureMode";function Sk(t,e,n,r={},s){const i=[BT(e),Bf(Ik(),ek(e,t,n,r),sk(e,t,Vf(r,!1)))];return s&&i.push(new fi(e.set(s(e)))),i}function Ik(){return Of(ye(q0)).notIdentical(x("undefined",Y_)).and(ye(q0))}function n2(t){return t.reduce((e,n)=>{const r=Array.isArray(n)?n2(n):n;return e.concat(r)},[])}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const bk=/attr\.([^\]]+)/,r2="%COMP%",Ak=`_nghost-${r2}`,Tk=`_ngcontent-${r2}`;function s2(t,e,n){const r=new sa,s=If(t.selector);return r.set("type",t.internalType),s.length>0&&r.set("selectors",yr(s)),t.queries.length>0&&r.set("contentQueries",Rk(t.queries,e,t.name)),t.viewQueries.length&&r.set("viewQuery",Bk(t.viewQueries,e,t.name)),r.set("hostBindings",$k(t.host,t.typeSourceSpan,n,e,t.selector||"",t.name,r)),r.set("inputs",Qy(t.inputs,!0)),r.set("outputs",Qy(t.outputs)),t.exportAs!==null&&r.set("exportAs",Ve(t.exportAs.map(i=>x(i)))),t.isStandalone&&r.set("standalone",x(!0)),r}function i2(t,e){const n=[],r=e.providers,s=e.viewProviders;if(r||s){const i=[r||new Ou([])];s&&i.push(s),n.push(K(h.ProvidersFeature).callFn(i))}e.usesInheritance&&n.push(K(h.InheritDefinitionFeature)),e.fullInheritance&&n.push(K(h.CopyDefinitionFeature)),e.lifecycle.usesOnChanges&&n.push(K(h.NgOnChangesFeature)),e.hasOwnProperty("template")&&e.isStandalone&&n.push(K(h.StandaloneFeature)),n.length&&t.set("features",Ve(n))}function xk(t,e,n){const r=s2(t,e,n);i2(r,t);const s=K(h.defineDirective).callFn([r.toLiteralMap()],void 0,!0),i=Ok(t);return{expression:s,type:i,statements:[]}}function Mk(t,e,n){const r=s2(t,e,n);i2(r,t);const s=t.selector&&Ti.parse(t.selector),i=s&&s[0];if(i){const w=i.getAttrs();w.length&&r.set("attrs",e.getConstLiteral(Ve(w.map(E=>E!=null?x(E):x(void 0))),!0))}const o=t.name,a=o?`${o}_Template`:null,u=t.changeDetection,l=t.template,c=new dg(e,Cc.createRootScope(),0,o,null,null,a,h.namespaceHTML,t.relativeContextFilePath,t.i18nUseExternalIds),d=c.buildTemplateFunction(l.nodes,[]),p=c.getNgContentSelectors();p&&r.set("ngContentSelectors",p),r.set("decls",x(c.getConstCount())),r.set("vars",x(c.getVarCount()));const{constExpressions:f,prepareStatements:g}=c.getConsts();if(f.length>0){let w=Ve(f);g.length>0&&(w=Ut([],[...g,new vt(w)])),r.set("consts",w)}if(r.set("template",d),t.declarations.length>0&&r.set("dependencies",kk(Ve(t.declarations.map(w=>w.type)),t.declarationListEmitMode)),t.encapsulation===null&&(t.encapsulation=Fs.Emulated),t.styles&&t.styles.length){const E=(t.encapsulation==Fs.Emulated?zk(t.styles,Tk,Ak):t.styles).reduce((v,A)=>(A.trim().length>0&&v.push(e.getConstLiteral(x(A))),v),[]);E.length>0&&r.set("styles",Ve(E))}else t.encapsulation===Fs.Emulated&&(t.encapsulation=Fs.None);t.encapsulation!==Fs.Emulated&&r.set("encapsulation",x(t.encapsulation)),t.animations!==null&&r.set("data",Pn([{key:"animation",value:t.animations,quoted:!1}])),u!=null&&u!==ac.Default&&r.set("changeDetection",x(u));const m=K(h.defineComponent).callFn([r.toLiteralMap()],void 0,!0),y=Pk(t);return{expression:m,type:y,statements:[]}}function Pk(t){const e=a2(t);return e.push(Ph(t.template.ngContentSelectors)),e.push(hn(x(t.isStandalone))),hn(K(h.ComponentDeclaration,e))}function kk(t,e){switch(e){case 0:return t;case 1:return Ut([],[new vt(t)]);case 2:const n=t.prop("map").callFn([K(h.resolveForwardRef)]);return Ut([],[new vt(n)])}}function o2(t,e){const n=[zT(t,e),x(Nk(t))];return t.read&&n.push(t.read),n}function Nk(t){return(t.descendants?1:0)|(t.static?2:0)|(t.emitDistinctChangesOnly?4:0)}function Fk(t){const e=[];for(let n of Object.getOwnPropertyNames(t)){const r=t[n];e.push(x(n),r)}return e}function Rk(t,e,n){const r=[],s=[],i=hD(s,Hf);for(const a of t){r.push(K(h.contentQuery).callFn([ye("dirIndex"),...o2(a,e)]).toStmt());const u=i(),l=K(h.loadQuery).callFn([]),c=K(h.queryRefresh).callFn([u.set(l)]),d=ye(Gn).prop(a.propertyName).set(a.first?u.prop("first"):u);s.push(c.and(d).toStmt())}const o=n?`${n}_ContentQueries`:null;return Ut([new ln(ju,Fu),new ln(Gn,null),new ln("dirIndex",null)],[zs(1,r),zs(2,s)],Xt,null,o)}function Lk(t){return hn(x(t))}function G0(t){const e=Object.keys(t).map(n=>{const r=Array.isArray(t[n])?t[n][0]:t[n];return{key:n,value:x(r),quoted:!0}});return hn(Pn(e))}function Ph(t){return t.length>0?hn(Ve(t.map(e=>x(e)))):hs}function a2(t){const e=t.selector!==null?t.selector.replace(/\n/g,""):null;return[Xc(t.type.type,t.typeArgumentCount),e!==null?Lk(e):hs,t.exportAs!==null?Ph(t.exportAs):hs,G0(t.inputs),G0(t.outputs),Ph(t.queries.map(n=>n.propertyName))]}function Ok(t){const e=a2(t);return e.push(hs),e.push(hn(x(t.isStandalone))),hn(K(h.DirectiveDeclaration,e))}function Bk(t,e,n){const r=[],s=[],i=hD(s,Hf);t.forEach(a=>{const u=K(h.viewQuery).callFn(o2(a,e));r.push(u.toStmt());const l=i(),c=K(h.loadQuery).callFn([]),d=K(h.queryRefresh).callFn([l.set(c)]),p=ye(Gn).prop(a.propertyName).set(a.first?l.prop("first"):l);s.push(d.and(p).toStmt())});const o=n?`${n}_Query`:null;return Ut([new ln(ju,Fu),new ln(Gn,null)],[zs(1,r),zs(2,s)],Xt,null,o)}function $k(t,e,n,r,s,i,o){const a=ye(Gn),u=new LD(a),{styleAttr:l,classAttr:c}=t.specialAttributes;l!==void 0&&u.registerStyleAttr(l),c!==void 0&&u.registerClassAttr(c);const d=[],p=[],f=[],g=e,m=n.createDirectiveHostEventAsts(t.listeners,g);m&&m.length&&d.push(...Hk(m,i));const y=n.createBoundHostProperties(t.properties,g),w=[];let E=0;y&&y.forEach(z=>{u.registerInputBasedOnName(z.name,z.expression,g)?E+=mc:(w.push(z),E++)});let v;const A=()=>{if(!v){const z=k=>{const P=E;return E+=k,P};v=new JD(r,()=>uc("Unexpected node"),z,()=>uc("Unexpected pipe"))}return v},M=[],j=[],ee=[];for(const z of w){const k=z.expression.visit(A()),P=z0(a,k),{bindingName:V,instruction:te,isAttribute:Fe}=Vk(z),Ce=n.calcPossibleSecurityContexts(s,V,Fe).filter(it=>it!==st.NONE);let me=null;Ce.length&&(Ce.length===2&&Ce.indexOf(st.URL)>-1&&Ce.indexOf(st.RESOURCE_URL)>-1?me=K(h.sanitizeUrlOrResourceUrl):me=t2(Ce[0],Fe));const lt=[x(V),P.currValExpr];me&<.push(me),f.push(...P.stmts),te===h.hostProperty?M.push(lt):te===h.attribute?j.push(lt):te===h.syntheticHostProperty?ee.push(lt):p.push({reference:te,paramsOrFn:lt,span:null})}for(const z of M)p.push({reference:h.hostProperty,paramsOrFn:z,span:null});for(const z of j)p.push({reference:h.attribute,paramsOrFn:z,span:null});for(const z of ee)p.push({reference:h.syntheticHostProperty,paramsOrFn:z,span:null});const O=Fk(t.attributes);if(u.assignHostAttrs(O,o),u.hasBindings&&u.buildUpdateLevelInstructions(A()).forEach(z=>{for(const k of z.calls)E+=Math.max(k.allocateBindingSlots-mc,0),p.push({reference:z.reference,paramsOrFn:jk(k,a,z0),span:null})}),E&&o.set("hostVars",x(E)),d.length>0||p.length>0){const z=i?`${i}_HostBindings`:null,k=[];return d.length>0&&k.push(zs(1,pc(d))),p.length>0&&k.push(zs(2,f.concat(pc(p)))),Ut([new ln(ju,Fu),new ln(Gn,null)],k,Xt,null,z)}return null}function z0(t,e){return MD(null,t,e,"b")}function jk(t,e,n){return t.params(r=>n(e,r).currValExpr)}function Vk(t){let e=t.name,n;const r=e.match(bk);return r?(e=r[1],n=h.attribute):t.isAnimation?(e=sD(e),n=h.syntheticHostProperty):n=h.hostProperty,{bindingName:e,instruction:n,isAttribute:!!r}}function Hk(t,e){const n=[],r=[],s=[];for(const i of t){let o=i.name&&So(i.name);const a=i.type===1?iD(o,i.targetOrPhase):o,u=e&&o?`${e}_${a}_HostBindingHandler`:null,l=XD(td.fromParsedEvent(i),u);i.type==1?r.push(l):n.push(l)}for(const i of r)s.push({reference:h.syntheticHostListener,paramsOrFn:i,span:null});for(const i of n)s.push({reference:h.listener,paramsOrFn:i,span:null});return s}const Uk=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function qk(t){const e={},n={},r={},s={};for(const i of Object.keys(t)){const o=t[i],a=i.match(Uk);if(a===null)switch(i){case"class":if(typeof o!="string")throw new Error("Class binding must be string");s.classAttr=o;break;case"style":if(typeof o!="string")throw new Error("Style binding must be string");s.styleAttr=o;break;default:typeof o=="string"?e[i]=x(o):e[i]=o}else if(a[1]!=null){if(typeof o!="string")throw new Error("Property binding must be string");r[a[1]]=o}else if(a[2]!=null){if(typeof o!="string")throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:e,listeners:n,properties:r,specialAttributes:s}}function Gk(t,e){const n=wc();return n.createDirectiveHostEventAsts(t.listeners,e),n.createBoundHostProperties(t.properties,e),n.errors}function zk(t,e,n){const r=new $x;return t.map(s=>r.shimCssText(s,e,n))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Wk{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Zk{constructor(e=new fx){this.jitEvaluator=e,this.FactoryTarget=dr,this.ResourceLoader=Wk,this.elementSchemaRegistry=new WD}compilePipe(e,n,r){const s={name:r.name,type:bt(r.type),internalType:new ne(r.type),typeArgumentCount:0,deps:null,pipeName:r.pipeName,pure:r.pure,isStandalone:r.isStandalone},i=o0(s);return this.jitExpression(i.expression,e,n,[])}compilePipeDeclaration(e,n,r){const s=aN(r),i=o0(s);return this.jitExpression(i.expression,e,n,[])}compileInjectable(e,n,r){var s;const{expression:i,statements:o}=Yy({name:r.name,type:bt(r.type),internalType:new ne(r.type),typeArgumentCount:r.typeArgumentCount,providedIn:Y0(r.providedIn),useClass:ao(r,"useClass"),useFactory:Q0(r,"useFactory"),useValue:ao(r,"useValue"),useExisting:ao(r,"useExisting"),deps:(s=r.deps)===null||s===void 0?void 0:s.map(d2)},!0);return this.jitExpression(i,e,n,o)}compileInjectableDeclaration(e,n,r){var s;const{expression:i,statements:o}=Yy({name:r.type.name,type:bt(r.type),internalType:new ne(r.type),typeArgumentCount:0,providedIn:Y0(r.providedIn),useClass:ao(r,"useClass"),useFactory:Q0(r,"useFactory"),useValue:ao(r,"useValue"),useExisting:ao(r,"useExisting"),deps:(s=r.deps)===null||s===void 0?void 0:s.map(X0)},!0);return this.jitExpression(i,e,n,o)}compileInjector(e,n,r){const s={name:r.name,type:bt(r.type),internalType:new ne(r.type),providers:r.providers&&r.providers.length>0?new ne(r.providers):null,imports:r.imports.map(o=>new ne(o))},i=i0(s);return this.jitExpression(i.expression,e,n,[])}compileInjectorDeclaration(e,n,r){const s=uN(r),i=i0(s);return this.jitExpression(i.expression,e,n,[])}compileNgModule(e,n,r){const s={type:bt(r.type),internalType:new ne(r.type),adjacentType:new ne(r.type),bootstrap:r.bootstrap.map(bt),declarations:r.declarations.map(bt),publicDeclarationTypes:null,imports:r.imports.map(bt),includeImportTypes:!0,exports:r.exports.map(bt),selectorScopeMode:du.Inline,containsForwardDecls:!1,schemas:r.schemas?r.schemas.map(bt):null,id:r.id?new ne(r.id):null},i=Ex(s);return this.jitExpression(i.expression,e,n,[])}compileNgModuleDeclaration(e,n,r){const s=_x(r);return this.jitExpression(s,e,n,[])}compileDirective(e,n,r){const s=K0(r);return this.compileDirectiveFromMeta(e,n,s)}compileDirectiveDeclaration(e,n,r){const s=this.createParseSourceSpan("Directive",r.type.name,n),i=l2(r,s);return this.compileDirectiveFromMeta(e,n,i)}compileDirectiveFromMeta(e,n,r){const s=new $y,i=wc(),o=xk(r,s,i);return this.jitExpression(o.expression,e,n,s.statements)}compileComponent(e,n,r){const{template:s,interpolation:i}=c2(r.template,r.name,n,r.preserveWhitespaces,r.interpolation),o=Object.assign(Object.assign(Object.assign({},r),K0(r)),{selector:r.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:s,declarations:r.declarations.map(Xk),declarationListEmitMode:0,styles:[...r.styles,...s.styles],encapsulation:r.encapsulation,interpolation:i,changeDetection:r.changeDetection,animations:r.animations!=null?new ne(r.animations):null,viewProviders:r.viewProviders!=null?new ne(r.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),a=`ng:///${r.name}.js`;return this.compileComponentFromMeta(e,a,o)}compileComponentDeclaration(e,n,r){const s=this.createParseSourceSpan("Component",r.type.name,n),i=Yk(r,s,n);return this.compileComponentFromMeta(e,n,i)}compileComponentFromMeta(e,n,r){const s=new $y,i=wc(r.interpolation),o=Mk(r,s,i);return this.jitExpression(o.expression,e,n,s.statements)}compileFactory(e,n,r){const s=Ci({name:r.name,type:bt(r.type),internalType:new ne(r.type),typeArgumentCount:r.typeArgumentCount,deps:tN(r.deps),target:r.target});return this.jitExpression(s.expression,e,n,s.statements)}compileFactoryDeclaration(e,n,r){const s=Ci({name:r.type.name,type:bt(r.type),internalType:new ne(r.type),typeArgumentCount:0,deps:Array.isArray(r.deps)?r.deps.map(X0):r.deps,target:r.target});return this.jitExpression(s.expression,e,n,s.statements)}createParseSourceSpan(e,n,r){return ux(e,n,r)}jitExpression(e,n,r,s){const i=[...s,new hi("$def",e,void 0,Mn.Exported)];return this.jitEvaluator.evaluateStatements(r,i,new yx(n),!0).$def}}function W0(t){return Object.assign(Object.assign({},t),{predicate:u2(t.predicate),read:t.read?new ne(t.read):null,static:t.static,emitDistinctChangesOnly:t.emitDistinctChangesOnly})}function Z0(t){var e,n,r,s;return{propertyName:t.propertyName,first:(e=t.first)!==null&&e!==void 0?e:!1,predicate:u2(t.predicate),descendants:(n=t.descendants)!==null&&n!==void 0?n:!1,read:t.read?new ne(t.read):null,static:(r=t.static)!==null&&r!==void 0?r:!1,emitDistinctChangesOnly:(s=t.emitDistinctChangesOnly)!==null&&s!==void 0?s:!0}}function u2(t){return Array.isArray(t)?t:jf(new ne(t),1)}function K0(t){const e=J0(t.inputs||[]),n=J0(t.outputs||[]),r=t.propMetadata,s={},i={};for(const o in r)r.hasOwnProperty(o)&&r[o].forEach(a=>{iN(a)?s[o]=a.bindingPropertyName?[a.bindingPropertyName,o]:o:oN(a)&&(i[o]=a.bindingPropertyName||o)});return Object.assign(Object.assign({},t),{typeArgumentCount:0,typeSourceSpan:t.typeSourceSpan,type:bt(t.type),internalType:new ne(t.type),deps:null,host:nN(t.propMetadata,t.typeSourceSpan,t.host),inputs:Object.assign(Object.assign({},e),s),outputs:Object.assign(Object.assign({},n),i),queries:t.queries.map(W0),providers:t.providers!=null?new ne(t.providers):null,viewQueries:t.viewQueries.map(W0),fullInheritance:!1})}function l2(t,e){var n,r,s,i,o,a,u,l,c;return{name:t.type.name,type:bt(t.type),typeSourceSpan:e,internalType:new ne(t.type),selector:(n=t.selector)!==null&&n!==void 0?n:null,inputs:(r=t.inputs)!==null&&r!==void 0?r:{},outputs:(s=t.outputs)!==null&&s!==void 0?s:{},host:Kk(t.host),queries:((i=t.queries)!==null&&i!==void 0?i:[]).map(Z0),viewQueries:((o=t.viewQueries)!==null&&o!==void 0?o:[]).map(Z0),providers:t.providers!==void 0?new ne(t.providers):null,exportAs:(a=t.exportAs)!==null&&a!==void 0?a:null,usesInheritance:(u=t.usesInheritance)!==null&&u!==void 0?u:!1,lifecycle:{usesOnChanges:(l=t.usesOnChanges)!==null&&l!==void 0?l:!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:(c=t.isStandalone)!==null&&c!==void 0?c:!1}}function Kk(t={}){var e,n,r;return{attributes:Qk((e=t.attributes)!==null&&e!==void 0?e:{}),listeners:(n=t.listeners)!==null&&n!==void 0?n:{},properties:(r=t.properties)!==null&&r!==void 0?r:{},specialAttributes:{classAttr:t.classAttribute,styleAttr:t.styleAttribute}}}function Qk(t){const e={};for(const n of Object.keys(t))e[n]=new ne(t[n]);return e}function Yk(t,e,n){var r,s,i,o;const{template:a,interpolation:u}=c2(t.template,t.type.name,n,(r=t.preserveWhitespaces)!==null&&r!==void 0?r:!1,t.interpolation),l=[];if(t.dependencies)for(const c of t.dependencies)switch(c.kind){case"directive":case"component":l.push(wp(c));break;case"pipe":l.push(eN(c));break}else(t.components||t.directives||t.pipes)&&(t.components&&l.push(...t.components.map(c=>wp(c,!0))),t.directives&&l.push(...t.directives.map(c=>wp(c))),t.pipes&&l.push(...Jk(t.pipes)));return Object.assign(Object.assign({},l2(t,e)),{template:a,styles:(s=t.styles)!==null&&s!==void 0?s:[],declarations:l,viewProviders:t.viewProviders!==void 0?new ne(t.viewProviders):null,animations:t.animations!==void 0?new ne(t.animations):null,changeDetection:(i=t.changeDetection)!==null&&i!==void 0?i:ac.Default,encapsulation:(o=t.encapsulation)!==null&&o!==void 0?o:Fs.Emulated,interpolation:u,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0})}function Xk(t){return Object.assign(Object.assign({},t),{type:new ne(t.type)})}function wp(t,e=null){var n,r,s;return{kind:pu.Directive,isComponent:e||t.kind==="component",selector:t.selector,type:new ne(t.type),inputs:(n=t.inputs)!==null&&n!==void 0?n:[],outputs:(r=t.outputs)!==null&&r!==void 0?r:[],exportAs:(s=t.exportAs)!==null&&s!==void 0?s:null}}function Jk(t){return t?Object.keys(t).map(e=>({kind:pu.Pipe,name:e,type:new ne(t[e])})):[]}function eN(t){return{kind:pu.Pipe,name:t.name,type:new ne(t.type)}}function c2(t,e,n,r,s){const i=s?rd.fromArray(s):pr,o=_k(t,n,{preserveWhitespaces:r,interpolationConfig:i});if(o.errors!==null){const a=o.errors.map(u=>u.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${e}: ${a}`)}return{template:o,interpolation:i}}function ao(t,e){if(t.hasOwnProperty(e))return jf(new ne(t[e]),0)}function Q0(t,e){if(t.hasOwnProperty(e))return new ne(t[e])}function Y0(t){const e=typeof t=="function"?new ne(t):new Qn(t!=null?t:null);return jf(e,0)}function tN(t){return t==null?null:t.map(d2)}function d2(t){const e=t.attribute!=null,n=t.token===null?null:new ne(t.token),r=e?new ne(t.attribute):n;return p2(r,e,t.host,t.optional,t.self,t.skipSelf)}function X0(t){var e,n,r,s,i;const o=(e=t.attribute)!==null&&e!==void 0?e:!1,a=t.token===null?null:new ne(t.token);return p2(a,o,(n=t.host)!==null&&n!==void 0?n:!1,(r=t.optional)!==null&&r!==void 0?r:!1,(s=t.self)!==null&&s!==void 0?s:!1,(i=t.skipSelf)!==null&&i!==void 0?i:!1)}function p2(t,e,n,r,s,i){const o=e?x("unknown"):null;return{token:t,attributeNameType:o,host:n,optional:r,self:s,skipSelf:i}}function nN(t,e,n){const r=qk(n||{}),s=Gk(r,e);if(s.length)throw new Error(s.map(i=>i.msg).join(` +`));for(const i in t)t.hasOwnProperty(i)&&t[i].forEach(o=>{rN(o)?r.properties[o.hostPropertyName||i]=dT("this",i):sN(o)&&(r.listeners[o.eventName||i]=`${i}(${(o.args||[]).join(",")})`)});return r}function rN(t){return t.ngMetadataName==="HostBinding"}function sN(t){return t.ngMetadataName==="HostListener"}function iN(t){return t.ngMetadataName==="Input"}function oN(t){return t.ngMetadataName==="Output"}function J0(t){return t.reduce((e,n)=>{const[r,s]=n.split(":",2).map(i=>i.trim());return e[r]=s||r,e},{})}function aN(t){var e,n;return{name:t.type.name,type:bt(t.type),internalType:new ne(t.type),typeArgumentCount:0,pipeName:t.name,deps:null,pure:(e=t.pure)!==null&&e!==void 0?e:!0,isStandalone:(n=t.isStandalone)!==null&&n!==void 0?n:!1}}function uN(t){return{name:t.type.name,type:bt(t.type),internalType:new ne(t.type),providers:t.providers!==void 0&&t.providers.length>0?new ne(t.providers):null,imports:t.imports!==void 0?t.imports.map(e=>new ne(e)):[]}}function lN(t){const e=t.ng||(t.ng={});e.\u0275compilerFacade=new Zk}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */new CA("14.2.6");var eE;(function(t){t[t.Extract=0]="Extract",t[t.Merge=1]="Merge"})(eE||(eE={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var tE;(function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"})(tE||(tE={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */lN(Co);var h2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** + * @license Angular v14.2.0-next.0 + * (c) 2010-2022 Google LLC. https://angular.io/ + * License: MIT + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */(function(t){const e=t.performance;function n(Re){e&&e.mark&&e.mark(Re)}function r(Re,S){e&&e.measure&&e.measure(Re,S)}n("Zone");const s=t.__Zone_symbol_prefix||"__zone_symbol__";function i(Re){return s+Re}const o=t[i("forceDuplicateZoneCheck")]===!0;if(t.Zone){if(o||typeof t.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return t.Zone}class a{constructor(S,C){this._parent=S,this._name=C?C.name||"unnamed":"",this._properties=C&&C.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,C)}static assertZonePatched(){if(t.Promise!==Fe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let S=a.current;for(;S.parent;)S=S.parent;return S}static get current(){return me.zone}static get currentTask(){return lt}static __load_patch(S,C,I=!1){if(Fe.hasOwnProperty(S)){if(!I&&o)throw Error("Already loaded patch: "+S)}else if(!t["__Zone_disable_"+S]){const re="Zone:"+S;n(re),Fe[S]=C(t,a,Ce),r(re,re)}}get parent(){return this._parent}get name(){return this._name}get(S){const C=this.getZoneWith(S);if(C)return C._properties[S]}getZoneWith(S){let C=this;for(;C;){if(C._properties.hasOwnProperty(S))return C;C=C._parent}return null}fork(S){if(!S)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,S)}wrap(S,C){if(typeof S!="function")throw new Error("Expecting function got: "+S);const I=this._zoneDelegate.intercept(this,S,C),re=this;return function(){return re.runGuarded(I,this,arguments,C)}}run(S,C,I,re){me={parent:me,zone:this};try{return this._zoneDelegate.invoke(this,S,C,I,re)}finally{me=me.parent}}runGuarded(S,C=null,I,re){me={parent:me,zone:this};try{try{return this._zoneDelegate.invoke(this,S,C,I,re)}catch(Ue){if(this._zoneDelegate.handleError(this,Ue))throw Ue}}finally{me=me.parent}}runTask(S,C,I){if(S.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(S.zone||A).name+"; Execution: "+this.name+")");if(S.state===M&&(S.type===te||S.type===V))return;const re=S.state!=O;re&&S._transitionTo(O,ee),S.runCount++;const Ue=lt;lt=S,me={parent:me,zone:this};try{S.type==V&&S.data&&!S.data.isPeriodic&&(S.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,S,C,I)}catch(Dn){if(this._zoneDelegate.handleError(this,Dn))throw Dn}}finally{S.state!==M&&S.state!==k&&(S.type==te||S.data&&S.data.isPeriodic?re&&S._transitionTo(ee,O):(S.runCount=0,this._updateTaskCount(S,-1),re&&S._transitionTo(M,O,M))),me=me.parent,lt=Ue}}scheduleTask(S){if(S.zone&&S.zone!==this){let I=this;for(;I;){if(I===S.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${S.zone.name}`);I=I.parent}}S._transitionTo(j,M);const C=[];S._zoneDelegates=C,S._zone=this;try{S=this._zoneDelegate.scheduleTask(this,S)}catch(I){throw S._transitionTo(k,j,M),this._zoneDelegate.handleError(this,I),I}return S._zoneDelegates===C&&this._updateTaskCount(S,1),S.state==j&&S._transitionTo(ee,j),S}scheduleMicroTask(S,C,I,re){return this.scheduleTask(new c(P,S,C,I,re,void 0))}scheduleMacroTask(S,C,I,re,Ue){return this.scheduleTask(new c(V,S,C,I,re,Ue))}scheduleEventTask(S,C,I,re,Ue){return this.scheduleTask(new c(te,S,C,I,re,Ue))}cancelTask(S){if(S.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(S.zone||A).name+"; Execution: "+this.name+")");S._transitionTo(z,ee,O);try{this._zoneDelegate.cancelTask(this,S)}catch(C){throw S._transitionTo(k,z),this._zoneDelegate.handleError(this,C),C}return this._updateTaskCount(S,-1),S._transitionTo(M,z),S.runCount=0,S}_updateTaskCount(S,C){const I=S._zoneDelegates;C==-1&&(S._zoneDelegates=null);for(let re=0;reRe.hasTask(C,I),onScheduleTask:(Re,S,C,I)=>Re.scheduleTask(C,I),onInvokeTask:(Re,S,C,I,re,Ue)=>Re.invokeTask(C,I,re,Ue),onCancelTask:(Re,S,C,I)=>Re.cancelTask(C,I)};class l{constructor(S,C,I){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=S,this._parentDelegate=C,this._forkZS=I&&(I&&I.onFork?I:C._forkZS),this._forkDlgt=I&&(I.onFork?C:C._forkDlgt),this._forkCurrZone=I&&(I.onFork?this.zone:C._forkCurrZone),this._interceptZS=I&&(I.onIntercept?I:C._interceptZS),this._interceptDlgt=I&&(I.onIntercept?C:C._interceptDlgt),this._interceptCurrZone=I&&(I.onIntercept?this.zone:C._interceptCurrZone),this._invokeZS=I&&(I.onInvoke?I:C._invokeZS),this._invokeDlgt=I&&(I.onInvoke?C:C._invokeDlgt),this._invokeCurrZone=I&&(I.onInvoke?this.zone:C._invokeCurrZone),this._handleErrorZS=I&&(I.onHandleError?I:C._handleErrorZS),this._handleErrorDlgt=I&&(I.onHandleError?C:C._handleErrorDlgt),this._handleErrorCurrZone=I&&(I.onHandleError?this.zone:C._handleErrorCurrZone),this._scheduleTaskZS=I&&(I.onScheduleTask?I:C._scheduleTaskZS),this._scheduleTaskDlgt=I&&(I.onScheduleTask?C:C._scheduleTaskDlgt),this._scheduleTaskCurrZone=I&&(I.onScheduleTask?this.zone:C._scheduleTaskCurrZone),this._invokeTaskZS=I&&(I.onInvokeTask?I:C._invokeTaskZS),this._invokeTaskDlgt=I&&(I.onInvokeTask?C:C._invokeTaskDlgt),this._invokeTaskCurrZone=I&&(I.onInvokeTask?this.zone:C._invokeTaskCurrZone),this._cancelTaskZS=I&&(I.onCancelTask?I:C._cancelTaskZS),this._cancelTaskDlgt=I&&(I.onCancelTask?C:C._cancelTaskDlgt),this._cancelTaskCurrZone=I&&(I.onCancelTask?this.zone:C._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const re=I&&I.onHasTask,Ue=C&&C._hasTaskZS;(re||Ue)&&(this._hasTaskZS=re?I:u,this._hasTaskDlgt=C,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=S,I.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=C,this._scheduleTaskCurrZone=this.zone),I.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=C,this._invokeTaskCurrZone=this.zone),I.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=C,this._cancelTaskCurrZone=this.zone))}fork(S,C){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,S,C):new a(S,C)}intercept(S,C,I){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,S,C,I):C}invoke(S,C,I,re,Ue){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,S,C,I,re,Ue):C.apply(I,re)}handleError(S,C){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,S,C):!0}scheduleTask(S,C){let I=C;if(this._scheduleTaskZS)this._hasTaskZS&&I._zoneDelegates.push(this._hasTaskDlgtOwner),I=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,S,C),I||(I=C);else if(C.scheduleFn)C.scheduleFn(C);else if(C.type==P)E(C);else throw new Error("Task is missing scheduleFn.");return I}invokeTask(S,C,I,re){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,S,C,I,re):C.callback.apply(I,re)}cancelTask(S,C){let I;if(this._cancelTaskZS)I=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,S,C);else{if(!C.cancelFn)throw Error("Task is not cancelable");I=C.cancelFn(C)}return I}hasTask(S,C){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,S,C)}catch(I){this.handleError(S,I)}}_updateTaskCount(S,C){const I=this._taskCounts,re=I[S],Ue=I[S]=re+C;if(Ue<0)throw new Error("More tasks executed then were scheduled.");if(re==0||Ue==0){const Dn={microTask:I.microTask>0,macroTask:I.macroTask>0,eventTask:I.eventTask>0,change:S};this.hasTask(this.zone,Dn)}}}class c{constructor(S,C,I,re,Ue,Dn){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=S,this.source=C,this.data=re,this.scheduleFn=Ue,this.cancelFn=Dn,!I)throw new Error("callback is not defined");this.callback=I;const N=this;S===te&&re&&re.useG?this.invoke=c.invokeTask:this.invoke=function(){return c.invokeTask.call(t,N,this,arguments)}}static invokeTask(S,C,I){S||(S=this),it++;try{return S.runCount++,S.zone.runTask(S,C,I)}finally{it==1&&v(),it--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(M,j)}_transitionTo(S,C,I){if(this._state===C||this._state===I)this._state=S,S==M&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${S}', expecting state '${C}'${I?" or '"+I+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const d=i("setTimeout"),p=i("Promise"),f=i("then");let g=[],m=!1,y;function w(Re){if(y||t[p]&&(y=t[p].resolve(0)),y){let S=y[f];S||(S=y.then),S.call(y,Re)}else t[d](Re,0)}function E(Re){it===0&&g.length===0&&w(v),Re&&g.push(Re)}function v(){if(!m){for(m=!0;g.length;){const Re=g;g=[];for(let S=0;Sme,onUnhandledError:je,microtaskDrainDone:je,scheduleMicroTask:E,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:je,patchMethod:()=>je,bindArguments:()=>[],patchThen:()=>je,patchMacroTask:()=>je,patchEventPrototype:()=>je,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>je,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>je,wrapWithCurrentZone:()=>je,filterProperties:()=>[],attachOriginToPatched:()=>je,_redefineProperty:()=>je,patchCallbacks:()=>je,nativeScheduleMicroTask:w};let me={parent:null,zone:new a(null,null)},lt=null,it=0;function je(){}return r("Zone","Zone"),t.Zone=a})(typeof window<"u"&&window||typeof self<"u"&&self||h2);/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const mu=Object.getOwnPropertyDescriptor,pg=Object.defineProperty,hg=Object.getPrototypeOf,cN=Object.create,dN=Array.prototype.slice,fg="addEventListener",gg="removeEventListener",Sp=Zone.__symbol__(fg),Ip=Zone.__symbol__(gg),Xr="true",Jr="false",vu=Zone.__symbol__("");function mg(t,e){return Zone.current.wrap(t,e)}function vg(t,e,n,r,s){return Zone.current.scheduleMacroTask(t,e,n,r,s)}const Ne=Zone.__symbol__,pd=typeof window<"u",aa=pd?window:void 0,mt=pd&&aa||typeof self=="object"&&self||h2,pN="removeAttribute";function yg(t,e){for(let n=t.length-1;n>=0;n--)typeof t[n]=="function"&&(t[n]=mg(t[n],e+"_"+n));return t}function hN(t,e){const n=t.constructor.name;for(let r=0;r{const u=function(){return a.apply(this,yg(arguments,n+"."+s))};return rs(u,a),u})(i)}}}function f2(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}const g2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,hd=!("nw"in mt)&&typeof mt.process<"u"&&{}.toString.call(mt.process)==="[object process]",Eg=!hd&&!g2&&!!(pd&&aa.HTMLElement),m2=typeof mt.process<"u"&&{}.toString.call(mt.process)==="[object process]"&&!g2&&!!(pd&&aa.HTMLElement),Sc={},nE=function(t){if(t=t||mt.event,!t)return;let e=Sc[t.type];e||(e=Sc[t.type]=Ne("ON_PROPERTY"+t.type));const n=this||t.target||mt,r=n[e];let s;if(Eg&&n===aa&&t.type==="error"){const i=t;s=r&&r.call(this,i.message,i.filename,i.lineno,i.colno,i.error),s===!0&&t.preventDefault()}else s=r&&r.apply(this,arguments),s!=null&&!s&&t.preventDefault();return s};function rE(t,e,n){let r=mu(t,e);if(!r&&n&&mu(n,e)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const s=Ne("on"+e+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete r.writable,delete r.value;const i=r.get,o=r.set,a=e.slice(2);let u=Sc[a];u||(u=Sc[a]=Ne("ON_PROPERTY"+a)),r.set=function(l){let c=this;if(!c&&t===mt&&(c=mt),!c)return;typeof c[u]=="function"&&c.removeEventListener(a,nE),o&&o.call(c,null),c[u]=l,typeof l=="function"&&c.addEventListener(a,nE,!1)},r.get=function(){let l=this;if(!l&&t===mt&&(l=mt),!l)return null;const c=l[u];if(c)return c;if(i){let d=i.call(this);if(d)return r.set.call(this,d),typeof l[pN]=="function"&&l.removeAttribute(e),d}return null},pg(t,e,r),t[s]=!0}function v2(t,e,n){if(e)for(let r=0;rfunction(o,a){const u=n(o,a);return u.cbIdx>=0&&typeof a[u.cbIdx]=="function"?vg(u.name,a[u.cbIdx],u,s):i.apply(o,a)})}function rs(t,e){t[Ne("OriginalDelegate")]=e}let sE=!1,bp=!1;function gN(){try{const t=aa.navigator.userAgent;if(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1)return!0}catch{}return!1}function mN(){if(sE)return bp;sE=!0;try{const t=aa.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(bp=!0)}catch{}return bp}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,s=Object.defineProperty;function i(N){if(N&&N.toString===Object.prototype.toString){const F=N.constructor&&N.constructor.name;return(F||"")+": "+JSON.stringify(N)}return N?N.toString():Object.prototype.toString.call(N)}const o=n.symbol,a=[],u=t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]===!0,l=o("Promise"),c=o("then"),d="__creationTrace__";n.onUnhandledError=N=>{if(n.showUncaughtError()){const F=N&&N.rejection;F?console.error("Unhandled Promise rejection:",F instanceof Error?F.message:F,"; Zone:",N.zone.name,"; Task:",N.task&&N.task.source,"; Value:",F,F instanceof Error?F.stack:void 0):console.error(N)}},n.microtaskDrainDone=()=>{for(;a.length;){const N=a.shift();try{N.zone.runGuarded(()=>{throw N.throwOriginal?N.rejection:N})}catch(F){f(F)}}};const p=o("unhandledPromiseRejectionHandler");function f(N){n.onUnhandledError(N);try{const F=e[p];typeof F=="function"&&F.call(this,N)}catch{}}function g(N){return N&&N.then}function m(N){return N}function y(N){return C.reject(N)}const w=o("state"),E=o("value"),v=o("finally"),A=o("parentPromiseValue"),M=o("parentPromiseState"),j="Promise.then",ee=null,O=!0,z=!1,k=0;function P(N,F){return b=>{try{Ce(N,F,b)}catch(R){Ce(N,!1,R)}}}const V=function(){let N=!1;return function(b){return function(){N||(N=!0,b.apply(null,arguments))}}},te="Promise resolved with itself",Fe=o("currentTaskTrace");function Ce(N,F,b){const R=V();if(N===b)throw new TypeError(te);if(N[w]===ee){let G=null;try{(typeof b=="object"||typeof b=="function")&&(G=b&&b.then)}catch(J){return R(()=>{Ce(N,!1,J)})(),N}if(F!==z&&b instanceof C&&b.hasOwnProperty(w)&&b.hasOwnProperty(E)&&b[w]!==ee)lt(b),Ce(N,b[w],b[E]);else if(F!==z&&typeof G=="function")try{G.call(b,R(P(N,F)),R(P(N,!1)))}catch(J){R(()=>{Ce(N,!1,J)})()}else{N[w]=F;const J=N[E];if(N[E]=b,N[v]===v&&F===O&&(N[w]=N[M],N[E]=N[A]),F===z&&b instanceof Error){const U=e.currentTask&&e.currentTask.data&&e.currentTask.data[d];U&&s(b,Fe,{configurable:!0,enumerable:!1,writable:!0,value:U})}for(let U=0;U{try{const ce=N[E],he=!!b&&v===b[v];he&&(b[A]=ce,b[M]=J);const fe=F.run(U,void 0,he&&U!==y&&U!==m?[]:[ce]);Ce(b,!0,fe)}catch(ce){Ce(b,!1,ce)}},b)}const je="function ZoneAwarePromise() { [native code] }",Re=function(){},S=t.AggregateError;class C{static toString(){return je}static resolve(F){return Ce(new this(null),O,F)}static reject(F){return Ce(new this(null),z,F)}static any(F){if(!F||typeof F[Symbol.iterator]!="function")return Promise.reject(new S([],"All promises were rejected"));const b=[];let R=0;try{for(let U of F)R++,b.push(C.resolve(U))}catch{return Promise.reject(new S([],"All promises were rejected"))}if(R===0)return Promise.reject(new S([],"All promises were rejected"));let G=!1;const J=[];return new C((U,ce)=>{for(let he=0;he{G||(G=!0,U(fe))},fe=>{J.push(fe),R--,R===0&&(G=!0,ce(new S(J,"All promises were rejected")))})})}static race(F){let b,R,G=new this((ce,he)=>{b=ce,R=he});function J(ce){b(ce)}function U(ce){R(ce)}for(let ce of F)g(ce)||(ce=this.resolve(ce)),ce.then(J,U);return G}static all(F){return C.allWithCallback(F)}static allSettled(F){return(this&&this.prototype instanceof C?this:C).allWithCallback(F,{thenCallback:R=>({status:"fulfilled",value:R}),errorCallback:R=>({status:"rejected",reason:R})})}static allWithCallback(F,b){let R,G,J=new this((fe,qe)=>{R=fe,G=qe}),U=2,ce=0;const he=[];for(let fe of F){g(fe)||(fe=this.resolve(fe));const qe=ce;try{fe.then(Ge=>{he[qe]=b?b.thenCallback(Ge):Ge,U--,U===0&&R(he)},Ge=>{b?(he[qe]=b.errorCallback(Ge),U--,U===0&&R(he)):G(Ge)})}catch(Ge){G(Ge)}U++,ce++}return U-=2,U===0&&R(he),J}constructor(F){const b=this;if(!(b instanceof C))throw new Error("Must be an instanceof Promise.");b[w]=ee,b[E]=[];try{const R=V();F&&F(R(P(b,O)),R(P(b,z)))}catch(R){Ce(b,!1,R)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return C}then(F,b){var R;let G=(R=this.constructor)===null||R===void 0?void 0:R[Symbol.species];(!G||typeof G!="function")&&(G=this.constructor||C);const J=new G(Re),U=e.current;return this[w]==ee?this[E].push(U,J,F,b):it(this,U,J,F,b),J}catch(F){return this.then(null,F)}finally(F){var b;let R=(b=this.constructor)===null||b===void 0?void 0:b[Symbol.species];(!R||typeof R!="function")&&(R=C);const G=new R(Re);G[v]=v;const J=e.current;return this[w]==ee?this[E].push(J,G,F,F):it(this,J,G,F,F),G}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const I=t[l]=t.Promise;t.Promise=C;const re=o("thenPatched");function Ue(N){const F=N.prototype,b=r(F,"then");if(b&&(b.writable===!1||!b.configurable))return;const R=F.then;F[c]=R,N.prototype.then=function(G,J){return new C((ce,he)=>{R.call(this,ce,he)}).then(G,J)},N[re]=!0}n.patchThen=Ue;function Dn(N){return function(F,b){let R=N.apply(F,b);if(R instanceof C)return R;let G=R.constructor;return G[re]||Ue(G),R}}return I&&(Ue(I),as(t,"fetch",N=>Dn(N))),Promise[e.__symbol__("uncaughtPromiseErrors")]=a,C});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=Ne("OriginalDelegate"),r=Ne("Promise"),s=Ne("Error"),i=function(){if(typeof this=="function"){const l=this[n];if(l)return typeof l=="function"?e.call(l):Object.prototype.toString.call(l);if(this===Promise){const c=t[r];if(c)return e.call(c)}if(this===Error){const c=t[s];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const o=Object.prototype.toString,a="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?a:o.call(this)}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let fo=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){fo=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{fo=!1}const vN={useG:!0},Sn={},y2={},E2=new RegExp("^"+vu+"(\\w+)(true|false)$"),_2=Ne("propagationStopped");function D2(t,e){const n=(e?e(t):t)+Jr,r=(e?e(t):t)+Xr,s=vu+n,i=vu+r;Sn[t]={},Sn[t][Jr]=s,Sn[t][Xr]=i}function yN(t,e,n,r){const s=r&&r.add||fg,i=r&&r.rm||gg,o=r&&r.listeners||"eventListeners",a=r&&r.rmAll||"removeAllListeners",u=Ne(s),l="."+s+":",c="prependListener",d="."+c+":",p=function(E,v,A){if(E.isRemoved)return;const M=E.callback;typeof M=="object"&&M.handleEvent&&(E.callback=O=>M.handleEvent(O),E.originalDelegate=M);let j;try{E.invoke(E,v,[A])}catch(O){j=O}const ee=E.options;if(ee&&typeof ee=="object"&&ee.once){const O=E.originalDelegate?E.originalDelegate:E.callback;v[i].call(v,A.type,O,ee)}return j};function f(E,v,A){if(v=v||t.event,!v)return;const M=E||v.target||t,j=M[Sn[v.type][A?Xr:Jr]];if(j){const ee=[];if(j.length===1){const O=p(j[0],M,v);O&&ee.push(O)}else{const O=j.slice();for(let z=0;z{throw z})}}}const g=function(E){return f(this,E,!1)},m=function(E){return f(this,E,!0)};function y(E,v){if(!E)return!1;let A=!0;v&&v.useG!==void 0&&(A=v.useG);const M=v&&v.vh;let j=!0;v&&v.chkDup!==void 0&&(j=v.chkDup);let ee=!1;v&&v.rt!==void 0&&(ee=v.rt);let O=E;for(;O&&!O.hasOwnProperty(s);)O=hg(O);if(!O&&E[s]&&(O=E),!O||O[u])return!1;const z=v&&v.eventNameToString,k={},P=O[u]=O[s],V=O[Ne(i)]=O[i],te=O[Ne(o)]=O[o],Fe=O[Ne(a)]=O[a];let Ce;v&&v.prepend&&(Ce=O[Ne(v.prepend)]=O[v.prepend]);function me(b,R){return!fo&&typeof b=="object"&&b?!!b.capture:!fo||!R?b:typeof b=="boolean"?{capture:b,passive:!0}:b?typeof b=="object"&&b.passive!==!1?Object.assign(Object.assign({},b),{passive:!0}):b:{passive:!0}}const lt=function(b){if(!k.isExisting)return P.call(k.target,k.eventName,k.capture?m:g,k.options)},it=function(b){if(!b.isRemoved){const R=Sn[b.eventName];let G;R&&(G=R[b.capture?Xr:Jr]);const J=G&&b.target[G];if(J){for(let U=0;Ufunction(s,i){s[_2]=!0,r&&r.apply(s,i)})}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function _N(t,e,n,r,s){const i=Zone.__symbol__(r);if(e[i])return;const o=e[i]=e[r];e[r]=function(a,u,l){return u&&u.prototype&&s.forEach(function(c){const d=`${n}.${r}::`+c,p=u.prototype;try{if(p.hasOwnProperty(c)){const f=t.ObjectGetOwnPropertyDescriptor(p,c);f&&f.value?(f.value=t.wrapWithCurrentZone(f.value,d),t._redefineProperty(u.prototype,c,f)):p[c]&&(p[c]=t.wrapWithCurrentZone(p[c],d))}else p[c]&&(p[c]=t.wrapWithCurrentZone(p[c],d))}catch{}}),o.call(e,a,u,l)},t.attachOriginToPatched(e[r],o)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function w2(t,e,n){if(!n||n.length===0)return e;const r=n.filter(i=>i.target===t);if(!r||r.length===0)return e;const s=r[0].ignoreProperties;return e.filter(i=>s.indexOf(i)===-1)}function iE(t,e,n,r){if(!t)return;const s=w2(t,e,n);v2(t,s,r)}function kh(t){return Object.getOwnPropertyNames(t).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function DN(t,e){if(hd&&!m2||Zone[t.symbol("patchEvents")])return;const n=e.__Zone_ignore_on_properties;let r=[];if(Eg){const s=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const i=gN()?[{target:s,ignoreProperties:["error"]}]:[];iE(s,kh(s),n&&n.concat(i),hg(s))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s{const r=kh(t);n.patchOnProperties=v2,n.patchMethod=as,n.bindArguments=yg,n.patchMacroTask=fN;const s=e.__symbol__("BLACK_LISTED_EVENTS"),i=e.__symbol__("UNPATCHED_EVENTS");t[i]&&(t[s]=t[i]),t[s]&&(e[s]=e[i]=t[s]),n.patchEventPrototype=EN,n.patchEventTarget=yN,n.isIEOrEdge=mN,n.ObjectDefineProperty=pg,n.ObjectGetOwnPropertyDescriptor=mu,n.ObjectCreate=cN,n.ArraySlice=dN,n.patchClass=yu,n.wrapWithCurrentZone=mg,n.filterProperties=w2,n.attachOriginToPatched=rs,n._redefineProperty=Object.defineProperty,n.patchCallbacks=_N,n.getGlobalObjects=()=>({globalSources:y2,zoneSymbolEventNames:Sn,eventNames:r,isBrowser:Eg,isMix:m2,isNode:hd,TRUE_STR:Xr,FALSE_STR:Jr,ZONE_SYMBOL_PREFIX:vu,ADD_EVENT_LISTENER_STR:fg,REMOVE_EVENT_LISTENER_STR:gg})});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const bl=Ne("zoneTask");function bo(t,e,n,r){let s=null,i=null;e+=r,n+=r;const o={};function a(l){const c=l.data;return c.args[0]=function(){return l.invoke.apply(this,arguments)},c.handleId=s.apply(t,c.args),l}function u(l){return i.call(t,l.data.handleId)}s=as(t,e,l=>function(c,d){if(typeof d[0]=="function"){const p={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?d[1]||0:void 0,args:d},f=d[0];d[0]=function(){try{return f.apply(this,arguments)}finally{p.isPeriodic||(typeof p.handleId=="number"?delete o[p.handleId]:p.handleId&&(p.handleId[bl]=null))}};const g=vg(e,d[0],p,a,u);if(!g)return g;const m=g.data.handleId;return typeof m=="number"?o[m]=g:m&&(m[bl]=g),m&&m.ref&&m.unref&&typeof m.ref=="function"&&typeof m.unref=="function"&&(g.ref=m.ref.bind(m),g.unref=m.unref.bind(m)),typeof m=="number"||m?m:g}else return l.apply(t,d)}),i=as(t,n,l=>function(c,d){const p=d[0];let f;typeof p=="number"?f=o[p]:(f=p&&p[bl],f||(f=p)),f&&typeof f.type=="string"?f.state!=="notScheduled"&&(f.cancelFn&&f.data.isPeriodic||f.runCount===0)&&(typeof p=="number"?delete o[p]:p&&(p[bl]=null),f.zone.cancelTask(f)):l.apply(t,d)})}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function CN(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();if(!n&&!r||!t.customElements||!("customElements"in t))return;const s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];e.patchCallbacks(e,t.customElements,"customElements","define",s)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function wN(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:s,FALSE_STR:i,ZONE_SYMBOL_PREFIX:o}=e.getGlobalObjects();for(let u=0;u{const e=t[Zone.__symbol__("legacyPatch")];e&&e()});Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",r=>function(s,i){e.current.scheduleMicroTask("queueMicrotask",i[0])})});Zone.__load_patch("timers",t=>{const e="set",n="clear";bo(t,e,n,"Timeout"),bo(t,e,n,"Interval"),bo(t,e,n,"Immediate")});Zone.__load_patch("requestAnimationFrame",t=>{bo(t,"request","cancel","AnimationFrame"),bo(t,"mozRequest","mozCancel","AnimationFrame"),bo(t,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;rfunction(u,l){return e.current.run(i,t,l,a)})}});Zone.__load_patch("EventTarget",(t,e,n)=>{SN(t,n),wN(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,n,[r.prototype])});Zone.__load_patch("MutationObserver",(t,e,n)=>{yu("MutationObserver"),yu("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(t,e,n)=>{yu("IntersectionObserver")});Zone.__load_patch("FileReader",(t,e,n)=>{yu("FileReader")});Zone.__load_patch("on_property",(t,e,n)=>{DN(n,t)});Zone.__load_patch("customElements",(t,e,n)=>{CN(t,n)});Zone.__load_patch("XHR",(t,e)=>{u(t);const n=Ne("xhrTask"),r=Ne("xhrSync"),s=Ne("xhrListener"),i=Ne("xhrScheduled"),o=Ne("xhrURL"),a=Ne("xhrErrorBeforeScheduled");function u(l){const c=l.XMLHttpRequest;if(!c)return;const d=c.prototype;function p(k){return k[n]}let f=d[Sp],g=d[Ip];if(!f){const k=l.XMLHttpRequestEventTarget;if(k){const P=k.prototype;f=P[Sp],g=P[Ip]}}const m="readystatechange",y="scheduled";function w(k){const P=k.data,V=P.target;V[i]=!1,V[a]=!1;const te=V[s];f||(f=V[Sp],g=V[Ip]),te&&g.call(V,m,te);const Fe=V[s]=()=>{if(V.readyState===V.DONE)if(!P.aborted&&V[i]&&k.state===y){const me=V[e.__symbol__("loadfalse")];if(V.status!==0&&me&&me.length>0){const lt=k.invoke;k.invoke=function(){const it=V[e.__symbol__("loadfalse")];for(let je=0;jefunction(k,P){return k[r]=P[2]==!1,k[o]=P[1],A.apply(k,P)}),M="XMLHttpRequest.send",j=Ne("fetchTaskAborting"),ee=Ne("fetchTaskScheduling"),O=as(d,"send",()=>function(k,P){if(e.current[ee]===!0||k[r])return O.apply(k,P);{const V={target:k,url:k[o],isPeriodic:!1,args:P,aborted:!1},te=vg(M,E,V,w,v);k&&k[a]===!0&&!V.aborted&&te.state===y&&te.invoke()}}),z=as(d,"abort",()=>function(k,P){const V=p(k);if(V&&typeof V.type=="string"){if(V.cancelFn==null||V.data&&V.data.aborted)return;V.zone.cancelTask(V)}else if(e.current[j]===!0)return z.apply(k,P)})}});Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&hN(t.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(r){return function(s){C2(t,r).forEach(o=>{const a=t.PromiseRejectionEvent;if(a){const u=new a(r,{promise:s.promise,reason:s.rejection});o.invoke(u)}})}}t.PromiseRejectionEvent&&(e[Ne("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[Ne("rejectionHandledHandler")]=n("rejectionhandled"))});var Nh=function(t,e){return Nh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n[s]=r[s])},Nh(t,e)};function qu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Nh(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function IN(t,e,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(c){try{l(r.next(c))}catch(d){o(d)}}function u(c){try{l(r.throw(c))}catch(d){o(d)}}function l(c){c.done?i(c.value):s(c.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}function S2(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,s&&(i=l[0]&2?s.return:l[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,l[1])).done)return i;switch(s=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,s=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Eu(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),s,i=[],o;try{for(;(e===void 0||e-- >0)&&!(s=r.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function _u(t,e,n){if(n||arguments.length===2)for(var r=0,s=e.length,i;r1||a(p,f)})})}function a(p,f){try{u(r[p](f))}catch(g){d(i[0][3],g)}}function u(p){p.value instanceof Ao?Promise.resolve(p.value.v).then(l,c):d(i[0][2],p)}function l(p){a("next",p)}function c(p){a("throw",p)}function d(p,f){p(f),i.shift(),i.length&&a(i[0][0],i[0][1])}}function AN(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Oo=="function"?Oo(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(o){return new Promise(function(a,u){o=t[i](o),s(a,u,o.done,o.value)})}}function s(i,o,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},o)}}function dt(t){return typeof t=="function"}function I2(t){var e=function(r){Error.call(r),r.stack=new Error().stack},n=t(e);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ap=I2(function(t){return function(n){t(this),this.message=n?n.length+` errors occurred during unsubscription: +`+n.map(function(r,s){return s+1+") "+r.toString()}).join(` + `):"",this.name="UnsubscriptionError",this.errors=n}});function Fh(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var Gu=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,n,r,s,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Oo(o),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(m){e={error:m}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}else o.remove(this);var c=this.initialTeardown;if(dt(c))try{c()}catch(m){i=m instanceof Ap?m.errors:[m]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=Oo(d),f=p.next();!f.done;f=p.next()){var g=f.value;try{oE(g)}catch(m){i=i!=null?i:[],m instanceof Ap?i=_u(_u([],Eu(i)),Eu(m.errors)):i.push(m)}}}catch(m){r={error:m}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(r)throw r.error}}}if(i)throw new Ap(i)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)oE(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}},t.prototype._hasParent=function(e){var n=this._parentage;return n===e||Array.isArray(n)&&n.includes(e)},t.prototype._addParent=function(e){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e},t.prototype._removeParent=function(e){var n=this._parentage;n===e?this._parentage=null:Array.isArray(n)&&Fh(n,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&Fh(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),b2=Gu.EMPTY;function A2(t){return t instanceof Gu||t&&"closed"in t&&dt(t.remove)&&dt(t.add)&&dt(t.unsubscribe)}function oE(t){dt(t)?t():t.unsubscribe()}var T2={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rh={setTimeout:function(t,e){for(var n=[],r=2;r0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},e.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},e.prototype._innerSubscribe=function(n){var r=this,s=this,i=s.hasError,o=s.isStopped,a=s.observers;return i||o?b2:(this.currentObservers=null,a.push(n),new Gu(function(){r.currentObservers=null,Fh(a,n)}))},e.prototype._checkFinalizedStatuses=function(n){var r=this,s=r.hasError,i=r.thrownError,o=r.isStopped;s?n.error(i):o&&n.complete()},e.prototype.asObservable=function(){var n=new en;return n.source=this,n},e.create=function(n,r){return new lE(n,r)},e}(en),lE=function(t){qu(e,t);function e(n,r){var s=t.call(this)||this;return s.destination=n,s.source=r,s}return e.prototype.next=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.next)===null||s===void 0||s.call(r,n)},e.prototype.error=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.error)===null||s===void 0||s.call(r,n)},e.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},e.prototype._subscribe=function(n){var r,s;return(s=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&s!==void 0?s:b2},e}(Cg),BN=new en(function(t){return t.complete()});function $N(t){return t&&dt(t.schedule)}function P2(t){return t[t.length-1]}function jN(t){return $N(P2(t))?t.pop():void 0}function VN(t,e){return typeof P2(t)=="number"?t.pop():e}var k2=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function N2(t){return dt(t==null?void 0:t.then)}function F2(t){return dt(t[Dg])}function R2(t){return Symbol.asyncIterator&&dt(t==null?void 0:t[Symbol.asyncIterator])}function L2(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function HN(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var O2=HN();function B2(t){return dt(t==null?void 0:t[O2])}function $2(t){return bN(this,arguments,function(){var n,r,s,i;return S2(this,function(o){switch(o.label){case 0:n=t.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,Ao(n.read())];case 3:return r=o.sent(),s=r.value,i=r.done,i?[4,Ao(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Ao(s)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function j2(t){return dt(t==null?void 0:t.getReader)}function eo(t){if(t instanceof en)return t;if(t!=null){if(F2(t))return UN(t);if(k2(t))return qN(t);if(N2(t))return GN(t);if(R2(t))return V2(t);if(B2(t))return zN(t);if(j2(t))return WN(t)}throw L2(t)}function UN(t){return new en(function(e){var n=t[Dg]();if(dt(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qN(t){return new en(function(e){for(var n=0;n0&&(c=new Du({next:function(j){return M.next(j)},error:function(j){m=!0,y(),d=xp(w,s,j),M.error(j)},complete:function(){g=!0,y(),d=xp(w,o),M.complete()}}),eo(v).subscribe(c))})(l)}}function xp(t,e){for(var n=[],r=2;r ")} > ${t}`:"";throw new B(-200,`Circular dependency in DI detected for ${t}${n}`)}function cE(){throw new Error("Cannot mix multi providers and regular providers")}function Oh(t,e,n){if(t&&e){const r=e.map(s=>s==n?"?"+n+"?":"...");throw new Error(`Invalid provider for the NgModule '${ue(t)}' - only instances of Provider and Type are allowed, got: [${r.join(", ")}]`)}else throw n.\u0275providers?new B(207,"Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers."):new Error("Invalid provider")}function Ig(t,e){const n=e?` in ${e}`:"";throw new B(-201,ngDevMode&&`No provider for ${ve(t)} found${n}`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Oe(t,e){typeof t!="number"&&De(e,typeof t,"number","===")}function Cu(t,e,n){Oe(t,"Expected a number"),W2(t,n,"Expected number to be less than or equal to"),Cs(t,e,"Expected number to be greater than or equal to")}function Wu(t,e){typeof t!="string"&&De(e,t===null?"null":typeof t,"string","===")}function lF(t,e){typeof t!="function"&&De(e,t===null?"null":typeof t,"function","===")}function Y(t,e,n){t!=e&&De(n,t,e,"==")}function er(t,e,n){t==e&&De(n,t,e,"!=")}function z2(t,e,n){t!==e&&De(n,t,e,"===")}function la(t,e,n){t===e&&De(n,t,e,"!==")}function Ws(t,e,n){te||De(n,t,e,">")}function Cs(t,e,n){t>=e||De(n,t,e,">=")}function $(t,e){t==null&&De(e,t,null,"!=")}function De(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function Hs(t){!(typeof Node<"u"&&t instanceof Node)&&!(typeof t=="object"&&t!=null&&t.constructor.name==="WebWorkerRenderNode")&&De(`The provided value must be an instance of a DOM Node but got ${ue(t)}`)}function tt(t,e){$(t,"Array must be defined.");const n=t.length;(e<0||e>=n)&&De(`Index expected to be less than ${n} but got ${e}`)}function cF(t,...e){if(e.indexOf(t)!==-1)return!0;De(`Expected value to be one of ${JSON.stringify(e)} but was ${JSON.stringify(t)}.`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Ct(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const dF=Ct;function fd(t){return{providers:t.providers||[],imports:t.imports||[]}}function Zu(t){return dE(t,wu)||dE(t,Z2)}function pF(t){return Zu(t)!==null}function dE(t,e){return t.hasOwnProperty(e)?t[e]:null}function hF(t){const e=t&&(t[wu]||t[Z2]);if(e){const n=fF(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself. +This will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}else return null}function fF(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return e===null?"":e[1]}function pE(t){return t&&(t.hasOwnProperty(bc)||t.hasOwnProperty(gF))?t[bc]:null}const wu=He({\u0275prov:He}),bc=He({\u0275inj:He}),Z2=He({ngInjectableDef:He}),gF=He({ngInjectorDef:He});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var Ee;(function(t){t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional"})(Ee||(Ee={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Ac;function mF(){return Ac}function In(t){const e=Ac;return Ac=t,e}function K2(t,e,n){const r=Zu(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&Ee.Optional)return null;if(e!==void 0)return e;Ig(ue(t),"Injector")}function vF(t){ngDevMode&&er(Ac,t,"Calling \u0275\u0275inject would cause infinite recursion")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function ws(t){return{toString:t}.toString()}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var gs;(function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"})(gs||(gs={}));var Bh;(function(t){t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed"})(Bh||(Bh={}));function yF(t){return t==null||t===gs.Default}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var br;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(br||(br={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function EF(){const t=typeof location<"u"?location.toString():"",e={namedConstructors:t.indexOf("ngDevMode=namedConstructors")!=-1,firstCreatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0},n=t.indexOf("ngDevMode=false")===-1;return xe.ngDevMode=n&&e,e}function bg(){return typeof ngDevMode>"u"||ngDevMode?(typeof ngDevMode!="object"&&EF(),typeof ngDevMode<"u"&&!!ngDevMode):!1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Oi={},we=[];(typeof ngDevMode>"u"||ngDevMode)&&bg()&&(Object.freeze(Oi),Object.freeze(we));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Ku=He({\u0275cmp:He}),gd=He({\u0275dir:He}),md=He({\u0275pipe:He}),Ag=He({\u0275mod:He}),ms=He({\u0275fac:He}),To=He({__NG_ELEMENT_ID__:He});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let _F=0;function Tg(t){return ws(()=>{(typeof ngDevMode>"u"||ngDevMode)&&bg();const e=t.type,n=t.standalone===!0,r={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===gs.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||we,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||br.Emulated,id:`c${_F++}`,styles:t.styles||we,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.dependencies,o=t.features;return s.inputs=fE(t.inputs,r),s.outputs=fE(t.outputs),o&&o.forEach(a=>a(s)),s.directiveDefs=i?()=>(typeof i=="function"?i():i).map(Y2).filter(hE):null,s.pipeDefs=i?()=>(typeof i=="function"?i():i).map(Vt).filter(hE):null,s})}function Q2(t,e,n){const r=t.\u0275cmp;r.directiveDefs=()=>(typeof e=="function"?e():e).map(Y2),r.pipeDefs=()=>(typeof n=="function"?n():n).map(Vt)}function Y2(t){return Me(t)||$t(t)}function hE(t){return t!==null}function xg(t){return ws(()=>({type:t.type,bootstrap:t.bootstrap||we,declarations:t.declarations||we,imports:t.imports||we,exports:t.exports||we,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function X2(t,e){return ws(()=>{const n=fn(t,!0);n.declarations=e.declarations||we,n.imports=e.imports||we,n.exports=e.exports||we})}function fE(t,e){if(t==null)return Oi;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const J2=Tg;function eC(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Me(t){return t[Ku]||null}function $t(t){return t[gd]||null}function Vt(t){return t[md]||null}function xo(t){const e=Me(t)||$t(t)||Vt(t);return e!==null?e.standalone:!1}function fn(t,e){const n=t[Ag]||null;if(!n&&e===!0)throw new Error(`Type ${ue(t)} does not have '\u0275mod' property.`);return n}const Mg=1,Pg=2,Qu=7,Tc=8,Zs=9,yt=10;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const kn=0,L=1,ae=2,Qe=3,cn=4,Ai=5,St=6,Bi=7,Ye=8,Su=9,Mo=10,le=11,xc=12,Bo=13,$h=14,vs=15,Mt=16,Yu=17,go=18,dn=19,Ks=20,tC=21,_e=22,DF=["Root","Component","Embedded"];/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function pn(t){return Array.isArray(t)&&typeof t[Mg]=="object"}function Ln(t){return Array.isArray(t)&&t[Mg]===!0}function kg(t){return(t.flags&8)!==0}function vd(t){return(t.flags&2)===2}function yd(t){return(t.flags&1)===1}function Yn(t){return t.template!==null}function CF(t){return(t[ae]&256)!==0}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function tr(t,e){da(t,e[L])}function da(t,e){Ng(t),t.hasOwnProperty("tView_")&&Y(t.tView_,e,"This TNode does not belong to this TView.")}function Ng(t){$(t,"TNode must be defined"),t&&typeof t=="object"&&t.hasOwnProperty("directiveStylingLast")||De("Not of type TNode, got: "+t)}function Fg(t){$(t,"Expected TIcu to be defined"),typeof t.currentCaseLViewIndex!="number"&&De("Object is not of TIcu type.")}function wF(t,e="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Me(t)||De(e)}function SF(t,e="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){fn(t)||De(e)}function nC(t){$(t,"currentTNode should exist!"),$(t.parent,"currentTNode should have a parent")}function Ar(t){$(t,"LContainer must be defined"),Y(Ln(t),!0,"Expecting LContainer")}function rC(t){t&&Y(pn(t),!0,"Expecting LView or undefined or null")}function pa(t){$(t,"LView must be defined"),Y(pn(t),!0,"Expecting LView")}function gn(t,e){Y(t.firstCreatePass,!0,e||"Should only be called in first create pass.")}function Rg(t,e){Y(t.firstUpdatePass,!0,e||"Should only be called in first update pass.")}function IF(t){(t.type===void 0||t.selectors==null||t.inputs===void 0)&&De("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function bF(t,e){const n=t[1];sC(_e,n.bindingStartIndex,e)}function Mc(t,e){const n=t[1];sC(n.expandoStartIndex,t.length,e)}function sC(t,e,n){t<=n&&n) must have projection slots defined.")}function iC(t,e){$(t,e||"Component views should always have a parent view (component's host view)")}function Lg(t,e){Mc(t,e),Mc(t,e+8),Oe(t[e+0],"injectorIndex should point to a bloom filter"),Oe(t[e+1],"injectorIndex should point to a bloom filter"),Oe(t[e+2],"injectorIndex should point to a bloom filter"),Oe(t[e+3],"injectorIndex should point to a bloom filter"),Oe(t[e+4],"injectorIndex should point to a bloom filter"),Oe(t[e+5],"injectorIndex should point to a bloom filter"),Oe(t[e+6],"injectorIndex should point to a bloom filter"),Oe(t[e+7],"injectorIndex should point to a bloom filter"),Oe(t[e+8],"injectorIndex should point to parent injector")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function $i(t,e){const n=t.hasOwnProperty(ms);if(!n&&e===!0&&ngDevMode)throw new Error(`Type ${ue(t)} does not have '\u0275fac' property.`);return n?t[ms]:null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class oC{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Og(){return aC}function aC(t){return t.type.prototype.ngOnChanges&&(t.setInput=xF),TF}Og.ngInherit=!0;function TF(){const t=lC(this),e=t==null?void 0:t.current;if(e){const n=t.previous;if(n===Oi)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function xF(t,e,n,r){const s=lC(t)||MF(t,{previous:Oi,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],u=o[a];i[a]=new oC(u&&u.currentValue,e,o===Oi),t[r]=e}const uC="__ngSimpleChanges__";function lC(t){return t[uC]||null}function MF(t,e){return t[uC]=e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let jh=null;const PF=t=>{jh=t},An=function(t,e,n){jh!=null&&jh(t,e,n)};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const cC="svg",dC="math";/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function at(t){for(;Array.isArray(t);)t=t[kn];return t}function kF(t){for(;Array.isArray(t);){if(typeof t[Mg]=="object")return t;t=t[kn]}return null}function Ed(t,e){return ngDevMode&&tt(e,t),ngDevMode&&Cs(t,_e,"Expected to be past HEADER_OFFSET"),at(e[t])}function vn(t,e){return ngDevMode&&tr(t,e),ngDevMode&&tt(e,t.index),at(e[t.index])}function NF(t,e){const n=t===null?-1:t.index;return n!==-1?(ngDevMode&&tr(t,e),at(e[n])):null}function pC(t,e){ngDevMode&&ca(e,-1,"wrong index for TNode"),ngDevMode&&Ws(e,t.data.length,"wrong index for TNode");const n=t.data[e];return ngDevMode&&n!==null&&Ng(n),n}function ha(t,e){return ngDevMode&&tt(t,e),t[e]}function mn(t,e){ngDevMode&&tt(e,t);const n=e[t];return pn(n)?n:n[kn]}function Xu(t){return(t[ae]&4)===4}function Pc(t){return(t[ae]&64)===64}function FF(t){return Ln(t[Qe])}function Qs(t,e){return e==null?null:(ngDevMode&&tt(t,e),t[e])}function hC(t){t[go]=0}function Bg(t,e){t[Ai]+=e;let n=t,r=t[Qe];for(;r!==null&&(e===1&&n[Ai]===1||e===-1&&n[Ai]===0);)r[Ai]+=e,n=r,r=r[Qe]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const se={lFrame:bC(null),bindingsEnabled:!0};let fC=!1;function RF(){return se.lFrame.elementDepthCount}function LF(){se.lFrame.elementDepthCount++}function OF(){se.lFrame.elementDepthCount--}function gC(){return se.bindingsEnabled}function mC(){se.bindingsEnabled=!0}function vC(){se.bindingsEnabled=!1}function T(){return se.lFrame.lView}function ie(){return se.lFrame.tView}function yC(t){return se.lFrame.contextLView=t,t[Ye]}function EC(t){return se.lFrame.contextLView=null,t}function ut(){let t=_C();for(;t!==null&&t.type===64;)t=t.parent;return t}function _C(){return se.lFrame.currentTNode}function Iu(){const t=se.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Tr(t,e){ngDevMode&&t&&da(t,se.lFrame.tView);const n=se.lFrame;n.currentTNode=t,n.isParent=e}function $g(){return se.lFrame.isParent}function jg(){se.lFrame.isParent=!1}function BF(){const t=se.lFrame.contextLView;return ngDevMode&&$(t,"contextLView must be defined."),t}function fa(){return!ngDevMode&&De("Must never be called in production mode"),fC}function gE(t){!ngDevMode&&De("Must never be called in production mode"),fC=t}function qt(){const t=se.lFrame;let e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ke(){return se.lFrame.bindingIndex}function DC(t){return se.lFrame.bindingIndex=t}function ga(){return se.lFrame.bindingIndex++}function Ss(t){const e=se.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function $F(){return se.lFrame.inI18n}function CC(t){se.lFrame.inI18n=t}function jF(t,e){const n=se.lFrame;n.bindingIndex=n.bindingRootIndex=t,Vh(e)}function VF(){return se.lFrame.currentDirectiveIndex}function Vh(t){se.lFrame.currentDirectiveIndex=t}function Vg(t){const e=se.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function wC(){return se.lFrame.currentQueryIndex}function Hg(t){se.lFrame.currentQueryIndex=t}function HF(t){const e=t[L];return e.type===2?(ngDevMode&&$(e.declTNode,"Embedded TNodes should have declaration parents."),e.declTNode):e.type===1?t[St]:null}function SC(t,e,n){if(ngDevMode&&rC(t),n&Ee.SkipSelf){ngDevMode&&da(e,t[L]);let s=e,i=t;for(;ngDevMode&&$(s,"Parent TNode should be defined"),s=s.parent,s===null&&!(n&Ee.Host);)if(s=HF(i),s===null||(ngDevMode&&$(i,"Parent LView should be defined"),i=i[vs],s.type&10))break;if(s===null)return!1;e=s,t=i}ngDevMode&&tr(e,t);const r=se.lFrame=IC();return r.currentTNode=e,r.lView=t,!0}function Ug(t){ngDevMode&&er(t[0],t[1],"????"),ngDevMode&&rC(t);const e=IC();ngDevMode&&(Y(e.isParent,!0,"Expected clean LFrame"),Y(e.lView,null,"Expected clean LFrame"),Y(e.tView,null,"Expected clean LFrame"),Y(e.selectedIndex,-1,"Expected clean LFrame"),Y(e.elementDepthCount,0,"Expected clean LFrame"),Y(e.currentDirectiveIndex,-1,"Expected clean LFrame"),Y(e.currentNamespace,null,"Expected clean LFrame"),Y(e.bindingRootIndex,-1,"Expected clean LFrame"),Y(e.currentQueryIndex,0,"Expected clean LFrame"));const n=t[L];se.lFrame=e,ngDevMode&&n.firstChild&&da(n.firstChild,n),e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function IC(){const t=se.lFrame,e=t===null?null:t.child;return e===null?bC(t):e}function bC(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function AC(){const t=se.lFrame;return se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const TC=AC;function qg(){const t=AC();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function UF(t){return(se.lFrame.contextLView=qF(t,se.lFrame.contextLView))[Ye]}function qF(t,e){for(;t>0;)ngDevMode&&$(e[vs],"Declaration view should be defined if nesting level is greater than 0."),e=e[vs],t--;return e}function Gt(){return se.lFrame.selectedIndex}function Ys(t){ngDevMode&&t!==-1&&Cs(t,_e,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&Ws(t,se.lFrame.lView.length,"Can't set index passed end of LView"),se.lFrame.selectedIndex=t}function nt(){const t=se.lFrame;return pC(t.tView,t.selectedIndex)}function xC(){se.lFrame.currentNamespace=cC}function MC(){se.lFrame.currentNamespace=dC}function PC(){GF()}function GF(){se.lFrame.currentNamespace=null}function zF(){return se.lFrame.currentNamespace}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function WF(t,e,n){ngDevMode&&gn(n);const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const o=aC(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}function _d(t,e){ngDevMode&&gn(t);for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[go]+=65536),(a>11>16&&(t[ae]&3)===e){t[ae]+=2048,An(4,a,i);try{i.call(a)}finally{An(5,a,i)}}}else{An(4,a,i);try{i.call(a)}finally{An(5,a,i)}}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Us=-1;class Ju{constructor(e,n,r){this.factory=e,this.resolving=!1,ngDevMode&&$(e,"Factory not specified"),ngDevMode&&Y(typeof e,"function","Expected factory function."),this.canSeeViewProviders=n,this.injectImpl=r}}function KF(t){return t instanceof Ju}function bu(t){let e="";return t&1&&(e+="|Text"),t&2&&(e+="|Element"),t&4&&(e+="|Container"),t&8&&(e+="|ElementContainer"),t&16&&(e+="|Projection"),t&32&&(e+="|IcuContainer"),t&64&&(e+="|Placeholder"),e.length>0?e.substring(1):e}function QF(t){return(t.flags&16)!==0}function YF(t){return(t.flags&32)!==0}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Pt(t,e,n){$(t,"should be called with a TNode"),(t.type&e)===0&&De(n||`Expected [${bu(e)}] but got ${bu(t.type)}.`)}function XF(t){t===2||t===1||t===4||t===8||t===32||t===16||t===64||De(`Expected TNodeType to have only a single type selected, but got ${bu(t)}.`)}function kc(t,e,n){let r=0;for(;re){o=i-1;break}}}for(;i>16}function jo(t,e){let n=JF(t),r=e;for(;n>0;)r=r[vs],n--;return r}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Hh=!0;function Fc(t){const e=Hh;return Hh=t,e}const eR=256,LC=eR-1,OC=5;let tR=0;const gr={};function nR(t,e,n){ngDevMode&&Y(e.firstCreatePass,!0,"expected firstCreatePass to be true");let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(To)&&(r=n[To]),r==null&&(r=n[To]=tR++);const s=r&LC,i=1<>OC)]|=i}function Au(t,e){const n=Gg(t,e);if(n!==-1)return n;const r=e[L];r.firstCreatePass&&(t.injectorIndex=e.length,kp(r.data,t),kp(e,null),kp(r.blueprint,null));const s=Dd(t,e),i=t.injectorIndex;if(RC(s)){const o=$o(s),a=jo(s,e),u=a[L].data;for(let l=0;l<8;l++)e[i+l]=a[o+l]|u[o+l]}return e[i+8]=s,i}function kp(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Gg(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:(ngDevMode&&tt(e,t.injectorIndex),t.injectorIndex)}function Dd(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;s!==null;){if(r=UC(s),r===null)return Us;if(ngDevMode&&r&&tr(r,s[vs]),n++,s=s[vs],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Us}function Rc(t,e,n){nR(t,e,n)}function rR(t,e){if(ngDevMode&&Pt(t,15),ngDevMode&&$(t,"expecting tNode"),e==="class")return t.classes;if(e==="style")return t.styles;const n=t.attrs;if(n){const r=n.length;let s=0;for(;s>20,d=r?a:a+c,p=s?a+c:l;for(let f=d;f=u&&g.type===n)return f}if(s){const f=o[u];if(f&&Yn(f)&&f.type===n)return u}return null}function el(t,e,n,r){let s=t[n];const i=e.data;if(KF(s)){const o=s;o.resolving&&Sg(ve(i[n]));const a=Fc(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?In(o.injectImpl):null,l=SC(t,r,Ee.Default);ngDevMode&&Y(l,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&IF(i[n]),WF(n,i[n],e))}finally{u!==null&&In(u),Fc(a),o.resolving=!1,TC()}}return s}function iR(t){if(ngDevMode&&$(t,"token must be defined"),typeof t=="string")return t.charCodeAt(0)||0;const e=t.hasOwnProperty(To)?t[To]:void 0;return typeof e=="number"?e>=0?e&LC:(ngDevMode&&Y(e,-1,"Expecting to get Special Injector Id"),oR):e}function vE(t,e,n){const r=1<>OC)]&r)}function yE(t,e){return!(t&Ee.Self)&&!(t&Ee.Host&&e)}class Po{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return jC(this._tNode,this._lView,e,r,n)}}function oR(){return new Po(ut(),T())}function HC(t){return ws(()=>{const e=t.prototype.constructor,n=e[ms]||Uh(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const i=s[ms]||Uh(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Uh(t){return wg(t)?()=>{const e=Uh(X(t));return e&&e()}:$i(t)}function aR(t,e,n,r,s){let i=t,o=e;for(;i!==null&&o!==null&&o[ae]&1024&&!(o[ae]&256);){ngDevMode&&tr(i,o);const a=VC(i,o,n,r|Ee.Self,gr);if(a!==gr)return a;let u=i.parent;if(!u){const l=o[tC];if(l){const c=l.get(n,gr,r);if(c!==gr)return c}u=UC(o),o=o[vs]}i=u}return s}function UC(t){const e=t[L],n=e.type;return n===2?(ngDevMode&&$(e.declTNode,"Embedded TNodes should have declaration parents."),e.declTNode):n===1?t[St]:null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function zg(t){return rR(ut(),t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const mo="__annotations__",vo="__parameters__",yo="__prop__metadata__";function ma(t,e,n,r,s){return ws(()=>{const i=Wg(e);function o(...a){if(this instanceof o)return i.call(this,...a),this;const u=new o(...a);return function(c){return s&&s(c,...a),(c.hasOwnProperty(mo)?c[mo]:Object.defineProperty(c,mo,{value:[]})[mo]).push(u),r&&r(c),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function Wg(t){return function(...n){if(t){const r=t(...n);for(const s in r)this[s]=r[s]}}}function va(t,e,n){return ws(()=>{const r=Wg(e);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return a.annotation=o,a;function a(u,l,c){const d=u.hasOwnProperty(vo)?u[vo]:Object.defineProperty(u,vo,{value:[]})[vo];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(o),u}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}function gi(t,e,n,r){return ws(()=>{const s=Wg(e);function i(...o){if(this instanceof i)return s.apply(this,o),this;const a=new i(...o);function u(l,c){const d=l.constructor,p=d.hasOwnProperty(yo)?d[yo]:Object.defineProperty(d,yo,{value:{}})[yo];p[c]=p.hasOwnProperty(c)&&p[c]||[],p[c].unshift(a),r&&r(l,c,...o)}return u}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Zg=va("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>zg(t)}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ge{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?((typeof ngDevMode>"u"||ngDevMode)&&Ws(n,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=n):n!==void 0&&(this.\u0275prov=Ct({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const uR=new ge("AnalyzeForEntryComponents"),qC=!0;class tl{}const lR=gi("ContentChildren",(t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:qC},e),tl),cR=gi("ContentChild",(t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e),tl),dR=gi("ViewChildren",(t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:qC},e),tl),pR=gi("ViewChild",(t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e),tl);/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var H;(function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"})(H||(H={}));var EE;(function(t){t[t.Directive=0]="Directive",t[t.Pipe=1]="Pipe",t[t.NgModule=2]="NgModule"})(EE||(EE={}));var _E;(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"})(_E||(_E={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function pt(t){const e=xe.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;if(typeof ngDevMode>"u"||ngDevMode){console.error(`JIT compilation failed for ${t.kind}`,t.type);let n=`The ${t.kind} '${t.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available. + +`;throw t.usage===1?(n+=`The ${t.kind} is part of a library that has been partially compiled. +`,n+=`However, the Angular Linker has not processed the library such that JIT compilation is used as fallback. +`,n+=` +`,n+=`Ideally, the library is processed using the Angular Linker to become fully AOT compiled. +`):n+=`JIT compilation is discouraged for production use-cases! Consider using AOT mode instead. +`,n+=`Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server', +`,n+=`or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.`,new Error(n)}else throw new Error("JIT compiler unavailable")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Cd=Function;function Ua(t){return typeof t=="function"}function hR(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?ss(n,e):e(n))}function GC(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Lc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Wa(t,e){const n=[];for(let r=0;re;){const i=s-2;t[s]=t[i],s--}t[e]=n,t[e+1]=r}}function yn(t,e,n){let r=nl(t,e);return r>=0?t[r|1]=n:(r=~r,fR(t,r,e,n)),r}function Np(t,e){const n=nl(t,e);if(n>=0)return t[n|1]}function nl(t,e){return gR(t,e,1)}function gR(t,e,n){ngDevMode&&Y(Array.isArray(t),!0,"Expecting an array");let r=0,s=t.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=t[i<e?s=i:r=i+1}return~(s<new e(...n)}_zipTypesAndAnnotations(e,n){let r;typeof e>"u"?r=Wa(n.length):r=Wa(e.length);for(let s=0;s"u"?r[s]=[]:e[s]&&e[s]!=Object?r[s]=[e[s]]:r[s]=[],n&&n[s]!=null&&(r[s]=r[s].concat(n[s]));return r}_ownParameters(e,n){const r=e.toString();if(_R(r))return null;if(e.parameters&&e.parameters!==n.parameters)return e.parameters;const s=e.ctorParameters;if(s&&s!==n.ctorParameters){const a=typeof s=="function"?s():s,u=a.map(c=>c&&c.type),l=a.map(c=>c&&Fp(c.decorators));return this._zipTypesAndAnnotations(u,l)}const i=e.hasOwnProperty(vo)&&e[vo],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return o||i?this._zipTypesAndAnnotations(o,i):Wa(e.length)}parameters(e){if(!Ua(e))return[];const n=Tl(e);let r=this._ownParameters(e,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(e,n){if(e.annotations&&e.annotations!==n.annotations){let r=e.annotations;return typeof r=="function"&&r.annotations&&(r=r.annotations),r}return e.decorators&&e.decorators!==n.decorators?Fp(e.decorators):e.hasOwnProperty(mo)?e[mo]:null}annotations(e){if(!Ua(e))return[];const n=Tl(e),r=this._ownAnnotations(e,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(e,n){if(e.propMetadata&&e.propMetadata!==n.propMetadata){let r=e.propMetadata;return typeof r=="function"&&r.propMetadata&&(r=r.propMetadata),r}if(e.propDecorators&&e.propDecorators!==n.propDecorators){const r=e.propDecorators,s={};return Object.keys(r).forEach(i=>{s[i]=Fp(r[i])}),s}return e.hasOwnProperty(yo)?e[yo]:null}propMetadata(e){if(!Ua(e))return{};const n=Tl(e),r={};if(n!==Object){const i=this.propMetadata(n);Object.keys(i).forEach(o=>{r[o]=i[o]})}const s=this._ownPropMetadata(e,n);return s&&Object.keys(s).forEach(i=>{const o=[];r.hasOwnProperty(i)&&o.push(...r[i]),o.push(...s[i]),r[i]=o}),r}ownPropMetadata(e){return Ua(e)?this._ownPropMetadata(e,Tl(e))||{}:{}}hasLifecycleHook(e,n){return e instanceof Cd&&n in e.prototype}}function Fp(t){return t?t.map(e=>{const r=e.type.annotationCls,s=e.args?e.args:[];return new r(...s)}):[]}function Tl(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const DR={},qs=DR,qh="__NG_DI_FLAG__",Oc="ngTempTokenPath",CR="ngTokenPath",wR=/\n/gm,SR="\u0275",DE="__source";let Za;function Di(t){const e=Za;return Za=t,e}function IR(t,e=Ee.Default){if(Za===void 0)throw new B(-203,ngDevMode&&"inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `EnvironmentInjector#runInContext`.");return Za===null?K2(t,void 0,e):Za.get(t,e&Ee.Optional?null:void 0,e)}function We(t,e=Ee.Default){return(mF()||IR)(X(t),e)}function Kg(t){throw new B(202,ngDevMode&&`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${t} of the parameter list is invalid. +This can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator. + +Please check that 1) the type for the parameter at index ${t} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`)}function At(t,e=Ee.Default){return typeof e!="number"&&(e=0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)),We(t,e)}function Gh(t){const e=[];for(let n=0;n ");else if(typeof e=="object"){let i=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];i.push(o+":"+(typeof a=="string"?JSON.stringify(a):ue(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(wR,` + `)}`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Be=rl(va("Inject",t=>({token:t})),-1),zt=rl(va("Optional"),8),wd=rl(va("Self"),2),to=rl(va("SkipSelf"),4),sl=rl(va("Host"),1);/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let CE=null;function il(){return CE=CE||new zC}function Sd(t){return WC(il().parameters(t))}function WC(t){return t.map(e=>xR(e))}function xR(t){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let n=0;n{const o=[];s.templateUrl&&o.push(r(s.templateUrl).then(d=>{s.template=d}));const a=s.styleUrls,u=s.styles||(s.styles=[]),l=s.styles.length;a&&a.forEach((d,p)=>{u.push(""),o.push(r(d).then(f=>{u[l+p]=f,a.splice(a.indexOf(d),1),a.length==0&&(s.styleUrls=void 0)}))});const c=Promise.all(o).then(()=>NR(i));e.push(c)}),YC(),Promise.all(e).then(()=>{})}let Tu=new Map;const KC=new Set;function MR(t,e){QC(e)&&(Tu.set(t,e),KC.add(t))}function QC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length)}function YC(){const t=Tu;return Tu=new Map,t}function PR(){return Tu.size===0}function kR(t){return typeof t=="string"?t:t.text()}function NR(t){KC.delete(t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const zh=new Map;let XC=!0;function FR(t,e,n){if(e&&e!==n&&XC)throw new Error(`Duplicate module registered for ${t} - ${ue(e)} vs ${ue(e.name)}`)}function Qg(t,e){const n=zh.get(e)||null;FR(e,n,t),zh.set(e,t)}function JC(t){return zh.get(t)}function RR(t){XC=!t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Wh;function ew(t){Wh=t}function tw(){if(Wh!==void 0)return Wh;if(typeof document<"u")return document}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let xl;function Yg(){if(xl===void 0&&(xl=null,xe.trustedTypes))try{xl=xe.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return xl}function Vo(t){var e;return((e=Yg())===null||e===void 0?void 0:e.createHTML(t))||t}function LR(t){var e;return((e=Yg())===null||e===void 0?void 0:e.createScript(t))||t}function OR(t){var e;return((e=Yg())===null||e===void 0?void 0:e.createScriptURL(t))||t}function BR(...t){if(typeof ngDevMode>"u")throw new Error("newTrustedFunctionForDev should never be called in production");if(!xe.trustedTypes)return new Function(...t);const e=t.slice(0,-1).join(","),n=t[t.length-1],r=`(function anonymous(${e} +) { ${n} +})`,s=xe.eval(LR(r));return s.bind===void 0?new Function(...t):(s.toString=()=>r,s.bind(xe))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Ml;function Xg(){if(Ml===void 0&&(Ml=null,xe.trustedTypes))try{Ml=xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ml}function wE(t){var e;return((e=Xg())===null||e===void 0?void 0:e.createHTML(t))||t}function SE(t){var e;return((e=Xg())===null||e===void 0?void 0:e.createScript(t))||t}function IE(t){var e;return((e=Xg())===null||e===void 0?void 0:e.createScriptURL(t))||t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class no{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class $R extends no{getTypeName(){return"HTML"}}class jR extends no{getTypeName(){return"Style"}}class VR extends no{getTypeName(){return"Script"}}class HR extends no{getTypeName(){return"URL"}}class UR extends no{getTypeName(){return"ResourceURL"}}function Qt(t){return t instanceof no?t.changingThisBreaksApplicationSecurity:t}function Vn(t,e){const n=nw(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function nw(t){return t instanceof no&&t.getTypeName()||null}function rw(t){return new $R(t)}function sw(t){return new jR(t)}function iw(t){return new VR(t)}function ow(t){return new HR(t)}function aw(t){return new UR(t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function uw(t){const e=new GR(t);return zR()?new qR(e):e}class qR{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=new window.DOMParser().parseFromString(Vo(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}}class GR{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertDocument.body==null){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(e){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Vo(e),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Vo(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const n=e.attributes;for(let s=n.length-1;0"u"||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see https://g.co/ng/security#xss)`),"unsafe:"+t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Is(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function al(...t){const e={};for(const n of t)for(const r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}const lw=Is("area,br,col,hr,img,wbr"),cw=Is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dw=Is("rp,rt"),ZR=al(dw,cw),KR=al(cw,Is("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),QR=al(dw,Is("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Zh=al(lw,KR,QR,ZR),Jg=Is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),YR=Is("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),XR=Is("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),pw=al(Jg,YR,XR),JR=Is("script,style,template");class eL{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0;for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){n=n.firstChild;continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}}return this.buf.join("")}startElement(e){const n=e.nodeName.toLowerCase();if(!Zh.hasOwnProperty(n))return this.sanitizedSomething=!0,!JR.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=e.attributes;for(let s=0;s"),!0}endElement(e){const n=e.nodeName.toLowerCase();Zh.hasOwnProperty(n)&&!lw.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(bE(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}}const tL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nL=/([^\#-~ |!])/g;function bE(t){return t.replace(/&/g,"&").replace(tL,function(e){const n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(nL,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Pl;function em(t,e){let n=null;try{Pl=Pl||uw(t);let r=e?String(e):"";n=Pl.getInertBodyElement(r);let s=5,i=r;do{if(s===0)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Pl.getInertBodyElement(r)}while(r!==i);const o=new eL,a=o.sanitizeChildren(Kh(n)||n);return(typeof ngDevMode>"u"||ngDevMode)&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss"),Vo(a)}finally{if(n){const r=Kh(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Kh(t){return"content"in t&&rL(t)?t.content:null}function rL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var Zt;(function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"})(Zt||(Zt={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function hw(t){const e=ul();return e?wE(e.sanitize(Zt.HTML,t)||""):Vn(t,"HTML")?wE(Qt(t)):em(tw(),oe(t))}function fw(t){const e=ul();return e?e.sanitize(Zt.STYLE,t)||"":Vn(t,"Style")?Qt(t):oe(t)}function tm(t){const e=ul();return e?e.sanitize(Zt.URL,t)||"":Vn(t,"URL")?Qt(t):ol(oe(t))}function nm(t){const e=ul();if(e)return IE(e.sanitize(Zt.RESOURCE_URL,t)||"");if(Vn(t,"ResourceURL"))return IE(Qt(t));throw new B(904,ngDevMode&&"unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function gw(t){const e=ul();if(e)return SE(e.sanitize(Zt.SCRIPT,t)||"");if(Vn(t,"Script"))return SE(Qt(t));throw new B(905,ngDevMode&&"unsafe value used in a script context")}function mw(t){if(ngDevMode&&(!Array.isArray(t)||!Array.isArray(t.raw)||t.length!==1))throw new Error(`Unexpected interpolation in trusted HTML constant: ${t.join("?")}`);return Vo(t[0])}function vw(t){if(ngDevMode&&(!Array.isArray(t)||!Array.isArray(t.raw)||t.length!==1))throw new Error(`Unexpected interpolation in trusted URL constant: ${t.join("?")}`);return OR(t[0])}function sL(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?nm:tm}function yw(t,e,n){return sL(e,n)(t)}function iL(t){if(t.toLowerCase().startsWith("on")){const e=`Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=... +If '${t}' is a directive input, make sure the directive is imported by the current module.`;throw new B(306,e)}}function oL(t){if(t.toLowerCase().startsWith("on")){const e=`Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...`;throw new B(306,e)}}function ul(){const t=T();return t&&t[xc]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const rm=new ge("ENVIRONMENT_INITIALIZER");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const sm=new ge("INJECTOR",-1);/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Ew=new ge("INJECTOR_DEF_TYPES");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class _w{get(e,n=qs){if(n===qs){const r=new Error(`NullInjectorError: No provider for ${ue(e)}!`);throw r.name="NullInjectorError",r}return n}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Dw(...t){return{\u0275providers:Cw(!0,t)}}function Cw(t,...e){const n=[],r=new Set;let s;return ss(e,i=>{if((typeof ngDevMode>"u"||ngDevMode)&&t){const a=Me(i);if(a!=null&&a.standalone)throw new B(800,`Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${ve(i)}"`)}const o=i;Qh(o,n,[],r)&&(s||(s=[]),s.push(o))}),s!==void 0&&ww(s,n),n}function ww(t,e){for(let n=0;n{ngDevMode&&Sw(i,s||we,r),e.push(i)})}}function Qh(t,e,n,r){if(t=X(t),!t)return!1;let s=null,i=pE(t);const o=!i&&Me(t);if(!i&&!o){const u=t.ngModule;if(i=pE(u),i)s=u;else return!1}else{if(o&&!o.standalone)return!1;s=t}if(ngDevMode&&n.indexOf(s)!==-1){const u=ue(s),l=n.map(ue);Sg(u,l)}const a=r.has(s);if(o){if(a)return!1;if(r.add(s),o.dependencies){const u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(const l of u)Qh(l,e,n,r)}}else if(i){if(i.imports!=null&&!a){ngDevMode&&n.push(s),r.add(s);let l;try{ss(i.imports,c=>{Qh(c,e,n,r)&&(l||(l=[]),l.push(c))})}finally{ngDevMode&&n.pop()}l!==void 0&&ww(l,e)}if(!a){const l=$i(s)||(()=>new s);e.push({provide:s,useFactory:l,deps:we},{provide:Ew,useValue:s,multi:!0},{provide:rm,useValue:()=>We(s),multi:!0})}const u=i.providers;if(u!=null&&!a){const l=t;ss(u,c=>{ngDevMode&&Sw(c,u,l),e.push(c)})}}else return!1;return s!==t&&t.providers!==void 0}function Sw(t,e,n){if(ji(t)||im(t)||bw(t)||Iw(t))return;X(t&&(t.useClass||t.provide))||Oh(n,e,t)}const aL=He({provide:String,useValue:He});function im(t){return t!==null&&typeof t=="object"&&aL in t}function Iw(t){return!!(t&&t.useExisting)}function bw(t){return!!(t&&t.useFactory)}function ji(t){return typeof t=="function"}function uL(t){return!!t.useClass}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Id=new ge("Set Injector scope.");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Jl={},AE={};let Rp;function bd(){return Rp===void 0&&(Rp=new _w),Rp}class Xs{}class Aw extends Xs{constructor(e,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xh(e,o=>this.processProvider(o)),this.records.set(sm,Eo(void 0,this)),s.has("environment")&&this.records.set(Xs,Eo(void 0,this));const i=this.records.get(Id);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ew.multi,we,Ee.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const n=Di(this),r=In(void 0);try{return e()}finally{Di(n),In(r)}}get(e,n=qs,r=Ee.Default){this.assertNotDestroyed();const s=Di(this),i=In(void 0);try{if(!(r&Ee.SkipSelf)){let a=this.records.get(e);if(a===void 0){const u=hL(e)&&Zu(e);u&&this.injectableDefInScope(u)?a=Eo(Yh(e),Jl):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}const o=r&Ee.Self?bd():this.parent;return n=r&Ee.Optional&&n===qs?null:n,o.get(e,n)}catch(o){if(o.name==="NullInjectorError"){if((o[Oc]=o[Oc]||[]).unshift(ue(e)),s)throw o;return AR(o,e,"R3InjectorError",this.source)}else throw o}finally{In(i),Di(s)}}resolveInjectorInitializers(){const e=Di(this),n=In(void 0);try{const r=this.get(rm.multi,we,Ee.Self);if(ngDevMode&&!Array.isArray(r))throw new B(209,`Unexpected type of the \`ENVIRONMENT_INITIALIZER\` token value (expected an array, but got ${typeof r}). Please check that the \`ENVIRONMENT_INITIALIZER\` token is configured as a \`multi: true\` provider.`);for(const s of r)s()}finally{Di(e),In(n)}}toString(){const e=[],n=this.records;for(const r of n.keys())e.push(ue(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,ngDevMode&&"Injector has already been destroyed.")}processProvider(e){e=X(e);let n=ji(e)?e:X(e&&e.provide);const r=cL(e);if(!ji(e)&&e.multi===!0){let s=this.records.get(n);s?ngDevMode&&s.multi===void 0&&cE():(s=Eo(void 0,Jl,!0),s.factory=()=>Gh(s.multi),this.records.set(n,s)),n=e,s.multi.push(e)}else{const s=this.records.get(n);ngDevMode&&s&&s.multi!==void 0&&cE()}this.records.set(n,r)}hydrate(e,n){return ngDevMode&&n.value===AE?Sg(ue(e)):n.value===Jl&&(n.value=AE,n.value=n.factory()),typeof n.value=="object"&&n.value&&pL(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=X(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Yh(t){const e=Zu(t),n=e!==null?e.factory:$i(t);if(n!==null)return n;if(t instanceof ge)throw new B(204,ngDevMode&&`Token ${ue(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return lL(t);throw new B(204,ngDevMode&&"unreachable")}function lL(t){const e=t.length;if(e>0){const r=Wa(e,"?");throw new B(204,ngDevMode&&`Can't resolve all parameters for ${ue(t)}: (${r.join(", ")}).`)}const n=hF(t);return n!==null?()=>n.factory(t):()=>new t}function cL(t){if(im(t))return Eo(void 0,t.useValue);{const e=Tw(t);return Eo(e,Jl)}}function Tw(t,e,n){let r;if(ngDevMode&&xw(t)&&Oh(void 0,n,t),ji(t)){const s=X(t);return $i(s)||Yh(s)}else if(im(t))r=()=>X(t.useValue);else if(bw(t))r=()=>t.useFactory(...Gh(t.deps||[]));else if(Iw(t))r=()=>We(X(t.useExisting));else{const s=X(t&&(t.useClass||t.provide));if(ngDevMode&&!s&&Oh(e,n,t),dL(t))r=()=>new s(...Gh(t.deps));else return $i(s)||Yh(s)}return r}function Eo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function dL(t){return!!t.deps}function pL(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function hL(t){return typeof t=="function"||typeof t=="object"&&t instanceof ge}function xw(t){return!!t.\u0275providers}function Xh(t,e){for(const n of t)Array.isArray(n)?Xh(n,e):xw(n)?Xh(n.\u0275providers,e):e(n)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Mw{}class Bc{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function fL(t){const e=Error(`No component factory found for ${ue(t)}. Did you add it to @NgModule.entryComponents?`);return e[gL]=t,e}const gL="ngComponent";class mL{resolveComponentFactory(e){throw fL(e)}}class ya{}ya.NULL=new mL;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function vL(){return Ea(ut(),T())}function Ea(t,e){return new nr(vn(t,e))}class nr{constructor(e){this.nativeElement=e}}nr.__NG_ELEMENT_ID__=vL;function yL(t){return t instanceof nr?t.nativeElement:t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */new ge("Renderer2Interceptor");class om{}class ro{}ro.__NG_ELEMENT_ID__=()=>EL();function EL(){const t=T(),e=ut(),n=mn(e.index,t);return(pn(n)?n:t)[le]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class $c{}$c.\u0275prov=Ct({token:$c,providedIn:"root",factory:()=>null});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Ad{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Pw=new Ad("14.2.6");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const ec={};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const kw={name:"custom-elements"},Nw={name:"no-errors-schema"};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let am=!1;function _L(t){am=t}function DL(){return am}let um=!1;function CL(t){um=t}function wL(){return um}function SL(t,e,n,r,s){if(r!==null&&!s&&n!==null&&(typeof HTMLUnknownElement<"u"&&HTMLUnknownElement&&t instanceof HTMLUnknownElement||typeof customElements<"u"&&n.indexOf("-")>-1&&!customElements.get(n))&&!cm(r,n)){const o=lm(e),a=Lw(e),u=`'${o?"@Component":"@NgModule"}.schemas'`;let l=`'${n}' is not a known element${a}: +`;if(l+=`1. If '${n}' is an Angular component, then verify that it is ${o?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared"}. +`,n&&n.indexOf("-")>-1?l+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${u} of this component to suppress this message.`:l+=`2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${u} of this component.`,am)throw new B(304,l);console.error(Er(304,l))}}function IL(t,e,n,r){return r===null||cm(r,n)||e in t||FC(e)?!0:typeof Node>"u"||Node===null||!(t instanceof Node)}function TE(t,e,n,r){!e&&n===4&&(e="ng-template");const s=lm(r),i=Lw(r);let o=`Can't bind to '${t}' since it isn't a known property of '${e}'${i}.`;const a=`'${s?"@Component":"@NgModule"}.schemas'`,u=s?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared";if(xE.has(t)){const l=xE.get(t);o+=` +If the '${t}' is an Angular control flow directive, please make sure that either the '${l}' directive or the 'CommonModule' is ${u}.`}else o+=` +1. If '${e}' is an Angular component and it has the '${t}' input, then verify that it is ${u}.`,e&&e.indexOf("-")>-1?(o+=` +2. If '${e}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${a} of this component to suppress this message.`,o+=` +3. To allow any property add 'NO_ERRORS_SCHEMA' to the ${a} of this component.`):o+=` +2. To allow any property add 'NO_ERRORS_SCHEMA' to the ${a} of this component.`;Fw(o)}function Fw(t){if(um)throw new B(303,t);console.error(Er(303,t))}function Rw(t){!ngDevMode&&De("Must never be called in production mode");const n=t[Mt][Ye];return n&&n.constructor?Me(n.constructor):null}function lm(t){!ngDevMode&&De("Must never be called in production mode");const e=Rw(t);return!!(e!=null&&e.standalone)}function Lw(t){var e;!ngDevMode&&De("Must never be called in production mode");const n=Rw(t),r=(e=n==null?void 0:n.type)===null||e===void 0?void 0:e.name;return r?` (used in the '${r}' component template)`:""}const xE=new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function cm(t,e){if(t!==null)for(let n=0;n-1)return!0}return!1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const dm="ngOriginalError";function bL(t,e){const n=`${t} caused by: ${e instanceof Error?e.message:e}`,r=Error(n);return r[dm]=e,r}function Lp(t){return t[dm]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class mi{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Lp(e);for(;n&&Lp(n);)n=Lp(n);return n||null}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const AL=/^>|^->||--!>|)/,xL="\u200B$1\u200B";function Ow(t){return t.replace(AL,e=>e.replace(TL,xL))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function ML(t){return t=kL(t.replace(/[$@]/g,"_")),`ng-reflect-${t}`}const PL=/([A-Z])/g;function kL(t){return t.replace(PL,(...e)=>"-"+e[1].toLowerCase())}function NL(t){try{return t!=null?t.toString().slice(0,30):t}catch{return"[ERROR] Exception while trying to serialize the value"}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const pm=new Map;let FL=0;function RL(){return FL++}function LL(t){ngDevMode&&Oe(t[Ks],"LView must have an ID in order to be registered"),pm.set(t[Ks],t)}function Bw(t){return ngDevMode&&Oe(t,"ID used for LView lookup must be a number"),pm.get(t)||null}function OL(t){ngDevMode&&Oe(t[Ks],"Cannot stop tracking an LView that does not have an ID"),pm.delete(t[Ks])}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class $w{constructor(e,n,r){this.lViewId=e,this.nodeIndex=n,this.native=r}get lView(){return Bw(this.lViewId)}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Jt(t){let e=Ka(t);if(e){if(pn(e)){const n=e;let r,s,i;if(BL(t)){if(r=Hw(n,t),r==-1)throw new Error("The provided component was not found in the application");s=t}else if($L(t)){if(r=VL(n,t),r==-1)throw new Error("The provided directive was not found in the application");i=Uw(r,n,!1)}else if(r=ME(n,t),r==-1)return null;const o=at(n[r]),a=Ka(o),u=a&&!Array.isArray(a)?a:Jh(n,r,o);if(s&&u.component===void 0&&(u.component=s,Tt(u.component,u)),i&&u.directives===void 0){u.directives=i;for(let l=0;l=0){const a=at(i[o]),u=Jh(i,o,a);Tt(a,u),e=u;break}}}}return e||null}function Jh(t,e,n){return new $w(t[Ks],e,n)}function jw(t){let e=Ka(t),n;if(pn(e)){const r=e,s=Hw(r,t);n=mn(s,r);const i=Jh(r,s,n[kn]);i.component=t,Tt(t,i),Tt(i.native,i)}else{const r=e,s=r.lView;ngDevMode&&pa(s),n=mn(r.nodeIndex,s)}return n}const ef="__ngContext__";function Tt(t,e){ngDevMode&&$(t,"Target expected"),pn(e)?(t[ef]=e[Ks],LL(e)):t[ef]=e}function Ka(t){ngDevMode&&$(t,"Target expected");const e=t[ef];return typeof e=="number"?Bw(e):e||null}function Vw(t){const e=Ka(t);return e?pn(e)?e:e.lView:null}function BL(t){return t&&t.constructor&&t.constructor.\u0275cmp}function $L(t){return t&&t.constructor&&t.constructor.\u0275dir}function ME(t,e){const n=t[L];for(let r=_e;r-1?PE(t,e,e,i,r):{propName:i,oldValue:n,newValue:r};if(i===null){let o=e-1;for(;typeof s[o]!="string"&&s[o+1]===null;)o--;const a=s[o];if(typeof a=="string"){const u=a.match(new RegExp(Ho,"g"));if(u&&u.length-1>e-o)return PE(t,o,e,a,r)}}return{propName:void 0,oldValue:n,newValue:r}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var mr;(function(t){t[t.Important=1]="Important",t[t.DashCase=2]="DashCase"})(mr||(mr={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let tf;function hm(t,e){return tf(t,e)}function ZL(t){tf===void 0&&(tf=t())}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function ll(t){ngDevMode&&pa(t);const e=t[Qe];return Ln(e)?e[Qe]:e}function KL(t){ngDevMode&&$(t,"component");let e=pn(t)?t:Vw(t);for(;e&&!(e[ae]&256);)e=ll(e);return ngDevMode&&pa(e),e}function QL(t){const e=KL(t);return ngDevMode&&$(e[Ye],"Root view has no context. Perhaps it is disconnected?"),e[Ye]}function fm(t){return Zw(t[Bo])}function gm(t){return Zw(t[cn])}function Zw(t){for(;t!==null&&!Ln(t);)t=t[cn];return t}function _o(t,e,n,r,s){if(r!=null){let i,o=!1;Ln(r)?i=r:pn(r)&&(o=!0,ngDevMode&&$(r[kn],"HOST must be defined for a component LView"),r=r[kn]);const a=at(r);t===0&&n!==null?s==null?e1(e,n,a):Vi(e,n,a,s||null,!0):t===1&&n!==null?Vi(e,n,a,s||null,!0):t===2?o1(e,a,o):t===3&&(ngDevMode&&ngDevMode.rendererDestroyNode++,e.destroyNode(a)),i!=null&&lO(e,t,i,n,s)}}function mm(t,e){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,t.createText(e)}function Kw(t,e,n){ngDevMode&&ngDevMode.rendererSetText++,t.setValue(e,n)}function YL(t,e){return ngDevMode&&ngDevMode.rendererCreateComment++,t.createComment(Ow(e))}function vm(t,e,n){return ngDevMode&&ngDevMode.rendererCreateElement++,t.createElement(e,n)}function XL(t,e){const n=e[le];cl(t,e,n,2,null,null),e[kn]=null,e[St]=null}function JL(t,e,n,r,s,i){r[kn]=s,r[St]=e,cl(t,r,n,1,s,i)}function eO(t,e){cl(t,e,e[le],2,null,null)}function tO(t){let e=t[Bo];if(!e)return Op(t[L],t);for(;e;){let n=null;if(pn(e))n=e[Bo];else{ngDevMode&&Ar(e);const r=e[yt];r&&(n=r)}if(!n){for(;e&&!e[cn]&&e!==t;)pn(e)&&Op(e[L],e),e=e[Qe];e===null&&(e=t),pn(e)&&Op(e[L],e),n=e&&e[cn]}e=n}}function nO(t,e,n,r){ngDevMode&&pa(e),ngDevMode&&Ar(n);const s=yt+r,i=n.length;r>0&&(n[s-1][cn]=e),r0&&(t[n-1][cn]=r[cn]);const i=Lc(t,yt+e);XL(r[L],r);const o=i[dn];o!==null&&o.detachView(i[L]),r[Qe]=null,r[cn]=null,r[ae]&=-65}return r}function Yw(t,e){if(!(e[ae]&128)){const n=e[le];n.destroyNode&&cl(t,e,n,3,null,null),tO(e)}}function Op(t,e){if(!(e[ae]&128)){e[ae]&=-65,e[ae]|=128,iO(t,e),sO(t,e),e[L].type===1&&(ngDevMode&&ngDevMode.rendererDestroy++,e[le].destroy());const n=e[Yu];if(n!==null&&Ln(e[Qe])){n!==e[Qe]&&Qw(n,e);const r=e[dn];r!==null&&r.detachView(t)}OL(e)}}function sO(t,e){const n=t.cleanup,r=e[Bi];let s=-1;if(n!==null)for(let i=0;i=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const o=r[s=n[i+1]];n[i].call(o)}if(r!==null){for(let i=s+1;ii?p="":(ngDevMode&&er(s[d],0,"We do not match directives on namespaced attributes"),p=s[d+1].toLowerCase());const f=r&8?p:null;if(f&&l1(f,l,0)!==-1||r&2&&l!==p){if($n(r))return!1;o=!0}}}}return $n(r)||o}function $n(t){return(t&1)===0}function fO(t,e,n,r){if(e===null)return-1;let s=0;if(r||!n){let i=!1;for(;s-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?s+="."+o:r&4&&(s+=" "+o);else s!==""&&!$n(o)&&(e+=NE(i,s),s=""),r=o,i=i||!$n(r);n++}return s!==""&&(e+=NE(i,s)),e}function _O(t){return t.map(EO).join(",")}function DO(t){const e=[],n=[];let r=1,s=2;for(;r"u"||ngDevMode?{__brand__:"NO_CHANGE"}:{};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function h1(t){ngDevMode&&ca(t,0,"Can only advance forward"),f1(ie(),T(),Gt()+t,!!ngDevMode&&fa())}function f1(t,e,n,r){if(ngDevMode&&bF(e,n),!r)if((e[ae]&3)===3){const i=t.preOrderCheckHooks;i!==null&&Ql(e,i,n)}else{const i=t.preOrderHooks;i!==null&&Yl(e,i,0,n)}Ys(n)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const FE={\u0275\u0275defineInjectable:Ct,\u0275\u0275defineInjector:fd,\u0275\u0275inject:We,\u0275\u0275invalidFactoryDep:Kg,resolveForwardRef:X};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function CO(t,e){let n=null,r=null;t.hasOwnProperty(wu)||Object.defineProperty(t,wu,{get:()=>(n===null&&(n=pt({usage:0,kind:"injectable",type:t}).compileInjectable(FE,`ng:///${t.name}/\u0275prov.js`,bO(t,e))),n)}),t.hasOwnProperty(ms)||Object.defineProperty(t,ms,{get:()=>{if(r===null){const s=pt({usage:0,kind:"injectable",type:t});r=s.compileFactory(FE,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Sd(t),target:s.FactoryTarget.Injectable})}return r},configurable:!0})}const wO=He({provide:String,useValue:He});function RE(t){return t.useClass!==void 0}function SO(t){return wO in t}function LE(t){return t.useFactory!==void 0}function IO(t){return t.useExisting!==void 0}function bO(t,e){const n=e||{providedIn:null},r={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn};return(RE(n)||LE(n))&&n.deps!==void 0&&(r.deps=WC(n.deps)),RE(n)?r.useClass=n.useClass:SO(n)?r.useValue=n.useValue:LE(n)?r.useFactory=n.useFactory:IO(n)&&(r.useExisting=n.useExisting),r}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Ae=ma("Injectable",void 0,void 0,void 0,(t,e)=>CO(t,e));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function of(t,e=null,n=null,r){const s=g1(t,e,n,r);return s.resolveInjectorInitializers(),s}function g1(t,e=null,n=null,r,s=new Set){const i=[n||we,Dw(t)];return r=r||(typeof t=="object"?void 0:ue(t)),new Aw(i,e||bd(),r||null,s)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class _t{static create(e,n){var r;if(Array.isArray(e))return of({name:""},n,e,"");{const s=(r=e.name)!==null&&r!==void 0?r:"";return of({name:s},e.parent,e.providers,s)}}}_t.THROW_IF_NOT_FOUND=qs;_t.NULL=new _w;_t.\u0275prov=Ct({token:_t,providedIn:"any",factory:()=>We(sm)});_t.__NG_ELEMENT_ID__=-1;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function AO(t){const e=[];for(let n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function _m(t){if(t.length>1){const n=AO(t.slice().reverse()).map(r=>ue(r.token));return" ("+n.join(" -> ")+")"}return""}function Dm(t,e,n,r){const s=[e],i=n(s),o=r?bL(i,r):Error(i);return o.addKey=TO,o.keys=s,o.injectors=[t],o.constructResolvingMessage=n,o[dm]=r,o}function TO(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function xO(t,e){return Dm(t,e,function(n){return`No provider for ${ue(n[0].token)}!${_m(n)}`})}function MO(t,e){return Dm(t,e,function(n){return`Cannot instantiate cyclic dependency!${_m(n)}`})}function PO(t,e,n,r){return Dm(t,r,function(s){const i=ue(s[0].token);return`${e.message}: Error during instantiation of ${i}!${_m(s)}.`},e)}function kO(t){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`)}function m1(t,e){const n=[];for(let r=0,s=e.length;rr,n=[Md.fromKey(ls.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=VO(t.useFactory,t.deps)):(e=()=>t.useValue,n=LO);return new y1(e,n)}function BO(t){return new v1(ls.get(t.provide),[OO(t)],t.multi||!1)}function $O(t){const n=E1(t,[]).map(BO),r=jO(n,new Map);return Array.from(r.values())}function jO(t,e){for(let n=0;n{if(n instanceof Cd)e.push({provide:n,useClass:n});else if(n&&typeof n=="object"&&n.provide!==void 0)e.push(n);else if(Array.isArray(n))E1(n,e);else throw kO(n)}),e}function VO(t,e){if(e){const n=e.map(r=>[r]);return e.map(r=>D1(t,r,n))}else return _1(t)}function _1(t){const e=il().parameters(t);if(!e)return[];if(e.some(n=>n==null))throw m1(t,e);return e.map(n=>D1(t,n,e))}function D1(t,e,n){let r=null,s=!1;if(!Array.isArray(e))return e instanceof Be?Bp(e.token,s,null):Bp(e,s,null);let i=null;for(let o=0;o=this._providers.length)throw NO(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw MO(this,e.key);return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const n=[];for(let r=0;rthis._getByReflectiveDependency(o))}catch(o){throw o.addKey&&o.addKey(this,e.key),o}let i;try{i=r(...s)}catch(o){throw PO(this,o,o.stack,e.key)}return i}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:qs)}_getByKey(e,n,r){return e===ko.INJECTOR_KEY?this:n instanceof wd?this._getByKeySelf(e,r):this._getByKeyDefault(e,r,n)}_getObjByKeyId(e){for(let n=0;n' "'+n.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}ko.INJECTOR_KEY=ls.get(_t);function HO(t,e){const n=[];for(let r=0;r>17&32767}function w1(t){return ngDevMode&&Oe(t,"expected number"),(t&2)==2}function UO(t,e){return ngDevMode&&Oe(t,"expected number"),ngDevMode&&Cu(e,0,32767),t&131071|e<<17}function af(t){return ngDevMode&&Oe(t,"expected number"),t|2}function ys(t){return ngDevMode&&Oe(t,"expected number"),(t&131068)>>2}function $p(t,e){return ngDevMode&&Oe(t,"expected number"),ngDevMode&&Cu(e,0,32767),t&-131069|e<<2}function S1(t){return ngDevMode&&Oe(t,"expected number"),(t&1)===1}function uf(t){return ngDevMode&&Oe(t,"expected number"),t|1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function I1(t,e){if(ngDevMode)Object.defineProperty(t,"debug",{value:e,enumerable:!1});else throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!")}function Pi(t,e){if(ngDevMode)Object.defineProperty(t,"debug",{get:e,enumerable:!1});else throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Nl,Fl,jp,Vp,Hp;function qO(t){return ZO(t.type,t.template&&t.template.name).concat(t.blueprint)}class GO extends Array{}class zO extends Array{}class WO extends Array{}function ZO(t,e){switch(t){case 0:return jp===void 0&&(jp=new GO),jp;case 1:if(!ngDevMode||!ngDevMode.namedConstructors)return Vp===void 0&&(Vp=new zO),Vp;Nl===void 0&&(Nl=new Map);let n=Nl.get(e);return n===void 0&&(n=new(BE("LComponentView"+$E(e))),Nl.set(e,n)),n;case 2:if(!ngDevMode||!ngDevMode.namedConstructors)return Hp===void 0&&(Hp=new WO),Hp;Fl===void 0&&(Fl=new Map);let r=Fl.get(e);return r===void 0&&(r=new(BE("LEmbeddedView"+$E(e))),Fl.set(e,r)),r}}function $E(t){if(t==null)return"";const e=t.lastIndexOf("_Template");return"_"+(e===-1?t:t.slice(0,e))}const KO=class{constructor(e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y,w,E,v,A,M,j,ee,O,z,k,P,V,te,Fe,Ce,me){this.type=e,this.blueprint=n,this.template=r,this.queries=s,this.viewQuery=i,this.declTNode=o,this.data=a,this.bindingStartIndex=u,this.expandoStartIndex=l,this.hostBindingOpCodes=c,this.firstCreatePass=d,this.firstUpdatePass=p,this.staticViewQueries=f,this.staticContentQueries=g,this.preOrderHooks=m,this.preOrderCheckHooks=y,this.contentHooks=w,this.contentCheckHooks=E,this.viewHooks=v,this.viewCheckHooks=A,this.destroyHooks=M,this.cleanup=j,this.contentQueries=ee,this.components=O,this.directiveRegistry=z,this.pipeRegistry=k,this.firstChild=P,this.schemas=V,this.consts=te,this.incompleteFirstPass=Fe,this._decls=Ce,this._vars=me}get template_(){const e=[];return b1(this.firstChild,e),e.join("")}get type_(){return DF[this.type]||`TViewType.?${this.type}?`}};class QO{constructor(e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y,w,E,v,A,M,j,ee,O,z,k,P,V,te,Fe,Ce,me){this.tView_=e,this.type=n,this.index=r,this.insertBeforeIndex=s,this.injectorIndex=i,this.directiveStart=o,this.directiveEnd=a,this.directiveStylingLast=u,this.propertyBindings=l,this.flags=c,this.providerIndexes=d,this.value=p,this.attrs=f,this.mergedAttrs=g,this.localNames=m,this.initialInputs=y,this.inputs=w,this.outputs=E,this.tViews=v,this.next=A,this.projectionNext=M,this.child=j,this.parent=ee,this.projection=O,this.styles=z,this.stylesWithoutHost=k,this.residualStyles=P,this.classes=V,this.classesWithoutHost=te,this.residualClasses=Fe,this.classBindings=Ce,this.styleBindings=me}debugNodeInjectorPath(e){const n=[];let r=Gg(this,e);if(r===-1){const s=Dd(this,e);s!==Us&&(r=$o(s),e=jo(s,e))}for(;r!==-1;){ngDevMode&&Lg(e,r);const s=e[L].data[r+8];n.push(x1(s,e));const i=e[r+8];i===Us?r=-1:(r=$o(i),e=jo(i,e))}return n}get type_(){return bu(this.type)||`TNodeType.?${this.type}?`}get flags_(){const e=[];return this.flags&16&&e.push("TNodeFlags.hasClassInput"),this.flags&8&&e.push("TNodeFlags.hasContentQuery"),this.flags&32&&e.push("TNodeFlags.hasStyleInput"),this.flags&128&&e.push("TNodeFlags.hasHostBindings"),this.flags&2&&e.push("TNodeFlags.isComponentHost"),this.flags&1&&e.push("TNodeFlags.isDirectiveHost"),this.flags&64&&e.push("TNodeFlags.isDetached"),this.flags&4&&e.push("TNodeFlags.isProjected"),e.join("|")}get template_(){if(this.type&1)return this.value;const e=[],n=typeof this.value=="string"&&this.value||this.type_;if(e.push("<",n),this.flags&&e.push(" ",this.flags_),this.attrs)for(let r=0;r"),b1(this.child,e),e.push(""),e.join("")}get styleBindings_(){return jE(this,!1)}get classBindings_(){return jE(this,!0)}get providerIndexStart_(){return this.providerIndexes&1048575}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}}const YO=QO;function jE(t,e){const n=t.tView_.data,r=[],s=e?t.classBindings:t.styleBindings,i=_r(s),o=ys(s);let a=o!==0,u=a?o:i;for(;u!==0;){const l=n[u],c=n[u+1];r.unshift({key:l,index:u,isTemplate:a,prevDuplicate:w1(c),nextDuplicate:S1(c),nextIndex:ys(c),prevIndex:_r(c)}),u===i&&(a=!1),u=_r(c)}return r.push((e?t.residualClasses:t.residualStyles)||null),r}function b1(t,e){for(;t;)e.push(t.template_),t=t.next}class XO extends Array{}let Up;function JO(t){return Up===void 0&&(Up=new XO),Up.concat(t)}class eB extends Array{}class tB extends Array{}class nB extends Array{}class rB extends Array{}class sB extends Array{}class iB extends Array{}class oB extends Array{}function aB(t){I1(t,new lB(t))}function uB(t){I1(t,new dB(t))}function Os(t){if(t){const e=t.debug;return $(e,"Object does not have a debug representation."),e}else return t}function Cm(t,e=!1){const n=at(t);if(n)switch(n.nodeType){case Node.TEXT_NODE:return n.textContent;case Node.COMMENT_NODE:return``;case Node.ELEMENT_NODE:const r=n.outerHTML;if(e)return r;{const s=">"+n.innerHTML+"<";return r.split(s)[0]+">"}}return null}class lB{constructor(e){this._raw_lView=e}get flags(){const e=this._raw_lView[ae];return{__raw__flags__:e,initPhaseState:e&3,creationMode:!!(e&4),firstViewPass:!!(e&8),checkAlways:!!(e&16),dirty:!!(e&32),attached:!!(e&64),destroyed:!!(e&128),isRoot:!!(e&256),indexWithinInitPhase:e>>11}}get parent(){return Os(this._raw_lView[Qe])}get hostHTML(){return Cm(this._raw_lView[kn],!0)}get html(){return(this.nodes||[]).map(A1).join("")}get context(){return this._raw_lView[Ye]}get nodes(){const e=this._raw_lView,n=e[L].firstChild;return T1(n,e)}get template(){return this.tView.template_}get tView(){return this._raw_lView[L]}get cleanup(){return this._raw_lView[Bi]}get injector(){return this._raw_lView[Su]}get rendererFactory(){return this._raw_lView[Mo]}get renderer(){return this._raw_lView[le]}get sanitizer(){return this._raw_lView[xc]}get childHead(){return Os(this._raw_lView[Bo])}get next(){return Os(this._raw_lView[cn])}get childTail(){return Os(this._raw_lView[$h])}get declarationView(){return Os(this._raw_lView[vs])}get queries(){return this._raw_lView[dn]}get tHost(){return this._raw_lView[St]}get id(){return this._raw_lView[Ks]}get decls(){return qp(this.tView,this._raw_lView,_e,this.tView.bindingStartIndex)}get vars(){return qp(this.tView,this._raw_lView,this.tView.bindingStartIndex,this.tView.expandoStartIndex)}get expando(){return qp(this.tView,this._raw_lView,this.tView.expandoStartIndex,this._raw_lView.length)}get childViews(){const e=[];let n=this.childHead;for(;n;)e.push(n),n=n.next;return e}}function A1(t){if(t.type==="ElementContainer")return(t.children||[]).map(A1).join("");if(t.type==="IcuContainer")throw new Error("Not implemented");return Cm(t.native,!0)||""}function qp(t,e,n,r){let s=[];for(let i=n;i_e&&f1(t,e,_e,!!ngDevMode&&fa()),An(o?2:0,s),n(r,s)}finally{Ys(i),An(o?3:1,s)}}function k1(t,e,n){if(kg(e)){const r=e.directiveStart,s=e.directiveEnd;for(let i=r;i0;){const n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function CB(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||Au(n,e),Tt(r,e);const o=n.initialInputs;for(let a=s;a0&&lf(n)}}function lf(t){for(let r=fm(t);r!==null;r=gm(r))for(let s=yt;s0&&lf(i)}const n=t[L].components;if(n!==null)for(let r=0;r0&&lf(s)}}function FB(t,e){ngDevMode&&Y(Xu(t),!0,"Should be run in creation mode");const n=mn(e,t),r=n[L];RB(r,n),Sm(r,n,n[Ye])}function RB(t,e){for(let n=e.length;n0&&(o+=Ho+s.join(Ho)),t[r]=o}}function G1(t){return t[Bi]||(t[Bi]=ngDevMode?new iB:[])}function df(t){return t.cleanup||(t.cleanup=ngDevMode?new oB:[])}function z1(t,e,n){return(t===null||Yn(t))&&(n=kF(n[e.index])),n[le]}function W1(t,e){const n=t[Su],r=n?n.get(mi,null):null;r&&r.handleError(e)}function Pm(t,e,n,r,s){for(let i=0;i-1&&(ngDevMode&&Y(r,e.indexOf(this._lView)-yt,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),nf(e,r),Lc(n,r))}this._attachedToViewContainer=!1}Yw(this._lView[L],this._lView)}onDestroy(e){F1(this._lView[L],this._lView,null,e)}markForCheck(){Mm(this._cdRefInjectingView||this._lView)}detach(){this._lView[ae]&=-65}reattach(){this._lView[ae]|=64}detectChanges(){Fd(this._lView[L],this._lView,this.context)}checkNoChanges(){ngDevMode&&q1(this._lView[L],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new B(902,ngDevMode&&"This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,eO(this._lView[L],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new B(902,ngDevMode&&"This view is already attached to a ViewContainer!");this._appRef=e}}class LB extends qo{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view,n=e[L],r=e[Ye];Fd(n,e,r,!1)}checkNoChanges(){if(ngDevMode){const e=this._view,n=e[L],r=e[Ye];q1(n,e,r,!1)}}get context(){return null}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class km extends ya{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&wF(e);const n=Me(e);return new Ca(n,this.ngModule)}}function UE(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const r=t[n];e.push({propName:r,templateName:n})}return e}function OB(t){const e=t.toLowerCase();return e==="svg"?cC:e==="math"?dC:null}class BB{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){const s=this.injector.get(e,ec,r);return s!==ec||n===ec?s:this.parentInjector.get(e,n,r)}}class Ca extends Bc{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=_O(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return UE(this.componentDef.inputs)}get outputs(){return UE(this.componentDef.outputs)}create(e,n,r,s){s=s||this.ngModule;let i=s instanceof Xs?s:s==null?void 0:s.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);const o=i?new BB(e,i):e,a=o.get(om,null);if(a===null)throw new B(407,ngDevMode&&"Angular was not able to inject a renderer (RendererFactory2). Likely this is due to a broken DI hierarchy. Make sure that any injector used to create this component has a correct parent.");const u=o.get($c,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?mB(l,r,this.componentDef.encapsulation):vm(a.createRenderer(null,this.componentDef),c,OB(c)),p=this.componentDef.onPush?288:272,f=Am(0,null,null,1,0,null,null,null,null,null),g=Pd(null,f,null,p,null,null,a,l,u,o,null);Ug(g);let m,y;try{const w=$B(d,this.componentDef,g,a,l);if(d)if(r)kc(l,d,["ng-version",Pw.full]);else{const{attrs:E,classes:v}=DO(this.componentDef.selectors[0]);E&&kc(l,d,E),v&&v.length>0&&Em(l,d,v.join(" "))}if(y=pC(f,_e),n!==void 0){const E=y.projection=[];for(let v=0;v=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=Nc(s.hostAttrs,n=Nc(n,s.hostAttrs))}}function Gp(t){return t===Oi?{}:t===we?[]:t}function HB(t,e){const n=t.viewQuery;n?t.viewQuery=(r,s)=>{e(r,s),n(r,s)}:t.viewQuery=e}function UB(t,e){const n=t.contentQueries;n?t.contentQueries=(r,s,i)=>{e(r,s,i),n(r,s,i)}:t.contentQueries=e}function qB(t,e){const n=t.hostBindings;n?t.hostBindings=(r,s)=>{e(r,s),n(r,s)}:t.hostBindings=e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const GB=["providersResolver"],zB=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Y1(t){let e=Q1(t.type),n;Yn(t)?n=e.\u0275cmp:n=e.\u0275dir;const r=t;for(const s of GB)r[s]=n[s];if(Yn(n))for(const s of zB)r[s]=n[s]}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Rl=null;function Go(){if(!Rl){const t=xe.Symbol;if(t&&t.iterator)Rl=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function tS(t){const e=BF();return ha(e,_e+t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function zm(t,e,n){const r=T(),s=ga();if(kt(r,s,e)){const i=ie(),o=nt();En(i,o,r,t,e,r[le],n,!1),ngDevMode&&rt(i.data,o,t,s)}return zm}function pf(t,e,n,r,s){const i=e.inputs,o=s?"class":"style";Pm(t,n,i[o],o,r)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function QB(t,e,n,r,s,i,o){ngDevMode&&gn(e),ngDevMode&&ngDevMode.firstCreatePass++;const a=e.consts,u=Qs(a,i),l=_a(e,t,2,s,u),c=Tm(e,n,l,Qs(a,o));return ngDevMode&&SL(r,n,l.value,e.schemas,c),l.attrs!==null&&jc(l,l.attrs,!1),l.mergedAttrs!==null&&jc(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function Ld(t,e,n,r){const s=T(),i=ie(),o=_e+t;ngDevMode&&Y(ke(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&tt(s,o);const a=s[le],u=s[o]=vm(a,e,zF()),l=i.firstCreatePass?QB(o,i,s,u,e,n,r):i.data[o];Tr(l,!0);const c=l.mergedAttrs;c!==null&&kc(a,u,c);const d=l.classes;d!==null&&Em(a,u,d);const p=l.styles;return p!==null&&u1(a,u,p),(l.flags&64)!==64&&xd(i,s,u,l),RF()===0&&Tt(u,s),LF(),yd(l)&&(Im(i,s,l),k1(i,l,s)),r!==null&&bm(s,l),Ld}function Od(){let t=ut();ngDevMode&&$(t,"No parent node to close."),$g()?jg():(ngDevMode&&nC(ut()),t=t.parent,Tr(t,!1));const e=t;ngDevMode&&Pt(e,3),OF();const n=ie();return n.firstCreatePass&&(_d(n,t),kg(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&QF(e)&&pf(n,e,T(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&YF(e)&&pf(n,e,T(),e.stylesWithoutHost,!1),Od}function Wm(t,e,n,r){return Ld(t,e,n,r),Od(),Wm}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function YB(t,e,n,r,s){ngDevMode&&ngDevMode.firstCreatePass++;const i=e.consts,o=Qs(i,r),a=_a(e,t,8,"ng-container",o);o!==null&&jc(a,o,!0);const u=Qs(i,s);return Tm(e,n,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function Bd(t,e,n){const r=T(),s=ie(),i=t+_e;ngDevMode&&tt(r,i),ngDevMode&&Y(ke(),s.bindingStartIndex,"element containers should be created before any bindings");const o=s.firstCreatePass?YB(i,s,r,e,n):s.data[i];Tr(o,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[i]=r[le].createComment(ngDevMode?"ng-container":"");return xd(s,r,a,o),Tt(a,r),yd(o)&&(Im(s,r,o),k1(s,o,r)),n!=null&&bm(r,o),Bd}function $d(){let t=ut();const e=ie();return $g()?jg():(ngDevMode&&nC(t),t=t.parent,Tr(t,!1)),ngDevMode&&Pt(t,8),e.firstCreatePass&&(_d(e,t),kg(t)&&e.queries.elementEnd(t)),$d}function Zm(t,e,n){return Bd(t,e,n),$d(),Zm}function nS(){return T()}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function jd(t){return!!t&&typeof t.then=="function"}function Km(t){return!!t&&typeof t.subscribe=="function"}const Qm=Km;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Ym(t,e,n,r){const s=T(),i=ie(),o=ut();return rS(i,s,s[le],o,t,e,!!n,r),Ym}function Xm(t,e){const n=ut(),r=T(),s=ie(),i=Vg(s.data),o=z1(i,n,r);return rS(s,r,o,n,t,e),Xm}function XB(t,e,n,r){const s=t.cleanup;if(s!=null)for(let i=0;iu?a[u]:null}typeof o=="string"&&(i+=2)}return null}function rS(t,e,n,r,s,i,o,a){const u=yd(r),c=t.firstCreatePass&&df(t),d=e[Ye],p=G1(e);ngDevMode&&Pt(r,15);let f=!0;if(r.type&3||a){const y=vn(r,e),w=a?a(y):y,E=p.length,v=a?M=>a(at(M[r.index])):r.index;let A=null;if(!a&&u&&(A=XB(t,e,s,r.index)),A!==null){const M=A.__ngLastListenerFn__||A;M.__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,f=!1}else{i=GE(r,e,d,i,!1);const M=n.listen(w,s,i);ngDevMode&&ngDevMode.rendererAddEventListener++,p.push(i,M),c&&c.push(s,v,E,E+1)}}else i=GE(r,e,d,i,!1);const g=r.outputs;let m;if(f&&g!==null&&(m=g[s])){const y=m.length;if(y)for(let w=0;w0)&&(l=!0)}else c=n;if(s)if(u!==0){const p=_r(t[a+1]);t[r+1]=kl(p,a),p!==0&&(t[p+1]=$p(t[p+1],r)),t[a+1]=UO(t[a+1],r)}else t[r+1]=kl(a,0),a!==0&&(t[a+1]=$p(t[a+1],r)),a=r;else t[r+1]=kl(u,0),ngDevMode&&Y(a!==0&&u===0,!1,"Adding template bindings after hostBindings is not allowed."),a===0?a=r:t[u+1]=$p(t[u+1],r),u=r;l&&(t[r+1]=af(t[r+1])),zE(t,c,r,!0),zE(t,c,r,!1),t3(e,c,t,r,i),o=kl(a,u),i?e.classBindings=o:e.styleBindings=o}function t3(t,e,n,r,s){const i=s?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&nl(i,e)>=0&&(n[r+1]=uf(n[r+1]))}function zE(t,e,n,r,s){const i=t[n+1],o=e===null;let a=r?_r(i):ys(i),u=!1;for(;a!==0&&(u===!1||o);){ngDevMode&&tt(t,a);const l=t[a],c=t[a+1];n3(l,e)&&(u=!0,t[a+1]=r?uf(c):af(c)),a=r?_r(c):ys(c)}u&&(t[n+1]=r?af(i):uf(i))}function n3(t,e){return ngDevMode&&er(Array.isArray(e),!0,"Expected that 'tStylingKey' has been unwrapped"),t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?nl(t,e)>=0:!1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const ct={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function aS(t){return t.substring(ct.key,ct.keyEnd)}function r3(t){return t.substring(ct.value,ct.valueEnd)}function s3(t){return cS(t),uS(t,Wo(t,0,ct.textEnd))}function uS(t,e){const n=ct.textEnd;return n===e?-1:(e=ct.keyEnd=o3(t,ct.key=e,n),Wo(t,e,n))}function i3(t){return cS(t),lS(t,Wo(t,0,ct.textEnd))}function lS(t,e){const n=ct.textEnd;let r=ct.key=Wo(t,e,n);return n===r?-1:(r=ct.keyEnd=a3(t,r,n),r=WE(t,r,n,58),r=ct.value=Wo(t,r,n),r=ct.valueEnd=u3(t,r,n),WE(t,r,n,59))}function cS(t){ct.key=0,ct.keyEnd=0,ct.value=0,ct.valueEnd=0,ct.textEnd=t.length}function Wo(t,e,n){for(;e32;)e++;return e}function a3(t,e,n){let r;for(;e=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function WE(t,e,n,r){return e=Wo(t,e,n),e32&&(a=o),i=s,s=r,r=u&-33}return a}function ZE(t,e,n,r){let s=-1,i=n;for(;i>"+t.substring(n,n+1)+"<<]"+t.slice(n+1)+`'. Expecting '${e}'.`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function uv(t,e,n){return sr(t,e,n,!1),uv}function lv(t,e){return sr(t,e,null,!0),lv}function rr(t){ir(gS,l3,t,!1)}function l3(t,e){for(let n=i3(e);n>=0;n=lS(e,n))gS(t,aS(e),r3(e))}function pS(t){ir(yn,Wr,t,!0)}function Wr(t,e){for(let n=s3(e);n>=0;n=uS(e,n))yn(t,aS(e),!0)}function sr(t,e,n,r){const s=T(),i=ie(),o=Ss(2);if(i.firstUpdatePass&&fS(i,t,o,r),e!==Q&&kt(s,o,e)){const a=i.data[Gt()];mS(i,a,s,s[le],t,s[o+1]=m3(e,n),r,o)}}function ir(t,e,n,r){const s=ie(),i=Ss(2);s.firstUpdatePass&&fS(s,null,i,r);const o=T();if(n!==Q&&kt(o,i,n)){const a=s.data[Gt()];if(vS(a,r)&&!hS(s,i)){if(ngDevMode){const l=s.data[i];Y(Array.isArray(l)?l[1]:l,!1,"Styling linked list shadow input should be marked as 'false'")}let u=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&r===!1&&u!==null&&Y(u.endsWith(";"),!0,"Expecting static portion to end with ';'"),u!==null&&(n=Lh(u,n||"")),pf(s,a,o,n,r)}else g3(s,a,o,o[le],o[i+1],o[i+1]=f3(t,e,n),r,i)}}function hS(t,e){return e>=t.expandoStartIndex}function fS(t,e,n,r){ngDevMode&&Rg(t);const s=t.data;if(s[n+1]===null){const i=s[Gt()];ngDevMode&&$(i,"TNode expected");const o=hS(t,n);vS(i,r)&&e===null&&!o&&(e=!1),e=c3(s,i,e,r),e3(s,i,e,n,o,r)}}function c3(t,e,n,r){const s=Vg(t);let i=r?e.residualClasses:e.residualStyles;if(s===null)(r?e.classBindings:e.styleBindings)===0&&(n=zp(null,t,e,n,r),n=xu(n,e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(o===-1||t[o]!==s)if(n=zp(s,t,e,n,r),i===null){let u=d3(t,e,r);u!==void 0&&Array.isArray(u)&&(u=zp(null,t,e,u[1],r),u=xu(u,e.attrs,r),p3(t,e,r,u))}else i=h3(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function d3(t,e,n){const r=n?e.classBindings:e.styleBindings;if(ys(r)!==0)return t[_r(r)]}function p3(t,e,n,r){const s=n?e.classBindings:e.styleBindings;ngDevMode&&er(ys(s),0,"Expecting to have at least one template styling binding."),t[_r(s)]=r}function h3(t,e,n){let r;const s=e.directiveEnd;ngDevMode&&er(e.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let i=1+e.directiveStylingLast;i0;){const u=t[s],l=Array.isArray(u),c=l?u[1]:u,d=c===null;let p=n[s+1];p===Q&&(p=d?we:void 0);let f=d?Np(p,r):c===r?p:void 0;if(l&&!Vc(f)&&(f=Np(u,r)),Vc(f)&&(a=f,o))return a;const g=t[s+1];s=o?_r(g):ys(g)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=Np(u,r))}return a}function Vc(t){return t!==void 0}function m3(t,e){return t==null||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ue(Qt(t)))),t}function vS(t,e){return(t.flags&(e?16:32))!==0}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function yS(t,e=""){const n=T(),r=ie(),s=t+_e;ngDevMode&&Y(ke(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&tt(n,s);const i=r.firstCreatePass?_a(r,s,1,e,null):r.data[s],o=n[s]=mm(n[le],e);xd(r,n,o,i),Tr(i,!1)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function cv(t){return Hd("",t,""),cv}function Hd(t,e,n){const r=T(),s=Sa(r,t,e,n);return s!==Q&&bs(r,Gt(),s),Hd}function dv(t,e,n,r,s){const i=T(),o=Ia(i,t,e,n,r,s);return o!==Q&&bs(i,Gt(),o),dv}function pv(t,e,n,r,s,i,o){const a=T(),u=ba(a,t,e,n,r,s,i,o);return u!==Q&&bs(a,Gt(),u),pv}function hv(t,e,n,r,s,i,o,a,u){const l=T(),c=Aa(l,t,e,n,r,s,i,o,a,u);return c!==Q&&bs(l,Gt(),c),hv}function fv(t,e,n,r,s,i,o,a,u,l,c){const d=T(),p=Ta(d,t,e,n,r,s,i,o,a,u,l,c);return p!==Q&&bs(d,Gt(),p),fv}function gv(t,e,n,r,s,i,o,a,u,l,c,d,p){const f=T(),g=xa(f,t,e,n,r,s,i,o,a,u,l,c,d,p);return g!==Q&&bs(f,Gt(),g),gv}function mv(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g){const m=T(),y=Ma(m,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g);return y!==Q&&bs(m,Gt(),y),mv}function vv(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y){const w=T(),E=Pa(w,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y);return E!==Q&&bs(w,Gt(),E),vv}function yv(t){const e=T(),n=wa(e,t);return n!==Q&&bs(e,Gt(),n),yv}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function ES(t,e,n){const r=T(),s=Sa(r,t,e,n);ir(yn,Wr,s,!0)}function _S(t,e,n,r,s){const i=T(),o=Ia(i,t,e,n,r,s);ir(yn,Wr,o,!0)}function DS(t,e,n,r,s,i,o){const a=T(),u=ba(a,t,e,n,r,s,i,o);ir(yn,Wr,u,!0)}function CS(t,e,n,r,s,i,o,a,u){const l=T(),c=Aa(l,t,e,n,r,s,i,o,a,u);ir(yn,Wr,c,!0)}function wS(t,e,n,r,s,i,o,a,u,l,c){const d=T(),p=Ta(d,t,e,n,r,s,i,o,a,u,l,c);ir(yn,Wr,p,!0)}function SS(t,e,n,r,s,i,o,a,u,l,c,d,p){const f=T(),g=xa(f,t,e,n,r,s,i,o,a,u,l,c,d,p);ir(yn,Wr,g,!0)}function IS(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g){const m=T(),y=Ma(m,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g);ir(yn,Wr,y,!0)}function bS(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y){const w=T(),E=Pa(w,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y);ir(yn,Wr,E,!0)}function AS(t){const e=T(),n=wa(e,t);ir(yn,Wr,n,!0)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function TS(t,e,n){const r=T(),s=Sa(r,t,e,n);rr(s)}function xS(t,e,n,r,s){const i=T(),o=Ia(i,t,e,n,r,s);rr(o)}function MS(t,e,n,r,s,i,o){const a=T(),u=ba(a,t,e,n,r,s,i,o);rr(u)}function PS(t,e,n,r,s,i,o,a,u){const l=T(),c=Aa(l,t,e,n,r,s,i,o,a,u);rr(c)}function kS(t,e,n,r,s,i,o,a,u,l,c){const d=T(),p=Ta(d,t,e,n,r,s,i,o,a,u,l,c);rr(p)}function NS(t,e,n,r,s,i,o,a,u,l,c,d,p){const f=T(),g=xa(f,t,e,n,r,s,i,o,a,u,l,c,d,p);rr(g)}function FS(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g){const m=T(),y=Ma(m,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g);rr(y)}function RS(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y){const w=T(),E=Pa(w,t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y);rr(E)}function LS(t){const e=T(),n=wa(e,t);rr(n)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Ev(t,e,n,r,s){const i=T(),o=Sa(i,e,n,r);return sr(t,o,s,!1),Ev}function _v(t,e,n,r,s,i,o){const a=T(),u=Ia(a,e,n,r,s,i);return sr(t,u,o,!1),_v}function Dv(t,e,n,r,s,i,o,a,u){const l=T(),c=ba(l,e,n,r,s,i,o,a);return sr(t,c,u,!1),Dv}function Cv(t,e,n,r,s,i,o,a,u,l,c){const d=T(),p=Aa(d,e,n,r,s,i,o,a,u,l);return sr(t,p,c,!1),Cv}function wv(t,e,n,r,s,i,o,a,u,l,c,d,p){const f=T(),g=Ta(f,e,n,r,s,i,o,a,u,l,c,d);return sr(t,g,p,!1),wv}function Sv(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g){const m=T(),y=xa(m,e,n,r,s,i,o,a,u,l,c,d,p,f);return sr(t,y,g,!1),Sv}function Iv(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y){const w=T(),E=Ma(w,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m);return sr(t,E,y,!1),Iv}function bv(t,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y,w,E){const v=T(),A=Pa(v,e,n,r,s,i,o,a,u,l,c,d,p,f,g,m,y,w);return sr(t,A,E,!1),bv}function Av(t,e,n){const r=T(),s=wa(r,e);return sr(t,s,n,!1),Av}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Tv(t,e,n){const r=T(),s=ga();if(kt(r,s,e)){const i=ie(),o=nt();En(i,o,r,t,e,r[le],n,!0),ngDevMode&&rt(i.data,o,t,s)}return Tv}function xv(t,e,n){const r=T(),s=ga();if(kt(r,s,e)){const i=ie(),o=nt(),a=Vg(i.data),u=z1(a,o,r);En(i,o,r,t,e,u,n,!0),ngDevMode&&rt(i.data,o,t,s)}return xv}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */typeof ngI18nClosureMode>"u"&&function(){xe.ngI18nClosureMode=typeof goog<"u"&&typeof goog.getMsg=="function"}();/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const yi=void 0;function v3(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&n===0?1:5}var y3=["en",[["a","p"],["AM","PM"],yi],[["AM","PM"],yi,yi],[["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"]],yi,[["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"]],yi,[["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}",yi,"{1} 'at' {0}",yi],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",v3];/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let No={};function E3(t,e,n){typeof e!="string"&&(n=e,e=t[$e.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),No[e]=t,n&&(No[e][$e.ExtraData]=n)}function Ft(t){const e=C3(t);let n=QE(e);if(n)return n;const r=e.split("-")[0];if(n=QE(r),n)return n;if(r==="en")return y3;throw new B(701,ngDevMode&&`Missing locale data for the locale "${t}".`)}function _3(t){return Ft(t)[$e.CurrencyCode]||null}function Mv(t){return Ft(t)[$e.PluralCase]}function QE(t){return t in No||(No[t]=xe.ng&&xe.ng.common&&xe.ng.common.locales&&xe.ng.common.locales[t]),No[t]}function D3(){No={}}var $e;(function(t){t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData"})($e||($e={}));function C3(t){return t.toLowerCase().replace(/_/g,"-")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const w3=["zero","one","two","few","many"];function S3(t,e){const n=Mv(e)(parseInt(t,10)),r=w3[n];return r!==void 0?r:"other"}const Ui="en-US",I3="USD";/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Ud={marker:"element"},qd={marker:"ICU"};var jt;(function(t){t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT"})(jt||(jt={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let OS=Ui;function Pv(t){$(t,"Expected localeId to be defined"),typeof t=="string"&&(OS=t.toLowerCase().replace(/_/g,"-"))}function b3(){return OS}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function BS(t,e,n){const r=e.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return s===null?n1(t,e,n):(ngDevMode&&tt(n,s),at(n[s]))}function $S(t,e,n,r,s){const i=e.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&Hs(r);let o=r,a=null;if(e.type&3||(a=o,o=s),o!==null&&(e.flags&2)===0)for(let u=1;u1)for(let n=t.length-2;n>=0;n--){const r=t[n];VS(r)||A3(r,e)&&T3(r)===null&&x3(r,e.index)}}function VS(t){return!(t.type&64)}function A3(t,e){return VS(e)||t.index>e.index}function T3(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function x3(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(s1(BS,$S),t.insertBeforeIndex=e)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Qa(t,e){const n=t.data[e];if(n===null||typeof n=="string")return null;ngDevMode&&!(n.hasOwnProperty("tViews")||n.hasOwnProperty("currentCaseLViewIndex"))&&De("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&Fg(r),r}function M3(t,e,n){const r=t.data[e];ngDevMode&&Y(r===null||r.hasOwnProperty("tViews"),!0,"We expect to get 'null'|'TIcuContainer'"),r===null?t.data[e]=n:(ngDevMode&&Pt(r,32),r.value=n)}function P3(t,e){ngDevMode&&Ng(t);let n=t.insertBeforeIndex;n===null?(s1(BS,$S),n=t.insertBeforeIndex=[null,e]):(Y(Array.isArray(n),!0,"Expecting array here"),n.push(e))}function k3(t,e,n){const r=wm(t,n,64,null,null);return jS(e,r),r}function Gd(t,e){const n=e[t.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function HS(t){return t>>>17}function US(t){return(t&131070)>>>1}function YE(t){return t&1}function N3(t,e,n){return ngDevMode&&Cs(e,0,"Missing parent index"),ngDevMode&&ca(n,0,"Missing ref index"),t|e<<17|n<<1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Mu=0,Ya=0;function F3(t){t&&(Mu=Mu|1<0){ngDevMode&&$(t,"tView should be defined");const r=t.data[n],s=Array.isArray(r)?r:r.update,i=ke()-Ya-1;GS(t,e,s,i,Mu)}Mu=0,Ya=0}function L3(t,e,n,r){const s=t[le];for(let i=0;i>>jt.SHIFT;let d=t[c];d===null&&(d=t[c]=u?s.createComment(a):mm(s,a)),l&&n!==null&&Vi(s,n,d,r,!1)}}function qS(t,e,n,r){ngDevMode&&Hs(r);const s=n[le];let i=null,o;for(let a=0;a>>1,f=e[++a],g=e[++a];xm(s,Ed(p,n),null,null,f,g,null);break;default:if(ngDevMode)throw new B(700,`Unable to determine the type of mutate operation for "${u}"`)}else switch(u){case qd:const l=e[++a],c=e[++a];if(n[c]===null){ngDevMode&&Y(typeof l,"string",`Expected "${l}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&Mc(n,c);const f=n[c]=YL(s,l);Tt(f,n)}break;case Ud:const d=e[++a],p=e[++a];if(n[p]===null){ngDevMode&&Y(typeof d,"string",`Expected "${d}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&Mc(n,p);const f=n[p]=vm(s,d,null);Tt(f,n)}break;default:ngDevMode&&De(`Unable to determine the type of mutate operation for "${u}"`)}}}function GS(t,e,n,r,s){for(let i=0;i>>2;switch(c&3){case 1:const p=n[++l],f=n[++l],g=t.data[d];ngDevMode&&$(g,"Experting TNode or string"),typeof g=="string"?xm(e[le],e[d],null,g,p,u,f):En(t,g,e,p,u,e[le],f,!1);break;case 0:const m=e[d];m!==null&&Kw(e[le],m,u);break;case 2:O3(t,Qa(t,d),e,u);break;case 3:XE(t,Qa(t,d),r,e);break}}}}else{const u=n[i+1];if(u>0&&(u&3)===3){const l=u>>>2,c=Qa(t,l);e[c.currentCaseLViewIndex]<0&&XE(t,c,r,e)}}i+=a}}function XE(t,e,n,r){ngDevMode&&tt(r,e.currentCaseLViewIndex);let s=r[e.currentCaseLViewIndex];if(s!==null){let i=Mu;s<0&&(s=r[e.currentCaseLViewIndex]=~s,i=-1),GS(t,r,e.update[s],n,i)}}function O3(t,e,n,r){const s=B3(e,r);if(Gd(e,n)!==s&&(zS(t,e,n),n[e.currentCaseLViewIndex]=s===null?null:~s,s!==null)){const o=n[e.anchorIdx];o&&(ngDevMode&&Hs(o),qS(t,e.create[s],n,o))}}function zS(t,e,n){let r=Gd(e,n);if(r!==null){const s=e.remove[r];for(let i=0;i0){const a=Ed(o,n);a!==null&&o1(n[le],a)}else zS(t,Qa(t,~o),n)}}}function B3(t,e){let n=t.cases.indexOf(e);if(n===-1)switch(t.type){case 1:{const r=S3(e,b3());n=t.cases.indexOf(r),n===-1&&r!=="other"&&(n=t.cases.indexOf("other"));break}case 0:{n=t.cases.indexOf("other");break}}return n===-1?null:n}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function $3(){const t=[];let e=-1,n,r;function s(a,u){for(n=u;t.length;)t.pop();return ngDevMode&&tr(a,u),i(a.value,u),o}function i(a,u){e=0;const l=Gd(a,u);l!==null?(ngDevMode&&Cu(l,0,a.cases.length-1),r=a.remove[l]):r=we}function o(){if(e0){const u=n[a];return ngDevMode&&Hs(u),u}else{t.push(e,r);const u=~a,l=n[L].data[u];return ngDevMode&&Fg(l),i(l,n),o()}}else return t.length===0?null:(r=t.pop(),e=t.pop(),o())}return s}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function j3(t){const e=t||(Array.isArray(this)?this:[]);let n=[];for(let r=0;r>>jt.SHIFT;n.push(`lView[${u}] = document.${o?"createComment":"createText"}(${JSON.stringify(i)});`),a&&n.push(`parent.appendChild(lView[${u}]);`)}return n}function zd(t){const e=new WS(t||(Array.isArray(this)?this:[]));let n=[];function r(s){const i=s>>>2;switch(s&3){case 0:return`(lView[${i}] as Text).textContent = $$$`;case 1:const a=e.consumeString(),u=e.consumeFunction(),l=u?`(${u})($$$)`:"$$$";return`(lView[${i}] as Element).setAttribute('${a}', ${l})`;case 2:return`icuSwitchCase(${i}, $$$)`;case 3:return`icuUpdateCase(${i})`}throw new Error("unexpected OpCode")}for(;e.hasMore();){let s=e.consumeNumber(),i=e.consumeNumber();const o=e.i+i,a=[];let u="";for(;e.i0?n.push(`remove(lView[${s}])`):n.push(`removeNestedICU(${~s})`)}return n}class WS{constructor(e){this.i=0,this.codes=e}hasMore(){return this.i`}}o=n8(t,a,e,n,r,s.cases[l],c.join(""),d)|o}o&&i8(n,o,i)}function t8(t){const e=[],n=[];let r=1,s=0;t=t.replace(ZS,function(o,a,u){return u==="select"?r=0:r=1,s=parseInt(a.slice(1),10),""});const i=hf(t);for(let o=0;on.length&&n.push(u)}return{type:r,mainBinding:s,cases:e,values:n}}function hf(t){if(!t)return[];let e=0;const n=[],r=[],s=/[{}]/g;s.lastIndex=0;let i;for(;i=s.exec(t);){const a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){const u=t.substring(e,a);ZS.test(u)?r.push(t8(u)):r.push(u),e=a+1}}else{if(n.length==0){const u=t.substring(e,a);r.push(u),e=a+1}n.push("{")}}const o=t.substring(e);return r.push(o),r}function n8(t,e,n,r,s,i,o,a){const u=[],l=[],c=[];ngDevMode&&(Pi(u,V3),Pi(l,H3),Pi(c,zd)),e.cases.push(i),e.create.push(u),e.remove.push(l),e.update.push(c);const p=uw(tw()).getInertBodyElement(o);ngDevMode&&$(p,"Unable to generate inert body element");const f=Kh(p)||p;return f?XS(t,e,n,r,u,l,c,f,s,a,0):0}function XS(t,e,n,r,s,i,o,a,u,l,c){let d=0,p=a.firstChild;for(;p;){const f=Da(t,n,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const g=p,m=g.tagName.toLowerCase();if(Zh.hasOwnProperty(m)){Wp(s,Ud,m,u,f),t.data[f]=m;const v=g.attributes;for(let A=0;A{const u=o||a,l=r[u]||[];if(l.length||(u.split("|").forEach(m=>{const y=m.match(h8),w=y?parseInt(y[1],10):t_,E=p8.test(m);l.push([w,E,m])}),r[u]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${u}`);const c=s[s.length-1];let d=0;for(let m=0;me.hasOwnProperty(i)?`${s}${e[i]}${u}`:r),n=n.replace(c8,(r,s)=>e.hasOwnProperty(s)?e[s]:r),n=n.replace(d8,(r,s)=>{if(e.hasOwnProperty(s)){const i=e[s];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${s}`);return i.shift()}return r})),n}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function kv(t,e,n=-1){const r=ie(),s=T(),i=_e+t;ngDevMode&&$(r,"tView should be defined");const o=Qs(r.consts,e),a=Iu();r.firstCreatePass&&K3(r,a===null?0:a.index,s,i,o,n);const u=r.data[i],l=a===s[St]?null:a,c=Jw(r,l,s),d=a&&a.type&8?s[a.index]:null;L3(s,u.create,c,d),CC(!0)}function Nv(){CC(!1)}function JS(t,e,n){kv(t,e,n),Nv()}function eI(t,e){const n=ie();ngDevMode&&$(n,"tView should be defined");const r=Qs(n.consts,e);Y3(n,t+_e,r)}function Fv(t){const e=T();return F3(kt(e,ga(),t)),Fv}function tI(t){R3(ie(),T(),t+_e)}function nI(t,e={}){return f8(t,e)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function g8(t,e,n){const r=ie();if(r.firstCreatePass){const s=Yn(t);ff(n,r.data,r.blueprint,s,!0),ff(e,r.data,r.blueprint,s,!1)}}function ff(t,e,n,r,s){if(t=X(t),Array.isArray(t))for(let i=0;i>20;if(ji(t)||!t.multi){const f=new Ju(u,s,so),g=Kp(a,e,s?c:c+p,d);g===-1?(Rc(Au(l,o),i,a),Zp(i,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(f),o.push(f)):(n[g]=f,o[g]=f)}else{const f=Kp(a,e,c+p,d),g=Kp(a,e,c,c+p),m=f>=0&&n[f],y=g>=0&&n[g];if(s&&!y||!s&&!m){Rc(Au(l,o),i,a);const w=y8(s?v8:m8,n.length,s,r,u);!s&&y&&(n[g].providerFactory=w),Zp(i,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=1048576),n.push(w),o.push(w)}else{const w=rI(n[s?g:f],u,!s&&r);Zp(i,t,f>-1?f:g,w)}!s&&r&&y&&n[g].componentProviders++}}}function Zp(t,e,n,r){const s=ji(e),i=uL(e);if(s||i){const u=(i?X(e.useClass):e).prototype.ngOnDestroy;if(u){const l=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){ngDevMode&&$(r,"indexInFactory when registering multi factory destroy hook");const c=l.indexOf(n);c===-1?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function rI(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Kp(t,e,n,r){for(let s=n;s{n.providersResolver=(r,s)=>g8(r,s?s(t):t,e)}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class qi{}class iI{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Rv(t,e){return new Lv(t,e!=null?e:null)}const E8=Rv;class Lv extends qi{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new km(this);const r=fn(e);ngDevMode&&$(r,`NgModule '${ue(e)}' is not a subtype of 'NgModuleType'.`),this._bootstrapComponents=us(r.bootstrap),this._r3Injector=g1(e,n,[{provide:qi,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],ue(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){ngDevMode&&$(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){ngDevMode&&$(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class Wd extends iI{constructor(e){super(),this.moduleType=e}create(e){return new Lv(this.moduleType,e)}}class _8 extends qi{constructor(e,n,r){super(),this.componentFactoryResolver=new km(this),this.instance=null;const s=new Aw([...e,{provide:qi,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],n||bd(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Ov(t,e,n=null){return new _8(t,e,n).injector}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class rc{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const n=Cw(!1,e.type),r=n.length>0?Ov([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}}rc.\u0275prov=Ct({token:rc,providedIn:"environment",factory:()=>new rc(We(Xs))});function oI(t){t.getStandaloneInjector=e=>e.get(rc).getOrCreateStandaloneInjector(t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function mf(t){ngDevMode&&Bv(t);const e=Jt(t);if(e===null)return null;if(e.component===void 0){const n=e.lView;if(n===null)return null;e.component=HL(e.nodeIndex,n)}return e.component}function aI(t){Bv(t);const e=Jt(t),n=e?e.lView:null;return n===null?null:n[Ye]}function uI(t){const e=Jt(t);let n=e?e.lView:null;if(n===null)return null;let r;for(;n[L].type===2&&(r=ll(n));)n=r;return n[ae]&256?null:n[Ye]}function lI(t){const e=Vw(t);return e!==null?[QL(e)]:[]}function cI(t){const e=Jt(t),n=e?e.lView:null;if(n===null)return _t.NULL;const r=n[L].data[e.nodeIndex];return new Po(r,n)}function D8(t){const e=Jt(t),n=e?e.lView:null;if(n===null)return[];const r=n[L],s=r.data[e.nodeIndex],i=[],o=s.providerIndexes&1048575,a=s.directiveEnd;for(let u=o;u=0?"dom":"output",m=typeof f=="boolean"?f:!1;t==d&&o.push({element:t,name:c,callback:p,useCapture:m,type:g})}}return o.sort(S8),o}function S8(t,e){return t.name==e.name?0:t.name{const s=t;e!==null&&(s.hasOwnProperty("decorators")&&s.decorators!==void 0?s.decorators.push(...e):s.decorators=e),n!==null&&(s.ctorParameters=n),r!==null&&(s.hasOwnProperty("propDecorators")&&s.propDecorators!==void 0?s.propDecorators=Object.assign(Object.assign({},s.propDecorators),r):s.propDecorators=r)})}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function fI(t,e,n){const r=qt()+t,s=T();return s[r]===Q?zr(s,r,n?e.call(n):e()):dl(s,r)}function gI(t,e,n,r){return SI(T(),qt(),t,e,n,r)}function mI(t,e,n,r,s){return II(T(),qt(),t,e,n,r,s)}function vI(t,e,n,r,s,i){return bI(T(),qt(),t,e,n,r,s,i)}function yI(t,e,n,r,s,i,o){return AI(T(),qt(),t,e,n,r,s,i,o)}function EI(t,e,n,r,s,i,o,a){const u=qt()+t,l=T(),c=Nn(l,u,n,r,s,i);return kt(l,u+4,o)||c?zr(l,u+5,a?e.call(a,n,r,s,i,o):e(n,r,s,i,o)):dl(l,u+5)}function _I(t,e,n,r,s,i,o,a,u){const l=qt()+t,c=T(),d=Nn(c,l,n,r,s,i);return Hi(c,l+4,o,a)||d?zr(c,l+6,u?e.call(u,n,r,s,i,o,a):e(n,r,s,i,o,a)):dl(c,l+6)}function DI(t,e,n,r,s,i,o,a,u,l){const c=qt()+t,d=T();let p=Nn(d,c,n,r,s,i);return Rd(d,c+4,o,a,u)||p?zr(d,c+7,l?e.call(l,n,r,s,i,o,a,u):e(n,r,s,i,o,a,u)):dl(d,c+7)}function CI(t,e,n,r,s,i,o,a,u,l,c){const d=qt()+t,p=T(),f=Nn(p,d,n,r,s,i);return Nn(p,d+4,o,a,u,l)||f?zr(p,d+8,c?e.call(c,n,r,s,i,o,a,u,l):e(n,r,s,i,o,a,u,l)):dl(p,d+8)}function wI(t,e,n,r){return TI(T(),qt(),t,e,n,r)}function pl(t,e){ngDevMode&&tt(t,e);const n=t[e];return n===Q?void 0:n}function SI(t,e,n,r,s,i){const o=e+n;return kt(t,o,s)?zr(t,o+1,i?r.call(i,s):r(s)):pl(t,o+1)}function II(t,e,n,r,s,i,o){const a=e+n;return Hi(t,a,s,i)?zr(t,a+2,o?r.call(o,s,i):r(s,i)):pl(t,a+2)}function bI(t,e,n,r,s,i,o,a){const u=e+n;return Rd(t,u,s,i,o)?zr(t,u+3,a?r.call(a,s,i,o):r(s,i,o)):pl(t,u+3)}function AI(t,e,n,r,s,i,o,a,u){const l=e+n;return Nn(t,l,s,i,o,a)?zr(t,l+4,u?r.call(u,s,i,o,a):r(s,i,o,a)):pl(t,l+4)}function TI(t,e,n,r,s,i){let o=e+n,a=!1;for(let u=0;u=0;n--){const r=e[n];if(t===r.name)return r}if(ngDevMode)throw new B(-302,A8(t))}function A8(t){const e=T(),r=e[Mt][Ye],s=lm(e),i=r?` in the '${r.constructor.name}' component`:"";return`The pipe '${t}' could not be found${i}. ${`Verify that it is ${s?"included in the '@Component.imports' of this component":"declared or imported in this module"}`}`}function MI(t,e,n){const r=t+_e,s=T(),i=ha(s,r);return hl(s,r)?SI(s,qt(),e,i.transform,n,i):i.transform(n)}function PI(t,e,n,r){const s=t+_e,i=T(),o=ha(i,s);return hl(i,s)?II(i,qt(),e,o.transform,n,r,o):o.transform(n,r)}function kI(t,e,n,r,s){const i=t+_e,o=T(),a=ha(o,i);return hl(o,i)?bI(o,qt(),e,a.transform,n,r,s,a):a.transform(n,r,s)}function NI(t,e,n,r,s,i){const o=t+_e,a=T(),u=ha(a,o);return hl(a,o)?AI(a,qt(),e,u.transform,n,r,s,i,u):u.transform(n,r,s,i)}function FI(t,e,n){const r=t+_e,s=T(),i=ha(s,r);return hl(s,r)?TI(s,qt(),e,i.transform,n,i):i.transform.apply(i,n)}function hl(t,e){return t[L].data[e].pure}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class T8 extends Cg{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var s,i,o;let a=e,u=n||(()=>null),l=r;if(e&&typeof e=="object"){const d=e;a=(s=d.next)===null||s===void 0?void 0:s.bind(d),u=(i=d.error)===null||i===void 0?void 0:i.bind(d),l=(o=d.complete)===null||o===void 0?void 0:o.bind(d)}this.__isAsync&&(u=Qp(u),a&&(a=Qp(a)),l&&(l=Qp(l)));const c=super.subscribe({next:a,error:u,complete:l});return e instanceof Gu&&e.add(c),c}}function Qp(t){return e=>{setTimeout(t,void 0,e)}}const Un=T8;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function x8(){return this._results[Go()]()}class Zd{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Go(),r=Zd.prototype;r[n]||(r[n]=x8)}get changes(){return this._changes||(this._changes=new Un)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const s=an(e);(this._changesDetected=!hR(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Nt{}Nt.__NG_ELEMENT_ID__=k8;const M8=Nt,P8=class extends M8{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e,n){const r=this._declarationTContainer.tViews,s=Pd(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,n||null),i=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Ar(i),s[Yu]=i;const o=this._declarationLView[dn];return o!==null&&(s[dn]=o.createEmbeddedView(r)),Sm(r,s,e),new qo(s)}};function k8(){return Kd(ut(),T())}function Kd(t,e){return t.type&4?(ngDevMode&&$(t.tViews,"TView must be allocated"),new P8(e,t,Ea(t,e))):null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ht{}ht.__NG_ELEMENT_ID__=N8;function N8(){const t=ut();return LI(t,T())}const F8=ht,RI=class extends F8{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new Po(this._hostTNode,this._hostLView)}get parentInjector(){const e=Dd(this._hostTNode,this._hostLView);if(RC(e)){const n=jo(e,this._hostLView),r=$o(e);ngDevMode&&Lg(n,r);const s=n[L].data[r+8];return new Po(s,n)}else return new Po(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=n_(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-yt}createEmbeddedView(e,n,r){let s,i;typeof r=="number"?s=r:r!=null&&(s=r.index,i=r.injector);const o=e.createEmbeddedView(n||{},i);return this.insert(o,s),o}createComponent(e,n,r,s,i){const o=e&&!Ua(e);let a;if(o)ngDevMode&&Y(typeof n!="object",!0,"It looks like Component factory was provided as the first argument and an options object as the second argument. This combination of arguments is incompatible. You can either change the first argument to provide Component type or change the second argument to be a number (representing an index at which to insert the new component's host view into this container)"),a=n;else{ngDevMode&&($(Me(e),"Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator."),Y(typeof n!="number",!0,"It looks like Component type was provided as the first argument and a number (representing an index at which to insert the new component's host view into this container as the second argument. This combination of arguments is incompatible. Please use an object as the second argument instead."));const d=n||{};ngDevMode&&d.environmentInjector&&d.ngModuleRef&&De("Cannot pass both environmentInjector and ngModuleRef options to createComponent()."),a=d.index,r=d.injector,s=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=o?e:new Ca(Me(e)),l=r||this.parentInjector;if(!i&&u.ngModule==null){const p=(o?l:this.parentInjector).get(Xs,null);p&&(i=p)}const c=u.create(l,s,void 0,i);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,s=r[L];if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(FF(r)){const c=this.indexOf(e);if(c!==-1)this.detach(c);else{const d=r[Qe];ngDevMode&&Y(Ln(d),!0,"An attached view should have its PARENT point to a container.");const p=new RI(d,d[St],d[Qe]);p.detach(p.indexOf(e))}}const i=this._adjustIndex(n),o=this._lContainer;nO(s,r,o,i);const a=sf(i,o),u=r[le],l=Td(u,o[Qu]);return l!==null&&JL(s,o[St],u,r,l,a),e.attachToViewContainerRef(),GC(Yp(o),i,e),e}move(e,n){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,n)}indexOf(e){const n=n_(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=nf(this._lContainer,n);r&&(Lc(Yp(this._lContainer),n),Yw(r[L],r))}detach(e){const n=this._adjustIndex(e,-1),r=nf(this._lContainer,n);return r&&Lc(Yp(this._lContainer),n)!=null?new qo(r):null}_adjustIndex(e,n=0){return e==null?this.length+n:(ngDevMode&&(ca(e,-1,`ViewRef index must be positive, got ${e}`),Ws(e,this.length+1+n,"index")),e)}};function n_(t){return t[Tc]}function Yp(t){return t[Tc]||(t[Tc]=[])}function LI(t,e){ngDevMode&&Pt(t,15);let n;const r=e[t.index];if(Ln(r))n=r;else{let s;if(t.type&8)s=at(r);else{const i=e[le];ngDevMode&&ngDevMode.rendererCreateComment++,s=i.createComment(ngDevMode?"container":"");const o=vn(t,e),a=Td(i,o);Vi(i,a,s,aO(i,o),!1)}e[t.index]=n=U1(r,e,s,t),Nd(e,n)}return new RI(n,t,e)}class $v{constructor(e){this.queryList=e,this.matches=null}clone(){return new $v(this.queryList)}setDirty(){this.queryList.setDirty()}}class jv{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(n!==null){const r=e.contentQueries!==null?e.contentQueries[0]:n.length,s=[];for(let i=0;i0)r.push(o[a/2]);else{const l=i[a+1],c=e[-u];ngDevMode&&Ar(c);for(let d=yt;d({\u0275\u0275attribute:Lm,\u0275\u0275attributeInterpolate1:Om,\u0275\u0275attributeInterpolate2:Bm,\u0275\u0275attributeInterpolate3:$m,\u0275\u0275attributeInterpolate4:jm,\u0275\u0275attributeInterpolate5:Vm,\u0275\u0275attributeInterpolate6:Hm,\u0275\u0275attributeInterpolate7:Um,\u0275\u0275attributeInterpolate8:qm,\u0275\u0275attributeInterpolateV:Gm,\u0275\u0275defineComponent:Tg,\u0275\u0275defineDirective:J2,\u0275\u0275defineInjectable:Ct,\u0275\u0275defineInjector:fd,\u0275\u0275defineNgModule:xg,\u0275\u0275definePipe:eC,\u0275\u0275directiveInject:so,\u0275\u0275getInheritedFactory:HC,\u0275\u0275inject:We,\u0275\u0275injectAttribute:zg,\u0275\u0275invalidFactory:C1,\u0275\u0275invalidFactoryDep:Kg,\u0275\u0275templateRefExtractor:zI,\u0275\u0275resetView:EC,\u0275\u0275NgOnChangesFeature:Og,\u0275\u0275ProvidersFeature:sI,\u0275\u0275CopyDefinitionFeature:Y1,\u0275\u0275InheritDefinitionFeature:Nm,\u0275\u0275StandaloneFeature:oI,\u0275\u0275nextContext:sS,\u0275\u0275namespaceHTML:PC,\u0275\u0275namespaceMathML:MC,\u0275\u0275namespaceSVG:xC,\u0275\u0275enableBindings:mC,\u0275\u0275disableBindings:vC,\u0275\u0275elementStart:Ld,\u0275\u0275elementEnd:Od,\u0275\u0275element:Wm,\u0275\u0275elementContainerStart:Bd,\u0275\u0275elementContainerEnd:$d,\u0275\u0275elementContainer:Zm,\u0275\u0275pureFunction0:fI,\u0275\u0275pureFunction1:gI,\u0275\u0275pureFunction2:mI,\u0275\u0275pureFunction3:vI,\u0275\u0275pureFunction4:yI,\u0275\u0275pureFunction5:EI,\u0275\u0275pureFunction6:_I,\u0275\u0275pureFunction7:DI,\u0275\u0275pureFunction8:CI,\u0275\u0275pureFunctionV:wI,\u0275\u0275getCurrentView:nS,\u0275\u0275restoreView:yC,\u0275\u0275listener:Ym,\u0275\u0275projection:oS,\u0275\u0275syntheticHostProperty:xv,\u0275\u0275syntheticHostListener:Xm,\u0275\u0275pipeBind1:MI,\u0275\u0275pipeBind2:PI,\u0275\u0275pipeBind3:kI,\u0275\u0275pipeBind4:NI,\u0275\u0275pipeBindV:FI,\u0275\u0275projectionDef:iS,\u0275\u0275hostProperty:Tv,\u0275\u0275property:zm,\u0275\u0275propertyInterpolate:Jm,\u0275\u0275propertyInterpolate1:Vd,\u0275\u0275propertyInterpolate2:ev,\u0275\u0275propertyInterpolate3:tv,\u0275\u0275propertyInterpolate4:nv,\u0275\u0275propertyInterpolate5:rv,\u0275\u0275propertyInterpolate6:sv,\u0275\u0275propertyInterpolate7:iv,\u0275\u0275propertyInterpolate8:ov,\u0275\u0275propertyInterpolateV:av,\u0275\u0275pipe:xI,\u0275\u0275queryRefresh:$I,\u0275\u0275viewQuery:jI,\u0275\u0275loadQuery:HI,\u0275\u0275contentQuery:VI,\u0275\u0275reference:tS,\u0275\u0275classMap:pS,\u0275\u0275classMapInterpolate1:ES,\u0275\u0275classMapInterpolate2:_S,\u0275\u0275classMapInterpolate3:DS,\u0275\u0275classMapInterpolate4:CS,\u0275\u0275classMapInterpolate5:wS,\u0275\u0275classMapInterpolate6:SS,\u0275\u0275classMapInterpolate7:IS,\u0275\u0275classMapInterpolate8:bS,\u0275\u0275classMapInterpolateV:AS,\u0275\u0275styleMap:rr,\u0275\u0275styleMapInterpolate1:TS,\u0275\u0275styleMapInterpolate2:xS,\u0275\u0275styleMapInterpolate3:MS,\u0275\u0275styleMapInterpolate4:PS,\u0275\u0275styleMapInterpolate5:kS,\u0275\u0275styleMapInterpolate6:NS,\u0275\u0275styleMapInterpolate7:FS,\u0275\u0275styleMapInterpolate8:RS,\u0275\u0275styleMapInterpolateV:LS,\u0275\u0275styleProp:uv,\u0275\u0275stylePropInterpolate1:Ev,\u0275\u0275stylePropInterpolate2:_v,\u0275\u0275stylePropInterpolate3:Dv,\u0275\u0275stylePropInterpolate4:Cv,\u0275\u0275stylePropInterpolate5:wv,\u0275\u0275stylePropInterpolate6:Sv,\u0275\u0275stylePropInterpolate7:Iv,\u0275\u0275stylePropInterpolate8:bv,\u0275\u0275stylePropInterpolateV:Av,\u0275\u0275classProp:lv,\u0275\u0275advance:h1,\u0275\u0275template:J1,\u0275\u0275text:yS,\u0275\u0275textInterpolate:cv,\u0275\u0275textInterpolate1:Hd,\u0275\u0275textInterpolate2:dv,\u0275\u0275textInterpolate3:pv,\u0275\u0275textInterpolate4:hv,\u0275\u0275textInterpolate5:fv,\u0275\u0275textInterpolate6:gv,\u0275\u0275textInterpolate7:mv,\u0275\u0275textInterpolate8:vv,\u0275\u0275textInterpolateV:yv,\u0275\u0275i18n:JS,\u0275\u0275i18nAttributes:eI,\u0275\u0275i18nExp:Fv,\u0275\u0275i18nStart:kv,\u0275\u0275i18nEnd:Nv,\u0275\u0275i18nApply:tI,\u0275\u0275i18nPostprocess:nI,\u0275\u0275resolveWindow:qw,\u0275\u0275resolveDocument:Gw,\u0275\u0275resolveBody:zw,\u0275\u0275setComponentScope:Q2,\u0275\u0275setNgModuleScope:X2,\u0275\u0275registerNgModuleType:Qg,\u0275\u0275sanitizeHtml:hw,\u0275\u0275sanitizeStyle:fw,\u0275\u0275sanitizeResourceUrl:nm,\u0275\u0275sanitizeScript:gw,\u0275\u0275sanitizeUrl:tm,\u0275\u0275sanitizeUrlOrResourceUrl:yw,\u0275\u0275trustConstantHtml:mw,\u0275\u0275trustConstantResourceUrl:vw,forwardRef:ua,resolveForwardRef:X}))();let Do=null;function V8(t){if(Do!==null){if(t.defaultEncapsulation!==Do.defaultEncapsulation){ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set.");return}if(t.preserveWhitespaces!==Do.preserveWhitespaces){ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set.");return}}Do=t}function H8(){return Do}function U8(){Do=null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function WI(t){return t.ngModule!==void 0}function ZI(t){return!!fn(t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const eu=[];function q8(t,e){eu.push({moduleType:t,ngModule:e})}let Xp=!1;function KI(){if(!Xp){Xp=!0;try{for(let t=eu.length-1;t>=0;t--){const{moduleType:e,ngModule:n}=eu[t];n.declarations&&n.declarations.every(QI)&&(eu.splice(t,1),W8(e,n))}}finally{Xp=!1}}}function QI(t){return Array.isArray(t)?t.every(QI):!!X(t)}function YI(t,e={}){XI(t,e),e.id!==void 0&&Qg(t,e.id),q8(t,e)}function XI(t,e,n=!1){ngDevMode&&$(t,"Required value moduleType"),ngDevMode&&$(e,"Required value ngModule");const r=an(e.declarations||we);let s=null;Object.defineProperty(t,Ag,{configurable:!0,get:()=>{if(s===null){if(ngDevMode&&e.imports&&e.imports.indexOf(t)>-1)throw new Error(`'${ve(t)}' module can't import itself`);s=pt({usage:0,kind:"NgModule",type:t}).compileNgModule(Ht,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:an(e.bootstrap||we).map(X),declarations:r.map(X),imports:an(e.imports||we).map(X).map(i_),exports:an(e.exports||we).map(X).map(i_),schemas:e.schemas?an(e.schemas):null,id:e.id||null}),s.schemas||(s.schemas=[])}return s}});let i=null;Object.defineProperty(t,ms,{get:()=>{if(i===null){const a=pt({usage:0,kind:"NgModule",type:t});i=a.compileFactory(Ht,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:Sd(t),target:a.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});let o=null;Object.defineProperty(t,bc,{get:()=>{if(o===null){ngDevMode&&Uc(t,n);const a={name:t.name,type:t,providers:e.providers||we,imports:[(e.imports||we).map(X),(e.exports||we).map(X)]};o=pt({usage:0,kind:"NgModule",type:t}).compileInjector(Ht,`ng:///${t.name}/\u0275inj.js`,a)}return o},configurable:!!ngDevMode})}function G8(t,e){const n=`Unexpected "${ve(t)}" found in the "declarations" array of the`,r=`"${ve(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`;return`${n} ${e}, ${r}`}function Uc(t,e,n){if(yf.get(t)||xo(t))return;yf.set(t,!0),t=X(t);let r;if(n){if(r=fn(t),!r)throw new Error(`Unexpected value '${t.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=fn(t,!0);const s=[],i=us(r.declarations),o=us(r.imports);an(o).map(r_).forEach(v=>{E(v,t),Uc(v,!1,t)});const a=us(r.exports);i.forEach(c),i.forEach(d),i.forEach(v=>p(v,t));const u=[...i.map(X),...an(o.map(JI)).map(X)];a.forEach(f),i.forEach(v=>g(v,e)),i.forEach(w);const l=s_(t,"NgModule");if(l&&(l.imports&&an(l.imports).map(r_).forEach(v=>{E(v,t),Uc(v,!1,t)}),l.bootstrap&&ss(l.bootstrap,y),l.bootstrap&&ss(l.bootstrap,m),l.entryComponents&&ss(l.entryComponents,m)),s.length)throw new Error(s.join(` +`));function c(v){v=X(v),Me(v)||$t(v)||Vt(v)||s.push(`Unexpected value '${ve(v)}' declared by the module '${ve(t)}'. Please add a @Pipe/@Directive/@Component annotation.`)}function d(v){v=X(v);const A=$t(v);!Me(v)&&A&&A.selectors.length==0&&s.push(`Directive ${ve(v)} has no selector, please add it!`)}function p(v,A){v=X(v);const M=Me(v)||$t(v)||Vt(v);if(M!=null&&M.standalone){const j=`"${ve(A)}" NgModule`;s.push(G8(v,j))}}function f(v){v=X(v);const A=Me(v)&&"component"||$t(v)&&"directive"||Vt(v)&&"pipe";A&&u.lastIndexOf(v)===-1&&s.push(`Can't export ${A} ${ve(v)} from ${ve(t)} as it was neither declared nor imported!`)}function g(v,A){v=X(v);const M=sc.get(v);if(M&&M!==t){if(!A){const j=[M,t].map(ve).sort();s.push(`Type ${ve(v)} is part of the declarations of 2 modules: ${j[0]} and ${j[1]}! Please consider moving ${ve(v)} to a higher module that imports ${j[0]} and ${j[1]}. You can also create a new NgModule that exports and includes ${ve(v)} then import that NgModule in ${j[0]} and ${j[1]}.`)}}else sc.set(v,t)}function m(v){v=X(v),!sc.get(v)&&!xo(v)&&s.push(`Component ${ve(v)} is not part of any NgModule or the module has not been imported into your module.`)}function y(v){v=X(v),Me(v)||s.push(`${ve(v)} cannot be used as an entry component.`),xo(v)&&s.push(`The \`${ve(v)}\` class is a standalone component, which can not be used in the \`@NgModule.bootstrap\` array. Use the \`bootstrapApplication\` function for bootstrap instead.`)}function w(v){if(v=X(v),Me(v)){const A=s_(v,"Component");A&&A.entryComponents&&ss(A.entryComponents,m)}}function E(v,A){v=X(v);const M=Me(v)||$t(v);if(M!==null&&!M.standalone)throw new Error(`Unexpected directive '${v.name}' imported by the module '${A.name}'. Please add an @NgModule annotation.`);const j=Vt(v);if(j!==null&&!j.standalone)throw new Error(`Unexpected pipe '${v.name}' imported by the module '${A.name}'. Please add an @NgModule annotation.`)}}function r_(t){return t=X(t),t.ngModule||t}function s_(t,e){let n=null;return r(t.__annotations__),r(t.decorators),n;function r(i){i&&i.forEach(s)}function s(i){n||(Object.getPrototypeOf(i).ngMetadataName==e?n=i:i.type&&Object.getPrototypeOf(i.type).ngMetadataName==e&&(n=i.args[0]))}}let sc=new WeakMap,yf=new WeakMap;function z8(){sc=new WeakMap,yf=new WeakMap,eu.length=0}function JI(t){t=X(t);const e=fn(t);return e===null?[t]:[...an(us(e.exports).map(n=>fn(n)?(Uc(n,!1),JI(n)):n))]}function W8(t,e){const n=an(e.declarations||we),r=Gi(t);n.forEach(s=>{if(s=X(s),s.hasOwnProperty(Ku)){const o=Me(s);Uv(o,r)}else!s.hasOwnProperty(gd)&&!s.hasOwnProperty(md)&&(s.ngSelectorScope=t)})}function Uv(t,e){t.directiveDefs=()=>Array.from(e.compilation.directives).map(n=>n.hasOwnProperty(Ku)?Me(n):$t(n)).filter(n=>!!n),t.pipeDefs=()=>Array.from(e.compilation.pipes).map(n=>Vt(n)),t.schemas=e.schemas,t.tView=null}function Gi(t){if(ZI(t))return Z8(t);if(xo(t)){if((Me(t)||$t(t))!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(Vt(t)!==null)return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function Z8(t){const e=fn(t,!0);if(e.transitiveCompileScopes!==null)return e.transitiveCompileScopes;const n={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return us(e.imports).forEach(r=>{const s=Gi(r);s.exported.directives.forEach(i=>n.compilation.directives.add(i)),s.exported.pipes.forEach(i=>n.compilation.pipes.add(i))}),us(e.declarations).forEach(r=>{Vt(r)?n.compilation.pipes.add(r):n.compilation.directives.add(r)}),us(e.exports).forEach(r=>{const s=r;if(ZI(s)){const i=Gi(s);i.exported.directives.forEach(o=>{n.compilation.directives.add(o),n.exported.directives.add(o)}),i.exported.pipes.forEach(o=>{n.compilation.pipes.add(o),n.exported.pipes.add(o)})}else Vt(s)?n.exported.pipes.add(s):n.exported.directives.add(s)}),e.transitiveCompileScopes=n,n}function i_(t){return WI(t)?t.ngModule:t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Jp=0;function eb(t,e){(typeof ngDevMode>"u"||ngDevMode)&&bg();let n=null;MR(t,e),nb(t,e),Object.defineProperty(t,Ku,{get:()=>{if(n===null){const r=pt({usage:0,kind:"component",type:t});if(QC(e)){const l=[`Component '${t.name}' is not resolved:`];throw e.templateUrl&&l.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&l.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),l.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(l.join(` +`))}const s=H8();let i=e.preserveWhitespaces;i===void 0&&(s!==null&&s.preserveWhitespaces!==void 0?i=s.preserveWhitespaces:i=!1);let o=e.encapsulation;o===void 0&&(s!==null&&s.defaultEncapsulation!==void 0?o=s.defaultEncapsulation:o=br.Emulated);const a=e.templateUrl||`ng:///${t.name}/template.html`,u=Object.assign(Object.assign({},rb(t,e)),{typeSourceSpan:r.createParseSourceSpan("Component",t.name,a),template:e.template||"",preserveWhitespaces:i,styles:e.styles||we,animations:e.animations,declarations:[],changeDetection:e.changeDetection,encapsulation:o,interpolation:e.interpolation,viewProviders:e.viewProviders||null,isStandalone:!!e.standalone});Jp++;try{if(u.usesInheritance&&sb(t),n=r.compileComponent(Ht,a,u),e.standalone){const l=an(e.imports||we),{directiveDefs:c,pipeDefs:d}=Y8(t,l);n.directiveDefs=c,n.pipeDefs=d,n.dependencies=()=>l.map(X)}}finally{Jp--}if(Jp===0&&KI(),X8(t)){const l=Gi(t.ngSelectorScope);Uv(n,l)}if(e.schemas)if(e.standalone)n.schemas=e.schemas;else throw new Error(`The 'schemas' was specified for the ${ve(t)} but is only valid on a component that is standalone.`);else e.standalone&&(n.schemas=[])}return n},configurable:!!ngDevMode})}function K8(t){return Me(t)?"component":$t(t)?"directive":Vt(t)?"pipe":"type"}function Q8(t,e){if(wg(t)&&(t=X(t),!t))throw new Error(`Expected forwardRef function, imported from "${ve(e)}", to return a standalone entity or NgModule but got "${ve(t)||t}".`);if(fn(t)==null){const n=Me(t)||$t(t)||Vt(t);if(n!=null){if(!n.standalone)throw new Error(`The "${ve(t)}" ${K8(t)}, imported from "${ve(e)}", is not standalone. Did you forget to add the standalone: true flag?`)}else throw WI(t)?new Error(`A module with providers was imported from "${ve(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${ve(t)}" type, imported from "${ve(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`)}}function Y8(t,e){let n=null,r=null;return{directiveDefs:()=>{if(n===null){n=[Me(t)];const o=new Set;for(const a of e){ngDevMode&&Q8(a,t);const u=X(a);if(!o.has(u))if(o.add(u),fn(u)){const l=Gi(u);for(const c of l.exported.directives){const d=Me(c)||$t(c);d&&!o.has(c)&&(o.add(c),n.push(d))}}else{const l=Me(u)||$t(u);l&&n.push(l)}}}return n},pipeDefs:()=>{if(r===null){r=[];const o=new Set;for(const a of e){const u=X(a);if(!o.has(u))if(o.add(u),fn(u)){const l=Gi(u);for(const c of l.exported.pipes){const d=Vt(c);d&&!o.has(c)&&(o.add(c),r.push(d))}}else{const l=Vt(u);l&&r.push(l)}}}return r}}}function X8(t){return t.ngSelectorScope!==void 0}function qv(t,e){let n=null;nb(t,e||{}),Object.defineProperty(t,gd,{get:()=>{if(n===null){const r=tb(t,e||{});n=pt({usage:0,kind:"directive",type:t}).compileDirective(Ht,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function tb(t,e){const n=t&&t.name,r=`ng:///${n}/\u0275dir.js`,s=pt({usage:0,kind:"directive",type:t}),i=rb(t,e);return i.typeSourceSpan=s.createParseSourceSpan("Directive",n,r),i.usesInheritance&&sb(t),{metadata:i,sourceMapUrl:r}}function nb(t,e){let n=null;Object.defineProperty(t,ms,{get:()=>{if(n===null){const r=tb(t,e),s=pt({usage:0,kind:"directive",type:t});n=s.compileFactory(Ht,`ng:///${t.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Sd(t),target:s.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function J8(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function rb(t,e){const n=il(),r=n.ownPropMetadata(t);return{name:t.name,type:t,selector:e.selector!==void 0?e.selector:null,host:e.host||Oi,propMetadata:r,inputs:e.inputs||we,outputs:e.outputs||we,queries:o_(t,r,ib),lifecycle:{usesOnChanges:n.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!J8(t),exportAs:n$(e.exportAs),providers:e.providers||null,viewQueries:o_(t,r,ob),isStandalone:!!e.standalone}}function sb(t){const e=Object.prototype;let n=Object.getPrototypeOf(t.prototype).constructor;for(;n&&n!==e;)!$t(n)&&!Me(n)&&s$(n)&&qv(n,null),n=Object.getPrototypeOf(n)}function e$(t){return typeof t=="string"?ub(t):X(t)}function t$(t,e){return{propertyName:t,predicate:e$(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly}}function o_(t,e,n){const r=[];for(const s in e)if(e.hasOwnProperty(s)){const i=e[s];i.forEach(o=>{if(n(o)){if(!o.selector)throw new Error(`Can't construct a query for the property "${s}" of "${ve(t)}" since the query selector wasn't defined.`);if(i.some(ab))throw new Error("Cannot combine @Input decorators with query decorators");r.push(t$(s,o))}})}return r}function n$(t){return t===void 0?null:ub(t)}function ib(t){const e=t.ngMetadataName;return e==="ContentChild"||e==="ContentChildren"}function ob(t){const e=t.ngMetadataName;return e==="ViewChild"||e==="ViewChildren"}function ab(t){return t.ngMetadataName==="Input"}function ub(t){return t.split(",").map(e=>e.trim())}const r$=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function s$(t){const e=il();if(r$.some(r=>e.hasLifecycleHook(t,r)))return!0;const n=e.propMetadata(t);for(const r in n){const s=n[r];for(let i=0;i{if(r===null){const s=a_(t,e),i=pt({usage:0,kind:"pipe",type:s.type});r=i.compileFactory(Ht,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s.type,typeArgumentCount:0,deps:Sd(t),target:i.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(t,md,{get:()=>{if(n===null){const s=a_(t,e);n=pt({usage:0,kind:"pipe",type:s.type}).compilePipe(Ht,`ng:///${s.name}/\u0275pipe.js`,s)}return n},configurable:!!ngDevMode})}function a_(t,e){return{type:t,name:t.name,pipeName:e.name,pure:e.pure!==void 0?e.pure:!0,isStandalone:!!e.standalone}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const tn=ma("Directive",(t={})=>t,void 0,void 0,(t,e)=>qv(t,e)),cb=ma("Component",(t={})=>Object.assign({changeDetection:gs.Default},t),tn,void 0,(t,e)=>eb(t,e)),nn=ma("Pipe",t=>Object.assign({pure:!0},t),void 0,void 0,(t,e)=>lb(t,e)),Pe=gi("Input",t=>({bindingPropertyName:t})),i$=gi("Output",t=>({bindingPropertyName:t})),o$=gi("HostBinding",t=>({hostPropertyName:t})),a$=gi("HostListener",(t,e)=>({eventName:t,args:e}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const ka=ma("NgModule",t=>t,void 0,void 0,(t,e)=>YI(t,e));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function qc(...t){}const Qd=new ge("Application Initializer");class zn{constructor(e){this.appInits=e,this.resolve=qc,this.reject=qc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:o,error:a})});e.push(i)}}Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),e.length===0&&n(),this.initialized=!0}}zn.\u0275fac=function(e){return new(e||zn)(We(Qd,8))};zn.\u0275prov=Ct({token:zn,factory:zn.\u0275fac,providedIn:"root"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(zn,[{type:Ae,args:[{providedIn:"root"}]}],function(){return[{type:void 0,decorators:[{type:Be,args:[Qd]},{type:zt}]}]},null)})();/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Es=new ge("AppId",{providedIn:"root",factory:db});function db(){return`${eh()}${eh()}${eh()}`}const u$={provide:Es,useFactory:db,deps:[]};function eh(){return String.fromCharCode(97+Math.floor(Math.random()*25))}const Gv=new ge("Platform Initializer"),zv=new ge("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pb=new ge("appBootstrapListener"),l$=new ge("Application Packages Root URL"),c$=new ge("AnimationModuleType");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class xn{log(e){console.log(e)}warn(e){console.warn(e)}}xn.\u0275fac=function(e){return new(e||xn)};xn.\u0275prov=Ct({token:xn,factory:xn.\u0275fac,providedIn:"platform"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(xn,[{type:Ae,args:[{providedIn:"platform"}]}],null,null)})();/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function d$(){return typeof ngI18nClosureMode<"u"&&ngI18nClosureMode&&typeof goog<"u"&&goog.LOCALE!=="en"?goog.LOCALE:typeof $localize<"u"&&$localize.locale||Ui}const Rt=new ge("LocaleId",{providedIn:"root",factory:()=>At(Rt,Ee.Optional|Ee.SkipSelf)||d$()}),Wv=new ge("DefaultCurrencyCode",{providedIn:"root",factory:()=>I3}),p$=new ge("Translations"),h$=new ge("TranslationsFormat");var Ef;(function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"})(Ef||(Ef={}));/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class hb{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}class ki{compileModuleSync(e){return new Wd(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),r=fn(e),s=us(r.declarations).reduce((i,o)=>{const a=Me(o);return a&&i.push(new Ca(a)),i},[]);return new hb(n,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}ki.\u0275fac=function(e){return new(e||ki)};ki.\u0275prov=Ct({token:ki,factory:ki.\u0275fac,providedIn:"root"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(ki,[{type:Ae,args:[{providedIn:"root"}]}],null,null)})();const fb=new ge("compilerOptions");class f${}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function g$(t){ngDevMode&&$(t,"component"),Mm(jw(t)),lI(t).forEach(e=>X1(e))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const u_="ng";let l_=!1;function gb(){l_||(l_=!0,Cn("\u0275setProfiler",PF),Cn("getDirectiveMetadata",C8),Cn("getComponent",mf),Cn("getContext",aI),Cn("getListeners",hI),Cn("getOwningComponent",uI),Cn("getHostElement",pI),Cn("getInjector",cI),Cn("getRootComponents",lI),Cn("getDirectives",dI),Cn("applyChanges",g$))}function Cn(t,e){if(typeof COMPILED>"u"||!COMPILED){const n=xe;if(ngDevMode&&$(e,"function not defined"),n){let r=n[u_];r||(r=n[u_]={}),r[t]=e}}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const m$=(()=>Promise.resolve(0))();function _f(t){typeof Zone>"u"?m$.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function v$(){let t=xe.requestAnimationFrame,e=xe.cancelAnimationFrame;if(typeof Zone<"u"&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Xe{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Un(!1),this.onMicrotaskEmpty=new Un(!1),this.onStable=new Un(!1),this.onError=new Un(!1),typeof Zone>"u")throw new B(908,ngDevMode&&"In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;if(s._nesting=0,s._outer=s._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;s._inner=s._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=v$().nativeRequestAnimationFrame,_$(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!Xe.isInAngularZone())throw new B(909,ngDevMode&&"Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xe.isInAngularZone())throw new B(909,ngDevMode&&"Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,e,y$,qc,qc);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const y$={};function Zv(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function E$(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Df(t),t.isCheckStableRunning=!0,Zv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Df(t))}function _$(t){const e=()=>{E$(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return c_(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),d_(t)}},onInvoke:(n,r,s,i,o,a,u)=>{try{return c_(t),n.invoke(s,i,o,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),d_(t)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Df(t),Zv(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Df(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function c_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function d_(t){t._nesting--,Zv(t)}class mb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Un,this.onMicrotaskEmpty=new Un,this.onStable=new Un,this.onError=new Un}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,s){return e.apply(n,r)}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Kv=new ge(""),Fo=new ge("");class Dr{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,tu||(vb(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xe.assertNotInAngularZone(),_f(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_f(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let s=-1;n&&n>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==s),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:r})}whenStable(e,n,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}}Dr.\u0275fac=function(e){return new(e||Dr)(We(Xe),We(Wn),We(Fo))};Dr.\u0275prov=Ct({token:Dr,factory:Dr.\u0275fac});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(Dr,[{type:Ae}],function(){return[{type:Xe},{type:Wn},{type:void 0,decorators:[{type:Be,args:[Fo]}]}]},null)})();class Wn{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){var r;return(r=tu==null?void 0:tu.findTestabilityInTree(this,e,n))!==null&&r!==void 0?r:null}}Wn.\u0275fac=function(e){return new(e||Wn)};Wn.\u0275prov=Ct({token:Wn,factory:Wn.\u0275fac,providedIn:"platform"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(Wn,[{type:Ae,args:[{providedIn:"platform"}]}],null,null)})();function vb(t){tu=t}let tu;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Cr=null;const Qv=new ge("AllowMultipleToken"),Yv=new ge("PlatformDestroyListeners"),Qr=typeof ngDevMode>"u"||ngDevMode;function yb(t,e,n){ngDevMode&&SF(n);const r=new Wd(n);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(r);const s=t.get(fb,[]).concat(e);if(V8({defaultEncapsulation:p_(s.map(l=>l.defaultEncapsulation)),preserveWhitespaces:p_(s.map(l=>l.preserveWhitespaces))}),PR())return Promise.resolve(r);const i=S$(s.map(l=>l.providers));if(i.length===0)return Promise.resolve(r);const o=pt({usage:0,kind:"NgModule",type:n}),u=_t.create({providers:i}).get(o.ResourceLoader);return ZC(l=>Promise.resolve(u.get(l))).then(()=>r)}function Eb(){ngDevMode&&gb()}function _b(t){return t.isBoundToModule}class D${constructor(e,n){this.name=e,this.token=n}}function Db(t){if(Cr&&!Cr.get(Qv,!1))throw new B(400,ngDevMode&&"There can be only one platform. Destroy the previous one to create a new one.");Eb(),Cr=t;const e=t.get(cs);return Cb(t),e}function C$(t=[]){if(Cr)return Cr;const e=Ib(t);return Cr=e,Eb(),Cb(e),e}function Cb(t){const e=t.get(Gv,null);e&&e.forEach(n=>n())}function wb(t){const{rootComponent:e,appProviders:n,platformProviders:r}=t;Qr&&e!==void 0&&qL(e);const s=C$(r),i=Ab("zone.js",bb());return i.run(()=>{const o=[{provide:Xe,useValue:i},...n||[]],a=Ov(o,s,"Environment Injector"),u=a.get(mi,null);if(Qr&&!u)throw new B(402,"No `ErrorHandler` found in the Dependency Injection tree.");let l;i.runOutsideAngular(()=>{l=i.onError.subscribe({next:p=>{u.handleError(p)}})});const c=()=>a.destroy(),d=s.get(Yv);return d.add(c),a.onDestroy(()=>{l.unsubscribe(),d.delete(c)}),Tb(u,i,()=>{const p=a.get(zn);return p.runInitializers(),p.donePromise.then(()=>{const f=a.get(Rt,Ui);Pv(f||Ui);const g=a.get(Zn);return e!==void 0&&g.bootstrap(e),g})})})}function Xv(t,e,n=[]){const r=`Platform: ${e}`,s=new ge(r);return(i=[])=>{let o=Yd();if(!o||o.injector.get(Qv,!1)){const a=[...n,...i,{provide:s,useValue:!0}];t?t(a):Db(Ib(a,r))}return Sb(s)}}function Sb(t){const e=Yd();if(!e)throw new B(401,ngDevMode&&"No platform exists!");if((typeof ngDevMode>"u"||ngDevMode)&&!e.injector.get(t,null))throw new B(400,"A platform with a different configuration has been created. Please destroy it first.");return e}function Ib(t=[],e){return _t.create({name:e,providers:[{provide:Id,useValue:"platform"},{provide:Yv,useValue:new Set([()=>Cr=null])},...t]})}function w$(){var t;(t=Yd())===null||t===void 0||t.destroy()}function Yd(){var t;return(t=Cr==null?void 0:Cr.get(cs))!==null&&t!==void 0?t:null}class cs{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=Ab(n==null?void 0:n.ngZone,bb(n)),s=[{provide:Xe,useValue:r}];return r.run(()=>{const i=_t.create({providers:s,parent:this.injector,name:e.moduleType.name}),o=e.create(i),a=o.injector.get(mi,null);if(!a)throw new B(402,ngDevMode&&"No ErrorHandler. Is platform module (BrowserModule) included?");return r.runOutsideAngular(()=>{const u=r.onError.subscribe({next:l=>{a.handleError(l)}});o.onDestroy(()=>{ic(this._modules,o),u.unsubscribe()})}),Tb(a,r,()=>{const u=o.injector.get(zn);return u.runInitializers(),u.donePromise.then(()=>{const l=o.injector.get(Rt,Ui);return Pv(l||Ui),this._moduleDoBootstrap(o),o})})})}bootstrapModule(e,n=[]){const r=xb({},n);return yb(this.injector,r,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const n=e.injector.get(Zn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new B(403,ngDevMode&&`The module ${ue(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,ngDevMode&&"The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(Yv,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}cs.\u0275fac=function(e){return new(e||cs)(We(_t))};cs.\u0275prov=Ct({token:cs,factory:cs.\u0275fac,providedIn:"platform"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(cs,[{type:Ae,args:[{providedIn:"platform"}]}],function(){return[{type:_t}]},null)})();function bb(t){return{enableLongStackTrace:typeof ngDevMode>"u"?!1:!!ngDevMode,shouldCoalesceEventChangeDetection:!!(t&&t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!!(t&&t.ngZoneRunCoalescing)||!1}}function Ab(t,e){let n;return t==="noop"?n=new mb:n=(t==="zone.js"?void 0:t)||new Xe(e),n}function Tb(t,e,n){try{const r=n();return jd(r)?r.catch(s=>{throw e.runOutsideAngular(()=>t.handleError(s)),s}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function xb(t,e){return Array.isArray(e)?t=e.reduce(xb,t):t=Object.assign(Object.assign({},t),e),t}class Zn{constructor(e,n,r){this._zone=e,this._injector=n,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new en(o=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{o.next(this._stable),o.complete()})}),i=new en(o=>{let a;this._zone.runOutsideAngular(()=>{a=this._zone.onStable.subscribe(()=>{Xe.assertNotInAngularZone(),_f(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,o.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Xe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{o.next(!1)}))});return()=>{a.unsubscribe(),u.unsubscribe()}});this.isStable=iF(s,i.pipe(oF()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,n){Qr&&this.warnIfDestroyed();const r=e instanceof Bc;if(!this._injector.get(zn).done){const d=!r&&xo(e),p="Cannot bootstrap as there are still asynchronous initializers running."+(d?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new B(405,Qr&&p)}let i;r?i=e:i=this._injector.get(ya).resolveComponentFactory(e),this.componentTypes.push(i.componentType);const o=_b(i)?void 0:this._injector.get(qi),a=n||i.selector,u=i.create(_t.NULL,[],a,o),l=u.location.nativeElement,c=u.injector.get(Kv,null);return c==null||c.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ic(this.components,u),c==null||c.unregisterApplication(l)}),this._loadComponent(u),(typeof ngDevMode>"u"||ngDevMode)&&this._injector.get(xn).log("Angular is running in development mode. Call enableProdMode() to enable production mode."),u}tick(){if(Qr&&this.warnIfDestroyed(),this._runningTick)throw new B(101,ngDevMode&&"ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(typeof ngDevMode>"u"||ngDevMode)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){Qr&&this.warnIfDestroyed();const n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){Qr&&this.warnIfDestroyed();const n=e;ic(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pb,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return Qr&&this.warnIfDestroyed(),this._destroyListeners.push(e),()=>ic(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new B(406,ngDevMode&&"This instance of the `ApplicationRef` has already been destroyed.");const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){Qr&&this._destroyed&&console.warn(Er(406,"This instance of the `ApplicationRef` has already been destroyed."))}}Zn.\u0275fac=function(e){return new(e||Zn)(We(Xe),We(Xs),We(mi))};Zn.\u0275prov=Ct({token:Zn,factory:Zn.\u0275fac,providedIn:"root"});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(Zn,[{type:Ae,args:[{providedIn:"root"}]}],function(){return[{type:Xe},{type:Xs},{type:mi}]},null)})();function ic(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function p_(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}function S$(t){const e=[];return t.forEach(n=>n&&e.push(...n)),e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Mb=!0,Pb=!1;function I$(){return Pb=!0,Mb}function b$(){if(Pb)throw new Error("Cannot enable prod mode after platform setup.");(typeof ngDevMode>"u"||ngDevMode)&&(xe.ngDevMode=!1),Mb=!1}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function A$(t){const e=JC(t);if(!e)throw kb(t);return new Wd(e)}function T$(t){const e=JC(t);if(!e)throw kb(t);return e}function kb(t){return new Error(`No module with ID ${t} loaded`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class fl{}fl.__NG_ELEMENT_ID__=Nb;function Nb(t){return x$(ut(),T(),(t&16)===16)}function x$(t,e,n){if(vd(t)&&!n){const r=mn(t.index,e);return new qo(r,r)}else if(t.type&47){const r=e[Mt];return new qo(r,e)}return null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Fb extends fl{}class M$ extends Fb{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class P${constructor(e,n){this.name=e,this.callback=n}}function k$(t){return t.map(e=>e.nativeElement)}class Jv{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new gl(e):null}get injector(){return cI(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(mf(e)||uI(e))}get context(){return mf(this.nativeNode)||aI(this.nativeNode)}get listeners(){return hI(this.nativeNode).filter(e=>e.type==="dom")}get references(){return w8(this.nativeNode)}get providerTokens(){return D8(this.nativeNode)}}class gl extends Jv{constructor(e){ngDevMode&&Hs(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=Jt(this.nativeNode),n=e?e.lView:null;return n!==null?n[L].data[e.nodeIndex].value:this.nativeNode.nodeName}get properties(){const e=Jt(this.nativeNode),n=e?e.lView:null;if(n===null)return{};const r=n[L].data,s=r[e.nodeIndex],i={};return N$(this.nativeElement,i),R$(i,s,n,r),i}get attributes(){const e={},n=this.nativeElement;if(!n)return e;const r=Jt(n),s=r?r.lView:null;if(s===null)return{};const i=s[L].data[r.nodeIndex].attrs,o=[];if(i){let u=0;for(;ue[i]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,n=[];for(let r=0;r{if(i.name===e){const o=i.callback;o.call(r,n),s.push(o)}}),typeof r.eventListeners=="function"&&r.eventListeners(e).forEach(i=>{if(i.toString().indexOf("__ngUnwrap__")!==-1){const o=i("__ngUnwrap__");return s.indexOf(o)===-1&&o.call(r,n)}})}}function N$(t,e){if(t){let n=Object.getPrototypeOf(t);const r=Node.prototype;for(;n!==null&&n!==r;){const s=Object.getOwnPropertyDescriptors(n);for(let i in s)if(!i.startsWith("__")&&!i.startsWith("on")){const o=t[i];F$(o)&&(e[i]=o)}n=Object.getPrototypeOf(n)}}}function F$(t){return typeof t=="string"||typeof t=="boolean"||typeof t=="number"||t===null}function h_(t,e,n,r){const s=Jt(t.nativeNode),i=s?s.lView:null;if(i!==null){const o=i[L].data[s.nodeIndex];wi(o,i,e,n,r,t.nativeNode)}else ey(t.nativeNode,e,n,r)}function wi(t,e,n,r,s,i){ngDevMode&&tr(t,e);const o=NF(t,e);if(t.type&11){if(th(o,n,r,s,i),vd(t)){const u=mn(t.index,e);u&&u[L].firstChild&&wi(u[L].firstChild,u,n,r,s,i)}else t.child&&wi(t.child,e,n,r,s,i),o&&ey(o,n,r,s);const a=e[t.index];Ln(a)&&f_(a,n,r,s,i)}else if(t.type&4){const a=e[t.index];th(a[Qu],n,r,s,i),f_(a,n,r,s,i)}else if(t.type&16){const a=e[Mt],l=a[St].projection[t.projection];if(Array.isArray(l))for(let c of l)th(c,n,r,s,i);else if(l){const c=a[Qe],d=c[L].data[l.index];wi(d,c,n,r,s,i)}}else t.child&&wi(t.child,e,n,r,s,i);if(i!==o){const a=t.flags&4?t.projectionNext:t.next;a&&wi(a,e,n,r,s,i)}}function f_(t,e,n,r,s){for(let i=yt;i1){let c=u[1];for(let d=1;de;class Lb{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||O$}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(s,a),n===null||!Object.is(n.trackById,o)?(n=this._mismatch(n,a,o,s),r=!0):(r&&(n=this._verifyReinsertion(n,a,o,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,s){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,s)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,s),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,s)):e=this._addAfter(new B$(n,r),i,s)),e}_verifyReinsertion(e,n,r,s){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,s):e.currentIndex!=s&&(e.currentIndex=s,this._addToMoves(e,s)),e}_truncate(e){for(;e!==null;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);const s=e._prevRemoved,i=e._nextRemoved;return s===null?this._removalsHead=i:s._nextRemoved=i,i===null?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const s=n===null?this._itHead:n._next;return e._next=s,e._prev=n,s===null?this._itTail=e:s._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new g_),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new g_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class B${constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class $${constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}}class g_{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new $$,this.map.set(n,r)),r.add(e)}get(e,n){const r=e,s=this.map.get(r);return s?s.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}}function m_(t,e,n){const r=t.previousIndex;if(r===null)return r;let s=0;return n&&r{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const s=this._records.get(e);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new V$(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class V${constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Bb(){return new Yt([new Rb])}class Yt{constructor(e){this.factories=e}static create(e,n){if(n!=null){const r=n.factories.slice();e=e.concat(r)}return new Yt(e)}static extend(e){return{provide:Yt,useFactory:n=>Yt.create(e,n||Bb()),deps:[[Yt,new to,new zt]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new B(901,ngDevMode&&`Cannot find a differ supporting object '${e}' of type '${H$(e)}'`)}}Yt.\u0275prov=Ct({token:Yt,providedIn:"root",factory:Bb});function H$(t){return t.name||typeof t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function $b(){return new xt([new Ob])}class xt{constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new xt(e)}static extend(e){return{provide:xt,useFactory:n=>xt.create(e,n||$b()),deps:[[xt,new to,new zt]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new B(901,ngDevMode&&`Cannot find a differ supporting object '${e}'`)}}xt.\u0275prov=Ct({token:xt,providedIn:"root",factory:$b});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const U$=[new Ob],q$=[new Rb],G$=new Yt(q$),z$=new xt(U$);/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const jb=Xv(null,"core",[]);class xr{constructor(e){}}xr.\u0275fac=function(e){return new(e||xr)(We(Zn))};xr.\u0275mod=xg({type:xr});xr.\u0275inj=fd({});(function(){(typeof ngDevMode>"u"||ngDevMode)&&Zr(xr,[{type:ka}],function(){return[{type:Zn}]},null)})();/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function W$(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Z$=!0;/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function _n(t){return pt({usage:1,kind:"directive",type:t.type}).compileDirectiveDeclaration(Ht,`ng:///${t.type.name}/\u0275fac.js`,t)}function W(t){var e,n;Zr(t.type,t.decorators,(e=t.ctorParameters)!==null&&e!==void 0?e:null,(n=t.propDecorators)!==null&&n!==void 0?n:null)}function K$(t){return pt({usage:1,kind:"component",type:t.type}).compileComponentDeclaration(Ht,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Z(t){return pt({usage:1,kind:Q$(t.target),type:t.type}).compileFactoryDeclaration(Ht,`ng:///${t.type.name}/\u0275fac.js`,t)}function Q$(t){switch(t){case H.Directive:return"directive";case H.Component:return"component";case H.Injectable:return"injectable";case H.Pipe:return"pipe";case H.NgModule:return"NgModule"}}function Ke(t){return pt({usage:1,kind:"injectable",type:t.type}).compileInjectableDeclaration(Ht,`ng:///${t.type.name}/\u0275prov.js`,t)}function ml(t){return pt({usage:1,kind:"NgModule",type:t.type}).compileInjectorDeclaration(Ht,`ng:///${t.type.name}/\u0275inj.js`,t)}function vl(t){return pt({usage:1,kind:"NgModule",type:t.type}).compileNgModuleDeclaration(Ht,`ng:///${t.type.name}/\u0275mod.js`,t)}function rn(t){return pt({usage:1,kind:"pipe",type:t.type}).compilePipeDeclaration(Ht,`ng:///${t.type.name}/\u0275pipe.js`,t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Y$(t,e){ngDevMode&&Ww(t);const n=Me(t),r=e.elementInjector||bd();return new Ca(n).create(r,e.projectableNodes,e.hostElement,e.environmentInjector)}function X$(t){const e=Me(t);if(!e)return null;const n=new Ca(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone}}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */typeof ngDevMode<"u"&&ngDevMode&&(xe.$localize=xe.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")});const D=Object.freeze(Object.defineProperty({__proto__:null,ANALYZE_FOR_ENTRY_COMPONENTS:uR,ANIMATION_MODULE_TYPE:c$,APP_BOOTSTRAP_LISTENER:pb,APP_ID:Es,APP_INITIALIZER:Qd,ApplicationInitStatus:zn,ApplicationModule:xr,ApplicationRef:Zn,Attribute:Zg,COMPILER_OPTIONS:fb,CUSTOM_ELEMENTS_SCHEMA:kw,get ChangeDetectionStrategy(){return gs},ChangeDetectorRef:fl,Compiler:ki,CompilerFactory:f$,Component:cb,ComponentFactory:Bc,ComponentFactoryResolver:ya,ComponentRef:Mw,ContentChild:cR,ContentChildren:lR,DEFAULT_CURRENCY_CODE:Wv,DebugElement:gl,DebugEventListener:P$,DebugNode:Jv,DefaultIterableDiffer:Lb,Directive:tn,ENVIRONMENT_INITIALIZER:rm,ElementRef:nr,EmbeddedViewRef:M$,EnvironmentInjector:Xs,ErrorHandler:mi,EventEmitter:Un,Host:sl,HostBinding:o$,HostListener:a$,INJECTOR:sm,Inject:Be,get InjectFlags(){return Ee},Injectable:Ae,InjectionToken:ge,Injector:_t,Input:Pe,IterableDiffers:Yt,KeyValueDiffers:xt,LOCALE_ID:Rt,get MissingTranslationStrategy(){return Ef},ModuleWithComponentFactories:hb,NO_ERRORS_SCHEMA:Nw,NgModule:ka,NgModuleFactory:iI,NgModuleRef:qi,NgProbeToken:D$,NgZone:Xe,Optional:zt,Output:i$,PACKAGE_ROOT_URL:l$,PLATFORM_ID:zv,PLATFORM_INITIALIZER:Gv,Pipe:nn,PlatformRef:cs,Query:tl,QueryList:Zd,ReflectiveInjector:Uo,ReflectiveKey:ls,Renderer2:ro,RendererFactory2:om,get RendererStyleFlags2(){return mr},ResolvedReflectiveFactory:y1,Sanitizer:$c,get SecurityContext(){return Zt},Self:wd,SimpleChange:oC,SkipSelf:to,TRANSLATIONS:p$,TRANSLATIONS_FORMAT:h$,TemplateRef:Nt,Testability:Dr,TestabilityRegistry:Wn,Type:Cd,VERSION:Pw,Version:Ad,ViewChild:pR,ViewChildren:dR,ViewContainerRef:ht,get ViewEncapsulation(){return br},ViewRef:Fb,asNativeElements:k$,assertPlatform:Sb,createComponent:Y$,createEnvironmentInjector:Ov,createNgModule:Rv,createNgModuleRef:E8,createPlatform:Db,createPlatformFactory:Xv,defineInjectable:dF,destroyPlatform:w$,enableProdMode:b$,forwardRef:ua,getDebugNode:Zo,getModuleFactory:A$,getNgModuleById:T$,getPlatform:Yd,importProvidersFrom:Dw,inject:At,isDevMode:I$,platformCore:jb,reflectComponentType:X$,resolveForwardRef:X,setTestabilityGetter:vb,\u0275ALLOW_MULTIPLE_PLATFORMS:Qv,\u0275APP_ID_RANDOM_PROVIDER:u$,get \u0275ChangeDetectorStatus(){return Bh},\u0275ComponentFactory:Bc,\u0275Console:xn,\u0275DEFAULT_LOCALE_ID:Ui,\u0275INJECTOR_SCOPE:Id,\u0275LContext:$w,\u0275LifecycleHooksFeature:K1,get \u0275LocaleDataIndex(){return $e},\u0275NG_COMP_DEF:Ku,\u0275NG_DIR_DEF:gd,\u0275NG_ELEMENT_ID:To,\u0275NG_INJ_DEF:bc,\u0275NG_MOD_DEF:Ag,\u0275NG_PIPE_DEF:md,\u0275NG_PROV_DEF:wu,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:ec,\u0275NO_CHANGE:Q,\u0275NgModuleFactory:Wd,\u0275NoopNgZone:mb,\u0275ReflectionCapabilities:zC,\u0275Render3ComponentFactory:Ca,\u0275Render3ComponentRef:Z1,\u0275Render3NgModuleRef:Lv,\u0275RuntimeError:B,\u0275TESTABILITY:Kv,\u0275TESTABILITY_GETTER:Fo,\u0275ViewRef:qo,\u0275_sanitizeHtml:em,\u0275_sanitizeUrl:ol,\u0275allowSanitizationBypassAndThrow:Vn,\u0275bypassSanitizationTrustHtml:rw,\u0275bypassSanitizationTrustResourceUrl:aw,\u0275bypassSanitizationTrustScript:iw,\u0275bypassSanitizationTrustStyle:sw,\u0275bypassSanitizationTrustUrl:ow,\u0275clearResolutionOfComponentResourcesQueue:YC,\u0275coerceToBoolean:W$,\u0275compileComponent:eb,\u0275compileDirective:qv,\u0275compileNgModule:YI,\u0275compileNgModuleDefs:XI,\u0275compileNgModuleFactory:yb,\u0275compilePipe:lb,\u0275createInjector:of,\u0275defaultIterableDiffers:G$,\u0275defaultKeyValueDiffers:z$,\u0275detectChanges:X1,\u0275devModeEqual:Rm,\u0275findLocaleData:Ft,\u0275flushModuleScopingQueueAsMuchAsPossible:KI,\u0275formatRuntimeError:Er,\u0275getDebugNode:Zo,\u0275getDebugNodeR2:L$,\u0275getDirectives:dI,\u0275getHostElement:pI,\u0275getInjectableDef:Zu,\u0275getLContext:Jt,\u0275getLocaleCurrencyCode:_3,\u0275getLocalePluralCase:Mv,\u0275getSanitizationBypassType:nw,\u0275getUnknownElementStrictMode:DL,\u0275getUnknownPropertyStrictMode:wL,\u0275global:xe,\u0275injectChangeDetectorRef:Nb,\u0275internalCreateApplication:wb,\u0275isBoundToModule:_b,\u0275isDefaultChangeDetectionStrategy:yF,\u0275isInjectable:pF,\u0275isListLikeIterable:zo,\u0275isObservable:Qm,\u0275isPromise:jd,\u0275isStandalone:xo,\u0275isSubscribable:Km,\u0275ivyEnabled:Z$,\u0275makeDecorator:ma,\u0275noSideEffects:ws,\u0275patchComponentDefWithScope:Uv,\u0275publishDefaultGlobalUtils:gb,\u0275publishGlobalUtil:Cn,\u0275registerLocaleData:E3,\u0275resetCompiledComponents:z8,\u0275resetJitOptions:U8,\u0275resolveComponentResources:ZC,\u0275setAllowDuplicateNgModuleIdsForTest:RR,\u0275setClassMetadata:Zr,\u0275setCurrentInjector:Di,\u0275setDocument:ew,\u0275setLocaleId:Pv,\u0275setUnknownElementStrictMode:_L,\u0275setUnknownPropertyStrictMode:CL,\u0275store:eS,\u0275stringify:ue,\u0275transitiveScopesFor:Gi,\u0275unregisterLocaleData:D3,\u0275unwrapSafeValue:Qt,\u0275\u0275CopyDefinitionFeature:Y1,get \u0275\u0275FactoryTarget(){return H},\u0275\u0275InheritDefinitionFeature:Nm,\u0275\u0275NgOnChangesFeature:Og,\u0275\u0275ProvidersFeature:sI,\u0275\u0275StandaloneFeature:oI,\u0275\u0275advance:h1,\u0275\u0275attribute:Lm,\u0275\u0275attributeInterpolate1:Om,\u0275\u0275attributeInterpolate2:Bm,\u0275\u0275attributeInterpolate3:$m,\u0275\u0275attributeInterpolate4:jm,\u0275\u0275attributeInterpolate5:Vm,\u0275\u0275attributeInterpolate6:Hm,\u0275\u0275attributeInterpolate7:Um,\u0275\u0275attributeInterpolate8:qm,\u0275\u0275attributeInterpolateV:Gm,\u0275\u0275classMap:pS,\u0275\u0275classMapInterpolate1:ES,\u0275\u0275classMapInterpolate2:_S,\u0275\u0275classMapInterpolate3:DS,\u0275\u0275classMapInterpolate4:CS,\u0275\u0275classMapInterpolate5:wS,\u0275\u0275classMapInterpolate6:SS,\u0275\u0275classMapInterpolate7:IS,\u0275\u0275classMapInterpolate8:bS,\u0275\u0275classMapInterpolateV:AS,\u0275\u0275classProp:lv,\u0275\u0275contentQuery:VI,\u0275\u0275defineComponent:Tg,\u0275\u0275defineDirective:J2,\u0275\u0275defineInjectable:Ct,\u0275\u0275defineInjector:fd,\u0275\u0275defineNgModule:xg,\u0275\u0275definePipe:eC,\u0275\u0275directiveInject:so,\u0275\u0275disableBindings:vC,\u0275\u0275element:Wm,\u0275\u0275elementContainer:Zm,\u0275\u0275elementContainerEnd:$d,\u0275\u0275elementContainerStart:Bd,\u0275\u0275elementEnd:Od,\u0275\u0275elementStart:Ld,\u0275\u0275enableBindings:mC,\u0275\u0275getCurrentView:nS,\u0275\u0275getInheritedFactory:HC,\u0275\u0275hostProperty:Tv,\u0275\u0275i18n:JS,\u0275\u0275i18nApply:tI,\u0275\u0275i18nAttributes:eI,\u0275\u0275i18nEnd:Nv,\u0275\u0275i18nExp:Fv,\u0275\u0275i18nPostprocess:nI,\u0275\u0275i18nStart:kv,\u0275\u0275inject:We,\u0275\u0275injectAttribute:zg,\u0275\u0275invalidFactory:C1,\u0275\u0275invalidFactoryDep:Kg,\u0275\u0275listener:Ym,\u0275\u0275loadQuery:HI,\u0275\u0275namespaceHTML:PC,\u0275\u0275namespaceMathML:MC,\u0275\u0275namespaceSVG:xC,\u0275\u0275nextContext:sS,\u0275\u0275ngDeclareClassMetadata:W,\u0275\u0275ngDeclareComponent:K$,\u0275\u0275ngDeclareDirective:_n,\u0275\u0275ngDeclareFactory:Z,\u0275\u0275ngDeclareInjectable:Ke,\u0275\u0275ngDeclareInjector:ml,\u0275\u0275ngDeclareNgModule:vl,\u0275\u0275ngDeclarePipe:rn,\u0275\u0275pipe:xI,\u0275\u0275pipeBind1:MI,\u0275\u0275pipeBind2:PI,\u0275\u0275pipeBind3:kI,\u0275\u0275pipeBind4:NI,\u0275\u0275pipeBindV:FI,\u0275\u0275projection:oS,\u0275\u0275projectionDef:iS,\u0275\u0275property:zm,\u0275\u0275propertyInterpolate:Jm,\u0275\u0275propertyInterpolate1:Vd,\u0275\u0275propertyInterpolate2:ev,\u0275\u0275propertyInterpolate3:tv,\u0275\u0275propertyInterpolate4:nv,\u0275\u0275propertyInterpolate5:rv,\u0275\u0275propertyInterpolate6:sv,\u0275\u0275propertyInterpolate7:iv,\u0275\u0275propertyInterpolate8:ov,\u0275\u0275propertyInterpolateV:av,\u0275\u0275pureFunction0:fI,\u0275\u0275pureFunction1:gI,\u0275\u0275pureFunction2:mI,\u0275\u0275pureFunction3:vI,\u0275\u0275pureFunction4:yI,\u0275\u0275pureFunction5:EI,\u0275\u0275pureFunction6:_I,\u0275\u0275pureFunction7:DI,\u0275\u0275pureFunction8:CI,\u0275\u0275pureFunctionV:wI,\u0275\u0275queryRefresh:$I,\u0275\u0275reference:tS,\u0275\u0275registerNgModuleType:Qg,\u0275\u0275resetView:EC,\u0275\u0275resolveBody:zw,\u0275\u0275resolveDocument:Gw,\u0275\u0275resolveWindow:qw,\u0275\u0275restoreView:yC,\u0275\u0275sanitizeHtml:hw,\u0275\u0275sanitizeResourceUrl:nm,\u0275\u0275sanitizeScript:gw,\u0275\u0275sanitizeStyle:fw,\u0275\u0275sanitizeUrl:tm,\u0275\u0275sanitizeUrlOrResourceUrl:yw,\u0275\u0275setComponentScope:Q2,\u0275\u0275setNgModuleScope:X2,\u0275\u0275styleMap:rr,\u0275\u0275styleMapInterpolate1:TS,\u0275\u0275styleMapInterpolate2:xS,\u0275\u0275styleMapInterpolate3:MS,\u0275\u0275styleMapInterpolate4:PS,\u0275\u0275styleMapInterpolate5:kS,\u0275\u0275styleMapInterpolate6:NS,\u0275\u0275styleMapInterpolate7:FS,\u0275\u0275styleMapInterpolate8:RS,\u0275\u0275styleMapInterpolateV:LS,\u0275\u0275styleProp:uv,\u0275\u0275stylePropInterpolate1:Ev,\u0275\u0275stylePropInterpolate2:_v,\u0275\u0275stylePropInterpolate3:Dv,\u0275\u0275stylePropInterpolate4:Cv,\u0275\u0275stylePropInterpolate5:wv,\u0275\u0275stylePropInterpolate6:Sv,\u0275\u0275stylePropInterpolate7:Iv,\u0275\u0275stylePropInterpolate8:bv,\u0275\u0275stylePropInterpolateV:Av,\u0275\u0275syntheticHostListener:Xm,\u0275\u0275syntheticHostProperty:xv,\u0275\u0275template:J1,\u0275\u0275templateRefExtractor:zI,\u0275\u0275text:yS,\u0275\u0275textInterpolate:cv,\u0275\u0275textInterpolate1:Hd,\u0275\u0275textInterpolate2:dv,\u0275\u0275textInterpolate3:pv,\u0275\u0275textInterpolate4:hv,\u0275\u0275textInterpolate5:fv,\u0275\u0275textInterpolate6:gv,\u0275\u0275textInterpolate7:mv,\u0275\u0275textInterpolate8:vv,\u0275\u0275textInterpolateV:yv,\u0275\u0275trustConstantHtml:mw,\u0275\u0275trustConstantResourceUrl:vw,\u0275\u0275viewQuery:jI},Symbol.toStringTag,{value:"Module"}));/** + * @license Angular v14.2.6 + * (c) 2010-2022 Google LLC. https://angular.io/ + * License: MIT + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */let Cf=null;function ds(){return Cf}function J$(t){Cf||(Cf=t)}class e4{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Se=new ge("DocumentToken");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Mr{historyGo(e){throw new Error("Not implemented")}}Mr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Mr,deps:[],target:H.Injectable});Mr.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Mr,providedIn:"platform",useFactory:Vb});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Mr,decorators:[{type:Ae,args:[{providedIn:"platform",useFactory:Vb}]}]});function Vb(){return We(zi)}new ge("Location Initialized");class zi extends Mr{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ds().getBaseHref(this._doc)}onPopState(e){const n=ds().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=ds().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,n,r){v_()?this._history.pushState(e,n,r):this.location.hash=r}replaceState(e,n,r){v_()?this._history.replaceState(e,n,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}zi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:zi,deps:[{token:Se}],target:H.Injectable});zi.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:zi,providedIn:"platform",useFactory:Hb});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:zi,decorators:[{type:Ae,args:[{providedIn:"platform",useFactory:Hb}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});function v_(){return!!window.history.pushState}function Hb(){return new zi(We(Se))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function ty(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function Ub(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function ps(t){return t&&t[0]!=="?"?"?"+t:t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Pr{historyGo(e){throw new Error("Not implemented")}}Pr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pr,deps:[],target:H.Injectable});Pr.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pr,providedIn:"root",useFactory:()=>At(Wi)});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pr,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:()=>At(Wi)}]}]});const Xd=new ge("appBaseHref");class Wi extends Pr{constructor(e,n){var r,s,i;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=(i=(r=n!=null?n:this._platformLocation.getBaseHrefFromDOM())!==null&&r!==void 0?r:(s=At(Se).location)===null||s===void 0?void 0:s.origin)!==null&&i!==void 0?i:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ty(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+ps(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,s){const i=this.prepareExternalUrl(r+ps(s));this._platformLocation.pushState(e,n,i)}replaceState(e,n,r,s){const i=this.prepareExternalUrl(r+ps(s));this._platformLocation.replaceState(e,n,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var n,r;(r=(n=this._platformLocation).historyGo)===null||r===void 0||r.call(n,e)}}Wi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Wi,deps:[{token:Mr},{token:Xd,optional:!0}],target:H.Injectable});Wi.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Wi,providedIn:"root"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Wi,decorators:[{type:Ae,args:[{providedIn:"root"}]}],ctorParameters:function(){return[{type:Mr},{type:void 0,decorators:[{type:zt},{type:Be,args:[Xd]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Pu extends Pr{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash;return n==null&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=ty(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,s){let i=this.prepareExternalUrl(r+ps(s));i.length==0&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,n,i)}replaceState(e,n,r,s){let i=this.prepareExternalUrl(r+ps(s));i.length==0&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var n,r;(r=(n=this._platformLocation).historyGo)===null||r===void 0||r.call(n,e)}}Pu.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pu,deps:[{token:Mr},{token:Xd,optional:!0}],target:H.Injectable});Pu.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pu});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Pu,decorators:[{type:Ae}],ctorParameters:function(){return[{type:Mr},{type:void 0,decorators:[{type:zt},{type:Be,args:[Xd]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Xn{constructor(e){this._subject=new Un,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._baseHref=Ub(y_(n)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;(e=this._urlChangeSubscription)===null||e===void 0||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+ps(n))}normalize(e){return Xn.stripTrailingSlash(t4(this._baseHref,y_(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ps(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ps(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var n,r;(r=(n=this._locationStrategy).historyGo)===null||r===void 0||r.call(n,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{var n;const r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((n=this._urlChangeSubscription)===null||n===void 0||n.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}}Xn.normalizeQueryParams=ps;Xn.joinWithSlash=ty;Xn.stripTrailingSlash=Ub;Xn.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xn,deps:[{token:Pr}],target:H.Injectable});Xn.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xn,providedIn:"root",useFactory:qb});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xn,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:qb}]}],ctorParameters:function(){return[{type:Pr}]}});function qb(){return new Xn(We(Pr))}function t4(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}function y_(t){return t.replace(/\/index.html$/,"")}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Gb={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */var ku;(function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific"})(ku||(ku={}));var Si;(function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"})(Si||(Si={}));var It;(function(t){t[t.Format=0]="Format",t[t.Standalone=1]="Standalone"})(It||(It={}));var Le;(function(t){t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short"})(Le||(Le={}));var Wt;(function(t){t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full"})(Wt||(Wt={}));var et;(function(t){t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup"})(et||(et={}));var E_;(function(t){t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday"})(E_||(E_={}));function n4(t){return Ft(t)[$e.LocaleId]}function r4(t,e,n){const r=Ft(t),s=[r[$e.DayPeriodsFormat],r[$e.DayPeriodsStandalone]],i=Fn(s,e);return Fn(i,n)}function s4(t,e,n){const r=Ft(t),s=[r[$e.DaysFormat],r[$e.DaysStandalone]],i=Fn(s,e);return Fn(i,n)}function i4(t,e,n){const r=Ft(t),s=[r[$e.MonthsFormat],r[$e.MonthsStandalone]],i=Fn(s,e);return Fn(i,n)}function o4(t,e){const r=Ft(t)[$e.Eras];return Fn(r,e)}function Ll(t,e){const n=Ft(t);return Fn(n[$e.DateFormat],e)}function Ol(t,e){const n=Ft(t);return Fn(n[$e.TimeFormat],e)}function Bl(t,e){const r=Ft(t)[$e.DateTimeFormat];return Fn(r,e)}function Tn(t,e){const n=Ft(t),r=n[$e.NumberSymbols][e];if(typeof r>"u"){if(e===et.CurrencyDecimal)return n[$e.NumberSymbols][et.Decimal];if(e===et.CurrencyGroup)return n[$e.NumberSymbols][et.Group]}return r}function ny(t,e){return Ft(t)[$e.NumberFormats][e]}function a4(t){return Ft(t)[$e.Currencies]}const u4=Mv;function zb(t){if(!t[$e.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[$e.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function l4(t){const e=Ft(t);return zb(e),(e[$e.ExtraData][2]||[]).map(r=>typeof r=="string"?rh(r):[rh(r[0]),rh(r[1])])}function c4(t,e,n){const r=Ft(t);zb(r);const s=[r[$e.ExtraData][0],r[$e.ExtraData][1]],i=Fn(s,e)||[];return Fn(i,n)||[]}function Fn(t,e){for(let n=e;n>-1;n--)if(typeof t[n]<"u")return t[n];throw new Error("Locale data API: locale data undefined")}function rh(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}function d4(t,e,n="en"){const r=a4(n)[t]||Gb[t]||[],s=r[1];return e==="narrow"&&typeof s=="string"?s:r[0]||t}const p4=2;function h4(t){let e;const n=Gb[t];return n&&(e=n[2]),typeof e=="number"?e:p4}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const f4=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$a={},g4=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var vr;(function(t){t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended"})(vr||(vr={}));var be;(function(t){t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day"})(be||(be={}));var Ie;(function(t){t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras"})(Ie||(Ie={}));function m4(t,e,n,r){let s=I4(t);e=Kr(n,e)||e;let o=[],a;for(;e;)if(a=g4.exec(e),a){o=o.concat(a.slice(1));const c=o.pop();if(!c)break;e=c}else{o.push(e);break}let u=s.getTimezoneOffset();r&&(u=Zb(r,u),s=S4(s,r,!0));let l="";return o.forEach(c=>{const d=C4(c);l+=d?d(s,n,u):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Gc(t,e,n){const r=new Date(0);return r.setFullYear(t,e,n),r.setHours(0,0,0),r}function Kr(t,e){const n=n4(t);if($a[n]=$a[n]||{},$a[n][e])return $a[n][e];let r="";switch(e){case"shortDate":r=Ll(t,Wt.Short);break;case"mediumDate":r=Ll(t,Wt.Medium);break;case"longDate":r=Ll(t,Wt.Long);break;case"fullDate":r=Ll(t,Wt.Full);break;case"shortTime":r=Ol(t,Wt.Short);break;case"mediumTime":r=Ol(t,Wt.Medium);break;case"longTime":r=Ol(t,Wt.Long);break;case"fullTime":r=Ol(t,Wt.Full);break;case"short":const s=Kr(t,"shortTime"),i=Kr(t,"shortDate");r=$l(Bl(t,Wt.Short),[s,i]);break;case"medium":const o=Kr(t,"mediumTime"),a=Kr(t,"mediumDate");r=$l(Bl(t,Wt.Medium),[o,a]);break;case"long":const u=Kr(t,"longTime"),l=Kr(t,"longDate");r=$l(Bl(t,Wt.Long),[u,l]);break;case"full":const c=Kr(t,"fullTime"),d=Kr(t,"fullDate");r=$l(Bl(t,Wt.Full),[c,d]);break}return r&&($a[n][e]=r),r}function $l(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(n,r){return e!=null&&r in e?e[r]:n})),t}function jn(t,e,n="-",r,s){let i="";(t<0||s&&t<=0)&&(s?t=-t+1:(t=-t,i=n));let o=String(t);for(;o.length0||a>-n)&&(a+=n),t===be.Hours)a===0&&n===-12&&(a=12);else if(t===be.FractionalSeconds)return v4(a,e);const u=Tn(o,et.MinusSign);return jn(a,e,u,r,s)}}function y4(t,e){switch(t){case be.FullYear:return e.getFullYear();case be.Month:return e.getMonth();case be.Date:return e.getDate();case be.Hours:return e.getHours();case be.Minutes:return e.getMinutes();case be.Seconds:return e.getSeconds();case be.FractionalSeconds:return e.getMilliseconds();case be.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function ze(t,e,n=It.Format,r=!1){return function(s,i){return E4(s,i,t,e,n,r)}}function E4(t,e,n,r,s,i){switch(n){case Ie.Months:return i4(e,s,r)[t.getMonth()];case Ie.Days:return s4(e,s,r)[t.getDay()];case Ie.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(i){const l=l4(e),c=c4(e,s,r),d=l.findIndex(p=>{if(Array.isArray(p)){const[f,g]=p,m=o>=f.hours&&a>=f.minutes,y=o0?Math.floor(s/60):Math.ceil(s/60);switch(t){case vr.Short:return(s>=0?"+":"")+jn(o,2,i)+jn(Math.abs(s%60),2,i);case vr.ShortGMT:return"GMT"+(s>=0?"+":"")+jn(o,1,i);case vr.Long:return"GMT"+(s>=0?"+":"")+jn(o,2,i)+":"+jn(Math.abs(s%60),2,i);case vr.Extended:return r===0?"Z":(s>=0?"+":"")+jn(o,2,i)+":"+jn(Math.abs(s%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}const _4=0,oc=4;function D4(t){const e=Gc(t,_4,1).getDay();return Gc(t,0,1+(e<=oc?oc:oc+7)-e)}function Wb(t){return Gc(t.getFullYear(),t.getMonth(),t.getDate()+(oc-t.getDay()))}function sh(t,e=!1){return function(n,r){let s;if(e){const i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();s=1+Math.floor((o+i)/7)}else{const i=Wb(n),o=D4(i.getFullYear()),a=i.getTime()-o.getTime();s=1+Math.round(a/6048e5)}return jn(s,t,Tn(r,et.MinusSign))}}function Vl(t,e=!1){return function(n,r){const i=Wb(n).getFullYear();return jn(i,t,Tn(r,et.MinusSign),e)}}const ih={};function C4(t){if(ih[t])return ih[t];let e;switch(t){case"G":case"GG":case"GGG":e=ze(Ie.Eras,Le.Abbreviated);break;case"GGGG":e=ze(Ie.Eras,Le.Wide);break;case"GGGGG":e=ze(Ie.Eras,Le.Narrow);break;case"y":e=ot(be.FullYear,1,0,!1,!0);break;case"yy":e=ot(be.FullYear,2,0,!0,!0);break;case"yyy":e=ot(be.FullYear,3,0,!1,!0);break;case"yyyy":e=ot(be.FullYear,4,0,!1,!0);break;case"Y":e=Vl(1);break;case"YY":e=Vl(2,!0);break;case"YYY":e=Vl(3);break;case"YYYY":e=Vl(4);break;case"M":case"L":e=ot(be.Month,1,1);break;case"MM":case"LL":e=ot(be.Month,2,1);break;case"MMM":e=ze(Ie.Months,Le.Abbreviated);break;case"MMMM":e=ze(Ie.Months,Le.Wide);break;case"MMMMM":e=ze(Ie.Months,Le.Narrow);break;case"LLL":e=ze(Ie.Months,Le.Abbreviated,It.Standalone);break;case"LLLL":e=ze(Ie.Months,Le.Wide,It.Standalone);break;case"LLLLL":e=ze(Ie.Months,Le.Narrow,It.Standalone);break;case"w":e=sh(1);break;case"ww":e=sh(2);break;case"W":e=sh(1,!0);break;case"d":e=ot(be.Date,1);break;case"dd":e=ot(be.Date,2);break;case"c":case"cc":e=ot(be.Day,1);break;case"ccc":e=ze(Ie.Days,Le.Abbreviated,It.Standalone);break;case"cccc":e=ze(Ie.Days,Le.Wide,It.Standalone);break;case"ccccc":e=ze(Ie.Days,Le.Narrow,It.Standalone);break;case"cccccc":e=ze(Ie.Days,Le.Short,It.Standalone);break;case"E":case"EE":case"EEE":e=ze(Ie.Days,Le.Abbreviated);break;case"EEEE":e=ze(Ie.Days,Le.Wide);break;case"EEEEE":e=ze(Ie.Days,Le.Narrow);break;case"EEEEEE":e=ze(Ie.Days,Le.Short);break;case"a":case"aa":case"aaa":e=ze(Ie.DayPeriods,Le.Abbreviated);break;case"aaaa":e=ze(Ie.DayPeriods,Le.Wide);break;case"aaaaa":e=ze(Ie.DayPeriods,Le.Narrow);break;case"b":case"bb":case"bbb":e=ze(Ie.DayPeriods,Le.Abbreviated,It.Standalone,!0);break;case"bbbb":e=ze(Ie.DayPeriods,Le.Wide,It.Standalone,!0);break;case"bbbbb":e=ze(Ie.DayPeriods,Le.Narrow,It.Standalone,!0);break;case"B":case"BB":case"BBB":e=ze(Ie.DayPeriods,Le.Abbreviated,It.Format,!0);break;case"BBBB":e=ze(Ie.DayPeriods,Le.Wide,It.Format,!0);break;case"BBBBB":e=ze(Ie.DayPeriods,Le.Narrow,It.Format,!0);break;case"h":e=ot(be.Hours,1,-12);break;case"hh":e=ot(be.Hours,2,-12);break;case"H":e=ot(be.Hours,1);break;case"HH":e=ot(be.Hours,2);break;case"m":e=ot(be.Minutes,1);break;case"mm":e=ot(be.Minutes,2);break;case"s":e=ot(be.Seconds,1);break;case"ss":e=ot(be.Seconds,2);break;case"S":e=ot(be.FractionalSeconds,1);break;case"SS":e=ot(be.FractionalSeconds,2);break;case"SSS":e=ot(be.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=jl(vr.Short);break;case"ZZZZZ":e=jl(vr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=jl(vr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=jl(vr.Long);break;default:return null}return ih[t]=e,e}function Zb(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function w4(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function S4(t,e,n){const r=n?-1:1,s=t.getTimezoneOffset(),i=Zb(e,s);return w4(t,r*(i-s))}function I4(t){if(__(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[s,i=1,o=1]=t.split("-").map(a=>+a);return Gc(s,i-1,o)}const n=parseFloat(t);if(!isNaN(t-n))return new Date(n);let r;if(r=t.match(f4))return b4(r)}const e=new Date(t);if(!__(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function b4(t){const e=new Date(0);let n=0,r=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-r,u=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,o,a,u,l),e}function __(t){return t instanceof Date&&!isNaN(t.valueOf())}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const A4=/^(\d+)?\.((\d+)(-(\d+))?)?$/,D_=22,zc=".",nu="0",T4=";",x4=",",oh="#",C_="\xA4",M4="%";function ry(t,e,n,r,s,i,o=!1){let a="",u=!1;if(!isFinite(t))a=Tn(n,et.Infinity);else{let l=R4(t);o&&(l=F4(l));let c=e.minInt,d=e.minFrac,p=e.maxFrac;if(i){const E=i.match(A4);if(E===null)throw new Error(`${i} is not a valid digit info`);const v=E[1],A=E[3],M=E[5];v!=null&&(c=ah(v)),A!=null&&(d=ah(A)),M!=null?p=ah(M):A!=null&&d>p&&(p=d)}L4(l,d,p);let f=l.digits,g=l.integerLen;const m=l.exponent;let y=[];for(u=f.every(E=>!E);g0?y=f.splice(g,f.length):(y=f,f=[0]);const w=[];for(f.length>=e.lgSize&&w.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)w.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&w.unshift(f.join("")),a=w.join(Tn(n,r)),y.length&&(a+=Tn(n,s)+y.join("")),m&&(a+=Tn(n,et.Exponential)+"+"+m)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function P4(t,e,n,r,s){const i=ny(e,ku.Currency),o=sy(i,Tn(e,et.MinusSign));return o.minFrac=h4(r),o.maxFrac=o.minFrac,ry(t,o,e,et.CurrencyGroup,et.CurrencyDecimal,s).replace(C_,n).replace(C_,"").trim()}function k4(t,e,n){const r=ny(e,ku.Percent),s=sy(r,Tn(e,et.MinusSign));return ry(t,s,e,et.Group,et.Decimal,n,!0).replace(new RegExp(M4,"g"),Tn(e,et.PercentSign))}function N4(t,e,n){const r=ny(e,ku.Decimal),s=sy(r,Tn(e,et.MinusSign));return ry(t,s,e,et.Group,et.Decimal,n)}function sy(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(T4),s=r[0],i=r[1],o=s.indexOf(zc)!==-1?s.split(zc):[s.substring(0,s.lastIndexOf(nu)+1),s.substring(s.lastIndexOf(nu)+1)],a=o[0],u=o[1]||"";n.posPre=a.substring(0,a.indexOf(oh));for(let c=0;c-1&&(e=e.replace(zc,"")),(i=e.search(/e/i))>0?(s<0&&(s=i),s+=+e.slice(i+1),e=e.substring(0,i)):s<0&&(s=e.length),i=0;e.charAt(i)===nu;i++);if(i===(a=e.length))r=[0],s=1;else{for(a--;e.charAt(a)===nu;)a--;for(s-=i,r=[],o=0;i<=a;i++,o++)r[o]=Number(e.charAt(i))}return s>D_&&(r=r.splice(0,D_-1),n=s-1,s=1),{digits:r,exponent:n,integerLen:s}}function L4(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,s=r.length-t.integerLen;const i=Math.min(Math.max(e,s),n);let o=i+t.integerLen,a=r[o];if(o>0){r.splice(Math.max(t.integerLen,o));for(let d=o;d=5)if(o-1<0){for(let d=0;d>o;d--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[o-1]++;for(;s=l?g.pop():u=!1),p>=10?1:0},0);c&&(r.unshift(c),t.integerLen++)}function ah(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class kr{}kr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:kr,deps:[],target:H.Injectable});kr.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:kr,providedIn:"root",useFactory:t=>new Zi(t),deps:[{token:Rt}]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:kr,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:t=>new Zi(t),deps:[Rt]}]}]});function Kb(t,e,n,r){let s=`=${t}`;if(e.indexOf(s)>-1||(s=n.getPluralCategory(t,r),e.indexOf(s)>-1))return s;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}class Zi extends kr{constructor(e){super(),this.locale=e}getPluralCategory(e,n){switch(u4(n||this.locale)(e)){case Si.Zero:return"zero";case Si.One:return"one";case Si.Two:return"two";case Si.Few:return"few";case Si.Many:return"many";default:return"other"}}}Zi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Zi,deps:[{token:Rt}],target:H.Injectable});Zi.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Zi});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Zi,decorators:[{type:Ae}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Rt]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function O4(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[s,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(s.trim()===e)return decodeURIComponent(i)}return null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Js{constructor(e,n,r,s){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses=typeof e=="string"?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass=typeof e=="string"?e.split(/\s+/):e,this._rawClass&&(zo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(n=>this._toggleClass(n.key,n.currentValue)),e.forEachChangedItem(n=>this._toggleClass(n.key,n.currentValue)),e.forEachRemovedItem(n=>{n.previousValue&&this._toggleClass(n.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(n=>{if(typeof n.item=="string")this._toggleClass(n.item,!0);else throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ue(n.item)}`)}),e.forEachRemovedItem(n=>this._toggleClass(n.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(n=>this._toggleClass(n,!0)):Object.keys(e).forEach(n=>this._toggleClass(n,!!e[n])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(n=>this._toggleClass(n,!1)):Object.keys(e).forEach(n=>this._toggleClass(n,!1)))}_toggleClass(e,n){e=e.trim(),e&&e.split(/\s+/g).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}Js.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Js,deps:[{token:Yt},{token:xt},{token:nr},{token:ro}],target:H.Directive});Js.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:Js,isStandalone:!0,selector:"[ngClass]",inputs:{klass:["class","klass"],ngClass:"ngClass"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Js,decorators:[{type:tn,args:[{selector:"[ngClass]",standalone:!0}]}],ctorParameters:function(){return[{type:Yt},{type:xt},{type:nr},{type:ro}]},propDecorators:{klass:[{type:Pe,args:["class"]}],ngClass:[{type:Pe,args:["ngClass"]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ei{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null}ngOnChanges(e){const{_viewContainerRef:n,ngComponentOutletNgModule:r,ngComponentOutletNgModuleFactory:s}=this;if(n.clear(),this._componentRef=void 0,this.ngComponentOutlet){const i=this.ngComponentOutletInjector||n.parentInjector;(e.ngComponentOutletNgModule||e.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),r?this._moduleRef=Rv(r,w_(i)):s?this._moduleRef=s.create(w_(i)):this._moduleRef=void 0),this._componentRef=n.createComponent(this.ngComponentOutlet,{index:n.length,injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}ei.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ei,deps:[{token:ht}],target:H.Directive});ei.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ei,isStandalone:!0,selector:"[ngComponentOutlet]",inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},usesOnChanges:!0,ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ei,decorators:[{type:tn,args:[{selector:"[ngComponentOutlet]",standalone:!0}]}],ctorParameters:function(){return[{type:ht}]},propDecorators:{ngComponentOutlet:[{type:Pe}],ngComponentOutletInjector:[{type:Pe}],ngComponentOutletContent:[{type:Pe}],ngComponentOutletNgModule:[{type:Pe}],ngComponentOutletNgModuleFactory:[{type:Pe}]}});function w_(t){return t.get(qi).injector}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const S_=typeof ngDevMode>"u"||!!ngDevMode;class B4{constructor(e,n,r,s){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=s}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}}class ti{constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){S_&&e!=null&&typeof e!="function"&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)if(S_)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch{let r=`Cannot find a differ supporting object '${e}' of type '${$4(e)}'. NgFor only supports binding to Iterables, such as Arrays.`;throw typeof e=="object"&&(r+=" Did you mean to use the keyvalue pipe?"),new B(-2200,r)}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const n=this._viewContainer;e.forEachOperation((r,s,i)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new B4(r.item,this._ngForOf,-1,-1),i===null?void 0:i);else if(i==null)n.remove(s===null?void 0:s);else if(s!==null){const o=n.get(s);n.move(o,i),I_(o,r)}});for(let r=0,s=n.length;r{const s=n.get(r.currentIndex);I_(s,r)})}static ngTemplateContextGuard(e,n){return!0}}ti.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ti,deps:[{token:ht},{token:Nt},{token:Yt}],target:H.Directive});ti.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ti,isStandalone:!0,selector:"[ngFor][ngForOf]",inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ti,decorators:[{type:tn,args:[{selector:"[ngFor][ngForOf]",standalone:!0}]}],ctorParameters:function(){return[{type:ht},{type:Nt},{type:Yt}]},propDecorators:{ngForOf:[{type:Pe}],ngForTrackBy:[{type:Pe}],ngForTemplate:[{type:Pe}]}});function I_(t,e){t.context.$implicit=e.item}function $4(t){return t.name||typeof t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ni{constructor(e,n){this._viewContainer=e,this._context=new j4,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){b_("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){b_("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,n){return!0}}ni.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ni,deps:[{token:ht},{token:Nt}],target:H.Directive});ni.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ni,isStandalone:!0,selector:"[ngIf]",inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ni,decorators:[{type:tn,args:[{selector:"[ngIf]",standalone:!0}]}],ctorParameters:function(){return[{type:ht},{type:Nt}]},propDecorators:{ngIf:[{type:Pe}],ngIfThen:[{type:Pe}],ngIfElse:[{type:Pe}]}});class j4{constructor(){this.$implicit=null,this.ngIf=null}}function b_(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ue(e)}'.`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class iy{constructor(e,n){this._viewContainerRef=e,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class Rn{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const n=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let n=0;n"u"||ngDevMode)&&!r&&Qb("ngSwitchCase","NgSwitchCase"),r._addCase(),this._view=new iy(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}ri.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ri,deps:[{token:ht},{token:Nt},{token:Rn,host:!0,optional:!0}],target:H.Directive});ri.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ri,isStandalone:!0,selector:"[ngSwitchCase]",inputs:{ngSwitchCase:"ngSwitchCase"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ri,decorators:[{type:tn,args:[{selector:"[ngSwitchCase]",standalone:!0}]}],ctorParameters:function(){return[{type:ht},{type:Nt},{type:Rn,decorators:[{type:zt},{type:sl}]}]},propDecorators:{ngSwitchCase:[{type:Pe}]}});class si{constructor(e,n,r){(typeof ngDevMode>"u"||ngDevMode)&&!r&&Qb("ngSwitchDefault","NgSwitchDefault"),r._addDefault(new iy(e,n))}}si.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:si,deps:[{token:ht},{token:Nt},{token:Rn,host:!0,optional:!0}],target:H.Directive});si.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:si,isStandalone:!0,selector:"[ngSwitchDefault]",ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:si,decorators:[{type:tn,args:[{selector:"[ngSwitchDefault]",standalone:!0}]}],ctorParameters:function(){return[{type:ht},{type:Nt},{type:Rn,decorators:[{type:zt},{type:sl}]}]}});function Qb(t,e){throw new B(2e3,`An element with the "${t}" attribute (matching the "${e}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Nr{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,n){this._caseViews[e]=n}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),n=Kb(this._switchValue,e,this._localization);this._activateView(this._caseViews[n])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}Nr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Nr,deps:[{token:kr}],target:H.Directive});Nr.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:Nr,isStandalone:!0,selector:"[ngPlural]",inputs:{ngPlural:"ngPlural"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Nr,decorators:[{type:tn,args:[{selector:"[ngPlural]",standalone:!0}]}],ctorParameters:function(){return[{type:kr}]},propDecorators:{ngPlural:[{type:Pe}]}});class ii{constructor(e,n,r,s){this.value=e;const i=!isNaN(Number(e));s.addCase(i?`=${e}`:e,new iy(r,n))}}ii.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ii,deps:[{token:"ngPluralCase",attribute:!0},{token:Nt},{token:ht},{token:Nr,host:!0}],target:H.Directive});ii.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ii,isStandalone:!0,selector:"[ngPluralCase]",ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ii,decorators:[{type:tn,args:[{selector:"[ngPluralCase]",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Zg,args:["ngPluralCase"]}]},{type:Nt},{type:ht},{type:Nr,decorators:[{type:sl}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class oi{constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){const[r,s]=e.split("."),i=r.indexOf("-")===-1?void 0:mr.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,i):this._renderer.removeStyle(this._ngEl.nativeElement,r,i)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}}oi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:oi,deps:[{token:nr},{token:xt},{token:ro}],target:H.Directive});oi.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:oi,isStandalone:!0,selector:"[ngStyle]",inputs:{ngStyle:"ngStyle"},ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:oi,decorators:[{type:tn,args:[{selector:"[ngStyle]",standalone:!0}]}],ctorParameters:function(){return[{type:nr},{type:xt},{type:ro}]},propDecorators:{ngStyle:[{type:Pe,args:["ngStyle"]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ai{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:s,ngTemplateOutletInjector:i}=this;this._viewRef=n.createEmbeddedView(r,s,i?{injector:i}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}ai.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ai,deps:[{token:ht}],target:H.Directive});ai.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:ai,isStandalone:!0,selector:"[ngTemplateOutlet]",inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},usesOnChanges:!0,ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ai,decorators:[{type:tn,args:[{selector:"[ngTemplateOutlet]",standalone:!0}]}],ctorParameters:function(){return[{type:ht}]},propDecorators:{ngTemplateOutletContext:[{type:Pe}],ngTemplateOutlet:[{type:Pe}],ngTemplateOutletInjector:[{type:Pe}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const A_=[Js,ei,ti,ni,ai,oi,Rn,ri,si,Nr,ii];/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function or(t,e){return new B(2100,ngDevMode&&`InvalidPipeArgument: '${e}' for pipe '${ue(t)}'`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class V4{createSubscription(e,n){return e.subscribe({next:n,error:r=>{throw r}})}dispose(e){e.unsubscribe()}}class H4{createSubscription(e,n){return e.then(n,r=>{throw r})}dispose(e){}}const U4=new H4,q4=new V4;class Fr{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(jd(e))return U4;if(Km(e))return q4;throw or(Fr,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this._ref.markForCheck())}}Fr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Fr,deps:[{token:fl}],target:H.Pipe});Fr.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Fr,isStandalone:!0,name:"async",pure:!1});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Fr,decorators:[{type:nn,args:[{name:"async",pure:!1,standalone:!0}]}],ctorParameters:function(){return[{type:fl}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Rr{transform(e){if(e==null)return null;if(typeof e!="string")throw or(Rr,e);return e.toLowerCase()}}Rr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Rr,deps:[],target:H.Pipe});Rr.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Rr,isStandalone:!0,name:"lowercase"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Rr,decorators:[{type:nn,args:[{name:"lowercase",standalone:!0}]}]});const G4=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class Lr{transform(e){if(e==null)return null;if(typeof e!="string")throw or(Lr,e);return e.replace(G4,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}}Lr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Lr,deps:[],target:H.Pipe});Lr.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Lr,isStandalone:!0,name:"titlecase"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Lr,decorators:[{type:nn,args:[{name:"titlecase",standalone:!0}]}]});class Or{transform(e){if(e==null)return null;if(typeof e!="string")throw or(Or,e);return e.toUpperCase()}}Or.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Or,deps:[],target:H.Pipe});Or.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Or,isStandalone:!0,name:"uppercase"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Or,decorators:[{type:nn,args:[{name:"uppercase",standalone:!0}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Yb=new ge("DATE_PIPE_DEFAULT_TIMEZONE");class Br{constructor(e,n){this.locale=e,this.defaultTimezone=n}transform(e,n="mediumDate",r,s){var i;if(e==null||e===""||e!==e)return null;try{return m4(e,n,s||this.locale,(i=r!=null?r:this.defaultTimezone)!==null&&i!==void 0?i:void 0)}catch(o){throw or(Br,o.message)}}}Br.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Br,deps:[{token:Rt},{token:Yb,optional:!0}],target:H.Pipe});Br.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Br,isStandalone:!0,name:"date"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Br,decorators:[{type:nn,args:[{name:"date",pure:!0,standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Rt]}]},{type:void 0,decorators:[{type:Be,args:[Yb]},{type:zt}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const z4=/#/g;class $r{constructor(e){this._localization=e}transform(e,n,r){if(e==null)return"";if(typeof n!="object"||n===null)throw or($r,n);const s=Kb(e,Object.keys(n),this._localization,r);return n[s].replace(z4,e.toString())}}$r.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:$r,deps:[{token:kr}],target:H.Pipe});$r.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:$r,isStandalone:!0,name:"i18nPlural"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:$r,decorators:[{type:nn,args:[{name:"i18nPlural",pure:!0,standalone:!0}]}],ctorParameters:function(){return[{type:kr}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class jr{transform(e,n){if(e==null)return"";if(typeof n!="object"||typeof e!="string")throw or(jr,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""}}jr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:jr,deps:[],target:H.Pipe});jr.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:jr,isStandalone:!0,name:"i18nSelect"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:jr,decorators:[{type:nn,args:[{name:"i18nSelect",pure:!0,standalone:!0}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ui{transform(e){return JSON.stringify(e,null,2)}}ui.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ui,deps:[],target:H.Pipe});ui.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:ui,isStandalone:!0,name:"json",pure:!1});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ui,decorators:[{type:nn,args:[{name:"json",pure:!1,standalone:!0}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function W4(t,e){return{key:t,value:e}}class li{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=T_}transform(e,n=T_){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(i=>{this.keyValues.push(W4(i.key,i.currentValue))})),(r||s)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}}li.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:li,deps:[{token:xt}],target:H.Pipe});li.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:li,isStandalone:!0,name:"keyvalue",pure:!1});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:li,decorators:[{type:nn,args:[{name:"keyvalue",pure:!1,standalone:!0}]}],ctorParameters:function(){return[{type:xt}]}});function T_(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(n===null)return 1;if(r===null)return-1;if(typeof n=="string"&&typeof r=="string")return n"u"||ngDevMode)&&console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");let o=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?o=d4(o,r==="symbol"?"wide":"narrow",i):o=r);try{const a=ay(e);return P4(a,i,o,n,s)}catch(a){throw or(Ur,a.message)}}}Ur.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ur,deps:[{token:Rt},{token:Wv}],target:H.Pipe});Ur.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Ur,isStandalone:!0,name:"currency"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ur,decorators:[{type:nn,args:[{name:"currency",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Rt]}]},{type:void 0,decorators:[{type:Be,args:[Wv]}]}]}});function oy(t){return!(t==null||t===""||t!==t)}function ay(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class qr{transform(e,n,r){if(e==null)return null;if(!this.supports(e))throw or(qr,e);return e.slice(n,r)}supports(e){return typeof e=="string"||Array.isArray(e)}}qr.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:qr,deps:[],target:H.Pipe});qr.\u0275pipe=rn({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:qr,isStandalone:!0,name:"slice",pure:!1});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:qr,decorators:[{type:nn,args:[{name:"slice",pure:!1,standalone:!0}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const x_=[Fr,Or,Rr,ui,qr,Vr,Hr,Lr,Ur,Br,$r,jr,li];/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Jn{}Jn.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jn,deps:[],target:H.NgModule});Jn.\u0275mod=vl({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Jn,imports:[Js,ei,ti,ni,ai,oi,Rn,ri,si,Nr,ii,Fr,Or,Rr,ui,qr,Vr,Hr,Lr,Ur,Br,$r,jr,li],exports:[Js,ei,ti,ni,ai,oi,Rn,ri,si,Nr,ii,Fr,Or,Rr,ui,qr,Vr,Hr,Lr,Ur,Br,$r,jr,li]});Jn.\u0275inj=ml({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jn});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jn,decorators:[{type:ka,args:[{imports:[A_,x_],exports:[A_,x_]}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Z4="browser";/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */new Ad("14.2.6");/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class M_{}M_.\u0275prov=Ct({token:M_,providedIn:"root",factory:()=>new K4(We(Se),window)});class K4{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const n=Q4(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=e)}}scrollToElement(e){const n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,s=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],s-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=P_(this.window.history)||P_(Object.getPrototypeOf(this.window.history));return!!e&&!!(e.writable||e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function P_(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}function Q4(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if(typeof t.createTreeWalker=="function"&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=r.currentNode;for(;s;){const i=s.shadowRoot;if(i){const o=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(o)return o}s=r.nextNode()}}return null}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Y4{}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Xb(t){if(!ngDevMode)throw new B(2958,`Unexpected invocation of the ${t} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Et(t,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an element with the \`ngSrc="${t}"\`) `:""}has detected that`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function Wc(t,e){return uy(t)?new URL(t):new URL(t,e.location.href)}function uy(t){return/^https?:\/\//.test(t)}function X4(t){return uy(t)?new URL(t).hostname:t}function J4(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{const n=new URL(t);return!0}catch{return!1}}function ej(t){return t.endsWith("/")?t.slice(0,-1):t}function tj(t){return t.startsWith("/")?t.slice(1):t}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const nj=new Set(["localhost","127.0.0.1","0.0.0.0"]),Jb=new ge("PRECONNECT_CHECK_BLOCKLIST");class Ko{constructor(){this.document=At(Se),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(nj),Xb("preconnect link checker");const e=this.document.defaultView;typeof e<"u"&&(this.window=e);const n=At(Jb,{optional:!0});n&&this.populateBlocklist(n)}populateBlocklist(e){if(Array.isArray(e))eA(e,n=>{this.blocklist.add(X4(n))});else throw new B(2957,"The blocklist for the preconnect check was not provided as an array. Check that the `PRECONNECT_CHECK_BLOCKLIST` token is configured as a `multi: true` provider.")}assertPreconnect(e,n){if(!this.window)return;const r=Wc(e,this.window);this.blocklist.has(r.hostname)||this.alreadySeen.has(r.origin)||(this.alreadySeen.add(r.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(r.origin)||console.warn(Er(2956,`${Et(n)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the of the document: + `)))}queryPreconnectLinks(){const e=new Set,n="link[rel=preconnect]",r=Array.from(this.document.querySelectorAll(n));for(let s of r){const i=Wc(s.href,this.window);e.add(i.origin)}return e}ngOnDestroy(){var e;(e=this.preconnectLinks)===null||e===void 0||e.clear(),this.alreadySeen.clear()}}Ko.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ko,deps:[],target:H.Injectable});Ko.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ko,providedIn:"root"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ko,decorators:[{type:Ae,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}});function eA(t,e){for(let n of t)Array.isArray(n)?eA(n,e):e(n)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const rj=t=>t.src,tA=new ge("ImageLoader",{providedIn:"root",factory:()=>rj});function Jd(t,e){return function(r,s={ensurePreconnect:!0}){J4(r)||sj(r,e||[]),r=ej(r);const o=[{provide:tA,useValue:a=>(uy(a.src)&&ij(r,a.src),t(r,Object.assign(Object.assign({},a),{src:tj(a.src)})))}];return ngDevMode&&s.ensurePreconnect===!1&&o.push({provide:Jb,useValue:[r],multi:!0}),o}}function sj(t,e){throw new B(2959,ngDevMode&&`Image loader has detected an invalid path (\`${t}\`). To fix this, supply a path using one of the following formats: ${e.join(" or ")}`)}function ij(t,e){throw new B(2959,ngDevMode&&`Image loader has detected a \`\` tag with an invalid \`ngSrc\` attribute: ${e}. This image loader expects \`ngSrc\` to be a relative URL - however the provided value is an absolute URL. To fix this, provide \`ngSrc\` as a path relative to the base URL configured for this loader (\`${t}\`).`)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Jd(oj,ngDevMode?["https:///cdn-cgi/image//"]:void 0);function oj(t,e){let n="format=auto";return e.width&&(n+=`,width=${e.width}`),`${t}/cdn-cgi/image/${n}/${e.src}`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Jd(aj,ngDevMode?["https://res.cloudinary.com/mysite","https://mysite.cloudinary.com","https://subdomain.mysite.com"]:void 0);function aj(t,e){let n="f_auto,q_auto";return e.width&&(n+=`,w_${e.width}`),`${t}/image/upload/${n}/${e.src}`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Jd(uj,ngDevMode?["https://ik.imagekit.io/mysite","https://subdomain.mysite.com"]:void 0);function uj(t,e){let n="tr:q-auto";return e.width&&(n+=`,w-${e.width}`),`${t}/${n}/${e.src}`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */Jd(lj,ngDevMode?["https://somepath.imgix.net/"]:void 0);function lj(t,e){const n=new URL(`${t}/${e.src}`);return n.searchParams.set("auto","format"),e.width&&n.searchParams.set("w",e.width.toString()),n.href}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Qo{constructor(){this.images=new Map,this.alreadyWarned=new Set,this.window=null,this.observer=null,Xb("LCP checker");const e=At(Se).defaultView;typeof e<"u"&&typeof PerformanceObserver<"u"&&(this.window=e,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(n=>{var r,s;const i=n.getEntries();if(i.length===0)return;const a=(s=(r=i[i.length-1].element)===null||r===void 0?void 0:r.src)!==null&&s!==void 0?s:"";if(a.startsWith("data:")||a.startsWith("blob:"))return;this.images.get(a)&&!this.alreadyWarned.has(a)&&(this.alreadyWarned.add(a),cj(a))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,n){!this.observer||this.images.set(Wc(e,this.window).href,n)}unregisterImage(e){!this.observer||this.images.delete(Wc(e,this.window).href)}ngOnDestroy(){!this.observer||(this.observer.disconnect(),this.images.clear(),this.alreadyWarned.clear())}}Qo.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qo,deps:[],target:H.Injectable});Qo.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qo,providedIn:"root"});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qo,decorators:[{type:Ae,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}});function cj(t){const e=Et(t);console.warn(Er(2955,`${e} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const k_=50,nA=/^((\s*\d+w\s*(,|$)){1,})$/,dj=/^((\s*\d+(\.\d+)?x\s*(,|$)){1,})$/,uh=3,ru=2,N_=.1,F_=1e3;class Nu{constructor(){this.imageLoader=At(tA),this.renderer=At(ro),this.imgElement=At(nr).nativeElement,this.injector=At(_t),this.lcpObserver=ngDevMode?this.injector.get(Qo):null,this._renderedSrc=null,this._priority=!1}set rawSrc(e){if(ngDevMode)throw new B(2952,`${Et(e,!1)} the \`rawSrc\` attribute was used to activate the directive. Newer version of the directive uses the \`ngSrc\` attribute instead. Please replace \`rawSrc\` with \`ngSrc\` and \`rawSrcset\` with \`ngSrcset\` attributes in the template to enable image optimizations.`)}set width(e){ngDevMode&&L_(this,e,"width"),this._width=R_(e)}get width(){return this._width}set height(e){ngDevMode&&L_(this,e,"height"),this._height=R_(e)}get height(){return this._height}set priority(e){this._priority=pj(e)}get priority(){return this._priority}ngOnInit(){ngDevMode&&(rA(this,"ngSrc",this.ngSrc),vj(this,this.ngSrcset),hj(this),fj(this),gj(this),mj(this),Cj(this),wj(this),Dj(this,this.imgElement,this.renderer),this.priority?this.injector.get(Ko).assertPreconnect(this.getRewrittenSrc(),this.ngSrc):this.lcpObserver!==null&&this.injector.get(Xe).runOutsideAngular(()=>{this.lcpObserver.registerImage(this.getRewrittenSrc(),this.ngSrc)})),this.setHostAttributes()}setHostAttributes(){this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString()),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("src",this.getRewrittenSrc()),this.ngSrcset&&this.setHostAttribute("srcset",this.getRewrittenSrcset())}ngOnChanges(e){ngDevMode&&_j(this,e,["ngSrc","ngSrcset","width","height","priority"])}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.imageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=nA.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();const s=e?parseFloat(r):parseFloat(r)*this.width;return`${this.imageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}ngOnDestroy(){ngDevMode&&!this.priority&&this._renderedSrc!==null&&this.lcpObserver!==null&&this.lcpObserver.unregisterImage(this._renderedSrc)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}}Nu.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Nu,deps:[],target:H.Directive});Nu.\u0275dir=_n({minVersion:"14.0.0",version:"14.2.6",type:Nu,isStandalone:!0,selector:"img[ngSrc],img[rawSrc]",inputs:{rawSrc:"rawSrc",ngSrc:"ngSrc",ngSrcset:"ngSrcset",width:"width",height:"height",loading:"loading",priority:"priority",src:"src",srcset:"srcset"},usesOnChanges:!0,ngImport:D});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Nu,decorators:[{type:tn,args:[{standalone:!0,selector:"img[ngSrc],img[rawSrc]"}]}],propDecorators:{rawSrc:[{type:Pe}],ngSrc:[{type:Pe}],ngSrcset:[{type:Pe}],width:[{type:Pe}],height:[{type:Pe}],loading:[{type:Pe}],priority:[{type:Pe}],src:[{type:Pe}],srcset:[{type:Pe}]}});function R_(t){return typeof t=="string"?parseInt(t,10):t}function pj(t){return t!=null&&`${t}`!="false"}function hj(t){if(t.src)throw new B(2950,`${Et(t.ngSrc)} both \`src\` and \`ngSrc\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`src\` itself based on the value of \`ngSrc\`. To fix this, please remove the \`src\` attribute.`)}function fj(t){if(t.srcset)throw new B(2951,`${Et(t.ngSrc)} both \`srcset\` and \`ngSrcset\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`srcset\` itself based on the value of \`ngSrcset\`. To fix this, please remove the \`srcset\` attribute.`)}function gj(t){let e=t.ngSrc.trim();if(e.startsWith("data:"))throw e.length>k_&&(e=e.substring(0,k_)+"..."),new B(2952,`${Et(t.ngSrc,!1)} \`ngSrc\` is a Base64-encoded string (${e}). NgOptimizedImage does not support Base64-encoded strings. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a standard \`src\` attribute instead.`)}function mj(t){const e=t.ngSrc.trim();if(e.startsWith("blob:"))throw new B(2952,`${Et(t.ngSrc)} \`ngSrc\` was set to a blob URL (${e}). Blob URLs are not supported by the NgOptimizedImage directive. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a regular \`src\` attribute instead.`)}function rA(t,e,n){const r=typeof n=="string",s=r&&n.trim()==="";if(!r||s)throw new B(2952,`${Et(t.ngSrc)} \`${e}\` has an invalid value (\`${n}\`). To fix this, change the value to a non-empty string.`)}function vj(t,e){if(e==null)return;rA(t,"ngSrcset",e);const n=e,r=nA.test(n),s=dj.test(n);if(s&&yj(t,n),!(r||s))throw new B(2952,`${Et(t.ngSrc)} \`ngSrcset\` has an invalid value (\`${e}\`). To fix this, supply \`ngSrcset\` using a comma-separated list of one or more width descriptors (e.g. "100w, 200w") or density descriptors (e.g. "1x, 2x").`)}function yj(t,e){if(!e.split(",").every(r=>r===""||parseFloat(r)<=uh))throw new B(2952,`${Et(t.ngSrc)} the \`ngSrcset\` contains an unsupported image density:\`${e}\`. NgOptimizedImage generally recommends a max image density of ${ru}x but supports image densities up to ${uh}x. The human eye cannot distinguish between image densities greater than ${ru}x - which makes them unnecessary for most use cases. Images that will be pinch-zoomed are typically the primary use case for ${uh}x images. Please remove the high density descriptor and try again.`)}function Ej(t,e){return new B(2953,`${Et(t.ngSrc)} \`${e}\` was updated after initialization. The NgOptimizedImage directive will not react to this input change. To fix this, switch \`${e}\` a static value or wrap the image element in an *ngIf that is gated on the necessary value.`)}function _j(t,e,n){n.forEach(r=>{if(e.hasOwnProperty(r)&&!e[r].isFirstChange())throw r==="ngSrc"&&(t={ngSrc:e[r].previousValue}),Ej(t,r)})}function L_(t,e,n){const r=typeof e=="number"&&e>0,s=typeof e=="string"&&/^\d+$/.test(e.trim())&&parseInt(e)>0;if(!r&&!s)throw new B(2952,`${Et(t.ngSrc)} \`${n}\` has an invalid value (\`${e}\`). To fix this, provide \`${n}\` as a number greater than 0.`)}function Dj(t,e,n){const r=n.listen(e,"load",()=>{r();const s=parseFloat(e.clientWidth),i=parseFloat(e.clientHeight),o=s/i,a=s!==0&&i!==0,u=parseFloat(e.naturalWidth),l=parseFloat(e.naturalHeight),c=u/l,d=t.width,p=t.height,f=d/p,g=Math.abs(f-c)>N_,m=a&&Math.abs(c-o)>N_;if(g)console.warn(Er(2952,`${Et(t.ngSrc)} the aspect ratio of the image does not match the aspect ratio indicated by the width and height attributes. +Intrinsic image size: ${u}w x ${l}h (aspect-ratio: ${c}). +Supplied width and height attributes: ${d}w x ${p}h (aspect-ratio: ${f}). +To fix this, update the width and height attributes.`));else if(m)console.warn(Er(2952,`${Et(t.ngSrc)} the aspect ratio of the rendered image does not match the image's intrinsic aspect ratio. +Intrinsic image size: ${u}w x ${l}h (aspect-ratio: ${c}). +Rendered image size: ${s}w x ${i}h (aspect-ratio: ${o}). +This issue can occur if "width" and "height" attributes are added to an image without updating the corresponding image styling. To fix this, adjust image styling. In most cases, adding "height: auto" or "width: auto" to the image styling will fix this issue.`));else if(!t.ngSrcset&&a){const y=ru*s,w=ru*i,E=u-y>=F_,v=l-w>=F_;(E||v)&&console.warn(Er(2960,`${Et(t.ngSrc)} the intrinsic image is significantly larger than necessary. +Rendered image size: ${s}w x ${i}h. +Intrinsic image size: ${u}w x ${l}h. +Recommended intrinsic image size: ${y}w x ${w}h. +Note: Recommended intrinsic image size is calculated assuming a maximum DPR of ${ru}. To improve loading time, resize the image or consider using the "ngSrcset" and "sizes" attributes.`))}})}function Cj(t){let e=[];if(t.width===void 0&&e.push("width"),t.height===void 0&&e.push("height"),e.length>0)throw new B(2954,`${Et(t.ngSrc)} these required attributes are missing: ${e.map(n=>`"${n}"`).join(", ")}. Including "width" and "height" attributes will prevent image-related layout shifts. To fix this, include "width" and "height" attributes on the image tag.`)}function wj(t){if(t.loading&&t.priority)throw new B(2952,`${Et(t.ngSrc)} the \`loading\` attribute was used on an image that was marked "priority". Setting \`loading\` on priority images is not allowed because these images will always be eagerly loaded. To fix this, remove the \u201Cloading\u201D attribute from the priority image.`);const e=["auto","eager","lazy"];if(typeof t.loading=="string"&&!e.includes(t.loading))throw new B(2952,`${Et(t.ngSrc)} the \`loading\` attribute has an invalid value (\`${t.loading}\`). To fix this, provide a valid value ("lazy", "eager", or "auto").`)}/** + * @license Angular v14.2.6 + * (c) 2010-2022 Google LLC. https://angular.io/ + * License: MIT + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class Sj extends e4{constructor(){super(...arguments),this.supportsDOMEvents=!0}}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class ly extends Sj{static makeCurrent(){J$(new ly)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){const n=Ij();return n==null?null:bj(n)}resetBaseElement(){qa=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return O4(document.cookie,e)}}let qa=null;function Ij(){return qa=qa||document.querySelector("base"),qa?qa.getAttribute("href"):null}let Hl;function bj(t){Hl=Hl||document.createElement("a"),Hl.setAttribute("href",t);const e=Hl.pathname;return e.charAt(0)==="/"?e:`/${e}`}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const sA=new ge("TRANSITION_ID");function Aj(t,e,n){return()=>{n.get(zn).donePromise.then(()=>{const r=ds(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let i=0;i{const i=e.findTestabilityInTree(r,s);if(i==null)throw new Error("Could not find testability for element.");return i},xe.getAllAngularTestabilities=()=>e.getAllTestabilities(),xe.getAllAngularRootElements=()=>e.getAllRootElements();const n=r=>{const s=xe.getAllAngularTestabilities();let i=s.length,o=!1;const a=function(u){o=o||u,i--,i==0&&r(o)};s.forEach(function(u){u.whenStable(a)})};xe.frameworkStabilizers||(xe.frameworkStabilizers=[]),xe.frameworkStabilizers.push(n)}findTestabilityInTree(e,n,r){if(n==null)return null;const s=e.getTestability(n);return s!=null?s:r?ds().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}class Yo{build(){return new XMLHttpRequest}}Yo.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yo,deps:[],target:H.Injectable});Yo.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yo});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yo,decorators:[{type:Ae}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const Ni=new ge("EventManagerPlugins");class wr{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}addGlobalEventListener(e,n,r){return this._findPluginFor(n).addGlobalEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){const n=this._eventNameToPlugin.get(e);if(n)return n;const r=this._plugins;for(let s=0;s{this._stylesSet.has(r)||(this._stylesSet.add(r),n.add(r))}),this.onStylesAdded(n)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}Ki.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ki,deps:[],target:H.Injectable});Ki.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ki});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Ki,decorators:[{type:Ae}]});class qn extends Ki{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,n,r){e.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,r.push(n.appendChild(i))})}addHost(e){const n=[];this._addStylesToHost(this._stylesSet,e,n),this._hostNodes.set(e,n)}removeHost(e){const n=this._hostNodes.get(e);n&&n.forEach(O_),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((n,r)=>{this._addStylesToHost(e,r,n)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(O_))}}qn.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:qn,deps:[{token:Se}],target:H.Injectable});qn.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:qn});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:qn,decorators:[{type:Ae}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});function O_(t){ds().remove(t)}/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const lh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},dy=/%COMP%/g,B_=typeof ngDevMode>"u"||!!ngDevMode,iA="%COMP%",Mj=`_nghost-${iA}`,Pj=`_ngcontent-${iA}`;function kj(t){return Pj.replace(dy,t)}function Nj(t){return Mj.replace(dy,t)}function ep(t,e,n){for(let r=0;r{if(e==="__ngUnwrap__")return t;t(e)===!1&&(e.preventDefault(),e.returnValue=!1)}}let j_=!1;class Gs{constructor(e,n,r){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new py(e)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;switch(n.encapsulation){case br.Emulated:{let r=this.rendererByCompId.get(n.id);return r||(r=new Rj(this.eventManager,this.sharedStylesHost,n,this.appId),this.rendererByCompId.set(n.id,r)),r.applyToHost(e),r}case 1:case br.ShadowDom:return(typeof ngDevMode>"u"||ngDevMode)&&!j_&&n.encapsulation===1&&(j_=!0,console.warn("ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.")),new Lj(this.eventManager,this.sharedStylesHost,e,n);default:{if(!this.rendererByCompId.has(n.id)){const r=ep(n.id,n.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(n.id,this.defaultRenderer)}return this.defaultRenderer}}}begin(){}end(){}}Gs.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Gs,deps:[{token:wr},{token:qn},{token:Es}],target:H.Injectable});Gs.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Gs});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Gs,decorators:[{type:Ae}],ctorParameters:function(){return[{type:wr},{type:qn},{type:void 0,decorators:[{type:Be,args:[Es]}]}]}});class py{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(lh[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){(H_(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(H_(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,s){if(s){n=s+":"+n;const i=lh[s];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const s=lh[r];s?e.removeAttributeNS(s,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,s){s&(mr.DashCase|mr.Important)?e.style.setProperty(n,r,s&mr.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&mr.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){B_&&V_(n,"property"),e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return B_&&V_(n,"listener"),typeof e=="string"?this.eventManager.addGlobalEventListener(e,n,$_(r)):this.eventManager.addEventListener(e,n,$_(r))}}const Fj=(()=>"@".charCodeAt(0))();function V_(t,e){if(t.charCodeAt(0)===Fj)throw new Error(`Unexpected synthetic ${e} ${t} found. Please make sure that: + - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application. + - There is corresponding configuration for the animation named \`${t}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`)}function H_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}class Rj extends py{constructor(e,n,r,s){super(e),this.component=r;const i=ep(s+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=kj(s+"-"+r.id),this.hostAttr=Nj(s+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class Lj extends py{constructor(e,n,r,s){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ep(s.id,s.styles,[]);for(let o=0;othis.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}}Xo.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xo,deps:[{token:Se}],target:H.Injectable});Xo.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xo});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xo,decorators:[{type:Ae}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const U_=["alt","control","meta","shift"],Oj={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Bj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class bn extends cy{constructor(e){super(e)}supports(e){return bn.parseEventName(e)!=null}addEventListener(e,n,r){const s=bn.parseEventName(n),i=bn.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ds().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;const s=bn._normalizeKey(n.pop());let i="",o=n.indexOf("code");if(o>-1&&(n.splice(o,1),i="code."),U_.forEach(u=>{const l=n.indexOf(u);l>-1&&(n.splice(l,1),i+=u+".")}),i+=s,n.length!=0||s.length===0)return null;const a={};return a.domEventName=r,a.fullKey=i,a}static matchEventFullKeyCode(e,n){let r=Oj[e.key]||e.key,s="";return n.indexOf("code.")>-1&&(r=e.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),U_.forEach(i=>{if(i!==r){const o=Bj[i];o(e)&&(s+=i+".")}}),s+=r,s===n)}static eventCallback(e,n,r){return s=>{bn.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}bn.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:bn,deps:[{token:Se}],target:H.Injectable});bn.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:bn});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:bn,decorators:[{type:Ae}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const hy=typeof ngDevMode>"u"||!!ngDevMode;function $j(t,e){return wb(Object.assign({rootComponent:t},jj(e)))}function jj(t){var e;return{appProviders:[...gy,...(e=t==null?void 0:t.providers)!==null&&e!==void 0?e:[]],platformProviders:oA}}function Vj(){ly.makeCurrent()}function Hj(){return new mi}function Uj(){return ew(document),document}const oA=[{provide:zv,useValue:Z4},{provide:Gv,useValue:Vj,multi:!0},{provide:Se,useFactory:Uj,deps:[]}];Xv(jb,"browser",oA);const fy=new ge(hy?"BrowserModule Providers Marker":""),aA=[{provide:Fo,useClass:xj,deps:[]},{provide:Kv,useClass:Dr,deps:[Xe,Wn,Fo]},{provide:Dr,useClass:Dr,deps:[Xe,Wn,Fo]}],gy=[{provide:Id,useValue:"root"},{provide:mi,useFactory:Hj,deps:[]},{provide:Ni,useClass:Xo,multi:!0,deps:[Se,Xe,zv]},{provide:Ni,useClass:bn,multi:!0,deps:[Se]},{provide:Gs,useClass:Gs,deps:[wr,qn,Es]},{provide:om,useExisting:Gs},{provide:Ki,useExisting:qn},{provide:qn,useClass:qn,deps:[Se]},{provide:wr,useClass:wr,deps:[Ni,Xe]},{provide:Y4,useClass:Yo,deps:[]},hy?{provide:fy,useValue:!0}:[]];class _s{constructor(e){if(hy&&e)throw new Error("Providers from the `BrowserModule` have already been loaded. If you need access to common directives such as NgIf and NgFor, import the `CommonModule` instead.")}static withServerTransition(e){return{ngModule:_s,providers:[{provide:Es,useValue:e.appId},{provide:sA,useExisting:Es},Tj]}}}_s.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:_s,deps:[{token:fy,optional:!0,skipSelf:!0}],target:H.NgModule});_s.\u0275mod=vl({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:_s,exports:[Jn,xr]});_s.\u0275inj=ml({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:_s,providers:[...gy,...aA],imports:[Jn,xr]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:_s,decorators:[{type:ka,args:[{providers:[...gy,...aA],exports:[Jn,xr]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:zt},{type:to},{type:Be,args:[fy]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function uA(){return new Jo(We(Se))}class Jo{constructor(e){this._doc=e,this._dom=ds()}addTag(e,n=!1){return e?this._getOrCreateElement(e,n):null}addTags(e,n=!1){return e?e.reduce((r,s)=>(s&&r.push(this._getOrCreateElement(s,n)),r),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const n=this._doc.querySelectorAll(`meta[${e}]`);return n?[].slice.call(n):[]}updateTag(e,n){if(!e)return null;n=n||this._parseSelector(e);const r=this.getTag(n);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,n=!1){if(!n){const i=this._parseSelector(e),o=this.getTags(i).filter(a=>this._containsAttributes(e,a))[0];if(o!==void 0)return o}const r=this._dom.createElement("meta");return this._setMetaElementAttributes(e,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(e,n){return Object.keys(e).forEach(r=>n.setAttribute(this._getMetaKeyMap(r),e[r])),n}_parseSelector(e){const n=e.name?"name":"property";return`${n}="${e[n]}"`}_containsAttributes(e,n){return Object.keys(e).every(r=>n.getAttribute(this._getMetaKeyMap(r))===e[r])}_getMetaKeyMap(e){return qj[e]||e}}Jo.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jo,deps:[{token:Se}],target:H.Injectable});Jo.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jo,providedIn:"root",useFactory:uA,deps:[]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Jo,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:uA,deps:[]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});const qj={httpEquiv:"http-equiv"};/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */function lA(){return new ea(We(Se))}class ea{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}ea.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ea,deps:[{token:Se}],target:H.Injectable});ea.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ea,providedIn:"root",useFactory:lA,deps:[]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ea,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:lA,deps:[]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});function Gj(t){const e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,n=>e[n])}class Fi{constructor(){this.store={},this.onSerializeCallbacks={}}get(e,n){return this.store[e]!==void 0?this.store[e]:n}set(e,n){this.store[e]=n}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(e,n){this.onSerializeCallbacks[e]=n}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(n){console.warn("Exception in onSerialize callback: ",n)}return JSON.stringify(this.store)}}Fi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Fi,deps:[],target:H.Injectable});Fi.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Fi,providedIn:"root",useFactory:()=>{const t=At(Se),e=At(Es),n=new Fi;return n.store=cA(t,e),n}});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Fi,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:()=>{const t=At(Se),e=At(Es),n=new Fi;return n.store=cA(t,e),n}}]}]});function cA(t,e){const n=t.getElementById(e+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(Gj(n.textContent))}catch(s){console.warn("Exception while restoring TransferState for app "+e,s)}return r}class Qi{}Qi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qi,deps:[],target:H.NgModule});Qi.\u0275mod=vl({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Qi});Qi.\u0275inj=ml({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qi});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Qi,decorators:[{type:ka,args:[{}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */const zj={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ta=new ge("HammerGestureConfig"),tp=new ge("HammerLoader");class ci{constructor(){this.events=[],this.overrides={}}buildHammer(e){const n=new Hammer(e,this.options);n.get("pinch").set({enable:!0}),n.get("rotate").set({enable:!0});for(const r in this.overrides)n.get(r).set(this.overrides[r]);return n}}ci.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ci,deps:[],target:H.Injectable});ci.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ci});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:ci,decorators:[{type:Ae}]});class Yi extends cy{constructor(e,n,r,s){super(e),this._config=n,this.console=r,this.loader=s,this._loaderPromise=null}supports(e){return!zj.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)?!1:!window.Hammer&&!this.loader?((typeof ngDevMode>"u"||ngDevMode)&&this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),!1):!0}addEventListener(e,n,r){const s=this.manager.getZone();if(n=n.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let i=!1,o=()=>{i=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){(typeof ngDevMode>"u"||ngDevMode)&&this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),o=()=>{};return}i||(o=this.addEventListener(e,n,r))}).catch(()=>{(typeof ngDevMode>"u"||ngDevMode)&&this.console.warn(`The "${n}" event cannot be bound because the custom Hammer.JS loader failed.`),o=()=>{}})),()=>{o()}}return s.runOutsideAngular(()=>{const i=this._config.buildHammer(e),o=function(a){s.runGuarded(function(){r(a)})};return i.on(n,o),()=>{i.off(n,o),typeof i.destroy=="function"&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}Yi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yi,deps:[{token:Se},{token:ta},{token:xn},{token:tp,optional:!0}],target:H.Injectable});Yi.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yi});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Yi,decorators:[{type:Ae}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]},{type:ci,decorators:[{type:Be,args:[ta]}]},{type:xn},{type:void 0,decorators:[{type:zt},{type:Be,args:[tp]}]}]}});class Xi{}Xi.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xi,deps:[],target:H.NgModule});Xi.\u0275mod=vl({minVersion:"14.0.0",version:"14.2.6",ngImport:D,type:Xi});Xi.\u0275inj=ml({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xi,providers:[{provide:Ni,useClass:Yi,multi:!0,deps:[Se,ta,xn,[new zt,tp]]},{provide:ta,useClass:ci,deps:[]}]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:Xi,decorators:[{type:ka,args:[{providers:[{provide:Ni,useClass:Yi,multi:!0,deps:[Se,ta,xn,[new zt,tp]]},{provide:ta,useClass:ci,deps:[]}]}]}]});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */class na{}na.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:na,deps:[],target:H.Injectable});na.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:na,providedIn:"root",useExisting:ua(function(){return di})});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:na,decorators:[{type:Ae,args:[{providedIn:"root",useExisting:ua(()=>di)}]}]});function dA(t){return new di(t.get(Se))}class di extends na{constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Zt.NONE:return n;case Zt.HTML:return Vn(n,"HTML")?Qt(n):em(this._doc,String(n)).toString();case Zt.STYLE:return Vn(n,"Style")?Qt(n):n;case Zt.SCRIPT:if(Vn(n,"Script"))return Qt(n);throw new Error("unsafe value used in a script context");case Zt.URL:return Vn(n,"URL")?Qt(n):ol(String(n));case Zt.RESOURCE_URL:if(Vn(n,"ResourceURL"))return Qt(n);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return rw(e)}bypassSecurityTrustStyle(e){return sw(e)}bypassSecurityTrustScript(e){return iw(e)}bypassSecurityTrustUrl(e){return ow(e)}bypassSecurityTrustResourceUrl(e){return aw(e)}}di.\u0275fac=Z({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:di,deps:[{token:Se}],target:H.Injectable});di.\u0275prov=Ke({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:di,providedIn:"root",useFactory:dA,deps:[{token:_t}]});W({minVersion:"12.0.0",version:"14.2.6",ngImport:D,type:di,decorators:[{type:Ae,args:[{providedIn:"root",useFactory:dA,deps:[_t]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:Be,args:[Se]}]}]}});/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + *//** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */new Ad("14.2.6");var Wj=Object.defineProperty,Zj=Object.getOwnPropertyDescriptor,Kj=(t,e,n,r)=>{for(var s=r>1?void 0:r?Zj(e,n):e,i=t.length-1,o;i>=0;i--)(o=t[i])&&(s=(r?o(e,n,s):o(s))||s);return r&&s&&Wj(e,n,s),s};let wf=class{constructor(){}ngOnInit(){}};wf=Kj([cb({selector:"app-root",standalone:!0,imports:[Jn],template:"

hello, this is angular

",styles:[` + :host { + display: block; + } + `],changeDetection:gs.OnPush})],wf);document.querySelector("#app").innerHTML="Hello world";hA();$j(wf,{providers:[{provide:Xe,useValue:new Xe({shouldCoalesceEventChangeDetection:!1})}]}); diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..5775303 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,15 @@ + + + + + + + Vite + TS + + + +
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..1007dd3 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + Vite + TS + + +
+ + + + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..05315bf --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "vite-angular", + "version": "1.0.0", + "description": "", + "main": "dist/index.js", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview" + }, + "keywords": [], + "author": "", + "license": "ISC", + "devDependencies": { + "autoprefixer": "^10.4.12", + "postcss": "^8.4.18", + "tailwindcss": "^3.1.8", + "typescript": "^4.8.4", + "vite": "^3.1.8" + }, + "dependencies": { + "@angular/common": "^14.2.6", + "@angular/compiler": "^14.2.6", + "@angular/core": "^14.2.6", + "@angular/platform-browser": "^14.2.6", + "zone.js": "^0.11.8" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..1482cf7 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,866 @@ +lockfileVersion: 5.4 + +specifiers: + '@angular/common': ^14.2.6 + '@angular/compiler': ^14.2.6 + '@angular/core': ^14.2.6 + '@angular/platform-browser': ^14.2.6 + autoprefixer: ^10.4.12 + postcss: ^8.4.18 + tailwindcss: ^3.1.8 + typescript: ^4.8.4 + vite: ^3.1.8 + zone.js: ^0.11.8 + +dependencies: + '@angular/common': 14.2.6_rqdmvia4mum3ur2pbfifmb6sby + '@angular/compiler': 14.2.6_@angular+core@14.2.6 + '@angular/core': 14.2.6_rxjs@7.5.7+zone.js@0.11.8 + '@angular/platform-browser': 14.2.6_hziutw63p6srxucgucaytgznoq + zone.js: 0.11.8 + +devDependencies: + autoprefixer: 10.4.12_postcss@8.4.18 + postcss: 8.4.18 + tailwindcss: 3.1.8_postcss@8.4.18 + typescript: 4.8.4 + vite: 3.1.8 + +packages: + + /@angular/common/14.2.6_rqdmvia4mum3ur2pbfifmb6sby: + resolution: {integrity: sha512-WNX7xe8LKP5DHPlae+c77PDwj0iIAAPIe1lWbhQysyi8uttbtL9VVP2XTFuQ3E6oVHJr+0IR0LMVGJ+a8i6zsw==} + engines: {node: ^14.15.0 || >=16.10.0} + peerDependencies: + '@angular/core': 14.2.6 + rxjs: ^6.5.3 || ^7.4.0 + dependencies: + '@angular/core': 14.2.6_rxjs@7.5.7+zone.js@0.11.8 + rxjs: 7.5.7 + tslib: 2.4.0 + dev: false + + /@angular/compiler/14.2.6_@angular+core@14.2.6: + resolution: {integrity: sha512-XtmJRNQQ/bUcRjB6jG67km3EPug8frnHH50sLqxye+cljCzWQpzFN/Qr1z0abuzEX8OC4alqxCDCFgTFyyVkaQ==} + engines: {node: ^14.15.0 || >=16.10.0} + peerDependencies: + '@angular/core': 14.2.6 + peerDependenciesMeta: + '@angular/core': + optional: true + dependencies: + '@angular/core': 14.2.6_rxjs@7.5.7+zone.js@0.11.8 + tslib: 2.4.0 + dev: false + + /@angular/core/14.2.6_rxjs@7.5.7+zone.js@0.11.8: + resolution: {integrity: sha512-fEIz7E488X03tLIqmWQRpahxRRU2SMjb9i/rMUjMQJkbppJC3cykl31bCYzeixNO+zpE55GPGuQX2qI/yDenZA==} + engines: {node: ^14.15.0 || >=16.10.0} + peerDependencies: + rxjs: ^6.5.3 || ^7.4.0 + zone.js: ~0.11.4 + dependencies: + rxjs: 7.5.7 + tslib: 2.4.0 + zone.js: 0.11.8 + dev: false + + /@angular/platform-browser/14.2.6_hziutw63p6srxucgucaytgznoq: + resolution: {integrity: sha512-KQUN4YVYEK5NOL7QFnDulQta6tm9rPh/mruX/XCLkSmoRMlFBmsHyjx+VJBnBNUbUxNsBj7kknifOu9PqDgAWg==} + engines: {node: ^14.15.0 || >=16.10.0} + peerDependencies: + '@angular/animations': 14.2.6 + '@angular/common': 14.2.6 + '@angular/core': 14.2.6 + peerDependenciesMeta: + '@angular/animations': + optional: true + dependencies: + '@angular/common': 14.2.6_rqdmvia4mum3ur2pbfifmb6sby + '@angular/core': 14.2.6_rxjs@7.5.7+zone.js@0.11.8 + tslib: 2.4.0 + dev: false + + /@esbuild/android-arm/0.15.11: + resolution: {integrity: sha512-PzMcQLazLBkwDEkrNPi9AbjFt6+3I7HKbiYF2XtWQ7wItrHvEOeO3T8Am434zAozWtVP7lrTue1bEfc2nYWeCA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64/0.15.11: + resolution: {integrity: sha512-geWp637tUhNmhL3Xgy4Bj703yXB9dqiLJe05lCUfjSFDrQf9C/8pArusyPUbUbPwlC/EAUjBw32sxuIl/11dZw==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@nodelib/fs.scandir/2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + dev: true + + /@nodelib/fs.stat/2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + dev: true + + /@nodelib/fs.walk/1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.13.0 + dev: true + + /acorn-node/1.8.2: + resolution: {integrity: sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==} + dependencies: + acorn: 7.4.1 + acorn-walk: 7.2.0 + xtend: 4.0.2 + dev: true + + /acorn-walk/7.2.0: + resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==} + engines: {node: '>=0.4.0'} + dev: true + + /acorn/7.4.1: + resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /anymatch/3.1.2: + resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + dev: true + + /arg/5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + dev: true + + /autoprefixer/10.4.12_postcss@8.4.18: + resolution: {integrity: sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + dependencies: + browserslist: 4.21.4 + caniuse-lite: 1.0.30001422 + fraction.js: 4.2.0 + normalize-range: 0.1.2 + picocolors: 1.0.0 + postcss: 8.4.18 + postcss-value-parser: 4.2.0 + dev: true + + /binary-extensions/2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + dev: true + + /braces/3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /browserslist/4.21.4: + resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001422 + electron-to-chromium: 1.4.284 + node-releases: 2.0.6 + update-browserslist-db: 1.0.10_browserslist@4.21.4 + dev: true + + /camelcase-css/2.0.1: + resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} + engines: {node: '>= 6'} + dev: true + + /caniuse-lite/1.0.30001422: + resolution: {integrity: sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==} + dev: true + + /chokidar/3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.2 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /color-name/1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + dev: true + + /cssesc/3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /defined/1.0.1: + resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==} + dev: true + + /detective/5.2.1: + resolution: {integrity: sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==} + engines: {node: '>=0.8.0'} + hasBin: true + dependencies: + acorn-node: 1.8.2 + defined: 1.0.1 + minimist: 1.2.7 + dev: true + + /didyoumean/1.2.2: + resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} + dev: true + + /dlv/1.1.3: + resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + dev: true + + /electron-to-chromium/1.4.284: + resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==} + dev: true + + /esbuild-android-64/0.15.11: + resolution: {integrity: sha512-rrwoXEiuI1kaw4k475NJpexs8GfJqQUKcD08VR8sKHmuW9RUuTR2VxcupVvHdiGh9ihxL9m3lpqB1kju92Ialw==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-android-arm64/0.15.11: + resolution: {integrity: sha512-/hDubOg7BHOhUUsT8KUIU7GfZm5bihqssvqK5PfO4apag7YuObZRZSzViyEKcFn2tPeHx7RKbSBXvAopSHDZJQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-64/0.15.11: + resolution: {integrity: sha512-1DqHD0ms3AhiwkKnjRUzmiW7JnaJJr5FKrPiR7xuyMwnjDqvNWDdMq4rKSD9OC0piFNK6n0LghsglNMe2MwJtA==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-darwin-arm64/0.15.11: + resolution: {integrity: sha512-OMzhxSbS0lwwrW40HHjRCeVIJTURdXFA8c3GU30MlHKuPCcvWNUIKVucVBtNpJySXmbkQMDJdJNrXzNDyvoqvQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-64/0.15.11: + resolution: {integrity: sha512-8dKP26r0/Qyez8nTCwpq60QbuYKOeBygdgOAWGCRalunyeqWRoSZj9TQjPDnTTI9joxd3QYw3UhVZTKxO9QdRg==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-freebsd-arm64/0.15.11: + resolution: {integrity: sha512-aSGiODiukLGGnSg/O9+cGO2QxEacrdCtCawehkWYTt5VX1ni2b9KoxpHCT9h9Y6wGqNHmXFnB47RRJ8BIqZgmQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-32/0.15.11: + resolution: {integrity: sha512-lsrAfdyJBGx+6aHIQmgqUonEzKYeBnyfJPkT6N2dOf1RoXYYV1BkWB6G02tjsrz1d5wZzaTc3cF+TKmuTo/ZwA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-64/0.15.11: + resolution: {integrity: sha512-Y2Rh+PcyVhQqXKBTacPCltINN3uIw2xC+dsvLANJ1SpK5NJUtxv8+rqWpjmBgaNWKQT1/uGpMmA9olALy9PLVA==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm/0.15.11: + resolution: {integrity: sha512-TJllTVk5aSyqPFvvcHTvf6Wu1ZKhWpJ/qNmZO8LL/XeB+LXCclm7HQHNEIz6MT7IX8PmlC1BZYrOiw2sXSB95A==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-arm64/0.15.11: + resolution: {integrity: sha512-uhcXiTwTmD4OpxJu3xC5TzAAw6Wzf9O1XGWL448EE9bqGjgV1j+oK3lIHAfsHnuIn8K4nDW8yjX0Sv5S++oRuw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-mips64le/0.15.11: + resolution: {integrity: sha512-WD61y/R1M4BLe4gxXRypoQ0Ci+Vjf714QYzcPNkiYv5I8K8WDz2ZR8Bm6cqKxd6rD+e/rZgPDbhQ9PCf7TMHmA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-ppc64le/0.15.11: + resolution: {integrity: sha512-JVleZS9oPVLTlBhPTWgOwxFWU/wMUdlBwTbGA4GF8c38sLbS13cupj+C8bLq929jU7EMWry4SaL+tKGIaTlqKg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-riscv64/0.15.11: + resolution: {integrity: sha512-9aLIalZ2HFHIOZpmVU11sEAS9F8TnHw49daEjcgMpBXHFF57VuT9f9/9LKJhw781Gda0P9jDkuCWJ0tFbErvJw==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-linux-s390x/0.15.11: + resolution: {integrity: sha512-sZHtiXXOKsLI3XGBGoYO4qKBzJlb8xNsWmvFiwFMHFzA4AXgDP1KDp7Dawe9C2pavTRBDvl+Ok4n/DHQ59oaTg==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /esbuild-netbsd-64/0.15.11: + resolution: {integrity: sha512-hUC9yN06K9sg7ju4Vgu9ChAPdsEgtcrcLfyNT5IKwKyfpLvKUwCMZSdF+gRD3WpyZelgTQfJ+pDx5XFbXTlB0A==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-openbsd-64/0.15.11: + resolution: {integrity: sha512-0bBo9SQR4t66Wd91LGMAqmWorzO0TTzVjYiifwoFtel8luFeXuPThQnEm5ztN4g0fnvcp7AnUPPzS/Depf17wQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /esbuild-sunos-64/0.15.11: + resolution: {integrity: sha512-EuBdTGlsMTjEl1sQnBX2jfygy7iR6CKfvOzi+gEOfhDqbHXsmY1dcpbVtcwHAg9/2yUZSfMJHMAgf1z8M4yyyw==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-32/0.15.11: + resolution: {integrity: sha512-O0/Wo1Wk6dc0rZSxkvGpmTNIycEznHmkObTFz2VHBhjPsO4ZpCgfGxNkCpz4AdAIeMczpTXt/8d5vdJNKEGC+Q==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-64/0.15.11: + resolution: {integrity: sha512-x977Q4HhNjnHx00b4XLAnTtj5vfbdEvkxaQwC1Zh5AN8g5EX+izgZ6e5QgqJgpzyRNJqh4hkgIJF1pyy1be0mQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild-windows-arm64/0.15.11: + resolution: {integrity: sha512-VwUHFACuBahrvntdcMKZteUZ9HaYrBRODoKe4tIWxguQRvvYoYb7iu5LrcRS/FQx8KPZNaa72zuqwVtHeXsITw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /esbuild/0.15.11: + resolution: {integrity: sha512-OgHGuhlfZ//mToxjte1D5iiiQgWfJ2GByVMwEC/IuoXsBGkuyK1+KrjYu0laSpnN/L1UmLUCv0s25vObdc1bVg==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.15.11 + '@esbuild/linux-loong64': 0.15.11 + esbuild-android-64: 0.15.11 + esbuild-android-arm64: 0.15.11 + esbuild-darwin-64: 0.15.11 + esbuild-darwin-arm64: 0.15.11 + esbuild-freebsd-64: 0.15.11 + esbuild-freebsd-arm64: 0.15.11 + esbuild-linux-32: 0.15.11 + esbuild-linux-64: 0.15.11 + esbuild-linux-arm: 0.15.11 + esbuild-linux-arm64: 0.15.11 + esbuild-linux-mips64le: 0.15.11 + esbuild-linux-ppc64le: 0.15.11 + esbuild-linux-riscv64: 0.15.11 + esbuild-linux-s390x: 0.15.11 + esbuild-netbsd-64: 0.15.11 + esbuild-openbsd-64: 0.15.11 + esbuild-sunos-64: 0.15.11 + esbuild-windows-32: 0.15.11 + esbuild-windows-64: 0.15.11 + esbuild-windows-arm64: 0.15.11 + dev: true + + /escalade/3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + dev: true + + /fast-glob/3.2.12: + resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + + /fastq/1.13.0: + resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} + dependencies: + reusify: 1.0.4 + dev: true + + /fill-range/7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /fraction.js/4.2.0: + resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} + dev: true + + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /function-bind/1.1.1: + resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true + + /glob-parent/5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob-parent/6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + dependencies: + is-glob: 4.0.3 + dev: true + + /has/1.0.3: + resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} + engines: {node: '>= 0.4.0'} + dependencies: + function-bind: 1.1.1 + dev: true + + /is-binary-path/2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + dev: true + + /is-core-module/2.11.0: + resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} + dependencies: + has: 1.0.3 + dev: true + + /is-extglob/2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-glob/4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-number/7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /lilconfig/2.0.6: + resolution: {integrity: sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==} + engines: {node: '>=10'} + dev: true + + /merge2/1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /micromatch/4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + dev: true + + /minimist/1.2.7: + resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==} + dev: true + + /nanoid/3.3.4: + resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: true + + /node-releases/2.0.6: + resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==} + dev: true + + /normalize-path/3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /normalize-range/0.1.2: + resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} + engines: {node: '>=0.10.0'} + dev: true + + /object-hash/3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + dev: true + + /path-parse/1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /picocolors/1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: true + + /picomatch/2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /pify/2.3.0: + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} + engines: {node: '>=0.10.0'} + dev: true + + /postcss-import/14.1.0_postcss@8.4.18: + resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==} + engines: {node: '>=10.0.0'} + peerDependencies: + postcss: ^8.0.0 + dependencies: + postcss: 8.4.18 + postcss-value-parser: 4.2.0 + read-cache: 1.0.0 + resolve: 1.22.1 + dev: true + + /postcss-js/4.0.0_postcss@8.4.18: + resolution: {integrity: sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==} + engines: {node: ^12 || ^14 || >= 16} + peerDependencies: + postcss: ^8.3.3 + dependencies: + camelcase-css: 2.0.1 + postcss: 8.4.18 + dev: true + + /postcss-load-config/3.1.4_postcss@8.4.18: + resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} + engines: {node: '>= 10'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + dependencies: + lilconfig: 2.0.6 + postcss: 8.4.18 + yaml: 1.10.2 + dev: true + + /postcss-nested/5.0.6_postcss@8.4.18: + resolution: {integrity: sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + dependencies: + postcss: 8.4.18 + postcss-selector-parser: 6.0.10 + dev: true + + /postcss-selector-parser/6.0.10: + resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} + engines: {node: '>=4'} + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + dev: true + + /postcss-value-parser/4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + dev: true + + /postcss/8.4.18: + resolution: {integrity: sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.4 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true + + /queue-microtask/1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + dev: true + + /quick-lru/5.1.1: + resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} + engines: {node: '>=10'} + dev: true + + /read-cache/1.0.0: + resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + dependencies: + pify: 2.3.0 + dev: true + + /readdirp/3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + dev: true + + /resolve/1.22.1: + resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} + hasBin: true + dependencies: + is-core-module: 2.11.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /reusify/1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + /rollup/2.78.1: + resolution: {integrity: sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /run-parallel/1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + dev: true + + /rxjs/7.5.7: + resolution: {integrity: sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==} + dependencies: + tslib: 2.4.0 + dev: false + + /source-map-js/1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + dev: true + + /supports-preserve-symlinks-flag/1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /tailwindcss/3.1.8_postcss@8.4.18: + resolution: {integrity: sha512-YSneUCZSFDYMwk+TGq8qYFdCA3yfBRdBlS7txSq0LUmzyeqRe3a8fBQzbz9M3WS/iFT4BNf/nmw9mEzrnSaC0g==} + engines: {node: '>=12.13.0'} + hasBin: true + peerDependencies: + postcss: ^8.0.9 + dependencies: + arg: 5.0.2 + chokidar: 3.5.3 + color-name: 1.1.4 + detective: 5.2.1 + didyoumean: 1.2.2 + dlv: 1.1.3 + fast-glob: 3.2.12 + glob-parent: 6.0.2 + is-glob: 4.0.3 + lilconfig: 2.0.6 + normalize-path: 3.0.0 + object-hash: 3.0.0 + picocolors: 1.0.0 + postcss: 8.4.18 + postcss-import: 14.1.0_postcss@8.4.18 + postcss-js: 4.0.0_postcss@8.4.18 + postcss-load-config: 3.1.4_postcss@8.4.18 + postcss-nested: 5.0.6_postcss@8.4.18 + postcss-selector-parser: 6.0.10 + postcss-value-parser: 4.2.0 + quick-lru: 5.1.1 + resolve: 1.22.1 + transitivePeerDependencies: + - ts-node + dev: true + + /to-regex-range/5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /tslib/2.4.0: + resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} + dev: false + + /typescript/4.8.4: + resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} + engines: {node: '>=4.2.0'} + hasBin: true + dev: true + + /update-browserslist-db/1.0.10_browserslist@4.21.4: + resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.21.4 + escalade: 3.1.1 + picocolors: 1.0.0 + dev: true + + /util-deprecate/1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: true + + /vite/3.1.8: + resolution: {integrity: sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + less: '*' + sass: '*' + stylus: '*' + terser: ^5.4.0 + peerDependenciesMeta: + less: + optional: true + sass: + optional: true + stylus: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.15.11 + postcss: 8.4.18 + resolve: 1.22.1 + rollup: 2.78.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /xtend/4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: true + + /yaml/1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + dev: true + + /zone.js/0.11.8: + resolution: {integrity: sha512-82bctBg2hKcEJ21humWIkXRlLBBmrc3nN7DFh5LGGhcyycO2S7FN8NmdvlcKaGFDNVL4/9kFLmwmInTavdJERA==} + dependencies: + tslib: 2.4.0 + dev: false diff --git a/postcss.config.cjs b/postcss.config.cjs new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/postcss.config.cjs @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/app.component.ts b/src/app.component.ts new file mode 100644 index 0000000..465f296 --- /dev/null +++ b/src/app.component.ts @@ -0,0 +1,27 @@ +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +@Component({ + selector: 'app-root', + standalone: true, + imports: [CommonModule], + template: ` +

hello, this is angular, avite

+

+ Hello Tailwind inside angular! +

+ `, + styles: [ + ` + :host { + display: block; + } + `, + ], + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class AppComponent { + constructor() {} + + ngOnInit(): void {} +} diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/src/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..bd90e14 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,20 @@ +import { otherAction } from './other'; +document.querySelector('#app')!.innerHTML = 'Hello world'; +otherAction(); + + +import "@angular/compiler"; +import "zone.js"; +import {bootstrapApplication} from '@angular/platform-browser'; +import { AppComponent } from './app.component'; +import { NgZone } from '@angular/core'; +import './index.css' + +bootstrapApplication(AppComponent, { + providers: [ + { + provide: NgZone, + useValue: new NgZone({ shouldCoalesceEventChangeDetection: false }) + }, + ] +}); \ No newline at end of file diff --git a/src/other.ts b/src/other.ts new file mode 100644 index 0000000..22f86ce --- /dev/null +++ b/src/other.ts @@ -0,0 +1,5 @@ +export function otherAction() { + const x = document.createElement("p"); + x.innerHTML = 'vite example'; + document.querySelector('#app')!.appendChild(x); +} \ No newline at end of file diff --git a/tailwind.config.cjs b/tailwind.config.cjs new file mode 100644 index 0000000..1c3b7e1 --- /dev/null +++ b/tailwind.config.cjs @@ -0,0 +1,11 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + "./index.html", + "./src/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..84899d9 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ESNext", "DOM"], + "moduleResolution": "Node", + "strict": true, + "resolveJsonModule": true, + "isolatedModules": true, + "esModuleInterop": true, + "noEmit": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "skipLibCheck": true, + "types": ["vite/client"], // for vite + "experimentalDecorators": true, // for angular + }, + "include": ["src"] + } + \ No newline at end of file diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file