Viewing File: /usr/local/cpanel/whostmgr/docroot/3rdparty/cloudlinux/assets/static/polyfills.bundle.min.js

globalThis.process=globalThis.process||{},globalThis.process.env=Object.assign({},globalThis.process.env,{ENV:"production",AOT:!1,WIZARD:!0,ENABLE_SUPPORT:!0,ENABLE_XRAY:!0,LVEMANAGER_VERSION:"v.7.11.48-1"}),(()=>{var Yh={5275(f,g,s){"use strict";s(12440),s(9615),s(84164),s(2344),s(40407),s(41437),s(22486),s(6261),s(98840),s(74209),s(9534),s(39310),s(40828),s(77655),s(18201),s(18076),s(93529),s(6550),s(60262),s(72278);if("production"!==process.env.ENV){try{window.TEST="true"===localStorage.getItem("isTestEnvironment")}catch{}Error.stackTraceLimit=1/0,s(2608)}},72278(){function f(p){for(var h,v=1,m=arguments.length;v<m;v++)for(var y in h=arguments[v])Object.prototype.hasOwnProperty.call(h,y)&&(p[y]=h[y]);return p}function g(p,h){for(var v in h)h.hasOwnProperty(v)&&(p[v]=h[v]);function m(){this.constructor=p}p.prototype=null===h?Object.create(h):(m.prototype=h.prototype,new m)}function s(p,h,v,m){var x,y=arguments.length,E=y<3?h:null===m?m=Object.getOwnPropertyDescriptor(h,v):m;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)E=Reflect.decorate(p,h,v,m);else for(var C=p.length-1;C>=0;C--)(x=p[C])&&(E=(y<3?x(E):y>3?x(h,v,E):x(h,v))||E);return y>3&&E&&Object.defineProperty(h,v,E),E}function o(p,h){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(p,h)}function l(p,h){return function(v,m){h(v,m,p)}}function c(p,h,v,m){return new(v||(v=Promise))(function(y,E){function x(w){try{A(m.next(w))}catch(P){E(P)}}function C(w){try{A(m.throw(w))}catch(P){E(P)}}function A(w){w.done?y(w.value):new v(function(P){P(w.value)}).then(x,C)}A((m=m.apply(p,h)).next())})}var p;(p=typeof window<"u"?window:typeof WorkerGlobalScope<"u"?self:typeof global<"u"?global:Function("return this;")()).__assign=p&&p.__assign||Object.assign||f,p.__extends=p&&p.__extends||g,p.__decorate=p&&p.__decorate||s,p.__metadata=p&&p.__metadata||o,p.__param=p&&p.__param||l,p.__awaiter=p&&p.__awaiter||c},2608(f,g,s){"use strict";var o,l;typeof globalThis<"u"?globalThis:typeof self<"u"&&self,void 0!==(l="function"==typeof(o=function(){var c={},p=c,h={exports:c},v=Object.defineProperty,m=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,x=function(P,N,M){return N in P?v(P,N,{enumerable:!0,configurable:!0,writable:!0,value:M}):P[N]=M},C=function(P,N){for(var M in N||(N={}))y.call(N,M)&&x(P,M,N[M]);if(m)for(var B=0,O=m(N);B<O.length;B++)M=O[B],E.call(N,M)&&x(P,M,N[M]);return P},A=function(P,N,M){return x(P,"symbol"!=typeof N?N+"":N,M),M};function w(P){var N="\n",M={},B="__creationTrace__",O="STACKTRACE TRACKING",R="__SEP_TAG__",k=R+"@[native]",L=function(){function te(){A(this,"error",G()),A(this,"timestamp",new Date)}return te}();function F(){return new Error(O)}function V(){try{throw F()}catch(te){return te}}var H=F(),$=V(),G=H.stack?F:$.stack?V:F;function X(te){return te.stack?te.stack.split(N):[]}function Z(te,ce){for(var ge=X(ce),ae=0;ae<ge.length;ae++){var ye=ge[ae];M.hasOwnProperty(ye)||te.push(ge[ae])}}function Q(te,ce){var ge=[ce?ce.trim():""];if(te)for(var ae=(new Date).getTime(),ye=0;ye<te.length;ye++){var Ee=te[ye],Ce=Ee.timestamp,Oe="____________________Elapsed ".concat(ae-Ce.getTime()," ms; At: ").concat(Ce);Oe=Oe.replace(/[^\w\d]/g,"_"),ge.push(k.replace(R,Oe)),Z(ge,Ee.error),ae=Ce.getTime()}return ge.join(N)}function J(){return Error.stackTraceLimit>0}function ne(te,ce){ce>0&&(te.push(X((new L).error)),ne(te,ce-1))}function he(){if(J()){var te=[];ne(te,2);for(var ce=te[0],ge=te[1],ae=0;ae<ce.length;ae++)if(-1==(ye=ce[ae]).indexOf(O)){var Ee=ye.match(/^\s*at\s+/);if(Ee){k=Ee[0]+R+" (http://localhost)";break}}for(ae=0;ae<ce.length;ae++){var ye;if((ye=ce[ae])!==ge[ae])break;M[ye]=!0}}}P.longStackTraceZoneSpec={name:"long-stack-trace",longStackTraceLimit:10,getLongStackTrace:function(te){if(te){var ce=te[P.__symbol__("currentTaskTrace")];return ce?Q(ce,te.stack):te.stack}},onScheduleTask:function(te,ce,ge,ae){if(J()){var ye=P.currentTask,Ee=ye&&ye.data&&ye.data[B]||[];(Ee=[new L].concat(Ee)).length>this.longStackTraceLimit&&(Ee.length=this.longStackTraceLimit),ae.data||(ae.data={}),"eventTask"===ae.type&&(ae.data=C({},ae.data)),ae.data[B]=Ee}return te.scheduleTask(ge,ae)},onHandleError:function(te,ce,ge,ae){if(J()){var ye=P.currentTask||ae.task;if(ae instanceof Error&&ye){var Ee=Q(ye.data&&ye.data[B],ae.stack);try{ae.stack=ae.longStack=Ee}catch{}}}return te.handleError(ge,ae)}},he()}return w(Zone),p!=c&&(h.exports=c),h.exports})?o.call(g,s,g,f):o)&&(f.exports=l)},6550(){"use strict";var f=Object.defineProperty,g=Object.defineProperties,s=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(z,Y,ve)=>Y in z?f(z,Y,{enumerable:!0,configurable:!0,writable:!0,value:ve}):z[Y]=ve,h=(z,Y)=>{for(var ve in Y||(Y={}))l.call(Y,ve)&&p(z,ve,Y[ve]);if(o)for(var ve of o(Y))c.call(Y,ve)&&p(z,ve,Y[ve]);return z},m=(z,Y,ve)=>(p(z,"symbol"!=typeof Y?Y+"":Y,ve),ve),y=globalThis;function E(z){return(y.__Zone_symbol_prefix||"__zone_symbol__")+z}var A=Object.getOwnPropertyDescriptor,w=Object.defineProperty,P=Object.getPrototypeOf,N=Object.create,M=Array.prototype.slice,B="addEventListener",O="removeEventListener",R=E(B),k=E(O),L="true",F="false",V=E("");function H(z,Y){return Zone.current.wrap(z,Y)}function $(z,Y,ve,_,de){return Zone.current.scheduleMacroTask(z,Y,ve,_,de)}var G=E,X=typeof window<"u",Z=X?window:void 0,Q=X&&Z||globalThis;function ne(z,Y){for(let ve=z.length-1;ve>=0;ve--)"function"==typeof z[ve]&&(z[ve]=H(z[ve],Y+"_"+ve));return z}function te(z){return!z||!1!==z.writable&&!("function"==typeof z.get&&typeof z.set>"u")}var ce=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ge=!("nw"in Q)&&typeof Q.process<"u"&&"[object process]"===Q.process.toString(),ae=!ge&&!ce&&!(!X||!Z.HTMLElement),ye=typeof Q.process<"u"&&"[object process]"===Q.process.toString()&&!ce&&!(!X||!Z.HTMLElement),Ee={},Ce=G("enable_beforeunload"),Oe=function(z){if(!(z=z||Q.event))return;let Y=Ee[z.type];Y||(Y=Ee[z.type]=G("ON_PROPERTY"+z.type));const ve=this||z.target||Q,_=ve[Y];let de;if(ae&&ve===Z&&"error"===z.type){const Te=z;de=_&&_.call(this,Te.message,Te.filename,Te.lineno,Te.colno,Te.error),!0===de&&z.preventDefault()}else de=_&&_.apply(this,arguments),"beforeunload"===z.type&&Q[Ce]&&"string"==typeof de?z.returnValue=de:null!=de&&!de&&z.preventDefault();return de};function Ue(z,Y,ve){let _=A(z,Y);if(!_&&ve&&A(ve,Y)&&(_={enumerable:!0,configurable:!0}),!_||!_.configurable)return;const de=G("on"+Y+"patched");if(z.hasOwnProperty(de)&&z[de])return;delete _.writable,delete _.value;const Te=_.get,rt=_.set,Qe=Y.slice(2);let st=Ee[Qe];st||(st=Ee[Qe]=G("ON_PROPERTY"+Qe)),_.set=function(Ct){let it=this;!it&&z===Q&&(it=Q),it&&("function"==typeof it[st]&&it.removeEventListener(Qe,Oe),rt?.call(it,null),it[st]=Ct,"function"==typeof Ct&&it.addEventListener(Qe,Oe,!1))},_.get=function(){let Ct=this;if(!Ct&&z===Q&&(Ct=Q),!Ct)return null;const it=Ct[st];if(it)return it;if(Te){let Nt=Te.call(this);if(Nt)return _.set.call(this,Nt),"function"==typeof Ct.removeAttribute&&Ct.removeAttribute(Y),Nt}return null},w(z,Y,_),z[de]=!0}function Ke(z,Y,ve){if(Y)for(let _=0;_<Y.length;_++)Ue(z,"on"+Y[_],ve);else{const _=[];for(const de in z)"on"==de.slice(0,2)&&_.push(de);for(let de=0;de<_.length;de++)Ue(z,_[de],ve)}}var ke=G("originalInstance");function Ze(z){const Y=Q[z];if(!Y)return;Q[G(z)]=Y,Q[z]=function(){const de=ne(arguments,z);switch(de.length){case 0:this[ke]=new Y;break;case 1:this[ke]=new Y(de[0]);break;case 2:this[ke]=new Y(de[0],de[1]);break;case 3:this[ke]=new Y(de[0],de[1],de[2]);break;case 4:this[ke]=new Y(de[0],de[1],de[2],de[3]);break;default:throw new Error("Arg list too long.")}},qe(Q[z],Y);const ve=new Y(function(){});let _;for(_ in ve)"XMLHttpRequest"===z&&"responseBlob"===_||function(de){"function"==typeof ve[de]?Q[z].prototype[de]=function(){return this[ke][de].apply(this[ke],arguments)}:w(Q[z].prototype,de,{set:function(Te){"function"==typeof Te?(this[ke][de]=H(Te,z+"."+de),qe(this[ke][de],Te)):this[ke][de]=Te},get:function(){return this[ke][de]}})}(_);for(_ in Y)"prototype"!==_&&Y.hasOwnProperty(_)&&(Q[z][_]=Y[_])}function De(z,Y,ve){let _=z;for(;_&&!_.hasOwnProperty(Y);)_=P(_);!_&&z[Y]&&(_=z);const de=G(Y);let Te=null;if(_&&(!(Te=_[de])||!_.hasOwnProperty(de))){Te=_[de]=_[Y];if(te(_&&A(_,Y))){const Qe=ve(Te,de,Y);_[Y]=function(){return Qe(this,arguments)},qe(_[Y],Te)}}return Te}function xt(z,Y,ve){let _=null;function de(Te){const rt=Te.data;return rt.args[rt.cbIdx]=function(){Te.invoke.apply(this,arguments)},_.apply(rt.target,rt.args),Te}_=De(z,Y,Te=>function(rt,Qe){const st=ve(rt,Qe);return st.cbIdx>=0&&"function"==typeof Qe[st.cbIdx]?$(st.name,Qe[st.cbIdx],st,de):Te.apply(rt,Qe)})}function qe(z,Y){z[G("OriginalDelegate")]=Y}function Tt(z){return"function"==typeof z}function Ft(z){return"number"==typeof z}var Wt={useG:!0},ot={},_e={},Xe=new RegExp("^"+V+"(\\w+)(true|false)$"),Rt=G("propagationStopped");function be(z,Y){const ve=(Y?Y(z):z)+F,_=(Y?Y(z):z)+L,de=V+ve,Te=V+_;ot[z]={},ot[z][F]=de,ot[z][L]=Te}function Ge(z,Y,ve,_){const de=_&&_.add||B,Te=_&&_.rm||O,rt=_&&_.listeners||"eventListeners",Qe=_&&_.rmAll||"removeAllListeners",st=G(de),Ct="."+de+":",it="prependListener",Nt="."+it+":",Ut=function(At,Ve,rn){if(At.isRemoved)return;const Vt=At.callback;let Kt;"object"==typeof Vt&&Vt.handleEvent&&(At.callback=Me=>Vt.handleEvent(Me),At.originalDelegate=Vt);try{At.invoke(At,Ve,[rn])}catch(Me){Kt=Me}const Jt=At.options;if(Jt&&"object"==typeof Jt&&Jt.once){const Me=At.originalDelegate?At.originalDelegate:At.callback;Ve[Te].call(Ve,rn.type,Me,Jt)}return Kt};function Gt(At,Ve,rn){if(!(Ve=Ve||z.event))return;const Vt=At||Ve.target||z,Kt=Vt[ot[Ve.type][rn?L:F]];if(Kt){const Jt=[];if(1===Kt.length){const Me=Ut(Kt[0],Vt,Ve);Me&&Jt.push(Me)}else{const Me=Kt.slice();for(let qt=0;qt<Me.length&&(!Ve||!0!==Ve[Rt]);qt++){const It=Ut(Me[qt],Vt,Ve);It&&Jt.push(It)}}if(1===Jt.length)throw Jt[0];for(let Me=0;Me<Jt.length;Me++){const qt=Jt[Me];Y.nativeScheduleMicroTask(()=>{throw qt})}}}const En=function(At){return Gt(this,At,!1)},mn=function(At){return Gt(this,At,!0)};function Yn(At,Ve){if(!At)return!1;let rn=!0;Ve&&void 0!==Ve.useG&&(rn=Ve.useG);const Vt=Ve&&Ve.vh;let Kt=!0;Ve&&void 0!==Ve.chkDup&&(Kt=Ve.chkDup);let Jt=!1;Ve&&void 0!==Ve.rt&&(Jt=Ve.rt);let Me=At;for(;Me&&!Me.hasOwnProperty(de);)Me=P(Me);if(!Me&&At[de]&&(Me=At),!Me||Me[st])return!1;const qt=Ve&&Ve.eventNameToString,It={},ut=Me[st]=Me[de],Et=Me[G(Te)]=Me[Te],Fe=Me[G(rt)]=Me[rt],jt=Me[G(Qe)]=Me[Qe];let vn;function sn(oe,we){return we?"boolean"==typeof oe?{capture:oe,passive:!0}:oe?"object"==typeof oe&&!1!==oe.passive?((z,Y)=>g(z,s(Y)))(h({},oe),{passive:!0}):oe:{passive:!0}:oe}Ve&&Ve.prepend&&(vn=Me[G(Ve.prepend)]=Me[Ve.prepend]);const et=rn?function(oe){if(!It.isExisting)return ut.call(It.target,It.eventName,It.capture?mn:En,It.options)}:function(oe){return ut.call(It.target,It.eventName,oe.invoke,It.options)},ft=rn?function(oe){if(!oe.isRemoved){const we=ot[oe.eventName];let tt;we&&(tt=we[oe.capture?L:F]);const wt=tt&&oe.target[tt];if(wt)for(let nt=0;nt<wt.length;nt++)if(wt[nt]===oe){wt.splice(nt,1),oe.isRemoved=!0,oe.removeAbortListener&&(oe.removeAbortListener(),oe.removeAbortListener=null),0===wt.length&&(oe.allRemoved=!0,oe.target[tt]=null);break}}if(oe.allRemoved)return Et.call(oe.target,oe.eventName,oe.capture?mn:En,oe.options)}:function(oe){return Et.call(oe.target,oe.eventName,oe.invoke,oe.options)},lr=Ve?.diff||function(oe,we){const tt=typeof we;return"function"===tt&&oe.callback===we||"object"===tt&&oe.originalDelegate===we},cr=Zone[G("UNPATCHED_EVENTS")],Nr=z[G("PASSIVE_EVENTS")];const Ne=function(oe,we,tt,wt,nt=!1,$t=!1){return function(){const Ie=this||z;let le=arguments[0];Ve&&Ve.transferEventName&&(le=Ve.transferEventName(le));let fn=arguments[1];if(!fn)return oe.apply(this,arguments);if(ge&&"uncaughtException"===le)return oe.apply(this,arguments);let Pt=!1;if("function"!=typeof fn){if(!fn.handleEvent)return oe.apply(this,arguments);Pt=!0}if(Vt&&!Vt(oe,fn,Ie,arguments))return;const is=!!Nr&&-1!==Nr.indexOf(le),Gn=function xe(oe){if("object"==typeof oe&&null!==oe){const we=h({},oe);return oe.signal&&(we.signal=oe.signal),we}return oe}(sn(arguments[2],is)),gt=Gn?.signal;if(gt?.aborted)return;if(cr)for(let Lr=0;Lr<cr.length;Lr++)if(le===cr[Lr])return is?oe.call(Ie,le,fn,Gn):oe.apply(this,arguments);const Tn=!!Gn&&("boolean"==typeof Gn||Gn.capture),Tu=!(!Gn||"object"!=typeof Gn)&&Gn.once,Cu=Zone.current;let Pr=ot[le];Pr||(be(le,qt),Pr=ot[le]);const an=Pr[Tn?L:F];let W,Mr=Ie[an],lo=!1;if(Mr){if(lo=!0,Kt)for(let Lr=0;Lr<Mr.length;Lr++)if(lr(Mr[Lr],fn))return}else Mr=Ie[an]=[];const co=Ie.constructor.name,Au=_e[co];Au&&(W=Au[le]),W||(W=co+we+(qt?qt(le):le)),It.options=Gn,Tu&&(It.options.once=!1),It.target=Ie,It.capture=Tn,It.eventName=le,It.isExisting=lo;const ys=rn?Wt:void 0;ys&&(ys.taskData=It),gt&&(It.options.signal=void 0);const Er=Cu.scheduleEventTask(W,fn,ys,tt,wt);if(gt){It.options.signal=gt;const Lr=()=>Er.zone.cancelTask(Er);oe.call(gt,"abort",Lr,{once:!0}),Er.removeAbortListener=()=>gt.removeEventListener("abort",Lr)}return It.target=null,ys&&(ys.taskData=null),Tu&&(It.options.once=!0),"boolean"!=typeof Er.options&&(Er.options=Gn),Er.target=Ie,Er.capture=Tn,Er.eventName=le,Pt&&(Er.originalDelegate=fn),$t?Mr.unshift(Er):Mr.push(Er),nt?Ie:void 0}};return Me[de]=Ne(ut,Ct,et,ft,Jt),vn&&(Me[it]=Ne(vn,Nt,function(oe){return vn.call(It.target,It.eventName,oe.invoke,It.options)},ft,Jt,!0)),Me[Te]=function(){const oe=this||z;let we=arguments[0];Ve&&Ve.transferEventName&&(we=Ve.transferEventName(we));const tt=arguments[2],wt=!!tt&&("boolean"==typeof tt||tt.capture),nt=arguments[1];if(!nt)return Et.apply(this,arguments);if(Vt&&!Vt(Et,nt,oe,arguments))return;const $t=ot[we];let Ie;$t&&(Ie=$t[wt?L:F]);const le=Ie&&oe[Ie];if(le)for(let fn=0;fn<le.length;fn++){const Pt=le[fn];if(lr(Pt,nt)){if(le.splice(fn,1),Pt.isRemoved=!0,0===le.length&&(Pt.allRemoved=!0,oe[Ie]=null,!wt&&"string"==typeof we)){oe[V+"ON_PROPERTY"+we]=null}return Pt.zone.cancelTask(Pt),Jt?oe:void 0}}return Et.apply(this,arguments)},Me[rt]=function(){const oe=this||z;let we=arguments[0];Ve&&Ve.transferEventName&&(we=Ve.transferEventName(we));const tt=[],wt=vt(oe,qt?qt(we):we);for(let nt=0;nt<wt.length;nt++){const $t=wt[nt];let Ie=$t.originalDelegate?$t.originalDelegate:$t.callback;tt.push(Ie)}return tt},Me[Qe]=function(){const oe=this||z;let we=arguments[0];if(we){Ve&&Ve.transferEventName&&(we=Ve.transferEventName(we));const tt=ot[we];if(tt){const wt=tt[F],nt=tt[L],$t=oe[wt],Ie=oe[nt];if($t){const le=$t.slice();for(let fn=0;fn<le.length;fn++){const Pt=le[fn];let is=Pt.originalDelegate?Pt.originalDelegate:Pt.callback;this[Te].call(this,we,is,Pt.options)}}if(Ie){const le=Ie.slice();for(let fn=0;fn<le.length;fn++){const Pt=le[fn];let is=Pt.originalDelegate?Pt.originalDelegate:Pt.callback;this[Te].call(this,we,is,Pt.options)}}}}else{const tt=Object.keys(oe);for(let wt=0;wt<tt.length;wt++){const nt=tt[wt],$t=Xe.exec(nt);let Ie=$t&&$t[1];Ie&&"removeListener"!==Ie&&this[Qe].call(this,Ie)}this[Qe].call(this,"removeListener")}if(Jt)return this},qe(Me[de],ut),qe(Me[Te],Et),jt&&qe(Me[Qe],jt),Fe&&qe(Me[rt],Fe),!0}let xn=[];for(let At=0;At<ve.length;At++)xn[At]=Yn(ve[At],_);return xn}function vt(z,Y){if(!Y){const Te=[];for(let rt in z){const Qe=Xe.exec(rt);let st=Qe&&Qe[1];if(st&&(!Y||st===Y)){const Ct=z[rt];if(Ct)for(let it=0;it<Ct.length;it++)Te.push(Ct[it])}}return Te}let ve=ot[Y];ve||(be(Y),ve=ot[Y]);const _=z[ve[F]],de=z[ve[L]];return _?de?_.concat(de):_.slice():de?de.slice():[]}function yn(z,Y){const ve=z.Event;ve&&ve.prototype&&Y.patchMethod(ve.prototype,"stopImmediatePropagation",_=>function(de,Te){de[Rt]=!0,_&&_.apply(de,Te)})}var Re=G("zoneTask");function Je(z,Y,ve,_){let de=null,Te=null;ve+=_;const rt={};function Qe(Ct){const it=Ct.data;it.args[0]=function(){return Ct.invoke.apply(this,arguments)};const Nt=de.apply(z,it.args);return Ft(Nt)?it.handleId=Nt:(it.handle=Nt,it.isRefreshable=Tt(Nt.refresh)),Ct}function st(Ct){const{handle:it,handleId:Nt}=Ct.data;return Te.call(z,it??Nt)}de=De(z,Y+=_,Ct=>function(it,Nt){var Ut;if(Tt(Nt[0])){const Gt={isRefreshable:!1,isPeriodic:"Interval"===_,delay:"Timeout"===_||"Interval"===_?Nt[1]||0:void 0,args:Nt},En=Nt[0];Nt[0]=function(){try{return En.apply(this,arguments)}finally{const{handle:Vt,handleId:Kt,isPeriodic:Jt,isRefreshable:Me}=Gt;!Jt&&!Me&&(Kt?delete rt[Kt]:Vt&&(Vt[Re]=null))}};const mn=$(Y,Nt[0],Gt,Qe,st);if(!mn)return mn;const{handleId:Yn,handle:xn,isRefreshable:At,isPeriodic:Ve}=mn.data;if(Yn)rt[Yn]=mn;else if(xn&&(xn[Re]=mn,At&&!Ve)){const rn=xn.refresh;xn.refresh=function(){const{zone:Vt,state:Kt}=mn;return"notScheduled"===Kt?(mn._state="scheduled",Vt._updateTaskCount(mn,1)):"running"===Kt&&(mn._state="scheduling"),rn.call(this)}}return null!=(Ut=xn??Yn)?Ut:mn}return Ct.apply(z,Nt)}),Te=De(z,ve,Ct=>function(it,Nt){const Ut=Nt[0];let Gt;Ft(Ut)?(Gt=rt[Ut],delete rt[Ut]):(Gt=Ut?.[Re],Gt?Ut[Re]=null:Gt=Ut),Gt?.type?Gt.cancelFn&&Gt.zone.cancelTask(Gt):Ct.apply(z,Nt)})}function er(z,Y,ve){if(!ve||0===ve.length)return Y;const _=ve.filter(Te=>Te.target===z);if(0===_.length)return Y;const de=_[0].ignoreProperties;return Y.filter(Te=>-1===de.indexOf(Te))}function mt(z,Y,ve,_){if(!z)return;Ke(z,er(z,Y,ve),_)}function $e(z){return Object.getOwnPropertyNames(z).filter(Y=>Y.startsWith("on")&&Y.length>2).map(Y=>Y.substring(2))}function kt(z){z.__load_patch("ZoneAwarePromise",(Y,ve,_)=>{const de=Object.getOwnPropertyDescriptor,Te=Object.defineProperty;const Qe=_.symbol,st=[],Ct=!1!==Y[Qe("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],it=Qe("Promise"),Nt=Qe("then");_.onUnhandledError=xe=>{if(_.showUncaughtError()){const Ne=xe&&xe.rejection;Ne?console.error("Unhandled Promise rejection:",Ne instanceof Error?Ne.message:Ne,"; Zone:",xe.zone.name,"; Task:",xe.task&&xe.task.source,"; Value:",Ne,Ne instanceof Error?Ne.stack:void 0):console.error(xe)}},_.microtaskDrainDone=()=>{for(;st.length;){const xe=st.shift();try{xe.zone.runGuarded(()=>{throw xe.throwOriginal?xe.rejection:xe})}catch(Ne){En(Ne)}}};const Gt=Qe("unhandledPromiseRejectionHandler");function En(xe){_.onUnhandledError(xe);try{const Ne=ve[Gt];"function"==typeof Ne&&Ne.call(this,xe)}catch{}}function mn(xe){return xe&&"function"==typeof xe.then}function Yn(xe){return xe}function xn(xe){return ft.reject(xe)}const At=Qe("state"),Ve=Qe("value"),rn=Qe("finally"),Vt=Qe("parentPromiseValue"),Kt=Qe("parentPromiseState"),Me=null,It=!1;function Et(xe,Ne){return oe=>{try{sn(xe,Ne,oe)}catch(we){sn(xe,!1,we)}}}const Fe=function(){let xe=!1;return function(oe){return function(){xe||(xe=!0,oe.apply(null,arguments))}}},jt="Promise resolved with itself",vn=Qe("currentTaskTrace");function sn(xe,Ne,oe){const we=Fe();if(xe===oe)throw new TypeError(jt);if(xe[At]===Me){let tt=null;try{("object"==typeof oe||"function"==typeof oe)&&(tt=oe&&oe.then)}catch(wt){return we(()=>{sn(xe,!1,wt)})(),xe}if(Ne!==It&&oe instanceof ft&&oe.hasOwnProperty(At)&&oe.hasOwnProperty(Ve)&&oe[At]!==Me)Xt(oe),sn(xe,oe[At],oe[Ve]);else if(Ne!==It&&"function"==typeof tt)try{tt.call(oe,we(Et(xe,Ne)),we(Et(xe,!1)))}catch(wt){we(()=>{sn(xe,!1,wt)})()}else{xe[At]=Ne;const wt=xe[Ve];if(xe[Ve]=oe,xe[rn]===rn&&true===Ne&&(xe[At]=xe[Kt],xe[Ve]=xe[Vt]),Ne===It&&oe instanceof Error){const nt=ve.currentTask&&ve.currentTask.data&&ve.currentTask.data.__creationTrace__;nt&&Te(oe,vn,{configurable:!0,enumerable:!1,writable:!0,value:nt})}for(let nt=0;nt<wt.length;)ue(xe,wt[nt++],wt[nt++],wt[nt++],wt[nt++]);if(0==wt.length&&Ne==It){xe[At]=0;let nt=oe;try{throw new Error("Uncaught (in promise): "+function rt(xe){if(xe&&xe.toString===Object.prototype.toString)return(xe.constructor&&xe.constructor.name||"")+": "+JSON.stringify(xe);return xe?xe.toString():Object.prototype.toString.call(xe)}(oe)+(oe&&oe.stack?"\n"+oe.stack:""))}catch($t){nt=$t}Ct&&(nt.throwOriginal=!0),nt.rejection=oe,nt.promise=xe,nt.zone=ve.current,nt.task=ve.currentTask,st.push(nt),_.scheduleMicroTask()}}}return xe}const cn=Qe("rejectionHandledHandler");function Xt(xe){if(0===xe[At]){try{const Ne=ve[cn];Ne&&"function"==typeof Ne&&Ne.call(this,{rejection:xe[Ve],promise:xe})}catch{}xe[At]=It;for(let Ne=0;Ne<st.length;Ne++)xe===st[Ne].promise&&st.splice(Ne,1)}}function ue(xe,Ne,oe,we,tt){Xt(xe);const wt=xe[At],nt=wt?"function"==typeof we?we:Yn:"function"==typeof tt?tt:xn;Ne.scheduleMicroTask("Promise.then",()=>{try{const $t=xe[Ve],Ie=!!oe&&rn===oe[rn];Ie&&(oe[Vt]=$t,oe[Kt]=wt);const le=Ne.run(nt,void 0,Ie&&nt!==xn&&nt!==Yn?[]:[$t]);sn(oe,!0,le)}catch($t){sn(oe,!1,$t)}},oe)}const pe=function(){},et=Y.AggregateError;class ft{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(Ne){return Ne instanceof ft?Ne:sn(new this(null),true,Ne)}static reject(Ne){return sn(new this(null),It,Ne)}static withResolvers(){const Ne={};return Ne.promise=new ft((oe,we)=>{Ne.resolve=oe,Ne.reject=we}),Ne}static any(Ne){if(!Ne||"function"!=typeof Ne[Symbol.iterator])return Promise.reject(new et([],"All promises were rejected"));const oe=[];let we=0;try{for(let nt of Ne)we++,oe.push(ft.resolve(nt))}catch{return Promise.reject(new et([],"All promises were rejected"))}if(0===we)return Promise.reject(new et([],"All promises were rejected"));let tt=!1;const wt=[];return new ft((nt,$t)=>{for(let Ie=0;Ie<oe.length;Ie++)oe[Ie].then(le=>{tt||(tt=!0,nt(le))},le=>{wt.push(le),we--,0===we&&(tt=!0,$t(new et(wt,"All promises were rejected")))})})}static race(Ne){let oe,we,tt=new this(($t,Ie)=>{oe=$t,we=Ie});function wt($t){oe($t)}function nt($t){we($t)}for(let $t of Ne)mn($t)||($t=this.resolve($t)),$t.then(wt,nt);return tt}static all(Ne){return ft.allWithCallback(Ne)}static allSettled(Ne){return(this&&this.prototype instanceof ft?this:ft).allWithCallback(Ne,{thenCallback:we=>({status:"fulfilled",value:we}),errorCallback:we=>({status:"rejected",reason:we})})}static allWithCallback(Ne,oe){let we,tt,wt=new this((le,fn)=>{we=le,tt=fn}),nt=2,$t=0;const Ie=[];for(let le of Ne){mn(le)||(le=this.resolve(le));const fn=$t;try{le.then(Pt=>{Ie[fn]=oe?oe.thenCallback(Pt):Pt,nt--,0===nt&&we(Ie)},Pt=>{oe?(Ie[fn]=oe.errorCallback(Pt),nt--,0===nt&&we(Ie)):tt(Pt)})}catch(Pt){tt(Pt)}nt++,$t++}return nt-=2,0===nt&&we(Ie),wt}constructor(Ne){const oe=this;if(!(oe instanceof ft))throw new Error("Must be an instanceof Promise.");oe[At]=Me,oe[Ve]=[];try{const we=Fe();Ne&&Ne(we(Et(oe,true)),we(Et(oe,It)))}catch(we){sn(oe,!1,we)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return ft}then(Ne,oe){var we;let tt=null==(we=this.constructor)?void 0:we[Symbol.species];(!tt||"function"!=typeof tt)&&(tt=this.constructor||ft);const wt=new tt(pe),nt=ve.current;return this[At]==Me?this[Ve].push(nt,wt,Ne,oe):ue(this,nt,wt,Ne,oe),wt}catch(Ne){return this.then(null,Ne)}finally(Ne){var oe;let we=null==(oe=this.constructor)?void 0:oe[Symbol.species];(!we||"function"!=typeof we)&&(we=ft);const tt=new we(pe);tt[rn]=rn;const wt=ve.current;return this[At]==Me?this[Ve].push(wt,tt,Ne,Ne):ue(this,wt,tt,Ne,Ne),tt}}ft.resolve=ft.resolve,ft.reject=ft.reject,ft.race=ft.race,ft.all=ft.all;const Yt=Y[it]=Y.Promise;Y.Promise=ft;const lr=Qe("thenPatched");function cr(xe){const Ne=xe.prototype,oe=de(Ne,"then");if(oe&&(!1===oe.writable||!oe.configurable))return;const we=Ne.then;Ne[Nt]=we,xe.prototype.then=function(tt,wt){return new ft(($t,Ie)=>{we.call(this,$t,Ie)}).then(tt,wt)},xe[lr]=!0}if(_.patchThen=cr,Yt){cr(Yt);const xe=Yt.try;xe&&"function"==typeof xe&&(ft.try=xe),De(Y,"fetch",Ne=>function Nr(xe){return function(Ne,oe){let we=xe.apply(Ne,oe);if(we instanceof ft)return we;let tt=we.constructor;return tt[lr]||cr(tt),we}}(Ne))}return Promise[ve.__symbol__("uncaughtPromiseErrors")]=st,ft})}function Bt(z,Y,ve,_,de){const Te=Zone.__symbol__(_);if(Y[Te])return;const rt=Y[Te]=Y[_];Y[_]=function(Qe,st,Ct){return st&&st.prototype&&de.forEach(function(it){const Nt=`${ve}.${_}::`+it,Ut=st.prototype;try{if(Ut.hasOwnProperty(it)){const Gt=z.ObjectGetOwnPropertyDescriptor(Ut,it);Gt&&Gt.value?(Gt.value=z.wrapWithCurrentZone(Gt.value,Nt),z._redefineProperty(st.prototype,it,Gt)):Ut[it]&&(Ut[it]=z.wrapWithCurrentZone(Ut[it],Nt))}else Ut[it]&&(Ut[it]=z.wrapWithCurrentZone(Ut[it],Nt))}catch{}}),rt.call(Y,Qe,st,Ct)},z.attachOriginToPatched(Y[_],rt)}var ur=function C(){const Y=globalThis,ve=!0===Y[E("forceDuplicateZoneCheck")];if(Y.Zone&&(ve||"function"!=typeof Y.Zone.__symbol__))throw new Error("Zone already loaded.");return null!=Y.Zone||(Y.Zone=function x(){const z=y.performance;function Y(Xt){z&&z.mark&&z.mark(Xt)}function ve(Xt,ue){z&&z.measure&&z.measure(Xt,ue)}Y("Zone");const _=class yc{constructor(ue,fe){m(this,"_parent"),m(this,"_name"),m(this,"_properties"),m(this,"_zoneDelegate"),this._parent=ue,this._name=fe?fe.name||"unnamed":"<root>",this._properties=fe&&fe.properties||{},this._zoneDelegate=new rt(this,this._parent&&this._parent._zoneDelegate,fe)}static assertZonePatched(){if(y.Promise!==Et.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 ue=yc.current;for(;ue.parent;)ue=ue.parent;return ue}static get current(){return jt.zone}static get currentTask(){return vn}static __load_patch(ue,fe,pe=!1){if(Et.hasOwnProperty(ue)){const et=!0===y[E("forceDuplicateZoneCheck")];if(!pe&&et)throw Error("Already loaded patch: "+ue)}else if(!y["__Zone_disable_"+ue]){const et="Zone:"+ue;Y(et),Et[ue]=fe(y,yc,Fe),ve(et,et)}}get parent(){return this._parent}get name(){return this._name}get(ue){const fe=this.getZoneWith(ue);if(fe)return fe._properties[ue]}getZoneWith(ue){let fe=this;for(;fe;){if(fe._properties.hasOwnProperty(ue))return fe;fe=fe._parent}return null}fork(ue){if(!ue)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,ue)}wrap(ue,fe){if("function"!=typeof ue)throw new Error("Expecting function got: "+ue);const pe=this._zoneDelegate.intercept(this,ue,fe),et=this;return function(){return et.runGuarded(pe,this,arguments,fe)}}run(ue,fe,pe,et){jt={parent:jt,zone:this};try{return this._zoneDelegate.invoke(this,ue,fe,pe,et)}finally{jt=jt.parent}}runGuarded(ue,fe=null,pe,et){jt={parent:jt,zone:this};try{try{return this._zoneDelegate.invoke(this,ue,fe,pe,et)}catch(ft){if(this._zoneDelegate.handleError(this,ft))throw ft}}finally{jt=jt.parent}}runTask(ue,fe,pe){if(ue.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(ue.zone||At).name+"; Execution: "+this.name+")");const et=ue,{type:ft,data:{isPeriodic:Yt=!1,isRefreshable:lr=!1}={}}=ue;if(ue.state===Ve&&(ft===ut||ft===It))return;const cr=ue.state!=Kt;cr&&et._transitionTo(Kt,Vt);const Nr=vn;vn=et,jt={parent:jt,zone:this};try{ft==It&&ue.data&&!Yt&&!lr&&(ue.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,et,fe,pe)}catch(xe){if(this._zoneDelegate.handleError(this,xe))throw xe}}finally{const xe=ue.state;if(xe!==Ve&&xe!==Me)if(ft==ut||Yt||lr&&xe===rn)cr&&et._transitionTo(Vt,Kt,rn);else{const Ne=et._zoneDelegates;this._updateTaskCount(et,-1),cr&&et._transitionTo(Ve,Kt,Ve),lr&&(et._zoneDelegates=Ne)}jt=jt.parent,vn=Nr}}scheduleTask(ue){if(ue.zone&&ue.zone!==this){let pe=this;for(;pe;){if(pe===ue.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${ue.zone.name}`);pe=pe.parent}}ue._transitionTo(rn,Ve);const fe=[];ue._zoneDelegates=fe,ue._zone=this;try{ue=this._zoneDelegate.scheduleTask(this,ue)}catch(pe){throw ue._transitionTo(Me,rn,Ve),this._zoneDelegate.handleError(this,pe),pe}return ue._zoneDelegates===fe&&this._updateTaskCount(ue,1),ue.state==rn&&ue._transitionTo(Vt,rn),ue}scheduleMicroTask(ue,fe,pe,et){return this.scheduleTask(new Qe(qt,ue,fe,pe,et,void 0))}scheduleMacroTask(ue,fe,pe,et,ft){return this.scheduleTask(new Qe(It,ue,fe,pe,et,ft))}scheduleEventTask(ue,fe,pe,et,ft){return this.scheduleTask(new Qe(ut,ue,fe,pe,et,ft))}cancelTask(ue){if(ue.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(ue.zone||At).name+"; Execution: "+this.name+")");if(ue.state===Vt||ue.state===Kt){ue._transitionTo(Jt,Vt,Kt);try{this._zoneDelegate.cancelTask(this,ue)}catch(fe){throw ue._transitionTo(Me,Jt),this._zoneDelegate.handleError(this,fe),fe}return this._updateTaskCount(ue,-1),ue._transitionTo(Ve,Jt),ue.runCount=-1,ue}}_updateTaskCount(ue,fe){const pe=ue._zoneDelegates;-1==fe&&(ue._zoneDelegates=null);for(let et=0;et<pe.length;et++)pe[et]._updateTaskCount(ue.type,fe)}};m(_,"__symbol__",E);let de=_;const Te={name:"",onHasTask:(Xt,ue,fe,pe)=>Xt.hasTask(fe,pe),onScheduleTask:(Xt,ue,fe,pe)=>Xt.scheduleTask(fe,pe),onInvokeTask:(Xt,ue,fe,pe,et,ft)=>Xt.invokeTask(fe,pe,et,ft),onCancelTask:(Xt,ue,fe,pe)=>Xt.cancelTask(fe,pe)};class rt{constructor(ue,fe,pe){m(this,"_zone"),m(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),m(this,"_forkDlgt"),m(this,"_forkZS"),m(this,"_forkCurrZone"),m(this,"_interceptDlgt"),m(this,"_interceptZS"),m(this,"_interceptCurrZone"),m(this,"_invokeDlgt"),m(this,"_invokeZS"),m(this,"_invokeCurrZone"),m(this,"_handleErrorDlgt"),m(this,"_handleErrorZS"),m(this,"_handleErrorCurrZone"),m(this,"_scheduleTaskDlgt"),m(this,"_scheduleTaskZS"),m(this,"_scheduleTaskCurrZone"),m(this,"_invokeTaskDlgt"),m(this,"_invokeTaskZS"),m(this,"_invokeTaskCurrZone"),m(this,"_cancelTaskDlgt"),m(this,"_cancelTaskZS"),m(this,"_cancelTaskCurrZone"),m(this,"_hasTaskDlgt"),m(this,"_hasTaskDlgtOwner"),m(this,"_hasTaskZS"),m(this,"_hasTaskCurrZone"),this._zone=ue,this._forkZS=pe&&(pe&&pe.onFork?pe:fe._forkZS),this._forkDlgt=pe&&(pe.onFork?fe:fe._forkDlgt),this._forkCurrZone=pe&&(pe.onFork?this._zone:fe._forkCurrZone),this._interceptZS=pe&&(pe.onIntercept?pe:fe._interceptZS),this._interceptDlgt=pe&&(pe.onIntercept?fe:fe._interceptDlgt),this._interceptCurrZone=pe&&(pe.onIntercept?this._zone:fe._interceptCurrZone),this._invokeZS=pe&&(pe.onInvoke?pe:fe._invokeZS),this._invokeDlgt=pe&&(pe.onInvoke?fe:fe._invokeDlgt),this._invokeCurrZone=pe&&(pe.onInvoke?this._zone:fe._invokeCurrZone),this._handleErrorZS=pe&&(pe.onHandleError?pe:fe._handleErrorZS),this._handleErrorDlgt=pe&&(pe.onHandleError?fe:fe._handleErrorDlgt),this._handleErrorCurrZone=pe&&(pe.onHandleError?this._zone:fe._handleErrorCurrZone),this._scheduleTaskZS=pe&&(pe.onScheduleTask?pe:fe._scheduleTaskZS),this._scheduleTaskDlgt=pe&&(pe.onScheduleTask?fe:fe._scheduleTaskDlgt),this._scheduleTaskCurrZone=pe&&(pe.onScheduleTask?this._zone:fe._scheduleTaskCurrZone),this._invokeTaskZS=pe&&(pe.onInvokeTask?pe:fe._invokeTaskZS),this._invokeTaskDlgt=pe&&(pe.onInvokeTask?fe:fe._invokeTaskDlgt),this._invokeTaskCurrZone=pe&&(pe.onInvokeTask?this._zone:fe._invokeTaskCurrZone),this._cancelTaskZS=pe&&(pe.onCancelTask?pe:fe._cancelTaskZS),this._cancelTaskDlgt=pe&&(pe.onCancelTask?fe:fe._cancelTaskDlgt),this._cancelTaskCurrZone=pe&&(pe.onCancelTask?this._zone:fe._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const et=pe&&pe.onHasTask,ft=fe&&fe._hasTaskZS;(et||ft)&&(this._hasTaskZS=et?pe:Te,this._hasTaskDlgt=fe,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,pe.onScheduleTask||(this._scheduleTaskZS=Te,this._scheduleTaskDlgt=fe,this._scheduleTaskCurrZone=this._zone),pe.onInvokeTask||(this._invokeTaskZS=Te,this._invokeTaskDlgt=fe,this._invokeTaskCurrZone=this._zone),pe.onCancelTask||(this._cancelTaskZS=Te,this._cancelTaskDlgt=fe,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(ue,fe){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ue,fe):new de(ue,fe)}intercept(ue,fe,pe){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ue,fe,pe):fe}invoke(ue,fe,pe,et,ft){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ue,fe,pe,et,ft):fe.apply(pe,et)}handleError(ue,fe){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ue,fe)}scheduleTask(ue,fe){let pe=fe;if(this._scheduleTaskZS)this._hasTaskZS&&pe._zoneDelegates.push(this._hasTaskDlgtOwner),pe=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ue,fe),pe||(pe=fe);else if(fe.scheduleFn)fe.scheduleFn(fe);else{if(fe.type!=qt)throw new Error("Task is missing scheduleFn.");Yn(fe)}return pe}invokeTask(ue,fe,pe,et){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ue,fe,pe,et):fe.callback.apply(pe,et)}cancelTask(ue,fe){let pe;if(this._cancelTaskZS)pe=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ue,fe);else{if(!fe.cancelFn)throw Error("Task is not cancelable");pe=fe.cancelFn(fe)}return pe}hasTask(ue,fe){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ue,fe)}catch(pe){this.handleError(ue,pe)}}_updateTaskCount(ue,fe){const pe=this._taskCounts,et=pe[ue],ft=pe[ue]=et+fe;if(ft<0)throw new Error("More tasks executed then were scheduled.");if(0==et||0==ft){const Yt={microTask:pe.microTask>0,macroTask:pe.macroTask>0,eventTask:pe.eventTask>0,change:ue};this.hasTask(this._zone,Yt)}}}class Qe{constructor(ue,fe,pe,et,ft,Yt){if(m(this,"type"),m(this,"source"),m(this,"invoke"),m(this,"callback"),m(this,"data"),m(this,"scheduleFn"),m(this,"cancelFn"),m(this,"_zone",null),m(this,"runCount",0),m(this,"_zoneDelegates",null),m(this,"_state","notScheduled"),this.type=ue,this.source=fe,this.data=et,this.scheduleFn=ft,this.cancelFn=Yt,!pe)throw new Error("callback is not defined");this.callback=pe;const lr=this;ue===ut&&et&&et.useG?this.invoke=Qe.invokeTask:this.invoke=function(){return Qe.invokeTask.call(y,lr,this,arguments)}}static invokeTask(ue,fe,pe){ue||(ue=this),sn++;try{return ue.runCount++,ue.zone.runTask(ue,fe,pe)}finally{1===sn&&!y[Nt]&&xn(),sn--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Ve,rn)}_transitionTo(ue,fe,pe){if(this._state!==fe&&this._state!==pe)throw new Error(`${this.type} '${this.source}': can not transition to '${ue}', expecting state '${fe}'${pe?" or '"+pe+"'":""}, was '${this._state}'.`);this._state=ue,ue==Ve&&(this._zoneDelegates=null)}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 st=E("setTimeout"),Ct=E("Promise"),it=E("then"),Nt=E("enable_native_microtask_draining");let En,Ut=[],Gt=!1;function mn(Xt){var ue;!En&&y[Ct]&&(En=y[Ct].resolve(0)),En?(null!=(ue=En[it])?ue:En.then).call(En,Xt):y[st](Xt,0)}function Yn(Xt){const ue=y[Nt],fe=ue&&0===Ut.length&&!Gt,pe=!ue&&0===sn&&0===Ut.length;(fe||pe)&&mn(xn),Xt&&Ut.push(Xt)}function xn(){if(!Gt){for(Gt=!0;Ut.length;){const Xt=Ut;Ut=[];for(const ue of Xt)try{ue.zone.runTask(ue,null,null)}catch(fe){Fe.onUnhandledError(fe)}}y[Nt]?(Gt=!1,Fe.microtaskDrainDone()):(Fe.microtaskDrainDone(),Gt=!1)}}const At={name:"NO ZONE"},Ve="notScheduled",rn="scheduling",Vt="scheduled",Kt="running",Jt="canceling",Me="unknown",qt="microTask",It="macroTask",ut="eventTask",Et={},Fe={symbol:E,currentZoneFrame:()=>jt,onUnhandledError:cn,microtaskDrainDone:cn,scheduleMicroTask:Yn,showUncaughtError:()=>!de[E("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:cn,patchMethod:()=>cn,bindArguments:()=>[],patchThen:()=>cn,patchMacroTask:()=>cn,patchEventPrototype:()=>cn,getGlobalObjects:()=>{},ObjectDefineProperty:()=>cn,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>cn,wrapWithCurrentZone:()=>cn,filterProperties:()=>[],attachOriginToPatched:()=>cn,_redefineProperty:()=>cn,patchCallbacks:()=>cn,nativeScheduleMicroTask:mn};let jt={parent:null,zone:new de(null,null)},vn=null,sn=0;function cn(){}return ve("Zone","Zone"),de}()),Y.Zone}();(function jn(z){kt(z),function Qt(z){z.__load_patch("toString",Y=>{const ve=Function.prototype.toString,_=G("OriginalDelegate"),de=G("Promise"),Te=G("Error"),rt=function(){if("function"==typeof this){const it=this[_];if(it)return"function"==typeof it?ve.call(it):Object.prototype.toString.call(it);if(this===Promise){const Nt=Y[de];if(Nt)return ve.call(Nt)}if(this===Error){const Nt=Y[Te];if(Nt)return ve.call(Nt)}}return ve.call(this)};rt[_]=ve,Function.prototype.toString=rt;const Qe=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":Qe.call(this)}})}(z),function In(z){z.__load_patch("util",(Y,ve,_)=>{const de=$e(Y);_.patchOnProperties=Ke,_.patchMethod=De,_.bindArguments=ne,_.patchMacroTask=xt;const Te=ve.__symbol__("BLACK_LISTED_EVENTS"),rt=ve.__symbol__("UNPATCHED_EVENTS");Y[rt]&&(Y[Te]=Y[rt]),Y[Te]&&(ve[Te]=ve[rt]=Y[Te]),_.patchEventPrototype=yn,_.patchEventTarget=Ge,_.ObjectDefineProperty=w,_.ObjectGetOwnPropertyDescriptor=A,_.ObjectCreate=N,_.ArraySlice=M,_.patchClass=Ze,_.wrapWithCurrentZone=H,_.filterProperties=er,_.attachOriginToPatched=qe,_._redefineProperty=Object.defineProperty,_.patchCallbacks=Bt,_.getGlobalObjects=()=>({globalSources:_e,zoneSymbolEventNames:ot,eventNames:de,isBrowser:ae,isMix:ye,isNode:ge,TRUE_STR:L,FALSE_STR:F,ZONE_SYMBOL_PREFIX:V,ADD_EVENT_LISTENER_STR:B,REMOVE_EVENT_LISTENER_STR:O})})}(z)})(ur),function pt(z){z.__load_patch("timers",Y=>{const _="clear";Je(Y,"set",_,"Timeout"),Je(Y,"set",_,"Interval"),Je(Y,"set",_,"Immediate")}),z.__load_patch("requestAnimationFrame",Y=>{Je(Y,"request","cancel","AnimationFrame"),Je(Y,"mozRequest","mozCancel","AnimationFrame"),Je(Y,"webkitRequest","webkitCancel","AnimationFrame")}),z.__load_patch("blocking",(Y,ve)=>{const _=["alert","prompt","confirm"];for(let de=0;de<_.length;de++){const Te=_[de];De(Y,Te,(rt,Qe,st)=>function(Ct,it){return ve.current.run(rt,Y,it,st)})}}),z.__load_patch("EventTarget",(Y,ve,_)=>{(function wn(z,Y){Y.patchEventPrototype(z,Y)})(Y,_),function Mt(z,Y){if(Zone[Y.symbol("patchEventTarget")])return;const{eventNames:ve,zoneSymbolEventNames:_,TRUE_STR:de,FALSE_STR:Te,ZONE_SYMBOL_PREFIX:rt}=Y.getGlobalObjects();for(let st=0;st<ve.length;st++){const Ct=ve[st],Ut=rt+(Ct+Te),Gt=rt+(Ct+de);_[Ct]={},_[Ct][Te]=Ut,_[Ct][de]=Gt}const Qe=z.EventTarget;return Qe&&Qe.prototype?(Y.patchEventTarget(z,Y,[Qe&&Qe.prototype]),!0):void 0}(Y,_);const de=Y.XMLHttpRequestEventTarget;de&&de.prototype&&_.patchEventTarget(Y,_,[de.prototype])}),z.__load_patch("MutationObserver",(Y,ve,_)=>{Ze("MutationObserver"),Ze("WebKitMutationObserver")}),z.__load_patch("IntersectionObserver",(Y,ve,_)=>{Ze("IntersectionObserver")}),z.__load_patch("FileReader",(Y,ve,_)=>{Ze("FileReader")}),z.__load_patch("on_property",(Y,ve,_)=>{!function ee(z,Y){if(ge&&!ye||Zone[z.symbol("patchEvents")])return;const ve=Y.__Zone_ignore_on_properties;let _=[];if(ae){const de=window;_=_.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),mt(de,$e(de),ve,P(de))}_=_.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let de=0;de<_.length;de++){const Te=Y[_[de]];Te?.prototype&&mt(Te.prototype,$e(Te.prototype),ve)}}(_,Y)}),z.__load_patch("customElements",(Y,ve,_)=>{!function Lt(z,Y){const{isBrowser:ve,isMix:_}=Y.getGlobalObjects();if(!ve&&!_||!z.customElements||!("customElements"in z))return;Y.patchCallbacks(Y,z.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(Y,_)}),z.__load_patch("XHR",(Y,ve)=>{!function Ct(it){const Nt=it.XMLHttpRequest;if(!Nt)return;const Ut=Nt.prototype;let En=Ut[R],mn=Ut[k];if(!En){const ut=it.XMLHttpRequestEventTarget;if(ut){const Et=ut.prototype;En=Et[R],mn=Et[k]}}const Yn="readystatechange",xn="scheduled";function At(ut){const Et=ut.data,Fe=Et.target;Fe[rt]=!1,Fe[st]=!1;const jt=Fe[Te];En||(En=Fe[R],mn=Fe[k]),jt&&mn.call(Fe,Yn,jt);const vn=Fe[Te]=()=>{if(Fe.readyState===Fe.DONE)if(!Et.aborted&&Fe[rt]&&ut.state===xn){const cn=Fe[ve.__symbol__("loadfalse")];if(0!==Fe.status&&cn&&cn.length>0){const Xt=ut.invoke;ut.invoke=function(){const ue=Fe[ve.__symbol__("loadfalse")];for(let fe=0;fe<ue.length;fe++)ue[fe]===ut&&ue.splice(fe,1);!Et.aborted&&ut.state===xn&&Xt.call(ut)},cn.push(ut)}else ut.invoke()}else!Et.aborted&&!1===Fe[rt]&&(Fe[st]=!0)};return En.call(Fe,Yn,vn),Fe[_]||(Fe[_]=ut),qt.apply(Fe,Et.args),Fe[rt]=!0,ut}function Ve(){}function rn(ut){const Et=ut.data;return Et.aborted=!0,It.apply(Et.target,Et.args)}const Vt=De(Ut,"open",()=>function(ut,Et){return ut[de]=0==Et[2],ut[Qe]=Et[1],Vt.apply(ut,Et)}),Jt=G("fetchTaskAborting"),Me=G("fetchTaskScheduling"),qt=De(Ut,"send",()=>function(ut,Et){if(!0===ve.current[Me]||ut[de])return qt.apply(ut,Et);{const Fe={target:ut,url:ut[Qe],isPeriodic:!1,args:Et,aborted:!1},jt=$("XMLHttpRequest.send",Ve,Fe,At,rn);ut&&!0===ut[st]&&!Fe.aborted&&jt.state===xn&&jt.invoke()}}),It=De(Ut,"abort",()=>function(ut,Et){const Fe=function Gt(ut){return ut[_]}(ut);if(Fe&&"string"==typeof Fe.type){if(null==Fe.cancelFn||Fe.data&&Fe.data.aborted)return;Fe.zone.cancelTask(Fe)}else if(!0===ve.current[Jt])return It.apply(ut,Et)})}(Y);const _=G("xhrTask"),de=G("xhrSync"),Te=G("xhrListener"),rt=G("xhrScheduled"),Qe=G("xhrURL"),st=G("xhrErrorBeforeScheduled")}),z.__load_patch("geolocation",Y=>{Y.navigator&&Y.navigator.geolocation&&function he(z,Y){const ve=z.constructor.name;for(let _=0;_<Y.length;_++){const de=Y[_],Te=z[de];if(Te){if(!te(A(z,de)))continue;z[de]=(Qe=>{const st=function(){return Qe.apply(this,ne(arguments,ve+"."+de))};return qe(st,Qe),st})(Te)}}}(Y.navigator.geolocation,["getCurrentPosition","watchPosition"])}),z.__load_patch("PromiseRejectionEvent",(Y,ve)=>{function _(de){return function(Te){vt(Y,de).forEach(Qe=>{const st=Y.PromiseRejectionEvent;if(st){const Ct=new st(de,{promise:Te.promise,reason:Te.rejection});Qe.invoke(Ct)}})}}Y.PromiseRejectionEvent&&(ve[G("unhandledPromiseRejectionHandler")]=_("unhandledrejection"),ve[G("rejectionHandledHandler")]=_("rejectionhandled"))}),z.__load_patch("queueMicrotask",(Y,ve,_)=>{!function me(z,Y){Y.patchMethod(z,"queueMicrotask",ve=>function(_,de){Zone.current.scheduleMicroTask("queueMicrotask",de[0])})}(Y,_)})}(ur)},16036(f,g,s){"use strict";var o=s(19725);s(26148),s(46058),s(80081),s(95115),s(17978),s(6986),s(88177),s(54151),s(72400),s(73677),s(85901),f.exports=o},56863(f,g,s){"use strict";var o=s(14788);f.exports=o},53731(f,g,s){"use strict";var o=s(99736);s(16401),f.exports=o},6867(f,g,s){"use strict";var o=s(11826);s(27254),s(7036),s(57019),f.exports=o},88649(f,g,s){"use strict";var o=s(67114);s(16453),s(4235),f.exports=o},1810(f,g,s){"use strict";var o=s(60769);f.exports=o},13796(f,g,s){"use strict";var o=s(9995);s(66090),f.exports=o},24870(f,g,s){"use strict";var o=s(63987);f.exports=o},72889(f,g,s){"use strict";var o=s(1108);f.exports=o},89948(f,g,s){"use strict";var o=s(74813);f.exports=o},39326(f,g,s){"use strict";var o=s(14957);s(37108),f.exports=o},53837(f,g,s){"use strict";var o=s(56344);s(43375),s(39225),s(13972),s(99209),s(25714),s(17561),s(66197),f.exports=o},31982(f,g,s){"use strict";var o=s(60689);s(44590),s(51755),f.exports=o},96691(f,g,s){"use strict";var o=s(50884);s(16401),s(81202),s(43275),s(30465),f.exports=o},49137(f,g,s){"use strict";var o=s(43640);s(57051),s(27650),s(41549),s(49797),s(49631),s(35623),s(91706),s(96847),s(43250),s(10149),s(67302),s(24082),f.exports=o},39276(f,g,s){"use strict";var o=s(88939);s(80805),s(73525),f.exports=o},35766(f,g,s){"use strict";var o=s(87861);f.exports=o},45666(f,g,s){"use strict";s(23418),s(64346),s(31051),s(18107),s(28706),s(26835),s(88431),s(33771),s(2008),s(50113),s(48980),s(10838),s(13451),s(46449),s(78350),s(51629),s(74423),s(25276),s(23792),s(52407),s(48598),s(8921),s(62062),s(44114),s(72712),s(18863),s(94490),s(34782),s(15086),s(26910),s(87478),s(54554),s(9678),s(57145),s(71658),s(93514),s(30237),s(13609),s(11558),s(26099),s(47764),s(3362);var o=s(19167);f.exports=o.Array},85913(f,g,s){"use strict";s(61699),s(59089),s(91191),s(93515),s(1688),s(60739),s(23288),s(89572);var o=s(19167);f.exports=o.Date},38881(f,g,s){"use strict";s(94170),s(62010),s(48957);var o=s(19167);f.exports=o.Function},95257(f,g,s){"use strict";s(23792),s(36033),s(47072),s(45367),s(92731),s(26099),s(47764);var o=s(19167);f.exports=o.Map},29187(f,g,s){"use strict";s(23792),s(93153),s(82326),s(36389),s(64444),s(8085),s(77762),s(65070),s(60605),s(4360),s(39469),s(72152),s(75376),s(56624),s(11367),s(5914),s(78553),s(23068),s(98690),s(60479),s(70761);var o=s(19167);f.exports=o.Math},22696(f,g,s){"use strict";s(2892),s(45374),s(25428),s(32637),s(40150),s(59149),s(64601),s(44435),s(87220),s(25843),s(62337),s(9868),s(80630);var o=s(19167);f.exports=o.Number},99246(f,g,s){"use strict";s(52675),s(69085),s(59904),s(84185),s(67945),s(5506),s(52811),s(53921),s(83851),s(81278),s(1480),s(40875),s(77691),s(78347),s(29908),s(94052),s(94003),s(221),s(79432),s(93967),s(63548),s(93941),s(10287),s(16034),s(26099),s(17427),s(87607),s(9220),s(7904),s(4731),s(60479),s(15472);var o=s(19167);f.exports=o.Object},21308(f,g,s){"use strict";s(78459);var o=s(19167);f.exports=o.parseFloat},69339(f,g,s){"use strict";s(58940);var o=s(19167);f.exports=o.parseInt},82374(f,g,s){"use strict";s(26099),s(39796),s(60825),s(87411),s(21211),s(40888),s(9065),s(86565),s(32812),s(84634),s(71137),s(30985),s(34268),s(34873),s(15472);var o=s(19167);f.exports=o.Reflect},64088(f,g,s){"use strict";s(84864),s(96069),s(38781),s(57465),s(27495),s(69479),s(87745),s(90906),s(71761),s(25440),s(5746),s(90744)},57655(f,g,s){"use strict";s(23792),s(26099),s(31415),s(17642),s(58004),s(33853),s(45876),s(32475),s(15024),s(31698),s(47764);var o=s(19167);f.exports=o.Set},18840(f,g,s){"use strict";s(26099),s(27495),s(27337),s(85906),s(23860),s(67357),s(99449),s(21699),s(42043),s(71761),s(28543),s(35701),s(68156),s(42781),s(25440),s(79978),s(5746),s(90744),s(11392),s(50375),s(67438),s(42762),s(43359),s(39202),s(47764),s(89907),s(11898),s(35490),s(5745),s(94298),s(60268),s(69546),s(20781),s(50778),s(89195),s(46276),s(48718),s(16308);var o=s(19167);f.exports=o.String},39281(f,g,s){"use strict";s(28706),s(26099),s(52675),s(34113),s(66412),s(89463),s(97324),s(60193),s(92168),s(2259),s(86964),s(83142),s(83237),s(61833),s(67947),s(31073),s(45700),s(78125),s(20326),s(4731),s(60479),s(15472);var o=s(19167);f.exports=o.Symbol},75879(f,g,s){"use strict";s(46594),s(21489),s(22134),s(72107),s(3690),s(95477),s(61740),s(34594),s(29833),s(21797),f.exports=s(44576)},21797(f,g,s){"use strict";s(26099),s(47764),s(48345),s(52568),s(48140),s(81630),s(72170),s(75044),s(69539),s(31694),s(89955),s(21903),s(91134),s(33206),s(44496),s(66651),s(19369),s(66812),s(8995),s(31575),s(36072),s(88747),s(28845),s(29423),s(57301),s(373),s(86614),s(41405),s(33684),s(37467),s(44732),s(79577),s(12887),s(45213),s(91925),s(16632),s(34226),s(9486),s(20456)},81502(f,g,s){"use strict";s(23792),s(26099),s(73772),s(88454),s(29452);var o=s(19167);f.exports=o.WeakMap},76012(f,g,s){"use strict";s(23792),s(26099),s(30958);var o=s(19167);f.exports=o.WeakSet},74209(f,g,s){"use strict";s(92327)},98840(f,g,s){"use strict";s(97490)},84164(f,g,s){"use strict";s(40026)},39310(f,g,s){"use strict";s(30780)},22486(f,g,s){"use strict";s(71568)},41437(f,g,s){"use strict";s(5507)},9615(f,g,s){"use strict";s(17385)},40407(f,g,s){"use strict";s(21549)},2344(f,g,s){"use strict";s(37386)},93529(f,g,s){"use strict";s(60139)},9534(f,g,s){"use strict";s(98147)},40828(f,g,s){"use strict";s(92582)},6261(f,g,s){"use strict";s(52815)},12440(f,g,s){"use strict";s(27414)},18076(f,g,s){"use strict";s(76938)},77655(f,g,s){"use strict";s(9313)},18201(f,g,s){"use strict";s(95279)},92327(f,g,s){"use strict";var o=s(16036);s(36033),s(34504),s(87370),s(31659),s(45490),s(55105),s(17656),s(61938),f.exports=o},97490(f,g,s){"use strict";var o=s(56863);f.exports=o},40026(f,g,s){"use strict";var o=s(53731);s(83354),s(98225),s(15617),s(18640),f.exports=o},30780(f,g,s){"use strict";var o=s(6867);s(39172),s(16385),s(81723),s(71517),s(11379),s(93777),s(14190),s(12359),s(86097),s(17273),s(27254),s(7036),s(27415),s(19929),s(37583),s(55122),s(20230),s(57268),s(79733),s(52231),s(19717),f.exports=o},71568(f,g,s){"use strict";var o=s(88649);s(58179),s(30456),s(74017),s(79310),s(2848),s(24842),s(24746),s(33454),s(6660),s(83062),s(15637),s(96369),s(15941),f.exports=o},5507(f,g,s){"use strict";var o=s(1810);f.exports=o,s(26099),s(15476),s(82101),s(79926)},17385(f,g,s){"use strict";var o=s(13796);s(84208),s(91550),s(9156),s(48918),f.exports=o},21549(f,g,s){"use strict";var o=s(24870);f.exports=o},37386(f,g,s){"use strict";var o=s(72889);f.exports=o},60139(f,g,s){"use strict";var o=s(89948);s(65186),s(42978),s(72527),s(79852),s(42376),s(40617),s(73067),s(66820),s(8288),f.exports=o},98147(f,g,s){"use strict";var o=s(39326);f.exports=o},92582(f,g,s){"use strict";var o=s(53837);s(49522),s(23283),s(25509),s(65223),s(41927),s(60321),s(11632),s(64377),s(66771),s(12516),s(68931),s(52514),s(35694),s(52774),s(49536),s(21926),s(94483),s(16215),f.exports=o},52815(f,g,s){"use strict";var o=s(31982);s(73772),s(78898),s(84114),s(74176),s(66337),s(38344),s(12041),f.exports=o},27414(f,g,s){"use strict";var o=s(96691);s(13070),s(53032),s(49604),s(42793),s(87153),s(53803),s(13976),s(18999),s(77208),s(73440),f.exports=o},76938(f,g,s){"use strict";var o=s(49137);s(36033),s(3362),s(13195),s(51839),s(14037),s(47350),s(23241),s(55871),f.exports=o},9313(f,g,s){"use strict";var o=s(39276);s(47764),s(26957),s(79732),s(35644),s(80805),s(73525),s(67348),s(49634),f.exports=o},95279(f,g,s){"use strict";var o=s(35766);s(47764),s(83742),s(56422),s(82451),s(46270),f.exports=o},79306(f,g,s){"use strict";var o=s(94901),l=s(16823),c=TypeError;f.exports=function(p){if(o(p))return p;throw new c(l(p)+" is not a function")}},35548(f,g,s){"use strict";var o=s(33517),l=s(16823),c=TypeError;f.exports=function(p){if(o(p))return p;throw new c(l(p)+" is not a constructor")}},36194(f,g,s){"use strict";var o=s(72248).has;f.exports=function(l){return o(l),l}},19767(f){"use strict";var g=TypeError;f.exports=function(s){if("number"==typeof s)return s;throw new g("Argument is not a number")}},73506(f,g,s){"use strict";var o=s(13925),l=String,c=TypeError;f.exports=function(p){if(o(p))return p;throw new c("Can't set "+l(p)+" as a prototype")}},97080(f,g,s){"use strict";var o=s(94402).has;f.exports=function(l){return o(l),l}},63463(f){"use strict";var g=TypeError;f.exports=function(s){if("string"==typeof s)return s;throw new g("Argument is not a string")}},84328(f,g,s){"use strict";var o=s(44995),l=new o.WeakMap,c=o.set,p=o.remove;f.exports=function(h){return c(l,h,1),p(l,h),h}},76557(f,g,s){"use strict";var o=s(44995).has;f.exports=function(l){return o(l),l}},23755(f,g,s){"use strict";var o=s(88205).has;f.exports=function(l){return o(l),l}},6469(f,g,s){"use strict";var o=s(78227),l=s(2360),c=s(24913).f,p=o("unscopables"),h=Array.prototype;void 0===h[p]&&c(h,p,{configurable:!0,value:l(null)}),f.exports=function(v){h[p][v]=!0}},57829(f,g,s){"use strict";var o=s(68183).charAt;f.exports=function(l,c,p){return c+(p&&o(l,c).length||1)}},90679(f,g,s){"use strict";var o=s(1625),l=TypeError;f.exports=function(c,p){if(o(p,c))return c;throw new l("Incorrect invocation")}},83972(f,g,s){"use strict";var o=s(20034),l=String,c=TypeError;f.exports=function(p){if(void 0===p||o(p))return p;throw new c(l(p)+" is not an object or undefined")}},28551(f,g,s){"use strict";var o=s(20034),l=String,c=TypeError;f.exports=function(p){if(o(p))return p;throw new c(l(p)+" is not an object")}},34154(f,g,s){"use strict";var o=s(36955),l=TypeError;f.exports=function(c){if("Uint8Array"===o(c))return c;throw new l("Argument is not an Uint8Array")}},77811(f){"use strict";f.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},67394(f,g,s){"use strict";var o=s(44576),l=s(46706),c=s(22195),p=o.ArrayBuffer,h=o.TypeError;f.exports=p&&l(p.prototype,"byteLength","get")||function(v){if("ArrayBuffer"!==c(v))throw new h("ArrayBuffer expected");return v.byteLength}},3238(f,g,s){"use strict";var o=s(44576),l=s(77811),c=s(67394),p=o.DataView;f.exports=function(h){if(!l||0!==c(h))return!1;try{return new p(h),!1}catch{return!0}}},15652(f,g,s){"use strict";var o=s(79039);f.exports=o(function(){if("function"==typeof ArrayBuffer){var l=new ArrayBuffer(8);Object.isExtensible(l)&&Object.defineProperty(l,"a",{value:8})}})},55169(f,g,s){"use strict";var o=s(3238),l=TypeError;f.exports=function(c){if(o(c))throw new l("ArrayBuffer is detached");return c}},94644(f,g,s){"use strict";var te,ce,ge,o=s(77811),l=s(43724),c=s(44576),p=s(94901),h=s(20034),v=s(39297),m=s(36955),y=s(16823),E=s(66699),x=s(36840),C=s(62106),A=s(1625),w=s(42787),P=s(52967),N=s(78227),M=s(33392),B=s(91181),O=B.enforce,R=B.get,k=c.Int8Array,L=k&&k.prototype,F=c.Uint8ClampedArray,V=F&&F.prototype,H=k&&w(k),$=L&&w(L),G=Object.prototype,X=c.TypeError,Z=N("toStringTag"),Q=M("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",ne=o&&!!P&&"Opera"!==m(c.opera),he=!1,ae={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ye={BigInt64Array:8,BigUint64Array:8},Ce=function(Be){var Pe=w(Be);if(h(Pe)){var De=R(Pe);return De&&v(De,J)?De[J]:Ce(Pe)}},Oe=function(Be){if(!h(Be))return!1;var Pe=m(Be);return v(ae,Pe)||v(ye,Pe)};for(te in ae)(ge=(ce=c[te])&&ce.prototype)?O(ge)[J]=ce:ne=!1;for(te in ye)(ge=(ce=c[te])&&ce.prototype)&&(O(ge)[J]=ce);if((!ne||!p(H)||H===Function.prototype)&&(H=function(){throw new X("Incorrect invocation")},ne))for(te in ae)c[te]&&P(c[te],H);if((!ne||!$||$===G)&&($=H.prototype,ne))for(te in ae)c[te]&&P(c[te].prototype,$);if(ne&&w(V)!==$&&P(V,$),l&&!v($,Z))for(te in he=!0,C($,Z,{configurable:!0,get:function(){return h(this)?this[Q]:void 0}}),ae)c[te]&&E(c[te].prototype,Q,te);f.exports={NATIVE_ARRAY_BUFFER_VIEWS:ne,TYPED_ARRAY_TAG:he&&Q,aTypedArray:function(Be){if(Oe(Be))return Be;throw new X("Target is not a typed array")},aTypedArrayConstructor:function(Be){if(p(Be)&&(!P||A(H,Be)))return Be;throw new X(y(Be)+" is not a typed array constructor")},exportTypedArrayMethod:function(Be,Pe,De,xt){if(l){if(De)for(var qe in ae){var Tt=c[qe];if(Tt&&v(Tt.prototype,Be))try{delete Tt.prototype[Be]}catch{try{Tt.prototype[Be]=Pe}catch{}}}(!$[Be]||De)&&x($,Be,De?Pe:ne&&L[Be]||Pe,xt)}},exportTypedArrayStaticMethod:function(Be,Pe,De){var xt,qe;if(l){if(P){if(De)for(xt in ae)if((qe=c[xt])&&v(qe,Be))try{delete qe[Be]}catch{}if(H[Be]&&!De)return;try{return x(H,Be,De?Pe:ne&&H[Be]||Pe)}catch{}}for(xt in ae)(qe=c[xt])&&(!qe[Be]||De)&&x(qe,Be,Pe)}},getTypedArrayConstructor:Ce,isView:function(Pe){if(!h(Pe))return!1;var De=m(Pe);return"DataView"===De||v(ae,De)||v(ye,De)},isTypedArray:Oe,TypedArray:H,TypedArrayPrototype:$}},66346(f,g,s){"use strict";var o=s(44576),l=s(79504),c=s(43724),p=s(77811),h=s(10350),v=s(66699),m=s(62106),y=s(56279),E=s(79039),x=s(90679),C=s(91291),A=s(57696),w=s(37998),P=s(88490),N=s(42787),M=s(52967),B=s(84373),O=s(67680),R=s(23167),k=s(77740),L=s(10687),F=s(91181),V=h.PROPER,H=h.CONFIGURABLE,$="ArrayBuffer",G="DataView",X="prototype",Q="Wrong index",J=F.getterFor($),ne=F.getterFor(G),he=F.set,te=o[$],ce=te,ge=ce&&ce[X],ae=o[G],ye=ae&&ae[X],Ee=Object.prototype,Ce=o.Array,Oe=o.RangeError,Ue=l(B),Ke=l([].reverse),ke=P.pack,Ze=P.unpack,Be=function(be){return[255&be]},Pe=function(be){return[255&be,be>>8&255]},De=function(be){return[255&be,be>>8&255,be>>16&255,be>>24&255]},xt=function(be){return be[3]<<24|be[2]<<16|be[1]<<8|be[0]},qe=function(be){return ke(w(be),23,4)},Tt=function(be){return ke(be,52,8)},Ft=function(be,Ge,vt){m(be[X],Ge,{configurable:!0,get:function(){return vt(this)[Ge]}})},Wt=function(be,Ge,vt,yn){var me=ne(be),Re=A(vt),Je=!!yn;if(Re+Ge>me.byteLength)throw new Oe(Q);var Lt=me.bytes,Mt=Re+me.byteOffset,wn=O(Lt,Mt,Mt+Ge);return Je?wn:Ke(wn)},ot=function(be,Ge,vt,yn,me,Re){var Je=ne(be),Lt=A(vt),Mt=yn(+me),wn=!!Re;if(Lt+Ge>Je.byteLength)throw new Oe(Q);for(var er=Je.bytes,mt=Lt+Je.byteOffset,$e=0;$e<Ge;$e++)er[mt+$e]=Mt[wn?$e:Ge-$e-1]};if(p){var _e=V&&te.name!==$;E(function(){te(1)})&&E(function(){new te(-1)})&&!E(function(){return new te,new te(1.5),new te(NaN),1!==te.length||_e&&!H})?_e&&H&&v(te,"name",$):((ce=function(Ge){return x(this,ge),R(new te(A(Ge)),this,ce)})[X]=ge,ge.constructor=ce,k(ce,te)),M&&N(ye)!==Ee&&M(ye,Ee);var Xe=new ae(new ce(2)),Rt=l(ye.setInt8);Xe.setInt8(0,2147483648),Xe.setInt8(1,2147483649),(Xe.getInt8(0)||!Xe.getInt8(1))&&y(ye,{setInt8:function(Ge,vt){Rt(this,Ge,vt<<24>>24)},setUint8:function(Ge,vt){Rt(this,Ge,vt<<24>>24)}},{unsafe:!0})}else ge=(ce=function(Ge){x(this,ge);var vt=A(Ge);he(this,{type:$,bytes:Ue(Ce(vt),0),byteLength:vt}),c||(this.byteLength=vt,this.detached=!1)})[X],ye=(ae=function(Ge,vt,yn){x(this,ye),x(Ge,ge);var me=J(Ge),Re=me.byteLength,Je=C(vt);if(Je<0||Je>Re)throw new Oe("Wrong offset");if(Je+(yn=void 0===yn?Re-Je:A(yn))>Re)throw new Oe("Wrong length");he(this,{type:G,buffer:Ge,byteLength:yn,byteOffset:Je,bytes:me.bytes}),c||(this.buffer=Ge,this.byteLength=yn,this.byteOffset=Je)})[X],c&&(Ft(ce,"byteLength",J),Ft(ae,"buffer",ne),Ft(ae,"byteLength",ne),Ft(ae,"byteOffset",ne)),y(ye,{getInt8:function(Ge){return Wt(this,1,Ge)[0]<<24>>24},getUint8:function(Ge){return Wt(this,1,Ge)[0]},getInt16:function(Ge){var vt=Wt(this,2,Ge,arguments.length>1&&arguments[1]);return(vt[1]<<8|vt[0])<<16>>16},getUint16:function(Ge){var vt=Wt(this,2,Ge,arguments.length>1&&arguments[1]);return vt[1]<<8|vt[0]},getInt32:function(Ge){return xt(Wt(this,4,Ge,arguments.length>1&&arguments[1]))},getUint32:function(Ge){return xt(Wt(this,4,Ge,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(Ge){return Ze(Wt(this,4,Ge,arguments.length>1&&arguments[1]),23)},getFloat64:function(Ge){return Ze(Wt(this,8,Ge,arguments.length>1&&arguments[1]),52)},setInt8:function(Ge,vt){ot(this,1,Ge,Be,vt)},setUint8:function(Ge,vt){ot(this,1,Ge,Be,vt)},setInt16:function(Ge,vt){ot(this,2,Ge,Pe,vt,arguments.length>2&&arguments[2])},setUint16:function(Ge,vt){ot(this,2,Ge,Pe,vt,arguments.length>2&&arguments[2])},setInt32:function(Ge,vt){ot(this,4,Ge,De,vt,arguments.length>2&&arguments[2])},setUint32:function(Ge,vt){ot(this,4,Ge,De,vt,arguments.length>2&&arguments[2])},setFloat32:function(Ge,vt){ot(this,4,Ge,qe,vt,arguments.length>2&&arguments[2])},setFloat64:function(Ge,vt){ot(this,8,Ge,Tt,vt,arguments.length>2&&arguments[2])}});L(ce,$),L(ae,G),f.exports={ArrayBuffer:ce,DataView:ae}},57029(f,g,s){"use strict";var o=s(48981),l=s(35610),c=s(26198),p=s(84606),h=Math.min;f.exports=[].copyWithin||function(m,y){var E=o(this),x=c(E),C=l(m,x),A=l(y,x),w=arguments.length>2?arguments[2]:void 0,P=h((void 0===w?x:l(w,x))-A,x-C),N=1;for(A<C&&C<A+P&&(N=-1,A+=P-1,C+=P-1);P-- >0;)A in E?E[C]=E[A]:p(E,C),C+=N,A+=N;return E}},84373(f,g,s){"use strict";var o=s(48981),l=s(35610),c=s(26198);f.exports=function(h){for(var v=o(this),m=c(v),y=arguments.length,E=l(y>1?arguments[1]:void 0,m),x=y>2?arguments[2]:void 0,C=void 0===x?m:l(x,m);C>E;)v[E++]=h;return v}},90235(f,g,s){"use strict";var o=s(59213).forEach,c=s(34598)("forEach");f.exports=c?[].forEach:function(h){return o(this,h,arguments.length>1?arguments[1]:void 0)}},8045(f,g,s){"use strict";var o=s(76080),l=s(79504),c=s(33517),p=s(1886),h=s(70081),v=s(1767),m=s(50851),y=s(55966),E=s(97751),x=s(44124),C=s(78227),A=s(24074),w=s(36639).toArray,P=C("asyncIterator"),N=l(x("Array","values")),M=l(N([]).next),B=function(){return new O(this)},O=function(R){this.iterator=N(R)};O.prototype.next=function(){return M(this.iterator)},f.exports=function(k){var L=this,F=arguments.length,V=F>1?arguments[1]:void 0,H=F>2?arguments[2]:void 0;return new(E("Promise"))(function($){void 0!==V&&(V=o(V,H));var G=y(k,P),X=G?void 0:m(k)||B,Z=c(L)?new L:[],Q=G?p(k,G):new A(v(h(k,X)));$(w(Q,V,Z))})}},35370(f,g,s){"use strict";var o=s(26198);f.exports=function(l,c,p){for(var h=0,v=arguments.length>2?p:o(c),m=new l(v);v>h;)m[h]=c[h++];return m}},97916(f,g,s){"use strict";var o=s(76080),l=s(69565),c=s(48981),p=s(96319),h=s(44209),v=s(33517),m=s(26198),y=s(97040),E=s(34527),x=s(70081),C=s(50851),A=s(9539),w=Array;f.exports=function(N){var M=v(this),B=arguments.length,O=B>1?arguments[1]:void 0,R=void 0!==O;R&&(O=o(O,B>2?arguments[2]:void 0));var V,H,$,G,X,Z,k=c(N),L=C(k),F=0;if(!L||this===w&&h(L))for(V=m(k),H=M?new this(V):w(V);V>F;F++)Z=R?O(k[F],F):k[F],y(H,F,Z);else for(H=M?new this:[],X=(G=x(k,L)).next;!($=l(X,G)).done;F++){Z=R?p(G,O,[$.value,F],!0):$.value;try{y(H,F,Z)}catch(Q){A(G,"throw",Q)}}return E(H,F),H}},2952(f,g,s){"use strict";var o=s(76080),l=s(79504),c=s(47055),p=s(48981),h=s(26198),v=s(72248),m=v.Map,y=v.get,E=v.has,x=v.set,C=l([].push);f.exports=function(w){for(var k,L,P=p(this),N=c(P),M=o(w,arguments.length>1?arguments[1]:void 0),B=new m,O=h(N),R=0;O>R;R++)k=M(L=N[R],R,P),E(B,k)?C(y(B,k),L):x(B,k,[L]);return B}},77957(f,g,s){"use strict";var o=s(76080),l=s(79504),c=s(47055),p=s(48981),h=s(56969),v=s(26198),m=s(2360),y=s(35370),E=Array,x=l([].push);f.exports=function(C,A,w,P){for(var L,F,V,N=p(C),M=c(N),B=o(A,w),O=m(null),R=v(M),k=0;R>k;k++)V=M[k],(F=h(B(V,k,N)))in O?x(O[F],V):O[F]=[V];if(P&&(L=P(N))!==E)for(F in O)O[F]=y(L,O[F]);return O}},19617(f,g,s){"use strict";var o=s(25397),l=s(35610),c=s(26198),p=function(h){return function(v,m,y){var E=o(v),x=c(E);if(0===x)return!h&&-1;var A,C=l(y,x);if(h&&m!=m){for(;x>C;)if((A=E[C++])!=A)return!0}else for(;x>C;C++)if((h||C in E)&&E[C]===m)return h||C||0;return!h&&-1}};f.exports={includes:p(!0),indexOf:p(!1)}},43839(f,g,s){"use strict";var o=s(76080),l=s(47055),c=s(48981),p=s(26198),h=function(v){var m=1===v;return function(y,E,x){for(var N,C=c(y),A=l(C),w=p(A),P=o(E,x);w-- >0;)if(P(N=A[w],w,C))switch(v){case 0:return N;case 1:return w}return m?-1:void 0}};f.exports={findLast:h(0),findLastIndex:h(1)}},59213(f,g,s){"use strict";var o=s(76080),l=s(47055),c=s(48981),p=s(26198),h=s(1469),v=s(97040),m=function(y){var E=1===y,x=2===y,C=3===y,A=4===y,w=6===y,P=7===y,N=5===y||w;return function(M,B,O){for(var G,X,R=c(M),k=l(R),L=p(k),F=o(B,O),V=0,H=0,$=E?h(M,L):x||P?h(M,0):void 0;L>V;V++)if((N||V in k)&&(X=F(G=k[V],V,R),y))if(E)v($,V,X);else if(X)switch(y){case 3:return!0;case 5:return G;case 6:return V;case 2:v($,H++,G)}else switch(y){case 4:return!1;case 7:v($,H++,G)}return w?-1:C||A?A:$}};f.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterReject:m(7)}},8379(f,g,s){"use strict";var o=s(18745),l=s(25397),c=s(91291),p=s(26198),h=s(34598),v=Math.min,m=[].lastIndexOf,y=!!m&&1/[1].lastIndexOf(1,-0)<0,E=h("lastIndexOf"),x=y||!E;f.exports=x?function(A){if(y)return o(m,this,arguments)||0;var w=l(this),P=p(w);if(0===P)return-1;var N=P-1;for(arguments.length>1&&(N=v(N,c(arguments[1]))),N<0&&(N=P+N);N>=0;N--)if(N in w&&w[N]===A)return N||0;return-1}:m},70597(f,g,s){"use strict";var o=s(79039),l=s(78227),c=s(39519),p=l("species");f.exports=function(h){return c>=51||!o(function(){var v=[];return(v.constructor={})[p]=function(){return{foo:1}},1!==v[h](Boolean).foo})}},34598(f,g,s){"use strict";var o=s(79039);f.exports=function(l,c){var p=[][l];return!!p&&o(function(){p.call(null,c||function(){return 1},1)})}},80926(f,g,s){"use strict";var o=s(79306),l=s(48981),c=s(47055),p=s(26198),h=TypeError,v="Reduce of empty array with no initial value",m=function(y){return function(E,x,C,A){var w=l(E),P=c(w),N=p(w);if(o(x),0===N&&C<2)throw new h(v);var M=y?N-1:0,B=y?-1:1;if(C<2)for(;;){if(M in P){A=P[M],M+=B;break}if(M+=B,y?M<0:N<=M)throw new h(v)}for(;y?M>=0:N>M;M+=B)M in P&&(A=x(A,P[M],M,w));return A}};f.exports={left:m(!1),right:m(!0)}},34527(f,g,s){"use strict";var o=s(43724),l=s(34376),c=TypeError,p=Object.getOwnPropertyDescriptor,h=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(v){return v instanceof TypeError}}();f.exports=h?function(v,m){if(l(v)&&!p(v,"length").writable)throw new c("Cannot set read only .length");return v.length=m}:function(v,m){return v.length=m}},67680(f,g,s){"use strict";var o=s(79504);f.exports=o([].slice)},74488(f,g,s){"use strict";var o=s(67680),l=Math.floor,c=function(p,h){var v=p.length;if(v<8)for(var y,E,m=1;m<v;){for(E=m,y=p[m];E&&h(p[E-1],y)>0;)p[E]=p[--E];E!==m++&&(p[E]=y)}else for(var x=l(v/2),C=c(o(p,0,x),h),A=c(o(p,x),h),w=C.length,P=A.length,N=0,M=0;N<w||M<P;)p[N+M]=N<w&&M<P?h(C[N],A[M])<=0?C[N++]:A[M++]:N<w?C[N++]:A[M++];return p};f.exports=c},87433(f,g,s){"use strict";var o=s(34376),l=s(33517),c=s(20034),h=s(78227)("species"),v=Array;f.exports=function(m){var y;return o(m)&&(y=m.constructor,l(y)&&(y===v||o(y.prototype))?y=void 0:c(y)&&(null===(y=y[h])&&(y=void 0))),void 0===y?v:y}},1469(f,g,s){"use strict";var o=s(87433);f.exports=function(l,c){return new(o(l))(0===c?0:c)}},79565(f,g,s){"use strict";var o=s(79306),l=s(64117),c=s(26198),p=s(48981),h=s(97040),v=s(72248),m=s(26223),y=v.Map,E=v.has,x=v.set;f.exports=function(A){var O,R,k,w=p(this),P=c(w),N=[],M=new y,B=l(A)?function(L){return L}:o(A);for(O=0;O<P;O++)k=B(R=w[O]),E(M,k)||x(M,k,R);return O=0,m(M,function(L){h(N,O++,L)}),N}},24074(f,g,s){"use strict";var o=s(69565),l=s(28551),c=s(2360),p=s(55966),h=s(56279),v=s(91181),m=s(9539),y=s(97751),E=s(53982),x=s(62529),C=y("Promise"),A="AsyncFromSyncIterator",w=v.set,P=v.getterFor(A),N=function(B,O,R,k,L){var F=B.done;C.resolve(B.value).then(function(V){O(x(V,F))},function(V){if(!F&&L)try{m(k,"throw",V)}catch(H){V=H}R(V)})},M=function(O){O.type=A,w(this,O)};M.prototype=h(c(E),{next:function(){var O=P(this),R=arguments.length>0,k=R?arguments[0]:void 0;return new C(function(L,F){var V=l(R?o(O.next,O.iterator,k):o(O.next,O.iterator));N(V,L,F,O.iterator,!0)})},return:function(){var O=P(this).iterator,R=arguments.length>0,k=R?arguments[0]:void 0;return new C(function(L,F){var V=p(O,"return");if(void 0===V)return L(x(k,!0));var H=l(R?o(V,O,k):o(V,O));N(H,L,F,O)})},throw:function(){var O=P(this).iterator,R=arguments.length>0,k=R?arguments[0]:void 0;return new C(function(L,F){var V=p(O,"throw");if(void 0===V){try{m(O,"normal")}catch($){return F($)}return F(new TypeError("The iterator does not provide a throw method"))}var H=l(R?o(V,O,k):o(V,O));N(H,L,F,O,!0)})}}),f.exports=M},20772(f,g,s){"use strict";var o=s(69565),l=s(28551),c=s(97751),p=s(55966);f.exports=function(h,v,m,y){try{var E=p(h,"return");if(E)return c("Promise").resolve(o(E,h)).then(function(x){try{v!==y&&l(x)}catch(C){return void y(C)}v(m)},function(x){v===y?v(m):y(x)})}catch(x){return y(v===y?m:x)}v(m)}},36639(f,g,s){"use strict";var o=s(69565),l=s(79306),c=s(28551),p=s(20034),h=s(96837),v=s(97751),m=s(97040),y=s(34527),E=s(1767),x=s(20772),C=function(A){var w=0===A,P=1===A,N=2===A,M=3===A;return function(B,O,R){c(B);var k=void 0!==O;(k||!w)&&l(O);var L=E(B),F=v("Promise"),V=L.iterator,H=L.next,$=0;return new F(function(G,X){var Z=function(J){x(V,X,J,X)},Q=function(){try{try{h($)}catch(J){return Z(J)}F.resolve(c(o(H,V))).then(function(J){try{if(c(J).done)w?(y(R,$),G(R)):G(!M&&(N||void 0));else{var ne=J.value;try{if(k){var he=$++,te=O(ne,he),ce=function(ge){if(P)Q();else if(N)ge?Q():x(V,G,!1,X);else if(w)try{m(R,he,ge),Q()}catch(ae){Z(ae)}else ge?x(V,G,M||ne,X):Q()};p(te)?F.resolve(te).then(ce,Z):ce(te)}else m(R,$++,ne),Q()}catch(ge){Z(ge)}}}catch(ge){X(ge)}},X)}catch(J){X(J)}};Q()})}};f.exports={toArray:C(0),forEach:C(1),every:C(2),some:C(3),find:C(4)}},53982(f,g,s){"use strict";var w,P,o=s(44576),l=s(77629),c=s(94901),p=s(2360),h=s(42787),v=s(36840),m=s(78227),y=s(96395),E="USE_FUNCTION_CONSTRUCTOR",x=m("asyncIterator"),C=o.AsyncIterator,A=l.AsyncIteratorPrototype;if(A)w=A;else if(c(C))w=C.prototype;else if(l[E]||o[E])try{P=h(h(h(Function("return async function*(){}()")()))),h(P)===Object.prototype&&(w=P)}catch{}w?y&&(w=p(w)):w={},c(w[x])||v(w,x,function(){return this}),f.exports=w},92804(f){"use strict";var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",s=g+"+/",o=g+"-_",l=function(c){for(var p={},h=0;h<64;h++)p[c.charAt(h)]=h;return p};f.exports={i2c:s,c2i:l(s),i2cUrl:o,c2iUrl:l(o)}},96319(f,g,s){"use strict";var o=s(28551),l=s(9539);f.exports=function(c,p,h,v){try{return v?p(o(h)[0],h[1]):p(h)}catch(m){l(c,"throw",m)}}},84428(f,g,s){"use strict";var l=s(78227)("iterator"),c=!1;try{var p=0,h={next:function(){return{done:!!p++}},return:function(){c=!0}};h[l]=function(){return this},Array.from(h,function(){throw 2})}catch{}f.exports=function(v,m){try{if(!m&&!c)return!1}catch{return!1}var y=!1;try{var E={};E[l]=function(){return{next:function(){return{done:y=!0}}}},v(E)}catch{}return y}},22195(f,g,s){"use strict";var o=s(79504),l=o({}.toString),c=o("".slice);f.exports=function(p){return c(l(p),8,-1)}},36955(f,g,s){"use strict";var o=s(92140),l=s(94901),c=s(22195),h=s(78227)("toStringTag"),v=Object,m="Arguments"===c(function(){return arguments}());f.exports=o?c:function(E){var x,C,A;return void 0===E?"Undefined":null===E?"Null":"string"==typeof(C=function(E,x){try{return E[x]}catch{}}(x=v(E),h))?C:m?c(x):"Object"===(A=c(x))&&l(x.callee)?"Arguments":A}},70933(f,g,s){"use strict";var o=s(76080),l=s(28551),c=s(48981),p=s(72652);f.exports=function(h,v,m){return function(E){var x=c(E),C=arguments.length,A=C>1?arguments[1]:void 0,w=void 0!==A,P=w?o(A,C>2?arguments[2]:void 0):void 0,N=new h,M=0;return p(x,function(B){var O=w?P(B,M++):B;m?v(N,l(O)[0],O[1]):v(N,O)}),N}}},87500(f,g,s){"use strict";var o=s(28551);f.exports=function(l,c,p){return function(){for(var v=new l,m=arguments.length,y=0;y<m;y++){var E=arguments[y];p?c(v,o(E)[0],E[1]):c(v,E)}return v}}},86938(f,g,s){"use strict";var o=s(2360),l=s(62106),c=s(56279),p=s(76080),h=s(90679),v=s(64117),m=s(72652),y=s(51088),E=s(62529),x=s(87633),C=s(43724),A=s(3451).fastKey,w=s(91181),P=w.set,N=w.getterFor;f.exports={getConstructor:function(M,B,O,R){var k=M(function($,G){h($,L),P($,{type:B,index:o(null),first:null,last:null,size:0}),C||($.size=0),v(G)||m(G,$[R],{that:$,AS_ENTRIES:O})}),L=k.prototype,F=N(B),V=function($,G,X){var J,ne,Z=F($),Q=H($,G);return Q?Q.value=X:(Z.last=Q={index:ne=A(G,!0),key:G,value:X,previous:J=Z.last,next:null,removed:!1},Z.first||(Z.first=Q),J&&(J.next=Q),C?Z.size++:$.size++,"F"!==ne&&(Z.index[ne]=Q)),$},H=function($,G){var Q,X=F($),Z=A(G);if("F"!==Z)return X.index[Z];for(Q=X.first;Q;Q=Q.next)if(Q.key===G)return Q};return c(L,{clear:function(){for(var X=F(this),Z=X.first;Z;)Z.removed=!0,Z.previous&&(Z.previous=Z.previous.next=null),Z=Z.next;X.first=X.last=null,X.index=o(null),C?X.size=0:this.size=0},delete:function($){var G=this,X=F(G),Z=H(G,$);if(Z){var Q=Z.next,J=Z.previous;delete X.index[Z.index],Z.removed=!0,J&&(J.next=Q),Q&&(Q.previous=J),X.first===Z&&(X.first=Q),X.last===Z&&(X.last=J),C?X.size--:G.size--}return!!Z},forEach:function(G){for(var Q,X=F(this),Z=p(G,arguments.length>1?arguments[1]:void 0);Q=Q?Q.next:X.first;)for(Z(Q.value,Q.key,this);Q&&Q.removed;)Q=Q.previous},has:function(G){return!!H(this,G)}}),c(L,O?{get:function(G){var X=H(this,G);return X&&X.value},set:function(G,X){return V(this,0===G?0:G,X)}}:{add:function(G){return V(this,G=0===G?0:G,G)}}),C&&l(L,"size",{configurable:!0,get:function(){return F(this).size}}),k},setStrong:function(M,B,O){var R=B+" Iterator",k=N(B),L=N(R);y(M,B,function(F,V){P(this,{type:R,target:F,state:k(F),kind:V,last:null})},function(){for(var F=L(this),V=F.kind,H=F.last;H&&H.removed;)H=H.previous;return F.target&&(F.last=H=H?H.next:F.state.first)?E("keys"===V?H.key:"values"===V?H.value:[H.key,H.value],!1):(F.target=null,E(void 0,!0))},O?"entries":"values",!O,!0),x(B)}}},91625(f,g,s){"use strict";var o=s(79504),l=s(56279),c=s(3451).getWeakData,p=s(90679),h=s(28551),v=s(64117),m=s(20034),y=s(72652),E=s(59213),x=s(39297),C=s(91181),A=C.set,w=C.getterFor,P=E.find,N=E.findIndex,M=o([].splice),B=0,O=function(L){return L.frozen||(L.frozen=new R)},R=function(){this.entries=[]},k=function(L,F){return P(L.entries,function(V){return V[0]===F})};R.prototype={get:function(L){var F=k(this,L);if(F)return F[1]},has:function(L){return!!k(this,L)},set:function(L,F){var V=k(this,L);V?V[1]=F:this.entries.push([L,F])},delete:function(L){var F=N(this.entries,function(V){return V[0]===L});return~F&&M(this.entries,F,1),!!~F}},f.exports={getConstructor:function(L,F,V,H){var $=L(function(Q,J){p(Q,G),A(Q,{type:F,id:B++,frozen:null}),v(J)||y(J,Q[H],{that:Q,AS_ENTRIES:V})}),G=$.prototype,X=w(F),Z=function(Q,J,ne){var he=X(Q),te=c(h(J),!0);return!0===te?O(he).set(J,ne):te[he.id]=ne,Q};return l(G,{delete:function(Q){var J=X(this);if(!m(Q))return!1;var ne=c(Q);return!0===ne?O(J).delete(Q):ne&&x(ne,J.id)&&delete ne[J.id]},has:function(J){var ne=X(this);if(!m(J))return!1;var he=c(J);return!0===he?O(ne).has(J):he&&x(he,ne.id)}}),l(G,V?{get:function(J){var ne=X(this);if(m(J)){var he=c(J);if(!0===he)return O(ne).get(J);if(he)return he[ne.id]}},set:function(J,ne){return Z(this,J,ne)}}:{add:function(J){return Z(this,J,!0)}}),$}}},16468(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(79504),p=s(92796),h=s(36840),v=s(3451),m=s(72652),y=s(90679),E=s(94901),x=s(64117),C=s(20034),A=s(79039),w=s(84428),P=s(10687),N=s(23167);f.exports=function(M,B,O){var R=-1!==M.indexOf("Map"),k=-1!==M.indexOf("Weak"),L=R?"set":"add",F=l[M],V=F&&F.prototype,H=F,$={},G=function(te){var ce=c(V[te]);h(V,te,"add"===te?function(ae){return ce(this,0===ae?0:ae),this}:"delete"===te?function(ge){return!(k&&!C(ge))&&ce(this,0===ge?0:ge)}:"get"===te?function(ae){return k&&!C(ae)?void 0:ce(this,0===ae?0:ae)}:"has"===te?function(ae){return!(k&&!C(ae))&&ce(this,0===ae?0:ae)}:function(ae,ye){return ce(this,0===ae?0:ae,ye),this})};if(p(M,!E(F)||!(k||V.forEach&&!A(function(){(new F).entries().next()}))))H=O.getConstructor(B,M,R,L),v.enable();else if(p(M,!0)){var Z=new H,Q=Z[L](k?{}:-0,1)!==Z,J=A(function(){Z.has(1)}),ne=w(function(te){new F(te)}),he=!k&&A(function(){for(var te=new F,ce=5;ce--;)te[L](ce,ce);return!te.has(-0)});ne||((H=B(function(te,ce){y(te,V);var ge=N(new F,te,H);return x(ce)||m(ce,ge[L],{that:ge,AS_ENTRIES:R}),ge})).prototype=V,V.constructor=H),(J||he)&&(G("delete"),G("has"),R&&G("get")),(he||Q)&&G(L),k&&V.clear&&delete V.clear}return $[M]=H,o({global:!0,constructor:!0,forced:H!==F},$),P(H,M),k||O.setStrong(H,M,R),H}},77740(f,g,s){"use strict";var o=s(39297),l=s(35031),c=s(77347),p=s(24913);f.exports=function(h,v,m){for(var y=l(v),E=p.f,x=c.f,C=0;C<y.length;C++){var A=y[C];!o(h,A)&&(!m||!o(m,A))&&E(h,A,x(v,A))}}},41436(f,g,s){"use strict";var l=s(78227)("match");f.exports=function(c){var p=/./;try{"/./"[c](p)}catch{try{return p[l]=!1,"/./"[c](p)}catch{}}return!1}},12211(f,g,s){"use strict";var o=s(79039);f.exports=!o(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},77240(f,g,s){"use strict";var o=s(79504),l=s(67750),c=s(655),p=/"/g,h=o("".replace);f.exports=function(v,m,y,E){var x=c(l(v)),C="<"+m;return""!==y&&(C+=" "+y+'="'+h(c(E),p,"&quot;")+'"'),C+">"+x+"</"+m+">"}},62529(f){"use strict";f.exports=function(g,s){return{value:g,done:s}}},66699(f,g,s){"use strict";var o=s(43724),l=s(24913),c=s(6980);f.exports=o?function(p,h,v){return l.f(p,h,c(1,v))}:function(p,h,v){return p[h]=v,p}},6980(f){"use strict";f.exports=function(g,s){return{enumerable:!(1&g),configurable:!(2&g),writable:!(4&g),value:s}}},97040(f,g,s){"use strict";var o=s(43724),l=s(24913),c=s(6980);f.exports=function(p,h,v){o?l.f(p,h,c(0,v)):p[h]=v}},70380(f,g,s){"use strict";var o=s(79504),l=s(79039),c=s(60533).start,p=RangeError,h=isFinite,v=Math.abs,m=Date.prototype,y=m.toISOString,E=o(m.getTime),x=o(m.getUTCDate),C=o(m.getUTCFullYear),A=o(m.getUTCHours),w=o(m.getUTCMilliseconds),P=o(m.getUTCMinutes),N=o(m.getUTCMonth),M=o(m.getUTCSeconds);f.exports=l(function(){return"0385-07-25T07:06:39.999Z"!==y.call(new Date(-50000000000001))})||!l(function(){y.call(new Date(NaN))})?function(){if(!h(E(this)))throw new p("Invalid time value");var O=this,R=C(O),k=w(O),L=R<0?"-":R>9999?"+":"";return L+c(v(R),L?6:4,0)+"-"+c(N(O)+1,2,0)+"-"+c(x(O),2,0)+"T"+c(A(O),2,0)+":"+c(P(O),2,0)+":"+c(M(O),2,0)+"."+c(k,3,0)+"Z"}:y},53640(f,g,s){"use strict";var o=s(28551),l=s(84270),c=TypeError;f.exports=function(p){if(o(this),"string"===p||"default"===p)p="string";else if("number"!==p)throw new c("Incorrect hint");return l(this,p)}},62106(f,g,s){"use strict";var o=s(50283),l=s(24913);f.exports=function(c,p,h){return h.get&&o(h.get,p,{getter:!0}),h.set&&o(h.set,p,{setter:!0}),l.f(c,p,h)}},36840(f,g,s){"use strict";var o=s(94901),l=s(24913),c=s(50283),p=s(39433);f.exports=function(h,v,m,y){y||(y={});var E=y.enumerable,x=void 0!==y.name?y.name:v;if(o(m)&&c(m,x,y),y.global)E?h[v]=m:p(v,m);else{try{y.unsafe?h[v]&&(E=!0):delete h[v]}catch{}E?h[v]=m:l.f(h,v,{value:m,enumerable:!1,configurable:!y.nonConfigurable,writable:!y.nonWritable})}return h}},56279(f,g,s){"use strict";var o=s(36840);f.exports=function(l,c,p){for(var h in c)o(l,h,c[h],p);return l}},39433(f,g,s){"use strict";var o=s(44576),l=Object.defineProperty;f.exports=function(c,p){try{l(o,c,{value:p,configurable:!0,writable:!0})}catch{o[c]=p}return p}},84606(f,g,s){"use strict";var o=s(16823),l=TypeError;f.exports=function(c,p){if(!delete c[p])throw new l("Cannot delete property "+o(p)+" of "+o(c))}},43724(f,g,s){"use strict";var o=s(79039);f.exports=!o(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(f,g,s){"use strict";var o=s(44576),l=s(20034),c=o.document,p=l(c)&&l(c.createElement);f.exports=function(h){return p?c.createElement(h):{}}},96837(f){"use strict";var g=TypeError;f.exports=function(o){if(o>9007199254740991)throw new g("Maximum allowed index exceeded");return o}},67400(f){"use strict";f.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296(f,g,s){"use strict";var l=s(4055)("span").classList,c=l&&l.constructor&&l.constructor.prototype;f.exports=c===Object.prototype?void 0:c},88727(f){"use strict";f.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709(f,g,s){"use strict";var l=s(82839).match(/firefox\/(\d+)/i);f.exports=!!l&&+l[1]},13763(f,g,s){"use strict";var o=s(82839);f.exports=/MSIE|Trident/.test(o)},44265(f,g,s){"use strict";var o=s(82839);f.exports=/ipad|iphone|ipod/i.test(o)&&typeof Pebble<"u"},89544(f,g,s){"use strict";var o=s(82839);f.exports=/ipad|iphone|ipod/i.test(o)&&/applewebkit/i.test(o)},16193(f,g,s){"use strict";var o=s(84215);f.exports="NODE"===o},7860(f,g,s){"use strict";var o=s(82839);f.exports=/web0s(?!.*chrome)/i.test(o)},82839(f,g,s){"use strict";var l=s(44576).navigator,c=l&&l.userAgent;f.exports=c?String(c):""},39519(f,g,s){"use strict";var m,y,o=s(44576),l=s(82839),c=o.process,p=o.Deno,h=c&&c.versions||p&&p.version,v=h&&h.v8;v&&(y=(m=v.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!y&&l&&((!(m=l.match(/Edge\/(\d+)/))||m[1]>=74)&&((m=l.match(/Chrome\/(\d+)/))&&(y=+m[1]))),f.exports=y},3607(f,g,s){"use strict";var l=s(82839).match(/AppleWebKit\/(\d+)\./);f.exports=!!l&&+l[1]},84215(f,g,s){"use strict";var o=s(44576),l=s(82839),c=s(22195),p=function(h){return l.slice(0,h.length)===h};f.exports=p("Bun/")?"BUN":p("Cloudflare-Workers")?"CLOUDFLARE":p("Deno/")?"DENO":p("Node.js/")?"NODE":o.Bun&&"string"==typeof Bun.version?"BUN":o.Deno&&"object"==typeof Deno.version?"DENO":"process"===c(o.process)?"NODE":o.window&&o.document?"BROWSER":"REST"},46518(f,g,s){"use strict";var o=s(44576),l=s(77347).f,c=s(66699),p=s(36840),h=s(39433),v=s(77740),m=s(92796);f.exports=function(y,E){var P,N,M,B,O,x=y.target,C=y.global,A=y.stat;if(P=C?o:A?o[x]||h(x,{}):o[x]&&o[x].prototype)for(N in E){if(B=E[N],y.dontCallGetSet?M=(O=l(P,N))&&O.value:M=P[N],!m(C?N:x+(A?".":"#")+N,y.forced)&&void 0!==M){if(typeof B==typeof M)continue;v(B,M)}(y.sham||M&&M.sham)&&c(B,"sham",!0),p(P,N,B,y)}}},79039(f){"use strict";f.exports=function(g){try{return!!g()}catch{return!0}}},89228(f,g,s){"use strict";s(27495);var o=s(69565),l=s(36840),c=s(57323),p=s(79039),h=s(78227),v=s(66699),m=h("species"),y=RegExp.prototype;f.exports=function(E,x,C,A){var w=h(E),P=!p(function(){var O={};return O[w]=function(){return 7},7!==""[E](O)}),N=P&&!p(function(){var O=!1,R=/a/;if("split"===E){var k={};k[m]=function(){return R},(R={constructor:k,flags:""})[w]=/./[w]}return R.exec=function(){return O=!0,null},R[w](""),!O});if(!P||!N||C){var M=/./[w],B=x(w,""[E],function(O,R,k,L,F){var V=R.exec;return V===c||V===y.exec?P&&!F?{done:!0,value:o(M,R,k,L)}:{done:!0,value:o(O,k,R,L)}:{done:!1}});l(String.prototype,E,B[0]),l(y,w,B[1])}A&&v(y[w],"sham",!0)}},70259(f,g,s){"use strict";var o=s(34376),l=s(26198),c=s(96837),p=s(76080),h=s(97040),v=function(m,y,E,x,C,A,w,P){for(var O,R,N=C,M=0,B=!!w&&p(w,P);M<x;)M in E&&(O=B?B(E[M],M,y):E[M],A>0&&o(O)?(R=l(O),N=v(m,y,O,R,N,A-1)-1):(c(N+1),h(m,N,O)),N++),M++;return N};f.exports=v},92744(f,g,s){"use strict";var o=s(79039);f.exports=!o(function(){return Object.isExtensible(Object.preventExtensions({}))})},18745(f,g,s){"use strict";var o=s(40616),l=Function.prototype,c=l.apply,p=l.call;f.exports="object"==typeof Reflect&&Reflect.apply||(o?p.bind(c):function(){return p.apply(c,arguments)})},76080(f,g,s){"use strict";var o=s(27476),l=s(79306),c=s(40616),p=o(o.bind);f.exports=function(h,v){return l(h),void 0===v?h:c?p(h,v):function(){return h.apply(v,arguments)}}},40616(f,g,s){"use strict";var o=s(79039);f.exports=!o(function(){var l=function(){}.bind();return"function"!=typeof l||l.hasOwnProperty("prototype")})},30566(f,g,s){"use strict";var o=s(79504),l=s(79306),c=s(20034),p=s(39297),h=s(67680),v=s(40616),m=Function,y=o([].concat),E=o([].join),x={};f.exports=v?m.bind:function(w){var P=l(this),N=P.prototype,M=h(arguments,1),B=function(){var R=y(M,h(arguments));return this instanceof B?function(A,w,P){if(!p(x,w)){for(var N=[],M=0;M<w;M++)N[M]="a["+M+"]";x[w]=m("C,a","return new C("+E(N,",")+")")}return x[w](A,P)}(P,R.length,R):P.apply(w,R)};return c(N)&&(B.prototype=N),B}},69565(f,g,s){"use strict";var o=s(40616),l=Function.prototype.call;f.exports=o?l.bind(l):function(){return l.apply(l,arguments)}},12865(f,g,s){"use strict";var o=s(79504),l=s(79306);f.exports=function(){return o(l(this))}},10350(f,g,s){"use strict";var o=s(43724),l=s(39297),c=Function.prototype,p=o&&Object.getOwnPropertyDescriptor,h=l(c,"name"),v=h&&"something"===function(){}.name,m=h&&(!o||o&&p(c,"name").configurable);f.exports={EXISTS:h,PROPER:v,CONFIGURABLE:m}},46706(f,g,s){"use strict";var o=s(79504),l=s(79306);f.exports=function(c,p,h){try{return o(l(Object.getOwnPropertyDescriptor(c,p)[h]))}catch{}}},27476(f,g,s){"use strict";var o=s(22195),l=s(79504);f.exports=function(c){if("Function"===o(c))return l(c)}},79504(f,g,s){"use strict";var o=s(40616),l=Function.prototype,c=l.call,p=o&&l.bind.bind(c,c);f.exports=o?p:function(h){return function(){return c.apply(h,arguments)}}},944(f){"use strict";var g=TypeError;f.exports=function(s){var o=s&&s.alphabet;if(void 0===o||"base64"===o||"base64url"===o)return o||"base64";throw new g("Incorrect `alphabet` option")}},1886(f,g,s){"use strict";var o=s(69565),l=s(24074),c=s(28551),p=s(70081),h=s(1767),v=s(55966),y=s(78227)("asyncIterator");f.exports=function(E,x){var C=arguments.length<2?v(E,y):x;return C?c(o(C,E)):new l(h(p(E)))}},44124(f,g,s){"use strict";var o=s(44576);f.exports=function(l,c){var p=o[l],h=p&&p.prototype;return h&&h[c]}},97751(f,g,s){"use strict";var o=s(44576),l=s(94901);f.exports=function(p,h){return arguments.length<2?function(p){return l(p)?p:void 0}(o[p]):o[p]&&o[p][h]}},1767(f){"use strict";f.exports=function(g){return{iterator:g,next:g.next,done:!1}}},50851(f,g,s){"use strict";var o=s(36955),l=s(55966),c=s(64117),p=s(26269),v=s(78227)("iterator");f.exports=function(m){if(!c(m))return l(m,v)||l(m,"@@iterator")||p[o(m)]}},70081(f,g,s){"use strict";var o=s(69565),l=s(79306),c=s(28551),p=s(16823),h=s(50851),v=TypeError;f.exports=function(m,y){var E=arguments.length<2?h(m):y;if(l(E))return c(o(E,m));throw new v(p(m)+" is not iterable")}},55966(f,g,s){"use strict";var o=s(79306),l=s(64117);f.exports=function(c,p){var h=c[p];return l(h)?void 0:o(h)}},83789(f,g,s){"use strict";var o=s(79306),l=s(28551),c=s(69565),p=s(91291),h=s(1767),v="Invalid size",m=RangeError,y=TypeError,E=Math.max,x=function(C,A){this.set=C,this.size=E(A,0),this.has=o(C.has),this.keys=o(C.keys)};x.prototype={getIterator:function(){return h(l(c(this.keys,this.set)))},includes:function(C){return c(this.has,this.set,C)}},f.exports=function(C){l(C);var A=+C.size;if(A!=A)throw new y(v);var w=p(A);if(w<0)throw new m(v);return new x(C,w)}},2478(f,g,s){"use strict";var o=s(79504),l=s(48981),c=Math.floor,p=o("".charAt),h=o("".replace),v=o("".slice),m=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,y=/\$([$&'`]|\d{1,2})/g;f.exports=function(E,x,C,A,w,P){var N=C+E.length,M=A.length,B=y;return void 0!==w&&(w=l(w),B=m),h(P,B,function(O,R){var k;switch(p(R,0)){case"$":return"$";case"&":return E;case"`":return v(x,0,C);case"'":return v(x,N);case"<":k=w[v(R,1,-1)];break;default:var L=+R;if(0===L)return O;if(L>M){var F=c(L/10);return 0===F?O:F<=M?void 0===A[F-1]?p(R,1):A[F-1]+p(R,1):O}k=A[L-1]}return void 0===k?"":k})}},44576(f){"use strict";var g=function(s){return s&&s.Math===Math&&s};f.exports=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof global&&global)||g("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297(f,g,s){"use strict";var o=s(79504),l=s(48981),c=o({}.hasOwnProperty);f.exports=Object.hasOwn||function(h,v){return c(l(h),v)}},30421(f){"use strict";f.exports={}},90757(f){"use strict";f.exports=function(g,s){try{1===arguments.length?console.error(g):console.error(g,s)}catch{}}},20397(f,g,s){"use strict";var o=s(97751);f.exports=o("document","documentElement")},35917(f,g,s){"use strict";var o=s(43724),l=s(79039),c=s(4055);f.exports=!o&&!l(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},88490(f){"use strict";var g=Array,s=Math.abs,o=Math.pow,l=Math.floor,c=Math.log,p=Math.LN2;f.exports={pack:function(m,y,E){var B,O,R,x=g(E),C=8*E-y-1,A=(1<<C)-1,w=A>>1,P=23===y?o(2,-24)-o(2,-77):0,N=m<0||0===m&&1/m<0?1:0,M=0;for((m=s(m))!=m||m===1/0?(O=m!=m?1:0,B=A):(B=l(c(m)/p),m*(R=o(2,-B))<1&&(B--,R*=2),(m+=B+w>=1?P/R:P*o(2,1-w))*R>=2&&(B++,R/=2),B+w>=A?(O=0,B=A):B+w>=1?(O=(m*R-1)*o(2,y),B+=w):(O=m*o(2,w-1)*o(2,y),B=0));y>=8;)x[M++]=255&O,O/=256,y-=8;for(B=B<<y|O,C+=y;C>0;)x[M++]=255&B,B/=256,C-=8;return x[M-1]|=128*N,x},unpack:function(m,y){var B,E=m.length,x=8*E-y-1,C=(1<<x)-1,A=C>>1,w=x-7,P=E-1,N=m[P--],M=127&N;for(N>>=7;w>0;)M=256*M+m[P--],w-=8;for(B=M&(1<<-w)-1,M>>=-w,w+=y;w>0;)B=256*B+m[P--],w-=8;if(0===M)M=1-A;else{if(M===C)return B?NaN:N?-1/0:1/0;B+=o(2,y),M-=A}return(N?-1:1)*B*o(2,M-y)}}},47055(f,g,s){"use strict";var o=s(79504),l=s(79039),c=s(22195),p=Object,h=o("".split);f.exports=l(function(){return!p("z").propertyIsEnumerable(0)})?function(v){return"String"===c(v)?h(v,""):p(v)}:p},23167(f,g,s){"use strict";var o=s(94901),l=s(20034),c=s(52967);f.exports=function(p,h,v){var m,y;return c&&o(m=h.constructor)&&m!==v&&l(y=m.prototype)&&y!==v.prototype&&c(p,y),p}},33706(f,g,s){"use strict";var o=s(79504),l=s(94901),c=s(77629),p=o(Function.toString);l(c.inspectSource)||(c.inspectSource=function(h){return p(h)}),f.exports=c.inspectSource},3451(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(30421),p=s(20034),h=s(39297),v=s(24913).f,m=s(38480),y=s(10298),E=s(34124),x=s(33392),C=s(92744),A=!1,w=x("meta"),P=0,N=function(L){v(L,w,{value:{objectID:"O"+P++,weakData:{}}})},k=f.exports={enable:function(){k.enable=function(){},A=!0;var L=m.f,F=l([].splice),V={};V[w]=1,L(V).length&&(m.f=function(H){for(var $=L(H),G=0,X=$.length;G<X;G++)if($[G]===w){F($,G,1);break}return $},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:y.f}))},fastKey:function(L,F){if(!p(L))return"symbol"==typeof L?L:("string"==typeof L?"S":"P")+L;if(!h(L,w)){if(!E(L))return"F";if(!F)return"E";N(L)}return L[w].objectID},getWeakData:function(L,F){if(!h(L,w)){if(!E(L))return!0;if(!F)return!1;N(L)}return L[w].weakData},onFreeze:function(L){return C&&A&&E(L)&&!h(L,w)&&N(L),L}};c[w]=!0},91181(f,g,s){"use strict";var A,w,P,o=s(58622),l=s(44576),c=s(20034),p=s(66699),h=s(39297),v=s(77629),m=s(66119),y=s(30421),E="Object already initialized",x=l.TypeError,C=l.WeakMap;if(o||v.state){var B=v.state||(v.state=new C);B.get=B.get,B.has=B.has,B.set=B.set,A=function(R,k){if(B.has(R))throw new x(E);return k.facade=R,B.set(R,k),k},w=function(R){return B.get(R)||{}},P=function(R){return B.has(R)}}else{var O=m("state");y[O]=!0,A=function(R,k){if(h(R,O))throw new x(E);return k.facade=R,p(R,O,k),k},w=function(R){return h(R,O)?R[O]:{}},P=function(R){return h(R,O)}}f.exports={set:A,get:w,has:P,enforce:function(R){return P(R)?w(R):A(R,{})},getterFor:function(R){return function(k){var L;if(!c(k)||(L=w(k)).type!==R)throw new x("Incompatible receiver, "+R+" required");return L}}}},44209(f,g,s){"use strict";var o=s(78227),l=s(26269),c=o("iterator"),p=Array.prototype;f.exports=function(h){return void 0!==h&&(l.Array===h||p[c]===h)}},34376(f,g,s){"use strict";var o=s(22195);f.exports=Array.isArray||function(c){return"Array"===o(c)}},18727(f,g,s){"use strict";var o=s(36955);f.exports=function(l){var c=o(l);return"BigInt64Array"===c||"BigUint64Array"===c}},94901(f){"use strict";var g="object"==typeof document&&document.all;f.exports=typeof g>"u"&&void 0!==g?function(s){return"function"==typeof s||s===g}:function(s){return"function"==typeof s}},33517(f,g,s){"use strict";var o=s(79504),l=s(79039),c=s(94901),p=s(36955),h=s(97751),v=s(33706),m=function(){},y=h("Reflect","construct"),E=/^\s*(?:class|function)\b/,x=o(E.exec),C=!E.test(m),A=function(N){if(!c(N))return!1;try{return y(m,[],N),!0}catch{return!1}},w=function(N){if(!c(N))return!1;switch(p(N)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return C||!!x(E,v(N))}catch{return!0}};w.sham=!0,f.exports=!y||l(function(){var P;return A(A.call)||!A(Object)||!A(function(){P=!0})||P})?w:A},16575(f,g,s){"use strict";var o=s(39297);f.exports=function(l){return void 0!==l&&(o(l,"value")||o(l,"writable"))}},92796(f,g,s){"use strict";var o=s(79039),l=s(94901),c=/#|\.prototype\./,p=function(E,x){var C=v[h(E)];return C===y||C!==m&&(l(x)?o(x):!!x)},h=p.normalize=function(E){return String(E).replace(c,".").toLowerCase()},v=p.data={},m=p.NATIVE="N",y=p.POLYFILL="P";f.exports=p},2087(f,g,s){"use strict";var o=s(20034),l=Math.floor;f.exports=Number.isInteger||function(p){return!o(p)&&isFinite(p)&&l(p)===p}},31563(f,g,s){"use strict";var o=s(36955),l=s(39297),c=s(64117),p=s(78227),h=s(26269),v=p("iterator"),m=Object;f.exports=function(y){if(c(y))return!1;var E=m(y);return void 0!==E[v]||"@@iterator"in E||l(h,o(E))}},64117(f){"use strict";f.exports=function(g){return null==g}},20034(f,g,s){"use strict";var o=s(94901);f.exports=function(l){return"object"==typeof l?null!==l:o(l)}},13925(f,g,s){"use strict";var o=s(20034);f.exports=function(l){return o(l)||null===l}},96395(f){"use strict";f.exports=!1},65810(f,g,s){"use strict";var o=s(20034),l=s(91181).get;f.exports=function(p){if(!o(p))return!1;var h=l(p);return!!h&&"RawJSON"===h.type}},60788(f,g,s){"use strict";var o=s(20034),l=s(22195),p=s(78227)("match");f.exports=function(h){var v;return o(h)&&(void 0!==(v=h[p])?!!v:"RegExp"===l(h))}},10757(f,g,s){"use strict";var o=s(97751),l=s(94901),c=s(1625),p=s(7040),h=Object;f.exports=p?function(v){return"symbol"==typeof v}:function(v){var m=o("Symbol");return l(m)&&c(m.prototype,h(v))}},40507(f,g,s){"use strict";var o=s(69565);f.exports=function(l,c,p){for(var m,y,h=p?l:l.iterator,v=l.next;!(m=o(v,h)).done;)if(void 0!==(y=c(m.value)))return y}},72652(f,g,s){"use strict";var o=s(76080),l=s(69565),c=s(28551),p=s(16823),h=s(44209),v=s(26198),m=s(1625),y=s(70081),E=s(50851),x=s(9539),C=TypeError,A=function(P,N){this.stopped=P,this.result=N},w=A.prototype;f.exports=function(P,N,M){var V,H,$,G,X,Z,Q,B=M&&M.that,O=!(!M||!M.AS_ENTRIES),R=!(!M||!M.IS_RECORD),k=!(!M||!M.IS_ITERATOR),L=!(!M||!M.INTERRUPTED),F=o(N,B),J=function(te){var ce=V;return V=void 0,ce&&x(ce,"normal"),new A(!0,te)},ne=function(te){return O?(c(te),L?F(te[0],te[1],J):F(te[0],te[1])):L?F(te,J):F(te)};if(R)V=P.iterator;else if(k)V=P;else{if(!(H=E(P)))throw new C(p(P)+" is not iterable");if(h(H)){for($=0,G=v(P);G>$;$++)if((X=ne(P[$]))&&m(w,X))return X;return new A(!1)}V=y(P,H)}for(Z=R?P.next:V.next;!(Q=l(Z,V)).done;){var he=Q.value;try{X=ne(he)}catch(te){if(!V)throw te;x(V,"throw",te)}if("object"==typeof X&&X&&m(w,X))return X}return new A(!1)}},9539(f,g,s){"use strict";var o=s(69565),l=s(28551),c=s(55966);f.exports=function(p,h,v){var m,y;l(p);try{if(!(m=c(p,"return"))){if("throw"===h)throw v;return v}m=o(m,p)}catch(E){y=!0,m=E}if("throw"===h)throw v;if(y)throw m;return l(m),v}},33994(f,g,s){"use strict";var o=s(57657).IteratorPrototype,l=s(2360),c=s(6980),p=s(10687),h=s(26269),v=function(){return this};f.exports=function(m,y,E,x){var C=y+" Iterator";return m.prototype=l(o,{next:c(+!x,E)}),p(m,C,!1,!0),h[C]=v,m}},51088(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(96395),p=s(10350),h=s(94901),v=s(33994),m=s(42787),y=s(52967),E=s(10687),x=s(66699),C=s(36840),A=s(78227),w=s(26269),P=s(57657),N=p.PROPER,M=p.CONFIGURABLE,B=P.IteratorPrototype,O=P.BUGGY_SAFARI_ITERATORS,R=A("iterator"),k="keys",L="values",F="entries",V=function(){return this};f.exports=function(H,$,G,X,Z,Q,J){v(G,$,X);var Ee,Ce,Oe,ne=function(Ue){if(Ue===Z&&ae)return ae;if(!O&&Ue&&Ue in ce)return ce[Ue];switch(Ue){case k:case L:case F:return function(){return new G(this,Ue)}}return function(){return new G(this)}},he=$+" Iterator",te=!1,ce=H.prototype,ge=ce[R]||ce["@@iterator"]||Z&&ce[Z],ae=!O&&ge||ne(Z),ye="Array"===$&&ce.entries||ge;if(ye&&((Ee=m(ye.call(new H)))!==Object.prototype&&Ee.next&&(!c&&m(Ee)!==B&&(y?y(Ee,B):h(Ee[R])||C(Ee,R,V)),E(Ee,he,!0,!0),c&&(w[he]=V))),N&&Z===L&&ge&&ge.name!==L&&(!c&&M?x(ce,"name",L):(te=!0,ae=function(){return l(ge,this)})),Z)if(Ce={values:ne(L),keys:Q?ae:ne(k),entries:ne(F)},J)for(Oe in Ce)(O||te||!(Oe in ce))&&C(ce,Oe,Ce[Oe]);else o({target:$,proto:!0,forced:O||te},Ce);return(!c||J)&&ce[R]!==ae&&C(ce,R,ae,{name:Z}),w[$]=ae,Ce}},57657(f,g,s){"use strict";var C,A,w,o=s(79039),l=s(94901),c=s(20034),p=s(2360),h=s(42787),v=s(36840),m=s(78227),y=s(96395),E=m("iterator"),x=!1;[].keys&&("next"in(w=[].keys())?(A=h(h(w)))!==Object.prototype&&(C=A):x=!0),!c(C)||o(function(){var N={};return C[E].call(N)!==N})?C={}:y&&(C=p(C)),l(C[E])||v(C,E,function(){return this}),f.exports={IteratorPrototype:C,BUGGY_SAFARI_ITERATORS:x}},26269(f){"use strict";f.exports={}},26198(f,g,s){"use strict";var o=s(18014);f.exports=function(l){return o(l.length)}},50283(f,g,s){"use strict";var o=s(79504),l=s(79039),c=s(94901),p=s(39297),h=s(43724),v=s(10350).CONFIGURABLE,m=s(33706),y=s(91181),E=y.enforce,x=y.get,C=String,A=Object.defineProperty,w=o("".slice),P=o("".replace),N=o([].join),M=h&&!l(function(){return 8!==A(function(){},"length",{value:8}).length}),B=String(String).split("String"),O=f.exports=function(R,k,L){"Symbol("===w(C(k),0,7)&&(k="["+P(C(k),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),L&&L.getter&&(k="get "+k),L&&L.setter&&(k="set "+k),(!p(R,"name")||v&&R.name!==k)&&(h?A(R,"name",{value:k,configurable:!0}):R.name=k),M&&L&&p(L,"arity")&&R.length!==L.arity&&A(R,"length",{value:L.arity});try{L&&p(L,"constructor")&&L.constructor?h&&A(R,"prototype",{writable:!1}):R.prototype&&(R.prototype=void 0)}catch{}var F=E(R);return p(F,"source")||(F.source=N(B,"string"==typeof k?k:"")),R};Function.prototype.toString=O(function(){return c(this)&&x(this).source||m(this)},"toString")},72248(f,g,s){"use strict";var o=s(79504),l=Map.prototype;f.exports={Map,set:o(l.set),get:o(l.get),has:o(l.has),remove:o(l.delete),proto:l}},26223(f,g,s){"use strict";var o=s(79504),l=s(40507),c=s(72248),p=c.Map,h=c.proto,v=o(h.forEach),m=o(h.entries),y=m(new p).next;f.exports=function(E,x,C){return C?l({iterator:m(E),next:y},function(A){return x(A[1],A[0])}):v(E,x)}},162(f,g,s){"use strict";var o=s(69565),l=s(79306),c=s(94901),p=s(28551),h=TypeError;f.exports=function(m,y){var P,E=p(this),x=l(E.get),C=l(E.has),A=l(E.set),w=arguments.length>2?arguments[2]:void 0;if(!c(y)&&!c(w))throw new h("At least one callback required");return o(C,E,m)?(P=o(x,E,m),c(y)&&(P=y(P),o(A,E,m,P))):c(w)&&(P=w(),o(A,E,m,P)),P}},44472(f,g,s){"use strict";var o=s(19767),l=Math.min,c=Math.max;f.exports=function(h,v,m){return l(c(o(h),o(v)),o(m))}},53250(f){"use strict";var g=Math.expm1,s=Math.exp;f.exports=!g||g(10)>22025.465794806718||g(10)<22025.465794806718||-2e-17!==g(-2e-17)?function(l){var c=+l;return 0===c?c:c>-1e-6&&c<1e-6?c+c*c/2:s(c)-1}:g},33164(f,g,s){"use strict";var o=s(77782),l=s(53602),c=Math.abs;f.exports=function(h,v,m,y){var E=+h,x=c(E),C=o(E);if(x<y)return C*l(x/y/v)*y*v;var A=(1+v/2220446049250313e-31)*x,w=A-(A-x);return w>m||w!=w?C*(1/0):C*w}},37998(f,g,s){"use strict";var o=s(33164);f.exports=Math.fround||function(v){return o(v,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},49340(f){"use strict";var g=Math.log,s=Math.LOG10E;f.exports=Math.log10||function(l){return g(l)*s}},7740(f){"use strict";var g=Math.log;f.exports=Math.log1p||function(o){var l=+o;return l>-1e-8&&l<1e-8?l-l*l/2:g(1+l)}},67787(f){"use strict";var g=Math.log,s=Math.LN2;f.exports=Math.log2||function(l){return g(l)/s}},53602(f){"use strict";var s=4503599627370496;f.exports=function(o){return o+s-s}},77905(f){"use strict";f.exports=function(s,o,l,c,p){var h=+s,v=+o,m=+l,y=+c,E=+p;return h!=h||v!=v||m!=m||y!=y||E!=E?NaN:h===1/0||h===-1/0?h:(h-v)*(E-y)/(m-v)+y}},77782(f){"use strict";f.exports=Math.sign||function(s){var o=+s;return 0===o||o!=o?o:o<0?-1:1}},80741(f){"use strict";var g=Math.ceil,s=Math.floor;f.exports=Math.trunc||function(l){var c=+l;return(c>0?s:g)(c)}},91955(f,g,s){"use strict";var N,M,B,O,R,o=s(44576),l=s(93389),c=s(76080),p=s(59225).set,h=s(18265),v=s(89544),m=s(44265),y=s(7860),E=s(16193),x=o.MutationObserver||o.WebKitMutationObserver,C=o.document,A=o.process,w=o.Promise,P=l("queueMicrotask");if(!P){var k=new h,L=function(){var F,V;for(E&&(F=A.domain)&&F.exit();V=k.get();)try{V()}catch(H){throw k.head&&N(),H}F&&F.enter()};v||E||y||!x||!C?!m&&w&&w.resolve?((O=w.resolve(void 0)).constructor=w,R=c(O.then,O),N=function(){R(L)}):E?N=function(){A.nextTick(L)}:(p=c(p,o),N=function(){p(L)}):(M=!0,B=C.createTextNode(""),new x(L).observe(B,{characterData:!0}),N=function(){B.data=M=!M}),P=function(F){k.head||N(),k.add(F)}}f.exports=P},27819(f,g,s){"use strict";var o=s(79039);f.exports=!o(function(){var l="9007199254740993",c=JSON.rawJSON(l);return!JSON.isRawJSON(c)||JSON.stringify(c)!==l})},36043(f,g,s){"use strict";var o=s(79306),l=TypeError,c=function(p){var h,v;this.promise=new p(function(m,y){if(void 0!==h||void 0!==v)throw new l("Bad Promise constructor");h=m,v=y}),this.resolve=o(h),this.reject=o(v)};f.exports.f=function(p){return new c(p)}},60511(f,g,s){"use strict";var o=s(60788),l=TypeError;f.exports=function(c){if(o(c))throw new l("The method doesn't accept regular expressions");return c}},50360(f,g,s){"use strict";var l=s(44576).isFinite;f.exports=Number.isFinite||function(p){return"number"==typeof p&&l(p)}},33904(f,g,s){"use strict";var o=s(44576),l=s(79039),c=s(79504),p=s(655),h=s(43802).trim,v=s(47452),m=c("".charAt),y=o.parseFloat,E=o.Symbol,x=E&&E.iterator,C=1/y(v+"-0")!=-1/0||x&&!l(function(){y(Object(x))});f.exports=C?function(w){var P=h(p(w)),N=y(P);return 0===N&&"-"===m(P,0)?-0:N}:y},52703(f,g,s){"use strict";var o=s(44576),l=s(79039),c=s(79504),p=s(655),h=s(43802).trim,v=s(47452),m=o.parseInt,y=o.Symbol,E=y&&y.iterator,x=/^[+-]?0x/i,C=c(x.exec),A=8!==m(v+"08")||22!==m(v+"0x16")||E&&!l(function(){m(Object(E))});f.exports=A?function(P,N){var M=h(p(P));return m(M,N>>>0||(C(x,M)?16:10))}:m},14468(f,g,s){"use strict";var o=s(91181),l=s(33994),c=s(62529),p=s(64117),h=s(20034),v=s(62106),m=s(43724),y="Incorrect Iterator.range arguments",E="NumericRangeIterator",x=o.set,C=o.getterFor(E),A=RangeError,w=TypeError,P=l(function(B,O,R,k,L,F){if(B!=B||O!=O)throw new A(y);if(typeof B!=k||O!==1/0&&O!==-1/0&&typeof O!=k)throw new w(y);if(B===1/0||B===-1/0)throw new A(y);var $,V=O>B,H=!1;if(p(R))$=void 0;else if(h(R))$=R.step,H=!!R.inclusive;else{if(typeof R!=k)throw new w(y);$=R}if(p($)&&($=V?F:-F),typeof $!=k)throw new w(y);if($!=$||$===1/0||$===-1/0||$===L&&B!==O)throw new A(y);x(this,{type:E,start:B,end:O,step:$,inclusive:H,hitsEnd:O>B!=$>L,currentCount:L,zero:L}),m||(this.start=B,this.end=O,this.step=$,this.inclusive=H)},E,function(){var B=C(this);if(B.hitsEnd)return c(void 0,!0);var O=B.start,R=B.end,L=O+B.step*B.currentCount++;L===R&&(B.hitsEnd=!0);var F=B.inclusive;return(R>O?F?L>R:L>=R:F?R>L:R>=L)?(B.hitsEnd=!0,c(void 0,!0)):c(L,!1)}),N=function(M){v(P.prototype,M,{get:function(){return C(this)[M]},set:function(){},configurable:!0,enumerable:!1})};m&&(N("start"),N("end"),N("inclusive"),N("step")),f.exports=P},44213(f,g,s){"use strict";var o=s(43724),l=s(79504),c=s(69565),p=s(79039),h=s(71072),v=s(33717),m=s(48773),y=s(48981),E=s(47055),x=Object.assign,C=Object.defineProperty,A=l([].concat);f.exports=!x||p(function(){if(o&&1!==x({b:1},x(C({},"a",{enumerable:!0,get:function(){C(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var w={},P={},N=Symbol("assign detection"),M="abcdefghijklmnopqrst";return w[N]=7,M.split("").forEach(function(B){P[B]=B}),7!==x({},w)[N]||h(x({},P)).join("")!==M})?function(P,N){for(var M=y(P),B=arguments.length,O=1,R=v.f,k=m.f;B>O;)for(var $,L=E(arguments[O++]),F=R?A(h(L),R(L)):h(L),V=F.length,H=0;V>H;)$=F[H++],(!o||c(k,L,$))&&(M[$]=L[$]);return M}:x},2360(f,g,s){"use strict";var B,o=s(28551),l=s(96801),c=s(88727),p=s(30421),h=s(20397),v=s(4055),m=s(66119),x="prototype",C="script",A=m("IE_PROTO"),w=function(){},P=function(R){return"<"+C+">"+R+"</"+C+">"},N=function(R){R.write(P("")),R.close();var k=R.parentWindow.Object;return R=null,k},O=function(){try{B=new ActiveXObject("htmlfile")}catch{}O=typeof document<"u"?document.domain&&B?N(B):function(){var L,R=v("iframe"),k="java"+C+":";return R.style.display="none",h.appendChild(R),R.src=String(k),(L=R.contentWindow.document).open(),L.write(P("document.F=Object")),L.close(),L.F}():N(B);for(var R=c.length;R--;)delete O[x][c[R]];return O()};p[A]=!0,f.exports=Object.create||function(k,L){var F;return null!==k?(w[x]=o(k),F=new w,w[x]=null,F[A]=k):F=O(),void 0===L?F:l.f(F,L)}},96801(f,g,s){"use strict";var o=s(43724),l=s(48686),c=s(24913),p=s(28551),h=s(25397),v=s(71072);g.f=o&&!l?Object.defineProperties:function(y,E){p(y);for(var P,x=h(E),C=v(E),A=C.length,w=0;A>w;)c.f(y,P=C[w++],x[P]);return y}},24913(f,g,s){"use strict";var o=s(43724),l=s(35917),c=s(48686),p=s(28551),h=s(56969),v=TypeError,m=Object.defineProperty,y=Object.getOwnPropertyDescriptor,E="enumerable",x="configurable",C="writable";g.f=o?c?function(w,P,N){if(p(w),P=h(P),p(N),"function"==typeof w&&"prototype"===P&&"value"in N&&C in N&&!N[C]){var M=y(w,P);M&&M[C]&&(w[P]=N.value,N={configurable:x in N?N[x]:M[x],enumerable:E in N?N[E]:M[E],writable:!1})}return m(w,P,N)}:m:function(w,P,N){if(p(w),P=h(P),p(N),l)try{return m(w,P,N)}catch{}if("get"in N||"set"in N)throw new v("Accessors not supported");return"value"in N&&(w[P]=N.value),w}},77347(f,g,s){"use strict";var o=s(43724),l=s(69565),c=s(48773),p=s(6980),h=s(25397),v=s(56969),m=s(39297),y=s(35917),E=Object.getOwnPropertyDescriptor;g.f=o?E:function(C,A){if(C=h(C),A=v(A),y)try{return E(C,A)}catch{}if(m(C,A))return p(!l(c.f,C,A),C[A])}},10298(f,g,s){"use strict";var o=s(22195),l=s(25397),c=s(38480).f,p=s(67680),h="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];f.exports.f=function(y){return h&&"Window"===o(y)?function(m){try{return c(m)}catch{return p(h)}}(y):c(l(y))}},38480(f,g,s){"use strict";var o=s(61828),c=s(88727).concat("length","prototype");g.f=Object.getOwnPropertyNames||function(h){return o(h,c)}},33717(f,g){"use strict";g.f=Object.getOwnPropertySymbols},42787(f,g,s){"use strict";var o=s(39297),l=s(94901),c=s(48981),p=s(66119),h=s(12211),v=p("IE_PROTO"),m=Object,y=m.prototype;f.exports=h?m.getPrototypeOf:function(E){var x=c(E);if(o(x,v))return x[v];var C=x.constructor;return l(C)&&x instanceof C?C.prototype:x instanceof m?y:null}},34124(f,g,s){"use strict";var o=s(79039),l=s(20034),c=s(22195),p=s(15652),h=Object.isExtensible,v=o(function(){h(1)});f.exports=v||p?function(y){return!(!l(y)||p&&"ArrayBuffer"===c(y))&&(!h||h(y))}:h},1625(f,g,s){"use strict";var o=s(79504);f.exports=o({}.isPrototypeOf)},91354(f,g,s){"use strict";var o=s(91181),l=s(33994),c=s(62529),p=s(39297),h=s(71072),v=s(48981),m="Object Iterator",y=o.set,E=o.getterFor(m);f.exports=l(function(C,A){var w=v(C);y(this,{type:m,mode:A,object:w,keys:h(w),index:0})},"Object",function(){for(var C=E(this),A=C.keys;;){if(null===A||C.index>=A.length)return C.object=C.keys=null,c(void 0,!0);var w=A[C.index++],P=C.object;if(p(P,w)){switch(C.mode){case"keys":return c(w,!1);case"values":return c(P[w],!1)}return c([w,P[w]],!1)}}})},61828(f,g,s){"use strict";var o=s(79504),l=s(39297),c=s(25397),p=s(19617).indexOf,h=s(30421),v=o([].push);f.exports=function(m,y){var A,E=c(m),x=0,C=[];for(A in E)!l(h,A)&&l(E,A)&&v(C,A);for(;y.length>x;)l(E,A=y[x++])&&(~p(C,A)||v(C,A));return C}},71072(f,g,s){"use strict";var o=s(61828),l=s(88727);f.exports=Object.keys||function(p){return o(p,l)}},48773(f,g){"use strict";var s={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,l=o&&!s.call({1:2},1);g.f=l?function(p){var h=o(this,p);return!!h&&h.enumerable}:s},42551(f,g,s){"use strict";var o=s(96395),l=s(44576),c=s(79039),p=s(3607);f.exports=o||!c(function(){if(!(p&&p<535)){var h=Math.random();__defineSetter__.call(null,h,function(){}),delete l[h]}})},52967(f,g,s){"use strict";var o=s(46706),l=s(20034),c=s(67750),p=s(73506);f.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m,h=!1,v={};try{(m=o(Object.prototype,"__proto__","set"))(v,[]),h=v instanceof Array}catch{}return function(E,x){return c(E),p(x),l(E)&&(h?m(E,x):E.__proto__=x),E}}():void 0)},32357(f,g,s){"use strict";var o=s(43724),l=s(79039),c=s(79504),p=s(42787),h=s(71072),v=s(25397),y=c(s(48773).f),E=c([].push),x=o&&l(function(){var A=Object.create(null);return A[2]=2,!y(A,2)}),C=function(A){return function(w){for(var k,P=v(w),N=h(P),M=x&&null===p(P),B=N.length,O=0,R=[];B>O;)k=N[O++],(!o||(M?k in P:y(P,k)))&&E(R,A?[k,P[k]]:P[k]);return R}};f.exports={entries:C(!0),values:C(!1)}},53179(f,g,s){"use strict";var o=s(92140),l=s(36955);f.exports=o?{}.toString:function(){return"[object "+l(this)+"]"}},84270(f,g,s){"use strict";var o=s(69565),l=s(94901),c=s(20034),p=TypeError;f.exports=function(h,v){var m,y;if("string"===v&&l(m=h.toString)&&!c(y=o(m,h))||l(m=h.valueOf)&&!c(y=o(m,h))||"string"!==v&&l(m=h.toString)&&!c(y=o(m,h)))return y;throw new p("Can't convert object to primitive value")}},35031(f,g,s){"use strict";var o=s(97751),l=s(79504),c=s(38480),p=s(33717),h=s(28551),v=l([].concat);f.exports=o("Reflect","ownKeys")||function(y){var E=c.f(h(y)),x=p.f;return x?v(E,x(y)):E}},616(f,g,s){"use strict";var o=s(79504),l=s(39297),c=SyntaxError,p=parseInt,h=String.fromCharCode,v=o("".charAt),m=o("".slice),y=o(/./.exec),E={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},x=/^[\da-f]{4}$/i,C=/^[\u0000-\u001F]$/;f.exports=function(A,w){for(var P=!0,N="";w<A.length;){var M=v(A,w);if("\\"===M){var B=m(A,w,w+2);if(l(E,B))N+=E[B],w+=2;else{if("\\u"!==B)throw new c('Unknown escape sequence: "'+B+'"');var O=m(A,w+=2,w+4);if(!y(x,O))throw new c("Bad Unicode escape at: "+w);N+=h(p(O,16)),w+=4}}else{if('"'===M){P=!1,w++;break}if(y(C,M))throw new c("Bad control character in string literal at: "+w);N+=M,w++}}if(P)throw new c("Unterminated string at: "+w);return{value:N,end:w}}},19167(f,g,s){"use strict";var o=s(44576);f.exports=o},1103(f){"use strict";f.exports=function(g){try{return{error:!1,value:g()}}catch(s){return{error:!0,value:s}}}},10916(f,g,s){"use strict";var o=s(44576),l=s(80550),c=s(94901),p=s(92796),h=s(33706),v=s(78227),m=s(84215),y=s(96395),E=s(39519),x=l&&l.prototype,C=v("species"),A=!1,w=c(o.PromiseRejectionEvent),P=p("Promise",function(){var N=h(l),M=N!==String(l);if(!M&&66===E||y&&(!x.catch||!x.finally))return!0;if(!E||E<51||!/native code/.test(N)){var B=new l(function(k){k(1)}),O=function(k){k(function(){},function(){})};if((B.constructor={})[C]=O,!(A=B.then(function(){})instanceof O))return!0}return!(M||"BROWSER"!==m&&"DENO"!==m||w)});f.exports={CONSTRUCTOR:P,REJECTION_EVENT:w,SUBCLASSING:A}},80550(f,g,s){"use strict";var o=s(44576);f.exports=o.Promise},93438(f,g,s){"use strict";var o=s(28551),l=s(20034),c=s(36043);f.exports=function(p,h){if(o(p),l(h)&&h.constructor===p)return h;var v=c.f(p);return(0,v.resolve)(h),v.promise}},90537(f,g,s){"use strict";var o=s(80550),l=s(84428),c=s(10916).CONSTRUCTOR;f.exports=c||!l(function(p){o.all(p).then(void 0,function(){})})},11056(f,g,s){"use strict";var o=s(24913).f;f.exports=function(l,c,p){p in l||o(l,p,{configurable:!0,get:function(){return c[p]},set:function(h){c[p]=h}})}},18265(f){"use strict";var g=function(){this.head=null,this.tail=null};g.prototype={add:function(s){var o={item:s,next:null},l=this.tail;l?l.next=o:this.head=o,this.tail=o},get:function(){var s=this.head;if(s)return null===(this.head=s.next)&&(this.tail=null),s.item}},f.exports=g},18449(f,g,s){"use strict";s(36033),s(73772);var o=s(97751),l=s(79504),c=s(25745),p=o("Map"),h=o("WeakMap"),v=l([].push),m=c("metadata"),y=m.store||(m.store=new h),E=function(N,M,B){var O=y.get(N);if(!O){if(!B)return;y.set(N,O=new p)}var R=O.get(M);if(!R){if(!B)return;O.set(M,R=new p)}return R};f.exports={store:y,getMap:E,has:function(N,M,B){var O=E(M,B,!1);return void 0!==O&&O.has(N)},get:function(N,M,B){var O=E(M,B,!1);return void 0===O?void 0:O.get(N)},set:function(N,M,B,O){E(B,O,!0).set(N,M)},keys:function(N,M){var B=E(N,M,!1),O=[];return B&&B.forEach(function(R,k){v(O,k)}),O},toKey:function(N){return void 0===N||"symbol"==typeof N?N:String(N)}}},56682(f,g,s){"use strict";var o=s(69565),l=s(28551),c=s(94901),p=s(22195),h=s(57323),v=TypeError;f.exports=function(m,y){var E=m.exec;if(c(E)){var x=o(E,m,y);return null!==x&&l(x),x}if("RegExp"===p(m))return o(h,m,y);throw new v("RegExp#exec called on incompatible receiver")}},57323(f,g,s){"use strict";var V,H,o=s(69565),l=s(79504),c=s(655),p=s(67979),h=s(58429),v=s(25745),m=s(2360),y=s(91181).get,E=s(83635),x=s(18814),C=v("native-string-replace",String.prototype.replace),A=RegExp.prototype.exec,w=A,P=l("".charAt),N=l("".indexOf),M=l("".replace),B=l("".slice),O=(H=/b*/g,o(A,V=/a/,"a"),o(A,H,"a"),0!==V.lastIndex||0!==H.lastIndex),R=h.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],F=function(V,H){for(var $=V.groups=m(null),G=0;G<H.length;G++){var X=H[G];$[X[0]]=V[X[1]]}};(O||k||R||E||x)&&(w=function(H){var Q,J,ne,$=this,G=y($),X=c(H),Z=G.raw;if(Z)return Z.lastIndex=$.lastIndex,Q=o(w,Z,X),$.lastIndex=Z.lastIndex,Q&&G.groups&&F(Q,G.groups),Q;var he=G.groups,te=R&&$.sticky,ce=o(p,$),ge=$.source,ae=0,ye=X;if(te){ce=M(ce,"y",""),-1===N(ce,"g")&&(ce+="g"),ye=B(X,$.lastIndex);var Ee=$.lastIndex>0&&P(X,$.lastIndex-1);$.lastIndex>0&&(!$.multiline||$.multiline&&"\n"!==Ee&&"\r"!==Ee&&"\u2028"!==Ee&&"\u2029"!==Ee)&&(ge="(?: (?:"+ge+"))",ye=" "+ye,ae++),J=new RegExp("^(?:"+ge+")",ce)}k&&(J=new RegExp("^"+ge+"$(?!\\s)",ce)),O&&(ne=$.lastIndex);var Ce=o(A,te?J:$,ye);return te?Ce?(Ce.input=X,Ce[0]=B(Ce[0],ae),Ce.index=$.lastIndex,$.lastIndex+=Ce[0].length):$.lastIndex=0:O&&Ce&&($.lastIndex=$.global?Ce.index+Ce[0].length:ne),k&&Ce&&Ce.length>1&&o(C,Ce[0],J,function(){for(var Oe=1;Oe<arguments.length-2;Oe++)void 0===arguments[Oe]&&(Ce[Oe]=void 0)}),Ce&&he&&F(Ce,he),Ce}),f.exports=w},65213(f,g,s){"use strict";var o=s(44576),l=s(79039),c=o.RegExp,p=!l(function(){var h=!0;try{c(".","d")}catch{h=!1}var v={},m="",y=h?"dgimsy":"gimsy",E=function(w,P){Object.defineProperty(v,w,{get:function(){return m+=P,!0}})},x={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var C in h&&(x.hasIndices="d"),x)E(C,x[C]);return Object.getOwnPropertyDescriptor(c.prototype,"flags").get.call(v)!==y||m!==y});f.exports={correct:p}},67979(f,g,s){"use strict";var o=s(28551);f.exports=function(){var l=o(this),c="";return l.hasIndices&&(c+="d"),l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.unicodeSets&&(c+="v"),l.sticky&&(c+="y"),c}},61034(f,g,s){"use strict";var o=s(69565),l=s(39297),c=s(1625),p=s(65213),h=s(67979),v=RegExp.prototype;f.exports=p.correct?function(m){return m.flags}:function(m){return p.correct||!c(v,m)||l(m,"flags")?m.flags:o(h,m)}},58429(f,g,s){"use strict";var o=s(79039),c=s(44576).RegExp,p=o(function(){var m=c("a","y");return m.lastIndex=2,null!==m.exec("abcd")}),h=p||o(function(){return!c("a","y").sticky}),v=p||o(function(){var m=c("^r","gy");return m.lastIndex=2,null!==m.exec("str")});f.exports={BROKEN_CARET:v,MISSED_STICKY:h,UNSUPPORTED_Y:p}},83635(f,g,s){"use strict";var o=s(79039),c=s(44576).RegExp;f.exports=o(function(){var p=c(".","s");return!(p.dotAll&&p.test("\n")&&"s"===p.flags)})},18814(f,g,s){"use strict";var o=s(79039),c=s(44576).RegExp;f.exports=o(function(){var p=c("(?<a>b)","g");return"b"!==p.exec("b").groups.a||"bc"!=="b".replace(p,"$<a>c")})},67750(f,g,s){"use strict";var o=s(64117),l=TypeError;f.exports=function(c){if(o(c))throw new l("Can't call method on "+c);return c}},93389(f,g,s){"use strict";var o=s(44576),l=s(43724),c=Object.getOwnPropertyDescriptor;f.exports=function(p){if(!l)return o[p];var h=c(o,p);return h&&h.value}},33317(f){"use strict";f.exports=function(g,s){return g===s||g!=g&&s!=s}},3470(f){"use strict";f.exports=Object.is||function(s,o){return s===o?0!==s||1/s==1/o:s!=s&&o!=o}},89286(f,g,s){"use strict";var o=s(94402),l=s(38469),c=o.Set,p=o.add;f.exports=function(h){var v=new c;return l(h,function(m){p(v,m)}),v}},83440(f,g,s){"use strict";var o=s(97080),l=s(94402),c=s(89286),p=s(25170),h=s(83789),v=s(38469),m=s(40507),y=l.has,E=l.remove;f.exports=function(C){var A=o(this),w=h(C),P=c(A);return p(P)<=w.size?v(P,function(N){w.includes(N)&&E(P,N)}):m(w.getIterator(),function(N){y(P,N)&&E(P,N)}),P}},94402(f,g,s){"use strict";var o=s(79504),l=Set.prototype;f.exports={Set,add:o(l.add),has:o(l.has),remove:o(l.delete),proto:l}},68750(f,g,s){"use strict";var o=s(97080),l=s(94402),c=s(25170),p=s(83789),h=s(38469),v=s(40507),m=l.Set,y=l.add,E=l.has;f.exports=function(C){var A=o(this),w=p(C),P=new m;return c(A)>w.size?v(w.getIterator(),function(N){E(A,N)&&y(P,N)}):h(A,function(N){w.includes(N)&&y(P,N)}),P}},64449(f,g,s){"use strict";var o=s(97080),l=s(94402).has,c=s(25170),p=s(83789),h=s(38469),v=s(40507),m=s(9539);f.exports=function(E){var x=o(this),C=p(E);if(c(x)<=C.size)return!1!==h(x,function(w){if(C.includes(w))return!1},!0);var A=C.getIterator();return!1!==v(A,function(w){if(l(x,w))return m(A.iterator,"normal",!1)})}},53838(f,g,s){"use strict";var o=s(97080),l=s(25170),c=s(38469),p=s(83789);f.exports=function(v){var m=o(this),y=p(v);return!(l(m)>y.size)&&!1!==c(m,function(E){if(!y.includes(E))return!1},!0)}},28527(f,g,s){"use strict";var o=s(97080),l=s(94402).has,c=s(25170),p=s(83789),h=s(40507),v=s(9539);f.exports=function(y){var E=o(this),x=p(y);if(c(E)<x.size)return!1;var C=x.getIterator();return!1!==h(C,function(A){if(!l(E,A))return v(C.iterator,"normal",!1)})}},38469(f,g,s){"use strict";var o=s(79504),l=s(40507),c=s(94402),p=c.Set,h=c.proto,v=o(h.forEach),m=o(h.keys),y=m(new p).next;f.exports=function(E,x,C){return C?l({iterator:m(E),next:y},x):v(E,x)}},84916(f,g,s){"use strict";var o=s(97751),l=function(p){return{size:p,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},c=function(p){return{size:p,has:function(){return!0},keys:function(){throw new Error("e")}}};f.exports=function(p,h){var v=o("Set");try{(new v)[p](l(0));try{return(new v)[p](l(-1)),!1}catch{if(!h)return!0;try{return(new v)[p](c(-1/0)),!1}catch{return h(new v([1,2])[p](c(1/0)))}}}catch{return!1}}},39835(f){"use strict";f.exports=function(g){try{var s=new Set,o={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return s.clear(),s.add(4),function(){return{done:!0}}}})}},l=s[g](o);return 1===l.size&&4===l.values().next().value}catch{return!1}}},25170(f,g,s){"use strict";var o=s(46706),l=s(94402);f.exports=o(l.proto,"size","get")||function(c){return c.size}},87633(f,g,s){"use strict";var o=s(97751),l=s(62106),c=s(78227),p=s(43724),h=c("species");f.exports=function(v){var m=o(v);p&&m&&!m[h]&&l(m,h,{configurable:!0,get:function(){return this}})}},83650(f,g,s){"use strict";var o=s(97080),l=s(94402),c=s(89286),p=s(83789),h=s(40507),v=l.add,m=l.has,y=l.remove;f.exports=function(x){var C=o(this),A=p(x).getIterator(),w=c(C);return h(A,function(P){m(C,P)?y(w,P):v(w,P)}),w}},10687(f,g,s){"use strict";var o=s(24913).f,l=s(39297),p=s(78227)("toStringTag");f.exports=function(h,v,m){h&&!m&&(h=h.prototype),h&&!l(h,p)&&o(h,p,{configurable:!0,value:v})}},44204(f,g,s){"use strict";var o=s(97080),l=s(94402).add,c=s(89286),p=s(83789),h=s(40507);f.exports=function(m){var y=o(this),E=p(m).getIterator(),x=c(y);return h(E,function(C){l(x,C)}),x}},66119(f,g,s){"use strict";var o=s(25745),l=s(33392),c=o("keys");f.exports=function(p){return c[p]||(c[p]=l(p))}},77629(f,g,s){"use strict";var o=s(96395),l=s(44576),c=s(39433),p="__core-js_shared__",h=f.exports=l[p]||c(p,{});(h.versions||(h.versions=[])).push({version:"3.49.0",mode:o?"pure":"global",copyright:"\xa9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745(f,g,s){"use strict";var o=s(77629);f.exports=function(l,c){return o[l]||(o[l]=c||{})}},24674(f,g,s){"use strict";var o=s(28551),l=s(35548),c=s(64117),h=s(78227)("species");f.exports=function(v,m){var E,y=o(v).constructor;return void 0===y||c(E=o(y)[h])?m:l(E)}},74615(f,g,s){"use strict";var o=s(79504),l=s(25397),c=s(655),p=s(26198),h=TypeError,v=o([].push),m=o([].join);f.exports=function(E){var x=l(E),C=p(x);if(!C)return"";for(var A=arguments.length,w=[],P=0;;){var N=x[P++];if(void 0===N)throw new h("Incorrect template");if(v(w,c(N)),P===C)return m(w,"");P<A&&v(w,c(arguments[P]))}}},23061(f,g,s){"use strict";var o=s(79039);f.exports=function(l){return o(function(){var c=""[l]('"');return c!==c.toLowerCase()||c.split('"').length>3})}},68183(f,g,s){"use strict";var o=s(79504),l=s(91291),c=s(655),p=s(67750),h=o("".charAt),v=o("".charCodeAt),m=o("".slice),y=function(E){return function(x,C){var N,M,A=c(p(x)),w=l(C),P=A.length;return w<0||w>=P?E?"":void 0:(N=v(A,w))<55296||N>56319||w+1===P||(M=v(A,w+1))<56320||M>57343?E?h(A,w):N:E?m(A,w,w+2):M-56320+(N-55296<<10)+65536}};f.exports={codeAt:y(!1),charAt:y(!0)}},83063(f,g,s){"use strict";var o=s(82839);f.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},60533(f,g,s){"use strict";var o=s(79504),l=s(18014),c=s(655),p=s(94714),h=s(67750),v=o(p),m=o("".slice),y=Math.ceil,E=function(x){return function(C,A,w){var P=c(h(C)),N=l(A),M=P.length;if(N<=M)return P;var O,R,B=void 0===w?" ":c(w);return""===B?P:((R=v(B,y((O=N-M)/B.length))).length>O&&(R=m(R,0,O)),x?P+R:R+P)}};f.exports={start:E(!1),end:E(!0)}},58523(f,g,s){"use strict";var o=s(97751),l=s(79504),c=String.fromCharCode,p=o("String","fromCodePoint"),h=l("".charAt),v=l("".charCodeAt),m=l("".indexOf),y=l("".slice),N=function(O,R){var k=v(O,R);return k>=48&&k<=57},M=function(O,R,k){if(k>O.length||R>=k)return-1;for(var L=0;R<k;R++){var F=B(v(O,R));if(-1===F)return-1;L=16*L+F}return L},B=function(O){return O>=48&&O<=57?O-48:O>=97&&O<=102?O-97+10:O>=65&&O<=70?O-65+10:-1};f.exports=function(O){for(var F,R="",k=0,L=0;(L=m(O,"\\",L))>-1;){if(R+=y(O,k,L),++L===O.length)return;var V=h(O,L++);switch(V){case"b":R+="\b";break;case"t":R+="\t";break;case"n":R+="\n";break;case"v":R+="\v";break;case"f":R+="\f";break;case"r":R+="\r";break;case"\r":L<O.length&&"\n"===h(O,L)&&++L;case"\n":case"\u2028":case"\u2029":break;case"0":if(N(O,L))return;R+="\0";break;case"x":if(-1===(F=M(O,L,L+2)))return;L+=2,R+=c(F);break;case"u":if(L<O.length&&"{"===h(O,L)){var H=m(O,"}",++L);if(-1===H)return;F=M(O,L,H),L=H+1}else F=M(O,L,L+4),L+=4;if(-1===F||F>1114111)return;R+=p(F);break;default:if(N(V,0))return;R+=V}k=L}return R+y(O,k)}},94714(f,g,s){"use strict";var o=s(91291),l=s(655),c=s(67750),p=RangeError,h=Math.floor;f.exports=function(m){var y=l(c(this)),E="",x=o(m);if(x<0||x===1/0)throw new p("Wrong number of repetitions");for(;x>0;(x=h(x/2))&&(y+=y))x%2&&(E+=y);return E}},18866(f,g,s){"use strict";var o=s(43802).end,l=s(60706);f.exports=l("trimEnd")?function(){return o(this)}:"".trimEnd},60706(f,g,s){"use strict";var o=s(10350).PROPER,l=s(79039),c=s(47452);f.exports=function(h){return l(function(){return!!c[h]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[h]()||o&&c[h].name!==h})}},53487(f,g,s){"use strict";var o=s(43802).start,l=s(60706);f.exports=l("trimStart")?function(){return o(this)}:"".trimStart},43802(f,g,s){"use strict";var o=s(79504),l=s(67750),c=s(655),p=s(47452),h=o("".replace),v=RegExp("^["+p+"]+"),m=RegExp("(^|[^"+p+"])["+p+"]+$"),y=function(E){return function(x){var C=c(l(x));return 1&E&&(C=h(C,v,"")),2&E&&(C=h(C,m,"$1")),C}};f.exports={start:y(1),end:y(2),trim:y(3)}},4495(f,g,s){"use strict";var o=s(39519),l=s(79039),p=s(44576).String;f.exports=!!Object.getOwnPropertySymbols&&!l(function(){var h=Symbol("symbol detection");return!p(h)||!(Object(h)instanceof Symbol)||!Symbol.sham&&o&&o<41})},58242(f,g,s){"use strict";var o=s(69565),l=s(97751),c=s(78227),p=s(36840);f.exports=function(){var h=l("Symbol"),v=h&&h.prototype,m=v&&v.valueOf,y=c("toPrimitive");v&&!v[y]&&p(v,y,function(E){return o(m,this)},{arity:1})}},12586(f,g,s){"use strict";var o=s(97751),l=s(79504),c=o("Symbol"),p=c.keyFor,h=l(c.prototype.valueOf);f.exports=c.isRegisteredSymbol||function(m){try{return void 0!==p(h(m))}catch{return!1}}},52104(f,g,s){"use strict";for(var o=s(25745),l=s(97751),c=s(79504),p=s(10757),h=s(78227),v=l("Symbol"),m=v.isWellKnownSymbol,y=l("Object","getOwnPropertyNames"),E=c(v.prototype.valueOf),x=o("wks"),C=0,A=y(v),w=A.length;C<w;C++)try{var P=A[C];p(v[P])&&h(P)}catch{}f.exports=function(M){if(m&&m(M))return!0;try{for(var B=E(M),O=0,R=y(x),k=R.length;O<k;O++)if(x[R[O]]==B)return!0}catch{}return!1}},91296(f,g,s){"use strict";var o=s(4495);f.exports=o&&!!Symbol.for&&!!Symbol.keyFor},59225(f,g,s){"use strict";var V,H,$,G,o=s(44576),l=s(18745),c=s(76080),p=s(94901),h=s(39297),v=s(79039),m=s(20397),y=s(67680),E=s(4055),x=s(22812),C=s(89544),A=s(16193),w=o.setImmediate,P=o.clearImmediate,N=o.process,M=o.Dispatch,B=o.Function,O=o.MessageChannel,R=o.String,k=0,L={},F="onreadystatechange";v(function(){V=o.location});var X=function(ne){if(h(L,ne)){var he=L[ne];delete L[ne],he()}},Z=function(ne){return function(){X(ne)}},Q=function(ne){X(ne.data)},J=function(ne){o.postMessage(R(ne),V.protocol+"//"+V.host)};(!w||!P)&&(w=function(he){x(arguments.length,1);var te=p(he)?he:B(he),ce=y(arguments,1);return L[++k]=function(){l(te,void 0,ce)},H(k),k},P=function(he){delete L[he]},A?H=function(ne){N.nextTick(Z(ne))}:M&&M.now?H=function(ne){M.now(Z(ne))}:O&&!C?(G=($=new O).port2,$.port1.onmessage=Q,H=c(G.postMessage,G)):o.addEventListener&&p(o.postMessage)&&!o.importScripts&&V&&"file:"!==V.protocol&&!v(J)?(H=J,o.addEventListener("message",Q,!1)):H=F in E("script")?function(ne){m.appendChild(E("script"))[F]=function(){m.removeChild(this),X(ne)}}:function(ne){setTimeout(Z(ne),0)}),f.exports={set:w,clear:P}},31240(f,g,s){"use strict";var o=s(79504);f.exports=o(1.1.valueOf)},35610(f,g,s){"use strict";var o=s(91291),l=Math.max,c=Math.min;f.exports=function(p,h){var v=o(p);return v<0?l(v+h,0):c(v,h)}},75854(f,g,s){"use strict";var o=s(72777),l=TypeError;f.exports=function(c){var p=o(c,"number");if("number"==typeof p)throw new l("Can't convert number to bigint");return BigInt(p)}},57696(f,g,s){"use strict";var o=s(91291),l=s(18014),c=RangeError;f.exports=function(p){if(void 0===p)return 0;var h=o(p),v=l(h);if(h!==v)throw new c("Wrong length or index");return v}},25397(f,g,s){"use strict";var o=s(47055),l=s(67750);f.exports=function(c){return o(l(c))}},91291(f,g,s){"use strict";var o=s(80741);f.exports=function(l){var c=+l;return c!=c||0===c?0:o(c)}},18014(f,g,s){"use strict";var o=s(91291),l=Math.min;f.exports=function(c){var p=o(c);return p>0?l(p,9007199254740991):0}},48981(f,g,s){"use strict";var o=s(67750),l=Object;f.exports=function(c){return l(o(c))}},58229(f,g,s){"use strict";var o=s(99590),l=RangeError;f.exports=function(c,p){var h=o(c);if(h%p)throw new l("Wrong offset");return h}},99590(f,g,s){"use strict";var o=s(91291),l=RangeError;f.exports=function(c){var p=o(c);if(p<0)throw new l("The argument can't be less than 0");return p}},72777(f,g,s){"use strict";var o=s(69565),l=s(20034),c=s(10757),p=s(55966),h=s(84270),v=s(78227),m=TypeError,y=v("toPrimitive");f.exports=function(E,x){if(!l(E)||c(E))return E;var A,C=p(E,y);if(C){if(void 0===x&&(x="default"),A=o(C,E,x),!l(A)||c(A))return A;throw new m("Can't convert object to primitive value")}return void 0===x&&(x="number"),h(E,x)}},56969(f,g,s){"use strict";var o=s(72777),l=s(10757);f.exports=function(c){var p=o(c,"string");return l(p)?p:p+""}},47650(f,g,s){"use strict";var o=s(97751),l=s(94901),c=s(31563),p=s(20034),h=o("Set");f.exports=function(m){return function(m){return p(m)&&"number"==typeof m.size&&l(m.has)&&l(m.keys)}(m)?m:c(m)?new h(m):m}},92140(f,g,s){"use strict";var c={};c[s(78227)("toStringTag")]="z",f.exports="[object z]"===String(c)},655(f,g,s){"use strict";var o=s(36955),l=String;f.exports=function(c){if("Symbol"===o(c))throw new TypeError("Cannot convert a Symbol value to a string");return l(c)}},58319(f){"use strict";var g=Math.floor;f.exports=function(s){var o=+s;if(o!=o||o<=0)return 0;if(o>=255)return 255;var l=g(o);return l+.5<o?l+1:o<l+.5||l%2==0?l:l+1}},16823(f){"use strict";var g=String;f.exports=function(s){try{return g(s)}catch{return"Object"}}},15823(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(69565),p=s(43724),h=s(72805),v=s(94644),m=s(66346),y=s(90679),E=s(6980),x=s(66699),C=s(2087),A=s(57696),w=s(58229),P=s(58319),N=s(56969),M=s(39297),B=s(36955),O=s(20034),R=s(10757),k=s(2360),L=s(1625),F=s(52967),V=s(38480).f,H=s(43251),$=s(59213).forEach,G=s(87633),X=s(62106),Z=s(24913),Q=s(77347),J=s(35370),ne=s(91181),he=s(23167),te=ne.get,ce=ne.set,ge=ne.enforce,ae=Z.f,ye=Q.f,Ee=l.RangeError,Ce=m.ArrayBuffer,Oe=Ce.prototype,Ue=m.DataView,Ke=v.NATIVE_ARRAY_BUFFER_VIEWS,ke=v.TYPED_ARRAY_TAG,Ze=v.TypedArray,Be=v.TypedArrayPrototype,Pe=v.isTypedArray,De="BYTES_PER_ELEMENT",xt="Wrong length",qe=function(_e,Xe){X(_e,Xe,{configurable:!0,get:function(){return te(this)[Xe]}})},Tt=function(_e){var Xe;return L(Oe,_e)||"ArrayBuffer"===(Xe=B(_e))||"SharedArrayBuffer"===Xe},Ft=function(_e,Xe){return Pe(_e)&&!R(Xe)&&Xe in _e&&C(+Xe)&&Xe>=0},Wt=function(Xe,Rt){return Rt=N(Rt),Ft(Xe,Rt)?E(2,Xe[Rt]):ye(Xe,Rt)},ot=function(Xe,Rt,be){return Rt=N(Rt),!(Ft(Xe,Rt)&&O(be)&&M(be,"value"))||M(be,"get")||M(be,"set")||be.configurable||M(be,"writable")&&!be.writable||M(be,"enumerable")&&!be.enumerable?ae(Xe,Rt,be):(Xe[Rt]=be.value,Xe)};p?(Ke||(Q.f=Wt,Z.f=ot,qe(Be,"buffer"),qe(Be,"byteOffset"),qe(Be,"byteLength"),qe(Be,"length")),o({target:"Object",stat:!0,forced:!Ke},{getOwnPropertyDescriptor:Wt,defineProperty:ot}),f.exports=function(_e,Xe,Rt){var be=_e.match(/\d+/)[0]/8,Ge=_e+(Rt?"Clamped":"")+"Array",vt="get"+_e,yn="set"+_e,me=l[Ge],Re=me,Je=Re&&Re.prototype,Lt={},er=function($e,ee){ae($e,ee,{get:function(){return function($e,ee){var pt=te($e);return pt.view[vt](ee*be+pt.byteOffset,!0)}(this,ee)},set:function(pt){return function($e,ee,pt){var kt=te($e);kt.view[yn](ee*be+kt.byteOffset,Rt?P(pt):pt,!0)}(this,ee,pt)},enumerable:!0})};Ke?h&&(Re=Xe(function($e,ee,pt,kt){return y($e,Je),he(O(ee)?Tt(ee)?void 0!==kt?new me(ee,w(pt,be),kt):void 0!==pt?new me(ee,w(pt,be)):new me(ee):Pe(ee)?J(Re,ee):c(H,Re,ee):new me(A(ee)),$e,Re)}),F&&F(Re,Ze),$(V(me),function($e){$e in Re||x(Re,$e,me[$e])}),Re.prototype=Je):(Re=Xe(function($e,ee,pt,kt){y($e,Je);var In,jn,ur,Qt=0,Bt=0;if(O(ee)){if(!Tt(ee))return Pe(ee)?J(Re,ee):c(H,Re,ee);In=ee,Bt=w(pt,be);var z=ee.byteLength;if(void 0===kt){if(z%be)throw new Ee(xt);if((jn=z-Bt)<0)throw new Ee(xt)}else if((jn=A(kt)*be)+Bt>z)throw new Ee(xt);ur=jn/be}else ur=A(ee),In=new Ce(jn=ur*be);for(ce($e,{buffer:In,byteOffset:Bt,byteLength:jn,length:ur,view:new Ue(In)});Qt<ur;)er($e,Qt++)}),F&&F(Re,Ze),Je=Re.prototype=k(Be)),Je.constructor!==Re&&x(Je,"constructor",Re),ge(Je).TypedArrayConstructor=Re,ke&&x(Je,ke,Ge);var mt=Re!==me;Lt[Ge]=Re,o({global:!0,constructor:!0,forced:mt,sham:!Ke},Lt),De in Re||x(Re,De,be),De in Je||x(Je,De,be),G(Ge)}):f.exports=function(){}},72805(f,g,s){"use strict";var o=s(44576),l=s(79039),c=s(84428),p=s(94644).NATIVE_ARRAY_BUFFER_VIEWS,h=o.ArrayBuffer,v=o.Int8Array;f.exports=!p||!l(function(){v(1)})||!l(function(){new v(-1)})||!c(function(m){new v,new v(null),new v(1.5),new v(m)},!0)||l(function(){return 1!==new v(new h(2),1,void 0).length})},29948(f,g,s){"use strict";var o=s(35370),l=s(94644).getTypedArrayConstructor;f.exports=function(c,p){return o(l(c),p)}},43251(f,g,s){"use strict";var o=s(76080),l=s(69565),c=s(79306),p=s(35548),h=s(48981),v=s(26198),m=s(70081),y=s(50851),E=s(44209),x=s(18727),C=s(94644).aTypedArrayConstructor,A=s(75854);f.exports=function(P){var N=p(this),M=arguments.length,B=M>1?arguments[1]:void 0,O=void 0!==B;O&&c(B);var L,F,V,H,$,G,X,Z,R=h(P),k=y(R);if(k&&!E(k))for(Z=(X=m(R,k)).next,R=[];!(G=l(Z,X)).done;)R.push(G.value);for(O&&M>2&&(B=o(B,arguments[2])),F=v(R),V=new(C(N))(F),H=x(V),L=0;F>L;L++)$=O?B(R[L],L):R[L],V[L]=H?A($):+$;return V}},33392(f,g,s){"use strict";var o=s(79504),l=0,c=Math.random(),p=o(1.1.toString);f.exports=function(h){return"Symbol("+(void 0===h?"":h)+")_"+p(++l+c,36)}},59143(f,g,s){"use strict";var o=s(44576),l=s(79504),c=s(83972),p=s(63463),h=s(39297),v=s(92804),m=s(944),y=s(55169),E=v.c2i,x=v.c2iUrl,C=o.SyntaxError,A=o.TypeError,w=l("".charAt),P=function(B,O){for(var R=B.length;O<R;O++){var k=w(B,O);if(" "!==k&&"\t"!==k&&"\n"!==k&&"\f"!==k&&"\r"!==k)break}return O},N=function(B,O,R){var k=B.length;k<4&&(B+=2===k?"AA":"A");var L=(O[w(B,0)]<<18)+(O[w(B,1)]<<12)+(O[w(B,2)]<<6)+O[w(B,3)],F=[L>>16&255,L>>8&255,255&L];if(2===k){if(R&&0!==F[1])throw new C("Extra bits");return[F[0]]}if(3===k){if(R&&0!==F[2])throw new C("Extra bits");return[F[0],F[1]]}return F},M=function(B,O,R){for(var k=O.length,L=0;L<k;L++)B[R+L]=O[L];return R+k};f.exports=function(B,O,R,k){p(B),c(O);var L="base64"===m(O)?E:x,F=O?O.lastChunkHandling:void 0;if(void 0===F&&(F="loose"),"loose"!==F&&"strict"!==F&&"stop-before-partial"!==F)throw new A("Incorrect `lastChunkHandling` option");R&&y(R.buffer);var V=B.length,H=R||[],$=0,G=0,X="",Z=0;if(k)for(;;){if((Z=P(B,Z))===V){if(X.length>0){if("stop-before-partial"===F)break;if("loose"!==F)throw new C("Missing padding");if(1===X.length)throw new C("Malformed padding: exactly one additional character");$=M(H,N(X,L,!1),$)}G=V;break}var Q=w(B,Z);if(++Z,"="===Q){if(X.length<2)throw new C("Padding is too early");if(Z=P(B,Z),2===X.length){if(Z===V){if("stop-before-partial"===F)break;throw new C("Malformed padding: only one =")}"="===w(B,Z)&&(++Z,Z=P(B,Z))}if(Z<V)throw new C("Unexpected character after padding");$=M(H,N(X,L,"strict"===F),$),G=V;break}if(!h(L,Q))throw new C("Unexpected character");var J=k-$;if(1===J&&2===X.length||2===J&&3===X.length||4===(X+=Q).length&&($=M(H,N(X,L,!1),$),X="",G=Z,$===k))break}return{bytes:H,read:G,written:$}}},42303(f,g,s){"use strict";var o=s(44576),l=s(79504),c=o.Uint8Array,p=o.SyntaxError,h=Math.min,v=l("".match);f.exports=function(m,y){var E=m.length;if(E%2!=0)throw new p("String should be an even number of characters");for(var x=y?h(y.length,E/2):E/2,C=y||new c(x),A=v(m,/.{2}/g),w=0;w<x;w++){var P=+("0x"+A[w]+"0");if(P!=P)throw new p("String should only contain hex characters");C[w]=P>>4}return{bytes:C,read:w<<1}}},7040(f,g,s){"use strict";var o=s(4495);f.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686(f,g,s){"use strict";var o=s(43724),l=s(79039);f.exports=o&&l(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812(f){"use strict";var g=TypeError;f.exports=function(s,o){if(s<o)throw new g("Not enough arguments");return s}},58622(f,g,s){"use strict";var o=s(44576),l=s(94901),c=o.WeakMap;f.exports=l(c)&&/native code/.test(String(c))},44995(f,g,s){"use strict";var o=s(79504),l=WeakMap.prototype;f.exports={WeakMap,set:o(l.set),get:o(l.get),has:o(l.has),remove:o(l.delete)}},88205(f,g,s){"use strict";var o=s(79504),l=WeakSet.prototype;f.exports={WeakSet,add:o(l.add),has:o(l.has),remove:o(l.delete)}},70511(f,g,s){"use strict";var o=s(19167),l=s(39297),c=s(1951),p=s(24913).f;f.exports=function(h){var v=o.Symbol||(o.Symbol={});l(v,h)||p(v,h,{value:c.f(h)})}},1951(f,g,s){"use strict";var o=s(78227);g.f=o},78227(f,g,s){"use strict";var o=s(44576),l=s(25745),c=s(39297),p=s(33392),h=s(4495),v=s(7040),m=o.Symbol,y=l("wks"),E=v?m.for||m:m&&m.withoutSetter||p;f.exports=function(x){return c(y,x)||(y[x]=h&&c(m,x)?m[x]:E("Symbol."+x)),y[x]}},47452(f){"use strict";f.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},18107(f,g,s){"use strict";var o=s(46518),l=s(48981),c=s(26198),p=s(91291),h=s(6469);o({target:"Array",proto:!0},{at:function(m){var y=l(this),E=c(y),x=p(m),C=x>=0?x:E+x;return C<0||C>=E?void 0:y[C]}}),h("at")},28706(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(34376),p=s(20034),h=s(48981),v=s(26198),m=s(96837),y=s(97040),E=s(34527),x=s(1469),C=s(70597),A=s(78227),w=s(39519),P=A("isConcatSpreadable"),N=w>=51||!l(function(){var O=[];return O[P]=!1,O.concat()[0]!==O}),M=function(O){if(!p(O))return!1;var R=O[P];return void 0!==R?!!R:c(O)};o({target:"Array",proto:!0,arity:1,forced:!N||!C("concat")},{concat:function(R){var V,H,$,G,X,k=h(this),L=x(k,0),F=0;for(V=-1,$=arguments.length;V<$;V++)if(X=-1===V?k:arguments[V],M(X))for(G=v(X),m(F+G),H=0;H<G;H++,F++)H in X&&y(L,F,X[H]);else m(F+1),y(L,F++,X);return E(L,F),L}})},26835(f,g,s){"use strict";var o=s(46518),l=s(57029),c=s(6469);o({target:"Array",proto:!0},{copyWithin:l}),c("copyWithin")},88431(f,g,s){"use strict";var o=s(46518),l=s(59213).every;o({target:"Array",proto:!0,forced:!s(34598)("every")},{every:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})},33771(f,g,s){"use strict";var o=s(46518),l=s(84373),c=s(6469);o({target:"Array",proto:!0},{fill:l}),c("fill")},2008(f,g,s){"use strict";var o=s(46518),l=s(59213).filter;o({target:"Array",proto:!0,forced:!s(70597)("filter")},{filter:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})},48980(f,g,s){"use strict";var o=s(46518),l=s(59213).findIndex,c=s(6469),p="findIndex",h=!0;p in[]&&Array(1)[p](function(){h=!1}),o({target:"Array",proto:!0,forced:h},{findIndex:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},13451(f,g,s){"use strict";var o=s(46518),l=s(43839).findLastIndex,c=s(6469);o({target:"Array",proto:!0},{findLastIndex:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("findLastIndex")},10838(f,g,s){"use strict";var o=s(46518),l=s(43839).findLast,c=s(6469);o({target:"Array",proto:!0},{findLast:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("findLast")},50113(f,g,s){"use strict";var o=s(46518),l=s(59213).find,c=s(6469),p="find",h=!0;p in[]&&Array(1)[p](function(){h=!1}),o({target:"Array",proto:!0,forced:h},{find:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},78350(f,g,s){"use strict";var o=s(46518),l=s(70259),c=s(79306),p=s(48981),h=s(26198),v=s(1469);o({target:"Array",proto:!0},{flatMap:function(y){var C,E=p(this),x=h(E);return c(y),C=v(E,0),l(C,E,E,x,0,1,y,arguments.length>1?arguments[1]:void 0),C}})},46449(f,g,s){"use strict";var o=s(46518),l=s(70259),c=s(48981),p=s(26198),h=s(91291),v=s(1469);o({target:"Array",proto:!0},{flat:function(){var y=arguments.length?arguments[0]:void 0,E=c(this),x=p(E),C=void 0===y?1:h(y),A=v(E,0);return l(A,E,E,x,0,C),A}})},51629(f,g,s){"use strict";var o=s(46518),l=s(90235);o({target:"Array",proto:!0,forced:[].forEach!==l},{forEach:l})},52407(f,g,s){"use strict";var o=s(46518),l=s(8045),c=s(79039),p=Array.fromAsync;o({target:"Array",stat:!0,forced:!p||c(function(){var v=0;return p.call(function(){return v++,[]},{length:0}),1!==v})},{fromAsync:l})},23418(f,g,s){"use strict";var o=s(46518),l=s(97916);o({target:"Array",stat:!0,forced:!s(84428)(function(h){Array.from(h)})},{from:l})},74423(f,g,s){"use strict";var o=s(46518),l=s(19617).includes,c=s(79039),p=s(6469),h=c(function(){return!Array(1).includes()}),v=c(function(){return[,1].includes(void 0,1)});o({target:"Array",proto:!0,forced:h||v},{includes:function(y){return l(this,y,arguments.length>1?arguments[1]:void 0)}}),p("includes")},25276(f,g,s){"use strict";var o=s(46518),l=s(27476),c=s(19617).indexOf,p=s(34598),h=l([].indexOf),v=!!h&&1/h([1],1,-0)<0;o({target:"Array",proto:!0,forced:v||!p("indexOf")},{indexOf:function(E){var x=arguments.length>1?arguments[1]:void 0;return v?h(this,E,x)||0:c(this,E,x)}})},64346(f,g,s){"use strict";s(46518)({target:"Array",stat:!0},{isArray:s(34376)})},23792(f,g,s){"use strict";var o=s(25397),l=s(6469),c=s(26269),p=s(91181),h=s(24913).f,v=s(51088),m=s(62529),y=s(96395),E=s(43724),x="Array Iterator",C=p.set,A=p.getterFor(x);f.exports=v(Array,"Array",function(P,N){C(this,{type:x,target:o(P),index:0,kind:N})},function(){var P=A(this),N=P.target,M=P.index++;if(!N||M>=N.length)return P.target=null,m(void 0,!0);switch(P.kind){case"keys":return m(M,!1);case"values":return m(N[M],!1)}return m([M,N[M]],!1)},"values");var w=c.Arguments=c.Array;if(l("keys"),l("values"),l("entries"),!y&&E&&"values"!==w.name)try{h(w,"name",{value:"values"})}catch{}},48598(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(47055),p=s(25397),h=s(34598),v=l([].join);o({target:"Array",proto:!0,forced:c!==Object||!h("join",",")},{join:function(x){return v(p(this),void 0===x?",":x)}})},8921(f,g,s){"use strict";var o=s(46518),l=s(8379);o({target:"Array",proto:!0,forced:l!==[].lastIndexOf},{lastIndexOf:l})},62062(f,g,s){"use strict";var o=s(46518),l=s(59213).map;o({target:"Array",proto:!0,forced:!s(70597)("map")},{map:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})},31051(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(33517),p=s(97040),h=s(34527),v=Array;o({target:"Array",stat:!0,forced:l(function(){function y(){}return!(v.of.call(y)instanceof y)})},{of:function(){for(var E=0,x=arguments.length,C=new(c(this)?this:v)(x);x>E;)p(C,E,arguments[E++]);return h(C,x),C}})},44114(f,g,s){"use strict";var o=s(46518),l=s(48981),c=s(26198),p=s(34527),h=s(96837);o({target:"Array",proto:!0,arity:1,forced:s(79039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(x){return x instanceof TypeError}}()},{push:function(C){var A=l(this),w=c(A),P=arguments.length;h(w+P);for(var N=0;N<P;N++)A[w]=arguments[N],w++;return p(A,w),w}})},18863(f,g,s){"use strict";var o=s(46518),l=s(80926).right,c=s(34598),p=s(39519);o({target:"Array",proto:!0,forced:!s(16193)&&p>79&&p<83||!c("reduceRight")},{reduceRight:function(E){return l(this,E,arguments.length,arguments.length>1?arguments[1]:void 0)}})},72712(f,g,s){"use strict";var o=s(46518),l=s(80926).left,c=s(34598),p=s(39519);o({target:"Array",proto:!0,forced:!s(16193)&&p>79&&p<83||!c("reduce")},{reduce:function(E){var x=arguments.length;return l(this,E,x,x>1?arguments[1]:void 0)}})},94490(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(34376),p=l([].reverse),h=[1,2];o({target:"Array",proto:!0,forced:String(h)===String(h.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),p(this)}})},34782(f,g,s){"use strict";var o=s(46518),l=s(34376),c=s(33517),p=s(20034),h=s(35610),v=s(26198),m=s(25397),y=s(97040),E=s(34527),x=s(78227),C=s(70597),A=s(67680),w=C("slice"),P=x("species"),N=Array,M=Math.max;o({target:"Array",proto:!0,forced:!w},{slice:function(O,R){var H,$,G,k=m(this),L=v(k),F=h(O,L),V=h(void 0===R?L:R,L);if(l(k)&&(H=k.constructor,c(H)&&(H===N||l(H.prototype))?H=void 0:p(H)&&(null===(H=H[P])&&(H=void 0)),H===N||void 0===H))return A(k,F,V);for($=new(void 0===H?N:H)(M(V-F,0)),G=0;F<V;F++,G++)F in k&&y($,G,k[F]);return E($,G),$}})},15086(f,g,s){"use strict";var o=s(46518),l=s(59213).some;o({target:"Array",proto:!0,forced:!s(34598)("some")},{some:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}})},26910(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(79306),p=s(48981),h=s(26198),v=s(84606),m=s(655),y=s(79039),E=s(74488),x=s(34598),C=s(13709),A=s(13763),w=s(39519),P=s(3607),N=[],M=l(N.sort),B=l(N.push),O=y(function(){N.sort(void 0)}),R=y(function(){N.sort(null)}),k=x("sort"),L=!y(function(){if(w)return w<70;if(!(C&&C>3)){if(A)return!0;if(P)return P<603;var $,G,X,Z,H="";for($=65;$<76;$++){switch(G=String.fromCharCode($),$){case 66:case 69:case 70:case 72:X=3;break;case 68:case 71:X=4;break;default:X=2}for(Z=0;Z<47;Z++)N.push({k:G+Z,v:X})}for(N.sort(function(Q,J){return J.v-Q.v}),Z=0;Z<N.length;Z++)G=N[Z].k.charAt(0),H.charAt(H.length-1)!==G&&(H+=G);return"DGBEFHACIJK"!==H}});o({target:"Array",proto:!0,forced:O||!R||!k||!L},{sort:function($){void 0!==$&&c($);var G=p(this);if(L)return void 0===$?M(G):M(G,$);var Q,J,X=[],Z=h(G);for(J=0;J<Z;J++)J in G&&B(X,G[J]);for(E(X,function(H){return function($,G){if(void 0===G)return-1;if(void 0===$)return 1;if(void 0!==H)return+H($,G)||0;var X=m($),Z=m(G);return X===Z?0:X>Z?1:-1}}($)),Q=h(X),J=0;J<Q;)G[J]=X[J++];for(;J<Z;)v(G,J++);return G}})},87478(f,g,s){"use strict";s(87633)("Array")},54554(f,g,s){"use strict";var o=s(46518),l=s(48981),c=s(35610),p=s(91291),h=s(26198),v=s(34527),m=s(96837),y=s(1469),E=s(97040),x=s(84606),A=s(70597)("splice"),w=Math.max,P=Math.min;o({target:"Array",proto:!0,forced:!A},{splice:function(M,B){var F,V,H,$,G,X,O=l(this),R=h(O),k=c(M,R),L=arguments.length;for(0===L?F=V=0:1===L?(F=0,V=R-k):(F=L-2,V=P(w(p(B),0),R-k)),m(R+F-V),H=y(O,V),$=0;$<V;$++)(G=k+$)in O&&E(H,$,O[G]);if(v(H,V),F<V){for($=k;$<R-V;$++)X=$+F,(G=$+V)in O?O[X]=O[G]:x(O,X);for($=R;$>R-V+F;$--)x(O,$-1)}else if(F>V)for($=R-V;$>k;$--)X=$+F-1,(G=$+V-1)in O?O[X]=O[G]:x(O,X);for($=0;$<F;$++)O[$+k]=arguments[$+2];return v(O,R-V+F),H}})},9678(f,g,s){"use strict";var o=s(46518),l=s(26198),c=s(25397),p=s(97040),h=s(6469),v=Array;o({target:"Array",proto:!0},{toReversed:function(){for(var y=c(this),E=l(y),x=new v(E),C=0;C<E;C++)p(x,C,y[E-C-1]);return x}}),h("toReversed")},57145(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(79306),p=s(25397),h=s(35370),v=s(44124),m=s(6469),y=Array,E=l(v("Array","sort"));o({target:"Array",proto:!0},{toSorted:function(C){void 0!==C&&c(C);var A=p(this),w=h(y,A);return E(w,C)}}),m("toSorted")},71658(f,g,s){"use strict";var o=s(46518),l=s(6469),c=s(96837),p=s(26198),h=s(35610),v=s(25397),m=s(91291),y=s(97040),E=Array,x=Math.max,C=Math.min;o({target:"Array",proto:!0},{toSpliced:function(w,P){var k,L,F,V,N=v(this),M=p(N),B=h(w,M),O=arguments.length,R=0;for(0===O?k=L=0:1===O?(k=0,L=M-B):(k=O-2,L=C(x(m(P),0),M-B)),F=c(M+k-L),V=E(F);R<B;R++)y(V,R,N[R]);for(;R<B+k;R++)y(V,R,arguments[R-B+2]);for(;R<F;R++)y(V,R,N[R+L-k]);return V}}),l("toSpliced")},30237(f,g,s){"use strict";s(6469)("flatMap")},93514(f,g,s){"use strict";s(6469)("flat")},13609(f,g,s){"use strict";var o=s(46518),l=s(48981),c=s(26198),p=s(34527),h=s(84606),v=s(96837);o({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}}()},{unshift:function(C){var A=l(this),w=c(A),P=arguments.length;if(P){v(w+P);for(var N=w;N--;){var M=N+P;N in A?A[M]=A[N]:h(A,M)}for(var B=0;B<P;B++)A[B]=arguments[B]}return p(A,w+P)}})},11558(f,g,s){"use strict";var o=s(46518),l=s(26198),c=s(91291),p=s(25397),h=s(97040),v=Array,m=RangeError;o({target:"Array",proto:!0,forced:function(){try{[].with({valueOf:function(){throw 4}},null)}catch(E){return 4!==E}}()},{with:function(E,x){var C=p(this),A=l(C),w=c(E),P=w<0?A+w:w;if(P>=A||P<0)throw new m("Incorrect index");for(var N=new v(A),M=0;M<A;M++)h(N,M,M===P?x:C[M]);return N}})},61699(f,g,s){"use strict";var o=s(46518),l=s(79504),p=s(79039)(function(){return 120!==new Date(16e11).getYear()}),h=l(Date.prototype.getFullYear);o({target:"Date",proto:!0,forced:p},{getYear:function(){return h(this)-1900}})},59089(f,g,s){"use strict";var o=s(46518),l=s(79504),c=Date,p=l(c.prototype.getTime);o({target:"Date",stat:!0},{now:function(){return p(new c)}})},91191(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(91291),p=Date.prototype,h=l(p.getTime),v=l(p.setFullYear);o({target:"Date",proto:!0},{setYear:function(y){h(this);var E=+y;if(E!=E)return v(this,E);var x=c(E);return v(this,x>=0&&x<=99?x+1900:x)}})},93515(f,g,s){"use strict";s(46518)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},1688(f,g,s){"use strict";var o=s(46518),l=s(70380);o({target:"Date",proto:!0,forced:Date.prototype.toISOString!==l},{toISOString:l})},60739(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(48981),p=s(72777);o({target:"Date",proto:!0,arity:1,forced:l(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(m){var y=c(this),E=p(y,"number");return"number"!=typeof E||isFinite(E)?y.toISOString():null}})},89572(f,g,s){"use strict";var o=s(39297),l=s(36840),c=s(53640),h=s(78227)("toPrimitive"),v=Date.prototype;o(v,h)||l(v,h,c)},23288(f,g,s){"use strict";var o=s(79504),l=s(36840),c=Date.prototype,p="Invalid Date",h="toString",v=o(c[h]),m=o(c.getTime);String(new Date(NaN))!==p&&l(c,h,function(){var E=m(this);return E==E?v(this):p})},94170(f,g,s){"use strict";var o=s(46518),l=s(30566);o({target:"Function",proto:!0,forced:Function.bind!==l},{bind:l})},48957(f,g,s){"use strict";var o=s(94901),l=s(20034),c=s(24913),p=s(1625),h=s(78227),v=s(50283),m=h("hasInstance"),y=Function.prototype;m in y||c.f(y,m,{value:v(function(E){if(!o(this)||!l(E))return!1;var x=this.prototype;return l(x)?p(x,E):E instanceof this},m)})},62010(f,g,s){"use strict";var o=s(43724),l=s(10350).EXISTS,c=s(79504),p=s(62106),h=Function.prototype,v=c(h.toString),m=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,y=c(m.exec);o&&!l&&p(h,"name",{configurable:!0,get:function(){try{return y(m,v(this))[1]}catch{return""}}})},33110(f,g,s){"use strict";var o=s(46518),l=s(97751),c=s(18745),p=s(69565),h=s(79504),v=s(79039),m=s(34376),y=s(94901),E=s(65810),x=s(10757),C=s(22195),A=s(655),w=s(67680),P=s(616),N=s(33392),M=s(4495),B=s(27819),O=String,R=l("JSON","stringify"),k=h(/./.exec),L=h("".charAt),F=h("".charCodeAt),V=h("".replace),H=h("".slice),$=h([].push),G=h(1.1.toString),X=/[\uD800-\uDFFF]/g,Z=/^[\uD800-\uDBFF]$/,Q=/^[\uDC00-\uDFFF]$/,J=N(),ne=J.length,he=!M||v(function(){var ye=l("Symbol")("stringify detection");return"[null]"!==R([ye])||"{}"!==R({a:ye})||"{}"!==R(Object(ye))}),te=v(function(){return'"\\udf06\\ud834"'!==R("\udf06\ud834")||'"\\udead"'!==R("\udead")}),ce=he?function(ye,Ee){var Ce=w(arguments),Oe=ae(Ee);if(y(Oe)||void 0!==ye&&!x(ye))return Ce[1]=function(Ue,Ke){if(y(Oe)&&(Ke=p(Oe,this,O(Ue),Ke)),!x(Ke))return Ke},c(R,null,Ce)}:R,ge=function(ye,Ee,Ce){var Oe=L(Ce,Ee-1),Ue=L(Ce,Ee+1);return k(Z,ye)&&!k(Q,Ue)||k(Q,ye)&&!k(Z,Oe)?"\\u"+G(F(ye,0),16):ye},ae=function(ye){if(y(ye))return ye;if(m(ye)){for(var Ee=ye.length,Ce=[],Oe=0;Oe<Ee;Oe++){var Ue=ye[Oe];"string"==typeof Ue?$(Ce,Ue):("number"==typeof Ue||"Number"===C(Ue)||"String"===C(Ue))&&$(Ce,A(Ue))}var Ke=Ce.length,ke=!0;return function(Ze,Be){if(ke)return ke=!1,Be;if(m(this))return Be;for(var Pe=0;Pe<Ke;Pe++)if(Ce[Pe]===Ze)return Be}}};R&&o({target:"JSON",stat:!0,arity:3,forced:he||te||!B},{stringify:function(Ee,Ce,Oe){var Ue=ae(Ce),Ke=[],ke=ce(Ee,function(Tt,Ft){var Wt=y(Ue)?p(Ue,this,O(Tt),Ft):Ft;return!B&&E(Wt)?J+($(Ke,Wt.rawJSON)-1):Wt},Oe);if("string"!=typeof ke||(te&&(ke=V(ke,X,ge)),B))return ke;for(var Ze="",Be=ke.length,Pe=0;Pe<Be;Pe++){var De=L(ke,Pe);if('"'===De){var xt=P(ke,++Pe).end-1,qe=H(ke,Pe,xt);Ze+=H(qe,0,ne)===J?Ke[H(qe,ne)]:'"'+qe+'"',Pe=xt}else Ze+=De}return Ze}})},4731(f,g,s){"use strict";var o=s(44576);s(10687)(o.JSON,"JSON",!0)},48523(f,g,s){"use strict";s(16468)("Map",function(c){return function(){return c(this,arguments.length?arguments[0]:void 0)}},s(86938))},92731(f,g,s){"use strict";var o=s(46518),l=s(79306),c=s(72248),p=s(96395),h=c.get,v=c.has,m=c.set;o({target:"Map",proto:!0,real:!0,forced:p},{getOrInsertComputed:function(E,x){var C=v(this,E);if(l(x),C)return h(this,E);0===E&&1/E==-1/0&&(E=0);var A=x(E);return m(this,E,A),A}})},45367(f,g,s){"use strict";var o=s(46518),l=s(72248),c=s(96395),p=l.get,h=l.has,v=l.set;o({target:"Map",proto:!0,real:!0,forced:c},{getOrInsert:function(y,E){return h(this,y)?p(this,y):(v(this,y,E),E)}})},47072(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(79306),p=s(67750),h=s(72652),v=s(72248),m=s(96395),y=s(79039),E=v.Map,x=v.has,C=v.get,A=v.set,w=l([].push),P=m||y(function(){return 1!==E.groupBy("ab",function(N){return N}).get("a").length});o({target:"Map",stat:!0,forced:m||P},{groupBy:function(M,B){p(M),c(B);var O=new E,R=0;return h(M,function(k){var L=B(k,R++);x(O,L)?w(C(O,L),k):A(O,L,[k])}),O}})},36033(f,g,s){"use strict";s(48523)},93153(f,g,s){"use strict";var o=s(46518),l=s(7740),c=Math.acosh,p=Math.log,h=Math.sqrt,v=Math.LN2;o({target:"Math",stat:!0,forced:!c||710!==Math.floor(c(Number.MAX_VALUE))||c(1/0)!==1/0},{acosh:function(E){var x=+E;return x<1?NaN:x>94906265.62425156?p(x)+v:l(x-1+h(x-1)*h(x+1))}})},82326(f,g,s){"use strict";var o=s(46518),l=Math.asinh,c=Math.log,p=Math.sqrt,h=Math.LN2;o({target:"Math",stat:!0,forced:!(l&&1/l(0)>0)},{asinh:function m(E){var x=+E;return isFinite(x)&&0!==x?x<0?-m(-x):x>94906265.62425156?c(x)+h:c(x+p(x*x+1)):x}})},36389(f,g,s){"use strict";var o=s(46518),l=s(7740),c=Math.atanh;o({target:"Math",stat:!0,forced:!(c&&1/c(-0)<0)},{atanh:function(v){var m=+v;return 0===m?m:l(2*m/(1-m))/2}})},64444(f,g,s){"use strict";var o=s(46518),l=s(77782),c=Math.abs,p=Math.pow;o({target:"Math",stat:!0},{cbrt:function(v){var m=+v;return l(m)*p(c(m),.3333333333333333)}})},8085(f,g,s){"use strict";var o=s(46518),l=Math.floor,c=Math.log,p=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(v){var m=v>>>0;return m?31-l(c(m+.5)*p):32}})},77762(f,g,s){"use strict";var o=s(46518),l=s(53250),c=Math.cosh,p=Math.abs,h=Math.E;o({target:"Math",stat:!0,forced:!c||c(710)===1/0},{cosh:function(y){var E=l(p(y)-1)+1;return(E+1/(E*h*h))*(h/2)}})},65070(f,g,s){"use strict";var o=s(46518),l=s(53250);o({target:"Math",stat:!0,forced:l!==Math.expm1},{expm1:l})},4360(f,g,s){"use strict";var o=s(46518),l=s(33164);o({target:"Math",stat:!0},{f16round:function(m){return l(m,.0009765625,65504,6103515625e-14)}})},60605(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{fround:s(37998)})},39469(f,g,s){"use strict";var o=s(46518),l=Math.hypot,c=Math.abs,p=Math.sqrt;o({target:"Math",stat:!0,arity:2,forced:!!l&&l(1/0,NaN)!==1/0},{hypot:function(m,y){for(var w,P,E=0,x=0,C=arguments.length,A=0;x<C;)A<(w=c(arguments[x++]))?(E=E*(P=A/w)*P+1,A=w):w>0?E+=(P=w/A)*P:E+=w;return A===1/0?1/0:A*p(E)}})},72152(f,g,s){"use strict";var o=s(46518),l=s(79039),c=Math.imul;o({target:"Math",stat:!0,forced:l(function(){return-5!==c(4294967295,5)||2!==c.length})},{imul:function(v,m){var y=65535,E=+v,x=+m,C=y&E,A=y&x;return 0|C*A+((y&E>>>16)*A+C*(y&x>>>16)<<16>>>0)}})},75376(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{log10:s(49340)})},56624(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{log1p:s(7740)})},11367(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{log2:s(67787)})},5914(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{sign:s(77782)})},78553(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(53250),p=Math.abs,h=Math.exp,v=Math.E;o({target:"Math",stat:!0,forced:l(function(){return-2e-17!==Math.sinh(-2e-17)})},{sinh:function(E){var x=+E;return p(x)<1?(c(x)-c(-x))/2:(h(x-1)-h(-x-1))*(v/2)}})},23068(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(72652),p=RangeError,h=TypeError,v=1/0,y=Math.abs,E=Math.pow,x=l([].push),C=E(2,1023),A=E(2,53)-1,w=Number.MAX_VALUE,P=E(2,971),N={},M={},B={},O={},R={},k=function(L,F){var V=L+F;return{hi:V,lo:F-(V-L)}};o({target:"Math",stat:!0},{sumPrecise:function(F){var V=[],H=0,$=O;switch(c(F,function(Oe){if(++H>A)throw new p("Maximum allowed index exceeded");if("number"!=typeof Oe)throw new h("Value is not a number");$!==N&&(Oe!=Oe?$=N:Oe===v?$=$===M?N:B:Oe===-v?$=$===B?N:M:(0!==Oe||1/Oe===v)&&($===O||$===R)&&($=R,x(V,Oe)))}),$){case N:return NaN;case M:return-v;case B:return v;case O:return-0}for(var Z,Q,J,ne,he,te,G=[],X=0,ce=0;ce<V.length;ce++){Z=V[ce];for(var ge=0,ae=0;ae<G.length;ae++){if(Q=G[ae],y(Z)<y(Q)&&(te=Z,Z=Q,Q=te),ne=(J=k(Z,Q)).hi,he=J.lo,y(ne)===v){var ye=ne===v?1:-1;X+=ye,y(Z=Z-ye*C-ye*C)<y(Q)&&(te=Z,Z=Q,Q=te),ne=(J=k(Z,Q)).hi,he=J.lo}0!==he&&(G[ge++]=he),Z=ne}G.length=ge,0!==Z&&x(G,Z)}var Ee=G.length-1;if(ne=0,he=0,0!==X){var Ce=Ee>=0?G[Ee]:0;if(Ee--,y(X)>1||X>0&&Ce>0||X<0&&Ce<0)return X>0?v:-v;if(ne=(J=k(X*C,Ce/2)).hi,he=J.lo,he*=2,y(2*ne)===v)return ne>0?ne===C&&he===-P/2&&Ee>=0&&G[Ee]<0?w:v:ne===-C&&he===P/2&&Ee>=0&&G[Ee]>0?-w:-v;0!==he&&(G[++Ee]=he,he=0),ne*=2}for(;Ee>=0&&(ne=(J=k(ne,G[Ee--])).hi,0===(he=J.lo)););return Ee>=0&&(he<0&&G[Ee]<0||he>0&&G[Ee]>0)&&((Q=2*he)===(Z=ne+Q)-ne&&(ne=Z)),ne}})},98690(f,g,s){"use strict";var o=s(46518),l=s(53250),c=Math.exp;o({target:"Math",stat:!0},{tanh:function(h){var v=+h,m=l(v),y=l(-v);return m===1/0?1:y===1/0?-1:(m-y)/(c(v)+c(-v))}})},60479(f,g,s){"use strict";s(10687)(Math,"Math",!0)},70761(f,g,s){"use strict";s(46518)({target:"Math",stat:!0},{trunc:s(80741)})},2892(f,g,s){"use strict";var o=s(46518),l=s(96395),c=s(43724),p=s(44576),h=s(19167),v=s(79504),m=s(92796),y=s(39297),E=s(23167),x=s(1625),C=s(10757),A=s(72777),w=s(79039),P=s(38480).f,N=s(77347).f,M=s(24913).f,B=s(31240),O=s(43802).trim,R="Number",k=p[R],L=h[R],F=k.prototype,V=p.TypeError,H=v("".slice),$=v("".charCodeAt),X=function(he){var ce,ge,ae,ye,Ee,Ce,Oe,Ue,te=A(he,"number");if(C(te))throw new V("Cannot convert a Symbol value to a number");if("string"==typeof te&&te.length>2)if(te=O(te),43===(ce=$(te,0))||45===ce){if(88===(ge=$(te,2))||120===ge)return NaN}else if(48===ce){switch($(te,1)){case 66:case 98:ae=2,ye=49;break;case 79:case 111:ae=8,ye=55;break;default:return+te}for(Ce=(Ee=H(te,2)).length,Oe=0;Oe<Ce;Oe++)if((Ue=$(Ee,Oe))<48||Ue>ye)return NaN;return parseInt(Ee,ae)}return+te},Z=m(R,!k(" 0o1")||!k("0b1")||k("+0x1")),J=function(te){var he,ce=arguments.length<1?0:k(function(he){var te=A(he,"number");return"bigint"==typeof te?te:X(te)}(te));return x(F,he=this)&&w(function(){B(he)})?E(Object(ce),this,J):ce};J.prototype=F,Z&&!l&&(F.constructor=J),o({global:!0,constructor:!0,wrap:!0,forced:Z},{Number:J});var ne=function(he,te){for(var ae,ce=c?P(te):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ge=0;ce.length>ge;ge++)y(te,ae=ce[ge])&&!y(he,ae)&&M(he,ae,N(te,ae))};l&&L&&ne(h[R],L),(Z||l)&&ne(h[R],k)},45374(f,g,s){"use strict";s(46518)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},25428(f,g,s){"use strict";s(46518)({target:"Number",stat:!0},{isFinite:s(50360)})},32637(f,g,s){"use strict";s(46518)({target:"Number",stat:!0},{isInteger:s(2087)})},40150(f,g,s){"use strict";s(46518)({target:"Number",stat:!0},{isNaN:function(c){return c!=c}})},59149(f,g,s){"use strict";var o=s(46518),l=s(2087),c=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(h){return l(h)&&c(h)<=9007199254740991}})},64601(f,g,s){"use strict";s(46518)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},44435(f,g,s){"use strict";s(46518)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},87220(f,g,s){"use strict";var o=s(46518),l=s(33904);o({target:"Number",stat:!0,forced:Number.parseFloat!==l},{parseFloat:l})},25843(f,g,s){"use strict";var o=s(46518),l=s(52703);o({target:"Number",stat:!0,forced:Number.parseInt!==l},{parseInt:l})},62337(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(91291),p=s(31240),h=s(94714),v=s(49340),m=s(79039),y=RangeError,E=String,x=isFinite,C=Math.abs,A=Math.floor,w=Math.pow,P=Math.round,N=l(1.1.toExponential),M=l(h),B=l("".slice),O=w(10,308),R="-6.9000e-11"===N(-69e-12,4)&&"1.25e+0"===N(1.255,2)&&"1.235e+4"===N(12345,3)&&"3e+1"===N(25,0);o({target:"Number",proto:!0,forced:!R||!(m(function(){N(1,1/0)})&&m(function(){N(1,-1/0)}))||!!m(function(){N(1/0,1/0),N(NaN,1/0)})},{toExponential:function(H){var $=p(this);if(void 0===H)return N($);var G=c(H);if(!x($))return String($);if(G<0||G>20)throw new y("Incorrect fraction digits");if(R)return N($,G);var Z,Q,J,ne,he,te,ce,X="";return $<0&&(X="-",$=-$),0===$?(Q=0,Z=M("0",G+1)):(he=v($),(ce=G-(Q=A(he))>=308?$*O*w(10,G-Q-308):$/w(10,Q-G))-(te=P(ce))>=.5&&(te+=1),te>=w(10,G+1)&&(te/=10,Q+=1),Z=E(te)),0!==G&&(Z=B(Z,0,1)+"."+B(Z,1)),0===Q?(J="+",ne="0"):(J=Q>0?"+":"-",ne=E(C(Q))),X+(Z+="e"+J+ne)}})},9868(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(91291),p=s(31240),h=s(94714),v=s(79039),m=RangeError,y=String,E=Math.floor,x=l(h),C=l("".slice),A=l(1.1.toFixed),w=function(R,k,L){return 0===k?L:k%2==1?w(R,k-1,L*R):w(R*R,k/2,L)},N=function(R,k,L){for(var F=-1,V=L;++F<6;)V+=k*R[F],R[F]=V%1e7,V=E(V/1e7)},M=function(R,k){for(var L=6,F=0;--L>=0;)F+=R[L],R[L]=E(F/k),F=F%k*1e7},B=function(R){for(var k=6,L="";--k>=0;)if(""!==L||0===k||0!==R[k]){var F=y(R[k]);L=""===L?F:L+x("0",7-F.length)+F}return L};o({target:"Number",proto:!0,forced:v(function(){return"0.000"!==A(8e-5,3)||"1"!==A(.9,0)||"1.25"!==A(1.255,2)||"1000000000000000128"!==A(0xde0b6b3a7640080,0)})||!v(function(){A({})})},{toFixed:function(k){var G,X,Z,Q,L=p(this),F=c(k),V=[0,0,0,0,0,0],H="",$="0";if(F<0||F>20)throw new m("Incorrect fraction digits");if(L!=L)return"NaN";if(L<=-1e21||L>=1e21)return y(L);if(L<0&&(H="-",L=-L),L>1e-21)if(G=function(R){for(var k=0,L=R;L>=4096;)k+=12,L/=4096;for(;L>=2;)k+=1,L/=2;return k}(L*w(2,69,1))-69,X=G<0?L*w(2,-G,1):L/w(2,G,1),X*=4503599627370496,(G=52-G)>0){for(N(V,0,X),Z=F;Z>=7;)N(V,1e7,0),Z-=7;for(N(V,w(10,Z,1),0),Z=G-1;Z>=23;)M(V,8388608),Z-=23;M(V,1<<Z),N(V,1,1),M(V,2),$=B(V)}else N(V,0,X),N(V,1<<-G,0),$=B(V)+x("0",F);return F>0?$=H+((Q=$.length)<=F?"0."+x("0",F-Q)+$:C($,0,Q-F)+"."+C($,Q-F)):$=H+$,$}})},80630(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(79039),p=s(31240),h=l(1.1.toPrecision);o({target:"Number",proto:!0,forced:c(function(){return"1"!==h(1,void 0)})||!c(function(){h({})})},{toPrecision:function(y){return void 0===y?h(p(this)):h(p(this),y)}})},69085(f,g,s){"use strict";var o=s(46518),l=s(44213);o({target:"Object",stat:!0,arity:2,forced:Object.assign!==l},{assign:l})},59904(f,g,s){"use strict";s(46518)({target:"Object",stat:!0,sham:!s(43724)},{create:s(2360)})},17427(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(42551),p=s(79306),h=s(48981),v=s(24913);l&&o({target:"Object",proto:!0,forced:c},{__defineGetter__:function(y,E){v.f(h(this),y,{get:p(E),enumerable:!0,configurable:!0})}})},67945(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(96801).f;o({target:"Object",stat:!0,forced:Object.defineProperties!==c,sham:!l},{defineProperties:c})},84185(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(24913).f;o({target:"Object",stat:!0,forced:Object.defineProperty!==c,sham:!l},{defineProperty:c})},87607(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(42551),p=s(79306),h=s(48981),v=s(24913);l&&o({target:"Object",proto:!0,forced:c},{__defineSetter__:function(y,E){v.f(h(this),y,{set:p(E),enumerable:!0,configurable:!0})}})},5506(f,g,s){"use strict";var o=s(46518),l=s(32357).entries;o({target:"Object",stat:!0},{entries:function(p){return l(p)}})},52811(f,g,s){"use strict";var o=s(46518),l=s(92744),c=s(79039),p=s(20034),h=s(3451).onFreeze,v=Object.freeze;o({target:"Object",stat:!0,forced:c(function(){v(1)}),sham:!l},{freeze:function(E){return v&&p(E)?v(h(E)):E}})},53921(f,g,s){"use strict";var o=s(46518),l=s(72652),c=s(97040);o({target:"Object",stat:!0},{fromEntries:function(h){var v={};return l(h,function(m,y){c(v,m,y)},{AS_ENTRIES:!0}),v}})},83851(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(25397),p=s(77347).f,h=s(43724);o({target:"Object",stat:!0,forced:!h||l(function(){p(1)}),sham:!h},{getOwnPropertyDescriptor:function(y,E){return p(c(y),E)}})},81278(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(35031),p=s(25397),h=s(77347),v=s(97040);o({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(y){for(var P,N,E=p(y),x=h.f,C=c(E),A={},w=0;C.length>w;)void 0!==(N=x(E,P=C[w++]))&&v(A,P,N);return A}})},1480(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(10298).f;o({target:"Object",stat:!0,forced:l(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:c})},49773(f,g,s){"use strict";var o=s(46518),l=s(4495),c=s(79039),p=s(33717),h=s(48981);o({target:"Object",stat:!0,forced:!l||c(function(){p.f(1)})},{getOwnPropertySymbols:function(y){var E=p.f;return E?E(h(y)):[]}})},40875(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(48981),p=s(42787),h=s(12211);o({target:"Object",stat:!0,forced:l(function(){p(1)}),sham:!h},{getPrototypeOf:function(y){return p(c(y))}})},77691(f,g,s){"use strict";var o=s(46518),l=s(97040),c=s(97751),p=s(79504),h=s(79306),v=s(67750),m=s(56969),y=s(72652),E=s(79039),x=Object.groupBy,C=c("Object","create"),A=p([].push);o({target:"Object",stat:!0,forced:!x||E(function(){return 1!==x("ab",function(P){return P}).a.length})},{groupBy:function(N,M){v(N),h(M);var B=C(null),O=0;return y(N,function(R){var k=m(M(R,O++));k in B?A(B[k],R):l(B,k,[R])}),B}})},78347(f,g,s){"use strict";s(46518)({target:"Object",stat:!0},{hasOwn:s(39297)})},94052(f,g,s){"use strict";var o=s(46518),l=s(34124);o({target:"Object",stat:!0,forced:Object.isExtensible!==l},{isExtensible:l})},94003(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(20034),p=s(22195),h=s(15652),v=Object.isFrozen;o({target:"Object",stat:!0,forced:h||l(function(){v(1)})},{isFrozen:function(E){return!(c(E)&&(!h||"ArrayBuffer"!==p(E)))||!!v&&v(E)}})},221(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(20034),p=s(22195),h=s(15652),v=Object.isSealed;o({target:"Object",stat:!0,forced:h||l(function(){v(1)})},{isSealed:function(E){return!(c(E)&&(!h||"ArrayBuffer"!==p(E)))||!!v&&v(E)}})},29908(f,g,s){"use strict";s(46518)({target:"Object",stat:!0},{is:s(3470)})},79432(f,g,s){"use strict";var o=s(46518),l=s(48981),c=s(71072);o({target:"Object",stat:!0,forced:s(79039)(function(){c(1)})},{keys:function(m){return c(l(m))}})},9220(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(42551),p=s(48981),h=s(56969),v=s(42787),m=s(77347).f;l&&o({target:"Object",proto:!0,forced:c},{__lookupGetter__:function(E){var A,x=p(this),C=h(E);do{if(A=m(x,C))return A.get}while(x=v(x))}})},7904(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(42551),p=s(48981),h=s(56969),v=s(42787),m=s(77347).f;l&&o({target:"Object",proto:!0,forced:c},{__lookupSetter__:function(E){var A,x=p(this),C=h(E);do{if(A=m(x,C))return A.set}while(x=v(x))}})},93967(f,g,s){"use strict";var o=s(46518),l=s(20034),c=s(3451).onFreeze,p=s(92744),h=s(79039),v=Object.preventExtensions;o({target:"Object",stat:!0,forced:h(function(){v(1)}),sham:!p},{preventExtensions:function(E){return v&&l(E)?v(c(E)):E}})},63548(f,g,s){"use strict";var o=s(43724),l=s(62106),c=s(20034),p=s(13925),h=s(48981),v=s(67750),m=Object.getPrototypeOf,y=Object.setPrototypeOf,E=Object.prototype,x="__proto__";if(o&&m&&y&&!(x in E))try{l(E,x,{configurable:!0,get:function(){return m(h(this))},set:function(A){var w=v(this);p(A)&&c(w)&&y(w,A)}})}catch{}},93941(f,g,s){"use strict";var o=s(46518),l=s(20034),c=s(3451).onFreeze,p=s(92744),h=s(79039),v=Object.seal;o({target:"Object",stat:!0,forced:h(function(){v(1)}),sham:!p},{seal:function(E){return v&&l(E)?v(c(E)):E}})},10287(f,g,s){"use strict";s(46518)({target:"Object",stat:!0},{setPrototypeOf:s(52967)})},26099(f,g,s){"use strict";var o=s(92140),l=s(36840),c=s(53179);o||l(Object.prototype,"toString",c,{unsafe:!0})},16034(f,g,s){"use strict";var o=s(46518),l=s(32357).values;o({target:"Object",stat:!0},{values:function(p){return l(p)}})},78459(f,g,s){"use strict";var o=s(46518),l=s(33904);o({global:!0,forced:parseFloat!==l},{parseFloat:l})},58940(f,g,s){"use strict";var o=s(46518),l=s(52703);o({global:!0,forced:parseInt!==l},{parseInt:l})},16499(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(79306),p=s(36043),h=s(1103),v=s(72652);o({target:"Promise",stat:!0,forced:s(90537)},{all:function(E){var x=this,C=p.f(x),A=C.resolve,w=C.reject,P=h(function(){var N=c(x.resolve),M=[],B=0,O=1;v(E,function(R){var k=B++,L=!1;O++,l(N,x,R).then(function(F){L||(L=!0,M[k]=F,--O||A(M))},w)}),--O||A(M)});return P.error&&w(P.value),C.promise}})},82003(f,g,s){"use strict";var o=s(46518),l=s(96395),c=s(10916).CONSTRUCTOR,p=s(80550),h=s(97751),v=s(94901),m=s(36840),y=p&&p.prototype;if(o({target:"Promise",proto:!0,forced:c,real:!0},{catch:function(x){return this.then(void 0,x)}}),!l&&v(p)){var E=h("Promise").prototype.catch;y.catch!==E&&m(y,"catch",E,{unsafe:!0})}},10436(f,g,s){"use strict";var De,xt,qe,Tt,o=s(46518),l=s(96395),c=s(16193),p=s(44576),h=s(19167),v=s(69565),m=s(36840),y=s(52967),E=s(10687),x=s(87633),C=s(79306),A=s(94901),w=s(20034),P=s(90679),N=s(24674),M=s(59225).set,B=s(91955),O=s(90757),R=s(1103),k=s(18265),L=s(91181),F=s(80550),V=s(10916),H=s(36043),$="Promise",G=V.CONSTRUCTOR,X=V.REJECTION_EVENT,Z=V.SUBCLASSING,Q=L.getterFor($),J=L.set,ne=F&&F.prototype,he=F,te=ne,ce=p.TypeError,ge=p.document,ae=p.process,ye=H.f,Ee=ye,Ce=!!(ge&&ge.createEvent&&p.dispatchEvent),Oe="unhandledrejection",Ft=function(me){var Re;return!(!w(me)||!A(Re=me.then))&&Re},Wt=function(me,Re){var $e,ee,pt,Je=Re.value,Lt=1===Re.state,Mt=Lt?me.ok:me.fail,wn=me.resolve,er=me.reject,mt=me.domain;try{Mt?(Lt||(2===Re.rejection&&be(Re),Re.rejection=1),!0===Mt?$e=Je:(mt&&mt.enter(),$e=Mt(Je),mt&&(mt.exit(),pt=!0)),$e===me.promise?er(new ce("Promise-chain cycle")):(ee=Ft($e))?v(ee,$e,wn,er):wn($e)):er(Je)}catch(kt){mt&&!pt&&mt.exit(),er(kt)}},ot=function(me,Re){me.notified||(me.notified=!0,B(function(){for(var Lt,Je=me.reactions;Lt=Je.get();)Wt(Lt,me);me.notified=!1,Re&&!me.rejection&&Xe(me)}))},_e=function(me,Re,Je){var Lt,Mt;Ce?((Lt=ge.createEvent("Event")).promise=Re,Lt.reason=Je,Lt.initEvent(me,!1,!0),p.dispatchEvent(Lt)):Lt={promise:Re,reason:Je},!X&&(Mt=p["on"+me])?Mt(Lt):me===Oe&&O("Unhandled promise rejection",Je)},Xe=function(me){v(M,p,function(){var Mt,Re=me.facade,Je=me.value;if(Rt(me)&&(Mt=R(function(){c?ae.emit("unhandledRejection",Je,Re):_e(Oe,Re,Je)}),me.rejection=c||Rt(me)?2:1,Mt.error))throw Mt.value})},Rt=function(me){return 1!==me.rejection&&!me.parent},be=function(me){v(M,p,function(){var Re=me.facade;c?ae.emit("rejectionHandled",Re):_e("rejectionhandled",Re,me.value)})},Ge=function(me,Re,Je){return function(Lt){me(Re,Lt,Je)}},vt=function(me,Re,Je){me.done||(me.done=!0,Je&&(me=Je),me.value=Re,me.state=2,ot(me,!0))},yn=function(me,Re,Je){if(!me.done){me.done=!0,Je&&(me=Je);try{if(me.facade===Re)throw new ce("Promise can't be resolved itself");var Lt=Ft(Re);Lt?B(function(){var Mt={done:!1};try{v(Lt,Re,Ge(yn,Mt,me),Ge(vt,Mt,me))}catch(wn){vt(Mt,wn,me)}}):(me.value=Re,me.state=1,ot(me,!1))}catch(Mt){vt({done:!1},Mt,me)}}};if(G&&(te=(he=function(Re){P(this,te),C(Re),v(De,this);var Je=Q(this);try{Re(Ge(yn,Je),Ge(vt,Je))}catch(Lt){vt(Je,Lt)}}).prototype,(De=function(Re){J(this,{type:$,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:null})}).prototype=m(te,"then",function(Re,Je){var Lt=Q(this),Mt=ye(N(this,he));return Lt.parent=!0,Mt.ok=!A(Re)||Re,Mt.fail=A(Je)&&Je,Mt.domain=c?ae.domain:void 0,0===Lt.state?Lt.reactions.add(Mt):B(function(){Wt(Mt,Lt)}),Mt.promise}),xt=function(){var me=new De,Re=Q(me);this.promise=me,this.resolve=Ge(yn,Re),this.reject=Ge(vt,Re)},H.f=ye=function(me){return me===he||me===qe?new xt(me):Ee(me)},!l&&A(F)&&ne!==Object.prototype)){Tt=ne.then,Z||m(ne,"then",function(Re,Je){var Lt=this;return new he(function(Mt,wn){v(Tt,Lt,Mt,wn)}).then(Re,Je)},{unsafe:!0});try{delete ne.constructor}catch{}y&&y(ne,te)}o({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:he}),qe=h.Promise,E(he,$,!1,!0),x($)},3362(f,g,s){"use strict";s(10436),s(16499),s(82003),s(7743),s(51481),s(40280)},7743(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(79306),p=s(36043),h=s(1103),v=s(72652);o({target:"Promise",stat:!0,forced:s(90537)},{race:function(E){var x=this,C=p.f(x),A=C.reject,w=h(function(){var P=c(x.resolve);v(E,function(N){l(P,x,N).then(C.resolve,A)})});return w.error&&A(w.value),C.promise}})},51481(f,g,s){"use strict";var o=s(46518),l=s(36043);o({target:"Promise",stat:!0,forced:s(10916).CONSTRUCTOR},{reject:function(h){var v=l.f(this);return(0,v.reject)(h),v.promise}})},40280(f,g,s){"use strict";var o=s(46518),l=s(97751),c=s(96395),p=s(80550),h=s(10916).CONSTRUCTOR,v=s(93438),m=l("Promise"),y=c&&!h;o({target:"Promise",stat:!0,forced:c||h},{resolve:function(x){return v(y&&this===m?p:this,x)}})},39796(f,g,s){"use strict";var o=s(46518),l=s(18745),c=s(79306),p=s(28551);o({target:"Reflect",stat:!0,forced:!s(79039)(function(){Reflect.apply(function(){})})},{apply:function(y,E,x){return l(c(y),E,p(x))}})},60825(f,g,s){"use strict";var o=s(46518),l=s(97751),c=s(18745),p=s(30566),h=s(35548),v=s(28551),m=s(20034),y=s(2360),E=s(79039),x=l("Reflect","construct"),C=Object.prototype,A=[].push,w=E(function(){function M(){}return!(x(function(){},[],M)instanceof M)}),P=!E(function(){x(function(){})}),N=w||P;o({target:"Reflect",stat:!0,forced:N,sham:N},{construct:function(B,O){h(B);var R=arguments.length<3?B:h(arguments[2]);if(v(O),P&&!w)return x(B,O,R);if(B===R){switch(O.length){case 0:return new B;case 1:return new B(O[0]);case 2:return new B(O[0],O[1]);case 3:return new B(O[0],O[1],O[2]);case 4:return new B(O[0],O[1],O[2],O[3])}var k=[null];return c(A,k,O),new(c(p,B,k))}var L=R.prototype,F=y(m(L)?L:C),V=c(B,F,O);return m(V)?V:F}})},87411(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(28551),p=s(56969),h=s(24913),v=s(94901),m=s(79039),y=TypeError;o({target:"Reflect",stat:!0,forced:m(function(){Reflect.defineProperty(h.f({},1,{value:1}),1,{value:2})}),sham:!l},{defineProperty:function(C,A,w){c(C);var N,M,P=p(A);if(c(w),("get"in w||"set"in w)&&("get"in w&&!v(N=w.get)&&void 0!==N||"set"in w&&!v(M=w.set)&&void 0!==M||"value"in w||"writable"in w))throw new y("Invalid property descriptor");try{return h.f(C,P,w),!0}catch{return!1}}})},21211(f,g,s){"use strict";var o=s(46518),l=s(28551),c=s(77347).f,p=s(56969);o({target:"Reflect",stat:!0},{deleteProperty:function(v,m){l(v);var y=p(m),E=c(v,y);return!(E&&!E.configurable)&&delete v[y]}})},9065(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(28551),p=s(77347);o({target:"Reflect",stat:!0,sham:!l},{getOwnPropertyDescriptor:function(v,m){return p.f(c(v),m)}})},86565(f,g,s){"use strict";var o=s(46518),l=s(28551),c=s(42787);o({target:"Reflect",stat:!0,sham:!s(12211)},{getPrototypeOf:function(v){return c(l(v))}})},40888(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(20034),p=s(28551),h=s(16575),v=s(77347),m=s(42787),y=s(56969),E=function(x,C,A){if(p(x)===A)return x[C];var w=v.f(x,C);if(w)return h(w)?w.value:void 0===w.get?void 0:l(w.get,A);var P=m(x);return c(P)?E(P,C,A):void 0};o({target:"Reflect",stat:!0},{get:function(C,A){return E(p(C),y(A),arguments.length<3?C:arguments[2])}})},32812(f,g,s){"use strict";s(46518)({target:"Reflect",stat:!0},{has:function(c,p){return p in c}})},84634(f,g,s){"use strict";var o=s(46518),l=s(28551),c=s(34124);o({target:"Reflect",stat:!0},{isExtensible:function(h){return l(h),c(h)}})},71137(f,g,s){"use strict";s(46518)({target:"Reflect",stat:!0},{ownKeys:s(35031)})},30985(f,g,s){"use strict";var o=s(46518),l=s(97751),c=s(28551);o({target:"Reflect",stat:!0,sham:!s(92744)},{preventExtensions:function(v){c(v);try{var m=l("Object","preventExtensions");return m&&m(v),!0}catch{return!1}}})},34873(f,g,s){"use strict";var o=s(46518),l=s(28551),c=s(73506),p=s(52967);p&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(v,m){l(v),c(m);try{return p(v,m),!0}catch{return!1}}})},34268(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(28551),p=s(20034),h=s(16575),v=s(79039),m=s(24913),y=s(77347),E=s(42787),x=s(6980),C=s(56969),A=function(P,N,M,B){var R,k,L,O=y.f(c(P),N);if(!O){if(p(k=E(P)))return A(k,N,M,B);O=x(0)}if(h(O)){if(!1===O.writable||!p(B))return!1;if(R=y.f(B,N)){if(!h(R)||!1===R.writable)return!1;m.f(B,N,{value:M})}else try{m.f(B,N,x(0,M))}catch{return!1}}else{if(void 0===(L=O.set))return!1;l(L,B,M)}return!0};o({target:"Reflect",stat:!0,forced:v(function(){var P=function(){},N=m.f(new P,"a",{configurable:!0});return!1!==Reflect.set(P.prototype,"a",1,N)})},{set:function(N,M,B){return A(c(N),C(M),B,arguments.length<4?N:arguments[3])}})},15472(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(10687);o({global:!0},{Reflect:{}}),c(l.Reflect,"Reflect",!0)},84864(f,g,s){"use strict";var o=s(43724),l=s(44576),c=s(79504),p=s(92796),h=s(23167),v=s(66699),m=s(2360),y=s(38480).f,E=s(1625),x=s(60788),C=s(655),A=s(61034),w=s(58429),P=s(11056),N=s(36840),M=s(79039),B=s(39297),O=s(91181).enforce,R=s(87633),k=s(78227),L=s(83635),F=s(18814),V=k("match"),H=l.RegExp,$=H.prototype,G=l.SyntaxError,X=c($.exec),Z=c("".charAt),Q=c("".replace),J=c("".indexOf),ne=c("".slice),he=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,te=/a/g,ce=/a/g,ge=new H(te)!==te,ae=w.MISSED_STICKY,ye=w.UNSUPPORTED_Y,Ee=o&&(!ge||ae||L||F||M(function(){return ce[V]=!1,H(te)!==te||H(ce)===ce||"/a/i"!==String(H(te,"i"))}));if(p("RegExp",Ee)){for(var Ue=function(Be,Pe){var Wt,ot,_e,Xe,Rt,be,De=E($,this),xt=x(Be),qe=void 0===Pe,Tt=[],Ft=Be;if(!De&&xt&&qe&&Be.constructor===Ue)return Be;if((xt||E($,Be))&&(Be=Be.source,qe&&(Pe=A(Ft))),Be=void 0===Be?"":C(Be),Pe=void 0===Pe?"":C(Pe),Ft=Be,L&&"dotAll"in te&&((ot=!!Pe&&J(Pe,"s")>-1)&&(Pe=Q(Pe,/s/g,""))),Wt=Pe,ae&&"sticky"in te&&((_e=!!Pe&&J(Pe,"y")>-1)&&ye&&(Pe=Q(Pe,/y/g,""))),F&&(Xe=function(Ze){for(var _e,Be=Ze.length,Pe=0,De="",xt=[],qe=m(null),Tt=!1,Ft=!1,Wt=0,ot="";Pe<Be;Pe++){if("\\"===(_e=Z(Ze,Pe))){if(_e+=Z(Ze,++Pe),!Ft&&"\\"===Z(_e,1)){De+="\\x5c";continue}}else if("]"===_e)Tt=!1;else if(!Tt)switch(!0){case"["===_e:Tt=!0;break;case"("===_e:De+=_e,X(he,ne(Ze,Pe+1))?(Pe+=2,Ft=!0,Wt++):"?"!==Z(Ze,Pe+1)&&Wt++;continue;case">"===_e&&Ft:if(""===ot||B(qe,ot))throw new G("Invalid capture group name");qe[ot]=!0,xt[xt.length]=[ot,Wt],Ft=!1,ot="";continue}Ft?ot+=_e:De+=_e}for(var Xe=0;Xe<xt.length;Xe++)for(var Rt="\\k<"+xt[Xe][0]+">",be="\\"+xt[Xe][1];J(De,Rt)>-1;)De=Q(De,Rt,be);return[De,xt]}(Be),Be=Xe[0],Tt=Xe[1]),Rt=h(H(Be,Pe),De?this:$,Ue),(ot||_e||Tt.length)&&(be=O(Rt),ot&&(be.dotAll=!0,be.raw=Ue(function(Ze){for(var qe,Be=Ze.length,Pe=0,De="",xt=!1;Pe<Be;Pe++)"\\"!==(qe=Z(Ze,Pe))?xt||"."!==qe?("["===qe?xt=!0:"]"===qe&&(xt=!1),De+=qe):De+="[\\s\\S]":De+=qe+Z(Ze,++Pe);return De}(Be),Wt)),_e&&(be.sticky=!0),Tt.length&&(be.groups=Tt)),Be!==Ft)try{v(Rt,"source",""===Ft?"(?:)":Ft)}catch{}return Rt},Ke=y(H),ke=0;Ke.length>ke;)P(Ue,H,Ke[ke++]);$.constructor=Ue,Ue.prototype=$,N(l,"RegExp",Ue,{constructor:!0})}R("RegExp")},57465(f,g,s){"use strict";var o=s(43724),l=s(83635),c=s(22195),p=s(62106),h=s(91181).get,v=RegExp.prototype,m=TypeError;o&&l&&p(v,"dotAll",{configurable:!0,get:function(){if(this!==v){if("RegExp"===c(this))return!!h(this).dotAll;throw new m("Incompatible receiver, RegExp required")}}})},96069(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(63463),p=s(39297),h=s(60533).start,v=s(47452),m=Array,y=RegExp.escape,E=l("".charAt),x=l("".charCodeAt),C=l(1.1.toString),A=l([].join),w=/^[0-9a-z]/i,P=/^[$()*+./?[\\\]^{|}]/,N=RegExp("^[!\"#%&',\\-:;<=>@`~"+v+"]"),M=l(w.exec),B={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},O=function(k){var L=C(x(k,0),16);return L.length<3?"\\x"+h(L,2,"0"):"\\u"+h(L,4,"0")};o({target:"RegExp",stat:!0,forced:!y||"\\x61b"!==y("ab")},{escape:function(L){c(L);for(var F=L.length,V=m(F),H=0;H<F;H++){var $=E(L,H);if(0===H&&M(w,$))V[H]=O($);else if(p(B,$))V[H]="\\"+B[$];else if(M(P,$))V[H]="\\"+$;else if(M(N,$))V[H]=O($);else{var G=x($,0);55296!=(63488&G)?V[H]=$:G>=56320||H+1>=F||56320!=(64512&x(L,H+1))?V[H]=O($):(V[H]=$,V[++H]=E(L,H))}}return A(V,"")}})},27495(f,g,s){"use strict";var o=s(46518),l=s(57323);o({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},69479(f,g,s){"use strict";var o=s(43724),l=s(62106),c=s(65213),p=s(67979);o&&!c.correct&&(l(RegExp.prototype,"flags",{configurable:!0,get:p}),c.correct=!0)},87745(f,g,s){"use strict";var o=s(43724),l=s(58429).MISSED_STICKY,c=s(22195),p=s(62106),h=s(91181).get,v=RegExp.prototype,m=TypeError;o&&l&&p(v,"sticky",{configurable:!0,get:function(){if(this!==v){if("RegExp"===c(this))return!!h(this).sticky;throw new m("Incompatible receiver, RegExp required")}}})},90906(f,g,s){"use strict";s(27495);var y,E,o=s(46518),l=s(69565),c=s(94901),p=s(28551),h=s(655),v=(y=!1,(E=/[ac]/).exec=function(){return y=!0,/./.exec.apply(this,arguments)},!0===E.test("abc")&&y),m=/./.test;o({target:"RegExp",proto:!0,forced:!v},{test:function(y){var E=p(this),x=h(y),C=E.exec;if(!c(C))return l(m,E,x);var A=l(C,E,x);return null!==A&&(p(A),!0)}})},38781(f,g,s){"use strict";var o=s(10350).PROPER,l=s(36840),c=s(28551),p=s(655),h=s(79039),v=s(61034),m="toString",y=RegExp.prototype,E=y[m],x=h(function(){return"/a/b"!==E.call({source:"a",flags:"b"})}),C=o&&E.name!==m;(x||C)&&l(y,m,function(){var w=c(this);return"/"+p(w.source)+"/"+p(v(w))},{unsafe:!0})},92405(f,g,s){"use strict";s(16468)("Set",function(c){return function(){return c(this,arguments.length?arguments[0]:void 0)}},s(86938))},17642(f,g,s){"use strict";var o=s(46518),l=s(83440),c=s(79039);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("difference",function(m){return 0===m.size})||c(function(){var m={size:1,has:function(){return!0},keys:function(){var E=0;return{next:function(){var x=E++>1;return y.has(1)&&y.clear(),{done:x,value:2}}}}},y=new Set([1,2,3,4]);return 3!==y.difference(m).size})},{difference:l})},58004(f,g,s){"use strict";var o=s(46518),l=s(79039),c=s(68750);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("intersection",function(v){return 2===v.size&&v.has(1)&&v.has(2)})||l(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:c})},33853(f,g,s){"use strict";var o=s(46518),l=s(64449);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("isDisjointFrom",function(h){return!h})},{isDisjointFrom:l})},45876(f,g,s){"use strict";var o=s(46518),l=s(53838);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("isSubsetOf",function(h){return h})},{isSubsetOf:l})},32475(f,g,s){"use strict";var o=s(46518),l=s(28527);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("isSupersetOf",function(h){return!h})},{isSupersetOf:l})},31415(f,g,s){"use strict";s(92405)},15024(f,g,s){"use strict";var o=s(46518),l=s(83650),c=s(39835);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("symmetricDifference")||!c("symmetricDifference")},{symmetricDifference:l})},31698(f,g,s){"use strict";var o=s(46518),l=s(44204),c=s(39835);o({target:"Set",proto:!0,real:!0,forced:!s(84916)("union")||!c("union")},{union:l})},89907(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("anchor")},{anchor:function(h){return l(this,"a","name",h)}})},67357(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(67750),p=s(91291),h=s(655),v=s(79039),m=l("".charAt);o({target:"String",proto:!0,forced:v(function(){return"\ud842"!=="\u{20bb7}".at(-2)})},{at:function(x){var C=h(c(this)),A=C.length,w=p(x),P=w>=0?w:A+w;return P<0||P>=A?void 0:m(C,P)}})},11898(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("big")},{big:function(){return l(this,"big","","")}})},35490(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("blink")},{blink:function(){return l(this,"blink","","")}})},5745(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("bold")},{bold:function(){return l(this,"b","","")}})},23860(f,g,s){"use strict";var o=s(46518),l=s(68183).codeAt;o({target:"String",proto:!0},{codePointAt:function(p){return l(this,p)}})},99449(f,g,s){"use strict";var P,o=s(46518),l=s(27476),c=s(77347).f,p=s(18014),h=s(655),v=s(60511),m=s(67750),y=s(41436),E=s(96395),x=l("".slice),C=Math.min,A=y("endsWith");o({target:"String",proto:!0,forced:!!(E||A||(P=c(String.prototype,"endsWith"),!P||P.writable))&&!A},{endsWith:function(N){var M=h(m(this));v(N);var B=h(N),O=arguments.length>1?arguments[1]:void 0,R=M.length,k=void 0===O?R:C(p(O),R);return x(M,k-B.length,k)===B}})},94298(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("fixed")},{fixed:function(){return l(this,"tt","","")}})},60268(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("fontcolor")},{fontcolor:function(h){return l(this,"font","color",h)}})},69546(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("fontsize")},{fontsize:function(h){return l(this,"font","size",h)}})},27337(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(35610),p=RangeError,h=String.fromCharCode,v=String.fromCodePoint,m=l([].join);o({target:"String",stat:!0,arity:1,forced:!!v&&1!==v.length},{fromCodePoint:function(x){for(var P,C=[],A=arguments.length,w=0;A>w;){if(P=+arguments[w],c(P,1114111)!==P)throw new p(P+" is not a valid code point");C[w++]=P<65536?h(P):h(55296+((P-=65536)>>10),P%1024+56320)}return m(C,"")}})},21699(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(60511),p=s(67750),h=s(655),v=s(41436),m=l("".indexOf);o({target:"String",proto:!0,forced:!v("includes")},{includes:function(E){return!!~m(h(p(this)),h(c(E)),arguments.length>1?arguments[1]:void 0)}})},42043(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(67750),p=s(655),h=l("".charCodeAt);o({target:"String",proto:!0},{isWellFormed:function(){for(var m=p(c(this)),y=m.length,E=0;E<y;E++){var x=h(m,E);if(55296==(63488&x)&&(x>=56320||++E>=y||56320!=(64512&h(m,E))))return!1}return!0}})},20781(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("italics")},{italics:function(){return l(this,"i","","")}})},47764(f,g,s){"use strict";var o=s(68183).charAt,l=s(655),c=s(91181),p=s(51088),h=s(62529),v="String Iterator",m=c.set,y=c.getterFor(v);p(String,"String",function(E){m(this,{type:v,string:l(E),index:0})},function(){var w,x=y(this),C=x.string,A=x.index;return A>=C.length?h(void 0,!0):(w=o(C,A),x.index+=w.length,h(w,!1))})},50778(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("link")},{link:function(h){return l(this,"a","href",h)}})},28543(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(27476),p=s(33994),h=s(62529),v=s(67750),m=s(18014),y=s(655),E=s(28551),x=s(20034),C=s(22195),A=s(60788),w=s(61034),P=s(55966),N=s(36840),M=s(79039),B=s(78227),O=s(24674),R=s(57829),k=s(56682),L=s(91181),F=s(96395),V=B("matchAll"),H="RegExp String",$=H+" Iterator",G=L.set,X=L.getterFor($),Z=RegExp.prototype,Q=TypeError,J=c("".indexOf),ne=c("".matchAll),he=!!ne&&!M(function(){ne("a",/./)}),te=p(function(ae,ye,Ee,Ce){G(this,{type:$,regexp:ae,string:ye,global:Ee,unicode:Ce,done:!1})},H,function(){var ae=X(this);if(ae.done)return h(void 0,!0);var ye=ae.regexp,Ee=ae.string,Ce=k(ye,Ee);return null===Ce?(ae.done=!0,h(void 0,!0)):ae.global?(""===y(Ce[0])&&(ye.lastIndex=R(Ee,m(ye.lastIndex),ae.unicode)),h(Ce,!1)):(ae.done=!0,h(Ce,!1))}),ce=function(ge){var Oe,Ue,Ke,ae=E(this),ye=y(ge),Ee=O(ae,RegExp),Ce=y(w(ae));return Oe=new Ee(Ee===RegExp?ae.source:ae,Ce),Ue=!!~J(Ce,"g"),Ke=!!~J(Ce,"u")||!!~J(Ce,"v"),Oe.lastIndex=m(ae.lastIndex),new te(Oe,ye,Ue,Ke)};o({target:"String",proto:!0,forced:he},{matchAll:function(ae){var Ee,Ce,Oe,Ue,ye=v(this);if(x(ae)){if(A(ae)&&(Ee=y(v(w(ae))),!~J(Ee,"g")))throw new Q("`.matchAll` does not allow non-global regexes");if(he)return ne(ye,ae);if(void 0===(Oe=P(ae,V))&&F&&"RegExp"===C(ae)&&(Oe=ce),Oe)return l(Oe,ae,ye)}else if(he)return ne(ye,ae);return Ce=y(ye),Ue=new RegExp(ae,"g"),F?l(ce,Ue,Ce):Ue[V](Ce)}}),F||V in Z||N(Z,V,ce)},71761(f,g,s){"use strict";var o=s(69565),l=s(79504),c=s(89228),p=s(28551),h=s(20034),v=s(18014),m=s(655),y=s(67750),E=s(55966),x=s(57829),C=s(61034),A=s(56682),w=l("".indexOf);c("match",function(P,N,M){return[function(O){var R=y(this),k=h(O)?E(O,P):void 0;return k?o(k,O,R):new RegExp(O)[P](m(R))},function(B){var O=p(this),R=m(B),k=M(N,O,R);if(k.done)return k.value;var L=m(C(O));if(!~w(L,"g"))return A(O,R);var F=!!~w(L,"u")||!!~w(L,"v");O.lastIndex=0;for(var $,V=[],H=0;null!==($=A(O,R));){var G=m($[0]);V[H]=G,""===G&&(O.lastIndex=x(R,v(O.lastIndex),F)),H++}return 0===H?null:V}]})},35701(f,g,s){"use strict";var o=s(46518),l=s(60533).end;o({target:"String",proto:!0,forced:s(83063)},{padEnd:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},68156(f,g,s){"use strict";var o=s(46518),l=s(60533).start;o({target:"String",proto:!0,forced:s(83063)},{padStart:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},85906(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(25397),p=s(48981),h=s(655),v=s(26198),m=l([].push),y=l([].join);o({target:"String",stat:!0},{raw:function(x){var C=c(p(x).raw),A=v(C);if(!A)return"";for(var w=arguments.length,P=[],N=0;;){if(m(P,h(C[N++])),N===A)return y(P,"");N<w&&m(P,h(arguments[N]))}}})},42781(f,g,s){"use strict";s(46518)({target:"String",proto:!0},{repeat:s(94714)})},79978(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(79504),p=s(67750),h=s(94901),v=s(20034),m=s(60788),y=s(655),E=s(55966),x=s(61034),C=s(2478),A=s(78227),w=s(96395),P=A("replace"),N=TypeError,M=c("".indexOf),B=c("".replace),O=c("".slice),R=Math.max;o({target:"String",proto:!0},{replaceAll:function(L,F){var H,$,G,X,Z,Q,J,ne,he,te,V=p(this),ce=0,ge="";if(v(L)){if((H=m(L))&&($=y(p(x(L))),!~M($,"g")))throw new N("`.replaceAll` does not allow non-global regexes");if(G=E(L,P))return l(G,L,V,F);if(w&&H)return B(y(V),L,F)}for(X=y(V),Z=y(L),(Q=h(F))||(F=y(F)),J=Z.length,ne=R(1,J),he=M(X,Z);-1!==he;)te=Q?y(F(Z,he,X)):C(Z,X,he,[],void 0,F),ge+=O(X,ce,he)+te,ce=he+J,he=he+ne>X.length?-1:M(X,Z,he+ne);return ce<X.length&&(ge+=O(X,ce)),ge}})},25440(f,g,s){"use strict";var o=s(18745),l=s(69565),c=s(79504),p=s(89228),h=s(79039),v=s(28551),m=s(94901),y=s(20034),E=s(91291),x=s(18014),C=s(655),A=s(67750),w=s(57829),P=s(55966),N=s(2478),M=s(61034),B=s(56682),R=s(78227)("replace"),k=Math.max,L=Math.min,F=c([].concat),V=c([].push),H=c("".indexOf),$=c("".slice),G=function(J){return void 0===J?J:String(J)},X="$0"==="a".replace(/./,"$0"),Z=!!/./[R]&&""===/./[R]("a","$0");p("replace",function(J,ne,he){var te=Z?"$":"$0";return[function(ge,ae){var ye=A(this),Ee=y(ge)?P(ge,R):void 0;return Ee?l(Ee,ge,ye,ae):l(ne,C(ye),ge,ae)},function(ce,ge){var ae=v(this),ye=C(ce),Ee=m(ge);Ee||(ge=C(ge));var Ce=C(M(ae));if("string"==typeof ge&&!~H(ge,te)&&!~H(ge,"$<")&&!~H(Ce,"y")){var Oe=he(ne,ae,ye,ge);if(Oe.done)return Oe.value}var Ke,Ue=!!~H(Ce,"g");Ue&&(Ke=!!~H(Ce,"u")||!!~H(Ce,"v"),ae.lastIndex=0);for(var Ze,ke=[];null!==(Ze=B(ae,ye))&&(V(ke,Ze),Ue);){""===C(Ze[0])&&(ae.lastIndex=w(ye,x(ae.lastIndex),Ke))}for(var Pe="",De=0,xt=0;xt<ke.length;xt++){Ze=ke[xt];for(var Wt,qe=C(Ze[0]),Tt=k(L(E(Ze.index),ye.length),0),Ft=[],ot=1;ot<Ze.length;ot++)V(Ft,G(Ze[ot]));var _e=Ze.groups;if(Ee){var Xe=F([qe],Ft,Tt,ye);void 0!==_e&&V(Xe,_e),Wt=C(o(ge,void 0,Xe))}else Wt=N(qe,ye,Tt,Ft,_e,ge);Tt>=De&&(Pe+=$(ye,De,Tt)+Wt,De=Tt+qe.length)}return Pe+$(ye,De)}]},!!h(function(){var J=/./;return J.exec=function(){var ne=[];return ne.groups={a:"7"},ne},"7"!=="".replace(J,"$<a>")})||!X||Z)},5746(f,g,s){"use strict";var o=s(69565),l=s(89228),c=s(28551),p=s(20034),h=s(67750),v=s(3470),m=s(655),y=s(55966),E=s(56682);l("search",function(x,C,A){return[function(P){var N=h(this),M=p(P)?y(P,x):void 0;return M?o(M,P,N):new RegExp(P)[x](m(N))},function(w){var P=c(this),N=m(w),M=A(C,P,N);if(M.done)return M.value;var B=P.lastIndex;v(B,0)||(P.lastIndex=0);var O=E(P,N);return v(P.lastIndex,B)||(P.lastIndex=B),null===O?-1:O.index}]})},89195(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("small")},{small:function(){return l(this,"small","","")}})},90744(f,g,s){"use strict";var o=s(69565),l=s(79504),c=s(89228),p=s(28551),h=s(20034),v=s(67750),m=s(24674),y=s(57829),E=s(18014),x=s(655),C=s(55966),A=s(61034),w=s(56682),P=s(58429),N=s(79039),M=P.UNSUPPORTED_Y,O=Math.min,R=l([].push),k=l("".slice),L=l("".indexOf),F=!N(function(){var H=/(?:)/,$=H.exec;H.exec=function(){return $.apply(this,arguments)};var G="ab".split(H);return 2!==G.length||"a"!==G[0]||"b"!==G[1]}),V="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;c("split",function(H,$,G){var X="0".split(void 0,0).length?function(Z,Q){return void 0===Z&&0===Q?[]:o($,this,Z,Q)}:$;return[function(Q,J){var ne=v(this),he=h(Q)?C(Q,H):void 0;return he?o(he,Q,ne,J):o(X,x(ne),Q,J)},function(Z,Q){var J=p(this),ne=x(Z);if(!V){var he=G(X,J,ne,Q,X!==$);if(he.done)return he.value}var te=m(J,RegExp),ce=x(A(J)),ge=!!~L(ce,"u")||!!~L(ce,"v");M?~L(ce,"g")||(ce+="g"):~L(ce,"y")||(ce+="y");var ae=new te(M?"^(?:"+J.source+")":J,ce),ye=void 0===Q?4294967295:Q>>>0;if(0===ye)return[];if(0===ne.length)return null===w(ae,ne)?[ne]:[];for(var Ee=0,Ce=0,Oe=[];Ce<ne.length;){ae.lastIndex=M?0:Ce;var Ke,Ue=w(ae,M?k(ne,Ce):ne);if(null===Ue||(Ke=O(E(ae.lastIndex+(M?Ce:0)),ne.length))===Ee)Ce=y(ne,Ce,ge);else{if(R(Oe,k(ne,Ee,Ce)),Oe.length===ye)return Oe;for(var ke=1;ke<=Ue.length-1;ke++)if(R(Oe,Ue[ke]),Oe.length===ye)return Oe;Ce=Ee=Ke}}return R(Oe,k(ne,Ee)),Oe}]},V||!F,M)},11392(f,g,s){"use strict";var P,o=s(46518),l=s(27476),c=s(77347).f,p=s(18014),h=s(655),v=s(60511),m=s(67750),y=s(41436),E=s(96395),x=l("".slice),C=Math.min,A=y("startsWith");o({target:"String",proto:!0,forced:!!(E||A||(P=c(String.prototype,"startsWith"),!P||P.writable))&&!A},{startsWith:function(N){var M=h(m(this));v(N);var B=h(N),O=p(C(arguments.length>1?arguments[1]:void 0,M.length));return x(M,O,O+B.length)===B}})},46276(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("strike")},{strike:function(){return l(this,"strike","","")}})},48718(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("sub")},{sub:function(){return l(this,"sub","","")}})},50375(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(67750),p=s(91291),h=s(655),v=l("".slice),m=Math.max,y=Math.min;o({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(C,A){var w=h(c(this)),P=w.length,N=p(C),M=N<0?m(P+N,0):y(N,P),B=void 0===A?P:p(A);if(B<=0)return"";var O=y(M+B,P);return M>=O?"":v(w,M,O)}})},16308(f,g,s){"use strict";var o=s(46518),l=s(77240);o({target:"String",proto:!0,forced:s(23061)("sup")},{sup:function(){return l(this,"sup","","")}})},67438(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(79504),p=s(67750),h=s(655),v=s(79039),m=Array,y=c("".charAt),E=c("".charCodeAt),x=c([].join),C="".toWellFormed,w=C&&v(function(){return"1"!==l(C,1)});o({target:"String",proto:!0,forced:w},{toWellFormed:function(){var N=h(p(this));if(w)return l(C,N);for(var M=N.length,B=m(M),O=0;O<M;O++){var R=E(N,O);55296!=(63488&R)?B[O]=y(N,O):R>=56320||O+1>=M||56320!=(64512&E(N,O+1))?B[O]="\ufffd":(B[O]=y(N,O),B[++O]=y(N,O))}return x(B,"")}})},39202(f,g,s){"use strict";s(33313);var o=s(46518),l=s(18866);o({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==l},{trimEnd:l})},58934(f,g,s){"use strict";var o=s(46518),l=s(53487);o({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==l},{trimLeft:l})},33313(f,g,s){"use strict";var o=s(46518),l=s(18866);o({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==l},{trimRight:l})},43359(f,g,s){"use strict";s(58934);var o=s(46518),l=s(53487);o({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==l},{trimStart:l})},42762(f,g,s){"use strict";var o=s(46518),l=s(43802).trim;o({target:"String",proto:!0,forced:s(60706)("trim")},{trim:function(){return l(this)}})},34113(f,g,s){"use strict";var o=s(44576),l=s(70511),c=s(24913).f,p=s(77347).f,h=o.Symbol;if(l("asyncDispose"),h){var v=p(h,"asyncDispose");v.enumerable&&v.configurable&&v.writable&&c(h,"asyncDispose",{value:v.value,enumerable:!1,configurable:!1,writable:!1})}},66412(f,g,s){"use strict";s(70511)("asyncIterator")},6761(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(69565),p=s(79504),h=s(96395),v=s(43724),m=s(4495),y=s(79039),E=s(39297),x=s(1625),C=s(28551),A=s(25397),w=s(56969),P=s(655),N=s(6980),M=s(2360),B=s(71072),O=s(38480),R=s(10298),k=s(33717),L=s(77347),F=s(24913),V=s(96801),H=s(48773),$=s(36840),G=s(62106),X=s(25745),Z=s(66119),Q=s(30421),J=s(33392),ne=s(78227),he=s(1951),te=s(70511),ce=s(58242),ge=s(10687),ae=s(91181),ye=s(59213).forEach,Ee=Z("hidden"),Ce="Symbol",Oe="prototype",Ue=ae.set,Ke=ae.getterFor(Ce),ke=Object[Oe],Ze=l.Symbol,Be=Ze&&Ze[Oe],Pe=l.RangeError,De=l.TypeError,xt=l.QObject,qe=L.f,Tt=F.f,Ft=R.f,Wt=H.f,ot=p([].push),_e=X("symbols"),Xe=X("op-symbols"),Rt=X("wks"),be=!xt||!xt[Oe]||!xt[Oe].findChild,Ge=function(mt,$e,ee){var pt=qe(ke,$e);return pt&&delete ke[$e],Tt(mt,$e,ee),pt&&mt!==ke&&Tt(ke,$e,pt),mt},vt=v&&y(function(){return 7!==M(Tt({},"a",{get:function(){return Tt(this,"a",{value:7}).a}})).a})?Ge:Tt,yn=function(mt,$e){var ee=_e[mt]=M(Be);return Ue(ee,{type:Ce,tag:mt,description:$e}),v||(ee.description=$e),ee},me=function($e,ee,pt){$e===ke&&me(Xe,ee,pt),C($e);var kt=w(ee);return C(pt),E(_e,kt)?(("enumerable"in pt?!pt.enumerable:!E($e,kt)||E($e,Ee)&&$e[Ee][kt])?(E($e,Ee)||Tt($e,Ee,N(1,M(null))),$e[Ee][kt]=!0):(E($e,Ee)&&$e[Ee][kt]&&($e[Ee][kt]=!1),pt=M(pt,{enumerable:N(0,!1)})),vt($e,kt,pt)):Tt($e,kt,pt)},Re=function($e,ee){C($e);var pt=A(ee),kt=B(pt).concat(er(pt));return ye(kt,function(Qt){(!v||c(Lt,pt,Qt))&&me($e,Qt,pt[Qt])}),$e},Lt=function($e){var ee=w($e),pt=c(Wt,this,ee);return!(this===ke&&E(_e,ee)&&!E(Xe,ee))&&(!(pt||!E(this,ee)||!E(_e,ee)||E(this,Ee)&&this[Ee][ee])||pt)},Mt=function($e,ee){var pt=A($e),kt=w(ee);if(pt!==ke||!E(_e,kt)||E(Xe,kt)){var Qt=qe(pt,kt);return Qt&&E(_e,kt)&&!(E(pt,Ee)&&pt[Ee][kt])&&(Qt.enumerable=!0),Qt}},wn=function($e){var ee=Ft(A($e)),pt=[];return ye(ee,function(kt){!E(_e,kt)&&!E(Q,kt)&&ot(pt,kt)}),pt},er=function(mt){var $e=mt===ke,ee=Ft($e?Xe:A(mt)),pt=[];return ye(ee,function(kt){E(_e,kt)&&(!$e||E(ke,kt))&&ot(pt,_e[kt])}),pt};m||(Ze=function(){if(x(Be,this))throw new De("Symbol is not a constructor");var $e=arguments.length&&void 0!==arguments[0]?P(arguments[0]):void 0,ee=J($e),pt=function(kt){var Qt=void 0===this?l:this;Qt===ke&&c(pt,Xe,kt),E(Qt,Ee)&&E(Qt[Ee],ee)&&(Qt[Ee][ee]=!1);var Bt=N(1,kt);try{vt(Qt,ee,Bt)}catch(In){if(!(In instanceof Pe))throw In;Ge(Qt,ee,Bt)}};return v&&be&&vt(ke,ee,{configurable:!0,set:pt}),yn(ee,$e)},$(Be=Ze[Oe],"toString",function(){return Ke(this).tag}),$(Ze,"withoutSetter",function(mt){return yn(J(mt),mt)}),H.f=Lt,F.f=me,V.f=Re,L.f=Mt,O.f=R.f=wn,k.f=er,he.f=function(mt){return yn(ne(mt),mt)},v&&(G(Be,"description",{configurable:!0,get:function(){return Ke(this).description}}),h||$(ke,"propertyIsEnumerable",Lt,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!m,sham:!m},{Symbol:Ze}),ye(B(Rt),function(mt){te(mt)}),o({target:Ce,stat:!0,forced:!m},{useSetter:function(){be=!0},useSimple:function(){be=!1}}),o({target:"Object",stat:!0,forced:!m,sham:!v},{create:function($e,ee){return void 0===ee?M($e):Re(M($e),ee)},defineProperty:me,defineProperties:Re,getOwnPropertyDescriptor:Mt}),o({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:wn}),ce(),ge(Ze,Ce),Q[Ee]=!0},89463(f,g,s){"use strict";var o=s(46518),l=s(43724),c=s(44576),p=s(69565),h=s(79504),v=s(39297),m=s(94901),y=s(1625),E=s(655),x=s(62106),C=s(77740),A=c.Symbol,w=A&&A.prototype;if(l&&m(A)&&(!("description"in w)||void 0!==A().description)){var P={},N=function(){var H=arguments.length<1||void 0===arguments[0]?void 0:E(arguments[0]),$=y(w,this)?new A(H):void 0===H?A():A(H);return""===H&&(P[$]=!0),$};C(N,A);var M=N.for;N.for=function(V){var H=E(V),$=p(M,this,H);return""===H&&(P[$]=!0),$},N.prototype=w,w.constructor=N;var B="Symbol(description detection)"===String(A("description detection")),O=h(w.valueOf),R=h(w.toString),k=/^Symbol\((.*)\)[^)]+$/,L=h("".replace),F=h("".slice);x(w,"description",{configurable:!0,get:function(){var H=O(this);if(v(P,H))return"";var $=R(H),G=B?F($,7,-1):L($,k,"$1");return""===G?void 0:G}}),o({global:!0,constructor:!0,forced:!0},{Symbol:N})}},97324(f,g,s){"use strict";var o=s(44576),l=s(70511),c=s(24913).f,p=s(77347).f,h=o.Symbol;if(l("dispose"),h){var v=p(h,"dispose");v.enumerable&&v.configurable&&v.writable&&c(h,"dispose",{value:v.value,enumerable:!1,configurable:!1,writable:!1})}},81510(f,g,s){"use strict";var o=s(46518),l=s(97751),c=s(39297),p=s(655),h=s(25745),v=s(91296),m=h("string-to-symbol-registry"),y=h("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!v},{for:function(E){var x=p(E);if(c(m,x))return m[x];var C=l("Symbol")(x);return m[x]=C,y[C]=x,C}})},60193(f,g,s){"use strict";s(70511)("hasInstance")},92168(f,g,s){"use strict";s(70511)("isConcatSpreadable")},2259(f,g,s){"use strict";s(70511)("iterator")},52675(f,g,s){"use strict";s(6761),s(81510),s(97812),s(33110),s(49773)},97812(f,g,s){"use strict";var o=s(46518),l=s(39297),c=s(10757),p=s(16823),h=s(25745),v=s(91296),m=h("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!v},{keyFor:function(E){if(!c(E))throw new TypeError(p(E)+" is not a symbol");if(l(m,E))return m[E]}})},83142(f,g,s){"use strict";s(70511)("matchAll")},86964(f,g,s){"use strict";s(70511)("match")},83237(f,g,s){"use strict";s(70511)("replace")},61833(f,g,s){"use strict";s(70511)("search")},67947(f,g,s){"use strict";s(70511)("species")},31073(f,g,s){"use strict";s(70511)("split")},45700(f,g,s){"use strict";var o=s(70511),l=s(58242);o("toPrimitive"),l()},78125(f,g,s){"use strict";var o=s(97751),l=s(70511),c=s(10687);l("toStringTag"),c(o("Symbol"),"Symbol")},20326(f,g,s){"use strict";s(70511)("unscopables")},48140(f,g,s){"use strict";var o=s(94644),l=s(26198),c=s(91291),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("at",function(m){var y=p(this),E=l(y),x=c(m),C=x>=0?x:E+x;return C<0||C>=E?void 0:y[C]})},81630(f,g,s){"use strict";var o=s(79504),l=s(94644),p=o(s(57029)),h=l.aTypedArray;(0,l.exportTypedArrayMethod)("copyWithin",function(y,E){return p(h(this),y,E,arguments.length>2?arguments[2]:void 0)})},72170(f,g,s){"use strict";var o=s(94644),l=s(59213).every,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},75044(f,g,s){"use strict";var o=s(94644),l=s(84373),c=s(75854),p=s(36955),h=s(69565),v=s(79504),m=s(79039),y=o.aTypedArray,E=o.exportTypedArrayMethod,x=v("".slice);E("fill",function(w){var P=arguments.length;y(this);var N="Big"===x(p(this),0,3)?c(w):+w;return h(l,this,N,P>1?arguments[1]:void 0,P>2?arguments[2]:void 0)},m(function(){var A=0;return new Int8Array(2).fill({valueOf:function(){return A++}}),1!==A}))},69539(f,g,s){"use strict";var o=s(94644),l=s(59213).filter,c=s(29948),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("filter",function(m){var y=l(p(this),m,arguments.length>1?arguments[1]:void 0);return c(this,y)})},89955(f,g,s){"use strict";var o=s(94644),l=s(59213).findIndex,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},91134(f,g,s){"use strict";var o=s(94644),l=s(43839).findLastIndex,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("findLastIndex",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},21903(f,g,s){"use strict";var o=s(94644),l=s(43839).findLast,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("findLast",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},31694(f,g,s){"use strict";var o=s(94644),l=s(59213).find,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},34594(f,g,s){"use strict";s(15823)("Float32",function(l){return function(p,h,v){return l(this,p,h,v)}})},29833(f,g,s){"use strict";s(15823)("Float64",function(l){return function(p,h,v){return l(this,p,h,v)}})},33206(f,g,s){"use strict";var o=s(94644),l=s(59213).forEach,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",function(v){l(c(this),v,arguments.length>1?arguments[1]:void 0)})},48345(f,g,s){"use strict";var o=s(72805);(0,s(94644).exportTypedArrayStaticMethod)("from",s(43251),o)},44496(f,g,s){"use strict";var o=s(94644),l=s(19617).includes,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},66651(f,g,s){"use strict";var o=s(94644),l=s(19617).indexOf,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},72107(f,g,s){"use strict";s(15823)("Int16",function(l){return function(p,h,v){return l(this,p,h,v)}})},95477(f,g,s){"use strict";s(15823)("Int32",function(l){return function(p,h,v){return l(this,p,h,v)}})},46594(f,g,s){"use strict";s(15823)("Int8",function(l){return function(p,h,v){return l(this,p,h,v)}})},12887(f,g,s){"use strict";var o=s(44576),l=s(79039),c=s(79504),p=s(94644),h=s(23792),m=s(78227)("iterator"),y=o.Uint8Array,E=c(h.values),x=c(h.keys),C=c(h.entries),A=p.aTypedArray,w=p.exportTypedArrayMethod,P=y&&y.prototype,N=!l(function(){P[m].call([1])}),M=!!P&&P.values&&P[m]===P.values&&"values"===P.values.name,B=function(){return E(A(this))};w("entries",function(){return C(A(this))},N),w("keys",function(){return x(A(this))},N),w("values",B,N||!M,{name:"values"}),w(m,B,N||!M,{name:"values"})},19369(f,g,s){"use strict";var o=s(94644),l=s(79504),c=o.aTypedArray,p=o.exportTypedArrayMethod,h=l([].join);p("join",function(m){return h(c(this),m)})},66812(f,g,s){"use strict";var o=s(94644),l=s(18745),c=s(8379),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",function(m){var y=arguments.length;return l(c,p(this),y>1?[m,arguments[1]]:[m])})},8995(f,g,s){"use strict";var o=s(94644),l=s(59213).map,c=s(29948),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("map",function(m){var y=l(p(this),m,arguments.length>1?arguments[1]:void 0);return c(this,y)})},52568(f,g,s){"use strict";var o=s(94644),l=s(72805),c=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",function(){for(var v=0,m=arguments.length,y=new(c(this))(m);m>v;)y[v]=arguments[v++];return y},l)},36072(f,g,s){"use strict";var o=s(94644),l=s(80926).right,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",function(v){var m=arguments.length;return l(c(this),v,m,m>1?arguments[1]:void 0)})},31575(f,g,s){"use strict";var o=s(94644),l=s(80926).left,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",function(v){var m=arguments.length;return l(c(this),v,m,m>1?arguments[1]:void 0)})},88747(f,g,s){"use strict";var o=s(94644),l=o.aTypedArray,c=o.exportTypedArrayMethod,p=Math.floor;c("reverse",function(){for(var x,v=this,m=l(v).length,y=p(m/2),E=0;E<y;)x=v[E],v[E++]=v[--m],v[m]=x;return v})},28845(f,g,s){"use strict";var o=s(44576),l=s(69565),c=s(94644),p=s(26198),h=s(58229),v=s(48981),m=s(79039),y=o.RangeError,E=o.Int8Array,x=E&&E.prototype,C=x&&x.set,A=c.aTypedArray,w=c.exportTypedArrayMethod,P=!m(function(){var M=new Uint8ClampedArray(2);return l(C,M,{length:1,0:3},1),3!==M[1]}),N=P&&c.NATIVE_ARRAY_BUFFER_VIEWS&&m(function(){var M=new E(2);return M.set(1),M.set("2",1),0!==M[0]||2!==M[1]});w("set",function(B){A(this);var O=h(arguments.length>1?arguments[1]:void 0,1),R=v(B);if(P)return l(C,this,R,O);var k=this.length,L=p(R),F=0;if(L+O>k)throw new y("Wrong length");for(;F<L;)this[O+F]=R[F++]},!P||N)},29423(f,g,s){"use strict";var o=s(94644),l=s(79039),c=s(67680),p=o.aTypedArray,h=o.getTypedArrayConstructor;(0,o.exportTypedArrayMethod)("slice",function(E,x){for(var C=c(p(this),E,x),A=h(this),w=0,P=C.length,N=new A(P);P>w;)N[w]=C[w++];return N},l(function(){new Int8Array(1).slice()}))},57301(f,g,s){"use strict";var o=s(94644),l=s(59213).some,c=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",function(v){return l(c(this),v,arguments.length>1?arguments[1]:void 0)})},373(f,g,s){"use strict";var o=s(44576),l=s(27476),c=s(79039),p=s(79306),h=s(74488),v=s(94644),m=s(13709),y=s(13763),E=s(39519),x=s(3607),C=v.aTypedArray,A=v.exportTypedArrayMethod,w=o.Uint16Array,P=w&&l(w.prototype.sort),N=!(!P||c(function(){P(new w(2),null)})&&c(function(){P(new w(2),{})})),M=!!P&&!c(function(){if(E)return E<74;if(m)return m<67;if(y)return!0;if(x)return x<602;var k,L,O=new w(516),R=Array(516);for(k=0;k<516;k++)L=k%4,O[k]=515-k,R[k]=k-2*L+3;for(P(O,function(F,V){return(F/4|0)-(V/4|0)}),k=0;k<516;k++)if(O[k]!==R[k])return!0});A("sort",function(R){return void 0!==R&&p(R),M?P(this,R):h(C(this),(O=R,function(R,k){return void 0!==O?+O(R,k)||0:k!=k?R!=R?0:-1:R!=R?1:0===R&&0===k?1/R>0?1/k>0?0:1:1/k>0?-1:0:R>k?1:R<k?-1:0}));var O},!M||N)},86614(f,g,s){"use strict";var o=s(94644),l=s(18014),c=s(35610),p=o.aTypedArray,h=o.getTypedArrayConstructor;(0,o.exportTypedArrayMethod)("subarray",function(y,E){var x=p(this),C=x.length,A=c(y,C);return new(h(x))(x.buffer,x.byteOffset+A*x.BYTES_PER_ELEMENT,l((void 0===E?C:c(E,C))-A))})},41405(f,g,s){"use strict";var o=s(44576),l=s(18745),c=s(94644),p=s(79039),h=s(67680),v=o.Int8Array,m=c.aTypedArray,y=c.exportTypedArrayMethod,E=[].toLocaleString,x=!!v&&p(function(){E.call(new v(1))});y("toLocaleString",function(){return l(E,x?h(m(this)):m(this),h(arguments))},p(function(){return[1,2].toLocaleString()!==new v([1,2]).toLocaleString()})||!p(function(){v.prototype.toLocaleString.call([1,2])}))},37467(f,g,s){"use strict";var o=s(26198),l=s(94644),c=l.aTypedArray,p=l.exportTypedArrayMethod,h=l.getTypedArrayConstructor;p("toReversed",function(){for(var m=c(this),y=o(m),E=new(h(m))(y),x=0;x<y;x++)E[x]=m[y-x-1];return E})},44732(f,g,s){"use strict";var o=s(94644),l=s(79504),c=s(79306),p=s(35370),h=o.aTypedArray,v=o.getTypedArrayConstructor,m=o.exportTypedArrayMethod,y=l(o.TypedArrayPrototype.sort);m("toSorted",function(x){void 0!==x&&c(x);var C=h(this),A=p(v(C),C);return y(A,x)})},33684(f,g,s){"use strict";var o=s(94644).exportTypedArrayMethod,l=s(79039),c=s(44576),p=s(79504),h=c.Uint8Array,v=h&&h.prototype||{},m=[].toString,y=p([].join);l(function(){m.call({})})&&(m=function(){return y(this)});var E=v.toString!==m;o("toString",m,E)},3690(f,g,s){"use strict";s(15823)("Uint16",function(l){return function(p,h,v){return l(this,p,h,v)}})},61740(f,g,s){"use strict";s(15823)("Uint32",function(l){return function(p,h,v){return l(this,p,h,v)}})},21489(f,g,s){"use strict";s(15823)("Uint8",function(l){return function(p,h,v){return l(this,p,h,v)}})},22134(f,g,s){"use strict";s(15823)("Uint8",function(l){return function(p,h,v){return l(this,p,h,v)}},!0)},79577(f,g,s){"use strict";var o=s(94644),l=s(18727),c=s(26198),p=s(91291),h=s(75854),v=o.aTypedArray,m=o.getTypedArrayConstructor,y=o.exportTypedArrayMethod,E=RangeError,x=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(A){return 8===A}}(),C=x&&function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}}();y("with",function(A,w){var P=v(this),N=c(P),M=p(A),B=M<0?N+M:M,O=l(P)?h(w):+w;if(B>=N||B<0)throw new E("Incorrect index");for(var R=new(m(P))(N),k=0;k<N;k++)R[k]=k===B?O:P[k];return R},!x||C)},45213(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(35370),p=s(59143),h=l.Uint8Array,v=!h||!h.fromBase64||!function(){try{return void h.fromBase64("a")}catch{}try{h.fromBase64("",null)}catch{return!0}}();h&&o({target:"Uint8Array",stat:!0,forced:v},{fromBase64:function(y){var E=p(y,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return c(h,E.bytes)}})},91925(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(63463),p=s(42303);l.Uint8Array&&o({target:"Uint8Array",stat:!0},{fromHex:function(v){return p(c(v)).bytes}})},16632(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(59143),p=s(34154),h=l.Uint8Array,v=!h||!h.prototype.setFromBase64||!function(){var m=new h([255,255,255,255,255]);try{return void m.setFromBase64("",null)}catch{}try{return void m.setFromBase64("a")}catch{}try{m.setFromBase64("MjYyZg===")}catch{return 50===m[0]&&54===m[1]&&50===m[2]&&255===m[3]&&255===m[4]}}();h&&o({target:"Uint8Array",proto:!0,forced:v},{setFromBase64:function(y){p(this);var E=c(y,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:E.read,written:E.written}}})},34226(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(63463),p=s(34154),h=s(55169),v=s(42303);l.Uint8Array&&o({target:"Uint8Array",proto:!0,forced:function m(){try{var y=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(y).setFromHex("cafed00d")}catch{return!0}}()},{setFromHex:function(E){p(this),c(E),h(this.buffer);var x=v(E,this).read;return{read:x,written:x/2}}})},9486(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(79504),p=s(83972),h=s(34154),v=s(55169),m=s(92804),y=s(944),E=m.i2c,x=m.i2cUrl,C=c("".charAt),A=l.Uint8Array,w=!A||!A.prototype.toBase64||!function(){try{(new A).toBase64(null)}catch{return!0}}();A&&o({target:"Uint8Array",proto:!0,forced:w},{toBase64:function(){var N=h(this),M=arguments.length?p(arguments[0]):void 0,B="base64"===y(M)?E:x,O=!!M&&!!M.omitPadding;v(this.buffer);for(var F,R="",k=0,L=N.length,V=function(H){return C(B,F>>6*H&63)};k+2<L;k+=3)F=(N[k]<<16)+(N[k+1]<<8)+N[k+2],R+=V(3)+V(2)+V(1)+V(0);return k+2===L?(F=(N[k]<<16)+(N[k+1]<<8),R+=V(3)+V(2)+V(1)+(O?"":"=")):k+1===L&&(F=N[k]<<16,R+=V(3)+V(2)+(O?"":"==")),R}})},20456(f,g,s){"use strict";var o=s(46518),l=s(44576),c=s(79504),p=s(34154),h=s(55169),v=c(1.1.toString),m=c([].join),y=Array,E=l.Uint8Array,x=!E||!E.prototype.toHex||!function(){try{return"ffffffffffffffff"===new E([255,255,255,255,255,255,255,255]).toHex()}catch{return!1}}();E&&o({target:"Uint8Array",proto:!0,forced:x},{toHex:function(){p(this),h(this.buffer);for(var A=y(this.length),w=0,P=this.length;w<P;w++){var N=v(this[w],16);A[w]=1===N.length?"0"+N:N}return m(A,"")}})},65746(f,g,s){"use strict";var k,o=s(92744),l=s(44576),c=s(79504),p=s(56279),h=s(3451),v=s(16468),m=s(91625),y=s(20034),E=s(91181).enforce,x=s(79039),C=s(58622),A=Object,w=Array.isArray,P=A.isExtensible,N=A.isFrozen,M=A.isSealed,B=A.freeze,O=A.seal,R=!l.ActiveXObject&&"ActiveXObject"in l,L=function(Q){return function(){return Q(this,arguments.length?arguments[0]:void 0)}},F=v("WeakMap",L,m),V=F.prototype,H=c(V.set);if(C)if(R){k=m.getConstructor(L,"WeakMap",!0),h.enable();var G=c(V.delete),X=c(V.has),Z=c(V.get);p(V,{delete:function(Q){if(y(Q)&&!P(Q)){var J=E(this);return J.frozen||(J.frozen=new k),G(this,Q)||J.frozen.delete(Q)}return G(this,Q)},has:function(J){if(y(J)&&!P(J)){var ne=E(this);return ne.frozen||(ne.frozen=new k),X(this,J)||ne.frozen.has(J)}return X(this,J)},get:function(J){if(y(J)&&!P(J)){var ne=E(this);return ne.frozen||(ne.frozen=new k),X(this,J)?Z(this,J):ne.frozen.get(J)}return Z(this,J)},set:function(J,ne){if(y(J)&&!P(J)){var he=E(this);he.frozen||(he.frozen=new k),X(this,J)?H(this,J,ne):he.frozen.set(J,ne)}else H(this,J,ne);return this}})}else o&&x(function(){var Q=B([]);return H(new F,Q,1),!N(Q)})&&p(V,{set:function(J,ne){var he;return w(J)&&(N(J)?he=B:M(J)&&(he=O)),H(this,J,ne),he&&he(J),this}})},29452(f,g,s){"use strict";var o=s(46518),l=s(79306),c=s(76557),p=s(84328),h=s(44995),v=s(96395),m=h.get,y=h.has,E=h.set;o({target:"WeakMap",proto:!0,real:!0,forced:v||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(C){return C instanceof TypeError}}()},{getOrInsertComputed:function(A,w){if(v||c(this),p(A),l(w),y(this,A))return m(this,A);var P=w(A);return E(this,A,P),P}})},88454(f,g,s){"use strict";var o=s(46518),l=s(44995),c=s(96395),p=l.get,h=l.has,v=l.set;o({target:"WeakMap",proto:!0,real:!0,forced:c},{getOrInsert:function(y,E){return h(this,y)?p(this,y):(v(this,y,E),E)}})},73772(f,g,s){"use strict";s(65746)},5240(f,g,s){"use strict";s(16468)("WeakSet",function(c){return function(){return c(this,arguments.length?arguments[0]:void 0)}},s(91625))},30958(f,g,s){"use strict";s(5240)},34504(f,g,s){"use strict";s(18107)},87370(f,g,s){"use strict";var o=s(46518),l=s(59213).filterReject,c=s(6469);o({target:"Array",proto:!0,forced:!0},{filterOut:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("filterOut")},31659(f,g,s){"use strict";var o=s(46518),l=s(59213).filterReject,c=s(6469);o({target:"Array",proto:!0,forced:!0},{filterReject:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("filterReject")},17978(f,g,s){"use strict";s(13451)},95115(f,g,s){"use strict";s(10838)},26148(f,g,s){"use strict";s(52407)},88177(f,g,s){"use strict";var o=s(46518),l=s(34598),c=s(6469),p=s(2952);o({target:"Array",proto:!0,name:"groupToMap",forced:s(96395)||!l("groupByToMap")},{groupByToMap:p}),c("groupByToMap")},6986(f,g,s){"use strict";var o=s(46518),l=s(77957),c=s(34598),p=s(6469);o({target:"Array",proto:!0,forced:!c("groupBy")},{groupBy:function(v){var m=arguments.length>1?arguments[1]:void 0;return l(this,v,m)}}),p("groupBy")},80081(f,g,s){"use strict";var o=s(46518),l=s(6469),c=s(2952);o({target:"Array",proto:!0,forced:s(96395)},{groupToMap:c}),l("groupToMap")},46058(f,g,s){"use strict";var o=s(46518),l=s(77957),c=s(6469);o({target:"Array",proto:!0},{group:function(h){var v=arguments.length>1?arguments[1]:void 0;return l(this,h,v)}}),c("group")},45490(f,g,s){"use strict";var o=s(46518),l=s(34376),c=Object.isFrozen,p=function(h,v){if(!c||!l(h)||!c(h))return!1;for(var E,m=0,y=h.length;m<y;)if(!("string"==typeof(E=h[m++])||v&&void 0===E))return!1;return 0!==y};o({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(v){if(!p(v,!0))return!1;var m=v.raw;return p(m,!1)&&m.length===v.length}})},17656(f,g,s){"use strict";var o=s(43724),l=s(6469),c=s(48981),p=s(26198),h=s(62106);o&&(h(Array.prototype,"lastIndex",{configurable:!0,get:function(){var m=c(this),y=p(m);return 0===y?0:y-1}}),l("lastIndex"))},55105(f,g,s){"use strict";var o=s(43724),l=s(6469),c=s(48981),p=s(26198),h=s(62106);o&&(h(Array.prototype,"lastItem",{configurable:!0,get:function(){var m=c(this),y=p(m);return 0===y?void 0:m[y-1]},set:function(m){var y=c(this),E=p(y);return y[0===E?0:E-1]=m}}),l("lastItem"))},54151(f,g,s){"use strict";s(9678)},72400(f,g,s){"use strict";s(57145)},73677(f,g,s){"use strict";s(71658)},61938(f,g,s){"use strict";var o=s(46518),l=s(6469);o({target:"Array",proto:!0,forced:!0},{uniqueBy:s(79565)}),l("uniqueBy")},85901(f,g,s){"use strict";s(11558)},83354(f,g,s){"use strict";s(46518)({target:"Function",proto:!0,forced:!0},{demethodize:s(12865)})},98225(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(94901),p=s(33706),h=s(39297),v=s(43724),m=Object.getOwnPropertyDescriptor,y=/^\s*class\b/,E=l(y.exec);o({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(A){return c(A)&&!function(C){try{if(!v||!E(y,p(C)))return!1}catch{}var A=m(C,"prototype");return!!A&&h(A,"writable")&&!A.writable}(A)}})},15617(f,g,s){"use strict";s(46518)({target:"Function",stat:!0,forced:!0},{isConstructor:s(33517)})},16401(f,g,s){"use strict";var o=s(78227),l=s(24913).f,c=o("metadata"),p=Function.prototype;void 0===p[c]&&l(p,c,{value:null})},18640(f,g,s){"use strict";s(46518)({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:s(12865)})},71517(f,g,s){"use strict";var o=s(46518),l=s(36194),c=s(72248).remove;o({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var m,h=l(this),v=!0,y=0,E=arguments.length;y<E;y++)m=c(h,arguments[y]),v=v&&m;return!!v}})},11379(f,g,s){"use strict";var o=s(46518),l=s(36194),c=s(72248),p=c.get,h=c.has,v=c.set;o({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(y,E){var C,A,x=l(this);return h(x,y)?(C=p(x,y),"update"in E&&(C=E.update(C,y,x),v(x,y,C)),C):(A=E.insert(y,x),v(x,y,A),A)}})},93777(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{every:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0);return!1!==p(m,function(E,x){if(!y(E,x,m))return!1},!0)}})},14190(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(72248),h=s(26223),v=p.Map,m=p.set;o({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(E){var x=c(this),C=l(E,arguments.length>1?arguments[1]:void 0),A=new v;return h(x,function(w,P){C(w,P,x)&&m(A,P,w)}),A}})},86097(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0),E=p(m,function(x,C){if(y(x,C,m))return{key:C}},!0);return E&&E.key}})},12359(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{find:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0),E=p(m,function(x,C){if(y(x,C,m))return{value:x}},!0);return E&&E.value}})},39172(f,g,s){"use strict";var o=s(46518),l=s(72248);o({target:"Map",stat:!0,forced:!0},{from:s(70933)(l.Map,l.set,!0)})},7036(f,g,s){"use strict";s(92731)},27254(f,g,s){"use strict";s(45367)},57019(f,g,s){"use strict";s(47072)},17273(f,g,s){"use strict";var o=s(46518),l=s(33317),c=s(36194),p=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(v){return!0===p(c(this),function(m){if(l(m,v))return!0},!0)}})},81723(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(72652),p=s(94901),h=s(79306),v=s(72248).Map;o({target:"Map",stat:!0,forced:!0},{keyBy:function(y,E){var C=new(p(this)?this:v);h(E);var A=h(C.set);return c(y,function(w){l(A,C,E(w),w)}),C}})},27415(f,g,s){"use strict";var o=s(46518),l=s(36194),c=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(h){var v=c(l(this),function(m,y){if(m===h)return{key:y}},!0);return v&&v.key}})},19929(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(72248),h=s(26223),v=p.Map,m=p.set;o({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(E){var x=c(this),C=l(E,arguments.length>1?arguments[1]:void 0),A=new v;return h(x,function(w,P){m(A,C(w,P,x),w)}),A}})},37583(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(72248),h=s(26223),v=p.Map,m=p.set;o({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(E){var x=c(this),C=l(E,arguments.length>1?arguments[1]:void 0),A=new v;return h(x,function(w,P){m(A,P,C(w,P,x))}),A}})},55122(f,g,s){"use strict";var o=s(46518),l=s(36194),c=s(72652),p=s(72248).set;o({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(v){for(var m=l(this),y=arguments.length,E=0;E<y;)c(arguments[E++],function(x,C){p(m,x,C)},{AS_ENTRIES:!0});return m}})},16385(f,g,s){"use strict";var o=s(46518),l=s(72248);o({target:"Map",stat:!0,forced:!0},{of:s(87500)(l.Map,l.set,!0)})},20230(f,g,s){"use strict";var o=s(46518),l=s(79306),c=s(36194),p=s(26223),h=TypeError;o({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(m){var y=c(this),E=arguments.length<2,x=E?void 0:arguments[1];if(l(m),p(y,function(C,A){E?(E=!1,x=C):x=m(x,C,A,y)}),E)throw new h("Reduce of empty map with no initial value");return x}})},57268(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(36194),p=s(26223);o({target:"Map",proto:!0,real:!0,forced:!0},{some:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0);return!0===p(m,function(E,x){if(y(E,x,m))return!0},!0)}})},19717(f,g,s){"use strict";s(46518)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:s(162)})},79733(f,g,s){"use strict";var o=s(46518),l=s(79306),c=s(36194),p=s(72248),h=TypeError,v=p.get,m=p.has,y=p.set;o({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,C){var A=c(this),w=arguments.length;l(C);var P=m(A,x);if(!P&&w<3)throw new h("Updating absent value");var N=P?v(A,x):l(w>2?arguments[2]:void 0)(x,A);return y(A,x,C(N,x,A)),A}})},52231(f,g,s){"use strict";s(46518)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:s(162)})},58179(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{clamp:s(44472)})},30456(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},74017(f,g,s){"use strict";var o=s(46518),l=180/Math.PI;o({target:"Math",stat:!0,forced:!0},{degrees:function(p){return p*l}})},16453(f,g,s){"use strict";s(4360)},79310(f,g,s){"use strict";var o=s(46518),l=s(77905),c=s(37998);o({target:"Math",stat:!0,forced:!0},{fscale:function(h,v,m,y,E){return c(l(h,v,m,y,E))}})},83062(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{iaddh:function(c,p,h,v){var m=c>>>0,E=h>>>0;return(p>>>0)+(v>>>0)+((m&E|(m|E)&~(m+E>>>0))>>>31)|0}})},96369(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{imulh:function(c,p){var h=65535,v=+c,m=+p,y=v&h,E=m&h,x=v>>16,C=m>>16,A=(x*E>>>0)+(y*E>>>16);return x*C+(A>>16)+((y*C>>>0)+(A&h)>>16)}})},15637(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{isubh:function(c,p,h,v){var m=c>>>0,E=h>>>0;return(p>>>0)-(v>>>0)-((~m&E|(m^~E)&m-E>>>0)>>>31)|0}})},2848(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},24842(f,g,s){"use strict";var o=s(46518),l=Math.PI/180;o({target:"Math",stat:!0,forced:!0},{radians:function(p){return p*l}})},24746(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{scale:s(77905)})},33454(f,g,s){"use strict";var o=s(46518),l=s(28551),c=s(50360),p=s(33994),h=s(62529),v=s(91181),m="Seeded Random",y=m+" Generator",x=v.set,C=v.getterFor(y),A=TypeError,w=p(function(N){x(this,{type:y,seed:N%2147483647})},m,function(){var N=C(this),M=N.seed=(1103515245*N.seed+12345)%2147483647;return h((1073741823&M)/1073741823,!1)});o({target:"Math",stat:!0,forced:!0},{seededPRNG:function(N){var M=l(N).seed;if(!c(M))throw new A('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new w(M)}})},6660(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{signbit:function(c){var p=+c;return p==p&&0===p?1/p==-1/0:p<0}})},4235(f,g,s){"use strict";s(23068)},15941(f,g,s){"use strict";s(46518)({target:"Math",stat:!0,forced:!0},{umulh:function(c,p){var h=65535,v=+c,m=+p,y=v&h,E=m&h,x=v>>>16,C=m>>>16,A=(x*E>>>0)+(y*E>>>16);return x*C+(A>>>16)+((y*C>>>0)+(A&h)>>>16)}})},15476(f,g,s){"use strict";var o=s(46518),l=s(44472),c=s(31240);o({target:"Number",proto:!0,forced:!0},{clamp:function(h,v){return l(c(this),h,v)}})},82101(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(91291),p="Invalid number representation",v=RangeError,m=SyntaxError,y=TypeError,E=parseInt,x=Math.pow,C=/^[0-9a-z]+(\.[0-9a-z]+)?$/,A=l("".charAt),w=l("".charCodeAt),P=l(C.exec),N=l(1.1.toString),M=l("".slice),B=l("".split);o({target:"Number",stat:!0,forced:!0},{fromString:function(k,L){var F=1;if("string"!=typeof k)throw new y(p);if(!k.length)throw new m(p);if("-"===A(k,0)&&(F=-1,!(k=M(k,1)).length))throw new m(p);var V=void 0===L?10:c(L);if(V<2||V>36)throw new v("Invalid radix");if(!P(C,k)||!function(R,k){for(var L=0;L<R.length;L++){var F=w(R,L);if(46!==F)if(F>=48&&F<=57){if(F-48>=k)return!1}else{if(!(F>=97&&F<=122))return!1;if(F-97+10>=k)return!1}}return!0}(k,V))throw new m(p);var H=B(k,"."),$=E(H[0],V);if(H.length>1&&($+=E(H[1],V)/x(V,H[1].length)),10===V){var G=k;if(H.length>1){for(var X=H[1];X.length&&"0"===A(X,X.length-1);)X=M(X,0,-1);G=X.length?H[0]+"."+X:H[0]}if(N($,V)!==G)throw new m(p)}return F*$}})},79926(f,g,s){"use strict";var o=s(46518),l=s(14468);o({target:"Number",stat:!0,forced:!0},{range:function(p,h,v){return new l(p,h,v,"number",0,1)}})},66090(f,g,s){"use strict";s(77691)},84208(f,g,s){"use strict";s(78347)},91550(f,g,s){"use strict";var o=s(46518),l=s(91354);o({target:"Object",stat:!0,forced:!0},{iterateEntries:function(p){return new l(p,"entries")}})},9156(f,g,s){"use strict";var o=s(46518),l=s(91354);o({target:"Object",stat:!0,forced:!0},{iterateKeys:function(p){return new l(p,"keys")}})},48918(f,g,s){"use strict";var o=s(46518),l=s(91354);o({target:"Object",stat:!0,forced:!0},{iterateValues:function(p){return new l(p,"values")}})},65186(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.toKey,h=l.set;o({target:"Reflect",stat:!0},{defineMetadata:function(m,y,E){var x=arguments.length<4?void 0:p(arguments[3]);h(m,y,c(E),x)}})},42978(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.toKey,h=l.getMap,v=l.store;o({target:"Reflect",stat:!0},{deleteMetadata:function(y,E){var x=arguments.length<3?void 0:p(arguments[2]),C=h(c(E),x,!1);if(void 0===C||!C.delete(y))return!1;if(C.size)return!0;var A=v.get(E);return A.delete(x),!!A.size||v.delete(E)}})},79852(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(18449),p=s(28551),h=s(42787),m=l(s(79565)),y=l([].concat),E=c.keys,x=c.toKey,C=function(A,w){var P=E(A,w),N=h(A);if(null===N)return P;var M=C(N,w);return M.length?P.length?m(y(P,M)):M:P};o({target:"Reflect",stat:!0},{getMetadataKeys:function(w){var P=arguments.length<2?void 0:x(arguments[1]);return C(p(w),P)}})},72527(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=s(42787),h=l.has,v=l.get,m=l.toKey,y=function(E,x,C){if(h(E,x,C))return v(E,x,C);var w=p(x);return null!==w?y(E,w,C):void 0};o({target:"Reflect",stat:!0},{getMetadata:function(x,C){var A=arguments.length<3?void 0:m(arguments[2]);return y(x,c(C),A)}})},40617(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.keys,h=l.toKey;o({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(m){var y=arguments.length<2?void 0:h(arguments[1]);return p(c(m),y)}})},42376(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.get,h=l.toKey;o({target:"Reflect",stat:!0},{getOwnMetadata:function(m,y){var E=arguments.length<3?void 0:h(arguments[2]);return p(m,c(y),E)}})},73067(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=s(42787),h=l.has,v=l.toKey,m=function(y,E,x){if(h(y,E,x))return!0;var A=p(E);return null!==A&&m(y,A,x)};o({target:"Reflect",stat:!0},{hasMetadata:function(E,x){var C=arguments.length<3?void 0:v(arguments[2]);return m(E,c(x),C)}})},66820(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.has,h=l.toKey;o({target:"Reflect",stat:!0},{hasOwnMetadata:function(m,y){var E=arguments.length<3?void 0:h(arguments[2]);return p(m,c(y),E)}})},8288(f,g,s){"use strict";var o=s(46518),l=s(18449),c=s(28551),p=l.toKey,h=l.set;o({target:"Reflect",stat:!0},{metadata:function(m,y){return function(x,C){h(m,y,c(x),p(C))}}})},37108(f,g,s){"use strict";s(96069)},25509(f,g,s){"use strict";var o=s(46518),l=s(97080),c=s(94402).add;o({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var h=l(this),v=0,m=arguments.length;v<m;v++)c(h,arguments[v]);return h}})},65223(f,g,s){"use strict";var o=s(46518),l=s(97080),c=s(94402).remove;o({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var m,h=l(this),v=!0,y=0,E=arguments.length;y<E;y++)m=c(h,arguments[y]),v=v&&m;return!!v}})},60321(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(83440);o({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(v){return l(p,this,c(v))}})},43375(f,g,s){"use strict";s(17642)},41927(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(97080),p=s(38469);o({target:"Set",proto:!0,real:!0,forced:!0},{every:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0);return!1!==p(m,function(E){if(!y(E,E,m))return!1},!0)}})},11632(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(97080),p=s(94402),h=s(38469),v=p.Set,m=p.add;o({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(E){var x=c(this),C=l(E,arguments.length>1?arguments[1]:void 0),A=new v;return h(x,function(w){C(w,w,x)&&m(A,w)}),A}})},64377(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(97080),p=s(38469);o({target:"Set",proto:!0,real:!0,forced:!0},{find:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0),E=p(m,function(x){if(y(x,x,m))return{value:x}},!0);return E&&E.value}})},49522(f,g,s){"use strict";var o=s(46518),l=s(94402);o({target:"Set",stat:!0,forced:!0},{from:s(70933)(l.Set,l.add,!1)})},66771(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(68750);o({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(v){return l(p,this,c(v))}})},39225(f,g,s){"use strict";s(58004)},12516(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(64449);o({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(v){return l(p,this,c(v))}})},13972(f,g,s){"use strict";s(33853)},68931(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(53838);o({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(v){return l(p,this,c(v))}})},99209(f,g,s){"use strict";s(45876)},52514(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(28527);o({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(v){return l(p,this,c(v))}})},25714(f,g,s){"use strict";s(32475)},35694(f,g,s){"use strict";var o=s(46518),l=s(79504),c=s(97080),p=s(38469),h=s(655),v=l([].join),m=l([].push);o({target:"Set",proto:!0,real:!0,forced:!0},{join:function(E){var x=c(this),C=void 0===E?",":h(E),A=[];return p(x,function(w){m(A,w)}),v(A,C)}})},52774(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(97080),p=s(94402),h=s(38469),v=p.Set,m=p.add;o({target:"Set",proto:!0,real:!0,forced:!0},{map:function(E){var x=c(this),C=l(E,arguments.length>1?arguments[1]:void 0),A=new v;return h(x,function(w){m(A,C(w,w,x))}),A}})},23283(f,g,s){"use strict";var o=s(46518),l=s(94402);o({target:"Set",stat:!0,forced:!0},{of:s(87500)(l.Set,l.add,!1)})},49536(f,g,s){"use strict";var o=s(46518),l=s(79306),c=s(97080),p=s(38469),h=TypeError;o({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(m){var y=c(this),E=arguments.length<2,x=E?void 0:arguments[1];if(l(m),p(y,function(C){E?(E=!1,x=C):x=m(x,C,C,y)}),E)throw new h("Reduce of empty set with no initial value");return x}})},21926(f,g,s){"use strict";var o=s(46518),l=s(76080),c=s(97080),p=s(38469);o({target:"Set",proto:!0,real:!0,forced:!0},{some:function(v){var m=c(this),y=l(v,arguments.length>1?arguments[1]:void 0);return!0===p(m,function(E){if(y(E,E,m))return!0},!0)}})},94483(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(83650);o({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(v){return l(p,this,c(v))}})},17561(f,g,s){"use strict";s(15024)},16215(f,g,s){"use strict";var o=s(46518),l=s(69565),c=s(47650),p=s(44204);o({target:"Set",proto:!0,real:!0,forced:!0},{union:function(v){return l(p,this,c(v))}})},66197(f,g,s){"use strict";s(31698)},78898(f,g,s){"use strict";var o=s(46518),l=s(68183).charAt,c=s(67750),p=s(91291),h=s(655);o({target:"String",proto:!0,forced:!0},{at:function(m){var y=h(c(this)),E=y.length,x=p(m),C=x>=0?x:E+x;return C<0||C>=E?void 0:l(y,C)}})},74176(f,g,s){"use strict";var o=s(46518),l=s(33994),c=s(62529),p=s(67750),h=s(655),v=s(91181),m=s(68183),y=m.codeAt,E=m.charAt,x="String Iterator",C=v.set,A=v.getterFor(x),w=l(function(N){C(this,{type:x,string:N,index:0})},"String",function(){var O,N=A(this),M=N.string,B=N.index;return B>=M.length?c(void 0,!0):(O=E(M,B),N.index+=O.length,c({codePoint:y(O,0),position:B},!1))});o({target:"String",proto:!0,forced:!0},{codePoints:function(){return new w(h(p(this)))}})},84114(f,g,s){"use strict";s(46518)({target:"String",stat:!0,forced:!0},{cooked:s(74615)})},66337(f,g,s){"use strict";var o=s(92744),l=s(46518),c=s(50283),p=s(79504),h=s(18745),v=s(28551),m=s(48981),y=s(94901),E=s(26198),x=s(24913).f,C=s(67680),A=s(44995),w=s(74615),P=s(58523),N=s(47452),M=new A.WeakMap,B=A.get,O=A.has,R=A.set,k=Array,L=TypeError,F=Object.freeze||Object,V=Object.isFrozen,H=Math.min,$=p("".charAt),G=p("".slice),X=p("".split),Z=p(/./.exec),Q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+N+"]*"),ne=RegExp("[^"+N+"]"),he="Invalid tag",ae=function(Ue){var De,xt,qe,Tt,Ke=m(Ue),ke=E(Ke),Ze=k(ke),Be=k(ke),Pe=0;if(!ke)throw new L(he);for(;Pe<ke;Pe++){var Ft=Ke[Pe];if("string"!=typeof Ft)throw new L(he);Ze[Pe]=X(Ft,Q)}for(Pe=0;Pe<ke;Pe++){var Wt=Pe+1===ke;if(De=Ze[Pe],0===Pe){if(1===De.length||De[0].length>0)throw new L("Invalid opening line");De[1]=""}if(Wt){if(1===De.length||Z(ne,De[De.length-1]))throw new L("Invalid closing line");De[De.length-2]="",De[De.length-1]=""}for(var ot=2;ot<De.length;ot+=2){var _e=De[ot],Xe=ot+1===De.length&&!Wt,Rt=Z(J,_e)[0];Xe||Rt.length!==_e.length?xt=ye(Rt,xt):De[ot]=""}}var be=xt?xt.length:0;for(Pe=0;Pe<ke;Pe++){for(qe=(De=Ze[Pe])[0],Tt=1;Tt<De.length;Tt+=2)qe+=De[Tt]+G(De[Tt+1],be);Be[Pe]=qe}return Be},ye=function(Ue,Ke){if(void 0===Ke||Ue===Ke)return Ue;for(var ke=0,Ze=H(Ue.length,Ke.length);ke<Ze&&$(Ue,ke)===$(Ke,ke);ke++);return G(Ue,0,ke)},Ee=function(Ue){for(var Ke=0,ke=Ue.length,Ze=k(ke);Ke<ke;Ke++)Ze[Ke]=P(Ue[Ke]);return Ze},Ce=function(Ue){return c(function(Ke){var ke=C(arguments);return ke[0]=function(Ue){var Ke=Ue.raw;if(o&&!V(Ke))throw new L("Raw template should be frozen");if(O(M,Ke))return B(M,Ke);var ke=ae(Ke),Ze=Ee(ke);return x(Ze,"raw",{value:F(ke)}),F(Ze),R(M,Ke,Ze),Ze}(v(Ke)),h(Ue,this,ke)},"")},Oe=Ce(w);l({target:"String",stat:!0,forced:!0},{dedent:function(Ke){return v(Ke),y(Ke)?Ce(Ke):h(Oe,this,arguments)}})},44590(f,g,s){"use strict";s(42043)},38344(f,g,s){"use strict";s(28543)},12041(f,g,s){"use strict";s(79978)},51755(f,g,s){"use strict";s(67438)},81202(f,g,s){"use strict";s(34113)},49604(f,g,s){"use strict";s(70511)("customMatcher")},43275(f,g,s){"use strict";s(97324)},13070(f,g,s){"use strict";s(46518)({target:"Symbol",stat:!0},{isRegisteredSymbol:s(12586)})},87153(f,g,s){"use strict";s(46518)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:s(12586)})},53032(f,g,s){"use strict";s(46518)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:s(52104)})},53803(f,g,s){"use strict";s(46518)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:s(52104)})},13976(f,g,s){"use strict";s(70511)("matcher")},18999(f,g,s){"use strict";s(70511)("metadataKey")},30465(f,g,s){"use strict";s(70511)("metadata")},42793(f,g,s){"use strict";s(70511)("observable")},77208(f,g,s){"use strict";s(70511)("patternMatch")},73440(f,g,s){"use strict";s(70511)("replaceAll")},51839(f,g,s){"use strict";s(48140)},14037(f,g,s){"use strict";var o=s(94644),l=s(59213).filterReject,c=s(29948),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("filterOut",function(m){var y=l(p(this),m,arguments.length>1?arguments[1]:void 0);return c(this,y)},!0)},47350(f,g,s){"use strict";var o=s(94644),l=s(59213).filterReject,c=s(29948),p=o.aTypedArray;(0,o.exportTypedArrayMethod)("filterReject",function(m){var y=l(p(this),m,arguments.length>1?arguments[1]:void 0);return c(this,y)},!0)},96847(f,g,s){"use strict";s(91134)},91706(f,g,s){"use strict";s(21903)},13195(f,g,s){"use strict";var o=s(97751),l=s(35548),c=s(8045),p=s(94644),h=s(35370),v=p.aTypedArrayConstructor;(0,p.exportTypedArrayStaticMethod)("fromAsync",function(E){var x=this,C=arguments.length,A=C>1?arguments[1]:void 0,w=C>2?arguments[2]:void 0;return new(o("Promise"))(function(P){l(x),P(c(E,A,w))}).then(function(P){return h(v(x),P)})},!0)},23241(f,g,s){"use strict";var o=s(94644),l=s(77957),c=o.aTypedArray,p=o.getTypedArrayConstructor;(0,o.exportTypedArrayMethod)("groupBy",function(m){var y=arguments.length>1?arguments[1]:void 0;return l(c(this),m,y,p)},!0)},43250(f,g,s){"use strict";s(37467)},10149(f,g,s){"use strict";s(44732)},67302(f,g,s){"use strict";var o=s(94644),l=s(26198),c=s(18727),p=s(35610),h=s(75854),v=s(91291),m=o.aTypedArray,y=o.getTypedArrayConstructor,E=o.exportTypedArrayMethod,x=Math.max,C=Math.min;E("toSpliced",function(w,P){var L,F,V,H,$,G,X,N=m(this),M=y(N),B=l(N),O=p(w,B),R=arguments.length,k=0;if(0===R)L=F=0;else if(1===R)L=0,F=B-O;else if(F=C(x(v(P),0),B-O),L=R-2){H=new M(L),V=c(H);for(var Z=2;Z<R;Z++)$=arguments[Z],H[Z-2]=V?h($):+$}for(X=new M(G=B+L-F);k<O;k++)X[k]=N[k];for(;k<O+L;k++)X[k]=H[k-O];for(;k<G;k++)X[k]=N[k+F-L];return X},!0)},55871(f,g,s){"use strict";var o=s(79504),l=s(94644),c=s(35370),p=s(79565),h=l.aTypedArray,v=l.getTypedArrayConstructor,m=l.exportTypedArrayMethod,y=o(p);m("uniqueBy",function(x){return h(this),c(v(this),y(this,x))},!0)},24082(f,g,s){"use strict";s(79577)},57051(f,g,s){"use strict";s(45213)},27650(f,g,s){"use strict";s(91925)},41549(f,g,s){"use strict";s(16632)},49797(f,g,s){"use strict";s(34226)},49631(f,g,s){"use strict";s(9486)},35623(f,g,s){"use strict";s(20456)},67348(f,g,s){"use strict";var o=s(46518),l=s(76557),c=s(44995).remove;o({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var m,h=l(this),v=!0,y=0,E=arguments.length;y<E;y++)m=c(h,arguments[y]),v=v&&m;return!!v}})},35644(f,g,s){"use strict";var o=s(46518),l=s(76557),c=s(44995),p=c.get,h=c.has,v=c.set;o({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(y,E){var C,A,x=l(this);return h(x,y)?(C=p(x,y),"update"in E&&(C=E.update(C,y,x),v(x,y,C)),C):(A=E.insert(y,x),v(x,y,A),A)}})},26957(f,g,s){"use strict";var o=s(46518),l=s(44995);o({target:"WeakMap",stat:!0,forced:!0},{from:s(70933)(l.WeakMap,l.set,!0)})},73525(f,g,s){"use strict";s(29452)},80805(f,g,s){"use strict";s(88454)},79732(f,g,s){"use strict";var o=s(46518),l=s(44995);o({target:"WeakMap",stat:!0,forced:!0},{of:s(87500)(l.WeakMap,l.set,!0)})},49634(f,g,s){"use strict";s(46518)({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:s(162)})},83742(f,g,s){"use strict";var o=s(46518),l=s(23755),c=s(88205).add;o({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var h=l(this),v=0,m=arguments.length;v<m;v++)c(h,arguments[v]);return h}})},56422(f,g,s){"use strict";var o=s(46518),l=s(23755),c=s(88205).remove;o({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var m,h=l(this),v=!0,y=0,E=arguments.length;y<E;y++)m=c(h,arguments[y]),v=v&&m;return!!v}})},82451(f,g,s){"use strict";var o=s(46518),l=s(88205);o({target:"WeakSet",stat:!0,forced:!0},{from:s(70933)(l.WeakSet,l.add,!1)})},46270(f,g,s){"use strict";var o=s(46518),l=s(88205);o({target:"WeakSet",stat:!0,forced:!0},{of:s(87500)(l.WeakSet,l.add,!1)})},62953(f,g,s){"use strict";var o=s(44576),l=s(67400),c=s(79296),p=s(23792),h=s(66699),v=s(10687),y=s(78227)("iterator"),E=p.values,x=function(A,w){if(A){if(A[y]!==E)try{h(A,y,E)}catch{A[y]=E}if(v(A,w,!0),l[w])for(var P in p)if(A[P]!==p[P])try{h(A,P,p[P])}catch{A[P]=p[P]}}};for(var C in l)x(o[C]&&o[C].prototype,C);x(c,"DOMTokenList")},19725(f,g,s){"use strict";var o=s(45666);f.exports=o},14788(f,g,s){"use strict";var o=s(85913);f.exports=o},99736(f,g,s){"use strict";var o=s(38881);f.exports=o},11826(f,g,s){"use strict";var o=s(95257);s(62953),f.exports=o},67114(f,g,s){"use strict";var o=s(29187);f.exports=o},60769(f,g,s){"use strict";var o=s(22696);f.exports=o},9995(f,g,s){"use strict";var o=s(99246);s(62953),f.exports=o},63987(f,g,s){"use strict";var o=s(21308);f.exports=o},1108(f,g,s){"use strict";var o=s(69339);f.exports=o},74813(f,g,s){"use strict";var o=s(82374);f.exports=o},14957(f,g,s){"use strict";var o=s(64088);f.exports=o},56344(f,g,s){"use strict";var o=s(57655);s(62953),f.exports=o},60689(f,g,s){"use strict";var o=s(18840);f.exports=o},50884(f,g,s){"use strict";var o=s(39281);s(62953),f.exports=o},43640(f,g,s){"use strict";var o=s(75879);f.exports=o},88939(f,g,s){"use strict";var o=s(81502);s(62953),f.exports=o},87861(f,g,s){"use strict";var o=s(76012);s(62953),f.exports=o},60262(){"use strict";const f=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class g{element=null;classNames=[];attrs=[];notSelectors=[];static parse(e){const t=[],r=(S,T)=>{T.notSelectors.length>0&&!T.element&&0==T.classNames.length&&0==T.attrs.length&&(T.element="*"),S.push(T)};let a,i=new g,u=i,d=!1;for(f.lastIndex=0;a=f.exec(e);){if(a[1]){if(d)throw new Error("Nesting :not in a selector is not allowed");d=!0,u=new g,i.notSelectors.push(u)}const S=a[2];if(S){const b=a[3];"#"===b?u.addAttribute("id",S.slice(1)):"."===b?u.addClassName(S.slice(1)):u.setElement(S)}const T=a[4];if(T&&u.addAttribute(u.unescapeAttribute(T),a[6]),a[7]&&(d=!1,u=i),a[8]){if(d)throw new Error("Multiple selectors in :not are not supported");r(t,i),i=u=new g}}return r(t,i),t}unescapeAttribute(e){let t="",r=!1;for(let i=0;i<e.length;i++){const a=e.charAt(i);if("\\"!==a){if("$"===a&&!r)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);r=!1,t+=a}else r=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const r=this.escapeAttribute(this.attrs[t]),i=this.attrs[t+1];e+=`[${r}${i?"="+i:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class s{static createNotMatcher(e){const t=new s;return t.addSelectables(e,null),t}_elementMap=new Map;_elementPartialMap=new Map;_classMap=new Map;_classPartialMap=new Map;_attrValueMap=new Map;_attrValuePartialMap=new Map;_listContexts=[];addSelectables(e,t){let r=null;e.length>1&&(r=new o(e),this._listContexts.push(r));for(let i=0;i<e.length;i++)this._addSelectable(e[i],t,r)}_addSelectable(e,t,r){let i=this;const a=e.element,u=e.classNames,d=e.attrs,S=new l(e,t,r);if(a&&(0===d.length&&0===u.length?this._addTerminal(i._elementMap,a,S):i=this._addPartial(i._elementPartialMap,a)),u)for(let T=0;T<u.length;T++){const b=0===d.length&&T===u.length-1,D=u[T];b?this._addTerminal(i._classMap,D,S):i=this._addPartial(i._classPartialMap,D)}if(d)for(let T=0;T<d.length;T+=2){const b=T===d.length-2,D=d[T],j=d[T+1];if(b){const q=i._attrValueMap;let se=q.get(D);se||(se=new Map,q.set(D,se)),this._addTerminal(se,j,S)}else{const q=i._attrValuePartialMap;let se=q.get(D);se||(se=new Map,q.set(D,se)),i=this._addPartial(se,j)}}}_addTerminal(e,t,r){let i=e.get(t);i||(i=[],e.set(t,i)),i.push(r)}_addPartial(e,t){let r=e.get(t);return r||(r=new s,e.set(t,r)),r}match(e,t){let r=!1;const i=e.element,a=e.classNames,u=e.attrs;for(let d=0;d<this._listContexts.length;d++)this._listContexts[d].alreadyMatched=!1;if(r=this._matchTerminal(this._elementMap,i,e,t)||r,r=this._matchPartial(this._elementPartialMap,i,e,t)||r,a)for(let d=0;d<a.length;d++){const S=a[d];r=this._matchTerminal(this._classMap,S,e,t)||r,r=this._matchPartial(this._classPartialMap,S,e,t)||r}if(u)for(let d=0;d<u.length;d+=2){const S=u[d],T=u[d+1],b=this._attrValueMap.get(S);T&&(r=this._matchTerminal(b,"",e,t)||r),r=this._matchTerminal(b,T,e,t)||r;const D=this._attrValuePartialMap.get(S);T&&(r=this._matchPartial(D,"",e,t)||r),r=this._matchPartial(D,T,e,t)||r}return r}_matchTerminal(e,t,r,i){if(!e||"string"!=typeof t)return!1;let a=e.get(t)||[];const u=e.get("*");if(u&&(a=a.concat(u)),0===a.length)return!1;let d,S=!1;for(let T=0;T<a.length;T++)d=a[T],S=d.finalize(r,i)||S;return S}_matchPartial(e,t,r,i){if(!e||"string"!=typeof t)return!1;const a=e.get(t);return!!a&&a.match(r,i)}}class o{selectors;alreadyMatched=!1;constructor(e){this.selectors=e}}class l{selector;cbContext;listContext;notSelectors;constructor(e,t,r){this.selector=e,this.cbContext=t,this.listContext=r,this.notSelectors=e.notSelectors}finalize(e,t){let r=!0;return this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)&&(r=!s.createNotMatcher(this.notSelectors).match(e,null)),r&&t&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),r}}class c{registry;constructor(e){this.registry=e}match(e){return this.registry.has(e)?this.registry.get(e):[]}}var p,n;let h;(n=p||(p={}))[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n[n.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING";const x=()=>Object.create(null);function A(n,e,t){const r=e??"";for(const[i,a]of t){const u=i.toLowerCase();for(const d of a){const S=d.toLowerCase(),T=h[S]??=x();(T[r]??=x())[u]=n}}}function w(n,e,t){const i=function C(){return h||(h=x(),A(p.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),A(p.STYLE,void 0,[["*",["style"]]]),A(p.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),A(p.URL,"math",[["*",["href","xlink:href"]]]),A(p.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),A(p.URL,"svg",[["a",["href","xlink:href"]]]),A(p.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),A(p.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),h)}()[e.toLowerCase()];if(!i)return p.NONE;const a=n.toLowerCase();let u;if(t){const d=i[t];d&&(u=d[a]??d["*"])}if(void 0===u){const d=i[""];d&&(u=d[a]??d["*"])}return u??p.NONE}var N,M,B;!function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(N||(N={})),function(n){n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n[n.Eager=1]="Eager"}(M||(M={})),function(n){n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(B||(B={}));const O_name="custom-elements",R_name="no-errors-schema";var L;function H(n){const e=function F(n){const e=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return[n.element&&"*"!==n.element?n.element:"",...n.attrs,...e]}(n),t=n.notSelectors&&n.notSelectors.length?n.notSelectors.map(r=>function V(n){const e=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return n.element?[5,n.element,...n.attrs,...e]:n.attrs.length?[3,...n.attrs,...e]:n.classNames&&n.classNames.length?[9,...n.classNames]:[]}(r)):[];return e.concat(...t)}function $(n){return n?g.parse(n).map(H):[]}!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(L||(L={}));var X,Z,Q;let J;function he(n){return function Ce(n){J??=new TextEncoder;const e=[...J.encode(n)],t=function Tt(n,e){const t=n.length+3>>>2,r=[];for(let i=0;i<t;i++)r[i]=Wt(n,4*i,e);return r}(e,Pe.Big),r=8*e.length,i=new Uint32Array(80);let a=1732584193,u=4023233417,d=2562383102,S=271733878,T=3285377520;t[r>>5]|=128<<24-r%32,t[15+(r+64>>9<<4)]=r;for(let b=0;b<t.length;b+=16){const D=a,j=u,q=d,se=S,Se=T;for(let Ae=0;Ae<80;Ae++){i[Ae]=Ae<16?t[b+Ae]:qe(i[Ae-3]^i[Ae-8]^i[Ae-14]^i[Ae-16],1);const je=Ue(Ae,u,d,S),St=je[0],en=je[1],hn=[qe(a,5),St,T,en,i[Ae]].reduce(De);T=S,S=d,d=qe(u,30),u=a,a=hn}a=De(a,D),u=De(u,j),d=De(d,q),S=De(S,se),T=De(T,Se)}return Oe(a)+Oe(u)+Oe(d)+Oe(S)+Oe(T)}(function ye(n){return n.map(e=>e.visit(ae,null))}(n.nodes).join("")+`[${n.meaning}]`)}function te(n){return n.id||ce(n)}function ce(n){const e=new Ee;return ke(n.nodes.map(r=>r.visit(e,null)).join(""),n.meaning)}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule",n[n.Service=5]="Service"}(X||(X={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Z||(Z={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(Q||(Q={}));class ge{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(r=>r.visit(this)).join(", ")}]`}visitIcu(e,t){const r=Object.keys(e.cases).map(i=>`${i} {${e.cases[i].visit(this)}}`);return`{${e.expression}, ${e.type}, ${r.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(r=>r.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}visitBlockPlaceholder(e,t){return`<ph block name="${e.startName}">${e.children.map(r=>r.visit(this)).join(", ")}</ph name="${e.closeName}">`}}const ae=new ge;class Ee extends ge{visitIcu(e){let t=Object.keys(e.cases).map(r=>`${r} {${e.cases[r].visit(this)}}`);return`{${e.type}, ${t.join(", ")}}`}}function Oe(n){return(n>>>0).toString(16).padStart(8,"0")}function Ue(n,e,t,r){return n<20?[e&t|~e&r,1518500249]:n<40?[e^t^r,1859775393]:n<60?[e&t|e&r|t&r,2400959708]:[e^t^r,3395469782]}function Ke(n){J??=new TextEncoder;const e=J.encode(n),t=new DataView(e.buffer,e.byteOffset,e.byteLength);let r=Ze(t,e.length,0),i=Ze(t,e.length,102072);return 0==r&&(0==i||1==i)&&(r^=319790063,i^=-1801410264),BigInt.asUintN(32,BigInt(r))<<BigInt(32)|BigInt.asUintN(32,BigInt(i))}function ke(n,e=""){let t=Ke(n);return e&&(t=BigInt.asUintN(64,t<<BigInt(1))|t>>BigInt(63)&BigInt(1),t+=Ke(e)),BigInt.asUintN(63,t).toString()}function Ze(n,e,t){let r=2654435769,i=2654435769,a=0;const u=e-12;for(;a<=u;a+=12){r+=n.getUint32(a,!0),i+=n.getUint32(a+4,!0);const S=Be(r,i,t+=n.getUint32(a+8,!0));r=S[0],i=S[1],t=S[2]}const d=e-a;return t+=e,d>=4?(r+=n.getUint32(a,!0),a+=4,d>=8?(i+=n.getUint32(a,!0),a+=4,d>=9&&(t+=n.getUint8(a++)<<8),d>=10&&(t+=n.getUint8(a++)<<16),11===d&&(t+=n.getUint8(a++)<<24)):(d>=5&&(i+=n.getUint8(a++)),d>=6&&(i+=n.getUint8(a++)<<8),7===d&&(i+=n.getUint8(a++)<<16))):(d>=1&&(r+=n.getUint8(a++)),d>=2&&(r+=n.getUint8(a++)<<8),3===d&&(r+=n.getUint8(a++)<<16)),Be(r,i,t)[2]}function Be(n,e,t){return n-=e,n-=t,e-=t,e-=n^=t>>>13,t-=n,t-=e^=n<<8,n-=e,n-=t^=e>>>13,e-=t,e-=n^=t>>>12,t-=n,t-=e^=n<<16,n-=e,n-=t^=e>>>5,e-=t,e-=n^=t>>>3,t-=n,t-=e^=n<<10,[n,e,t^=e>>>15]}var Pe,ot,Xe;function De(n,e){return function xt(n,e){const t=(65535&n)+(65535&e),r=(n>>>16)+(e>>>16)+(t>>>16);return[r>>>16,r<<16|65535&t]}(n,e)[1]}function qe(n,e){return n<<e|n>>>32-e}function Ft(n,e){return e>=n.length?0:n[e]}function Wt(n,e,t){let r=0;if(t===Pe.Big)for(let i=0;i<4;i++)r+=Ft(n,e+i)<<24-8*i;else for(let i=0;i<4;i++)r+=Ft(n,e+i)<<8*i;return r}!function(n){n[n.Little=0]="Little",n[n.Big=1]="Big"}(Pe||(Pe={})),function(n){n[n.None=0]="None",n[n.Const=1]="Const"}(ot||(ot={}));class _e{modifiers;constructor(e=ot.None){this.modifiers=e}hasModifier(e){return 0!==(this.modifiers&e)}}!function(n){n[n.Dynamic=0]="Dynamic",n[n.Bool=1]="Bool",n[n.String=2]="String",n[n.Int=3]="Int",n[n.Number=4]="Number",n[n.Function=5]="Function",n[n.Inferred=6]="Inferred",n[n.None=7]="None"}(Xe||(Xe={}));class Rt extends _e{name;constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class be extends _e{value;typeParams;constructor(e,t,r=null){super(t),this.value=e,this.typeParams=r}visitType(e,t){return e.visitExpressionType(this,t)}}const me=new Rt(Xe.Dynamic),Re=new Rt(Xe.Inferred),Je=new Rt(Xe.Bool),Mt=(new Rt(Xe.Int),new Rt(Xe.Number)),wn=new Rt(Xe.String),mt=(new Rt(Xe.Function),new Rt(Xe.None));var $e,ee;function kt(n,e,t){const r=n.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(!t(n[i],e[i]))return!1;return!0}function Qt(n,e){return kt(n,e,(t,r)=>t.isEquivalent(r))}!function(n){n[n.Minus=0]="Minus",n[n.Plus=1]="Plus"}($e||($e={})),function(n){n[n.Equals=0]="Equals",n[n.NotEquals=1]="NotEquals",n[n.Assign=2]="Assign",n[n.Identical=3]="Identical",n[n.NotIdentical=4]="NotIdentical",n[n.Minus=5]="Minus",n[n.Plus=6]="Plus",n[n.Divide=7]="Divide",n[n.Multiply=8]="Multiply",n[n.Modulo=9]="Modulo",n[n.And=10]="And",n[n.Or=11]="Or",n[n.BitwiseOr=12]="BitwiseOr",n[n.BitwiseAnd=13]="BitwiseAnd",n[n.Lower=14]="Lower",n[n.LowerEquals=15]="LowerEquals",n[n.Bigger=16]="Bigger",n[n.BiggerEquals=17]="BiggerEquals",n[n.NullishCoalesce=18]="NullishCoalesce",n[n.Exponentiation=19]="Exponentiation",n[n.In=20]="In",n[n.InstanceOf=21]="InstanceOf",n[n.AdditionAssignment=22]="AdditionAssignment",n[n.SubtractionAssignment=23]="SubtractionAssignment",n[n.MultiplicationAssignment=24]="MultiplicationAssignment",n[n.DivisionAssignment=25]="DivisionAssignment",n[n.RemainderAssignment=26]="RemainderAssignment",n[n.ExponentiationAssignment=27]="ExponentiationAssignment",n[n.AndAssignment=28]="AndAssignment",n[n.OrAssignment=29]="OrAssignment",n[n.NullishCoalesceAssignment=30]="NullishCoalesceAssignment"}(ee||(ee={}));class Bt{leadingComments;type;sourceSpan;constructor(e,t,r){this.leadingComments=r,this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new jt(this,e,null,t)}key(e,t,r){return new vn(this,e,t,r)}callFn(e,t,r,i){return new Y(this,e,null,t,r,i)}instantiate(e,t,r,i){return new _(this,e,t,r)}conditional(e,t=null,r,i){return new Vt(this,e,t,null,r)}equals(e,t){return new Fe(ee.Equals,this,e,null,t)}notEquals(e,t){return new Fe(ee.NotEquals,this,e,null,t)}identical(e,t){return new Fe(ee.Identical,this,e,null,t)}notIdentical(e,t){return new Fe(ee.NotIdentical,this,e,null,t)}minus(e,t){return new Fe(ee.Minus,this,e,null,t)}plus(e,t){return new Fe(ee.Plus,this,e,null,t)}divide(e,t){return new Fe(ee.Divide,this,e,null,t)}multiply(e,t){return new Fe(ee.Multiply,this,e,null,t)}modulo(e,t){return new Fe(ee.Modulo,this,e,null,t)}power(e,t){return new Fe(ee.Exponentiation,this,e,null,t)}and(e,t){return new Fe(ee.And,this,e,null,t)}bitwiseOr(e,t){return new Fe(ee.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new Fe(ee.BitwiseAnd,this,e,null,t)}or(e,t){return new Fe(ee.Or,this,e,null,t)}lower(e,t){return new Fe(ee.Lower,this,e,null,t)}lowerEquals(e,t){return new Fe(ee.LowerEquals,this,e,null,t)}bigger(e,t){return new Fe(ee.Bigger,this,e,null,t)}biggerEquals(e,t){return new Fe(ee.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(ft,e)}nullishCoalesce(e,t){return new Fe(ee.NullishCoalesce,this,e,null,t)}toStmt(e){return new oe(this,null,e)}}class In extends Bt{name;constructor(e,t,r,i){super(t,r,i),this.name=e}isEquivalent(e){return e instanceof In&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}clone(){return new In(this.name,this.type,this.sourceSpan)}set(e){return new Fe(ee.Assign,this,e,null,this.sourceSpan)}}class jn extends Bt{expr;constructor(e,t,r,i){super(t,r,i),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof jn&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new jn(this.expr.clone())}}class ur extends Bt{expr;constructor(e,t,r,i){super(t,r,i),this.expr=e}visitExpression(e,t){return e.visitVoidExpr(this,t)}isEquivalent(e){return e instanceof ur&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new ur(this.expr.clone())}}class z extends Bt{node;constructor(e,t,r,i){super(t,r,i),this.node=e}isEquivalent(e){return e instanceof z&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}clone(){return new z(this.node,this.type,this.sourceSpan)}}class Y extends Bt{fn;args;pure;isOptional;constructor(e,t,r,i,a=!1,u,d=!1){super(r,i,u),this.fn=e,this.args=t,this.pure=a,this.isOptional=d}get receiver(){return this.fn}isEquivalent(e){return e instanceof Y&&this.fn.isEquivalent(e.fn)&&Qt(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}clone(){return new Y(this.fn.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan,this.pure,[],this.isOptional)}}class ve extends Bt{tag;template;constructor(e,t,r,i,a){super(r,i,a),this.tag=e,this.template=t}isEquivalent(e){return e instanceof ve&&this.tag.isEquivalent(e.tag)&&this.template.isEquivalent(e.template)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateLiteralExpr(this,t)}clone(){return new ve(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}}class _ extends Bt{classExpr;args;constructor(e,t,r,i,a){super(r,i,a),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof _&&this.classExpr.isEquivalent(e.classExpr)&&Qt(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}clone(){return new _(this.classExpr.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan)}}class de extends Bt{body;flags;constructor(e,t,r,i){super(null,r,i),this.body=e,this.flags=t}isEquivalent(e){return e instanceof de&&this.body===e.body&&this.flags===e.flags}isConstant(){return!0}visitExpression(e,t){return e.visitRegularExpressionLiteral(this,t)}clone(){return new de(this.body,this.flags,this.sourceSpan)}}class Te extends Bt{value;constructor(e,t,r,i){super(t,r,i),this.value=e}isEquivalent(e){return e instanceof Te&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}clone(){return new Te(this.value,this.type,this.sourceSpan)}}class rt extends Bt{elements;expressions;constructor(e,t,r,i){super(null,r,i),this.elements=e,this.expressions=t}isEquivalent(e){return e instanceof rt&&kt(this.elements,e.elements,(t,r)=>t.text===r.text)&&Qt(this.expressions,e.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTemplateLiteralExpr(this,t)}clone(){return new rt(this.elements.map(e=>e.clone()),this.expressions.map(e=>e.clone()))}}class Qe extends Bt{text;rawText;constructor(e,t,r,i){super(wn,t,i),this.text=e,this.rawText=r??xn(En(e))}visitExpression(e,t){return e.visitTemplateLiteralElementExpr(this,t)}isEquivalent(e){return e instanceof Qe&&e.text===this.text&&e.rawText===this.rawText}isConstant(){return!0}clone(){return new Qe(this.text,this.sourceSpan,this.rawText)}}class st{text;sourceSpan;constructor(e,t){this.text=e,this.sourceSpan=t}}class Ct{text;sourceSpan;associatedMessage;constructor(e,t,r){this.text=e,this.sourceSpan=t,this.associatedMessage=r}}class Gt extends Bt{metaBlock;messageParts;placeHolderNames;expressions;constructor(e,t,r,i,a,u){super(wn,a,u),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=r,this.expressions=i}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}clone(){return new Gt(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(e=>e.clone()),this.sourceSpan)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),At(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){return this.messageParts[e]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(e){return this.placeHolderNames[e]?.sourceSpan??this.expressions[e]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(e){const t=this.placeHolderNames[e-1],r=this.messageParts[e];let i=t.text;return 0===t.associatedMessage?.legacyIds.length&&(i+=`@@${ke(t.associatedMessage.messageString,t.associatedMessage.meaning)}`),At(i,r.text,this.getMessagePartSourceSpan(e))}}const En=n=>n.replace(/\\/g,"\\\\"),mn=n=>n.replace(/^:/,"\\:"),Yn=n=>n.replace(/:/g,"\\:"),xn=n=>n.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function At(n,e,t){return""===n?{cooked:e,raw:xn(mn(En(e))),range:t}:{cooked:`:${n}:${e}`,raw:xn(`:${Yn(En(n))}:${En(e)}`),range:t}}class Ve extends Bt{value;typeParams;constructor(e,t,r=null,i,a){super(t,i,a),this.value=e,this.typeParams=r}isEquivalent(e){return e instanceof Ve&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}clone(){return new Ve(this.value,this.type,this.typeParams,this.sourceSpan)}}class Vt extends Bt{condition;falseCase;trueCase;constructor(e,t,r=null,i,a,u){super(i||t.type,a,u),this.condition=e,this.falseCase=r,this.trueCase=t}isEquivalent(e){return e instanceof Vt&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&function pt(n,e){return null==n||null==e?n==e:n.isEquivalent(e)}(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}clone(){return new Vt(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}}class Jt extends Bt{condition;constructor(e,t,r){super(Je,t,r),this.condition=e}isEquivalent(e){return e instanceof Jt&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}clone(){return new Jt(this.condition.clone(),this.sourceSpan)}}class Me{name;type;constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}clone(){return new Me(this.name,this.type)}}class qt extends Bt{params;statements;name;constructor(e,t,r,i,a,u){super(r,i,u),this.params=e,this.statements=t,this.name=a}isEquivalent(e){return(e instanceof qt||e instanceof Ne)&&Qt(this.params,e.params)&&Qt(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new Ne(e,this.params,this.statements,this.type,t,this.sourceSpan)}clone(){return new qt(this.params.map(e=>e.clone()),this.statements,this.type,this.sourceSpan,this.name)}}let It=class Ec extends Bt{params;body;constructor(e,t,r,i,a){super(r,i,a),this.params=e,this.body=t}isEquivalent(e){return!!(e instanceof Ec&&Qt(this.params,e.params))&&(this.body instanceof Bt&&e.body instanceof Bt?this.body.isEquivalent(e.body):!(!Array.isArray(this.body)||!Array.isArray(e.body))&&Qt(this.body,e.body))}isConstant(){return!1}visitExpression(e,t){return e.visitArrowFunctionExpr(this,t)}clone(){return new Ec(this.params.map(e=>e.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(e,t){return new xe(e,this,Re,t,this.sourceSpan)}};class ut extends Bt{operator;expr;parens;constructor(e,t,r,i,a=!0,u){super(r||Mt,i,u),this.operator=e,this.expr=t,this.parens=a}isEquivalent(e){return e instanceof ut&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}clone(){return new ut(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}}class Et extends Bt{expr;constructor(e,t,r,i){super(t,r,i),this.expr=e}visitExpression(e,t){return e.visitParenthesizedExpr(this,t)}isEquivalent(e){return e instanceof Et&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new Et(this.expr.clone())}}class Fe extends Bt{operator;rhs;lhs;constructor(e,t,r,i,a,u){super(i||t.type,a,u),this.operator=e,this.rhs=r,this.lhs=t}isEquivalent(e){return e instanceof Fe&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}clone(){return new Fe(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){const e=this.operator;return e===ee.Assign||e===ee.AdditionAssignment||e===ee.SubtractionAssignment||e===ee.MultiplicationAssignment||e===ee.DivisionAssignment||e===ee.RemainderAssignment||e===ee.ExponentiationAssignment||e===ee.AndAssignment||e===ee.OrAssignment||e===ee.NullishCoalesceAssignment}}class jt extends Bt{receiver;name;isOptional;constructor(e,t,r,i,a,u=!1){super(r,i,a),this.receiver=e,this.name=t,this.isOptional=u}get index(){return this.name}isEquivalent(e){return e instanceof jt&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.isOptional===e.isOptional}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Fe(ee.Assign,this.receiver.prop(this.name),e,null,this.sourceSpan)}clone(){return new jt(this.receiver.clone(),this.name,this.type,this.sourceSpan,[],this.isOptional)}}class vn extends Bt{receiver;index;isOptional;constructor(e,t,r,i,a,u=!1){super(r,i,a),this.receiver=e,this.index=t,this.isOptional=u}isEquivalent(e){return e instanceof vn&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.isOptional===e.isOptional}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new Fe(ee.Assign,this.receiver.key(this.index),e,null,this.sourceSpan)}clone(){return new vn(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan,[],this.isOptional)}}class sn extends Bt{entries;constructor(e,t,r,i){super(t,r,i),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof sn&&Qt(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}clone(){return new sn(this.entries.map(e=>e.clone()),this.type,this.sourceSpan)}}class cn{key;value;quoted;constructor(e,t,r){this.key=e,this.value=t,this.quoted=r}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}clone(){return new cn(this.key,this.value.clone(),this.quoted)}isConstant(){return this.value.isConstant()}}class Xt{expression;constructor(e){this.expression=e}isEquivalent(e){return e instanceof Xt&&this.expression.isEquivalent(e.expression)}clone(){return new Xt(this.expression.clone())}isConstant(){return this.expression.isConstant()}}class ue extends Bt{entries;valueType=null;constructor(e,t,r,i){super(t,r,i),this.entries=e,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof ue&&Qt(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}clone(){const e=this.entries.map(t=>t.clone());return new ue(e,this.type,this.sourceSpan)}}class pe extends Bt{expression;constructor(e,t,r){super(null,t,r),this.expression=e}isEquivalent(e){return e instanceof pe&&this.expression.isEquivalent(e.expression)}isConstant(){return this.expression.isConstant()}visitExpression(e,t){return e.visitSpreadElementExpr(this,t)}clone(){return new pe(this.expression.clone(),this.sourceSpan)}}const et=new Te(null,null,null),ft=new Te(null,Re,null);var Yt;!function(n){n[n.None=0]="None",n[n.Final=1]="Final",n[n.Private=2]="Private",n[n.Exported=4]="Exported",n[n.Static=8]="Static"}(Yt||(Yt={}));class lr{text;multiline;trailingNewline;constructor(e,t,r){this.text=e,this.multiline=t,this.trailingNewline=r}toString(){return this.multiline?` ${this.text} `:this.text}}class cr extends lr{tags;constructor(e){super("",!0,!0),this.tags=e}toString(){return function Er(n){if(0===n.length)return"";if(1===n.length&&n[0].tagName&&!n[0].text)return`*${ys(n[0])} `;let e="*\n";for(const t of n)e+=" *",e+=ys(t).replace(/\n/g,"\n * "),e+="\n";return e+=" ",e}(this.tags)}}class Nr{modifiers;sourceSpan;leadingComments;constructor(e=Yt.None,t=null,r){this.modifiers=e,this.sourceSpan=t,this.leadingComments=r}hasModifier(e){return 0!==(this.modifiers&e)}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}}class xe extends Nr{name;value;type;constructor(e,t,r,i,a,u){super(i,a,u),this.name=e,this.value=t,this.type=r||t&&t.type||null}isEquivalent(e){return e instanceof xe&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class Ne extends Nr{name;params;statements;type;constructor(e,t,r,i,a,u,d){super(a,u,d),this.name=e,this.params=t,this.statements=r,this.type=i||null}isEquivalent(e){return e instanceof Ne&&Qt(this.params,e.params)&&Qt(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class oe extends Nr{expr;constructor(e,t,r){super(Yt.None,t,r),this.expr=e}isEquivalent(e){return e instanceof oe&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class we extends Nr{value;constructor(e,t=null,r){super(Yt.None,t,r),this.value=e}isEquivalent(e){return e instanceof we&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class tt extends Nr{condition;trueCase;falseCase;constructor(e,t,r=[],i,a){super(Yt.None,i,a),this.condition=e,this.trueCase=t,this.falseCase=r}isEquivalent(e){return e instanceof tt&&this.condition.isEquivalent(e.condition)&&Qt(this.trueCase,e.trueCase)&&Qt(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}function Ie(n,e,t,r){return new In(n,e,t,r)}function le(n,e=null,t){return new Ve(n,null,e,t)}function Pt(n,e,t){return new be(n,e,t)}function Gn(n){return new jn(n)}function gt(n,e,t){return new sn(n,e,t)}function Tn(n,e=null){return new ue(n.map(t=>new cn(t.key,t.value,t.quoted)),e,null)}function Pr(n,e,t,r,i){return new qt(n,e,t,r,i)}function an(n,e,t,r){return new It(n,e,t,r)}function Mr(n,e,t,r,i){return new tt(n,e,t,r,i)}function W(n,e,t){return new Te(n,e,t)}function ys(n){let e="";if(n.tagName&&(e+=` @${n.tagName}`),n.text){if(n.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');e+=" "+n.text.replace(/@/g,"\\@")}return e}const Qh={};class po extends Bt{resolved;original;shared=!1;constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===Qh?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof po&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(e){this.resolved=e,this.shared=!0}}class xc{isClosureCompilerEnabled;statements=[];literals=new Map;literalFactories=new Map;sharedConstants=new Map;_claimedNames=new Map;nextNameIndex=0;constructor(e=!1){this.isClosureCompilerEnabled=e}getConstLiteral(e,t){if(e instanceof Te&&!Tc(e)||e instanceof po)return e;const r=ua.INSTANCE.keyOf(e);let i=this.literals.get(r),a=!1;if(i||(i=new po(e),this.literals.set(r,i),a=!0),!a&&!i.shared||a&&t){const u=this.freshName();let d,S;this.isClosureCompilerEnabled&&Tc(e)?(d=new qt([],[new we(e)]),S=Ie(u).callFn([])):(d=e,S=Ie(u)),this.statements.push(new xe(u,d,Re,Yt.Final)),i.fixup(S)}return i}getSharedConstant(e,t){const r=e.keyOf(t);if(!this.sharedConstants.has(r)){const i=this.freshName();this.sharedConstants.set(r,Ie(i)),this.statements.push(e.toSharedConstantDeclaration(i,t))}return this.sharedConstants.get(r)}getSharedFunctionReference(e,t,r=!0){const i=e instanceof It;for(const u of this.statements)if(i&&u instanceof xe&&u.value?.isEquivalent(e)||!i&&u instanceof Ne&&e instanceof qt&&e.isEquivalent(u))return Ie(u.name);const a=r?this.uniqueName(t):t;return this.statements.push(e instanceof qt?e.toDeclStmt(a,Yt.Final):new xe(a,e,Re,Yt.Final,e.sourceSpan)),Ie(a)}uniqueName(e,t=!0){const r=this._claimedNames.get(e)??0,i=0!==r||t?`${e}${r}`:`${e}`;return this._claimedNames.set(e,r+1),i}freshName(){return this.uniqueName("_c")}}class ua{static INSTANCE=new ua;keyOf(e){if(e instanceof Te&&"string"==typeof e.value)return`"${e.value}"`;if(e instanceof Te)return String(e.value);if(e instanceof de)return`/${e.body}/${e.flags??""}`;if(e instanceof sn){const t=[];for(const r of e.entries)t.push(this.keyOf(r));return`[${t.join(",")}]`}if(e instanceof ue){const t=[];for(const r of e.entries)if(r instanceof Xt)t.push("..."+this.keyOf(r.expression));else{let i=r.key;r.quoted&&(i=`"${i}"`),t.push(i+":"+this.keyOf(r.value))}return`{${t.join(",")}}`}if(e instanceof Ve)return`import("${e.value.moduleName}", ${e.value.name})`;if(e instanceof In)return`read(${e.name})`;if(e instanceof jn)return`typeof(${this.keyOf(e.expr)})`;if(e instanceof pe)return`...${this.keyOf(e.expression)}`;throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`)}}function Tc(n){return n instanceof Te&&"string"==typeof n.value&&n.value.length>=50}const K="@angular/core";class U{static core={name:null,moduleName:K};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:K};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:K};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:K};static element={name:"\u0275\u0275element",moduleName:K};static elementStart={name:"\u0275\u0275elementStart",moduleName:K};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:K};static foreignComponent={name:"\u0275\u0275foreignComponent",moduleName:K};static foreignContent={name:"\u0275\u0275foreignContent",moduleName:K};static foreignContentFn={name:"\u0275\u0275foreignContentFn",moduleName:K};static domElement={name:"\u0275\u0275domElement",moduleName:K};static domElementStart={name:"\u0275\u0275domElementStart",moduleName:K};static domElementEnd={name:"\u0275\u0275domElementEnd",moduleName:K};static domElementContainer={name:"\u0275\u0275domElementContainer",moduleName:K};static domElementContainerStart={name:"\u0275\u0275domElementContainerStart",moduleName:K};static domElementContainerEnd={name:"\u0275\u0275domElementContainerEnd",moduleName:K};static domTemplate={name:"\u0275\u0275domTemplate",moduleName:K};static domListener={name:"\u0275\u0275domListener",moduleName:K};static advance={name:"\u0275\u0275advance",moduleName:K};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:K};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:K};static attribute={name:"\u0275\u0275attribute",moduleName:K};static classProp={name:"\u0275\u0275classProp",moduleName:K};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:K};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:K};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:K};static styleMap={name:"\u0275\u0275styleMap",moduleName:K};static classMap={name:"\u0275\u0275classMap",moduleName:K};static styleProp={name:"\u0275\u0275styleProp",moduleName:K};static interpolate={name:"\u0275\u0275interpolate",moduleName:K};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:K};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:K};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:K};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:K};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:K};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:K};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:K};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:K};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:K};static nextContext={name:"\u0275\u0275nextContext",moduleName:K};static resetView={name:"\u0275\u0275resetView",moduleName:K};static templateCreate={name:"\u0275\u0275template",moduleName:K};static defer={name:"\u0275\u0275defer",moduleName:K};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:K};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:K};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:K};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:K};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:K};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:K};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:K};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:K};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:K};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:K};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:K};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:K};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:K};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:K};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:K};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:K};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:K};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:K};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:K};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:K};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:K};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:K};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:K};static enableIncrementalHydrationRuntime={name:"\u0275\u0275enableIncrementalHydrationRuntime",moduleName:K};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:K};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:K};static conditional={name:"\u0275\u0275conditional",moduleName:K};static repeater={name:"\u0275\u0275repeater",moduleName:K};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:K};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:K};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:K};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:K};static text={name:"\u0275\u0275text",moduleName:K};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:K};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:K};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:K};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:K};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:K};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:K};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:K};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:K};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:K};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:K};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:K};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:K};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:K};static restoreView={name:"\u0275\u0275restoreView",moduleName:K};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:K};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:K};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:K};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:K};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:K};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:K};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:K};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:K};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:K};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:K};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:K};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:K};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:K};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:K};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:K};static domProperty={name:"\u0275\u0275domProperty",moduleName:K};static ariaProperty={name:"\u0275\u0275ariaProperty",moduleName:K};static property={name:"\u0275\u0275property",moduleName:K};static control={name:"\u0275\u0275control",moduleName:K};static controlCreate={name:"\u0275\u0275controlCreate",moduleName:K};static animationEnterListener={name:"\u0275\u0275animateEnterListener",moduleName:K};static animationLeaveListener={name:"\u0275\u0275animateLeaveListener",moduleName:K};static animationEnter={name:"\u0275\u0275animateEnter",moduleName:K};static animationLeave={name:"\u0275\u0275animateLeave",moduleName:K};static i18n={name:"\u0275\u0275i18n",moduleName:K};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:K};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:K};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:K};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:K};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:K};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:K};static pipe={name:"\u0275\u0275pipe",moduleName:K};static projection={name:"\u0275\u0275projection",moduleName:K};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:K};static reference={name:"\u0275\u0275reference",moduleName:K};static inject={name:"\u0275\u0275inject",moduleName:K};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:K};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:K};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:K};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:K};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:K};static forwardRef={name:"forwardRef",moduleName:K};static resolveForwardRef={name:"resolveForwardRef",moduleName:K};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:K};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:K};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:K};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:K};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:K};static defineService={name:"\u0275\u0275defineService",moduleName:K};static declareService={name:"\u0275\u0275ngDeclareService",moduleName:K};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:K};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:K};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:K};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:K};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:K};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:K};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:K};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:K};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:K};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:K};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:K};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:K};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:K};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:K};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:K};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:K};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:K};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:K};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:K};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:K};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:K};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:K};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:K};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:K};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:K};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:K};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:K};static definePipe={name:"\u0275\u0275definePipe",moduleName:K};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:K};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:K};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:K};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:K};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:K};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:K};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:K};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:K};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:K};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:K};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:K};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:K};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:K};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:K};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:K};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:K};static declareLet={name:"\u0275\u0275declareLet",moduleName:K};static storeLet={name:"\u0275\u0275storeLet",moduleName:K};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:K};static arrowFunction={name:"\u0275\u0275arrowFunction",moduleName:K};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:K};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:K};static ControlFeature={name:"\u0275\u0275ControlFeature",moduleName:K};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:K};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:K};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:K};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:K};static listener={name:"\u0275\u0275listener",moduleName:K};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:K};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:K};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:K};static validateAttribute={name:"\u0275\u0275validateAttribute",moduleName:K};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:K};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:K};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:K};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:K};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:K};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:K};static inputDecorator={name:"Input",moduleName:K};static outputDecorator={name:"Output",moduleName:K};static viewChildDecorator={name:"ViewChild",moduleName:K};static viewChildrenDecorator={name:"ViewChildren",moduleName:K};static contentChildDecorator={name:"ContentChild",moduleName:K};static contentChildrenDecorator={name:"ContentChildren",moduleName:K};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:K};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:K};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:K};static assertType={name:"\u0275assertType",moduleName:K}}const qh=/-+([a-z0-9])/g;function Cc(n,e,t){const r=n.indexOf(e);return-1==r?t:[n.slice(0,r).trim(),n.slice(r+1).trim()]}function Ac(n){if("string"==typeof n)return n;if(Array.isArray(n))return`[${n.map(Ac).join(", ")}]`;if(null==n)return""+n;const e=n.overriddenName||n.name;if(e)return`${e}`;if(!n.toString)return"object";const t=n.toString();if(null==t)return""+t;const r=t.indexOf("\n");return r>=0?t.slice(0,r):t}const la=globalThis,iv=/^([1-9]|1[0-8])\./;function wc(n){return!!n.startsWith("0.")||!iv.test(n)}function wu(n){return n.startsWith("--global--")?"--"+n.substring(10):"--%NS%"+n.substring(2)}class uv{file;sourcesContent=new Map;lines=[];lastCol0=0;hasMappings=!1;constructor(e=null){this.file=e}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,r,i){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==r||null==i))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:r,sourceCol0:i}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],r=[];Array.from(this.sourcesContent.keys()).forEach((T,b)=>{e.set(T,b),t.push(T),r.push(this.sourcesContent.get(T)||null)});let i="",a=0,u=0,d=0,S=0;return this.lines.forEach(T=>{a=0,i+=T.map(b=>{let D=fo(b.col0-a);return a=b.col0,null!=b.sourceUrl&&(D+=fo(e.get(b.sourceUrl)-u),u=e.get(b.sourceUrl),D+=fo(b.sourceLine0-d),d=b.sourceLine0,D+=fo(b.sourceCol0-S),S=b.sourceCol0),D}).join(","),i+=";"}),i=i.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:r,mappings:i}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function lv(n){let e="";const t=function rv(n){let e=[];for(let t=0;t<n.length;t++){let r=n.charCodeAt(t);if(r>=55296&&r<=56319&&n.length>t+1){const i=n.charCodeAt(t+1);i>=56320&&i<=57343&&(t++,r=(r-55296<<10)+i-56320+65536)}r<=127?e.push(r):r<=2047?e.push(r>>6&31|192,63&r|128):r<=65535?e.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&e.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return e}(n);for(let r=0;r<t.length;){const i=t[r++],a=r<t.length?t[r++]:null,u=r<t.length?t[r++]:null;e+=ca(i>>2),e+=ca((3&i)<<4|(null===a?0:a>>4)),e+=null===a?"=":ca((15&a)<<2|(null===u?0:u>>6)),e+=null===a||null===u?"=":ca(63&u)}return e}(JSON.stringify(this,null,0)):""}}function fo(n){n=n<0?1+(-n<<1):n<<1;let e="";do{let t=31&n;(n>>=5)>0&&(t|=32),e+=ca(t)}while(n>0);return e}function ca(n){if(n<0||n>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[n]}const pv=/'|\\|\n|\r/g,fv=/^[$A-Z_][0-9A-Z_$]*$/i;class Ic{indent;partsLength=0;parts=[];srcSpans=[];constructor(e){this.indent=e}}const dv=new Map([[ee.And,"&&"],[ee.Bigger,">"],[ee.BiggerEquals,">="],[ee.BitwiseOr,"|"],[ee.BitwiseAnd,"&"],[ee.Divide,"/"],[ee.Assign,"="],[ee.Equals,"=="],[ee.Identical,"==="],[ee.Lower,"<"],[ee.LowerEquals,"<="],[ee.Minus,"-"],[ee.Modulo,"%"],[ee.Exponentiation,"**"],[ee.Multiply,"*"],[ee.NotEquals,"!="],[ee.NotIdentical,"!=="],[ee.NullishCoalesce,"??"],[ee.Or,"||"],[ee.Plus,"+"],[ee.In,"in"],[ee.InstanceOf,"instanceof"],[ee.AdditionAssignment,"+="],[ee.SubtractionAssignment,"-="],[ee.MultiplicationAssignment,"*="],[ee.DivisionAssignment,"/="],[ee.RemainderAssignment,"%="],[ee.ExponentiationAssignment,"**="],[ee.AndAssignment,"&&="],[ee.OrAssignment,"||="],[ee.NullishCoalesceAssignment,"??="]]);class Iu{_indent;static createRoot(){return new Iu(0)}_lines;constructor(e){this._indent=e,this._lines=[new Ic(e)]}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(e,t,r=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),r&&this._lines.push(new Ic(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?"  ".repeat(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const r=new uv(e);let i=!1;const a=()=>{i||(r.addSource(e," ").addMapping(0,e,0,0),i=!0)};for(let u=0;u<t;u++)r.addLine(),a();return this.sourceLines.forEach((u,d)=>{r.addLine();const S=u.srcSpans,T=u.parts;let b=2*u.indent,D=0;for(;D<S.length&&!S[D];)b+=T[D].length,D++;for(D<S.length&&0===d&&0===b?i=!0:a();D<S.length;){const j=S[D],q=j.start.file,se=j.start.line,Se=j.start.col;for(r.addSource(q.url,q.content).addMapping(b,q.url,se,Se),b+=T[D].length,D++;D<S.length&&(j===S[D]||!S[D]);)b+=T[D].length,D++}}),r}spanOf(e,t){const r=this._lines[e];if(r){let i=t-"  ".repeat(r.indent).length;for(let a=0;a<r.parts.length;a++){const u=r.parts[a];if(u.length>i)return r.srcSpans[a];i-=u.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class hv{printComments;printTypes;lastIfCondition=null;constructor(e,t){this.printComments=e,this.printTypes=t}visitExpressionStmt(e,t){this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";")}visitReturnStmt(e,t){this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";")}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),this.lastIfCondition=e.condition,e.condition.visitExpression(this,t),this.lastIfCondition=null,t.print(e,") {");const r=null!=e.falseCase&&e.falseCase.length>0;e.trueCase.length<=1&&!r?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),r&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}")}visitDeclareVarStmt(e,t){const r=e.hasModifier(Yt.Final)?"const":"let";this.printLeadingComments(e,t),t.print(e,`${r} ${e.name}`),e.type?.visitType(this,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";")}visitInvokeFunctionExpr(e,t){this.printLeadingComments(e,t);const r=this.shouldParenthesize(e.fn,e);r&&t.print(e.fn,"("),e.fn.visitExpression(this,t),r&&t.print(e.fn,")"),t.print(e,e.isOptional?"?.(":"("),this.visitAllExpressions(e.args,t,","),t.print(e,")")}visitTaggedTemplateLiteralExpr(e,t){this.printLeadingComments(e,t),e.tag.visitExpression(this,t),e.template.visitExpression(this,t)}visitTemplateLiteralExpr(e,t){this.printLeadingComments(e,t),t.print(e,"`");for(let r=0;r<e.elements.length;r++){e.elements[r].visitExpression(this,t);const i=r<e.expressions.length?e.expressions[r]:null;null!==i&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){this.printLeadingComments(e,t),t.print(e,e.rawText)}visitTypeofExpr(e,t){this.printLeadingComments(e,t),t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitVoidExpr(e,t){this.printLeadingComments(e,t),t.print(e,"void "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){this.printLeadingComments(e,t),t.print(e,e.name)}visitInstantiateExpr(e,t){this.printLeadingComments(e,t),t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")")}visitLiteralExpr(e,t){this.printLeadingComments(e,t);const r=e.value;"string"==typeof r?t.print(e,Es(r)):t.print(e,`${r}`)}visitRegularExpressionLiteral(e,t){this.printLeadingComments(e,t),t.print(e,`/${e.body}/${e.flags||""}`)}visitLocalizedString(e,t){this.printLeadingComments(e,t);const r=e.serializeI18nHead();t.print(e,"$localize `"+r.raw);for(let i=1;i<e.messageParts.length;i++)t.print(e,"${"),e.expressions[i-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(i).raw}`);t.print(e,"`")}visitConditionalExpr(e,t){this.printLeadingComments(e,t),t.print(e,"("),e.condition.visitExpression(this,t),t.print(e," ? "),e.trueCase.visitExpression(this,t),t.print(e," : "),e.falseCase?.visitExpression(this,t),t.print(e,")")}visitDynamicImportExpr(e,t){this.printLeadingComments(e,t),t.print(e,"import("),"string"==typeof e.url?t.print(e,Es(e.url,!0)):e.url.visitExpression(this,t),t.print(e,")")}visitNotExpr(e,t){this.printLeadingComments(e,t),t.print(e,"!"),e.condition.visitExpression(this,t)}visitFunctionExpr(e,t){this.printLeadingComments(e,t),t.print(e,`function${e.name?" "+e.name:""}(`),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," {"),t.println(e),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}")}visitArrowFunctionExpr(e,t){if(this.printLeadingComments(e,t),t.print(e,"("),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," => "),Array.isArray(e.body))t.print(e,"{"),t.println(e),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(e,"}");else{const r=this.shouldParenthesize(e.body,e);r&&t.print(e,"("),e.body.visitExpression(this,t),r&&t.print(e,")")}}visitDeclareFunctionStmt(e,t){this.printLeadingComments(e,t),t.print(e,`function ${e.name}(`),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," {"),t.println(e),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}")}visitUnaryOperatorExpr(e,t){let r;switch(this.printLeadingComments(e,t),e.operator){case $e.Plus:r="+";break;case $e.Minus:r="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}const i=e!==this.lastIfCondition;i&&t.print(e,"("),t.print(e,r),e.expr.visitExpression(this,t),i&&t.print(e,")")}visitBinaryOperatorExpr(e,t){this.printLeadingComments(e,t);const r=dv.get(e.operator);if(!r)throw new Error(`Unknown operator ${e.operator}`);const i=e!==this.lastIfCondition;i&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${r} `),e.rhs.visitExpression(this,t),i&&t.print(e,")")}visitReadPropExpr(e,t){this.printLeadingComments(e,t),e.receiver.visitExpression(this,t),t.print(e,e.isOptional?"?.":"."),t.print(e,e.name)}visitReadKeyExpr(e,t){this.printLeadingComments(e,t),e.receiver.visitExpression(this,t),t.print(e,e.isOptional?"?.[":"["),e.index.visitExpression(this,t),t.print(e,"]")}visitLiteralArrayExpr(e,t){this.printLeadingComments(e,t),t.print(e,"["),this.visitAllExpressions(e.entries,t,", "),t.print(e,"]")}visitLiteralMapExpr(e,t){this.printLeadingComments(e,t),t.print(e,"{"),this.visitAllObjects(r=>{r instanceof Xt?(t.print(e,"..."),r.expression.visitExpression(this,t)):(t.print(e,`${Es(r.key,r.quoted)}: `),r.value.visitExpression(this,t))},e.entries,t,", "),t.print(e,"}")}visitCommaExpr(e,t){this.printLeadingComments(e,t),t.print(e,"("),this.visitAllExpressions(e.parts,t,", "),t.print(e,")")}visitParenthesizedExpr(e,t){this.printLeadingComments(e,t),e.expr.visitExpression(this,t)}visitSpreadElementExpr(e,t){this.printLeadingComments(e,t),t.print(e,"..."),e.expression.visitExpression(this,t)}visitBuiltinType(e,t){if(this.printTypes)switch(e.name){case Xe.Bool:t.print(null,": boolean");break;case Xe.Dynamic:t.print(null,": any");break;case Xe.Int:case Xe.Number:t.print(null,": number");break;case Xe.String:t.print(null,": string");break;case Xe.None:t.print(null,": void");break;case Xe.Inferred:break;case Xe.Function:t.print(null,": Function");break;default:t.print(null,": any")}}visitExpressionType(e,t){this.printTypes&&(t.print(null,": "),e.value.visitExpression(this,t),e.typeParams&&e.typeParams.length>0&&(t.print(null,"<"),this.visitAllObjects(r=>r.visitType(this,t),e.typeParams,t,","),t.print(null,">")))}visitArrayType(e,t){this.printTypes&&(t.print(null,": "),e.of.visitType(this,t),t.print(null,"[]"))}visitMapType(e,t){this.printTypes&&(t.print(null,": { [key: string]: "),e.valueType?e.valueType.visitType(this,t):t.print(null,"any"),t.print(null,"}"))}visitTransplantedType(e,t){throw new Error("TransplantedType nodes are not supported")}visitAllExpressions(e,t,r){this.visitAllObjects(i=>i.visitExpression(this,t),e,t,r)}visitAllObjects(e,t,r,i){for(let a=0;a<t.length;a++)a>0&&r.print(null,i,!1),e(t[a])}visitAllStatements(e,t){e.forEach(r=>r.visitStatement(this,t))}visitParams(e,t){this.visitAllObjects(r=>{t.print(null,r.name),r.type?.visitType(this,t)},e,t,", ")}shouldParenthesize(e,t){return(e instanceof It||e instanceof qt)&&t instanceof Y||e instanceof ue&&t instanceof It}printLeadingComments(e,t){if(this.printComments&&void 0!==e.leadingComments)for(const r of e.leadingComments)r instanceof cr?t.print(e,`/*${r.toString()}*/`,r.trailingNewline):r.multiline?t.print(e,`/* ${r.text} */`,r.trailingNewline):r.text.split("\n").forEach(i=>t.println(e,`// ${i}`))}}function Es(n,e=!0){if(null==n)return null;const t=n.replace(pv,(...i)=>"\n"==i[0]?"\\n":"\r"==i[0]?"\\r":`\\${i[0]}`);return e||!fv.test(t)?`'${t}'`:t}const vv=/[-.]/,bu=/^[$A-Z_][0-9A-Z_$]*$/i,bc=/^let\s+([\S\s]*)/;function vo(n,e){if(0===e)return Pt(n);const t=[];for(let r=0;r<e;r++)t.push(me);return Pt(n,void 0,t)}function mv(n,e){const t=Es(e,!1);return t!==e?`${n}[${t}]`:`${n}.${e}`}function Nc(n,e){const t=new Ve({name:n,moduleName:null}),r=new Fe(ee.Identical,new jn(t),W("undefined")),i=new Fe(ee.Or,r,t,void 0,void 0);return new Fe(ee.And,i,e)}function Pn(n){const e=new z(n);return{value:e,type:e}}function kr(n,e){const t=gt(n.map(r=>r.value));return e?an([],t):t}function Ss(){return function nt(n,e=!1,t=!0){return new lr(n,e,t)}("@ts-ignore",!0,!0)}function fa(n){return vv.test(n)}function Nu(n,e){return{expression:n,forwardRef:e}}function mi({expression:n,forwardRef:e}){switch(e){case 0:case 1:return n;case 2:return Pu(n)}}function Pu(n){return le(U.forwardRef).callFn([an([],n)])}var da;function zs(n){const e=Ie("__ngFactoryType__");let t=null;const r=Dc(n)?e:new Fe(ee.Or,e,n.type.value);let i=null;const a=null!==n.deps&&"invalid"!==n.deps&&n.deps.length>0?[Ss()]:void 0;null!==n.deps?"invalid"!==n.deps&&(i=new _(r,Oc(n.deps,n.target))):(t=Ie(`\u0275${n.name}_BaseFactory`),i=t.callFn([r]));const u=[];let d=null;function S(b){const D=Ie("__ngConditionalFactory__");u.push(new xe(D.name,et,me));const j=null!==i?D.set(i).toStmt(a):le(U.invalidFactory).callFn([]).toStmt();return u.push(Mr(e,[j],[D.set(b).toStmt([Ss()])])),D}if(Dc(n)){const b=Oc(n.delegateDeps,n.target);d=S(new(n.delegateType===da.Class?_:Y)(n.delegate,b))}else d=function xv(n){return void 0!==n.expression}(n)?S(n.expression):i;if(null===d)u.push(le(U.invalidFactory).callFn([]).toStmt());else if(null!==t){const b=le(U.getInheritedFactory).callFn([n.type.value]),D=new Fe(ee.Or,t,t.set(b));u.push(new we(D.callFn([r])))}else u.push(new we(d,null,a));let T=Pr([new Me(e.name,me)],u,Re,void 0,`${n.name}_Factory`);return null!==t&&(T=an([],[new xe(t.name,void 0,me),new we(T)]).callFn([],void 0,!0)),{expression:T,statements:[],type:Pc(n)}}function Pc(n){const e=null!==n.deps&&"invalid"!==n.deps?function Ev(n){let e=!1;const t=n.map(r=>{const i=function Sv(n){const e=[];return null!==n.attributeNameType&&e.push({key:"attribute",value:n.attributeNameType,quoted:!1}),n.optional&&e.push({key:"optional",value:W(!0),quoted:!1}),n.host&&e.push({key:"host",value:W(!0),quoted:!1}),n.self&&e.push({key:"self",value:W(!0),quoted:!1}),n.skipSelf&&e.push({key:"skipSelf",value:W(!0),quoted:!1}),e.length>0?Tn(e):null}(r);return null!==i?(e=!0,i):W(null)});return e?Pt(gt(t)):mt}(n.deps):mt;return Pt(le(U.FactoryDeclaration,[vo(n.type.type,n.typeArgumentCount),e]))}function Oc(n,e){return n.map((t,r)=>function yv(n,e,t){if(null===n.token)return le(U.invalidFactoryDep).callFn([W(t)]);if(null===n.attributeNameType){const r=(n.self?2:0)|(n.skipSelf?4:0)|(n.host?1:0)|(n.optional?8:0)|(e===X.Pipe?16:0);let i=0!==r||n.optional?W(r):null;const a=[n.token];i&&a.push(i);const u=function Tv(n){switch(n){case X.Component:case X.Directive:case X.Pipe:return U.directiveInject;case X.NgModule:case X.Injectable:default:return U.inject}}(e);return le(u).callFn(a)}return le(U.injectAttribute).callFn([n.token])}(t,e,r))}function Dc(n){return void 0!==n.delegateType}!function(n){n[n.Class=0]="Class",n[n.Function=1]="Function"}(da||(da={}));class xs{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new Hn(e+this.start,e+this.end)}}class pn{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class mo extends pn{nameSpan;constructor(e,t,r){super(e,t),this.nameSpan=r}}let Zn=class extends pn{visit(e,t=null){return e.visitEmptyExpr?.(this,t)}};class zn extends pn{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class as extends pn{visit(e,t=null){return e.visitThisReceiver?.(this,t)}}class go extends pn{expressions;constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitChain(this,t)}}class Rc extends pn{condition;trueExp;falseExp;constructor(e,t,r,i,a){super(e,t),this.condition=r,this.trueExp=i,this.falseExp=a}visit(e,t=null){return e.visitConditional(this,t)}}class Fn extends mo{receiver;name;constructor(e,t,r,i,a){super(e,t,r),this.receiver=i,this.name=a}visit(e,t=null){return e.visitPropertyRead(this,t)}}class ha extends mo{receiver;name;constructor(e,t,r,i,a){super(e,t,r),this.receiver=i,this.name=a}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class Xs extends pn{receiver;key;constructor(e,t,r,i){super(e,t),this.receiver=r,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}}class yo extends pn{receiver;key;constructor(e,t,r,i){super(e,t),this.receiver=r,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}var va;!function(n){n[n.ReferencedByName=0]="ReferencedByName",n[n.ReferencedDirectly=1]="ReferencedDirectly"}(va||(va={}));class Ou extends mo{exp;name;args;type;constructor(e,t,r,i,a,u,d){super(e,t,d),this.exp=r,this.name=i,this.args=a,this.type=u}visit(e,t=null){return e.visitPipe(this,t)}}class pr extends pn{value;constructor(e,t,r){super(e,t),this.value=r}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class Eo extends pn{expressions;constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitLiteralArray(this,t)}}class Mc extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitSpreadElement(this,t)}}class gi extends pn{keys;values;constructor(e,t,r,i){super(e,t),this.keys=r,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}}let ma=class extends pn{strings;expressions;constructor(e,t,r,i){super(e,t),this.strings=r,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}};class tr extends pn{operation;left;right;constructor(e,t,r,i,a){super(e,t),this.operation=r,this.left=i,this.right=a}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return"="===e||"+="===e||"-="===e||"*="===e||"/="===e||"%="===e||"**="===e||"&&="===e||"||="===e||"??="===e}}class Ks extends tr{operator;expr;left=null;right=null;operation=null;static createMinus(e,t,r){return new Ks(e,t,"-",r,"-",new pr(e,t,0),r)}static createPlus(e,t,r){return new Ks(e,t,"+",r,"-",r,new pr(e,t,0))}constructor(e,t,r,i,a,u,d){super(e,t,a,u,d),this.operator=r,this.expr=i}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class Du extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitPrefixNot(this,t)}}class Ru extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitTypeofExpression(this,t)}}class Mu extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitVoidExpression(this,t)}}class Lu extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class Br extends pn{receiver;args;argumentSpan;constructor(e,t,r,i,a){super(e,t),this.receiver=r,this.args=i,this.argumentSpan=a}visit(e,t=null){return e.visitCall(this,t)}}class ga extends pn{receiver;args;argumentSpan;constructor(e,t,r,i,a){super(e,t),this.receiver=r,this.args=i,this.argumentSpan=a}visit(e,t=null){return e.visitSafeCall(this,t)}}class ku extends pn{tag;template;constructor(e,t,r,i){super(e,t),this.tag=r,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}}class Bu extends pn{elements;expressions;constructor(e,t,r,i){super(e,t),this.elements=r,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}}class Lc extends pn{text;constructor(e,t,r){super(e,t),this.text=r}visit(e,t){return e.visitTemplateLiteralElement(this,t)}}class Fu extends pn{expression;constructor(e,t,r){super(e,t),this.expression=r}visit(e,t){return e.visitParenthesizedExpression(this,t)}}class Cv{name;span;sourceSpan;constructor(e,t,r){this.name=e,this.span=t,this.sourceSpan=r}}class kc extends pn{parameters;body;constructor(e,t,r,i){super(e,t),this.parameters=r,this.body=i}visit(e,t){return e.visitArrowFunction(this,t)}}class Bc extends pn{body;flags;constructor(e,t,r,i){super(e,t),this.body=r,this.flags=i}visit(e,t){return e.visitRegularExpressionLiteral(this,t)}}class Hn{start;end;constructor(e,t){this.start=e,this.end=t}}class Sr extends pn{ast;source;location;errors;constructor(e,t,r,i,a){super(new xs(0,null===t?0:t.length),new Hn(i,null===t?i:i+t.length)),this.ast=e,this.source=t,this.location=r,this.errors=a}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class $u{sourceSpan;key;value;constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}}class Av{sourceSpan;key;value;constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}}class ya{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let r=0;r<e.elements.length;r++){this.visit(e.elements[r],t);const i=r<e.expressions.length?e.expressions[r]:null;null!==i&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitArrowFunction(e,t){this.visit(e.body,t)}visitRegularExpressionLiteral(e,t){}visitSpreadElement(e,t){this.visit(e.expression,t)}visitEmptyExpr(e,t){}visitAll(e,t){for(const r of e)this.visit(r,t)}}class So{name;expression;type;sourceSpan;keySpan;valueSpan;isLiteral;isLegacyAnimation;isAnimation;constructor(e,t,r,i,a,u){this.name=e,this.expression=t,this.type=r,this.sourceSpan=i,this.keySpan=a,this.valueSpan=u,this.isLiteral=this.type===Fr.LITERAL_ATTR,this.isLegacyAnimation=this.type===Fr.LEGACY_ANIMATION,this.isAnimation=this.type===Fr.ANIMATION}}var Fr,bn,at,$r;!function(n){n[n.DEFAULT=0]="DEFAULT",n[n.LITERAL_ATTR=1]="LITERAL_ATTR",n[n.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",n[n.TWO_WAY=3]="TWO_WAY",n[n.ANIMATION=4]="ANIMATION"}(Fr||(Fr={})),function(n){n[n.Regular=0]="Regular",n[n.LegacyAnimation=1]="LegacyAnimation",n[n.TwoWay=2]="TwoWay",n[n.Animation=3]="Animation"}(bn||(bn={}));class Fc{name;targetOrPhase;type;handler;sourceSpan;handlerSpan;keySpan;constructor(e,t,r,i,a,u,d){this.name=e,this.targetOrPhase=t,this.type=r,this.handler=i,this.sourceSpan=a,this.handlerSpan=u,this.keySpan=d}}class wv{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,r,i,a){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=i,this.valueSpan=a}}!function(n){n[n.Property=0]="Property",n[n.Attribute=1]="Attribute",n[n.Class=2]="Class",n[n.Style=3]="Style",n[n.LegacyAnimation=4]="LegacyAnimation",n[n.TwoWay=5]="TwoWay",n[n.Animation=6]="Animation"}(at||(at={}));class $c{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;constructor(e,t,r,i,a,u,d,S){this.name=e,this.type=t,this.securityContext=r,this.value=i,this.unit=a,this.sourceSpan=u,this.keySpan=d,this.valueSpan=S}}function Xn(n,e=!0){if(":"!=n[0])return[null,n];const t=n.indexOf(":",1);if(-1===t){if(e)throw new Error(`Unsupported format "${n}" expecting ":namespace:name"`);return[null,n]}return[n.slice(1,t),n.slice(t+1)]}function Uc(n){return"ng-container"===Xn(n)[1]}function Uu(n){return"ng-content"===Xn(n)[1]}function Vu(n){return null===n?null:Xn(n)[0]}function xo(n,e){return n?`:${n}:${e}`:e}!function(n){n[n.RAW_TEXT=0]="RAW_TEXT",n[n.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",n[n.PARSABLE_DATA=2]="PARSABLE_DATA"}($r||($r={}));let Ys=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}},os=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}};class yi{value;sourceSpan;i18n;constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r}visit(e){return e.visitBoundText(this)}}class To{name;value;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,r,i,a,u){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=i,this.valueSpan=a,this.i18n=u}visit(e){return e.visitTextAttribute(this)}}class Ts{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,r,i,a,u,d,S,T){this.name=e,this.type=t,this.securityContext=r,this.value=i,this.unit=a,this.sourceSpan=u,this.keySpan=d,this.valueSpan=S,this.i18n=T}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new Ts(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class Ea{name;type;handler;target;phase;sourceSpan;handlerSpan;keySpan;constructor(e,t,r,i,a,u,d,S){this.name=e,this.type=t,this.handler=r,this.target=i,this.phase=a,this.sourceSpan=u,this.handlerSpan=d,this.keySpan=S}static fromParsedEvent(e){const t=e.type===bn.Regular?e.targetOrPhase:null,r=e.type===bn.LegacyAnimation?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new Ea(e.name,e.type,e.handler,t,r,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}let tn=class{name;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;isVoid;i18n;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q){this.name=e,this.attributes=t,this.inputs=r,this.outputs=i,this.directives=a,this.children=u,this.references=d,this.isSelfClosing=S,this.sourceSpan=T,this.startSourceSpan=b,this.endSourceSpan=D,this.isVoid=j,this.i18n=q}visit(e){return e.visitElement(this)}};class Cs{nameSpan;sourceSpan;prefetchSpan;whenOrOnSourceSpan;hydrateSpan;constructor(e,t,r,i,a){this.nameSpan=e,this.sourceSpan=t,this.prefetchSpan=r,this.whenOrOnSourceSpan=i,this.hydrateSpan=a}visit(e){return e.visitDeferredTrigger(this)}}class Vc extends Cs{value;constructor(e,t,r,i,a){super(null,t,r,i,a),this.value=e}}class bv extends Cs{}class Nv extends Cs{timeout;constructor(e,t,r,i,a,u){super(e,t,r,i,a),this.timeout=u}}class Pv extends Cs{}class jc extends Cs{reference;constructor(e,t,r,i,a,u){super(t,r,i,a,u),this.reference=e}}class Ov extends Cs{delay;constructor(e,t,r,i,a,u){super(t,r,i,a,u),this.delay=e}}class Hc extends Cs{reference;constructor(e,t,r,i,a,u){super(t,r,i,a,u),this.reference=e}}class ju extends Cs{reference;options;constructor(e,t,r,i,a,u,d){super(r,i,a,u,d),this.reference=e,this.options=t}}class xr{nameSpan;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,i){this.nameSpan=e,this.sourceSpan=t,this.startSourceSpan=r,this.endSourceSpan=i}}class Hu extends xr{children;minimumTime;i18n;constructor(e,t,r,i,a,u,d){super(r,i,a,u),this.children=e,this.minimumTime=t,this.i18n=d}visit(e){return e.visitDeferredBlockPlaceholder(this)}}class Wu extends xr{children;afterTime;minimumTime;i18n;constructor(e,t,r,i,a,u,d,S){super(i,a,u,d),this.children=e,this.afterTime=t,this.minimumTime=r,this.i18n=S}visit(e){return e.visitDeferredBlockLoading(this)}}class Gu extends xr{children;i18n;constructor(e,t,r,i,a,u){super(t,r,i,a),this.children=e,this.i18n=u}visit(e){return e.visitDeferredBlockError(this)}}class Co extends xr{name;variables;children;i18n;constructor(e,t,r,i,a,u,d,S){super(i,a,u,d),this.name=e,this.variables=t,this.children=r,this.i18n=S}visit(e){return e.visitContentBlock(this)}}class Ei extends xr{children;placeholder;loading;error;mainBlockSpan;i18n;triggers;prefetchTriggers;hydrateTriggers;definedTriggers;definedPrefetchTriggers;definedHydrateTriggers;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q){super(S,T,D,j),this.children=e,this.placeholder=a,this.loading=u,this.error=d,this.mainBlockSpan=b,this.i18n=q,this.triggers=t,this.prefetchTriggers=r,this.hydrateTriggers=i,this.definedTriggers=Object.keys(t),this.definedPrefetchTriggers=Object.keys(r),this.definedHydrateTriggers=Object.keys(i)}visit(e){return e.visitDeferredBlock(this)}visitAll(e){this.visitTriggers(this.definedHydrateTriggers,this.hydrateTriggers,e),this.visitTriggers(this.definedTriggers,this.triggers,e),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,e),zt(e,this.children);zt(e,[this.placeholder,this.loading,this.error].filter(r=>null!==r))}visitTriggers(e,t,r){zt(r,e.map(i=>t[i]))}}class Ao extends xr{expression;groups;unknownBlocks;exhaustiveCheck;constructor(e,t,r,i,a,u,d,S){super(S,a,u,d),this.expression=e,this.groups=t,this.unknownBlocks=r,this.exhaustiveCheck=i}visit(e){return e.visitSwitchBlock(this)}}class Dv extends xr{expression;constructor(e,t,r,i,a){super(a,t,r,i),this.expression=e}visit(e){return e.visitSwitchBlockCase(this)}}class zu extends xr{cases;children;i18n;constructor(e,t,r,i,a,u,d){super(u,r,i,a),this.cases=e,this.children=t,this.i18n=d}visit(e){return e.visitSwitchBlockCaseGroup(this)}}class Rv extends xr{expression;constructor(e,t,r,i,a){super(a,t,r,i),this.expression=e}visit(e){return e.visitSwitchExhaustiveCheck(this)}}class Zs extends xr{item;expression;trackBy;trackKeywordSpan;contextVariables;children;empty;mainBlockSpan;i18n;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q){super(j,S,b,D),this.item=e,this.expression=t,this.trackBy=r,this.trackKeywordSpan=i,this.contextVariables=a,this.children=u,this.empty=d,this.mainBlockSpan=T,this.i18n=q}visit(e){return e.visitForLoopBlock(this)}}class Xu extends xr{children;i18n;constructor(e,t,r,i,a,u){super(a,t,r,i),this.children=e,this.i18n=u}visit(e){return e.visitForLoopBlockEmpty(this)}}class wo extends xr{branches;constructor(e,t,r,i,a){super(a,t,r,i),this.branches=e}visit(e){return e.visitIfBlock(this)}}class Si extends xr{expression;children;expressionAlias;i18n;constructor(e,t,r,i,a,u,d,S){super(d,i,a,u),this.expression=e,this.children=t,this.expressionAlias=r,this.i18n=S}visit(e){return e.visitIfBlockBranch(this)}}class Wc{name;sourceSpan;nameSpan;constructor(e,t,r){this.name=e,this.sourceSpan=t,this.nameSpan=r}visit(e){return e.visitUnknownBlock(this)}}let As=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,r,i,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=i,this.valueSpan=a}visit(e){return e.visitLetDeclaration(this)}},us=class{componentName;tagName;fullName;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q,se){this.componentName=e,this.tagName=t,this.fullName=r,this.attributes=i,this.inputs=a,this.outputs=u,this.directives=d,this.children=S,this.references=T,this.isSelfClosing=b,this.sourceSpan=D,this.startSourceSpan=j,this.endSourceSpan=q,this.i18n=se}visit(e){return e.visitComponent(this)}},Sa=class{name;attributes;inputs;outputs;references;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,r,i,a,u,d,S,T){this.name=e,this.attributes=t,this.inputs=r,this.outputs=i,this.references=a,this.sourceSpan=u,this.startSourceSpan=d,this.endSourceSpan=S,this.i18n=T}visit(e){return e.visitDirective(this)}};class Cn{tagName;attributes;inputs;outputs;directives;templateAttrs;children;references;variables;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q,se){this.tagName=e,this.attributes=t,this.inputs=r,this.outputs=i,this.directives=a,this.templateAttrs=u,this.children=d,this.references=S,this.variables=T,this.isSelfClosing=b,this.sourceSpan=D,this.startSourceSpan=j,this.endSourceSpan=q,this.i18n=se}visit(e){return e.visitTemplate(this)}}class xa{selector;attributes;children;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;name="ng-content";constructor(e,t,r,i,a,u,d,S){this.selector=e,this.attributes=t,this.children=r,this.isSelfClosing=i,this.sourceSpan=a,this.startSourceSpan=u,this.endSourceSpan=d,this.i18n=S}visit(e){return e.visitContent(this)}}class Yr{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,r,i,a){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=i,this.valueSpan=a}visit(e){return e.visitVariable(this)}}class Io{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,r,i,a){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=i,this.valueSpan=a}visit(e){return e.visitReference(this)}}let Ku=class{vars;placeholders;sourceSpan;i18n;constructor(e,t,r,i){this.vars=e,this.placeholders=t,this.sourceSpan=r,this.i18n=i}visit(e){return e.visitIcu(this)}};class fr{tagNames;bindings;listeners;sourceSpan;constructor(e,t,r,i){if(this.tagNames=e,this.bindings=t,this.listeners=r,this.sourceSpan=i,0===e.length)throw new Error("HostElement must have at least one tag name.")}visit(){throw new Error("HostElement cannot be visited")}}function zt(n,e){const t=[];if(n.visit)for(const r of e)n.visit(r);else for(const r of e){const i=r.visit(n);i&&t.push(i)}return t}class dr{nodes;placeholders;placeholderToMessage;meaning;description;customId;sources;id;legacyIds=[];messageString;constructor(e,t,r,i,a,u){this.nodes=e,this.placeholders=t,this.placeholderToMessage=r,this.meaning=i,this.description=a,this.customId=u,this.id=this.customId,this.messageString=function Lv(n){const e=new kv;return n.map(r=>r.visit(e)).join("")}(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=[]}}let Zr=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}};class Ur{children;sourceSpan;constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class xi{expression;type;cases;sourceSpan;expressionPlaceholder;constructor(e,t,r,i,a){this.expression=e,this.type=t,this.cases=r,this.sourceSpan=i,this.expressionPlaceholder=a}visit(e,t){return e.visitIcu(this,t)}}class ws{tag;attrs;startName;closeName;children;isVoid;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,i,a,u,d,S,T){this.tag=e,this.attrs=t,this.startName=r,this.closeName=i,this.children=a,this.isVoid=u,this.sourceSpan=d,this.startSourceSpan=S,this.endSourceSpan=T}visit(e,t){return e.visitTagPlaceholder(this,t)}}class Qr{value;name;sourceSpan;constructor(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}visit(e,t){return e.visitPlaceholder(this,t)}}class Ti{value;name;sourceSpan;previousMessage;constructor(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class Is{name;parameters;startName;closeName;children;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,i,a,u,d,S){this.name=e,this.parameters=t,this.startName=r,this.closeName=i,this.children=a,this.sourceSpan=u,this.startSourceSpan=d,this.endSourceSpan=S}visit(e,t){return e.visitBlockPlaceholder(this,t)}}class kv{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(r=>`${r} {${e.cases[r].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){const t=e.children.map(r=>r.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}visitBlockPlaceholder(e){const t=e.children.map(r=>r.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}}new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const r=e.children.map(i=>i.visit(this));return`<${e.name}${t}>${r.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(r=>`${r}="${e[r]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function Qu(n){return n.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const Ju="i18n-";function Yc(n){return"i18n"===n||n.startsWith(Ju)}function Zc(n){return n.nodes[0]}function qu(n={},e){const t={};return n&&Object.keys(n).length&&Object.keys(n).forEach(r=>t[Ta(r,e)]=n[r]),t}function Ta(n,e=!0){const t=Qu(n);if(!e)return t;const r=t.split("_");if(1===r.length)return n.toLowerCase();let i;/^\d+$/.test(r[r.length-1])&&(i=r.pop());let a=r.shift().toLowerCase();return r.length&&(a+=r.map(u=>u.charAt(0).toUpperCase()+u.slice(1).toLowerCase()).join("")),i?`${a}_${i}`:a}const Tr="ctx",Ci="rf";function Qc(n,e){let t=null;return()=>(t||(n(new xe("_t",void 0,me)),t=Ie(e)),t)}function nr(n){return Array.isArray(n)?gt(n.map(nr)):W(n,Re)}function el(n,e){const t=Object.getOwnPropertyNames(n);return 0===t.length?null:Tn(t.map(r=>{const i=n[r];let a,u,d,S;if("string"==typeof i)a=r,d=r,u=i,S=nr(u);else{d=r,a=i.classPropertyName,u=i.bindingPropertyName;const T=u!==a,b=null!==i.transformFunction;let D=B.None;if(i.isSignal&&(D|=B.SignalBased),b&&(D|=B.HasDecoratorInputTransform),e&&(T||b||D!==B.None)){const j=[W(D),nr(u)];(T||b)&&(j.push(nr(a)),b&&j.push(i.transformFunction)),S=gt(j)}else S=nr(u)}return{key:d,quoted:fa(d),value:S}}))}class An{values=[];set(e,t){if(t){const r=this.values.find(i=>i.key===e);r?r.value=t:this.values.push({key:e,value:t,quoted:!1})}}toLiteralMap(){return Tn(this.values)}}function Jc(n){const e=n instanceof tn?n.name:"ng-template",t=function Zv(n){const e={};return n instanceof Cn&&"ng-template"!==n.tagName?n.templateAttrs.forEach(t=>e[t.name]=""):(n.attributes.forEach(t=>{Yc(t.name)||(e[t.name]=t.value)}),n.inputs.forEach(t=>{(t.type===at.Property||t.type===at.TwoWay)&&(e[t.name]="")}),n.outputs.forEach(t=>{e[t.name]=""})),e}(n),r=new g,i=Xn(e)[1];return r.setElement(i),Object.getOwnPropertyNames(t).forEach(a=>{const u=Xn(a)[1],d=t[a];r.addAttribute(u,d),"class"===a.toLowerCase()&&d.trim().split(/\s+/).forEach(T=>r.addClassName(T))}),r}function qc(n,e){let t=null;const r={name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:[],target:X.Injectable};if(void 0!==n.useClass){const d=n.useClass.expression.isEquivalent(n.type.value);let S;void 0!==n.deps&&(S=n.deps),t=void 0!==S?zs({...r,delegate:n.useClass.expression,delegateDeps:S,delegateType:da.Class}):d?zs(r):{statements:[],expression:tl(n.type.value,n.useClass.expression,e)}}else t=void 0!==n.useFactory?void 0!==n.deps?zs({...r,delegate:n.useFactory,delegateDeps:n.deps||[],delegateType:da.Function}):{statements:[],expression:an([],n.useFactory.callFn([]))}:void 0!==n.useValue?zs({...r,expression:n.useValue.expression}):void 0!==n.useExisting?zs({...r,expression:le(U.inject).callFn([n.useExisting.expression])}):{statements:[],expression:tl(n.type.value,n.type.value,e)};const i=n.type.value,a=new An;return a.set("token",i),a.set("factory",t.expression),null!==n.providedIn.expression.value&&a.set("providedIn",mi(n.providedIn)),{expression:le(U.\u0275\u0275defineInjectable).callFn([a.toLiteralMap()],void 0,!0),type:No(n.type.type,n.typeArgumentCount),statements:t.statements}}function No(n,e){return new be(le(U.InjectableDeclaration,[vo(n,e)]))}function tl(n,e,t){if(n.node===e.node)return e.prop("\u0275fac");if(!t)return _c(e);return _c(le(U.resolveForwardRef).callFn([e]))}function _c(n){const e=new Me("__ngFactoryType__",me);return an([e],n.prop("\u0275fac").callFn([Ie(e.name)]))}const ep=!1,Or=123,ir=125;function Ia(n){return n>=9&&n<=32||160==n}function Dr(n){return 48<=n&&n<=57}function Ps(n){return n>=97&&n<=122||n>=65&&n<=90}function ba(n){return 10===n||13===n}function vp(n){return 48<=n&&n<=55}function Na(n){return 39===n||34===n||96===n}class ni{file;offset;line;col;constructor(e,t,r,i){this.file=e,this.offset=t,this.line=r,this.col=i}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,a=this.line,u=this.col;for(;i>0&&e<0;)if(i--,e++,10==t.charCodeAt(i)){a--;const S=t.substring(0,i-1).lastIndexOf(String.fromCharCode(10));u=S>0?i-S:i}else u--;for(;i<r&&e>0;){const d=t.charCodeAt(i);i++,e--,10==d?(a++,u=0):u++}return new ni(this.file,i,a,u)}getContext(e,t){const r=this.file.content;let i=this.offset;if(null!=i){i>r.length-1&&(i=r.length-1);let a=i,u=0,d=0;for(;u<e&&i>0&&(i--,u++,"\n"!=r[i]||++d!=t););for(u=0,d=0;u<e&&a<r.length-1&&(a++,u++,"\n"!=r[a]||++d!=t););return{before:r.substring(i,this.offset),after:r.substring(this.offset,a+1)}}return null}}class ll{content;url;constructor(e,t){this.content=e,this.url=t}}class dt{start;end;fullStart;details;constructor(e,t,r=e,i=null){this.start=e,this.end=t,this.fullStart=r,this.details=i}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var cs;!function(n){n[n.WARNING=0]="WARNING",n[n.ERROR=1]="ERROR"}(cs||(cs={}));class We extends Error{span;msg;level;relatedError;constructor(e,t,r=cs.ERROR,i){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=i,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${cs[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}let om=0;function ri(n){return n.replace(/\W/g,"_")}const mp='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class lm extends hv{constructor(){super(!1,!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";")}visitTaggedTemplateLiteralExpr(e,t){const r=e.template.elements;e.tag.visitExpression(this,t),t.print(e,`(${mp}(`),t.print(e,`[${r.map(i=>Es(i.text)).join(", ")}], `),t.print(e,`[${r.map(i=>Es(i.rawText)).join(", ")}])`),e.template.expressions.forEach(i=>{t.print(e,", "),i.visitExpression(this,t)}),t.print(e,")")}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let r=0;r<e.elements.length;r++){e.elements[r].visitExpression(this,t);const i=r<e.expressions.length?e.expressions[r]:null;null!==i&&(t.print(i,"${"),i.visitExpression(this,t),t.print(i,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){t.print(e,e.rawText)}visitLocalizedString(e,t){t.print(e,`$localize(${mp}(`);const r=[e.serializeI18nHead()];for(let i=1;i<e.messageParts.length;i++)r.push(e.serializeI18nTemplatePart(i));t.print(e,`[${r.map(i=>Es(i.cooked)).join(", ")}], `),t.print(e,`[${r.map(i=>Es(i.raw)).join(", ")}])`),e.expressions.forEach(i=>{t.print(e,", "),i.visitExpression(this,t)}),t.print(e,")")}}let Ro;function pm(n){return function cm(){if(void 0===Ro){const n=la.trustedTypes;if(Ro=null,n)try{Ro=n.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch{}}return Ro}()?.createScript(n)||n}function gp(...n){if(!la.trustedTypes)return new Function(...n);const r=`(function anonymous(${n.slice(0,-1).join(",")}\n) { ${n[n.length-1]}\n})`,i=la.eval(pm(r));return void 0===i.bind?new Function(...n):(i.toString=()=>r,i.bind(la))}class fm{evaluateStatements(e,t,r,i){const a=new dm(r),u=Iu.createRoot();return t.length>0&&!function hm(n){return n.isEquivalent(W("use strict").toStmt())}(t[0])&&(t=[W("use strict").toStmt(),...t]),a.visitAllStatements(t,u),a.createReturnStmt(u),this.evaluateCode(e,u,a.getArgs(),i)}evaluateCode(e,t,r,i){let a=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const u=[],d=[];for(const T in r)d.push(r[T]),u.push(T);if(i){const T=gp(...u.concat("return null;")).toString(),b=T.slice(0,T.indexOf("return null;")).split("\n").length-1;a+=`\n${t.toSourceMapGenerator(e,b).toJsComment()}`}const S=gp(...u.concat(a));return this.executeFunction(S,d)}executeFunction(e,t){return e(...t)}}class dm extends lm{refResolver;_evalArgNames=[];_evalArgValues=[];_evalExportedVars=[];constructor(e){super(),this.refResolver=e}createReturnStmt(e){new we(new ue(this._evalExportedVars.map(r=>new cn(r,Ie(r),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(Yt.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(Yt.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,r){let i=this._evalArgValues.indexOf(t);if(-1===i){i=this._evalArgValues.length,this._evalArgValues.push(t);const a=function um(n){if(!n||!n.reference)return null;const e=n.reference;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";let t=Ac(e);return t.indexOf("(")>=0?(t="anonymous_"+om++,e.__anonymousType=t):t=ri(t),t}({reference:t})||"val";this._evalArgNames.push(`jit_${a}_${i}`)}r.print(e,this._evalArgNames[i])}}function yp(n){const e=new An;null!==n.providers&&e.set("providers",n.providers),n.imports.length>0&&e.set("imports",gt(n.imports));return{expression:le(U.defineInjector).callFn([e.toLiteralMap()],void 0,!0),type:Ep(n),statements:[]}}function Ep(n){return new be(le(U.InjectorDeclaration,[new be(n.type.type)]))}class vm{context;constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)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]}}var Pa,ar,Vr;function mm(n){const e=[],t=new An;if(t.set("type",n.type.value),n.kind===ar.Global&&n.bootstrap.length>0&&t.set("bootstrap",kr(n.bootstrap,n.containsForwardDecls)),n.selectorScopeMode===Pa.Inline)n.declarations.length>0&&t.set("declarations",kr(n.declarations,n.containsForwardDecls)),n.imports.length>0&&t.set("imports",kr(n.imports,n.containsForwardDecls)),n.exports.length>0&&t.set("exports",kr(n.exports,n.containsForwardDecls));else if(n.selectorScopeMode===Pa.SideEffect){const a=function ym(n){const e=new An;if(n.kind===ar.Global?n.declarations.length>0&&e.set("declarations",kr(n.declarations,n.containsForwardDecls)):n.kind===ar.Local&&n.declarationsExpression&&e.set("declarations",n.declarationsExpression),n.kind===ar.Global?n.imports.length>0&&e.set("imports",kr(n.imports,n.containsForwardDecls)):n.kind===ar.Local&&n.importsExpression&&e.set("imports",n.importsExpression),n.kind===ar.Global?n.exports.length>0&&e.set("exports",kr(n.exports,n.containsForwardDecls)):n.kind===ar.Local&&n.exportsExpression&&e.set("exports",n.exportsExpression),n.kind===ar.Local&&n.bootstrapExpression&&e.set("bootstrap",n.bootstrapExpression),0===Object.keys(e.values).length)return null;const t=new Y(le(U.setNgModuleScope),[n.type.value,e.toLiteralMap()]),r=function gv(n){return Nc("ngJitMode",n)}(t),i=new qt([],[r.toStmt()]);return new Y(i,[]).toStmt()}(n);null!==a&&e.push(a)}null!==n.schemas&&n.schemas.length>0&&t.set("schemas",gt(n.schemas.map(a=>a.value))),null!==n.id&&(t.set("id",n.id),e.push(le(U.registerNgModuleType).callFn([n.type.value,n.id]).toStmt()));return{expression:le(U.defineNgModule).callFn([t.toLiteralMap()],void 0,!0),type:Sp(n),statements:e}}function Sp(n){if(n.kind===ar.Local)return new be(n.type.value);if(n.kind===ar.Isolated)return new be(le(U.NgModuleDeclaration,[new be(n.type.type),mt,n.importsExpression?Pt(n.importsExpression):mt,n.exportsExpression?Pt(n.exportsExpression):mt]));const{type:e,declarations:t,exports:r,imports:i,includeImportTypes:a,publicDeclarationTypes:u}=n;return new be(le(U.NgModuleDeclaration,[new be(e.type),null===u?cl(t):Em(u),a?cl(i):mt,cl(r)]))}function cl(n){const e=n.map(t=>Gn(t.type));return n.length>0?Pt(gt(e)):mt}function Em(n){const e=n.map(t=>Gn(t));return n.length>0?Pt(gt(e)):mt}function xp(n){const e=[];e.push({key:"name",value:W(n.pipeName??n.name),quoted:!1}),e.push({key:"type",value:n.type.value,quoted:!1}),e.push({key:"pure",value:W(n.pure),quoted:!1}),!1===n.isStandalone&&e.push({key:"standalone",value:W(!1),quoted:!1});return{expression:le(U.definePipe).callFn([Tn(e)],void 0,!0),type:Tp(n),statements:[]}}function Tp(n){return new be(le(U.PipeDeclaration,[vo(n.type.type,n.typeArgumentCount),new be(new Te(n.pipeName)),new be(new Te(n.isStandalone))]))}!function(n){n[n.Inline=0]="Inline",n[n.SideEffect=1]="SideEffect",n[n.Omit=2]="Omit"}(Pa||(Pa={})),function(n){n[n.Global=0]="Global",n[n.Local=1]="Local",n[n.Isolated=2]="Isolated"}(ar||(ar={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Vr||(Vr={}));const Sm=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),xm=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class Cp{shimCssText(e,t,r=""){const i=[];e=e.replace(km,d=>{if(d.match(Bm))i.push(d);else{const S=d.match(Lm);i.push(S?.join("")??"")}return hl});const a=this._scopeCssText(e,t,r);let u=0;return a.replace(Fm,()=>i[u++])}_scopeKeyframesRelatedCss(e,t){const r=new Set,i=Lo(e,a=>this._scopeLocalKeyframeDeclarations(a,t,r));return Lo(i,a=>this._scopeAnimationRule(a,t,r))}_scopeLocalKeyframeDeclarations(e,t,r){return{...e,selector:e.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(i,a,u,d,S)=>(r.add(Np(d,u)),`${a}${u}${t}_${d}${u}${S}`))}}_scopeAnimationKeyframe(e,t,r){return e.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(i,a,u,d,S)=>`${a}${u}${d=`${r.has(Np(d,u))?t+"_":""}${d}`}${u}${S}`)}_animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;_scopeAnimationRule(e,t,r){let i=e.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*)([^;]+)/g,(a,u,d)=>u+d.replace(this._animationDeclarationKeyframesRe,(S,T,b="",D,j)=>D?`${T}${this._scopeAnimationKeyframe(`${b}${D}${b}`,t,r)}`:Sm.has(j)?S:`${T}${this._scopeAnimationKeyframe(j,t,r)}`));return i=i.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(a,u,d)=>`${u}${d.split(",").map(S=>this._scopeAnimationKeyframe(S,t,r)).join(",")}`),{...e,content:i}}_scopeCssText(e,t,r){return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),t&&(e=this._scopeKeyframesRelatedCss(e,t),e=this._scopeSelectors(e,t,r)),e.trim()}_convertColonHost(e){return e.replace(bm,(t,r,i)=>{if(r){const a=[...this._splitOnTopLevelCommas(r,!0)];if(a.length>1)return":host("+r+")"+i;const u=a[0].trim();if(u)return Os+u.replace(Mo,"")+i}return Os+i})}*_splitOnTopLevelCommas(e,t){const r=e.length;let i=0,a=0;for(let u=0;u<r;u++){const d=e.charCodeAt(u);if(40===d)i++;else if(41===d){if(i--,i<0&&t)return void(yield e.slice(a,u))}else 44===d&&0===i&&(yield e.slice(a,u),a=u+1)}yield e.slice(a)}_convertColonHostContext(e){const t=[];for(const r of this._splitOnTopLevelCommas(e,!1))t.push(this._convertColonHostContextInSelectorPart(r));return t.join(",")}_convertColonHostContextInSelectorPart(e){return e.replace(Pm,(t,r)=>{const i=[[]];let a=t.indexOf(Ni);for(;-1!==a;){const u=t.substring(a+Ni.length);if(!u||"("!==u[0]){a=(t=u).indexOf(Ni);continue}const d=[];let S=0;for(const b of this._splitOnTopLevelCommas(u.substring(1),!0)){S=S+b.length+1;const D=b.trim();D&&d.push(D)}const T=i.length;Jm(i,d.length);for(let b=0;b<d.length;b++)for(let D=0;D<T;D++)i[D+b*T].push(d[b]);a=(t=u.substring(S+1)).indexOf(Ni)}return i.map(u=>function Qm(n,e,t=""){const r=Os;Pi.lastIndex=0;const i=Pi.test(e);if(0===n.length)return r+e;const a=[n.pop()||""];for(;n.length>0;){const u=a.length,d=n.pop();for(let S=0;S<u;S++){const T=a[S];a[2*u+S]=T+" "+d,a[u+S]=d+" "+T,a[S]=d+T}}return a.map(u=>i?`${t}${u}${e}`:`${t}${u}${r}${e}, ${t}${u} ${r}${e}`).join(",")}(u,t,r)).join(", ")})}_scopeSelectors(e,t,r){return Lo(e,i=>{let a=i.selector,u=i.content;return"@"!==i.selector[0]?a=this._scopeSelector({selector:a,scopeSelector:t,hostSelector:r,isParentSelector:!0}):xm.some(d=>i.selector.startsWith(d))?u=this._scopeSelectors(i.content,t,r):(i.selector.startsWith("@font-face")||i.selector.startsWith("@page"))&&(u=this._stripScopingSelectors(i.content)),new ml(a,u)})}_stripScopingSelectors(e){return Lo(e,t=>{const r=t.selector.replace(Ap," ").replace(dl," ");return new ml(r,t.content)})}_safeSelector;_shouldScopeIndicator;_scopeSelector({selector:e,scopeSelector:t,hostSelector:r,isParentSelector:i=!1}){return e.split(/ ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/).map(u=>u.split(Ap)).map(u=>{const[d,...S]=u;return[(b=>this._selectorNeedsScoping(b,t)?this._applySelectorScope({selector:b,scopeSelector:t,hostSelector:r,isParentSelector:i}):b)(d),...S].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Dm,"m")}_applySimpleSelectorScope(e,t,r){if(Pi.lastIndex=0,Pi.test(e)){const i=`[${r}]`;let a=e;for(;a.match(dl);)a=a.replace(dl,(u,d)=>d.replace(/([^:\)]*)(:*)(.*)/,(S,T,b,D)=>T+i+b+D));return a.replace(Pi,i)}return t+" "+e}_applySelectorScope({selector:e,scopeSelector:t,hostSelector:r,isParentSelector:i}){const u=`[${t=t.replace(/\[is=([^\]]*)\]/g,(Se,...Ae)=>Ae[0])}]`,d=Se=>{let Ae=Se.trim();if(!Ae)return Se;if(Se.includes(Os)){if(Ae=this._applySimpleSelectorScope(Se,t,r),!Se.match(Om)){const[je,St,en,hn]=Ae.match(/([^:]*)(:*)([\s\S]*)/);Ae=St+u+en+hn}}else{const je=Se.replace(Pi,"");if(je.length>0){const St=je.match(/([^:]*)(:*)([\s\S]*)/);St&&(Ae=St[1]+u+St[2]+St[3])}}return Ae},S=Se=>{let Ae="";const je=[];let St;for(;null!==(St=Oa.exec(Se));){let en=1,hn=Oa.lastIndex;for(;hn<Se.length;){const gs=Se[hn];if(hn++,"("!==gs){if(")"!==gs);else if(en--,0===en)break}else en++}je.push(`${St[0]}${Se.slice(Oa.lastIndex,hn)}`),Oa.lastIndex=hn}return je.join("")===Se?Ae=je.map(en=>{const[hn]=en.match(Oa)??[],gs=en.slice(hn?.length,-1);gs.includes(Os)&&(this._shouldScopeIndicator=!0);return`${hn}${this._scopeSelector({selector:gs,scopeSelector:t,hostSelector:r})})`}).join(""):(this._shouldScopeIndicator=this._shouldScopeIndicator||Se.includes(Os),Ae=this._shouldScopeIndicator?d(Se):Se),Ae};i&&(this._safeSelector=new Tm(e),e=this._safeSelector.content());let D,T="",b=0;const j=/( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g,q=e.includes(Os);for((i||this._shouldScopeIndicator)&&(this._shouldScopeIndicator=!q);null!==(D=j.exec(e));){const Se=D[1],Ae=e.slice(b,D.index);if(Ae.match(/__esc-ph-(\d+)__/)&&e[D.index+1]?.match(/[a-fA-F\d]/))continue;T+=`${S(Ae)} ${Se} `,b=j.lastIndex}return T+=S(e.substring(b)),this._safeSelector.restore(T)}_insertPolyfillHostInCssText(e){return e.replace(Mm,Ni).replace(Rm,Mo)}}class Tm{placeholders=[];index=0;_content;constructor(e){e=(e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g)).replace(/(\\.)/g,(t,r)=>{const i=`__esc-ph-${this.index}__`;return this.placeholders.push(r),this.index++,i}),this._content=e.replace(Im,(t,r,i)=>{const a=`__ph-${this.index}__`;return this.placeholders.push(`(${i})`),this.index++,r+a})}restore(e){return e.replace(/__(?:ph|esc-ph)-(\d+)__/g,(t,r)=>this.placeholders[+r])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(r,i)=>{const a=`__ph-${this.index}__`;return this.placeholders.push(i),this.index++,a})}}const Oa=/:(where|is)\(/gi,Mo="-shadowcsshost",Ni="-shadowcsscontext",pl="[^)(]*",Am=String.raw`(?:\(${pl}\)|${pl})+?`,wm=String.raw`(?:\(${Am}\)|${pl})+?`,fl=String.raw`(?:\((${wm})\))`,Im=new RegExp(String.raw`(:nth-[-\w]+)`+fl,"g"),bm=new RegExp(Mo+fl+"?([^,{]*)","gim"),Pm=new RegExp(`(:(where|is)\\()?(${Ni+fl+"([^{]*)"})`,"gim"),Os=Mo+"-no-combinator",Om=new RegExp(`${Os}(?![^(]*\\))`,"g"),dl=/-shadowcsshost-no-combinator([^\s,]*)/,Ap=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Dm="([>\\s~+[.,{:][\\s\\S]*)?$",Pi=/-shadowcsshost/gim,Rm=/:host(?!\-context)/gim,Mm=/:host-context(?=\(\s*[^)\s])/gim,Lm=/\r?\n/g,km=/\/\*[\s\S]*?\*\//g,Bm=/\/\*\s*#\s*source(Mapping)?URL=/g,hl="%COMMENT%",Fm=new RegExp(hl,"g"),vl="%BLOCK%",$m=new RegExp(`(\\s*(?:${hl}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),Um=new Map([["{","}"]]),wp="%COMMA_IN_PLACEHOLDER%",Ip="%SEMI_IN_PLACEHOLDER%",bp="%COLON_IN_PLACEHOLDER%",Vm=new RegExp(wp,"g"),jm=new RegExp(Ip,"g"),Hm=new RegExp(bp,"g"),Wm=/(var\(\s*)?(--(?:[a-zA-Z0-9_-]|[^\x00-\x7F])+)(\s*:)?/g;class ml{selector;content;constructor(e,t){this.selector=e,this.content=t}}function Lo(n,e){const t=function Ym(n){let e=n,t=null;for(let r=0;r<e.length;r++){const i=e[r];if("\\"===i)r++;else if(null!==t)if(i===t)t=null;else{const a=Km[i];a&&(e=`${e.substr(0,r)}${a}${e.substr(r+1)}`,r+=a.length-1)}else("'"===i||'"'===i)&&(t=i)}return e}(n),r=function Xm(n,e,t){const r=[],i=[];let S,T,a=0,u=0,d=-1;for(let b=0;b<n.length;b++){const D=n[b];"\\"===D?b++:D===T?(a--,0===a&&(i.push(n.substring(d,b)),r.push(t),u=b,d=-1,S=T=void 0)):D===S?a++:0===a&&e.has(D)&&(S=D,T=e.get(D),a=1,d=b+1,r.push(n.substring(u,d)))}return-1!==d?(i.push(n.substring(d)),r.push(t)):r.push(n.substring(u)),new zm(r.join(""),i)}(t,Um,vl);let i=0;return function Zm(n){let e=n.replace(Vm,",");return e=e.replace(jm,";"),e=e.replace(Hm,":"),e}(r.escapedString.replace($m,(...u)=>{const d=u[2];let S="",T=u[4],b="";T&&T.startsWith("{"+vl)&&(S=r.blocks[i++],T=T.substring(8),b="{");const D=e(new ml(d,S));return`${u[1]}${D.selector}${u[3]}${b}${D.content}${T}`}))}class zm{escapedString;blocks;constructor(e,t){this.escapedString=e,this.blocks=t}}const Km={";":Ip,",":wp,":":bp};function Np(n,e){return e?n.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):n}function Jm(n,e){const t=n.length;for(let r=1;r<e;r++)for(let i=0;i<t;i++)n[i+r*t]=n[i].slice(0)}var I,Ye,Ar,$n,ze,Oi,si,on,Nn,nn,Ds,Jn;!function(n){n[n.ListEnd=0]="ListEnd",n[n.Statement=1]="Statement",n[n.Variable=2]="Variable",n[n.ElementStart=3]="ElementStart",n[n.Element=4]="Element",n[n.ForeignComponent=5]="ForeignComponent",n[n.Template=6]="Template",n[n.ElementEnd=7]="ElementEnd",n[n.ContainerStart=8]="ContainerStart",n[n.Container=9]="Container",n[n.ContainerEnd=10]="ContainerEnd",n[n.DisableBindings=11]="DisableBindings",n[n.ConditionalCreate=12]="ConditionalCreate",n[n.ConditionalBranchCreate=13]="ConditionalBranchCreate",n[n.Conditional=14]="Conditional",n[n.EnableBindings=15]="EnableBindings",n[n.Text=16]="Text",n[n.Listener=17]="Listener",n[n.InterpolateText=18]="InterpolateText",n[n.Binding=19]="Binding",n[n.Property=20]="Property",n[n.StyleProp=21]="StyleProp",n[n.ClassProp=22]="ClassProp",n[n.StyleMap=23]="StyleMap",n[n.ClassMap=24]="ClassMap",n[n.Advance=25]="Advance",n[n.Pipe=26]="Pipe",n[n.Attribute=27]="Attribute",n[n.ExtractedAttribute=28]="ExtractedAttribute",n[n.Defer=29]="Defer",n[n.DeferOn=30]="DeferOn",n[n.DeferWhen=31]="DeferWhen",n[n.I18nMessage=32]="I18nMessage",n[n.DomProperty=33]="DomProperty",n[n.Namespace=34]="Namespace",n[n.ProjectionDef=35]="ProjectionDef",n[n.EnableIncrementalHydrationRuntime=36]="EnableIncrementalHydrationRuntime",n[n.Projection=37]="Projection",n[n.Content=38]="Content",n[n.RepeaterCreate=39]="RepeaterCreate",n[n.Repeater=40]="Repeater",n[n.TwoWayProperty=41]="TwoWayProperty",n[n.TwoWayListener=42]="TwoWayListener",n[n.DeclareLet=43]="DeclareLet",n[n.StoreLet=44]="StoreLet",n[n.I18nStart=45]="I18nStart",n[n.I18n=46]="I18n",n[n.I18nEnd=47]="I18nEnd",n[n.I18nExpression=48]="I18nExpression",n[n.I18nApply=49]="I18nApply",n[n.IcuStart=50]="IcuStart",n[n.IcuEnd=51]="IcuEnd",n[n.IcuPlaceholder=52]="IcuPlaceholder",n[n.I18nContext=53]="I18nContext",n[n.I18nAttributes=54]="I18nAttributes",n[n.SourceLocation=55]="SourceLocation",n[n.Animation=56]="Animation",n[n.AnimationString=57]="AnimationString",n[n.AnimationBinding=58]="AnimationBinding",n[n.AnimationListener=59]="AnimationListener",n[n.Control=60]="Control",n[n.ControlCreate=61]="ControlCreate"}(I||(I={})),function(n){n[n.LexicalRead=0]="LexicalRead",n[n.Context=1]="Context",n[n.TrackContext=2]="TrackContext",n[n.ReadVariable=3]="ReadVariable",n[n.NextContext=4]="NextContext",n[n.Reference=5]="Reference",n[n.StoreLet=6]="StoreLet",n[n.ContextLetReference=7]="ContextLetReference",n[n.GetCurrentView=8]="GetCurrentView",n[n.RestoreView=9]="RestoreView",n[n.ResetView=10]="ResetView",n[n.PureFunctionExpr=11]="PureFunctionExpr",n[n.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",n[n.PipeBinding=13]="PipeBinding",n[n.PipeBindingVariadic=14]="PipeBindingVariadic",n[n.SafePropertyRead=15]="SafePropertyRead",n[n.SafeKeyedRead=16]="SafeKeyedRead",n[n.SafeNavigationMigration=17]="SafeNavigationMigration",n[n.SafeTernaryExpr=18]="SafeTernaryExpr",n[n.EmptyExpr=19]="EmptyExpr",n[n.AssignTemporaryExpr=20]="AssignTemporaryExpr",n[n.ReadTemporaryExpr=21]="ReadTemporaryExpr",n[n.SlotLiteralExpr=22]="SlotLiteralExpr",n[n.ConditionalCase=23]="ConditionalCase",n[n.ConstCollected=24]="ConstCollected",n[n.TwoWayBindingSet=25]="TwoWayBindingSet",n[n.ForeignContent=26]="ForeignContent",n[n.ArrowFunction=27]="ArrowFunction"}(Ye||(Ye={})),function(n){n[n.None=0]="None",n[n.AlwaysInline=1]="AlwaysInline"}(Ar||(Ar={})),function(n){n[n.Context=0]="Context",n[n.Identifier=1]="Identifier",n[n.SavedView=2]="SavedView",n[n.Alias=3]="Alias"}($n||($n={})),function(n){n[n.Attribute=0]="Attribute",n[n.ClassName=1]="ClassName",n[n.StyleProperty=2]="StyleProperty",n[n.Property=3]="Property",n[n.Template=4]="Template",n[n.I18n=5]="I18n",n[n.LegacyAnimation=6]="LegacyAnimation",n[n.TwoWayProperty=7]="TwoWayProperty",n[n.Animation=8]="Animation"}(ze||(ze={})),function(n){n[n.Creation=0]="Creation",n[n.Postproccessing=1]="Postproccessing"}(Oi||(Oi={})),function(n){n[n.I18nText=0]="I18nText",n[n.I18nAttribute=1]="I18nAttribute"}(si||(si={})),function(n){n[n.None=0]="None",n[n.ElementTag=1]="ElementTag",n[n.TemplateTag=2]="TemplateTag",n[n.OpenTag=4]="OpenTag",n[n.CloseTag=8]="CloseTag",n[n.ExpressionIndex=16]="ExpressionIndex"}(on||(on={})),function(n){n[n.HTML=0]="HTML",n[n.SVG=1]="SVG",n[n.Math=2]="Math"}(Nn||(Nn={})),function(n){n[n.Idle=0]="Idle",n[n.Immediate=1]="Immediate",n[n.Timer=2]="Timer",n[n.Hover=3]="Hover",n[n.Interaction=4]="Interaction",n[n.Viewport=5]="Viewport",n[n.Never=6]="Never"}(nn||(nn={})),function(n){n[n.RootI18n=0]="RootI18n",n[n.Icu=1]="Icu",n[n.Attr=2]="Attr"}(Ds||(Ds={})),function(n){n[n.NgTemplate=0]="NgTemplate",n[n.Structural=1]="Structural",n[n.Block=2]="Block"}(Jn||(Jn={}));class ie{static nextListId=0;debugListId=ie.nextListId++;head={kind:I.ListEnd,next:null,prev:null,debugListId:this.debugListId};tail={kind:I.ListEnd,next:null,prev:null,debugListId:this.debugListId};constructor(){this.head.next=this.tail,this.tail.prev=this.head}push(e){if(Array.isArray(e)){for(const r of e)this.push(r);return}ie.assertIsNotEnd(e),ie.assertIsUnowned(e),e.debugListId=this.debugListId;const t=this.tail.prev;e.prev=t,t.next=e,e.next=this.tail,this.tail.prev=e}prepend(e){if(0===e.length)return;for(const i of e)ie.assertIsNotEnd(i),ie.assertIsUnowned(i),i.debugListId=this.debugListId;const t=this.head.next;let r=this.head;for(const i of e)r.next=i,i.prev=r,r=i;r.next=t,t.prev=r}*[Symbol.iterator](){let e=this.head.next;for(;e!==this.tail;){ie.assertIsOwned(e,this.debugListId);const t=e.next;yield e,e=t}}*reversed(){let e=this.tail.prev;for(;e!==this.head;){ie.assertIsOwned(e,this.debugListId);const t=e.prev;yield e,e=t}}static replace(e,t){ie.assertIsNotEnd(e),ie.assertIsNotEnd(t),ie.assertIsOwned(e),ie.assertIsUnowned(t),t.debugListId=e.debugListId,null!==e.prev&&(e.prev.next=t,t.prev=e.prev),null!==e.next&&(e.next.prev=t,t.next=e.next),e.debugListId=null,e.prev=null,e.next=null}static replaceWithMany(e,t){if(0===t.length)return void ie.remove(e);ie.assertIsNotEnd(e),ie.assertIsOwned(e);const r=e.debugListId;e.debugListId=null;for(const T of t)ie.assertIsNotEnd(T),ie.assertIsUnowned(T);const{prev:i,next:a}=e;e.prev=null,e.next=null;let u=i;for(const T of t)ie.assertIsUnowned(T),T.debugListId=r,u.next=T,T.prev=u,T.next=null,u=T;const d=t[0],S=u;null!==i&&(i.next=d,d.prev=i),null!==a&&(a.prev=S,S.next=a)}static remove(e){ie.assertIsNotEnd(e),ie.assertIsOwned(e),e.prev.next=e.next,e.next.prev=e.prev,e.debugListId=null,e.prev=null,e.next=null}static insertBefore(e,t){if(Array.isArray(e))for(const r of e)ie.insertBefore(r,t);else{if(ie.assertIsOwned(t),null===t.prev)throw new Error("AssertionError: illegal operation on list start");ie.assertIsNotEnd(e),ie.assertIsUnowned(e),e.debugListId=t.debugListId,e.prev=null,t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e}}static insertAfter(e,t){if(ie.assertIsOwned(t),null===t.next)throw new Error("AssertionError: illegal operation on list end");ie.assertIsNotEnd(e),ie.assertIsUnowned(e),e.debugListId=t.debugListId,t.next.prev=e,e.next=t.next,e.prev=t,t.next=e}static assertIsUnowned(e){if(null!==e.debugListId)throw new Error(`AssertionError: illegal operation on owned node: ${I[e.kind]}`)}static assertIsOwned(e,t){if(null===e.debugListId)throw new Error(`AssertionError: illegal operation on unowned node: ${I[e.kind]}`);if(void 0!==t&&e.debugListId!==t)throw new Error(`AssertionError: node belongs to the wrong list (expected ${t}, actual ${e.debugListId})`)}static assertIsNotEnd(e){if(e.kind===I.ListEnd)throw new Error("AssertionError: illegal operation on list head or tail")}}function wr(n){return{kind:I.Statement,statement:n,...lt}}function Rs(n,e,t,r){return{kind:I.Variable,xref:n,variable:e,initializer:t,flags:r,...lt}}const lt={debugListId:null,prev:null,next:null},Pp=Symbol("ConsumesSlot"),gl=Symbol("DependsOnSlotContext"),ii=Symbol("ConsumesVars"),Da=Symbol("UsesVarOffset"),Ir={[Pp]:!0,numSlotsUsed:1},vr={[gl]:!0},mr={[ii]:!0};function Di(n){return!0===n[Pp]}function Ra(n){return!0===n[gl]}function yl(n){return!0===n[ii]}function Op(n){return!0===n[Da]}class On{strings;expressions;i18nPlaceholders;constructor(e,t,r){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=r,0!==r.length&&r.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${r.length}`)}}function ai(n,e,t,r,i,a,u,d,S,T,b){return{kind:I.Binding,bindingKind:e,target:n,name:t,expression:r,unit:i,securityContext:a,isTextAttribute:u,isStructuralTemplateAttribute:d,templateKind:S,i18nContext:null,i18nMessage:T,sourceSpan:b,...lt}}function _m(n,e,t,r,i,a,u,d,S,T){return{kind:I.Property,target:n,name:e,expression:t,bindingKind:r,securityContext:i,sanitizer:null,isStructuralTemplateAttribute:a,templateKind:u,i18nContext:d,i18nMessage:S,sourceSpan:T,...vr,...mr,...lt}}function eg(n,e,t,r,i,a,u,d,S){return{kind:I.TwoWayProperty,target:n,name:e,expression:t,securityContext:r,sanitizer:null,isStructuralTemplateAttribute:i,templateKind:a,i18nContext:u,i18nMessage:d,sourceSpan:S,...vr,...mr,...lt}}function tg(n,e,t,r,i){return{kind:I.StyleProp,target:n,name:e,expression:t,unit:r,sourceSpan:i,...vr,...mr,...lt}}function ng(n,e,t,r){return{kind:I.ClassProp,target:n,name:e,expression:t,sourceSpan:r,...vr,...mr,...lt}}function rg(n,e,t){return{kind:I.StyleMap,target:n,expression:e,sourceSpan:t,...vr,...mr,...lt}}function sg(n,e,t){return{kind:I.ClassMap,target:n,expression:e,sourceSpan:t,...vr,...mr,...lt}}function Dp(n,e,t,r,i,a,u,d,S,T){return{kind:I.Attribute,target:n,namespace:e,name:t,expression:r,securityContext:i,sanitizer:null,isTextAttribute:a,isStructuralTemplateAttribute:u,templateKind:d,i18nContext:null,i18nMessage:S,sourceSpan:T,...vr,...mr,...lt}}function ig(n,e){return{kind:I.Advance,delta:n,sourceSpan:e,...lt}}function Rp(n,e,t,r){return{kind:I.Conditional,target:n,test:e,conditions:t,processed:null,sourceSpan:r,contextValue:null,...lt,...vr,...mr}}function Mp(n,e,t,r,i,a,u){return{kind:I.AnimationBinding,name:n,target:e,animationKind:t,expression:r,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:a,animationBindingKind:u,...lt}}function Lp(n,e,t,r,i,a,u,d,S,T,b){return{kind:I.I18nExpression,context:n,target:e,i18nOwner:t,handle:r,expression:i,icuPlaceholder:a,i18nPlaceholder:u,resolutionTime:d,usage:S,name:T,sourceSpan:b,...lt,...mr,...vr}}function ug(n,e,t){return{kind:I.I18nApply,owner:n,handle:e,sourceSpan:t,...lt}}function _r(n){return n instanceof un}class un extends Bt{constructor(e=null){super(null,e)}}class Un extends un{name;kind=Ye.LexicalRead;constructor(e){super(),this.name=e}visitExpression(e,t){}isEquivalent(e){return this.name===e.name}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Un(this.name)}}class Ma extends un{target;targetSlot;offset;kind=Ye.Reference;constructor(e,t,r){super(),this.target=e,this.targetSlot=t,this.offset=r}visitExpression(){}isEquivalent(e){return e instanceof Ma&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Ma(this.target,this.targetSlot,this.offset)}}class ko extends un{childrenViewXref;childrenViewHandle;foreignComponentConstIndex;kind=Ye.ForeignContent;constructor(e,t,r){super(),this.childrenViewXref=e,this.childrenViewHandle=t,this.foreignComponentConstIndex=r}visitExpression(){}isEquivalent(e){return e instanceof ko&&e.childrenViewXref===this.childrenViewXref&&e.foreignComponentConstIndex===this.foreignComponentConstIndex}isConstant(){return!1}transformInternalExpressions(){}clone(){return new ko(this.childrenViewXref,this.childrenViewHandle,this.foreignComponentConstIndex)}}class Ri extends un{target;value;sourceSpan;kind=Ye.StoreLet;[ii]=!0;[gl]=!0;constructor(e,t,r){super(),this.target=e,this.value=t,this.sourceSpan=r}visitExpression(){}isEquivalent(e){return e instanceof Ri&&e.target===this.target&&e.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.value=He(this.value,e,t)}clone(){return new Ri(this.target,this.value,this.sourceSpan)}}class Mi extends un{target;targetSlot;kind=Ye.ContextLetReference;constructor(e,t){super(),this.target=e,this.targetSlot=t}visitExpression(){}isEquivalent(e){return e instanceof Mi&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Mi(this.target,this.targetSlot)}}class ps extends un{view;kind=Ye.Context;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof ps&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new ps(this.view)}}class Bo extends un{view;kind=Ye.TrackContext;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof Bo&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Bo(this.view)}}class La extends un{kind=Ye.NextContext;steps=1;visitExpression(){}isEquivalent(e){return e instanceof La&&e.steps===this.steps}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new La;return e.steps=this.steps,e}}class Fo extends un{kind=Ye.GetCurrentView;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof Fo}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Fo}}class Li extends un{view;kind=Ye.RestoreView;constructor(e){super(),this.view=e}visitExpression(e,t){"number"!=typeof this.view&&this.view.visitExpression(e,t)}isEquivalent(e){return e instanceof Li&&typeof e.view==typeof this.view&&("number"==typeof this.view?this.view===e.view:this.view.isEquivalent(e.view))}isConstant(){return!1}transformInternalExpressions(e,t){"number"!=typeof this.view&&(this.view=He(this.view,e,t))}clone(){return new Li(this.view instanceof Bt?this.view.clone():this.view)}}class ka extends un{expr;kind=Ye.ResetView;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof ka&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=He(this.expr,e,t)}clone(){return new ka(this.expr.clone())}}class $o extends un{target;value;kind=Ye.TwoWayBindingSet;constructor(e,t){super(),this.target=e,this.value=t}visitExpression(e,t){this.target.visitExpression(e,t),this.value.visitExpression(e,t)}isEquivalent(e){return this.target.isEquivalent(e.target)&&this.value.isEquivalent(e.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.target=He(this.target,e,t),this.value=He(this.value,e,t)}clone(){return new $o(this.target,this.value)}}class es extends un{xref;kind=Ye.ReadVariable;name=null;constructor(e){super(),this.xref=e}visitExpression(){}isEquivalent(e){return e instanceof es&&e.xref===this.xref}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new es(this.xref);return e.name=this.name,e}}class Ms extends un{kind=Ye.PureFunctionExpr;[ii]=!0;[Da]=!0;varOffset=null;body;args;fn=null;constructor(e,t){super(),this.body=e,this.args=t}visitExpression(e,t){this.body?.visitExpression(e,t);for(const r of this.args)r.visitExpression(e,t)}isEquivalent(e){return e instanceof Ms&&e.args.length===this.args.length&&(null!==e.body&&null!==this.body&&e.body.isEquivalent(this.body)&&e.args.every((t,r)=>t.isEquivalent(this.args[r])))}isConstant(){return!1}transformInternalExpressions(e,t){null!==this.body?this.body=He(this.body,e,t|bt.InChildOperation):null!==this.fn&&(this.fn=He(this.fn,e,t));for(let r=0;r<this.args.length;r++)this.args[r]=He(this.args[r],e,t)}clone(){const e=new Ms(this.body?.clone()??null,this.args.map(t=>t.clone()));return e.fn=this.fn?.clone()??null,e.varOffset=this.varOffset,e}}class fs extends un{index;kind=Ye.PureFunctionParameterExpr;constructor(e){super(),this.index=e}visitExpression(){}isEquivalent(e){return e instanceof fs&&e.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new fs(this.index)}}class oi extends un{target;targetSlot;name;args;kind=Ye.PipeBinding;[ii]=!0;[Da]=!0;varOffset=null;constructor(e,t,r,i){super(),this.target=e,this.targetSlot=t,this.name=r,this.args=i}visitExpression(e,t){for(const r of this.args)r.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){for(let r=0;r<this.args.length;r++)this.args[r]=He(this.args[r],e,t)}clone(){const e=new oi(this.target,this.targetSlot,this.name,this.args.map(t=>t.clone()));return e.varOffset=this.varOffset,e}}class Ba extends un{target;targetSlot;name;args;numArgs;kind=Ye.PipeBindingVariadic;[ii]=!0;[Da]=!0;varOffset=null;constructor(e,t,r,i,a){super(),this.target=e,this.targetSlot=t,this.name=r,this.args=i,this.numArgs=a}visitExpression(e,t){this.args.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.args=He(this.args,e,t)}clone(){const e=new Ba(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return e.varOffset=this.varOffset,e}}class ui extends un{receiver;name;kind=Ye.SafePropertyRead;constructor(e,t){super(),this.receiver=e,this.name=t}get index(){return this.name}visitExpression(e,t){this.receiver.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=He(this.receiver,e,t)}clone(){return new ui(this.receiver.clone(),this.name)}}class li extends un{receiver;index;kind=Ye.SafeKeyedRead;constructor(e,t,r){super(r),this.receiver=e,this.index=t}visitExpression(e,t){this.receiver.visitExpression(e,t),this.index.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=He(this.receiver,e,t),this.index=He(this.index,e,t)}clone(){return new li(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class ki extends un{expr;kind=Ye.SafeNavigationMigration;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof ki&&this.expr.isEquivalent(e.expr)}isConstant(){return this.expr.isConstant()}transformInternalExpressions(e,t){this.expr=He(this.expr,e,t|bt.InSafeNavigationMigration)}clone(){return new ki(this.expr.clone())}}class Bi extends un{guard;expr;kind=Ye.SafeTernaryExpr;constructor(e,t){super(),this.guard=e,this.expr=t}visitExpression(e,t){this.guard.visitExpression(e,t),this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.guard=He(this.guard,e,t),this.expr=He(this.expr,e,t)}clone(){return new Bi(this.guard.clone(),this.expr.clone())}}class Fi extends un{kind=Ye.EmptyExpr;visitExpression(e,t){}isEquivalent(e){return e instanceof Fi}isConstant(){return!0}clone(){return new Fi}transformInternalExpressions(){}}class ts extends un{expr;xref;kind=Ye.AssignTemporaryExpr;name=null;constructor(e,t){super(),this.expr=e,this.xref=t}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=He(this.expr,e,t)}clone(){const e=new ts(this.expr.clone(),this.xref);return e.name=this.name,e}}class Ls extends un{xref;kind=Ye.ReadTemporaryExpr;name=null;constructor(e){super(),this.xref=e}visitExpression(e,t){}isEquivalent(){return this.xref==this.xref}isConstant(){return!1}transformInternalExpressions(e,t){}clone(){const e=new Ls(this.xref);return e.name=this.name,e}}class Fa extends un{slot;kind=Ye.SlotLiteralExpr;constructor(e){super(),this.slot=e}visitExpression(e,t){}isEquivalent(e){return e instanceof Fa&&e.slot===this.slot}isConstant(){return!0}clone(){return new Fa(this.slot)}transformInternalExpressions(){}}class $a extends un{expr;target;targetSlot;alias;kind=Ye.ConditionalCase;constructor(e,t,r,i=null){super(),this.expr=e,this.target=t,this.targetSlot=r,this.alias=i}visitExpression(e,t){null!==this.expr&&this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof $a&&e.expr===this.expr}isConstant(){return!0}clone(){return new $a(this.expr,this.target,this.targetSlot)}transformInternalExpressions(e,t){null!==this.expr&&(this.expr=He(this.expr,e,t))}}class $i extends un{expr;kind=Ye.ConstCollected;constructor(e){super(),this.expr=e}transformInternalExpressions(e,t){this.expr=e(this.expr,t)}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof $i&&this.expr.isEquivalent(e.expr)}isConstant(){return this.expr.isConstant()}clone(){return new $i(this.expr)}}class Uo extends un{parameters;body;kind=Ye.ArrowFunction;[ii]=!0;[Da]=!0;contextName=Tr;currentViewName="view";varOffset=null;ops;constructor(e,t){super(),this.parameters=e,this.body=t,this.ops=new ie,this.ops.push([wr(new we(t,t.sourceSpan))])}visitExpression(e,t){for(const r of this.ops)Dn(r,i=>{i.visitExpression(e,t)})}isEquivalent(e){return e instanceof Uo&&e.parameters.length===this.parameters.length&&e.parameters.every((t,r)=>t.isEquivalent(this.parameters[r]))&&e.body.isEquivalent(this.body)}isConstant(){return!1}transformInternalExpressions(e,t){for(const r of this.ops)Sn(r,e,t|bt.InChildOperation|bt.InArrowFunctionOperation)}clone(){const e=new Uo(this.parameters,this.body);return e.varOffset=this.varOffset,e.ops=this.ops,e}}function Dn(n,e){Sn(n,(t,r)=>(e(t,r),t),bt.None)}var bt;function El(n,e,t){for(let r=0;r<n.expressions.length;r++)n.expressions[r]=He(n.expressions[r],e,t)}function Sn(n,e,t){switch(n.kind){case I.StyleProp:case I.StyleMap:case I.ClassProp:case I.ClassMap:case I.AnimationString:case I.AnimationBinding:case I.Binding:n.expression instanceof On?El(n.expression,e,t):n.expression=He(n.expression,e,t);break;case I.Property:case I.DomProperty:case I.Attribute:n.expression instanceof On?El(n.expression,e,t):n.expression=He(n.expression,e,t),n.sanitizer=n.sanitizer&&He(n.sanitizer,e,t);break;case I.TwoWayProperty:n.expression=He(n.expression,e,t),n.sanitizer=n.sanitizer&&He(n.sanitizer,e,t);break;case I.I18nExpression:n.expression=He(n.expression,e,t);break;case I.InterpolateText:El(n.interpolation,e,t);break;case I.Statement:Vo(n.statement,e,t);break;case I.Variable:n.initializer=He(n.initializer,e,t);break;case I.Conditional:for(const r of n.conditions)null!==r.expr&&(r.expr=He(r.expr,e,t));null!==n.processed&&(n.processed=He(n.processed,e,t)),null!==n.contextValue&&(n.contextValue=He(n.contextValue,e,t));break;case I.Animation:case I.AnimationListener:case I.Listener:case I.TwoWayListener:for(const r of n.handlerOps)Sn(r,e,t|bt.InChildOperation);break;case I.ExtractedAttribute:n.expression=n.expression&&He(n.expression,e,t),n.trustedValueFn=n.trustedValueFn&&He(n.trustedValueFn,e,t);break;case I.RepeaterCreate:if(null===n.trackByOps)n.track=He(n.track,e,t);else for(const r of n.trackByOps)Sn(r,e,t|bt.InChildOperation);null!==n.trackByFn&&(n.trackByFn=He(n.trackByFn,e,t));break;case I.Repeater:n.collection=He(n.collection,e,t);break;case I.Defer:null!==n.loadingConfig&&(n.loadingConfig=He(n.loadingConfig,e,t)),null!==n.placeholderConfig&&(n.placeholderConfig=He(n.placeholderConfig,e,t)),null!==n.resolverFn&&(n.resolverFn=He(n.resolverFn,e,t));break;case I.I18nMessage:for(const[r,i]of n.params)n.params.set(r,He(i,e,t));for(const[r,i]of n.postprocessingParams)n.postprocessingParams.set(r,He(i,e,t));break;case I.DeferWhen:n.expr=He(n.expr,e,t);break;case I.StoreLet:n.value=He(n.value,e,t);break;case I.ForeignComponent:for(const[r,i]of n.props)n.props.set(r,He(i,e,t));break;case I.Advance:case I.Container:case I.ContainerEnd:case I.ContainerStart:case I.DeferOn:case I.DisableBindings:case I.Element:case I.ElementEnd:case I.ElementStart:case I.EnableBindings:case I.I18n:case I.I18nApply:case I.I18nContext:case I.I18nEnd:case I.I18nStart:case I.IcuEnd:case I.IcuStart:case I.Namespace:case I.Pipe:case I.Projection:case I.ProjectionDef:case I.EnableIncrementalHydrationRuntime:case I.Template:case I.Content:case I.Text:case I.I18nAttributes:case I.IcuPlaceholder:case I.DeclareLet:case I.SourceLocation:case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Control:case I.ControlCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${I[n.kind]}`)}}function He(n,e,t){if(n instanceof un)n.transformInternalExpressions(e,t);else if(n instanceof Fe)n.lhs=He(n.lhs,e,t),n.rhs=He(n.rhs,e,t);else if(n instanceof ut)n.expr=He(n.expr,e,t);else if(n instanceof jt)n.receiver=He(n.receiver,e,t);else if(n instanceof vn)n.receiver=He(n.receiver,e,t),n.index=He(n.index,e,t);else if(n instanceof Y){n.fn=He(n.fn,e,t);for(let r=0;r<n.args.length;r++)n.args[r]=He(n.args[r],e,t)}else if(n instanceof sn)for(let r=0;r<n.entries.length;r++)n.entries[r]=He(n.entries[r],e,t);else if(n instanceof ue)for(const r of n.entries)r instanceof Xt?r.expression=He(r.expression,e,t):r.value=He(r.value,e,t);else if(n instanceof Vt)n.condition=He(n.condition,e,t),n.trueCase=He(n.trueCase,e,t),null!==n.falseCase&&(n.falseCase=He(n.falseCase,e,t));else if(n instanceof jn)n.expr=He(n.expr,e,t);else if(n instanceof ur)n.expr=He(n.expr,e,t);else if(n instanceof Gt)for(let r=0;r<n.expressions.length;r++)n.expressions[r]=He(n.expressions[r],e,t);else if(n instanceof Jt)n.condition=He(n.condition,e,t);else if(n instanceof ve)n.tag=He(n.tag,e,t),n.template.expressions=n.template.expressions.map(r=>He(r,e,t));else if(n instanceof It)if(Array.isArray(n.body))for(let r=0;r<n.body.length;r++)Vo(n.body[r],e,t|bt.InChildOperation);else n.body=He(n.body,e,t|bt.InChildOperation);else if(!(n instanceof z))if(n instanceof rt)for(let r=0;r<n.expressions.length;r++)n.expressions[r]=He(n.expressions[r],e,t);else if(n instanceof Et)n.expr=He(n.expr,e,t);else if(n instanceof pe)n.expression=He(n.expression,e,t);else if(!(n instanceof In||n instanceof Ve||n instanceof Te||n instanceof de))throw new Error(`Unhandled expression kind: ${n.constructor.name}`);return e(n,t)}function Vo(n,e,t){if(n instanceof oe)n.expr=He(n.expr,e,t);else if(n instanceof we)n.value=He(n.value,e,t);else if(n instanceof xe)void 0!==n.value&&(n.value=He(n.value,e,t));else{if(!(n instanceof tt))throw new Error(`Unhandled statement kind: ${n.constructor.name}`);n.condition=He(n.condition,e,t);for(const r of n.trueCase)Vo(r,e,t);for(const r of n.falseCase)Vo(r,e,t)}}function kp(n){return n instanceof Te&&"string"==typeof n.value}!function(n){n[n.None=0]="None",n[n.InChildOperation=1]="InChildOperation",n[n.InArrowFunctionOperation=2]="InArrowFunctionOperation",n[n.InSafeNavigationMigration=4]="InSafeNavigationMigration"}(bt||(bt={}));class qn{slot=null}const pg=new Set([I.Element,I.ElementStart,I.Container,I.ContainerStart,I.Template,I.RepeaterCreate,I.ConditionalCreate,I.ConditionalBranchCreate]);function ks(n){return pg.has(n.kind)}function Bp(n,e,t,r,i){return{kind:I.Content,target:n,propertyName:t,view:e,startSourceSpan:r,sourceSpan:i,...lt}}function Sl(n,e,t,r,i,a,u,d){return{kind:I.Template,xref:n,templateKind:e,attributes:null,tag:t,handle:new qn,functionNameSuffix:r,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:a,startSourceSpan:u,wholeSourceSpan:d,...Ir,...lt}}function Fp(n,e,t,r,i,a,u,d){return{kind:I.ConditionalCreate,xref:n,templateKind:e,attributes:null,tag:t,handle:new qn,functionNameSuffix:r,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:a,startSourceSpan:u,wholeSourceSpan:d,...Ir,...lt}}function $p(n,e,t,r,i,a,u,d){return{kind:I.ConditionalBranchCreate,xref:n,templateKind:e,attributes:null,tag:t,handle:new qn,functionNameSuffix:r,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:i,i18nPlaceholder:a,startSourceSpan:u,wholeSourceSpan:d,...Ir,...lt}}function mg(n){return{kind:I.DisableBindings,xref:n,...lt}}function gg(n){return{kind:I.EnableBindings,xref:n,...lt}}function Up(n,e,t,r){return{kind:I.Text,xref:n,handle:new qn,initialValue:e,icuPlaceholder:t,sourceSpan:r,...Ir,...lt}}function xl(n,e,t,r,i,a,u,d,S){const T=new ie;return T.push(i),{kind:I.Listener,target:n,targetSlot:e,tag:r,hostListener:d,name:t,handlerOps:T,handlerFnName:null,consumesDollarEvent:!1,isLegacyAnimationListener:null!==a,legacyAnimationPhase:a,eventTarget:u,sourceSpan:S,...lt}}function Vp(n,e,t,r,i,a,u,d,S){const T=new ie;return T.push(i),{kind:I.AnimationListener,target:n,targetSlot:e,tag:r,hostListener:d,name:t,animationKind:a,handlerOps:T,handlerFnName:null,consumesDollarEvent:!1,eventTarget:u,sourceSpan:S,...lt}}function jp(n,e,t,r,i,a){const u=new ie;return u.push(i),{kind:I.TwoWayListener,target:n,targetSlot:e,tag:r,name:t,handlerOps:u,handlerFnName:null,sourceSpan:a,...lt}}function Sg(n,e,t){return{kind:I.Pipe,xref:n,handle:e,name:t,...lt,...Ir}}function xg(n){return{kind:I.Namespace,active:n,...lt}}function Tg(n){return{kind:I.ProjectionDef,def:n,...lt}}function Cg(n){return{kind:I.EnableIncrementalHydrationRuntime,sourceSpan:n,...lt}}function Rr(n,e,t,r,i,a,u,d){return{kind:I.ExtractedAttribute,target:n,bindingKind:e,namespace:t,name:r,expression:i,i18nContext:a,i18nMessage:u,securityContext:d,trustedValueFn:null,...lt}}function Bs(n,e,t,r){return{kind:I.DeferOn,defer:n,trigger:e,modifier:t,sourceSpan:r,...lt}}function jo(n,e,t,r){return{kind:I.I18nStart,xref:n,handle:new qn,root:t??n,message:e,messageIndex:null,subTemplateIndex:null,context:null,sourceSpan:r,...lt,...Ir}}function Ho(n,e){return{kind:I.I18nEnd,xref:n,sourceSpan:e,...lt}}function Og(n,e,t){return{kind:I.IcuPlaceholder,xref:n,name:e,strings:t,expressionPlaceholders:[],...lt}}function Tl(n,e,t,r,i){if(null===t&&n!==Ds.Attr)throw new Error("AssertionError: i18nBlock must be provided for non-attribute contexts.");return{kind:I.I18nContext,contextKind:n,xref:e,i18nBlock:t,message:r,sourceSpan:i,params:new Map,postprocessingParams:new Map,...lt}}function Hp(n,e,t){return{kind:I.I18nAttributes,xref:n,handle:e,target:t,i18nAttributesConfig:null,...lt,...Ir}}function Dg(n,e){return{kind:I.SourceLocation,templatePath:n,locations:e,...lt}}function Mg(n,e,t,r,i,a){return{kind:I.DomProperty,name:n,expression:e,bindingKind:t,i18nContext:r,securityContext:i,sanitizer:null,sourceSpan:a,...mr,...lt}}const Wp="CTX_REF_MARKER";var Le,or;!function(n){n[n.Tmpl=0]="Tmpl",n[n.Host=1]="Host",n[n.Both=2]="Both"}(Le||(Le={})),function(n){n[n.Full=0]="Full",n[n.DomOnly=1]="DomOnly"}(or||(or={}));class Gp{componentName;pool;mode;legacyOptionalChaining;constructor(e,t,r,i){this.componentName=e,this.pool=t,this.mode=r,this.legacyOptionalChaining=i}kind=Le.Both;allocateXrefId(){return this.nextXrefId++}nextXrefId=0}class Cl extends Gp{relativeContextFilePath;i18nUseExternalIds;deferMeta;allDeferrableDepsFn;relativeTemplatePath;enableDebugLocations;foreignImports;foreignMatcher;constructor(e,t,r,i,a,u,d,S,T,b,D){if(super(e,t,r,b),this.relativeContextFilePath=i,this.i18nUseExternalIds=a,this.deferMeta=u,this.allDeferrableDepsFn=d,this.relativeTemplatePath=S,this.enableDebugLocations=T,this.foreignImports=D,this.root=new jr(this,this.allocateXrefId(),null),this.views.set(this.root.xref,this.root),D&&D.length>0){const j=new Map;for(const q of D)j.set(q.name,[q]);this.foreignMatcher=new c(j)}else this.foreignMatcher=null}getForeignComponent(e){if(null===this.foreignMatcher)return null;const t=this.foreignMatcher.match(e.name);return t.length>0?t[0]:null}kind=Le.Tmpl;fnSuffix="Template";root;views=new Map;contentSelectors=null;allocateView(e){const t=new jr(this,this.allocateXrefId(),e);return this.views.set(t.xref,t),t}get units(){return this.views.values()}addConst(e,t){for(let i=0;i<this.consts.length;i++)if(this.consts[i].isEquivalent(e))return i;const r=this.consts.length;return this.consts.push(e),t&&this.constsInitializers.push(...t),r}consts=[];constsInitializers=[]}class zp{xref;constructor(e){this.xref=e}create=new ie;update=new ie;functions=new Set;fnName=null;vars=null;*ops(){for(const e of this.functions)for(const t of e.ops)yield t;for(const e of this.create)if(yield e,e.kind===I.Listener||e.kind===I.Animation||e.kind===I.AnimationListener||e.kind===I.TwoWayListener)for(const t of e.handlerOps)yield t;else if(e.kind===I.RepeaterCreate&&null!==e.trackByOps)for(const t of e.trackByOps)yield t;for(const e of this.update)yield e}}class jr extends zp{job;parent;constructor(e,t,r){super(t),this.job=e,this.parent=r}contextVariables=new Map;aliases=new Set;decls=null}class Xp extends Gp{constructor(e,t,r,i){super(e,t,r,i),this.root=new Lg(this)}kind=Le.Host;fnSuffix="HostBindings";root;get units(){return[this.root]}}class Lg extends zp{job;constructor(e){super(0),this.job=e}attributes=null}function Bg(n){if(n instanceof Y&&n.fn instanceof Un&&"$any"===n.fn.name){if(1!==n.args.length)throw new Error("The $any builtin function expects exactly one argument.");return n.args[0]}return n}function $g(n,e){if(e.next?.kind!==I.I18nExpression)return!0;const t=n.get(e.context),r=n.get(e.next.context);if(void 0===t)throw new Error("AssertionError: expected an I18nContextOp to exist for the I18nExpressionOp's context");if(void 0===r)throw new Error("AssertionError: expected an I18nContextOp to exist for the next I18nExpressionOp's context");return null!==t.i18nBlock?t.i18nBlock!==r.i18nBlock:e.i18nOwner!==e.next.i18nOwner}function Kp(n){const e=new Map;for(const t of n.create)Di(t)&&(e.set(t.xref,t),t.kind===I.RepeaterCreate&&null!==t.emptyView&&e.set(t.emptyView,t));return e}function Ui(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function Hg(n,e,t){if(!(e.expression instanceof On)&&e.isTextAttribute){const r=Rr(e.target,e.isStructuralTemplateAttribute?ze.Template:ze.Attribute,e.namespace,e.name,e.expression,e.i18nContext,e.i18nMessage,e.securityContext);if(n.job.kind===Le.Host)n.create.push(r);else{const i=Ui(t,e.target);ie.insertBefore(r,i)}ie.remove(e)}}function Zp(n){return n.startsWith("aria-")&&n.length>5}function Wg(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}const Qp=new Map([[U.ariaProperty,U.ariaProperty],[U.attribute,U.attribute],[U.classProp,U.classProp],[U.element,U.element],[U.elementContainer,U.elementContainer],[U.elementContainerEnd,U.elementContainerEnd],[U.elementContainerStart,U.elementContainerStart],[U.elementEnd,U.elementEnd],[U.elementStart,U.elementStart],[U.domProperty,U.domProperty],[U.i18nExp,U.i18nExp],[U.listener,U.listener],[U.listener,U.listener],[U.property,U.property],[U.styleProp,U.styleProp],[U.syntheticHostListener,U.syntheticHostListener],[U.syntheticHostProperty,U.syntheticHostProperty],[U.templateCreate,U.templateCreate],[U.twoWayProperty,U.twoWayProperty],[U.twoWayListener,U.twoWayListener],[U.declareLet,U.declareLet],[U.conditionalCreate,U.conditionalBranchCreate],[U.conditionalBranchCreate,U.conditionalBranchCreate],[U.domElement,U.domElement],[U.domElementStart,U.domElementStart],[U.domElementEnd,U.domElementEnd],[U.domElementContainer,U.domElementContainer],[U.domElementContainerStart,U.domElementContainerStart],[U.domElementContainerEnd,U.domElementContainerEnd],[U.domListener,U.domListener],[U.domTemplate,U.domTemplate],[U.animationEnter,U.animationEnter],[U.animationLeave,U.animationLeave],[U.animationEnterListener,U.animationEnterListener],[U.animationLeaveListener,U.animationLeaveListener]]);function Jp(n){let e=null;for(const t of n){if(t.kind!==I.Statement||!(t.statement instanceof oe)){e=null;continue}if(!(t.statement.expr instanceof Y&&t.statement.expr.fn instanceof Ve)){e=null;continue}const r=t.statement.expr.fn.value;if(Qp.has(r))if(null!==e&&Qp.get(e.instruction)===r&&e.length<256){const i=e.expression.callFn(t.statement.expr.args,t.statement.expr.sourceSpan,t.statement.expr.pure);e.expression=i,e.op.statement=i.toStmt(),e.length++,ie.remove(t)}else e={op:t,instruction:r,expression:t.statement.expr,length:1};else e=null}}const Zg=new Map([["&&",ee.And],[">",ee.Bigger],[">=",ee.BiggerEquals],["|",ee.BitwiseOr],["&",ee.BitwiseAnd],["/",ee.Divide],["=",ee.Assign],["==",ee.Equals],["===",ee.Identical],["<",ee.Lower],["<=",ee.LowerEquals],["-",ee.Minus],["%",ee.Modulo],["**",ee.Exponentiation],["*",ee.Multiply],["!=",ee.NotEquals],["!==",ee.NotIdentical],["??",ee.NullishCoalesce],["||",ee.Or],["+",ee.Plus],["in",ee.In],["instanceof",ee.InstanceOf],["+=",ee.AdditionAssignment],["-=",ee.SubtractionAssignment],["*=",ee.MultiplicationAssignment],["/=",ee.DivisionAssignment],["%=",ee.RemainderAssignment],["**=",ee.ExponentiationAssignment],["&&=",ee.AndAssignment],["||=",ee.OrAssignment],["??=",ee.NullishCoalesceAssignment]]);function qp(n){const e=new Map([["svg",Nn.SVG],["math",Nn.Math]]);return null===n?Nn.HTML:e.get(n)??Nn.HTML}function Jg(n,e){return e===Nn.HTML?n:`:${function Qg(n){const e=new Map([["svg",Nn.SVG],["math",Nn.Math]]);for(const[t,r]of e.entries())if(r===n)return t;return null}(e)}:${n}`}function Vi(n){return Array.isArray(n)?gt(n.map(Vi)):W(n)}function _p(n,e,t){const r=e.get(t);if(void 0!==r){const i=Al(r);if(i.entries.length>0)return n.addConst(i)}return null}const ji=Object.freeze([]);class _g{known=new Map;byKind=new Map;propertyBindings=null;projectAs=null;get attributes(){return this.byKind.get(ze.Attribute)??ji}get classes(){return this.byKind.get(ze.ClassName)??ji}get styles(){return this.byKind.get(ze.StyleProperty)??ji}get bindings(){return this.propertyBindings??ji}get template(){return this.byKind.get(ze.Template)??ji}get i18n(){return this.byKind.get(ze.I18n)??ji}isKnown(e,t){const r=this.known.get(e)??new Set;return this.known.set(e,r),!!r.has(t)||(r.add(t),!1)}add(e,t,r,i,a){if(e!==ze.Attribute&&e!==ze.ClassName&&e!==ze.StyleProperty&&this.isKnown(e,t))return;if("ngProjectAs"===t){if(null===r||!(r instanceof Te)||null==r.value||"string"!=typeof r.value?.toString())throw Error("ngProjectAs must have a string literal value");this.projectAs=r.value.toString()}const d=this.arrayFor(e);if(d.push(...function ey(n,e){const t=W(e);return n?[W(0),W(n),t]:[t]}(i,t)),e===ze.Attribute||e===ze.StyleProperty){if(null===r)throw Error("Attribute, i18n attribute, & style element attributes must have a value");null!==a&&kp(r)?d.push(function lo(n,e,t,r){return new ve(n,e,t,r)}(a,new rt([new Qe(r.value)],[]),void 0,r.sourceSpan)):d.push(r)}}arrayFor(e){return e===ze.Property||e===ze.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(e)||this.byKind.set(e,[]),this.byKind.get(e))}}function Al({attributes:n,bindings:e,classes:t,i18n:r,projectAs:i,styles:a,template:u}){const d=[...n];if(null!==i){const S=$(i)[0];d.push(W(5),Vi(S))}return t.length>0&&d.push(W(1),...t),a.length>0&&d.push(W(2),...a),e.length>0&&d.push(W(3),...e),u.length>0&&d.push(W(4),...u),r.length>0&&d.push(W(6),...r),gt(d)}const ty=new Map([["formField",new Set([I.Property])],["formControl",new Set([I.Property])],["formControlName",new Set([I.Property,I.Attribute])],["ngModel",new Set([I.Attribute,I.Property,I.TwoWayProperty])]]);function ry(n){for(const e of n.update){if(e.kind!==I.Property&&e.kind!==I.TwoWayProperty&&e.kind!==I.Attribute)continue;const t=ty.get(e.name);void 0!==t&&t.has(e.kind)&&oy(n,e)}}const sy=new Set([I.Container,I.ContainerStart,I.ContainerEnd,I.Element,I.ElementStart,I.ElementEnd,I.Template]);function iy(n){return sy.has(n.kind)}function oy(n,e){const t=function ay(n,e){let t=null;for(const r of n.create)!iy(r)||r.xref!==e||(t=r);return t}(n,e.target);if(null===t)return;const r=function Rg(n){return{kind:I.ControlCreate,sourceSpan:n,...lt}}(e.sourceSpan);ie.insertAfter(r,t),ie.insertAfter(function cg(n,e){return{kind:I.Control,sourceSpan:e,target:n,...vr,...lt}}(e.target,e.sourceSpan),e)}function uy(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function cy(n){if(0===n.animationBindingKind)return function yg(n,e,t,r,i,a){return{kind:I.AnimationString,name:n,target:e,animationKind:t,expression:r,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:a,...lt}}(n.name,n.target,"animate.enter"===n.name?"enter":"leave",n.expression,n.securityContext,n.sourceSpan);{const e=n.expression;return function Eg(n,e,t,r,i,a){const u=new ie;return u.push(r),{kind:I.Animation,name:n,target:e,animationKind:t,handlerOps:u,handlerFnName:null,i18nMessage:null,securityContext:i,sanitizer:null,sourceSpan:a,...lt}}(n.name,n.target,"animate.enter"===n.name?"enter":"leave",[wr(new we(e,e.sourceSpan))],n.securityContext,n.sourceSpan)}}let gy=class{targets=new Map};const yy=new Map([[I.ElementEnd,[I.ElementStart,I.Element]],[I.ContainerEnd,[I.ContainerStart,I.Container]],[I.I18nEnd,[I.I18nStart,I.I18n]]]),Ey=new Set([I.Pipe]);function gr(n){return n instanceof ut?gr(n.expr):n instanceof Fe?gr(n.lhs)||gr(n.rhs):n instanceof Vt?!(!n.falseCase||!gr(n.falseCase))||(gr(n.condition)||gr(n.trueCase)):n instanceof Jt?gr(n.condition):n instanceof ts?gr(n.expr):n instanceof jt?gr(n.receiver):n instanceof vn?gr(n.receiver)||gr(n.index):n instanceof Et||n instanceof ki?gr(n.expr):n instanceof Y||n instanceof sn||n instanceof ue||n instanceof oi}function Hi(n,e,t){let r;if(gr(n)){const i=t.job.allocateXrefId();r=[new ts(n,i),new Ls(i)]}else r=[n,n.clone()],function Cy(n,e,t){return He(n,r=>{if(r instanceof ts&&e.has(r.xref)){const i=new Ls(r.xref);return new ts(i,i.xref)}return r},bt.None),n}(r[1],function Ty(n){const e=new Set;return He(n,t=>(t instanceof ts&&e.add(t.xref),t),bt.None),e}(r[0]));return new Bi(r[0],e(r[1]))}function ef(n){return function Ay(n){return n instanceof ui||n instanceof li||n instanceof Y&&n.isOptional}(n)||function wy(n){return n instanceof jt||n instanceof vn||n instanceof Y&&!n.isOptional}(n)}function by(n,e,t){if(n instanceof ki)return n.expr;if(!e.job.legacyOptionalChaining&&0===(t&bt.InSafeNavigationMigration))return n instanceof ui?new jt(n.receiver,n.name,null,n.sourceSpan,[],!0):n instanceof li?new vn(n.receiver,n.index,null,n.sourceSpan,[],!0):n;if(!ef(n))return n;const i=function Iy(n){if(ef(n)&&n.receiver instanceof Bi){let e=n.receiver;for(;e.expr instanceof Bi;)e=e.expr;return e}return null}(n);if(i){if(n instanceof Y&&!n.isOptional)return i.expr=i.expr.callFn(n.args),n.receiver;if(n instanceof jt)return i.expr=i.expr.prop(n.name),n.receiver;if(n instanceof vn)return i.expr=i.expr.key(n.index),n.receiver;if(n instanceof Y&&n.isOptional)return i.expr=Hi(i.expr,a=>a.callFn(n.args),e),n.receiver;if(n instanceof ui)return i.expr=Hi(i.expr,a=>a.prop(n.name),e),n.receiver;if(n instanceof li)return i.expr=Hi(i.expr,a=>a.key(n.index),e),n.receiver}else{if(n instanceof Y&&n.isOptional)return Hi(n.receiver,a=>a.callFn(n.args),e);if(n instanceof ui)return Hi(n.receiver,a=>a.prop(n.name),e);if(n instanceof li)return Hi(n.receiver,a=>a.key(n.index),e)}return n}function Ny(n){return n instanceof Bi?new Et(new Vt(new Fe(ee.Equals,n.guard,et),et,n.expr)):n}function Fy(n,e,t){let r=nf(e.params);const i=nf(e.postprocessingParams);let a=[...e.params.values()].some(u=>u.length>1);return function bg(n,e,t,r,i,a,u,d){return{kind:I.I18nMessage,xref:n,i18nContext:e,i18nBlock:t,message:r,messagePlaceholder:i,params:a,postprocessingParams:u,needsPostprocessing:d,subMessages:[],...lt}}(n.allocateXrefId(),e.xref,e.i18nBlock,e.message,null,r,i,a)}function $y(n){if(n.strings.length!==n.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${n.strings.length} strings and ${n.expressionPlaceholders.length} expressions`);const e=n.expressionPlaceholders.map(Wi);return n.strings.flatMap((t,r)=>[t,e[r]||""]).join("")}function nf(n){const e=new Map;for(const[t,r]of n){const i=Uy(r);null!==i&&e.set(t,W(i))}return e}function Uy(n){if(0===n.length)return null;const e=n.map(t=>Wi(t));return 1===e.length?e[0]:`[${e.join("|")}]`}function Wi(n){if(n.flags&on.ElementTag&&n.flags&on.TemplateTag){if("object"!=typeof n.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const i=Wi({...n,value:n.value.element,flags:n.flags&~on.TemplateTag}),a=Wi({...n,value:n.value.template,flags:n.flags&~on.ElementTag});return n.flags&on.OpenTag&&n.flags&on.CloseTag?`${a}${i}${a}`:n.flags&on.CloseTag?`${i}${a}`:`${a}${i}`}if(n.flags&on.OpenTag&&n.flags&on.CloseTag)return`${Wi({...n,flags:n.flags&~on.CloseTag})}${Wi({...n,flags:n.flags&~on.OpenTag})}`;if(n.flags===on.None)return`${n.value}`;let e="",t="";n.flags&on.ElementTag?e="#":n.flags&on.TemplateTag&&(e="*"),""!==e&&(t=n.flags&on.CloseTag?"/":"");const r=null===n.subTemplateIndex?"":`:${n.subTemplateIndex}`;return`\ufffd${t}${e}${n.value}${r}\ufffd`}function rf(n,e){Sn(e,(t,r)=>{if(!(t instanceof It)||r&bt.InChildOperation)return t;if(Array.isArray(t.body))throw new Error("AssertionError: unexpected multi-line arrow function");const i=new Uo(t.params,t.body);return n.functions.add(i),i},bt.None)}function Ua(n,e){const t=sf(n,e);for(const r of n.create)switch(r.kind){case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:Ua(n.job.views.get(r.xref),t);break;case I.Projection:null!==r.fallbackView&&Ua(n.job.views.get(r.fallbackView),t);break;case I.RepeaterCreate:Ua(n.job.views.get(r.xref),t),r.emptyView&&Ua(n.job.views.get(r.emptyView),t),null!==r.trackByOps&&r.trackByOps.prepend(Gi(n,t,!1));break;case I.Animation:case I.AnimationListener:case I.Listener:case I.TwoWayListener:r.handlerOps.prepend(Gi(n,t,!0))}n.create.prepend(Gi(n,t,!1)),n.update.prepend(Gi(n,t,!1));for(const r of n.functions)r.ops.prepend(Gi(n,sf(n,e),!0))}function sf(n,e){const t={view:n.xref,viewContextVariable:{kind:$n.Context,name:null,view:n.xref},contextVariables:new Map,aliases:n.aliases,references:[],letDeclarations:[],parent:e};for(const r of n.contextVariables.keys())t.contextVariables.set(r,{kind:$n.Identifier,name:null,identifier:r,local:!1});for(const r of n.create)switch(r.kind){case I.ElementStart:case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:if(!Array.isArray(r.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let i=0;i<r.localRefs.length;i++)t.references.push({name:r.localRefs[i].name,targetId:r.xref,targetSlot:r.handle,offset:i,variable:{kind:$n.Identifier,name:null,identifier:r.localRefs[i].name,local:!1}});break;case I.DeclareLet:t.letDeclarations.push({targetId:r.xref,targetSlot:r.handle,variable:{kind:$n.Identifier,name:null,identifier:r.declaredName,local:!1}})}return t}function Gi(n,e,t){const r=[];e.view!==n.xref&&r.push(Rs(n.job.allocateXrefId(),e.viewContextVariable,new La,Ar.None));const i=n.job.views.get(e.view);for(const[a,u]of i.contextVariables){const d=new ps(e.view);let S;S=u===Wp?d:"number"==typeof u?new vn(d,W(u)):new jt(d,u),r.push(Rs(n.job.allocateXrefId(),e.contextVariables.get(a),S,Ar.None))}for(const a of i.aliases)r.push(Rs(n.job.allocateXrefId(),a,a.expression.clone(),Ar.AlwaysInline));for(const a of e.references)r.push(Rs(n.job.allocateXrefId(),a.variable,new Ma(a.targetId,a.targetSlot,a.offset),Ar.None));if(e.view!==n.xref||t)for(const a of e.letDeclarations)r.push(Rs(n.job.allocateXrefId(),a.variable,new Mi(a.targetId,a.targetSlot),Ar.None));return null!==e.parent&&r.push(...Gi(n,e.parent,!1)),r}const lf="!important";function Yy(n){return n.startsWith("--")}function Zy(n){return n.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function wl(n){const e=n.indexOf("!important");-1!==e&&(n=e>0?n.substring(0,e):"");let t=null,r=n;const i=n.lastIndexOf(".");return i>0&&(t=n.slice(i+1),r=n.substring(0,i)),{property:r,suffix:t}}function Wo(n,e=!1){return Tn(Object.keys(n).map(t=>({key:t,quoted:e,value:n[t]})))}const Jy=new class Qy{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(i=>`${i} {${e.cases[i].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Ta(e,!1)}}`}};function cf(n){return n.visit(Jy)}class ci{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}}class pi extends ci{value;tokens;constructor(e,t,r,i){super(t,i),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}}class zi extends ci{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,r,i,a,u){super(i,u),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}}class Il{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,r,i,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=i,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}}class Xi extends ci{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,r,i,a,u,d){super(r,d),this.name=e,this.value=t,this.keySpan=i,this.valueSpan=a,this.valueTokens=u}visit(e,t){return e.visitAttribute(this,t)}}class qy{value;type;sourceSpan;constructor(e,t,r){this.value=e,this.type=t,this.sourceSpan=r}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}}class br extends ci{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;isVoid;comments;constructor(e,t,r,i,a,u,d,S=null,T,b,D=[]){super(u,b),this.name=e,this.attrs=t,this.directives=r,this.children=i,this.isSelfClosing=a,this.startSourceSpan=d,this.endSourceSpan=S,this.isVoid=T,this.comments=D}visit(e,t){return e.visitElement(this,t)}}class Ki{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}class ns extends ci{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,i,a,u,d=null,S){super(i,S),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=u,this.endSourceSpan=d}visit(e,t){return e.visitBlock(this,t)}}class _n extends ci{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,r,i,a,u,d,S,T,b=null,D,j=[]){super(S,D),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=i,this.directives=a,this.children=u,this.isSelfClosing=d,this.startSourceSpan=T,this.endSourceSpan=b,this.comments=j}visit(e,t){return e.visitComponent(this,t)}}class pf{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,i,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}}class ff{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}}class df{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,r,i,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=i,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}}function ct(n,e,t=null){const r=[],i=n.visit?a=>n.visit(a,t)||a.visit(n,t):a=>a.visit(n,t);return e.forEach(a=>{const u=i(a);u&&r.push(u)}),r}const Va={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:"\n",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:"\t",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"};Va.ngsp="\ue500";class _y{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}}const tE=/\r\n?/g;function Yi(n){return`Unexpected character "${0===n?"EOF":String.fromCharCode(n)}"`}function vf(n){return`Unknown entity "${n}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Go;!function(n){n.HEX="hexadecimal",n.DEC="decimal"}(Go||(Go={}));const rE=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error","@content"],ja_start="{{",ja_end="}}",sE=/^default[^\S\r\n]+never/,iE=/^else[^\S\r\n]+if/;class aE{_getTagDefinition;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,r){this._getTagDefinition=t,this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0);const i=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Xo(e,i):new Ha(e,i),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(tE,"\n")}tokenize(){for(;0!==this._cursor.peek();){const e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._attemptCharCode(63)?this._consumeProcessingInstruction(e):this._consumeTagOpen(e):this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(ir)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart()):this._consumeBlockEnd(e)}catch(t){this.handleError(t)}}this._beginToken(43),this._endToken([])}_getBlockName(){let e=!1;const t=this._cursor.clone();this._attemptCharCodeUntilFn(i=>Ia(i)?!e:!function fE(n){return Ps(n)||Dr(n)||95===n}(i)||(e=!0,!1));let r=this._cursor.getChars(t).trim();return iE.test(r)?r="else if":sE.test(r)&&(r="default never"),r}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(25,e);const t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(dn),!this._attemptCharCode(41))return void(t.type=29);this._attemptCharCodeUntilFn(dn)}if("default never"===t.parts[0]&&this._attemptCharCode(59))return this._beginToken(26),this._endToken([]),this._beginToken(27),void this._endToken([]);this._attemptCharCode(Or)?(this._beginToken(26),this._endToken([])):!this._isBlockStart()||"case"!==t.parts[0]&&"default"!==t.parts[0]?t.type=29:(this._beginToken(26),this._endToken([]),this._beginToken(27),this._endToken([]))}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(gf);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(28);const e=this._cursor.clone();let t=null,r=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==t;){const i=this._cursor.peek();if(92===i)this._cursor.advance();else if(i===t)t=null;else if(null===t&&Na(i))t=i;else if(40===i&&null===t)r++;else if(41===i&&null===t){if(0===r)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(gf)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(30,e),!Ia(this._cursor.peek())){return void(this._endToken([this._cursor.getChars(e)]).type=33)}this._attemptCharCodeUntilFn(dn);const t=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(dn),this._attemptCharCode(61)?(this._attemptCharCodeUntilFn(i=>dn(i)&&!ba(i)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(32),this._cursor.advance(),this._endToken([])):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))):t.type=33}_getLetDeclarationName(){const e=this._cursor.clone();let t=!1;return this._attemptCharCodeUntilFn(r=>!(Ps(r)||36===r||95===r||t&&Dr(r))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){const e=this._cursor.clone();this._beginToken(31,e),this._attemptUntilIgnoreQuotes(t=>59===t),this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function cE(n){return n!==ir}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===ir){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new We(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new We(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");const r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const r=new We(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof bl&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof We))throw e;this.errors.push(e)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function pE(n,e){return mf(n)===mf(e)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Yi(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const r=this._cursor.clone();for(let i=0;i<t;i++)if(!this._attemptCharCode(e.charCodeAt(i)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(Yi(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(Yi(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_attemptUntilIgnoreQuotes(e){for(;0!==this._cursor.peek();){const t=this._cursor.peek();if(e(t))break;Na(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>92===r?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}}_readChar(){const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const r=this._cursor.clone();for(let i=0;i<t;i++){if(r.peek()!==e.charCodeAt(i))return!1;r.advance()}return!0}_isBlockStart(){return 64===this._cursor.peek()&&rE.some(e=>this._peekStr(e))}_isLetStart(){return 64===this._cursor.peek()&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);const t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){const r=this._attemptCharCode(120)||this._attemptCharCode(88),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(uE),59!=this._cursor.peek()){this._cursor.advance();const u=r?Go.HEX:Go.DEC;throw this._createError(function nE(n,e){return`Unable to parse entity "${e}" - ${n} character reference entities must end with ";"`}(u,this._cursor.getChars(t)),this._cursor.getSpan())}const a=this._cursor.getChars(i);this._cursor.advance();try{const u=parseInt(a,r?16:10);this._endToken([String.fromCodePoint(u),this._cursor.getChars(t)])}catch{throw this._createError(vf(this._cursor.getChars(t)),this._cursor.getSpan())}}else{const r=this._cursor.clone();if(this._attemptCharCodeUntilFn(lE),59!=this._cursor.peek())this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{const i=this._cursor.getChars(r);this._cursor.advance();const a=Va.hasOwnProperty(i)&&Va[i];if(!a)throw this._createError(vf(i),this._cursor.getSpan(t));this._endToken([a,`&${i};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);const r=[];for(;;){const i=this._cursor.clone(),a=t();if(this._cursor=i,a)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(13,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e);const t=this._cursor.clone();this._attemptUntilChar(62);const r=this._cursor.getChars(t);this._cursor.advance(),this._endToken([r])}_consumeProcessingInstruction(e){this._beginToken(42,e);const t=this._cursor.clone();this._attemptUntilIgnoreQuotes(a=>63===a||62===a);const r=this._cursor.peek(),i=this._cursor.getChars(t);this._cursor.advance(),63===r&&this._requireCharCode(62),this._endToken([i])}_consumePrefixAndName(e){const t=this._cursor.clone();let i,r="";for(;58!==this._cursor.peek()&&!oE(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(r=this._cursor.getChars(t),this._cursor.advance(),i=this._cursor.clone()):i=t,this._requireCharCodeUntilFn(e,""===r?0:1);return[r,this._cursor.getChars(i)]}_consumeSingleLineComment(e){const t=this._cursor.clone();this._attemptCharCodeUntilFn(a=>ba(a)||0===a);const r=this._cursor.clone(),i=r.getChars(t);this._beginToken(12,e),this._endToken([i,"single"],r),this._attemptCharCodeUntilFn(dn)}_consumeMultiLineComment(e){const t=this._cursor.clone();this._attemptCharCodeUntilFn(u=>{if(0===u)return!0;if(42===u){const d=this._cursor.clone();return d.advance(),47===d.peek()}return!1});const r=this._cursor.clone(),i=r.getChars(t);let a=r;this._attemptStr("*/")&&(a=this._cursor.clone(),this._attemptCharCodeUntilFn(dn)),this._beginToken(12,e),this._endToken([i,"multi"],a)}_consumeTagOpen(e){let t,r,i,a;try{if(this._selectorlessEnabled&&zo(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[i,r,t]=a.parts,r&&(i+=`:${r}`),t&&(i+=`:${t}`),this._attemptCharCodeUntilFn(dn);else{if(!Ps(this._cursor.peek()))throw this._createError(Yi(this._cursor.peek()),this._cursor.getSpan(e));a=this._consumeTagOpenStart(e),r=a.parts[0],t=i=a.parts[1],this._attemptCharCodeUntilFn(dn)}for(;;){const d=this._cursor.clone();if(this._attemptStr("//"))this._consumeSingleLineComment(d);else if(this._attemptStr("/*"))this._consumeMultiLineComment(d);else{if(Ef(this._cursor.peek()))break;if(this._selectorlessEnabled&&64===this._cursor.peek()){const S=this._cursor.clone(),T=S.clone();T.advance(),zo(T.peek())&&this._consumeDirective(S,T)}else this._consumeAttribute()}}34===a.type?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(d){if(d instanceof We)return void(a?a.type=34===a.type?38:4:(this._beginToken(5,e),this._endToken(["<"])));throw d}const u=this._getTagDefinition(t).getContentType(r);u===$r.RAW_TEXT?this._consumeRawTextWithTagClose(a,i,!1):u===$r.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(a,i,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(dn),this._attemptStrCaseInsensitive(t)))&&(this._attemptCharCodeUntilFn(dn),this._attemptCharCode(62))),this._beginToken(34===e.type?37:3),this._requireCharCodeUntilFn(i=>62===i,3),this._cursor.advance(),this._endToken(e.parts)}_consumeTagOpenStart(e){this._beginToken(0,e);const t=this._consumePrefixAndName(fi);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(34,e);const t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){const e=this._cursor.clone();for(;yf(this._cursor.peek());)this._cursor.advance();const t=this._cursor.getChars(e);let r="",i="";return 58===this._cursor.peek()&&(this._cursor.advance(),[r,i]=this._consumePrefixAndName(fi)),[t,r,i]}_consumeAttribute(){this._consumeAttributeName(),this._attemptCharCodeUntilFn(dn),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(dn),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(dn)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(Yi(e),this._cursor.getSpan());let t;if(this._beginToken(15),this._openDirectiveCount>0){let i=0;t=a=>{if(this._openDirectiveCount>0)if(40===a)i++;else if(41===a){if(0===i)return!0;i--}return fi(a)}}else if(91===e){let i=0;t=a=>(91===a?i++:93===a&&i--,i<=0?fi(a):ba(a))}else t=fi;const r=this._consumePrefixAndName(t);this._endToken(r)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const e=this._cursor.peek();this._consumeQuote(e);const t=()=>this._cursor.peek()===e;this._consumeWithInterpolation(17,18,t,t),this._consumeQuote(e)}else{const e=()=>fi(this._cursor.peek());this._consumeWithInterpolation(17,18,e,e)}}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){const e=this._attemptCharCode(47)?36:35;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){const r=e.clone();for(;62!==r.peek()&&!zo(r.peek());)r.advance();if(zo(r.peek())){this._beginToken(37,e);const i=this._consumeComponentName();return this._attemptCharCodeUntilFn(dn),this._requireCharCode(62),void this._endToken(i)}}this._beginToken(3,e),this._attemptCharCodeUntilFn(dn);const t=this._consumePrefixAndName(fi);this._attemptCharCodeUntilFn(dn),this._requireCharCode(62),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(Or),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);const e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const i=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(i)}this._requireCharCode(44),this._attemptCharCodeUntilFn(dn),this._beginToken(7);const r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(dn)}_consumeExpansionCaseStart(){this._beginToken(21);const e=this._readUntil(Or).trim();this._endToken([e]),this._attemptCharCodeUntilFn(dn),this._beginToken(22),this._requireCharCode(Or),this._endToken([]),this._attemptCharCodeUntilFn(dn),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(ir),this._endToken([]),this._attemptCharCodeUntilFn(dn),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(ir),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,i){this._beginToken(e);const a=[];for(;!r();){const u=this._cursor.clone();this._attemptStr(ja_start)?(this._endToken([this._processCarriageReturns(a.join(""))],u),a.length=0,this._consumeInterpolation(t,u,i),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(a.join(""))])}_consumeInterpolation(e,t,r){const i=[];this._beginToken(e,t),i.push(ja_start);const a=this._cursor.clone();let u=null,d=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){const S=this._cursor.clone();if(this._isTagStart())return this._cursor=S,i.push(this._getProcessedChars(a,S)),void this._endToken(i);if(null===u){if(this._attemptStr(ja_end))return i.push(this._getProcessedChars(a,S)),i.push(ja_end),void this._endToken(i);this._attemptStr("//")&&(d=!0)}const T=this._cursor.peek();this._cursor.advance(),92===T?this._cursor.advance():T===u?u=null:!d&&null===u&&Na(T)&&(u=T)}i.push(this._getProcessedChars(a,this._cursor)),this._endToken(i)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();yf(this._cursor.peek());)this._cursor.advance();this._beginToken(39,e);const r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(dn),40===this._cursor.peek()){for(this._openDirectiveCount++,this._beginToken(40),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(dn);!Ef(this._cursor.peek())&&41!==this._cursor.peek();)this._consumeAttribute();if(this._attemptCharCodeUntilFn(dn),this._openDirectiveCount--,41!==this._cursor.peek()){if(62===this._cursor.peek()||47===this._cursor.peek())return;throw this._createError(Yi(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(dn)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===ir&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||this._cursor.peek()===ir))}_isTagStart(){if(60===this._cursor.peek()){const e=this._cursor.clone();e.advance();const t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t||63===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&22===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&20===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==Or)return!1;const e=this._cursor.clone(),t=this._attemptStr(ja_start);return this._cursor=e,!t}}function dn(n){return!Ia(n)||0===n}function fi(n){return Ia(n)||62===n||60===n||47===n||39===n||34===n||61===n||0===n}function oE(n){return(n<97||122<n)&&(n<65||90<n)&&(n<48||n>57)}function uE(n){return 59===n||0===n||!function im(n){return n>=97&&n<=102||n>=65&&n<=70||Dr(n)}(n)}function lE(n){return 59===n||0===n||!(Ps(n)||Dr(n))}function mf(n){return n>=97&&n<=122?n-97+65:n}function gf(n){return 59!==n&&dn(n)}function zo(n){return 95===n||n>=65&&n<=90}function yf(n){return Ps(n)||Dr(n)||95===n}function Ef(n){return 47===n||62===n||60===n||0===n}class Ha{state;file;input;end;constructor(e,t){if(e instanceof Ha){this.file=e.file,this.input=e.input,this.end=e.end;const r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Ha(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let r=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)r===e&&(e=e.clone()),e.advance();const i=this.locationFromCursor(e),a=this.locationFromCursor(this),u=r!==e?this.locationFromCursor(r):i;return new dt(i,a,u)}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 bl('Unexpected character "EOF"',this);const t=this.charAt(e.offset);10===t?(e.line++,e.column=0):ba(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ni(e.file,e.state.offset,e.state.line,e.state.column)}}class Xo extends Ha{internalState;constructor(e,t){e instanceof Xo?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Xo(this)}getChars(e){const t=e.clone();let r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===Or){this.advanceState(this.internalState);const t=this.clone();let r=0;for(;e()!==ir;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{const t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(120===e()){this.advanceState(this.internalState);const t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(vp(e())){let t="",r=0,i=this.clone();for(;vp(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else ba(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const r=this.input.slice(e.internalState.offset,e.internalState.offset+t),i=parseInt(r,16);if(isNaN(i))throw e.state=e.internalState,new bl("Invalid hexadecimal escape sequence",e);return i}}class bl extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}}class Rn extends We{elementName;static create(e,t,r){return new Rn(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}}class Ko{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}}let Sf=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,r){const i=function eE(n,e,t,r={}){const i=new aE(new ll(n,e),t,r);return i.tokenize(),new _y(function dE(n){const e=[];let t;for(let r=0;r<n.length;r++){const i=n[r];t&&5===t.type&&5===i.type||t&&17===t.type&&17===i.type?(t.parts[0]+=i.parts[0],t.sourceSpan.end=i.sourceSpan.end):(t=i,e.push(t))}return e}(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}(e,t,this.getTagDefinition,r),a=new Nl(i.tokens,this.getTagDefinition);return a.build(),new Ko(a.rootNodes,[...i.errors,...a.errors])}};class Nl{tokens;tagDefinitionResolver;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(e,t){this.tokens=e,this.tagDefinitionResolver=t,this._advance()}build(){for(;43!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeElementStartTag(this._advance()):3===this._peek.type?this._consumeElementEndTag(this._advance()):13===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):20===this._peek.type?this._consumeExpansion(this._advance()):25===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):27===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):30===this._peek.type?(this._closeVoidElement(),this._consumeLet(this._advance())):33===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):34===this._peek.type||38===this._peek.type?this._consumeComponentStartTag(this._advance()):37===this._peek.type?this._consumeComponentEndTag(this._advance()):this._advance();for(const e of this._containerStack)e instanceof ns&&this.errors.push(Rn.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(14)}_consumeComment(e){const t=this._advanceIf(7),r=this._advanceIf(11),i=null!=t?t.parts[0].trim():null,a=null==r?e.sourceSpan:new dt(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Ki(i,a))}_consumeExpansion(e){const t=this._advance(),r=this._advance(),i=[];for(;21===this._peek.type;){const u=this._parseExpansionCase();if(!u)return;i.push(u)}if(24!==this._peek.type)return void this.errors.push(Rn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const a=new dt(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new zi(t.parts[0],r.parts[0],i,a,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(22!==this._peek.type)return this.errors.push(Rn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;const i=this._advance();r.push({type:43,parts:[],sourceSpan:i.sourceSpan});const a=new Nl(r,this.tagDefinitionResolver);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;const u=new dt(e.sourceSpan.start,i.sourceSpan.end,e.sourceSpan.fullStart),d=new dt(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart);return new Il(e.parts[0],a.rootNodes,u,e.sourceSpan,d)}_collectExpansionExpTokens(e){const t=[],r=[22];for(;;){if((20===this._peek.type||22===this._peek.type)&&r.push(this._peek.type),23===this._peek.type){if(!xf(r,22))return this.errors.push(Rn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0===r.length)return t}if(24===this._peek.type){if(!xf(r,20))return this.errors.push(Rn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(43===this._peek.type)return this.errors.push(Rn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){const t=[e],r=e.sourceSpan;let i=e.parts[0];if(i.length>0&&"\n"===i[0]){const a=this._getContainer();null!=a&&0===a.children.length&&this._getTagDefinition(a)?.ignoreFirstLf&&(i=i.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[i]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?i+=e.parts.join("").replace(/&([^;]+);/g,Tf):9===e.type?i+=e.parts[0]:i+=e.parts.join("");if(i.length>0){const a=e.sourceSpan;this._addToParent(new pi(i,new dt(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){const e=this._getContainer();null!==e&&this._getTagDefinition(e)?.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){const t=[],r=[],i=[];this._consumeAttributesAndDirectives(t,r,i);const a=this._getElementFullName(e,this._getClosestElementLikeParent()),u=this._getTagDefinition(a);let d=!1;2===this._peek.type?(this._advance(),d=!0,u?.canSelfClose||null!==Vu(a)||u?.isVoid||this.errors.push(Rn.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))):1===this._peek.type&&(this._advance(),d=!1);const S=this._peek.sourceSpan.fullStart,T=new dt(e.sourceSpan.start,S,e.sourceSpan.fullStart),b=new dt(e.sourceSpan.start,S,e.sourceSpan.fullStart),D=new br(a,t,r,[],d,T,b,void 0,u?.isVoid??!1,void 0,i),j=this._getContainer(),q=null!==j&&!!this._getTagDefinition(j)?.isClosedByChild(D.name);this._pushContainer(D,q),d?this._popContainer(a,br,T):4===e.type&&(this._popContainer(a,br,null),this.errors.push(Rn.create(a,T,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(e){const t=e.parts[0],r=[],i=[],a=[];this._consumeAttributesAndDirectives(r,i,a);const u=this._getClosestElementLikeParent(),d=this._getComponentTagName(e,u),S=this._getComponentFullName(e,u),T=36===this._peek.type;this._advance();const b=this._peek.sourceSpan.fullStart,D=new dt(e.sourceSpan.start,b,e.sourceSpan.fullStart),j=new dt(e.sourceSpan.start,b,e.sourceSpan.fullStart),q=new _n(t,d,S,r,i,[],T,D,j,void 0,void 0,a),se=this._getContainer(),Se=null!==se&&null!==q.tagName&&!!this._getTagDefinition(se)?.isClosedByChild(q.tagName);this._pushContainer(q,Se),T?this._popContainer(S,_n,D):38===e.type&&(this._popContainer(S,_n,null),this.errors.push(Rn.create(S,D,`Opening tag "${S}" not terminated.`)))}_consumeAttributesAndDirectives(e,t,r){for(;15===this._peek.type||39===this._peek.type||12===this._peek.type;)if(39===this._peek.type)t.push(this._consumeDirective(this._peek));else if(15===this._peek.type)e.push(this._consumeAttr(this._advance()));else{const i=this._advance();r.push(new qy(i.parts[0],i.parts[1],i.sourceSpan))}}_consumeComponentEndTag(e){const t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,_n,e.sourceSpan)){const r=this._containerStack[this._containerStack.length-1];let i;i=r instanceof _n&&r.componentName===e.parts[0]?`, did you mean "${r.fullName}"?`:". It may happen when the tag has already been closed by another tag.";const a=`Unexpected closing tag "${t}"${i}`;this.errors.push(Rn.create(t,e.sourceSpan,a))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof br?this.tagDefinitionResolver(e.name):e instanceof _n&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){const t=this._getElementFullName(e,this._getClosestElementLikeParent());if(this._getTagDefinition(t)?.isVoid)this.errors.push(Rn.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,br,e.sourceSpan)){const r=`Unexpected closing tag "${t}". 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(Rn.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let i=!1;for(let a=this._containerStack.length-1;a>=0;a--){const u=this._containerStack[a];if(((u instanceof _n?u.fullName:u.name)===e||null===e)&&u instanceof t)return u.endSourceSpan=r,u.sourceSpan.end=null!==r?r.end:u.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!i;(u instanceof ns||!this._getTagDefinition(u)?.closedByParent)&&(i=!0)}return!1}_consumeAttr(e){const t=xo(e.parts[0],e.parts[1]);let r=e.sourceSpan.end;16===this._peek.type&&this._advance();let i="";const a=[];let u,d;if(17===this._peek.type)for(u=this._peek.sourceSpan,d=this._peek.sourceSpan.end;17===this._peek.type||18===this._peek.type||9===this._peek.type;){const b=this._advance();a.push(b),18===b.type?i+=b.parts.join("").replace(/&([^;]+);/g,Tf):9===b.type?i+=b.parts[0]:i+=b.parts.join(""),d=r=b.sourceSpan.end}16===this._peek.type&&(r=this._advance().sourceSpan.end);const T=u&&d&&new dt(u.start,d,u.fullStart);return new Xi(t,i,new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,T,a.length>0?a:void 0,void 0)}_consumeDirective(e){const t=[];let r=e.sourceSpan.end,i=null;if(this._advance(),40===this._peek.type){for(r=this._peek.sourceSpan.end,this._advance();15===this._peek.type;)t.push(this._consumeAttr(this._advance()));41===this._peek.type?(i=this._peek.sourceSpan,this._advance()):this.errors.push(Rn.create(null,e.sourceSpan,"Unterminated directive definition"))}const a=new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),u=new dt(a.start,null===i?e.sourceSpan.end:i.end,a.fullStart);return new pf(e.parts[0],t,u,a,i)}_consumeBlockOpen(e){const t=[];for(;28===this._peek.type;){const d=this._advance();t.push(new ff(d.parts[0],d.sourceSpan))}26===this._peek.type&&this._advance();const r=this._peek.sourceSpan.fullStart,i=new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),u=new ns(e.parts[0],t,[],i,e.sourceSpan,a);this._pushContainer(u,!1)}_consumeBlockClose(e){const t=this._containerStack.length,r=this._containerStack[t-1];if(!this._popContainer(null,ns,e.sourceSpan)){if(this._containerStack.length<t){const i=r instanceof _n?r.fullName:r.name;return void this.errors.push(Rn.create(null,e.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${i}> element? If you meant to write the \`}\` character, you should use the "&#125;" HTML entity instead.`))}this.errors.push(Rn.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "&#125;" HTML entity instead.'))}}_consumeIncompleteBlock(e){const t=[];for(;28===this._peek.type;){const d=this._advance();t.push(new ff(d.parts[0],d.sourceSpan))}const r=this._peek.sourceSpan.fullStart,i=new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new dt(e.sourceSpan.start,r,e.sourceSpan.fullStart),u=new ns(e.parts[0],t,[],i,e.sourceSpan,a);this._pushContainer(u,!1),this._popContainer(null,ns,null),this.errors.push(Rn.create(e.parts[0],i,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){const t=e.parts[0];let r,i;if(31!==this._peek.type)return void this.errors.push(Rn.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));if(r=this._advance(),32!==this._peek.type)return void this.errors.push(Rn.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));i=this._advance();const a=i.sourceSpan.end,u=new dt(e.sourceSpan.start,a,e.sourceSpan.fullStart),d=e.sourceSpan.toString().lastIndexOf(t),S=e.sourceSpan.start.moveBy(d),T=new dt(S,e.sourceSpan.end),b=new df(t,r.parts[0],u,T,r.sourceSpan);this._addToParent(b)}_consumeIncompleteLet(e){const t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){const i=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(i),u=new dt(a,e.sourceSpan.end),d=new dt(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),S=new df(t,"",e.sourceSpan,u,d);this._addToParent(S)}this.errors.push(Rn.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){const t=this._containerStack[e];if(t instanceof br||t instanceof _n)return t}return null}_addToParent(e){const t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return xo(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){const r=e.parts[0],i=this._getComponentTagName(e,t);return null===i?r:i.startsWith(":")?r+i:`${r}:${i}`}_getComponentTagName(e,t){const r=this._getPrefix(e,t),i=e.parts[2];return r||i?!r&&i?i:xo(r,i||"ng-component"):null}_getPrefix(e,t){let r,i;if(34===e.type||38===e.type||37===e.type?(r=e.parts[1],i=e.parts[2]):(r=e.parts[0],i=e.parts[1]),r=r||this._getTagDefinition(i)?.implicitNamespacePrefix||"",!r&&t){const a=t instanceof br?t.name:t.tagName;if(null!==a){const u=Xn(a)[1],d=this._getTagDefinition(u);null!==d&&!d.preventNamespaceInheritance&&(r=Vu(a))}}return r}}function xf(n,e){return n.length>0&&n[n.length-1]===e}function Tf(n,e){return void 0!==Va[e]?Va[e]||n:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):n}const Cf="ngPreserveWhitespaces",Af=new Set(["pre","template","textarea","script","style"]),wf=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",hE=new RegExp(`[^${wf}]`),vE=new RegExp(`[${wf}]{2,}`,"g");function If(n){return n.some(e=>e.name===Cf)}function bf(n){return n.replace(new RegExp("\ue500","g")," ")}class Pl{preserveSignificantWhitespace;originalNodeMap;requireContext;icuExpansionDepth=0;constructor(e,t,r=!0){this.preserveSignificantWhitespace=e,this.originalNodeMap=t,this.requireContext=r}visitElement(e,t){if(Af.has(e.name)||If(e.attrs)){const i=new br(e.name,Hr(this,e.attrs),Hr(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n,e.comments);return this.originalNodeMap?.set(i,e),i}const r=new br(e.name,e.attrs,e.directives,Hr(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n,e.comments);return this.originalNodeMap?.set(r,e),r}visitAttribute(e,t){return e.name!==Cf?e:null}visitText(e,t){const r=e.value.match(hE),i=t&&(t.prev instanceof zi||t.next instanceof zi);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return e;if(r||i){const u=e.tokens.map(b=>5===b.type?function EE({type:n,parts:e,sourceSpan:t}){return{type:n,parts:[Pf(e[0])],sourceSpan:t}}(b):b);if(!this.preserveSignificantWhitespace&&u.length>0){const b=u[0];u.splice(0,1,function mE(n,e){return 5!==n.type||e?.prev?n:Nf(n,r=>r.trimStart())}(b,t));const D=u[u.length-1];u.splice(u.length-1,1,function gE(n,e){return 5!==n.type||e?.next?n:Nf(n,r=>r.trimEnd())}(D,t))}const d=Pf(e.value),S=this.preserveSignificantWhitespace?d:function yE(n,e){const t=!e?.prev,r=!e?.next,i=t?n.trimStart():n;return r?i.trimEnd():i}(d,t),T=new pi(S,e.sourceSpan,u,e.i18n);return this.originalNodeMap?.set(T,e),T}return null}visitComment(e,t){return e}visitExpansion(e,t){let r;this.icuExpansionDepth++;try{r=new zi(e.switchValue,e.type,Hr(this,e.cases),e.sourceSpan,e.switchValueSourceSpan,e.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(r,e),r}visitExpansionCase(e,t){const r=new Il(e.value,Hr(this,e.expression),e.sourceSpan,e.valueSourceSpan,e.expSourceSpan);return this.originalNodeMap?.set(r,e),r}visitBlock(e,t){const r=new ns(e.name,e.parameters,Hr(this,e.children),e.sourceSpan,e.nameSpan,e.startSourceSpan,e.endSourceSpan);return this.originalNodeMap?.set(r,e),r}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitComponent(e,t){if(e.tagName&&Af.has(e.tagName)||If(e.attrs)){const i=new _n(e.componentName,e.tagName,e.fullName,Hr(this,e.attrs),Hr(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n,e.comments);return this.originalNodeMap?.set(i,e),i}const r=new _n(e.componentName,e.tagName,e.fullName,e.attrs,e.directives,Hr(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n,e.comments);return this.originalNodeMap?.set(r,e),r}visitDirective(e,t){return e}visit(e,t){if(this.requireContext&&!t)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}}function Nf({type:n,parts:e,sourceSpan:t},r){return{type:n,parts:[r(e[0])],sourceSpan:t}}function Pf(n){return bf(n).replace(vE," ")}function Hr(n,e){const t=[];return e.forEach((r,i)=>{const a={prev:e[i-1],next:e[i+1]},u=r.visit(n,a);u&&t.push(u)}),t}var ht,Fs;!function(n){n[n.Character=0]="Character",n[n.Identifier=1]="Identifier",n[n.PrivateIdentifier=2]="PrivateIdentifier",n[n.Keyword=3]="Keyword",n[n.String=4]="String",n[n.Operator=5]="Operator",n[n.Number=6]="Number",n[n.RegExpBody=7]="RegExpBody",n[n.RegExpFlags=8]="RegExpFlags",n[n.Error=9]="Error"}(ht||(ht={})),function(n){n[n.Plain=0]="Plain",n[n.TemplateLiteralPart=1]="TemplateLiteralPart",n[n.TemplateLiteralEnd=2]="TemplateLiteralEnd"}(Fs||(Fs={}));const SE=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in","instanceof"];class Ol{tokenize(e){return new NE(e).scan()}}class Wr{index;end;type;numValue;strValue;constructor(e,t,r,i,a){this.index=e,this.end=t,this.type=r,this.numValue=i,this.strValue=a}isCharacter(e){return this.type===ht.Character&&this.numValue===e}isNumber(){return this.type===ht.Number}isString(){return this.type===ht.String}isOperator(e){return this.type===ht.Operator&&this.strValue===e}isIdentifier(){return this.type===ht.Identifier}isPrivateIdentifier(){return this.type===ht.PrivateIdentifier}isKeyword(){return this.type===ht.Keyword}isKeywordLet(){return this.type===ht.Keyword&&"let"===this.strValue}isKeywordAs(){return this.type===ht.Keyword&&"as"===this.strValue}isKeywordNull(){return this.type===ht.Keyword&&"null"===this.strValue}isKeywordUndefined(){return this.type===ht.Keyword&&"undefined"===this.strValue}isKeywordTrue(){return this.type===ht.Keyword&&"true"===this.strValue}isKeywordFalse(){return this.type===ht.Keyword&&"false"===this.strValue}isKeywordThis(){return this.type===ht.Keyword&&"this"===this.strValue}isKeywordTypeof(){return this.type===ht.Keyword&&"typeof"===this.strValue}isKeywordVoid(){return this.type===ht.Keyword&&"void"===this.strValue}isKeywordIn(){return this.type===ht.Keyword&&"in"===this.strValue}isKeywordInstanceOf(){return this.type===ht.Keyword&&"instanceof"===this.strValue}isError(){return this.type===ht.Error}isRegExpBody(){return this.type===ht.RegExpBody}isRegExpFlags(){return this.type===ht.RegExpFlags}toNumber(){return this.type===ht.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===Fs.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===Fs.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}toString(){switch(this.type){case ht.Character:case ht.Identifier:case ht.Keyword:case ht.Operator:case ht.PrivateIdentifier:case ht.String:case ht.Error:case ht.RegExpBody:case ht.RegExpFlags:return this.strValue;case ht.Number:return this.numValue.toString();default:return null}}}class Dl extends Wr{kind;constructor(e,t,r,i){super(e,t,ht.String,0,r),this.kind=i}}function Wa(n,e,t){return new Wr(n,e,ht.Character,t,String.fromCharCode(t))}function $s(n,e,t){return new Wr(n,e,ht.Operator,0,t)}const Ga=new Wr(-1,-1,ht.Character,0,"");class NE{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;null!==e;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let r=this.peek,i=this.index;for(;r<=32;){if(++i>=t){r=0;break}r=e.charCodeAt(i)}if(this.peek=r,this.index=i,i>=t)return null;if(Of(r))return this.scanIdentifier();if(Dr(r))return this.scanNumber(i);const a=i;switch(r){case 46:return this.advance(),Dr(this.peek)?this.scanNumber(a):46!==this.peek?Wa(a,this.index,46):(this.advance(),46===this.peek?(this.advance(),$s(a,this.index,"...")):this.error(`Unexpected character [${String.fromCharCode(r)}]`,0));case 40:case 41:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(a,r);case Or:return this.scanOpenBrace(a,r);case ir:return this.scanCloseBrace(a,r);case 39:case 34:return this.scanString();case 96:return this.advance(),this.scanTemplateLiteralPart(a);case 35:return this.scanPrivateIdentifier();case 43:return this.scanComplexOperator(a,"+",61,"=");case 45:return this.scanComplexOperator(a,"-",61,"=");case 47:return this.isStartOfRegex()?this.scanRegex(i):this.scanComplexOperator(a,"/",61,"=");case 37:return this.scanComplexOperator(a,"%",61,"=");case 94:return this.scanOperator(a,"^");case 42:return this.scanStar(a);case 63:return this.scanQuestion(a);case 60:case 62:return this.scanComplexOperator(a,String.fromCharCode(r),61,"=");case 33:return this.scanComplexOperator(a,"!",61,"=",61,"=");case 61:return this.scanEquals(a);case 38:return this.scanComplexOperator(a,"&",38,"&",61,"=");case 124:return this.scanComplexOperator(a,"|",124,"|",61,"=");case 160:for(;Ia(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(r)}]`,0)}scanCharacter(e,t){return this.advance(),Wa(e,this.index,t)}scanOperator(e,t){return this.advance(),$s(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),Wa(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),"interpolation"===this.braceStack.pop()?(this.tokens.push(Wa(e,this.index,ir)),this.scanTemplateLiteralPart(this.index)):Wa(e,this.index,t)}scanComplexOperator(e,t,r,i,a,u){this.advance();let d=t;return this.peek==r&&(this.advance(),d+=i),null!=a&&this.peek==a&&(this.advance(),d+=u),$s(e,this.index,d)}scanEquals(e){this.advance();let t="=";if(61===this.peek)this.advance(),t+="=";else if(62===this.peek)return this.advance(),t+=">",$s(e,this.index,t);return 61===this.peek&&(this.advance(),t+="="),$s(e,this.index,t)}scanIdentifier(){const e=this.index;for(this.advance();Df(this.peek);)this.advance();const t=this.input.substring(e,this.index);return SE.indexOf(t)>-1?function CE(n,e,t){return new Wr(n,e,ht.Keyword,0,t)}(e,this.index,t):function xE(n,e,t){return new Wr(n,e,ht.Identifier,0,t)}(e,this.index,t)}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!Of(this.peek))return this.error("Invalid character [#]",-1);for(;Df(this.peek);)this.advance();const t=this.input.substring(e,this.index);return function TE(n,e,t){return new Wr(n,e,ht.PrivateIdentifier,0,t)}(e,this.index,t)}scanNumber(e){let t=this.index===e,r=!1;for(this.advance();;){if(!Dr(this.peek))if(95===this.peek){if(!Dr(this.input.charCodeAt(this.index-1))||!Dr(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(46===this.peek)t=!1;else{if(!PE(this.peek))break;if(this.advance(),OE(this.peek)&&this.advance(),!Dr(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}let i=this.input.substring(e,this.index);r&&(i=i.replace(/_/g,""));const a=t?function RE(n){const e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}(i):parseFloat(i);return function AE(n,e,t){return new Wr(n,e,ht.Number,t,"")}(e,this.index,a)}scanString(){const e=this.index,t=this.peek;this.advance();let r="",i=this.index;const a=this.input;for(;this.peek!=t;)if(92==this.peek){const d=this.scanStringBackslash(r,i);if("string"!=typeof d)return d;r=d,i=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const u=a.substring(i,this.index);return this.advance(),new Dl(e,this.index,r+u,Fs.Plain)}scanQuestion(e){this.advance();let t="?";return 63===this.peek?(t+="?",this.advance(),61===this.peek&&(t+="=",this.advance())):46===this.peek&&(t+=".",this.advance()),$s(e,this.index,t)}scanTemplateLiteralPart(e){let t="",r=this.index;for(;96!==this.peek;)if(92===this.peek){const a=this.scanStringBackslash(t,r);if("string"!=typeof a)return a;t=a,r=this.index}else if(36===this.peek){const a=this.index;if(this.advance(),this.peek===Or)return this.braceStack.push("interpolation"),this.tokens.push(new Dl(e,a,t+this.input.substring(r,a),Fs.TemplateLiteralPart)),this.advance(),$s(a,this.index,this.input.substring(a,this.index))}else{if(0===this.peek)return this.error("Unterminated template literal",0);this.advance()}const i=this.input.substring(r,this.index);return this.advance(),new Dl(e,this.index,t+i,Fs.TemplateLiteralEnd)}error(e,t){const r=this.index+t;return function wE(n,e,t){return new Wr(n,e,ht.Error,0,t)}(r,this.index,`Lexer Error: ${e} at column ${r} in expression [${this.input}]`)}scanStringBackslash(e,t){let r;if(e+=this.input.substring(t,this.index),this.advance(),117===this.peek){const i=this.input.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(i))return this.error(`Invalid unicode escape [\\u${i}]`,0);r=parseInt(i,16);for(let a=0;a<5;a++)this.advance()}else r=function DE(n){switch(n){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return n}}(this.peek),this.advance();return e+=String.fromCharCode(r)}scanStar(e){this.advance();let t="*";return 42===this.peek?(t+="*",this.advance(),61===this.peek&&(t+="=",this.advance())):61===this.peek&&(t+="=",this.advance()),$s(e,this.index,t)}isStartOfRegex(){if(0===this.tokens.length)return!0;const e=this.tokens[this.tokens.length-1];if(e.isOperator("!")){const t=this.tokens.length>1?this.tokens[this.tokens.length-2]:null;return null===t||t.type!==ht.Identifier&&!t.isCharacter(41)&&!t.isCharacter(93)}return e.type===ht.Operator||e.isCharacter(40)||e.isCharacter(91)||e.isCharacter(44)||e.isCharacter(58)}scanRegex(e){this.advance();const t=this.index;let r=!1,i=!1;for(;;){const S=this.peek;if(0===S)return this.error("Unterminated regular expression",0);if(r)r=!1;else if(92===S)r=!0;else if(91===S)i=!0;else if(93===S)i=!1;else if(47===S&&!i)break;this.advance()}const a=this.input.substring(t,this.index);this.advance();const u=function IE(n,e,t){return new Wr(n,e,ht.RegExpBody,0,t)}(e,this.index,a),d=this.scanRegexFlags(this.index);return null!==d?(this.tokens.push(u),d):u}scanRegexFlags(e){if(!Ps(this.peek))return null;for(;Ps(this.peek);)this.advance();return function bE(n,e,t){return new Wr(n,e,ht.RegExpFlags,0,t)}(e,this.index,this.input.substring(e,this.index))}}function Of(n){return 97<=n&&n<=122||65<=n&&n<=90||95==n||36==n}function Df(n){return Ps(n)||Dr(n)||95==n||36==n}function PE(n){return 101==n||69==n}function OE(n){return 45==n||43==n}class ME{strings;expressions;offsets;constructor(e,t,r){this.strings=e,this.expressions=t,this.offsets=r}}class LE{templateBindings;warnings;errors;constructor(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r}}function Us(n){return n.start.toString()||"(unknown)"}class Rf{_lexer;_supportsDirectPipeReferences;constructor(e,t=!1){this._lexer=e,this._supportsDirectPipeReferences=t}parseAction(e,t,r){const i=[];this._checkNoInterpolation(i,e,t);const{stripped:a}=this._stripComments(e),u=this._lexer.tokenize(a),d=new za(e,t,r,u,1,i,0,this._supportsDirectPipeReferences).parseChain();return new Sr(d,e,Us(t),r,i)}parseBinding(e,t,r){const i=[],a=this._parseBindingAst(e,t,r,i);return new Sr(a,e,Us(t),r,i)}checkSimpleExpression(e){const t=new kE;return e.visit(t),t.errors}parseSimpleBinding(e,t,r){const i=[],a=this._parseBindingAst(e,t,r,i),u=this.checkSimpleExpression(a);return u.length>0&&i.push(Qi(`Host binding expression cannot contain ${u.join(" ")}`,e,"",t)),new Sr(a,e,Us(t),r,i)}_parseBindingAst(e,t,r,i){this._checkNoInterpolation(i,e,t);const{stripped:a}=this._stripComments(e),u=this._lexer.tokenize(a);return new za(e,t,r,u,0,i,0,this._supportsDirectPipeReferences).parseChain()}parseTemplateBindings(e,t,r,i,a){const u=this._lexer.tokenize(t);return new za(t,r,a,u,0,[],0,this._supportsDirectPipeReferences).parseTemplateBindings({source:e,span:new Hn(i,i+e.length)})}parseInterpolation(e,t,r,i){const a=[],{strings:u,expressions:d,offsets:S}=this.splitInterpolation(e,t,a,i);if(0===d.length)return null;const T=[];for(let b=0;b<d.length;++b){const D=i?.[2*b+1]?.sourceSpan,j=d[b].text,{stripped:q,hasComments:se}=this._stripComments(j),Se=this._lexer.tokenize(q);if(se&&0===q.trim().length&&0===Se.length){a.push(Qi("Interpolation expression cannot only contain a comment",e,`at column ${d[b].start} in`,t));continue}const Ae=new za(D?j:e,D||t,r,Se,0,a,S[b],this._supportsDirectPipeReferences).parseChain();T.push(Ae)}return this.createInterpolationAst(u.map(b=>b.text),T,e,Us(t),r,a)}parseInterpolationExpression(e,t,r){const{stripped:i}=this._stripComments(e),a=this._lexer.tokenize(i),u=[],d=new za(e,t,r,a,0,u,0,this._supportsDirectPipeReferences).parseChain();return this.createInterpolationAst(["",""],[d],e,Us(t),r,u)}createInterpolationAst(e,t,r,i,a,u){const d=new xs(0,r.length),S=new ma(d,d.toAbsolute(a),e,t);return new Sr(S,r,i,a,u)}splitInterpolation(e,t,r,i){const a=[],u=[],d=[],S=i?function BE(n){let e=new Map,t=0,r=0,i=0;for(;i<n.length;){const a=n[i];if(9===a.type){const[u,d]=a.parts;t+=d.length,r+=u.length}else{const u=a.parts.reduce((d,S)=>d+S.length,0);r+=u,t+=u}e.set(r,t),i++}return e}(i):null;let T=0,b=!1,D=!1;const j="{{";for(;T<e.length;)if(b){const se=T,Se=se+2,Ae=this._getInterpolationEndIndex(e,"}}",Se);if(-1===Ae){b=!1,D=!0;break}const je=Ae+2,St=e.substring(Se,Ae);0===St.trim().length&&r.push(Qi("Blank expressions are not allowed in interpolated strings",e,`at column ${T} in`,t)),u.push({text:St,start:se,end:je});const hn=(S?.get(se)??se)+2;d.push(hn),T=je,b=!1}else{const se=T;T=e.indexOf(j,T),-1===T&&(T=e.length);const Se=e.substring(se,T);a.push({text:Se,start:se,end:T}),b=!0}if(!b)if(D){const se=a[a.length-1];se.text+=e.substring(T),se.end=e.length}else a.push({text:e.substring(T),start:T,end:e.length});return new ME(a,u,d)}wrapLiteralPrimitive(e,t,r){const i=new xs(0,null==e?0:e.length);return new Sr(new pr(i,i.toAbsolute(r),e),e,"string"==typeof t?t:Us(t),r,[])}_stripComments(e){const t=this._commentStart(e);return null!=t?{stripped:e.substring(0,t),hasComments:!0}:{stripped:e,hasComments:!1}}_commentStart(e){let t=null;for(let r=0;r<e.length-1;r++){const i=e.charCodeAt(r),a=e.charCodeAt(r+1);if(47===i&&47==a&&null==t)return r;t===i?t=null:null==t&&Na(i)&&(t=i)}return null}_checkNoInterpolation(e,t,r){let i=-1,a=-1;for(const u of this._forEachUnquotedChar(t,0))if(-1===i)t.startsWith("{{")&&(i=u);else if(a=this._getInterpolationEndIndex(t,"}}",u),a>-1)break;i>-1&&a>-1&&e.push(Qi("Got interpolation ({{}}) where expression was expected",t,`at column ${i} in`,r))}_getInterpolationEndIndex(e,t,r){for(const i of this._forEachUnquotedChar(e,r)){if(e.startsWith(t,i))return i;if(e.startsWith("//",i))return e.indexOf(t,i)}return-1}*_forEachUnquotedChar(e,t){let r=null,i=0;for(let a=t;a<e.length;a++){const u=e[a];!Na(e.charCodeAt(a))||null!==r&&r!==u||i%2!=0?null===r&&(yield a):r=null===r?u:null,i="\\"===u?i+1:0}}}var Zi;!function(n){n[n.None=0]="None",n[n.Writable=1]="Writable"}(Zi||(Zi={}));const Mf=new Set(["d","g","i","m","s","u","v","y"]);class za{input;parseSourceSpan;absoluteOffset;tokens;parseFlags;errors;offset;supportsDirectPipeReferences;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=Zi.None;sourceSpanCache=new Map;index=0;constructor(e,t,r,i,a,u,d,S){this.input=e,this.parseSourceSpan=t,this.absoluteOffset=r,this.tokens=i,this.parseFlags=a,this.errors=u,this.offset=d,this.supportsDirectPipeReferences=S}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:Ga}get next(){return this.peek(0)}get atEOF(){return this.index>=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:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let r=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(r=t),e>r){const i=r;r=e,e=i}return new xs(e,r)}sourceSpan(e,t){const r=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,t){this.context|=e;const r=t();return this.context^=e,r}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}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)}isAssignmentOperator(e){return e.type===ht.Operator&&tr.isAssignmentOperation(e.strValue)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ga?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const r=this.parsePipe();if(e.push(r),this.consumeOptionalCharacter(59))for(1&this.parseFlags||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(59););else if(this.index<this.tokens.length){const i=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===i)break}}if(0===e.length){const r=this.offset,i=this.offset+this.input.length;return new Zn(this.span(r,i),this.sourceSpan(r,i))}return 1==e.length?e[0]:new go(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){1&this.parseFlags&&this.error("Cannot have a pipe in an action expression");do{const r=this.inputIndex;let a,u,i=this.expectIdentifierOrKeyword();null!==i?a=this.sourceSpan(r):(i="",u=-1!==this.next.index?this.next.index:this.input.length+this.offset,a=new xs(u,u).toAbsolute(this.absoluteOffset));const d=[];for(;this.consumeOptionalCharacter(58);)d.push(this.parseExpression());let S;if(this.supportsDirectPipeReferences){const T=i.charCodeAt(0);S=95===T||T>=65&&T<=90?va.ReferencedDirectly:va.ReferencedByName}else S=va.ReferencedByName;t=new Ou(this.span(e),this.sourceSpan(e,u),t,i,d,S,a)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const r=this.parsePipe();let i;if(this.consumeOptionalCharacter(58))i=this.parsePipe();else{const a=this.inputIndex,u=this.input.substring(e,a);this.error(`Conditional expression ${u} requires all 3 expressions`),i=new Zn(this.span(e),this.sourceSpan(e))}return new Rc(this.span(e),this.sourceSpan(e),t,r,i)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const r=this.parseLogicalAnd();t=new tr(this.span(e),this.sourceSpan(e),"||",t,r)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const r=this.parseNullishCoalescing();t=new tr(this.span(e),this.sourceSpan(e),"&&",t,r)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const r=this.parseEquality();t=new tr(this.span(e),this.sourceSpan(e),"??",t,r)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==ht.Operator;){const r=this.next.strValue;switch(r){case"==":case"===":case"!=":case"!==":this.advance();const i=this.parseRelational();t=new tr(this.span(e),this.sourceSpan(e),r,t,i);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==ht.Operator||this.next.isKeywordIn()||this.next.isKeywordInstanceOf();){const r=this.next.strValue;switch(r){case"<":case">":case"<=":case">=":case"in":case"instanceof":this.advance();const i=this.parseAdditive();t=new tr(this.span(e),this.sourceSpan(e),r,t,i);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==ht.Operator;){const r=this.next.strValue;switch(r){case"+":case"-":this.advance();let i=this.parseMultiplicative();t=new tr(this.span(e),this.sourceSpan(e),r,t,i);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parseExponentiation();for(;this.next.type==ht.Operator;){const r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();const i=this.parseExponentiation();t=new tr(this.span(e),this.sourceSpan(e),r,t,i);continue}break}return t}parseExponentiation(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==ht.Operator&&"**"===this.next.strValue;){(t instanceof Ks||t instanceof Du||t instanceof Ru||t instanceof Mu)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();const r=this.parseExponentiation();t=new tr(this.span(e),this.sourceSpan(e),"**",t,r)}return t}parsePrefix(){if(this.next.type==ht.Operator){const e=this.inputIndex;let r;switch(this.next.strValue){case"+":return this.advance(),r=this.parsePrefix(),Ks.createPlus(this.span(e),this.sourceSpan(e),r);case"-":return this.advance(),r=this.parsePrefix(),Ks.createMinus(this.span(e),this.sourceSpan(e),r);case"!":return this.advance(),r=this.parsePrefix(),new Du(this.span(e),this.sourceSpan(e),r)}}else{if(this.next.isKeywordTypeof()){const e=this.inputIndex;this.advance();const t=this.parsePrefix();return new Ru(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordVoid()){const e=this.inputIndex;this.advance();const t=this.parsePrefix();return new Mu(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(40)?this.parseCall(t,e,!0):this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new Lu(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else{if(!this.next.isTemplateLiteralPart())return t;t=this.parseTaggedTemplateLiteral(t,e)}}parsePrimary(){const e=this.inputIndex;if(this.isArrowFunction())return this.parseArrowFunction(e);if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const t=this.parsePipe();return this.consumeOptionalCharacter(41)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(41)),this.rparensExpected--,new Fu(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordNull())return this.advance(),new pr(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new pr(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new pr(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new pr(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new as(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91))return this.parseLiteralArray(e);if(this.next.isCharacter(Or))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new zn(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new pr(this.span(e),this.sourceSpan(e),t)}if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===Fs.Plain){const t=this.next.toString();return this.advance(),new pr(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Zn(this.span(e),this.sourceSpan(e))):this.next.isRegExpBody()?this.parseRegularExpressionLiteral():this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Zn(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new Zn(this.span(e),this.sourceSpan(e)))}parseLiteralArray(e){this.rbracketsExpected++;const t=[];do{if(this.next.isOperator("..."))t.push(this.parseSpreadElement());else{if(this.next.isCharacter(93))break;t.push(this.parsePipe())}}while(this.consumeOptionalCharacter(44));return this.rbracketsExpected--,this.expectCharacter(93),new Eo(this.span(e),this.sourceSpan(e),t)}parseLiteralMap(){const e=[],t=[],r=this.inputIndex;if(this.expectCharacter(Or),!this.consumeOptionalCharacter(ir)){this.rbracesExpected++;do{const i=this.inputIndex;if(this.next.isOperator("...")){this.advance(),e.push({kind:"spread",span:this.span(i),sourceSpan:this.sourceSpan(i)}),t.push(this.parsePipe());continue}const a=this.next.isString(),u=this.expectIdentifierOrKeywordOrString(),d=this.span(i),S=this.sourceSpan(i),T={kind:"property",key:u,quoted:a,span:d,sourceSpan:S};e.push(T),a?(this.expectCharacter(58),t.push(this.parsePipe())):this.consumeOptionalCharacter(58)?t.push(this.parsePipe()):(T.isShorthandInitialized=!0,t.push(new Fn(d,S,S,new zn(d,S),u)))}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(ir));this.rbracesExpected--,this.expectCharacter(ir)}return new gi(this.span(r),this.sourceSpan(r),e,t)}parseAccessMember(e,t,r){const i=this.inputIndex,a=this.withContext(Zi.Writable,()=>{const d=this.expectIdentifierOrKeyword()??"";return 0===d.length&&this.error("Expected identifier for property access",e.span.end),d}),u=this.sourceSpan(i);if(r)return this.isAssignmentOperator(this.next)?(this.advance(),this.error("The '?.' operator cannot be used in the assignment"),new Zn(this.span(t),this.sourceSpan(t))):new ha(this.span(t),this.sourceSpan(t),u,e,a);if(this.isAssignmentOperator(this.next)){const d=this.next.strValue;if(!(1&this.parseFlags))return this.advance(),this.error("Bindings cannot contain assignments"),new Zn(this.span(t),this.sourceSpan(t));const S=new Fn(this.span(t),this.sourceSpan(t),u,e,a);this.advance();const T=this.parseConditional();return new tr(this.span(t),this.sourceSpan(t),d,S,T)}return new Fn(this.span(t),this.sourceSpan(t),u,e,a)}parseCall(e,t,r){const i=this.inputIndex;this.rparensExpected++;const a=this.parseCallArguments(),u=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const d=this.span(t),S=this.sourceSpan(t);return r?new ga(d,S,e,a,u):new Br(d,S,e,a,u)}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.next.isOperator("...")?this.parseSpreadElement():this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}parseSpreadElement(){this.next.isOperator("...")||this.error("Spread element must start with '...' operator");const e=this.inputIndex;this.advance();const t=this.parsePipe(),r=this.span(e),i=this.sourceSpan(e);return new Mc(r,i,t)}expectTemplateBindingKey(){let e="",t=!1;const r=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new Hn(r,r+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const r=this.parseLetBinding();if(r)t.push(r);else{const i=this.expectTemplateBindingKey(),a=this.parseAsBinding(i);a?t.push(a):(i.source=e.source+i.source.charAt(0).toUpperCase()+i.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(i)))}this.consumeStatementTerminator()}return new LE(t,[],this.errors)}parseKeyedReadOrWrite(e,t,r){return this.withContext(Zi.Writable,()=>{this.rbracketsExpected++;const i=this.parsePipe();if(i instanceof Zn&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.isAssignmentOperator(this.next))return r?new yo(this.span(t),this.sourceSpan(t),e,i):new Xs(this.span(t),this.sourceSpan(t),e,i);{const a=this.next.strValue;if(!r){const u=new Xs(this.span(t),this.sourceSpan(t),e,i);this.advance();const d=this.parseConditional();return new tr(this.span(t),this.sourceSpan(t),a,u,d)}this.advance(),this.error("The '?.' operator cannot be used in the assignment")}return new Zn(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(58);const r=this.getDirectiveBoundTarget();let i=this.currentAbsoluteOffset;const a=this.parseAsBinding(e);a||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);const u=new Hn(e.span.start,i);return t.push(new Av(u,e,r)),a&&t.push(a),t}getDirectiveBoundTarget(){if(this.next===Ga||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:r}=e.span,i=this.input.substring(t,r);return new Sr(e,i,Us(this.parseSourceSpan),this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const r=new Hn(e.span.start,this.currentAbsoluteOffset);return new $u(r,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const i=new Hn(e,this.currentAbsoluteOffset);return new $u(i,t,r)}parseNoInterpolationTaggedTemplateLiteral(e,t){const r=this.parseNoInterpolationTemplateLiteral();return new ku(this.span(t),this.sourceSpan(t),e,r)}parseNoInterpolationTemplateLiteral(){const e=this.next.strValue,t=this.inputIndex;this.advance();const r=this.span(t),i=this.sourceSpan(t);return new Bu(r,i,[new Lc(r,i,e)],[])}parseTaggedTemplateLiteral(e,t){const r=this.parseTemplateLiteral();return new ku(this.span(t),this.sourceSpan(t),e,r)}parseTemplateLiteral(){const e=[],t=[],r=this.inputIndex;for(;this.next!==Ga;){const i=this.next;if(i.isTemplateLiteralPart()||i.isTemplateLiteralEnd()){const a=this.inputIndex;if(this.advance(),e.push(new Lc(this.span(a),this.sourceSpan(a),i.strValue)),i.isTemplateLiteralEnd())break}else if(i.isTemplateLiteralInterpolationStart()){this.advance(),this.rbracesExpected++;const a=this.parsePipe();a instanceof Zn&&this.error("Template literal interpolation cannot be empty"),t.push(a),this.rbracesExpected--}else this.advance()}return new Bu(this.span(r),this.sourceSpan(r),e,t)}parseRegularExpressionLiteral(){const e=this.next;if(this.advance(),!e.isRegExpBody())return new Zn(this.span(this.inputIndex),this.sourceSpan(this.inputIndex));let t=null;if(this.next.isRegExpFlags()){t=this.next,this.advance();const a=new Set;for(let u=0;u<t.strValue.length;u++){const d=t.strValue[u];Mf.has(d)?a.has(d)?this.error(`Duplicate regular expression flag "${d}"`,t.index+u):a.add(d):this.error(`Unsupported regular expression flag "${d}". The supported flags are: `+Array.from(Mf,S=>`"${S}"`).join(", "),t.index+u)}}const r=e.index,i=t?t.end:e.end;return new Bc(this.span(r,i),this.sourceSpan(r,i),e.strValue,t?t.strValue:null)}parseArrowFunction(e){let t,r;if(this.next.isIdentifier()){const i=this.next;this.advance(),t=[this.getArrowFunctionIdentifierArg(i)]}else this.next.isCharacter(40)?(this.rparensExpected++,this.advance(),t=this.parseArrowFunctionParameters(),this.rparensExpected--):(t=[],this.error(`Unexpected token ${this.next}`));if(this.expectOperator("=>"),this.next.isCharacter(Or))this.error("Multi-line arrow functions are not supported. If you meant to return an object literal, wrap it with parentheses."),r=new Zn(this.span(e),this.sourceSpan(e));else{const i=this.parseFlags;this.parseFlags=1,r=this.parseExpression(),this.parseFlags=i}return new kc(this.span(e),this.sourceSpan(e),t,r)}parseArrowFunctionParameters(){const e=[];if(!this.consumeOptionalCharacter(41))for(;this.next!==Ga;){if(!this.next.isIdentifier()){this.error(`Unexpected token ${this.next}`);break}{const t=this.next;if(this.advance(),e.push(this.getArrowFunctionIdentifierArg(t)),this.consumeOptionalCharacter(41))break;this.expectCharacter(44)}}return e}getArrowFunctionIdentifierArg(e){return new Cv(e.strValue,this.span(e.index),this.sourceSpan(e.index))}isArrowFunction(){const e=this.index,t=this.tokens;if(e>t.length-2)return!1;if(t[e].isIdentifier()&&t[e+1].isOperator("=>"))return!0;if(t[e].isCharacter(40)){let r=e+1;for(;r<t.length&&(t[r].isIdentifier()||t[r].isCharacter(44));r++);return r<t.length-1&&t[r].isCharacter(41)&&t[r+1].isOperator("=>")}return!1}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=this.index){this.errors.push(Qi(e,this.input,this.getErrorLocationText(t),this.parseSourceSpan)),this.skip()}getErrorLocationText(e){return e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let r=`Private identifiers are not supported. Unexpected private identifier: ${e}`;null!==t&&(r+=`, ${t}`),this.error(r)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(59)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter(ir)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&Zi.Writable&&this.isAssignmentOperator(e));)this.next.isError()&&this.errors.push(Qi(this.next.toString(),this.input,this.getErrorLocationText(this.next.index),this.parseSourceSpan)),this.advance(),e=this.next}}function Qi(n,e,t,r){t.length>0&&(t=` ${t} `);const i=Us(r);return new We(r,`Parser Error: ${n}${t}[${e}] in ${i}`)}class kE extends ya{errors=[];visitPipe(){this.errors.push("pipes")}}class $E{visitUnary(e,t){return`${e.operator}${e.expr.visit(this,t)}`}visitBinary(e,t){return`${e.left.visit(this,t)} ${e.operation} ${e.right.visit(this,t)}`}visitChain(e,t){return e.expressions.map(r=>r.visit(this,t)).join("; ")}visitConditional(e,t){return`${e.condition.visit(this,t)} ? ${e.trueExp.visit(this,t)} : ${e.falseExp.visit(this,t)}`}visitThisReceiver(){return"this"}visitImplicitReceiver(){return""}visitInterpolation(e,t){return function VE(n,e){const t=[];for(let r=0;r<Math.max(n.length,e.length);r++)r<n.length&&t.push(n[r]),r<e.length&&t.push(e[r]);return t}(e.strings,e.expressions.map(r=>r.visit(this,t))).join("")}visitKeyedRead(e,t){return`${e.receiver.visit(this,t)}[${e.key.visit(this,t)}]`}visitLiteralArray(e,t){return`[${e.expressions.map(r=>r.visit(this,t)).join(", ")}]`}visitLiteralMap(e,t){return`{${function UE(n,e){if(n.length!==e.length)throw new Error("Array lengths must match");return n.map((t,r)=>[t,e[r]])}(e.keys.map(r=>"spread"===r.kind?"...":r.quoted?`'${r.key}'`:r.key),e.values.map(r=>r.visit(this,t))).map(([r,i])=>`${r}: ${i}`).join(", ")}}`}visitLiteralPrimitive(e){if(null===e.value)return"null";switch(typeof e.value){case"number":case"boolean":return e.value.toString();case"undefined":return"undefined";case"string":return`'${e.value.replace(/'/g,"\\'")}'`;default:throw new Error(`Unsupported primitive type: ${e.value}`)}}visitPipe(e,t){return`${e.exp.visit(this,t)} | ${e.name}`}visitPrefixNot(e,t){return`!${e.expression.visit(this,t)}`}visitNonNullAssert(e,t){return`${e.expression.visit(this,t)}!`}visitPropertyRead(e,t){return e.receiver instanceof zn||e.receiver instanceof as?e.name:`${e.receiver.visit(this,t)}.${e.name}`}visitSafePropertyRead(e,t){return`${e.receiver.visit(this,t)}?.${e.name}`}visitSafeKeyedRead(e,t){return`${e.receiver.visit(this,t)}?.[${e.key.visit(this,t)}]`}visitCall(e,t){return`${e.receiver.visit(this,t)}(${e.args.map(r=>r.visit(this,t)).join(", ")})`}visitSafeCall(e,t){return`${e.receiver.visit(this,t)}?.(${e.args.map(r=>r.visit(this,t)).join(", ")})`}visitTypeofExpression(e,t){return`typeof ${e.expression.visit(this,t)}`}visitVoidExpression(e,t){return`void ${e.expression.visit(this,t)}`}visitRegularExpressionLiteral(e,t){return`/${e.body}/${e.flags||""}`}visitArrowFunction(e,t){let r;return r=1===e.parameters.length?e.parameters[0].name:`(${e.parameters.map(i=>i.name).join(", ")})`,`${r} => ${e.body.visit(this,t)}`}visitASTWithSource(e,t){return e.ast.visit(this,t)}visitTemplateLiteral(e,t){let r="";for(let i=0;i<e.elements.length;i++){r+=e.elements[i].visit(this,t);const a=i<e.expressions.length?e.expressions[i]:null;null!==a&&(r+="${"+a.visit(this,t)+"}")}return"`"+r+"`"}visitTemplateLiteralElement(e,t){return e.text}visitTaggedTemplateLiteral(e,t){return e.tag.visit(this,t)+e.template.visit(this,t)}visitSpreadElement(e,t){return`...${e.expression.visit(this,t)}`}visitParenthesizedExpression(e,t){return"("+e.expression.visit(this,t)+")"}}const Yo="svg",Zo="math";class jE{}function Qo(n){const e=n.toLowerCase(),[t,r]=Xn(e,!1);return t===Yo||t===Zo?`:${t}:${r}`:r}const XE=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%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,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","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,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!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,imageSizes,imageSrcset,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,media,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,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","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]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,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|decoding",":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:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Lf=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),KE=Array.from(Lf).reduce((n,[e,t])=>(n.set(e,t),n),new Map);class Ji extends jE{_schema=new Map;_eventSchema=new Map;constructor(){super(),XE.forEach(e=>{const t=new Map,r=new Set,[i,a]=e.split("|"),u=a.split(","),[d,S]=i.split("^");d.split(",").forEach(b=>{this._schema.set(b.toLowerCase(),t),this._eventSchema.set(b.toLowerCase(),r)});const T=S&&this._schema.get(S.toLowerCase());if(T){for(const[b,D]of T)t.set(b,D);for(const b of this._eventSchema.get(S.toLowerCase()))r.add(b)}u.forEach(b=>{if(b.length>0)switch(b[0]){case"*":r.add(b.substring(1));break;case"!":t.set(b.substring(1),"boolean");break;case"#":t.set(b.substring(1),"number");break;case"%":t.set(b.substring(1),"object");break;default:t.set(b,"string")}})})}hasProperty(e,t,r){if(r.some(u=>u.name===R_name))return!0;const i=Qo(e);if(i.includes("-")){if(Uc(i)||Uu(i))return!1;if(r.some(u=>u.name===O_name))return!0}return(this._schema.get(i)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(i=>i.name===R_name))return!0;const r=Qo(e);return!(!r.includes("-")||!(Uc(r)||Uu(r)||t.some(i=>i.name===O_name)))||this._schema.has(r)}securityContext(e,t,r){r&&(t=this.getMappedPropName(t));const[i,a]=Xn(e,!1);return w(a,t,i)}getMappedPropName(e){return Lf.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){const t=Qo(e),r=this._schema.get(t)||this._schema.get("unknown");return Array.from(r.keys()).map(i=>KE.get(i)??i)}allKnownEventsOfElement(e){const t=Qo(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return function _h(n){return n.replace(qh,(...e)=>e[1].toUpperCase())}(e)}normalizeAnimationStyleValue(e,t,r){let i="";const a=r.toString().trim();let u=null;if(function YE(n){switch(n){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}}(e)&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{const d=r.match(/^[+-]?[\d\.]+([a-z]*)$/);d&&0==d[1].length&&(u=`Please provide a CSS unit value for ${t}:${r}`)}return{error:u,value:a+i}}}class Ht{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=$r.PARSABLE_DATA,closedByParent:i=!1,isVoid:a=!1,ignoreFirstLf:u=!1,preventNamespaceInheritance:d=!1,canSelfClose:S=!1}={}){e&&e.length>0&&e.forEach(T=>this.closedByChildren[T]=!0),this.isVoid=a,this.closedByParent=i||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=u,this.preventNamespaceInheritance=d,this.canSelfClose=S??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}}let kf,qi;function Rl(n){return qi||(kf=new Ht({canSelfClose:!0}),qi=Object.assign(Object.create(null),{base:new Ht({isVoid:!0}),meta:new Ht({isVoid:!0}),area:new Ht({isVoid:!0}),embed:new Ht({isVoid:!0}),link:new Ht({isVoid:!0}),img:new Ht({isVoid:!0}),input:new Ht({isVoid:!0}),param:new Ht({isVoid:!0}),hr:new Ht({isVoid:!0}),br:new Ht({isVoid:!0}),source:new Ht({isVoid:!0}),track:new Ht({isVoid:!0}),wbr:new Ht({isVoid:!0}),p:new Ht({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 Ht({closedByChildren:["tbody","tfoot"]}),tbody:new Ht({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Ht({closedByChildren:["tbody"],closedByParent:!0}),tr:new Ht({closedByChildren:["tr"],closedByParent:!0}),td:new Ht({closedByChildren:["td","th"],closedByParent:!0}),th:new Ht({closedByChildren:["td","th"],closedByParent:!0}),col:new Ht({isVoid:!0}),svg:new Ht({implicitNamespacePrefix:"svg"}),foreignObject:new Ht({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new Ht({implicitNamespacePrefix:"math"}),li:new Ht({closedByChildren:["li"],closedByParent:!0}),dt:new Ht({closedByChildren:["dt","dd"]}),dd:new Ht({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Ht({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Ht({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Ht({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Ht({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Ht({closedByChildren:["optgroup"],closedByParent:!0}),option:new Ht({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Ht({ignoreFirstLf:!0}),listing:new Ht({ignoreFirstLf:!0}),style:new Ht({contentType:$r.RAW_TEXT}),script:new Ht({contentType:$r.RAW_TEXT}),title:new Ht({contentType:{default:$r.ESCAPABLE_RAW_TEXT,svg:$r.PARSABLE_DATA}}),textarea:new Ht({contentType:$r.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Ji).allKnownElementNames().forEach(e=>{!qi[e]&&null===Vu(e)&&(qi[e]=new Ht({canSelfClose:!1}))})),qi[n]??qi[n.toLowerCase()]??kf}const Bf={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 ZE{_placeHolderNameCounts={};_signatureToName={};getStartTagPlaceholderName(e,t,r){const i=this._hashTag(e,t,r);if(this._signatureToName[i])return this._signatureToName[i];const a=e.toUpperCase(),u=Bf[a]||`TAG_${a}`,d=this._generateUniqueName(r?u:`START_${u}`);return this._signatureToName[i]=d,d}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const r=e.toUpperCase(),i=Bf[r]||`TAG_${r}`,a=this._generateUniqueName(`CLOSE_${i}`);return this._signatureToName[t]=a,a}getPlaceholderName(e,t){const r=e.toUpperCase(),i=`PH: ${r}=${t}`;if(this._signatureToName[i])return this._signatureToName[i];const a=this._generateUniqueName(r);return this._signatureToName[i]=a,a}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}getStartBlockPlaceholderName(e,t){const r=this._hashBlock(e,t);if(this._signatureToName[r])return this._signatureToName[r];const i=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[r]=i,i}getCloseBlockPlaceholderName(e){const t=this._hashClosingBlock(e);if(this._signatureToName[t])return this._signatureToName[t];const r=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[t]=r,r}_hashTag(e,t,r){return`<${e}`+Object.keys(t).sort().map(d=>` ${d}=${t[d]}`).join("")+(r?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_hashBlock(e,t){return`@${e}${0===t.length?"":` (${t.sort().join("; ")})`} {}`}_hashClosingBlock(e){return this._hashBlock(`close_${e}`,[])}_toSnakeCase(e){return e.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_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}`}}const QE=new Rf(new Ol);function Ff(n,e){const t=new qE(QE,n,e);return(r,i,a,u,d)=>t.toI18nMessage(r,i,a,u,d)}function JE(n,e){return e}class qE{_expressionParser;_retainEmptyTokens;_preserveExpressionWhitespace;constructor(e,t,r){this._expressionParser=e,this._retainEmptyTokens=t,this._preserveExpressionWhitespace=r}toI18nMessage(e,t="",r="",i="",a){const u={isIcu:1==e.length&&e[0]instanceof zi,icuDepth:0,placeholderRegistry:new ZE,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:a||JE},d=ct(this,e,u);return new dr(d,u.placeholderToContent,u.placeholderToMessage,t,r,i)}visitElement(e,t){return this._visitElementLike(e,t)}visitComponent(e,t){return this._visitElementLike(e,t)}visitDirective(e,t){throw new Error("Unreachable code")}visitAttribute(e,t){const r=void 0===e.valueTokens||1===e.valueTokens.length?new Zr(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,r)}visitText(e,t){const r=1===e.tokens.length?new Zr(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,r)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const r={},i=new xi(e.switchValue,e.type,r,e.sourceSpan);if(e.cases.forEach(d=>{r[d.value]=new Ur(d.expression.map(S=>S.visit(this,t)),d.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const d=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return i.expressionPlaceholder=d,t.placeholderToContent[d]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,i)}const a=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[a]=this.toI18nMessage([e],"","","",void 0);const u=new Ti(i,a,e.sourceSpan);return t.visitNodeFn(e,u)}visitExpansionCase(e,t){throw new Error("Unreachable code")}visitBlock(e,t){const r=ct(this,e.children,t);if("switch"===e.name)return new Ur(r,e.sourceSpan);const i=e.parameters.map(S=>S.expression),a=t.placeholderRegistry.getStartBlockPlaceholderName(e.name,i),u=t.placeholderRegistry.getCloseBlockPlaceholderName(e.name);t.placeholderToContent[a]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan},t.placeholderToContent[u]={text:e.endSourceSpan?e.endSourceSpan.toString():"}",sourceSpan:e.endSourceSpan??e.sourceSpan};const d=new Is(e.name,i,a,u,r,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,d)}visitBlockParameter(e,t){throw new Error("Unreachable code")}visitLetDeclaration(e,t){return null}_visitElementLike(e,t){const r=ct(this,e.children,t),i={},a=D=>{i[D.name]=D.value};let u,d;e instanceof br?(u=e.name,d=Rl(e.name).isVoid):(u=e.fullName,d=!!e.tagName&&Rl(e.tagName).isVoid),e.attrs.forEach(a),e.directives.forEach(D=>D.attrs.forEach(a));const S=t.placeholderRegistry.getStartTagPlaceholderName(u,i,d);t.placeholderToContent[S]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let T="";d||(T=t.placeholderRegistry.getCloseTagPlaceholderName(u),t.placeholderToContent[T]={text:`</${u}>`,sourceSpan:e.endSourceSpan??e.sourceSpan});const b=new ws(u,i,S,T,r,d,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,b)}_visitTextWithInterpolation(e,t,r,i){const a=[];let u=!1;for(const d of e)switch(d.type){case 8:case 18:u=!0;const[S,T,b]=d.parts,D=rS(T)||"INTERPOLATION",j=r.placeholderRegistry.getPlaceholderName(D,T);if(this._preserveExpressionWhitespace)r.placeholderToContent[j]={text:d.parts.join(""),sourceSpan:d.sourceSpan},a.push(new Qr(T,j,d.sourceSpan));else{const q=this.normalizeExpression(d);r.placeholderToContent[j]={text:`${S}${q}${b}`,sourceSpan:d.sourceSpan},a.push(new Qr(q,j,d.sourceSpan))}break;default:if(d.parts[0].length>0||this._retainEmptyTokens){const q=a[a.length-1];q instanceof Zr?(q.value+=d.parts[0],q.sourceSpan=new dt(q.sourceSpan.start,d.sourceSpan.end,q.sourceSpan.fullStart,q.sourceSpan.details)):a.push(new Zr(d.parts[0],d.sourceSpan))}else this._retainEmptyTokens&&a.push(new Zr(d.parts[0],d.sourceSpan))}return u?(function _E(n,e){if(e instanceof dr&&(function eS(n){const e=n.nodes;if(1!==e.length||!(e[0]instanceof Ur))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(e),e=e.nodes[0]),e instanceof Ur){!function tS(n,e){if(n.length!==e.length)throw new Error(`\nThe number of i18n message children changed between first and second pass.\n\nFirst pass (${n.length} tokens):\n${n.map(t=>`"${t.sourceSpan.toString()}"`).join("\n")}\n\nSecond pass (${e.length} tokens):\n${e.map(t=>`"${t.sourceSpan.toString()}"`).join("\n")}\n    `.trim());if(n.some((t,r)=>e[r].constructor!==t.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(e.children,n);for(let t=0;t<n.length;t++)n[t].sourceSpan=e.children[t].sourceSpan}}(a,i),new Ur(a,t)):a[0]}normalizeExpression(e){const t=e.parts[1];return function FE(n){return n.visit(new $E)}(this._expressionParser.parseBinding(t,e.sourceSpan,e.sourceSpan.start.offset))}}const nS=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function rS(n){return n.split(nS)[2]}const $f=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","iframe|src","object|codebase","object|data"]);function Uf(n,e){return n=n.toLowerCase(),e=e.toLowerCase(),$f.has(n+"|"+e)||$f.has("*|"+e)}const sS=n=>(e,t)=>{const r=n.get(e)??e;return r instanceof ci&&(t instanceof Ti&&r.i18n instanceof dr&&(t.previousMessage=r.i18n),r.i18n=t),t};class Vf{keepI18nAttrs;enableI18nLegacyMessageIdFormat;preserveSignificantWhitespace;retainEmptyTokens;hasI18nMeta=!1;_errors=[];constructor(e=!1,t=!1,r=!0,i=!r){this.keepI18nAttrs=e,this.enableI18nLegacyMessageIdFormat=t,this.preserveSignificantWhitespace=r,this.retainEmptyTokens=i}_generateI18nMessage(e,t="",r){const{meaning:i,description:a,customId:u}=this._parseMetadata(t),S=Ff(this.retainEmptyTokens,this.preserveSignificantWhitespace)(e,i,a,u,r);return this._setMessageId(S,t),this._setLegacyIds(S,t),S}visitAllWithErrors(e){const t=e.map(r=>r.visit(this,null));return new Ko(t,this._errors)}visitElement(e){return this._visitElementLike(e),e}visitComponent(e,t){return this._visitElementLike(e),e}visitExpansion(e,t){let r;const i=e.i18n;if(this.hasI18nMeta=!0,i instanceof Ti){const a=i.name;r=this._generateI18nMessage([e],i);Zc(r).name=a,null!==t&&(t.placeholderToMessage[a]=r)}else r=this._generateI18nMessage([e],t||i);return e.i18n=r,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}visitBlock(e,t){return ct(this,e.children,t),e}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitDirective(e,t){return e}_visitElementLike(e){let t;if(function Yv(n){return n.attrs.some(e=>Yc(e.name))}(e)){this.hasI18nMeta=!0;const r=[],i={};for(const a of e.attrs)if("i18n"===a.name){const u=e.i18n||a.value,d=new Map,S=this.preserveSignificantWhitespace?e.children:Hr(new Pl(!1,d),e.children);t=this._generateI18nMessage(S,u,sS(d)),0===t.nodes.length&&(t=void 0),e.i18n=t}else if(a.name.startsWith(Ju)){const u=a.name.slice(5);let d;d=e instanceof _n?null!==e.tagName&&Uf(e.tagName,u):Uf(e.name,u),d||lS(u)?this._reportError(a,`Translating attribute '${u}' is disallowed for security reasons.`):i[u]=a.value}else r.push(a);if(Object.keys(i).length)for(const a of r){const u=i[a.name];void 0!==u&&a.value&&(a.i18n=this._generateI18nMessage([a],a.i18n||u))}this.keepI18nAttrs||(e.attrs=r)}ct(this,e.children,t)}_parseMetadata(e){return"string"==typeof e?function oS(n=""){let e,t,r;if(n=n.trim(),n){const i=n.indexOf("@@"),a=n.indexOf("|");let u;[u,e]=i>-1?[n.slice(0,i),n.slice(i+2)]:[n,""],[t,r]=a>-1?[u.slice(0,a),u.slice(a+1)]:["",u]}return{customId:e,meaning:t,description:r}}(e):e instanceof dr?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof dr&&t.id||te(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[he(e),ce(e)];else if("string"!=typeof t){const r=t instanceof dr?t:t instanceof Ti?t.previousMessage:void 0;e.legacyIds=r?r.legacyIds:[]}}_reportError(e,t){this._errors.push(new We(e.sourceSpan,t))}}function uS(n){const e=[];return n.description?e.push({tagName:"desc",text:n.description}):e.push({tagName:"suppress",text:"{msgDescriptions}"}),n.meaning&&e.push({tagName:"meaning",text:n.meaning}),function $t(n=[]){return new cr(n)}(e)}function lS(n){const e=n.toLowerCase();return e.length>2&&"only"!==e&&e.startsWith("on")}function cS(n,e,t,r){const i=function dS(n){return n.nodes.map(e=>e.visit(fS,null)).join("")}(e),a=[W(i)];Object.keys(r).length&&(a.push(Wo(qu(r,!0),!0)),a.push(Wo({original_code:Tn(Object.keys(r).map(S=>({key:Ta(S),quoted:!0,value:e.placeholders[S]?W(e.placeholders[S].sourceSpan.toString()):W(e.placeholderToMessage[S].nodes.map(T=>T.sourceSpan.toString()).join(""))})))})));const u=new xe(t.name,Ie("goog").prop("getMsg").callFn(a,null,void 0,[Ss()]),Re,Yt.Final);u.addLeadingComment(uS(e));return[u,new oe(n.set(t))]}const fS=new class pS{formatPh(e){return`{$${Ta(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){return cf(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function hS(n,e,t){const{messageParts:r,placeHolders:i}=function mS(n){const e=[],t=new vS(n.placeholderToMessage,e);return n.nodes.forEach(r=>r.visit(t)),function yS(n){const e=[],t=[];n[0]instanceof Ct&&e.push(Ml(n[0].sourceSpan.start));for(let r=0;r<n.length;r++){const i=n[r];i instanceof st?e.push(i):(t.push(i),n[r-1]instanceof Ct&&e.push(Ml(n[r-1].sourceSpan.end)))}return n[n.length-1]instanceof Ct&&e.push(Ml(n[n.length-1].sourceSpan.end)),{messageParts:e,placeHolders:t}}(e)}(e),a=function gS(n){const e=n.nodes[0],t=n.nodes[n.nodes.length-1];return new dt(e.sourceSpan.fullStart,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)}(e),u=i.map(T=>t[T.text]),d=function co(n,e,t,r,i){return new Gt(n,e,t,r,i)}(e,r,i,u,a),S=n.set(d);return[new oe(S,null,[Ss()])]}class vS{placeholderToMessage;pieces;constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof st)this.pieces[this.pieces.length-1].text+=e.value;else{const t=new dt(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new st(e.value,t))}}visitContainer(e){e.children.forEach(t=>t.visit(this))}visitIcu(e){this.pieces.push(new st(cf(e),e.sourceSpan))}visitTagPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.isVoid||(e.children.forEach(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitBlockPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.children.forEach(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,r){return new Ct(Ta(e,!1),t,r)}}function Ml(n){return new st("",new dt(n,n))}const jf="ngI18nClosureMode",SS="I18N_EXP_";function Wf(n){return`MSG_${n}`.toUpperCase()}function TS(n){return new xe(n.name,void 0,Re,void 0,n.sourceSpan)}function Gf(n,e,t,r){const i=[],a=new Map;for(const T of r.subMessages){const b=t.get(T),{mainVar:D,statements:j}=Gf(n,e,t,b);i.push(...j);const q=a.get(b.messagePlaceholder)??[];q.push(D),a.set(b.messagePlaceholder,q)}(function AS(n,e){for(const[t,r]of e)1===r.length?n.params.set(t,r[0]):(n.params.set(t,W(`\ufffd${SS}${t}\ufffd`)),n.postprocessingParams.set(t,gt(r)))})(r,a),r.params=new Map([...r.params.entries()].sort());const u=Ie(n.pool.uniqueName("i18n_"),me),d=function bS(n,e,t,r){let i;const a=t;if(r){const u=Wf("EXTERNAL_"),d=n.uniqueName(a);i=`${u}${ri(e)}$$${d}`}else{const u=Wf(a);i=n.uniqueName(u)}return Ie(i)}(n.pool,r.message.id,e,n.i18nUseExternalIds);let S;if(r.needsPostprocessing||r.postprocessingParams.size>0){const b=qu(Object.fromEntries([...r.postprocessingParams.entries()].sort()),!1),D=[];r.postprocessingParams.size>0&&D.push(Wo(b,!0)),S=j=>le(U.i18nPostprocess).callFn([j,...D])}return i.push(...function wS(n,e,t,r,i){const a=Object.fromEntries(r),u=[TS(e),Mr(IS(),cS(e,n,t,a),hS(e,n,qu(a,!1)))];return i&&u.push(new oe(e.set(i(e)))),u}(r.message,u,d,r.params,S)),{mainVar:u,statements:i}}function IS(){return Gn(Ie(jf)).notIdentical(W("undefined",wn)).and(Ie(jf))}function OS(n){const e=[];for(const t of n)e.push(W(t.name),W(t.target));return gt(e)}function RS(n){const e=[];let t=0,r=0,i=0,a=0,u=0,d=null;for(;t<n.length;)switch(n.charCodeAt(t++)){case 40:r++;break;case 41:r--;break;case 39:0===i?i=39:39===i&&92!==n.charCodeAt(t-1)&&(i=0);break;case 34:0===i?i=34:34===i&&92!==n.charCodeAt(t-1)&&(i=0);break;case 58:!d&&0===r&&0===i&&(d=zf(n.substring(u,t-1).trim()),a=t);break;case 59:if(d&&a>0&&0===r&&0===i){const T=n.substring(a,t-1).trim();e.push(d,T),u=t,a=0,d=null}}if(d&&a){const S=n.slice(a).trim();e.push(d,S)}return e}function zf(n){return n.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function Xa(n,e,t){null===n.fnName&&(n.fnName=n.job.pool.uniqueName(ri(`${e}_${n.job.fnSuffix}`),!1));const r=new Map;for(const i of n.ops())switch(i.kind){case I.Property:case I.DomProperty:i.bindingKind===ze.LegacyAnimation&&(i.name="@"+i.name);break;case I.Animation:if(null===i.handlerFnName){const T=i.name.replace(".","");i.handlerFnName=`${n.fnName}_${T}_cb`,i.handlerFnName=ri(i.handlerFnName)}break;case I.AnimationListener:if(null!==i.handlerFnName)break;if(!i.hostListener&&null===i.targetSlot.slot)throw new Error("Expected a slot to be assigned");const a=i.name.replace(".","");i.hostListener?i.handlerFnName=`${e}_${a}_HostBindingHandler`:i.handlerFnName=`${n.fnName}_${i.tag.replace("-","_")}_${a}_${i.targetSlot.slot}_listener`,i.handlerFnName=ri(i.handlerFnName);break;case I.Listener:if(null!==i.handlerFnName)break;if(!i.hostListener&&null===i.targetSlot.slot)throw new Error("Expected a slot to be assigned");let u="";i.isLegacyAnimationListener&&(i.name=`@${i.name}.${i.legacyAnimationPhase}`,u="animation"),i.hostListener?i.handlerFnName=`${e}_${u}${i.name}_HostBindingHandler`:i.handlerFnName=`${n.fnName}_${i.tag.replace("-","_")}_${u}${i.name}_${i.targetSlot.slot}_listener`,i.handlerFnName=ri(i.handlerFnName);break;case I.TwoWayListener:if(null!==i.handlerFnName)break;if(null===i.targetSlot.slot)throw new Error("Expected a slot to be assigned");i.handlerFnName=ri(`${n.fnName}_${i.tag.replace("-","_")}_${i.name}_${i.targetSlot.slot}_listener`);break;case I.Variable:r.set(i.xref,kS(i.variable,t));break;case I.RepeaterCreate:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");if(null===i.handle.slot)throw new Error("Expected slot to be assigned");if(null!==i.emptyView){Xa(n.job.views.get(i.emptyView),`${e}_${i.functionNameSuffix}Empty_${i.handle.slot+2}`,t)}Xa(n.job.views.get(i.xref),`${e}_${i.functionNameSuffix}_${i.handle.slot+1}`,t);break;case I.Projection:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");if(null===i.handle.slot)throw new Error("Expected slot to be assigned");if(null!==i.fallbackView){Xa(n.job.views.get(i.fallbackView),`${e}_ProjectionFallback_${i.handle.slot}`,t)}break;case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");const d=n.job.views.get(i.xref);if(null===i.handle.slot)throw new Error("Expected slot to be assigned");Xa(d,`${e}${0===i.functionNameSuffix.length?"":`_${i.functionNameSuffix}`}_${i.handle.slot}`,t);break;case I.StyleProp:i.name=Xf(BS(i.name));break;case I.ClassProp:i.name=Xf(i.name)}for(const i of n.ops())Dn(i,a=>{if(a instanceof es&&null===a.name){if(!r.has(a.xref))throw new Error(`Variable ${a.xref} not yet named`);a.name=r.get(a.xref)}})}function kS(n,e){if(null===n.name)switch(n.kind){case $n.Context:n.name="ctx_r"+e.index++;break;case $n.Identifier:const t=n.identifier===Tr?"i":"";n.name=`${n.identifier}_${t}r${++e.index}`;break;default:n.name="_r"+ ++e.index}return n.name}function BS(n){return n.startsWith("--")?n:zf(n)}function Xf(n){const e=n.indexOf("!important");return e>-1?n.substring(0,e):n}function Jo(n){for(const e of n){if(!(e.kind===I.Statement&&e.statement instanceof oe&&e.statement.expr instanceof La))continue;const t=e.statement.expr.steps;let r=!0;for(let i=e.next;i.kind!==I.ListEnd&&r;i=i.next)Dn(i,(a,u)=>{if(!_r(a))return a;if(r&&!(u&bt.InChildOperation))switch(a.kind){case Ye.NextContext:a.steps+=t,ie.remove(e),r=!1;break;case Ye.GetCurrentView:case Ye.Reference:case Ye.ContextLetReference:r=!1}})}}function VS(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function rs(n){return e=>e.kind===n}function Ka(n,e){return t=>t.kind===n&&e===t.expression instanceof On}const GS=[{test:n=>n.kind===I.Listener&&n.hostListener&&n.isLegacyAnimationListener},{test:function HS(n){return n.kind===I.Listener&&!(n.hostListener&&n.isLegacyAnimationListener)||n.kind===I.TwoWayListener||n.kind===I.Animation||n.kind===I.AnimationListener}}],zS=[{test:rs(I.StyleMap),transform:qo},{test:rs(I.ClassMap),transform:qo},{test:rs(I.StyleProp)},{test:rs(I.ClassProp)},{test:Ka(I.Attribute,!0)},{test:Ka(I.Property,!0)},{test:function WS(n){return!(n.kind!==I.Property&&n.kind!==I.TwoWayProperty||n.expression instanceof On)}},{test:Ka(I.Attribute,!1)},{test:rs(I.Control)}],XS=[{test:Ka(I.DomProperty,!0)},{test:Ka(I.DomProperty,!1)},{test:rs(I.Attribute)},{test:rs(I.StyleMap),transform:qo},{test:rs(I.ClassMap),transform:qo},{test:rs(I.StyleProp)},{test:rs(I.ClassProp)}],Kf=new Set([I.Listener,I.TwoWayListener,I.AnimationListener,I.StyleMap,I.ClassMap,I.StyleProp,I.ClassProp,I.Property,I.TwoWayProperty,I.DomProperty,I.Attribute,I.Animation,I.Control]);function Yf(n,e){let t=[],r=null;for(const i of n){const a=Ra(i)?i.target:null;(!Kf.has(i.kind)||a!==r&&null!==r&&null!==a)&&(ie.insertBefore(Zf(t,e),i),t=[],r=null),Kf.has(i.kind)&&(t.push(i),ie.remove(i),r=a??r)}n.push(Zf(t,e))}function Zf(n,e){const t=Array.from(e,()=>new Array);for(const r of n){t[e.findIndex(a=>a.test(r))].push(r)}return t.flatMap((r,i)=>{const a=e[i].transform;return a?a(r):r})}function qo(n){return n.slice(n.length-1)}function ZS(n){return"select"===n.toLowerCase()}function QS(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an slottable target.");return t}function qS(n){for(const e of n.update)Dn(e,(t,r)=>{if(_r(t)&&t.kind===Ye.PipeBinding){if(r&bt.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(null==e.target)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");_S(n,e.target,t)}})}function _S(n,e,t){for(let r=n.create.head.next;r.kind!==I.ListEnd;r=r.next){if(!Di(r)||r.xref!==e)continue;for(;r.next.kind===I.Pipe;)r=r.next;const i=Sg(t.target,t.targetSlot,t.name);return void ie.insertBefore(i,r.next)}throw new Error(`AssertionError: unable to find insertion point for pipe ${t.name}`)}function Qf(n,e){let t=null;for(const r of n.create)switch(r.kind){case I.I18nStart:r.subTemplateIndex=0===e?null:e,t=r;break;case I.I18nEnd:null===t.subTemplateIndex&&(e=0),t=null;break;case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:e=_o(n.job.views.get(r.xref),t,r.i18nPlaceholder,e);break;case I.RepeaterCreate:e=_o(n.job.views.get(r.xref),t,r.i18nPlaceholder,e),null!==r.emptyView&&(e=_o(n.job.views.get(r.emptyView),t,r.emptyI18nPlaceholder,e));break;case I.Projection:null!==r.fallbackView&&(e=_o(n.job.views.get(r.fallbackView),t,r.fallbackViewI18nPlaceholder,e))}return e}function _o(n,e,t,r){if(void 0!==t){if(null===e)throw Error("Expected template with i18n placeholder to be in an i18n block.");r++,function nx(n,e){if(n.create.head.next?.kind!==I.I18nStart){const t=n.job.allocateXrefId();ie.insertAfter(jo(t,e.message,e.root,null),n.create.head),ie.insertBefore(Ho(t,null),n.create.tail)}}(n,e)}return Qf(n,r)}class sx extends ua{numArgs;constructor(e){super(),this.numArgs=e}keyOf(e){return e instanceof fs?`param(${e.index})`:super.keyOf(e)}toSharedConstantDeclaration(e,t){const r=[];for(let a=0;a<this.numArgs;a++)r.push(new Me("a"+a,me));const i=He(t,a=>a instanceof fs?Ie("a"+a.index):a,bt.None);return new xe(e,new It(r,i),void 0,Yt.Final)}}function ax(n){const e=[],t=[];for(const r of n.entries)if(r instanceof pe)if(r.expression.isConstant())e.push(r);else{const i=t.length;t.push(r.expression),e.push(new pe(new fs(i)))}else if(r.isConstant())e.push(r);else{const i=t.length;t.push(r),e.push(new fs(i))}return new Ms(gt(e),t)}function ox(n){let e=[];const t=[];for(const r of n.entries)if(r instanceof Xt)if(r.expression.isConstant())e.push(r);else{const i=t.length;t.push(r.expression),e.push(new Xt(new fs(i)))}else if(r.value.isConstant())e.push(r);else{const i=t.length;t.push(r.value),e.push(new cn(r.key,new fs(i),r.quoted))}return new Ms(new ue(e),t)}const ux=new Set(["d","i","m","s","u","v"]);function cx(n){if(!n.flags)return!0;for(let e=0;e<n.flags.length;e++)if(!ux.has(n.flags[e]))return!1;return!0}class px extends ua{toSharedConstantDeclaration(e,t){return new xe(e,t,void 0,Yt.Final)}}function fx(n,e,t,r,i){return Vs(U.element,n,e,t,r,i)}function dx(n,e,t,r,i){return Vs(U.elementStart,n,e,t,r,i)}function hx(n,e,t,r){const i=[W(n),e];return null!==t&&i.push(t),yt(U.foreignComponent,i,r)}function Vs(n,e,t,r,i,a){const u=[W(e)];return null!==t&&u.push(W(t)),null!==i?u.push(W(r),W(i)):null!==r&&u.push(W(r)),yt(n,u,a)}function Jf(n,e,t,r,i,a,u,d,S){const T=[W(e),t,W(r),W(i),W(a),W(u)];for(null!==d&&(T.push(W(d)),T.push(le(U.templateRefExtractor)));T[T.length-1].isEquivalent(et);)T.pop();return yt(n,T,S)}function Ll(n,e,t,r,i){const a=[W(e)];return t instanceof On?a.push(_i(t,i)):a.push(t),null!==r&&a.push(r),yt(n,a,i)}function mx(n){return yt(U.elementEnd,[],n)}function gx(n,e,t,r){return Vs(U.elementContainerStart,n,null,e,t,r)}function yx(n,e,t,r){return Vs(U.elementContainer,n,null,e,t,r)}function Ex(){return yt(U.elementContainerEnd,[],null)}function Sx(n,e,t,r,i,a,u,d){return Jf(U.templateCreate,n,e,t,r,i,a,u,d)}function xx(){return yt(U.disableBindings,[],null)}function Tx(){return yt(U.enableBindings,[],null)}function Cx(n,e,t,r,i){const a=[W(n),e];return null!==t&&a.push(le(t)),yt(r?U.syntheticHostListener:U.listener,a,i)}function qf(n,e){return le(U.twoWayBindingSet).callFn([n,e])}function Ax(n,e,t){return yt(U.twoWayListener,[W(n),e],t)}function wx(n,e){return yt(U.pipe,[W(n),W(e)],null)}function Ix(){return yt(U.namespaceHTML,[],null)}function bx(){return yt(U.namespaceSVG,[],null)}function Nx(){return yt(U.namespaceMathML,[],null)}function Px(n,e){return yt(U.advance,n>1?[W(n)]:[],e)}function kx(n,e,t){const r=[W(n,null)];return""!==e&&r.push(W(e)),yt(U.text,r,t)}function Bx(n,e,t,r,i,a,u,d,S,T,b){const D=[W(n),W(e),t??W(null),W(r),W(i),W(a),u??W(null),d??W(null),S?le(U.deferEnableTimerScheduling):W(null),W(b)];let j;for(;null!==(j=D[D.length-1])&&j instanceof Te&&null===j.value;)D.pop();return yt(U.defer,D,T)}function Fx(n){return yt(U.enableIncrementalHydrationRuntime,[],n)}const $x=new Map([[nn.Idle,{none:U.deferOnIdle,prefetch:U.deferPrefetchOnIdle,hydrate:U.deferHydrateOnIdle}],[nn.Immediate,{none:U.deferOnImmediate,prefetch:U.deferPrefetchOnImmediate,hydrate:U.deferHydrateOnImmediate}],[nn.Timer,{none:U.deferOnTimer,prefetch:U.deferPrefetchOnTimer,hydrate:U.deferHydrateOnTimer}],[nn.Hover,{none:U.deferOnHover,prefetch:U.deferPrefetchOnHover,hydrate:U.deferHydrateOnHover}],[nn.Interaction,{none:U.deferOnInteraction,prefetch:U.deferPrefetchOnInteraction,hydrate:U.deferHydrateOnInteraction}],[nn.Viewport,{none:U.deferOnViewport,prefetch:U.deferPrefetchOnViewport,hydrate:U.deferHydrateOnViewport}],[nn.Never,{none:U.deferHydrateNever,prefetch:U.deferHydrateNever,hydrate:U.deferHydrateNever}]]);function Ux(n,e,t,r){const i=$x.get(n)?.[t];if(void 0===i)throw new Error(`Unable to determine instruction for trigger ${n}`);return yt(i,e,r)}function Vx(n){return yt(U.projectionDef,n?[n]:[],null)}function jx(n,e,t,r,i,a,u){const d=[W(n)];return(0!==e||null!==t||null!==r)&&(d.push(W(e)),null!==t&&d.push(t),null!==r&&(null===t&&d.push(W(null)),d.push(Ie(r),W(i),W(a)))),yt(U.projection,d,u)}function Hx(n,e,t,r){const i=[W(n),W(e)];return null!==t&&i.push(W(t)),yt(U.i18nStart,i,r)}function Wx(n,e,t,r,i,a,u,d){const S=[W(n),e,W(t),W(r),W(i),W(a)];for(null!==u&&(S.push(W(u)),S.push(le(U.templateRefExtractor)));S[S.length-1].isEquivalent(et);)S.pop();return yt(U.conditionalCreate,S,d)}function Gx(n,e,t,r,i,a,u,d){const S=[W(n),e,W(t),W(r),W(i),W(a)];for(null!==u&&(S.push(W(u)),S.push(le(U.templateRefExtractor)));S[S.length-1].isEquivalent(et);)S.pop();return yt(U.conditionalBranchCreate,S,d)}function zx(n,e,t,r,i,a,u,d,S,T,b,D,j,q){const se=[W(n),Ie(e),W(t),W(r),W(i),W(a),u];return(d||null!==S)&&(se.push(W(d)),null!==S&&(se.push(Ie(S),W(T),W(b)),(null!==D||null!==j)&&se.push(W(D)),null!==j&&se.push(W(j)))),yt(U.repeaterCreate,se,q)}function Xx(n,e){return yt(U.repeater,[n],e)}function Kx(n,e,t){return yt("prefetch"===n?U.deferPrefetchWhen:"hydrate"===n?U.deferHydrateWhen:U.deferWhen,[e],t)}function Yx(n,e){return yt(U.declareLet,[W(n)],e)}function Jx(n,e,t,r){const i=[W(n),W(e)];return t&&i.push(W(t)),yt(U.i18n,i,r)}function qx(n){return yt(U.i18nEnd,[],n)}function _x(n,e){const t=[W(n),W(e)];return yt(U.i18nAttributes,t,null)}function r2(n){return yt(U.controlCreate,[],n)}function s2(n,e,t,r){const i=[W(n),e];return null!==t&&i.push(t),yt(U.twoWayProperty,i,r)}function i2(n,e,t,r,i){const a=[W(n)];return e instanceof On?a.push(_i(e,i)):a.push(e),(null!==t||null!==r)&&a.push(t??W(null)),null!==r&&a.push(W(r)),yt(U.attribute,a,null)}function a2(n,e,t,r){const i=[W(n)];return e instanceof On?i.push(_i(e,r)):i.push(e),null!==t&&i.push(W(t)),yt(U.styleProp,i,r)}function o2(n,e,t){return yt(U.classProp,[W(n),e],t)}function u2(n,e){const t=n instanceof On?_i(n,e):n;return yt(U.styleMap,[t],e)}function l2(n,e){const t=n instanceof On?_i(n,e):n;return yt(U.classMap,[t],e)}function c2(n,e,t,r,i){return Vs(U.domElement,n,e,t,r,i)}function p2(n,e,t,r,i){return Vs(U.domElementStart,n,e,t,r,i)}function f2(n){return yt(U.domElementEnd,[],n)}function d2(n,e,t,r){return Vs(U.domElementContainerStart,n,null,e,t,r)}function h2(n,e,t,r){return Vs(U.domElementContainer,n,null,e,t,r)}function v2(){return yt(U.domElementContainerEnd,[],null)}function m2(n,e,t,r){const i=[W(n),e];return null!==t&&i.push(le(t)),yt(U.domListener,i,r)}function g2(n,e,t,r,i,a,u,d){return Jf(U.domTemplate,n,e,t,r,i,a,u,d)}const _f=[U.pipeBind1,U.pipeBind2,U.pipeBind3,U.pipeBind4];function S2(n,e,t){const r=ed(n,e);return function k2(n,e,t,r){return wr(kl(n,e,t,r).toStmt())}(R2,[],r,t)}function x2(n,e){return yt(U.i18nExp,[n],e)}function T2(n,e){return yt(U.i18nApply,[W(n)],e)}function A2(n,e,t,r){const i=[e];null!==t&&i.push(t);return yt("enter"===n?U.animationEnter:U.animationLeave,i,r)}function w2(n,e,t,r){const a=[e instanceof On?_i(e,r):e];null!==t&&a.push(t);return yt("enter"===n?U.animationEnter:U.animationLeave,a,r)}function I2(n,e,t,r){const i=[e];return yt("enter"===n?U.animationEnterListener:U.animationLeaveListener,i,r)}function b2(n,e,t){return yt(U.syntheticHostProperty,[W(n),e],t)}function P2(n,e){return yt(U.attachSourceLocations,[W(n),e],null)}function ed(n,e){if(n.length<1||e.length!==n.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");const t=[];if(1===e.length&&""===n[0]&&""===n[1])t.push(e[0]);else{let r;for(r=0;r<e.length;r++)t.push(W(n[r]),e[r]);t.push(W(n[r]))}return t}function _i(n,e){const t=ed(n.strings,n.expressions);return kl(M2,[],t,e)}function yt(n,e,t){const r=le(n).callFn(e,t);return wr(new oe(r,t))}function D2(n,e,t){const r=[n];return null!==e&&r.push(e),yt(U.conditional,r,t)}const R2={constant:[U.textInterpolate,U.textInterpolate1,U.textInterpolate2,U.textInterpolate3,U.textInterpolate4,U.textInterpolate5,U.textInterpolate6,U.textInterpolate7,U.textInterpolate8],variable:U.textInterpolateV,mapping:n=>{if(n%2==0)throw new Error("Expected odd number of arguments");return(n-1)/2}},M2={constant:[U.interpolate,U.interpolate1,U.interpolate2,U.interpolate3,U.interpolate4,U.interpolate5,U.interpolate6,U.interpolate7,U.interpolate8],variable:U.interpolateV,mapping:n=>{if(n%2==0)throw new Error("Expected odd number of arguments");return(n-1)/2}},L2={constant:[U.pureFunction0,U.pureFunction1,U.pureFunction2,U.pureFunction3,U.pureFunction4,U.pureFunction5,U.pureFunction6,U.pureFunction7,U.pureFunction8],variable:U.pureFunctionV,mapping:n=>n};function kl(n,e,t,r){const i=n.mapping(t.length),a=t.at(-1);if(t.length>1&&a instanceof Te&&""===a.value&&t.pop(),i<n.constant.length)return le(n.constant[i]).callFn([...e,...t],r);if(null!==n.variable)return le(n.variable).callFn([...e,gt(t)],r);throw new Error("AssertionError: unable to call variadic function")}const B2=new Map([["window",U.resolveWindow],["document",U.resolveDocument],["body",U.resolveBody]]),F2=new Map([["class","className"],["for","htmlFor"],["formaction","formAction"],["innerHtml","innerHTML"],["readonly","readOnly"],["tabindex","tabIndex"]]);function U2(n,e){for(const t of e)switch(Sn(t,r=>nd(n,r),bt.None),t.kind){case I.Text:ie.replace(t,kx(t.handle.slot,t.initialValue,t.sourceSpan));break;case I.ElementStart:ie.replace(t,n.job.mode===or.DomOnly?p2(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan):dx(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case I.Element:ie.replace(t,n.job.mode===or.DomOnly?c2(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan):fx(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan));break;case I.ForeignComponent:const r=t.props.size>0?Tn(Array.from(t.props.entries()).map(([gn,gc])=>({key:gn,value:gc,quoted:fa(gn)}))):null;ie.replace(t,hx(t.handle.slot,W(t.constIndex),r,t.sourceSpan));break;case I.ElementEnd:ie.replace(t,n.job.mode===or.DomOnly?f2(t.sourceSpan):mx(t.sourceSpan));break;case I.ContainerStart:ie.replace(t,n.job.mode===or.DomOnly?d2(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan):gx(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan));break;case I.Container:ie.replace(t,n.job.mode===or.DomOnly?h2(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan):yx(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan));break;case I.ContainerEnd:ie.replace(t,n.job.mode===or.DomOnly?v2():Ex());break;case I.I18nStart:ie.replace(t,Hx(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case I.I18nEnd:ie.replace(t,qx(t.sourceSpan));break;case I.I18n:ie.replace(t,Jx(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case I.I18nAttributes:if(null===t.i18nAttributesConfig)throw new Error("AssertionError: i18nAttributesConfig was not set");ie.replace(t,_x(t.handle.slot,t.i18nAttributesConfig));break;case I.Template:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const i=n.job.views.get(t.xref);ie.replace(t,t.templateKind===Jn.Block||n.job.mode===or.DomOnly?g2(t.handle.slot,Ie(i.fnName),i.decls,i.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan):Sx(t.handle.slot,Ie(i.fnName),i.decls,i.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case I.DisableBindings:ie.replace(t,xx());break;case I.EnableBindings:ie.replace(t,Tx());break;case I.Pipe:ie.replace(t,wx(t.handle.slot,t.name));break;case I.DeclareLet:ie.replace(t,Yx(t.handle.slot,t.sourceSpan));break;case I.AnimationString:ie.replace(t,w2(t.animationKind,t.expression,t.sanitizer,t.sourceSpan));break;case I.Animation:const a=tu(n,t.handlerFnName,t.handlerOps,!1);ie.replace(t,A2(t.animationKind,a,t.sanitizer,t.sourceSpan));break;case I.AnimationListener:const u=tu(n,t.handlerFnName,t.handlerOps,t.consumesDollarEvent);ie.replace(t,I2(t.animationKind,u,0,t.sourceSpan));break;case I.Listener:const d=tu(n,t.handlerFnName,t.handlerOps,t.consumesDollarEvent),S=t.eventTarget?B2.get(t.eventTarget):null;if(void 0===S)throw new Error(`Unexpected global target '${t.eventTarget}' defined for '${t.name}' event. Supported list of global targets: window,document,body.`);ie.replace(t,n.job.mode!==or.DomOnly||t.hostListener||t.isLegacyAnimationListener?Cx(t.name,d,S,t.hostListener&&t.isLegacyAnimationListener,t.sourceSpan):m2(t.name,d,S,t.sourceSpan));break;case I.TwoWayListener:ie.replace(t,Ax(t.name,tu(n,t.handlerFnName,t.handlerOps,!0),t.sourceSpan));break;case I.Variable:if(null===t.variable.name)throw new Error(`AssertionError: unnamed variable ${t.xref}`);ie.replace(t,wr(new xe(t.variable.name,t.initializer,me,Yt.Final)));break;case I.Namespace:switch(t.active){case Nn.HTML:ie.replace(t,Ix());break;case Nn.SVG:ie.replace(t,bx());break;case Nn.Math:ie.replace(t,Nx())}break;case I.Defer:const T=!!t.loadingMinimumTime||!!t.loadingAfterTime||!!t.placeholderMinimumTime;ie.replace(t,Bx(t.handle.slot,t.mainSlot.slot,t.resolverFn,t.loadingSlot?.slot??null,t.placeholderSlot?.slot??null,t.errorSlot?.slot??null,t.loadingConfig,t.placeholderConfig,T,t.sourceSpan,t.flags));break;case I.DeferOn:let b=[];const D=t.trigger.kind;switch(D){case nn.Never:case nn.Immediate:break;case nn.Idle:null!=t.trigger.timeout&&(b=[W(t.trigger.timeout)]);break;case nn.Timer:b=[W(t.trigger.delay)];break;case nn.Viewport:"hydrate"===t.modifier?b=t.trigger.options?[t.trigger.options]:[]:(b=[W(t.trigger.targetSlot?.slot??null)],0!==t.trigger.targetSlotViewSteps?b.push(W(t.trigger.targetSlotViewSteps)):t.trigger.options&&b.push(W(null)),t.trigger.options&&b.push(t.trigger.options));break;case nn.Interaction:case nn.Hover:"hydrate"===t.modifier?b=[]:(b=[W(t.trigger.targetSlot?.slot??null)],0!==t.trigger.targetSlotViewSteps&&b.push(W(t.trigger.targetSlotViewSteps)));break;default:throw new Error(`AssertionError: Unsupported reification of defer trigger kind ${D}`)}ie.replace(t,Ux(t.trigger.kind,b,t.modifier,t.sourceSpan));break;case I.ProjectionDef:ie.replace(t,Vx(t.def));break;case I.EnableIncrementalHydrationRuntime:ie.replace(t,Fx(t.sourceSpan));break;case I.Projection:if(null===t.handle.slot)throw new Error("No slot was assigned for project instruction");let j=null,q=null,se=null;if(null!==t.fallbackView){if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");const gn=n.job.views.get(t.fallbackView);if(void 0===gn)throw new Error("AssertionError: projection had fallback view xref, but fallback view was not found");if(null===gn.fnName||null===gn.decls||null===gn.vars)throw new Error("AssertionError: expected projection fallback view to have been named and counted");j=gn.fnName,q=gn.decls,se=gn.vars}ie.replace(t,jx(t.handle.slot,t.projectionSlotIndex,t.attributes,j,q,se,t.sourceSpan));break;case I.ConditionalCreate:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const Se=n.job.views.get(t.xref);ie.replace(t,Wx(t.handle.slot,Ie(Se.fnName),Se.decls,Se.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case I.ConditionalBranchCreate:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const Ae=n.job.views.get(t.xref);ie.replace(t,Gx(t.handle.slot,Ie(Ae.fnName),Ae.decls,Ae.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case I.RepeaterCreate:if(null===t.handle.slot)throw new Error("No slot was assigned for repeater instruction");if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");const je=n.job.views.get(t.xref);if(null===je.fnName)throw new Error("AssertionError: expected repeater primary view to have been named");let St=null,en=null,hn=null;if(null!==t.emptyView){const gn=n.job.views.get(t.emptyView);if(void 0===gn)throw new Error("AssertionError: repeater had empty view xref, but empty view was not found");if(null===gn.fnName||null===gn.decls||null===gn.vars)throw new Error("AssertionError: expected repeater empty view to have been named and counted");St=gn.fnName,en=gn.decls,hn=gn.vars}ie.replace(t,zx(t.handle.slot,je.fnName,t.decls,t.vars,t.tag,t.attributes,H2(n,t),t.usesComponentInstance,St,en,hn,t.emptyTag,t.emptyAttributes,t.wholeSourceSpan));break;case I.SourceLocation:const gs=gt(t.locations.map(({targetSlot:gn,offset:gc,line:hw,column:vw})=>{if(null===gn.slot)throw new Error("No slot was assigned for source location");return gt([W(gn.slot),W(gc),W(hw),W(vw)])}));ie.replace(t,P2(t.templatePath,gs));break;case I.ControlCreate:ie.replace(t,r2(t.sourceSpan));break;case I.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of create op ${I[t.kind]}`)}}function eu(n,e){for(const t of e)switch(Sn(t,r=>nd(n,r),bt.None),t.kind){case I.Advance:ie.replace(t,Px(t.delta,t.sourceSpan));break;case I.Property:ie.replace(t,n.job.mode===or.DomOnly&&t.bindingKind!==ze.LegacyAnimation&&t.bindingKind!==ze.Animation?td(t):V2(t));break;case I.Control:ie.replace(t,j2(t));break;case I.TwoWayProperty:ie.replace(t,s2(t.name,t.expression,t.sanitizer,t.sourceSpan));break;case I.StyleProp:ie.replace(t,a2(t.name,t.expression,t.unit,t.sourceSpan));break;case I.ClassProp:ie.replace(t,o2(t.name,t.expression,t.sourceSpan));break;case I.StyleMap:ie.replace(t,u2(t.expression,t.sourceSpan));break;case I.ClassMap:ie.replace(t,l2(t.expression,t.sourceSpan));break;case I.I18nExpression:ie.replace(t,x2(t.expression,t.sourceSpan));break;case I.I18nApply:ie.replace(t,T2(t.handle.slot,t.sourceSpan));break;case I.InterpolateText:ie.replace(t,S2(t.interpolation.strings,t.interpolation.expressions,t.sourceSpan));break;case I.Attribute:ie.replace(t,i2(t.name,t.expression,t.sanitizer,t.namespace,t.sourceSpan));break;case I.DomProperty:if(t.expression instanceof On)throw new Error("not yet handled");t.bindingKind===ze.LegacyAnimation||t.bindingKind===ze.Animation?ie.replace(t,b2(t.name,t.expression,t.sourceSpan)):ie.replace(t,td(t));break;case I.Variable:if(null===t.variable.name)throw new Error(`AssertionError: unnamed variable ${t.xref}`);ie.replace(t,wr(new xe(t.variable.name,t.initializer,me,Yt.Final)));break;case I.Conditional:if(null===t.processed)throw new Error("Conditional test was not set.");ie.replace(t,D2(t.processed,t.contextValue,t.sourceSpan));break;case I.Repeater:ie.replace(t,Xx(t.collection,t.sourceSpan));break;case I.DeferWhen:ie.replace(t,Kx(t.modifier,t.expr,t.sourceSpan));break;case I.StoreLet:throw new Error(`AssertionError: unexpected storeLet ${t.declaredName}`);case I.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of update op ${I[t.kind]}`)}}function td(n){return function C2(n,e,t,r){return Ll(U.domProperty,n,e,t,r)}(F2.get(n.name)??n.name,n.expression,n.sanitizer,n.sourceSpan)}function V2(n){return Zp(n.name)?function e2(n,e,t){return Ll(U.ariaProperty,n,e,null,t)}(n.name,n.expression,n.sourceSpan):function t2(n,e,t,r){return Ll(U.property,n,e,t,r)}(n.name,n.expression,n.sanitizer,n.sourceSpan)}function j2(n){return function n2(n){return yt(U.control,[],n)}(n.sourceSpan)}function nd(n,e){if(!_r(e))return e;switch(e.kind){case Ye.NextContext:return function Dx(n){return le(U.nextContext).callFn(1===n?[]:[W(n)])}(e.steps);case Ye.Reference:return function Ox(n){return le(U.reference).callFn([W(n)])}(e.targetSlot.slot+1+e.offset);case Ye.ForeignContent:if(!(n instanceof jr))throw new Error("AssertionError: must be compiling a component");const t=n.job.views.get(e.childrenViewXref).contextVariables.size>0;return function vx(n,e,t){return le(t?U.foreignContentFn:U.foreignContent).callFn([W(n),W(e)])}(e.childrenViewHandle.slot,e.foreignComponentConstIndex,t);case Ye.LexicalRead:throw new Error(`AssertionError: unresolved LexicalRead of ${e.name}`);case Ye.TwoWayBindingSet:throw new Error("AssertionError: unresolved TwoWayBindingSet");case Ye.RestoreView:if("number"==typeof e.view)throw new Error("AssertionError: unresolved RestoreView");return function Mx(n){return le(U.restoreView).callFn([n])}(e.view);case Ye.ResetView:return function Lx(n){return le(U.resetView).callFn([n])}(e.expr);case Ye.GetCurrentView:return function Rx(){return le(U.getCurrentView).callFn([])}();case Ye.ReadVariable:if(null===e.name)throw new Error(`Read of unnamed variable ${e.xref}`);return Ie(e.name);case Ye.ReadTemporaryExpr:if(null===e.name)throw new Error(`Read of unnamed temporary ${e.xref}`);return Ie(e.name);case Ye.AssignTemporaryExpr:if(null===e.name)throw new Error(`Assign of unnamed temporary ${e.xref}`);return Ie(e.name).set(e.expr);case Ye.PureFunctionExpr:if(null===e.fn)throw new Error("AssertionError: expected PureFunctions to have been extracted");return function N2(n,e,t){return kl(L2,[W(n),e],t,null)}(e.varOffset,e.fn,e.args);case Ye.PureFunctionParameterExpr:throw new Error("AssertionError: expected PureFunctionParameterExpr to have been extracted");case Ye.PipeBinding:return function y2(n,e,t){if(t.length<1||t.length>_f.length)throw new Error("pipeBind() argument count out of bounds");return le(_f[t.length-1]).callFn([W(n),W(e),...t])}(e.targetSlot.slot,e.varOffset,e.args);case Ye.PipeBindingVariadic:return function E2(n,e,t){return le(U.pipeBindV).callFn([W(n),W(e),t])}(e.targetSlot.slot,e.varOffset,e.args);case Ye.SlotLiteralExpr:return W(e.slot.slot);case Ye.ContextLetReference:return function Qx(n){return le(U.readContextLet).callFn([W(n)])}(e.targetSlot.slot);case Ye.StoreLet:return function Zx(n,e){return le(U.storeLet).callFn([n],e)}(e.value,e.sourceSpan);case Ye.TrackContext:return Ie("this");case Ye.ArrowFunction:if(null===e.varOffset)throw new Error("AssertionError: variable offset was not assigned to arrow function");return function O2(n,e,t){return le(U.arrowFunction).callFn([W(n),e,t])}(e.varOffset,n.job.pool.getSharedFunctionReference(function W2(n,e){eu(n,e.ops);const t=[];for(const i of e.ops){if(i.kind!==I.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${I[i.kind]}`);t.push(i.statement)}const r=1===t.length&&t[0]instanceof we?t[0].value:t;return an([new Me(e.contextName,me),new Me(e.currentViewName,me)],an(e.parameters,r))}(n,e),"arrowFn"),Ie(Tr));default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${Ye[e.kind]}`)}}function tu(n,e,t,r){eu(n,t);const i=[];for(const u of t){if(u.kind!==I.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${I[u.kind]}`);i.push(u.statement)}const a=[];return r&&a.push(new Me("$event",me)),Pr(a,i,void 0,void 0,e)}function H2(n,e){if(null!==e.trackByFn)return e.trackByFn;const t=[new Me("$index",Mt),new Me("$item",me)];let r;if(null===e.trackByOps)r=e.usesComponentInstance?Pr(t,[new we(e.track)]):an(t,e.track);else{eu(n,e.trackByOps);const i=[];for(const a of e.trackByOps){if(a.kind!==I.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${I[a.kind]}`);i.push(a.statement)}r=!e.usesComponentInstance&&1===i.length&&i[0]instanceof we?an(t,i[0].value):Pr(t,i)}return e.trackByFn=n.job.pool.getSharedFunctionReference(r,"_forTrack"),e.trackByFn}function Ya(n,e){const t=new Map;t.set(n.xref,Ie(Tr));for(const r of e)switch(r.kind){case I.Variable:r.variable.kind===$n.Context&&t.set(r.variable.view,new es(r.xref));break;case I.Animation:case I.AnimationListener:case I.Listener:case I.TwoWayListener:Ya(n,r.handlerOps);break;case I.RepeaterCreate:null!==r.trackByOps&&Ya(n,r.trackByOps)}n===n.job.root&&t.set(n.xref,Ie(Tr));for(const r of e)Sn(r,i=>{if(i instanceof ps){if(!t.has(i.view))throw new Error(`No context found for reference to view ${i.view} from view ${n.xref}`);return t.get(i.view)}return i},bt.None)}function rd(n){for(const e of n)(e.kind===I.Listener||e.kind===I.TwoWayListener||e.kind===I.AnimationListener)&&Sn(e,t=>t instanceof Un&&"$event"===t.name?((e.kind===I.Listener||e.kind===I.AnimationListener)&&(e.consumesDollarEvent=!0),new In(t.name)):t,bt.InChildOperation)}function ss(n,e,t,r,i){let a=null,u=new Map;for(const d of e.create)switch(d.kind){case I.I18nStart:if(!d.context)throw Error("Could not find i18n context for i18n op");a={i18nBlock:d,i18nContext:t.get(d.context)};break;case I.I18nEnd:a=null;break;case I.ElementStart:if(void 0!==d.i18nPlaceholder){if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");sd(d,a.i18nContext,a.i18nBlock,i),i&&d.i18nPlaceholder.closeName&&u.set(d.xref,i),i=void 0}break;case I.ElementEnd:const S=r.get(d.xref);if(S&&void 0!==S.i18nPlaceholder){if(null===a)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");id(S,a.i18nContext,a.i18nBlock,u.get(d.xref)),u.delete(d.xref)}break;case I.Projection:if(void 0!==d.i18nPlaceholder){if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");sd(d,a.i18nContext,a.i18nBlock,i),id(d,a.i18nContext,a.i18nBlock,i),i=void 0}if(null!==d.fallbackView){const j=n.views.get(d.fallbackView);if(void 0===d.fallbackViewI18nPlaceholder)ss(n,j,t,r);else{if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");nu(n,j,d.handle.slot,d.fallbackViewI18nPlaceholder,a.i18nContext,a.i18nBlock,i),ss(n,j,t,r),ru(n,j,d.handle.slot,d.fallbackViewI18nPlaceholder,a.i18nContext,a.i18nBlock,i),i=void 0}}break;case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:const T=n.views.get(d.xref);if(void 0===d.i18nPlaceholder)ss(n,T,t,r);else{if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");d.templateKind===Jn.Structural?ss(n,T,t,r,d):(nu(n,T,d.handle.slot,d.i18nPlaceholder,a.i18nContext,a.i18nBlock,i),ss(n,T,t,r),ru(n,T,d.handle.slot,d.i18nPlaceholder,a.i18nContext,a.i18nBlock,i),i=void 0)}break;case I.RepeaterCreate:if(void 0!==i)throw Error("AssertionError: Unexpected structural directive associated with @for block");const b=d.handle.slot+1,D=n.views.get(d.xref);if(void 0===d.i18nPlaceholder)ss(n,D,t,r);else{if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");nu(n,D,b,d.i18nPlaceholder,a.i18nContext,a.i18nBlock,i),ss(n,D,t,r),ru(n,D,b,d.i18nPlaceholder,a.i18nContext,a.i18nBlock,i),i=void 0}if(null!==d.emptyView){const j=d.handle.slot+2,q=n.views.get(d.emptyView);if(void 0===d.emptyI18nPlaceholder)ss(n,q,t,r);else{if(null===a)throw Error("i18n tag placeholder should only occur inside an i18n block");nu(n,q,j,d.emptyI18nPlaceholder,a.i18nContext,a.i18nBlock,i),ss(n,q,t,r),ru(n,q,j,d.emptyI18nPlaceholder,a.i18nContext,a.i18nBlock,i),i=void 0}}}}function sd(n,e,t,r){const{startName:i,closeName:a}=n.i18nPlaceholder;let u=on.ElementTag|on.OpenTag,d=n.handle.slot;void 0!==r&&(u|=on.TemplateTag,d={element:d,template:r.handle.slot}),a||(u|=on.CloseTag),ea(e.params,i,d,t.subTemplateIndex,u)}function id(n,e,t,r){const{closeName:i}=n.i18nPlaceholder;if(i){let a=on.ElementTag|on.CloseTag,u=n.handle.slot;void 0!==r&&(a|=on.TemplateTag,u={element:u,template:r.handle.slot}),ea(e.params,i,u,t.subTemplateIndex,a)}}function nu(n,e,t,r,i,a,u){let{startName:d,closeName:S}=r,T=on.TemplateTag|on.OpenTag;S||(T|=on.CloseTag),void 0!==u&&ea(i.params,d,u.handle.slot,a.subTemplateIndex,T),ea(i.params,d,t,ad(n,a,e),T)}function ru(n,e,t,r,i,a,u){const{closeName:d}=r,S=on.TemplateTag|on.CloseTag;d&&(ea(i.params,d,t,ad(n,a,e),S),void 0!==u&&ea(i.params,d,u.handle.slot,a.subTemplateIndex,S))}function ad(n,e,t){for(const r of t.create)if(r.kind===I.I18nStart)return r.subTemplateIndex;return e.subTemplateIndex}function ea(n,e,t,r,i){const a=n.get(e)??[];a.push({value:t,subTemplateIndex:r,flags:i}),n.set(e,a)}function e1(n,e,t,r){if(null!==n.i18nPlaceholder){const i=t.get(n.context),a=n.resolutionTime===Oi.Creation?i.params:i.postprocessingParams,u=a.get(n.i18nPlaceholder)||[];u.push(e),a.set(n.i18nPlaceholder,u)}null!==n.icuPlaceholder&&r.get(n.icuPlaceholder)?.expressionPlaceholders.push(e)}function Za(n,e,t){const r=new Map,i=new Map;for(const a of e)switch(a.kind){case I.Variable:switch(a.variable.kind){case $n.Identifier:if(a.variable.local){if(i.has(a.variable.identifier))continue;i.set(a.variable.identifier,a.xref)}else if(r.has(a.variable.identifier))continue;r.set(a.variable.identifier,a.xref);break;case $n.Alias:if(r.has(a.variable.identifier))continue;r.set(a.variable.identifier,a.xref);break;case $n.SavedView:t={view:a.variable.view,variable:a.xref}}break;case I.Animation:case I.AnimationListener:case I.Listener:case I.TwoWayListener:Za(n,a.handlerOps,t);break;case I.RepeaterCreate:null!==a.trackByOps&&Za(n,a.trackByOps,t)}for(const a of e)a.kind===I.Listener||a.kind===I.TwoWayListener||a.kind===I.Animation||a.kind===I.AnimationListener||Sn(a,u=>{if(u instanceof Un)return i.has(u.name)?new es(i.get(u.name)):r.has(u.name)?new es(r.get(u.name)):new jt(new ps(n.job.root.xref),u.name);if(u instanceof Li&&"number"==typeof u.view){if(null===t||t.view!==u.view)throw new Error(`AssertionError: no saved view ${u.view} from view ${n.xref}`);return u.view=new es(t.variable),u}return u},bt.None);for(const a of e)Dn(a,u=>{if(u instanceof Un)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${u.name}`)})}const r1=new Map([[p.HTML,U.sanitizeHtml],[p.RESOURCE_URL,U.sanitizeResourceUrl],[p.SCRIPT,U.sanitizeScript],[p.STYLE,U.sanitizeStyle],[p.URL,U.sanitizeUrl],[p.ATTRIBUTE_NO_BINDING,U.validateAttribute]]),s1=new Map([[p.HTML,U.trustConstantHtml],[p.RESOURCE_URL,U.trustConstantResourceUrl]]);function a1(n){let e=!1,t=!1,r=!1;for(const i of n)switch(i){case p.URL:e=!0;break;case p.RESOURCE_URL:t=!0;break;case p.NONE:r=!0;break;default:return!1}return(e||t)&&r||e&&t}function od(n){if(!Array.isArray(n))return n;if(n.length<2)return n[0]??p.NONE;const e=n.filter(t=>t!==p.NONE);if(e.length>1)throw Error("AssertionError: Ambiguous security context");return e[0]??p.NONE}function u1(n){if(n instanceof Y&&n.fn instanceof Un&&"$safeNavigationMigration"===n.fn.name){if(1!==n.args.length)throw new Error("The $safeNavigationMigration builtin function expects exactly one argument.");return new ki(n.args[0])}return n}function ud(n,e,t){let r=e!==n.root;if(!r)for(const i of t)Dn(i,a=>{(a instanceof Ma||a instanceof Mi)&&(r=!0)});return r}function ld(n,e,t){e.prepend([Rs(n.job.allocateXrefId(),{kind:$n.Context,name:null,view:n.xref},new Li(t),Ar.None)]);for(const r of e)r.kind===I.Statement&&r.statement instanceof we&&(r.statement.value=new ka(r.statement.value))}function f1(n){let e=!1;return He(n,t=>((t instanceof oi||t instanceof Ba)&&(e=!0),t),bt.None),e}function h1(n,e){n.lhs instanceof Et&&n.lhs.expr instanceof ut&&e.add(n.lhs)}function v1(n,e){n.lhs instanceof Et&&(cd(n.lhs.expr)||n.lhs.expr instanceof Vt)&&e.add(n.lhs),n.rhs instanceof Et&&(cd(n.rhs.expr)||n.rhs.expr instanceof Vt)&&e.add(n.rhs)}function m1(n,e){n.lhs instanceof Et&&n.lhs.expr instanceof Fe&&n.lhs.expr.operator===ee.NullishCoalesce&&e.add(n.lhs)}function cd(n){return n instanceof Fe&&(n.operator===ee.And||n.operator===ee.Or)}function Qa(n){let e=0,t=[];for(const r of n){const i=new Map;Dn(r,(T,b)=>{b&bt.InChildOperation||T instanceof Ls&&i.set(T.xref,T)});let a=0;const u=new Set,d=new Set,S=new Map;Dn(r,(T,b)=>{b&bt.InChildOperation||(T instanceof ts?(u.has(T.xref)||(u.add(T.xref),S.set(T.xref,`tmp_${e}_${a++}`)),pd(S,T)):T instanceof Ls&&(i.get(T.xref)===T&&(d.add(T.xref),a--),pd(S,T)))}),t.push(...Array.from(new Set(S.values())).map(T=>wr(new xe(T)))),e++,r.kind===I.Listener||r.kind===I.Animation||r.kind===I.AnimationListener||r.kind===I.TwoWayListener?r.handlerOps.prepend(Qa(r.handlerOps)):r.kind===I.RepeaterCreate&&null!==r.trackByOps&&r.trackByOps.prepend(Qa(r.trackByOps))}return t}function pd(n,e){const t=n.get(e.xref);if(void 0===t)throw new Error(`Found xref with unassigned name: ${e.xref}`);e.name=t}function S1(n,e){if(!(e instanceof Y)||0===e.args.length||e.args.length>2||!(e.receiver instanceof jt&&e.receiver.receiver instanceof ps)||e.receiver.receiver.view!==n)return!1;const[t,r]=e.args;return t instanceof In&&"$index"===t.name&&(1===e.args.length||!(!(r instanceof In)||"$item"!==r.name))}function A1(n){let e;switch(n.kind){case I.Attribute:return e=1,n.expression instanceof On&&!function w1(n){return!(1!==n.expressions.length||2!==n.strings.length||""!==n.strings[0]||""!==n.strings[1])}(n.expression)&&(e+=n.expression.expressions.length),e;case I.Property:case I.DomProperty:return e=1,n.expression instanceof On&&(e+=n.expression.expressions.length),e;case I.Control:return 2;case I.TwoWayProperty:return 1;case I.StyleProp:case I.ClassProp:case I.StyleMap:case I.ClassMap:return e=2,n.expression instanceof On&&(e+=n.expression.expressions.length),e;case I.InterpolateText:return n.interpolation.expressions.length;case I.I18nExpression:case I.Conditional:case I.DeferWhen:case I.StoreLet:return 1;case I.RepeaterCreate:return n.emptyView?1:0;default:throw new Error(`Unhandled op: ${I[n.kind]}`)}}function fd(n){switch(n.kind){case Ye.PureFunctionExpr:case Ye.PipeBinding:return 1+n.args.length;case Ye.PipeBindingVariadic:return 1+n.numArgs;case Ye.StoreLet:case Ye.ArrowFunction:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${n.constructor.name}`)}}var kn;function su(n){return!(n&bt.InArrowFunctionOperation)}function Ja(n){const e=new Map;for(const t of n)t.kind===I.Variable&&t.flags&Ar.AlwaysInline&&(Dn(t,r=>{if(_r(r)&&Bl(r)!==kn.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),e.set(t.xref,t)),Sn(t,r=>r instanceof es&&e.has(r.xref)?e.get(r.xref).initializer.clone():r,bt.None);for(const t of e.values())ie.remove(t)}function qa(n,e){const t=new Map,r=new Map,i=new Set,a=new Map;for(const T of n){if(T.kind===I.Variable){if(t.has(T.xref)||r.has(T.xref))throw new Error(`Should not see two declarations of the same variable: ${T.xref}`);t.set(T.xref,T),r.set(T.xref,0)}a.set(T,b1(T,e)),N1(T,r,i,e)}let u=!1;for(const T of n.reversed()){const b=a.get(T);if(T.kind!==I.Variable||0!==r.get(T.xref))b.fences&kn.ViewContextRead&&(u=!0);else{if(u&&b.fences&kn.ViewContextWrite||b.fences&kn.SideEffectful){const D=wr(T.initializer.toStmt());a.set(D,b),ie.replace(T,D)}else P1(T,r),ie.remove(T);a.delete(T),t.delete(T.xref),r.delete(T.xref)}}const d=[];for(const[T,b]of r){const j=!!(t.get(T).flags&Ar.AlwaysInline);1!==b||j||i.has(T)||d.push(T)}let S;for(;S=d.pop();){const T=t.get(S),b=a.get(T);if(T.flags&Ar.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let j=T.next;j.kind!==I.ListEnd;j=j.next){const q=a.get(j);if(q.variablesUsed.has(S)){if(!D1(T,j))break;if(O1(S,T.initializer,j,b.fences)){q.variablesUsed.delete(S);for(const se of b.variablesUsed)q.variablesUsed.add(se);q.fences|=b.fences,t.delete(S),r.delete(S),a.delete(T),ie.remove(T)}break}if(!dd(q.fences,b.fences))break}}}function Bl(n){switch(n.kind){case Ye.NextContext:return kn.ViewContextRead|kn.ViewContextWrite;case Ye.RestoreView:return kn.ViewContextRead|kn.ViewContextWrite|kn.SideEffectful;case Ye.StoreLet:return kn.SideEffectful;case Ye.Reference:case Ye.ContextLetReference:return kn.ViewContextRead;default:return kn.None}}function b1(n,e){let t=kn.None;const r=new Set;return Dn(n,(i,a)=>{!_r(i)||null!==e&&!e(a)||(i.kind===Ye.ReadVariable?r.add(i.xref):a&bt.InChildOperation||(t|=Bl(i)))}),{fences:t,variablesUsed:r}}function N1(n,e,t,r){Dn(n,(i,a)=>{if(!_r(i)||null!==r&&!r(a)||i.kind!==Ye.ReadVariable)return;const u=e.get(i.xref);void 0!==u&&(e.set(i.xref,u+1),a&bt.InChildOperation&&t.add(i.xref))})}function P1(n,e){Dn(n,t=>{if(!_r(t)||t.kind!==Ye.ReadVariable)return;const r=e.get(t.xref);if(void 0!==r){if(0===r)throw new Error(`Inaccurate variable count: ${t.xref} - found another read but count is already 0`);e.set(t.xref,r-1)}})}function dd(n,e){if(n&kn.ViewContextWrite){if(e&kn.ViewContextRead)return!1}else if(n&kn.ViewContextRead&&e&kn.ViewContextWrite)return!1;return!0}function O1(n,e,t,r){let i=!1,a=!0;return Sn(t,(u,d)=>{if(!_r(u)||i||!a)return u;if(d&bt.InChildOperation&&r&kn.ViewContextRead)return u;if(u.kind===Ye.ReadVariable){if(u.xref===n)return i=!0,e}else{const S=Bl(u);a=a&&dd(S,r)}return u},bt.None),i}function D1(n,e){switch(n.variable.kind){case $n.Identifier:return n.initializer instanceof In&&n.initializer.name===Tr;case $n.Context:return e.kind===I.Variable;default:return!0}}function hd(n){const e=n.head.next,t=n.tail.prev;null!==e&&null!==t&&e.next===t&&e.kind===I.Statement&&e.statement instanceof oe&&e.statement.expr instanceof Li&&t.kind===I.Statement&&t.statement instanceof we&&t.statement.value instanceof ka&&(ie.remove(e),t.statement.value=t.statement.value.expr)}!function(n){n[n.None=0]="None",n[n.ViewContextRead=1]="ViewContextRead",n[n.ViewContextWrite=2]="ViewContextWrite",n[n.SideEffectful=4]="SideEffectful"}(kn||(kn={}));const M1=[{kind:Le.Tmpl,fn:function J2(n){for(const e of n.units){const t=new Map;for(const r of e.create)r.kind===I.ForeignComponent&&t.set(r.xref,r);for(const r of e.create){if(r.kind!==I.Content)continue;const i=t.get(r.target);if(void 0===i)throw new Error("AssertionError: ContentOp target not found");const a=r.propertyName.charAt(0).toUpperCase()+r.propertyName.slice(1),u=Sl(r.view,Jn.NgTemplate,null,a,Nn.HTML,void 0,r.startSourceSpan,r.sourceSpan);ie.replace(r,u);const d=new ko(u.xref,u.handle,i.constIndex);i.props.set(r.propertyName,d)}}}},{kind:Le.Tmpl,fn:function YS(n){for(const e of n.units){const t=Kp(e);for(const r of e.ops())if(r.kind===I.Binding){const i=QS(t,r.target);ZS(r.name)&&i.kind===I.Projection&&ie.remove(r)}}}},{kind:Le.Both,fn:function lx(n){for(const e of n.units)for(const t of e.ops())Sn(t,r=>r instanceof de&&cx(r)?n.pool.getSharedConstant(new px,r):r,bt.None)}},{kind:Le.Host,fn:function Ky(n){for(const e of n.root.update)if(e.kind===I.Binding&&e.bindingKind===ze.Property)if(e.name.endsWith(lf)&&(e.name=e.name.substring(0,e.name.length-10)),e.name.startsWith("style.")){e.bindingKind=ze.StyleProperty,e.name=e.name.substring(6),Yy(e.name)?e.name=wu(e.name):e.name=Zy(e.name);const{property:t,suffix:r}=wl(e.name);e.name=t,e.unit=r}else e.name.startsWith("style!")?(e.bindingKind=ze.StyleProperty,e.name="style"):(e.name.startsWith("class.")||e.name.startsWith("class!"))&&(e.bindingKind=ze.ClassName,e.name=wl(e.name.substring(6)).property)}},{kind:Le.Tmpl,fn:function DS(n){for(const e of n.units){let t=Nn.HTML;for(const r of e.create)r.kind===I.ElementStart&&r.namespace!==t&&(ie.insertBefore(xg(r.namespace),r),t=r.namespace)}}},{kind:Le.Tmpl,fn:function tx(n){Qf(n.root,0)}},{kind:Le.Tmpl,fn:function R1(n){for(const e of n.units){let t=null,r=null;for(const i of e.create)switch(i.kind){case I.I18nStart:t=i;break;case I.I18nEnd:t=null;break;case I.IcuStart:null===t&&(r=n.allocateXrefId(),ie.insertBefore(jo(r,i.message,void 0,null),i));break;case I.IcuEnd:null!==r&&(ie.insertAfter(Ho(r,null),i),r=null)}}}},{kind:Le.Both,fn:function dy(n){const e=new Map;for(const t of n.units)for(const r of t.update.reversed())if(r.kind===I.Binding&&r.isTextAttribute){const i=e.get(r.target)||new Set;i.has(r.name)&&("style"===r.name||"class"===r.name)&&ie.remove(r),i.add(r.name),e.set(r.target,i)}}},{kind:Le.Both,fn:function g1(n){for(const e of n.units)for(const t of e.update)if(t.kind===I.Binding)switch(t.bindingKind){case ze.ClassName:if(t.expression instanceof On)throw new Error("Unexpected interpolation in ClassName binding");ie.replace(t,ng(t.target,t.name,t.expression,t.sourceSpan));break;case ze.StyleProperty:ie.replace(t,tg(t.target,t.name,t.expression,t.unit,t.sourceSpan));break;case ze.Property:case ze.Template:"style"===t.name?ie.replace(t,rg(t.target,t.expression,t.sourceSpan)):"class"===t.name&&ie.replace(t,sg(t.target,t.expression,t.sourceSpan))}}},{kind:Le.Both,fn:function Gg(n){const e=new Map;for(const t of n.units)for(const r of t.create)ks(r)&&e.set(r.xref,r);for(const t of n.units)for(const r of t.ops())if(r.kind===I.Binding)switch(r.bindingKind){case ze.Attribute:if("ngNonBindable"===r.name){ie.remove(r);Wg(e,r.target).nonBindable=!0}else if(r.name.startsWith("animate."))ie.replace(r,Mp(r.name,r.target,"animate.enter"===r.name?"enter":"leave",r.expression,r.securityContext,r.sourceSpan,0));else{const[i,a]=Xn(r.name);ie.replace(r,Dp(r.target,i,a,r.expression,r.securityContext,r.isTextAttribute,r.isStructuralTemplateAttribute,r.templateKind,r.i18nMessage,r.sourceSpan))}break;case ze.Animation:ie.replace(r,Mp(r.name,r.target,"animate.enter"===r.name?"enter":"leave",r.expression,r.securityContext,r.sourceSpan,1));break;case ze.Property:case ze.LegacyAnimation:n.mode===or.DomOnly&&Zp(r.name)?ie.replace(r,Dp(r.target,null,r.name,r.expression,r.securityContext,!1,r.isStructuralTemplateAttribute,r.templateKind,r.i18nMessage,r.sourceSpan)):n.kind===Le.Host?ie.replace(r,Mg(r.name,r.expression,r.bindingKind,r.i18nContext,r.securityContext,r.sourceSpan)):ie.replace(r,_m(r.target,r.name,r.expression,r.bindingKind,r.securityContext,r.isStructuralTemplateAttribute,r.templateKind,r.i18nContext,r.i18nMessage,r.sourceSpan));break;case ze.TwoWayProperty:if(!(r.expression instanceof Bt))throw new Error(`Expected value of two-way property binding "${r.name}" to be an expression`);ie.replace(r,eg(r.target,r.name,r.expression,r.securityContext,r.isStructuralTemplateAttribute,r.templateKind,r.i18nContext,r.i18nMessage,r.sourceSpan));break;case ze.I18n:case ze.ClassName:case ze.StyleProperty:throw new Error(`Unhandled binding of kind ${ze[r.bindingKind]}`)}}},{kind:Le.Tmpl,fn:function ny(n){for(const e of n.units)ry(e)}},{kind:Le.Both,fn:function ly(n){const e=new Map;for(const t of n.units)for(const r of t.create)ks(r)&&e.set(r.xref,r);for(const t of n.units)for(const r of t.ops())if(r.kind===I.AnimationBinding){const i=cy(r);n.kind===Le.Host?t.create.push(i):ie.insertAfter(i,uy(e,r.target)),ie.remove(r)}}},{kind:Le.Both,fn:function jg(n){for(const e of n.units){const t=Kp(e);for(const r of e.ops())switch(r.kind){case I.Attribute:Hg(e,r,t);break;case I.Property:if(r.bindingKind!==ze.LegacyAnimation&&r.bindingKind!==ze.Animation){let i;i=null!==r.i18nMessage&&null===r.templateKind?ze.I18n:r.isStructuralTemplateAttribute?ze.Template:ze.Property,ie.insertBefore(Rr(r.target,i,null,r.name,null,null,null,r.securityContext),Ui(t,r.target))}break;case I.TwoWayProperty:ie.insertBefore(Rr(r.target,ze.TwoWayProperty,null,r.name,null,null,null,r.securityContext),Ui(t,r.target));break;case I.StyleProp:case I.ClassProp:r.expression instanceof Fi&&ie.insertBefore(Rr(r.target,ze.Property,null,r.name,null,null,null,p.STYLE),Ui(t,r.target));break;case I.Listener:if(!r.isLegacyAnimationListener){const i=Rr(r.target,ze.Property,null,r.name,null,null,null,p.NONE);if(n.kind===Le.Host)break;ie.insertBefore(i,Ui(t,r.target))}break;case I.TwoWayListener:if(n.kind!==Le.Host){const i=Rr(r.target,ze.Property,null,r.name,null,null,null,p.NONE);ie.insertBefore(i,Ui(t,r.target))}}}}},{kind:Le.Tmpl,fn:function fy(n){const e=new Map;for(const i of n.units)for(const a of i.ops())switch(a.kind){case I.Binding:case I.Property:case I.Attribute:case I.ExtractedAttribute:if(null===a.i18nMessage)continue;if(!e.has(a.i18nMessage)){const u=Tl(Ds.Attr,n.allocateXrefId(),null,a.i18nMessage,null);i.create.push(u),e.set(a.i18nMessage,u.xref)}a.i18nContext=e.get(a.i18nMessage)}const t=new Map;for(const i of n.units)for(const a of i.create)if(a.kind===I.I18nStart)if(a.xref===a.root){const u=Tl(Ds.RootI18n,n.allocateXrefId(),a.xref,a.message,null);i.create.push(u),a.context=u.xref,t.set(a.xref,u)}for(const i of n.units)for(const a of i.create)if(a.kind===I.I18nStart&&a.xref!==a.root){const u=t.get(a.root);if(void 0===u)throw Error("AssertionError: Root i18n block i18n context should have been created.");a.context=u.xref,t.set(a.xref,u)}let r=null;for(const i of n.units)for(const a of i.create)switch(a.kind){case I.I18nStart:r=a;break;case I.I18nEnd:r=null;break;case I.IcuStart:if(null===r)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(a.message.id!==r.message.id){const u=Tl(Ds.Icu,n.allocateXrefId(),r.root,a.message,null);i.create.push(u),a.context=u.xref}else a.context=r.context,t.get(r.xref).contextKind=Ds.Icu}}},{kind:Le.Both,fn:function MS(n){const e=new Map;for(const t of n.units)for(const r of t.create)ks(r)&&e.set(r.xref,r);for(const t of n.units)for(const r of t.create)if(r.kind===I.ExtractedAttribute&&r.bindingKind===ze.Attribute&&kp(r.expression)){const i=e.get(r.target);if(void 0!==i&&(i.kind===I.Template||i.kind===I.ConditionalCreate||i.kind===I.ConditionalBranchCreate)&&i.templateKind===Jn.Structural)continue;if("style"===r.name){const a=RS(r.expression.value);for(let u=0;u<a.length-1;u+=2)ie.insertBefore(Rr(r.target,ze.StyleProperty,null,a[u],W(a[u+1]),null,null,p.STYLE),r);ie.remove(r)}else if("class"===r.name){const a=r.expression.value.trim().split(/\s+/g);for(const u of a)ie.insertBefore(Rr(r.target,ze.ClassName,null,u,null,null,null,p.NONE),r);ie.remove(r)}}}},{kind:Le.Tmpl,fn:function G2(n){for(const e of n.units)for(const t of e.update)switch(t.kind){case I.Attribute:case I.Binding:case I.ClassProp:case I.ClassMap:case I.Property:case I.StyleProp:case I.StyleMap:t.expression instanceof Fi&&ie.remove(t)}}},{kind:Le.Both,fn:function Kg(n){for(const e of n.units)for(const t of e.update)(t.kind===I.Attribute||t.kind===I.StyleProp||t.kind==I.StyleMap||t.kind===I.ClassMap)&&t.expression instanceof On&&2===t.expression.strings.length&&t.expression.strings.every(i=>""===i)&&(t.expression=t.expression.expressions[0])}},{kind:Le.Both,fn:function KS(n){for(const e of n.units){Yf(e.create,GS);const t=e.job.kind===Le.Host?XS:zS;Yf(e.update,t)}}},{kind:Le.Tmpl,fn:function Yg(n){for(const e of n.units)for(const t of e.ops()){if(t.kind!==I.Conditional)continue;let r;const i=t.conditions.findIndex(d=>null===d.expr);if(i>=0){const d=t.conditions.splice(i,1)[0].targetSlot;r=new Fa(d)}else r=W(-1);let a=null==t.test?null:new ts(t.test,n.allocateXrefId()),u=null;for(let d=t.conditions.length-1;d>=0;d--){let S=t.conditions[d];if(null!==S.expr){if(null!==a){const T=0===d?a:new Ls(a.xref);S.expr=new Fe(ee.Identical,T,S.expr)}else null!==S.alias&&(u??=n.allocateXrefId(),S.expr=new ts(S.expr,u),t.contextValue=new Ls(u));r=new Vt(S.expr,new Fa(S.targetSlot),r)}}t.processed=r,t.conditions=[]}}},{kind:Le.Tmpl,fn:function JS(n){for(const e of n.units)qS(e)}},{kind:Le.Tmpl,fn:function hy(n){for(const e of n.units)for(const t of e.create)t.kind===I.Defer&&(null!==t.placeholderMinimumTime&&(t.placeholderConfig=new $i(Vi([t.placeholderMinimumTime]))),(null!==t.loadingMinimumTime||null!==t.loadingAfterTime)&&(t.loadingConfig=new $i(Vi([t.loadingMinimumTime,t.loadingAfterTime]))))}},{kind:Le.Tmpl,fn:function vy(n){for(const e of n.units)for(const t of e.create)if(t.kind===I.Defer&&null!==t.flags&&1&t.flags){ie.insertBefore(Cg(t.sourceSpan),t);break}}},{kind:Le.Tmpl,fn:function ex(n){for(const e of n.units)for(const t of e.update)Sn(t,r=>!(r instanceof oi)||r.args.length<=4?r:new Ba(r.target,r.targetSlot,r.name,gt(r.args),r.args.length),bt.None)}},{kind:Le.Both,fn:function jy(n){for(const e of n.units){for(const t of e.create)t.kind!==I.Animation&&t.kind!==I.AnimationListener&&t.kind!==I.Listener&&t.kind!==I.TwoWayListener&&rf(e,t);for(const t of e.update)rf(e,t)}}},{kind:Le.Both,fn:function ix(n){for(const e of n.units)for(const t of e.update)Sn(t,(r,i)=>i&bt.InChildOperation?r:r instanceof sn?ax(r):r instanceof ue?ox(r):r,bt.None)}},{kind:Le.Tmpl,fn:function Wy(n){const t=[];let r=0;for(const i of n.units)for(const a of i.create)a.kind===I.Projection&&(t.push(a.selector),a.projectionSlotIndex=r++);if(t.length>0){let i=null;if(t.length>1||"*"!==t[0]){const a=t.map(u=>"*"===u?u:$(u));i=n.pool.getConstLiteral(Vi(a),!0)}n.contentSelectors=n.pool.getConstLiteral(Vi(t),!0),n.root.create.prepend([Tg(i)])}}},{kind:Le.Tmpl,fn:function Hy(n){for(const e of n.units)for(const t of e.update){if(t.kind!==I.StoreLet)continue;const r={kind:$n.Identifier,name:null,identifier:t.declaredName,local:!0};ie.replace(t,Rs(n.allocateXrefId(),r,new Ri(t.target,t.value,t.sourceSpan),Ar.None))}}},{kind:Le.Tmpl,fn:function Gy(n){Ua(n.root,null)}},{kind:Le.Tmpl,fn:function l1(n){for(const e of n.units){for(const t of e.functions)ud(n,e,t.ops)&&ld(e,t.ops,Ie(t.currentViewName));e.create.prepend([Rs(e.job.allocateXrefId(),{kind:$n.SavedView,name:null,view:e.xref},new Fo,Ar.None)]);for(const t of e.create)(t.kind===I.Listener||t.kind===I.TwoWayListener||t.kind===I.Animation||t.kind===I.AnimationListener)&&ud(n,e,t.handlerOps)&&ld(e,t.handlerOps,e.xref)}}},{kind:Le.Both,fn:function kg(n){for(const e of n.units)for(const t of e.ops())Sn(t,Bg,bt.None)}},{kind:Le.Both,fn:function o1(n){for(const e of n.units)for(const t of e.ops())Sn(t,r=>u1(r),bt.None)}},{kind:Le.Both,fn:function Q2(n){for(const e of n.units)rd(e.create),rd(e.update)}},{kind:Le.Tmpl,fn:function x1(n){for(const e of n.units)for(const t of e.create)t.kind===I.RepeaterCreate&&(t.track=He(t.track,r=>{if(r instanceof Un){if(t.varNames.$index.has(r.name))return Ie("$index");if(r.name===t.varNames.$implicit)return Ie("$item")}return r},bt.None))}},{kind:Le.Tmpl,fn:function X2(n){for(const e of n.units)for(const t of e.update){if(t.kind!==I.Variable||t.variable.kind!==$n.Identifier||!(t.initializer instanceof Ri))continue;const r=t.variable.identifier;let i=t;for(;i&&i.kind!==I.ListEnd;)Sn(i,a=>a instanceof Un&&a.name===r?W(void 0):a,bt.None),i=i.prev}}},{kind:Le.Both,fn:function n1(n){for(const e of n.units){for(const t of e.functions)Za(e,t.ops,null);Za(e,e.create,null),Za(e,e.update,null)}}},{kind:Le.Tmpl,fn:function my(n){const e=new Map;function t(i){if(e.has(i.xref))return e.get(i.xref);const a=new gy;for(const u of i.create)if(ks(u)&&null!==u.localRefs){if(!Array.isArray(u.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(const d of u.localRefs)""===d.target&&a.targets.set(d.name,{xref:u.xref,slot:u.handle})}return e.set(i.xref,a),a}function r(i,a,u){const d=a.trigger.kind;switch(d){case nn.Idle:case nn.Never:case nn.Immediate:case nn.Timer:return;case nn.Hover:case nn.Interaction:case nn.Viewport:if(null===a.trigger.targetName){if(null===u)throw new Error("defer on trigger with no target name must have a placeholder block");const b=n.views.get(u);if(null==b)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(const D of b.create)if(Di(D)&&(ks(D)||D.kind===I.Projection))return a.trigger.targetXref=D.xref,a.trigger.targetView=u,a.trigger.targetSlotViewSteps=-1,void(a.trigger.targetSlot=D.handle);return}let S=null!==u?n.views.get(u):i,T=null!==u?-1:0;for(;null!==S;){const b=t(S);if(b.targets.has(a.trigger.targetName)){const{xref:D,slot:j}=b.targets.get(a.trigger.targetName);return a.trigger.targetXref=D,a.trigger.targetView=S.xref,a.trigger.targetSlotViewSteps=T,void(a.trigger.targetSlot=j)}S=null!==S.parent?n.views.get(S.parent):null,T++}break;default:throw new Error(`Trigger kind ${d} not handled`)}}for(const i of n.units){const a=new Map;for(const u of i.create)switch(u.kind){case I.Defer:a.set(u.xref,u);break;case I.DeferOn:const d=a.get(u.defer);r(i,u,"hydrate"===u.modifier?d.mainView:d.placeholderView)}}}},{kind:Le.Tmpl,fn:function T1(n){for(const e of n.units)for(const t of e.create)t.kind===I.TwoWayListener&&Sn(t,r=>{if(!(r instanceof $o))return r;const{target:i,value:a}=r;if(i instanceof jt||i instanceof vn)return qf(i,a).or(i.set(a));if(i instanceof es)return qf(i,a);throw new Error("Unsupported expression in two-way action binding.")},bt.InChildOperation)}},{kind:Le.Tmpl,fn:function E1(n){for(const e of n.units)for(const t of e.create)if(t.kind===I.RepeaterCreate)if(t.track instanceof In&&"$index"===t.track.name)t.trackByFn=le(U.repeaterTrackByIndex);else if(t.track instanceof In&&"$item"===t.track.name)t.trackByFn=le(U.repeaterTrackByIdentity);else if(S1(n.root.xref,t.track))t.usesComponentInstance=!0,t.track.receiver.receiver.view===e.xref?t.trackByFn=t.track.receiver:(t.trackByFn=le(U.componentInstance).callFn([]).prop(t.track.receiver.name),t.track=t.trackByFn);else{t.track=He(t.track,i=>{if(i instanceof oi||i instanceof Ba)throw new Error("Illegal State: Pipes are not allowed in this context");return i instanceof ps?(t.usesComponentInstance=!0,new Bo(i.view)):i},bt.None);const r=new ie;r.push(wr(new we(t.track,t.track.sourceSpan,[Ss()]))),t.trackByOps=r}}},{kind:Le.Both,fn:function Y2(n){for(const e of n.units){for(const t of e.functions)Ya(e,t.ops);Ya(e,e.create),Ya(e,e.update)}}},{kind:Le.Both,fn:function i1(n){for(const e of n.units){if(n.kind!==Le.Host)for(const t of e.create)if(t.kind===I.ExtractedAttribute){const r=s1.get(od(t.securityContext))??null;t.trustedValueFn=null!==r?le(r):null}for(const t of e.update)switch(t.kind){case I.Property:case I.Attribute:case I.DomProperty:case I.TwoWayProperty:let r=null;r=Array.isArray(t.securityContext)&&a1(t.securityContext)?U.sanitizeUrlOrResourceUrl:r1.get(od(t.securityContext))??null,t.sanitizer=null!==r?le(r):null}}}},{kind:Le.Tmpl,fn:function PS(n){for(const e of n.units)for(const t of e.create)switch(t.kind){case I.ElementStart:case I.ConditionalCreate:case I.ConditionalBranchCreate:case I.Template:if(!Array.isArray(t.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(t.numSlotsUsed+=t.localRefs.length,t.localRefs.length>0){const r=OS(t.localRefs);t.localRefs=n.addConst(r)}else t.localRefs=null}}},{kind:Le.Both,fn:function xy(n){for(const e of n.units)for(const t of e.ops())Sn(t,(r,i)=>by(r,{job:n},i),bt.None),Sn(t,Ny,bt.None)}},{kind:Le.Both,fn:function d1(n){const e=new Set;for(const t of n.units)for(const r of t.ops())Dn(r,i=>{if(i instanceof Fe)switch(i.operator){case ee.Exponentiation:h1(i,e);break;case ee.NullishCoalesce:v1(i,e);break;case ee.And:case ee.Or:m1(i,e)}});for(const t of n.units)for(const r of t.ops())Sn(r,i=>i instanceof Et?e.has(i)?i:i.expr:i,bt.None)}},{kind:Le.Both,fn:function y1(n){for(const e of n.units){e.create.prepend(Qa(e.create)),e.update.prepend(Qa(e.update));for(const t of e.functions)t.ops.prepend(Qa(t.ops))}}},{kind:Le.Both,fn:function I1(n){for(const e of n.units){for(const t of e.functions)Ja(t.ops);Ja(e.create),Ja(e.update);for(const t of e.create)t.kind===I.Listener||t.kind===I.Animation||t.kind===I.AnimationListener||t.kind===I.TwoWayListener?Ja(t.handlerOps):t.kind===I.RepeaterCreate&&null!==t.trackByOps&&Ja(t.trackByOps);for(const t of e.functions)qa(t.ops,null),hd(t.ops);for(const t of e.create)t.kind===I.Listener||t.kind===I.Animation||t.kind===I.AnimationListener||t.kind===I.TwoWayListener?(qa(t.handlerOps,su),hd(t.handlerOps)):t.kind===I.RepeaterCreate&&null!==t.trackByOps&&qa(t.trackByOps,su);qa(e.create,su),qa(e.update,su)}}},{kind:Le.Both,fn:function p1(n){const e=new Set,t=new Map;for(const r of n.units)for(const i of r.ops())i.kind===I.DeclareLet&&t.set(i.xref,i),Dn(i,a=>{a instanceof Mi&&e.add(a.target)});for(const r of n.units)for(const i of r.update)Sn(i,a=>a instanceof Ri&&!e.has(a.target)?(f1(a)||ie.remove(t.get(a.target)),a.value):a,bt.None)}},{kind:Le.Tmpl,fn:function NS(n){for(const e of n.units){let t=null,r=null;const i=new Map,a=new Map,u=new Map;for(const d of e.create)switch(d.kind){case I.I18nStart:if(null===d.context)throw Error("I18n op should have its context set.");t=d;break;case I.I18nEnd:t=null;break;case I.IcuStart:if(null===d.context)throw Error("Icu op should have its context set.");r=d;break;case I.IcuEnd:r=null;break;case I.Text:if(null!==t)if(i.set(d.xref,t),a.set(d.xref,r),null!==d.icuPlaceholder){const S=Og(n.allocateXrefId(),d.icuPlaceholder,[d.initialValue]);ie.replace(d,S),u.set(d.xref,S)}else ie.remove(d)}for(const d of e.update)if(d.kind===I.InterpolateText){if(!i.has(d.target))continue;const S=i.get(d.target),T=a.get(d.target),b=u.get(d.target),D=T?T.context:S.context,j=T?Oi.Postproccessing:Oi.Creation,q=[];for(let se=0;se<d.interpolation.expressions.length;se++){const Se=d.interpolation.expressions[se];q.push(Lp(D,S.xref,S.xref,S.handle,Se,b?.xref??null,d.interpolation.i18nPlaceholders[se]??null,j,si.I18nText,"",Se.sourceSpan??d.sourceSpan))}ie.replaceWithMany(d,q),void 0!==b&&(b.strings=d.interpolation.strings)}}}},{kind:Le.Tmpl,fn:function py(n){const e=new Map;for(const t of n.units){for(const r of t.create)r.kind===I.I18nAttributes&&e.set(r.target,r);for(const r of t.update)switch(r.kind){case I.Property:case I.Attribute:if(null===r.i18nContext||!(r.expression instanceof On))continue;const i=e.get(r.target);if(void 0===i)throw new Error("AssertionError: An i18n attribute binding instruction requires the owning element to have an I18nAttributes create instruction");if(i.target!==r.target)throw new Error("AssertionError: Expected i18nAttributes target element to match binding target element");const a=[];for(let u=0;u<r.expression.expressions.length;u++){const d=r.expression.expressions[u];if(r.expression.i18nPlaceholders.length!==r.expression.expressions.length)throw new Error(`AssertionError: An i18n attribute binding instruction requires the same number of expressions and placeholders, but found ${r.expression.i18nPlaceholders.length} placeholders and ${r.expression.expressions.length} expressions`);a.push(Lp(r.i18nContext,i.target,i.xref,i.handle,d,null,r.expression.i18nPlaceholders[u],Oi.Creation,si.I18nAttribute,r.name,r.sourceSpan))}ie.replaceWithMany(r,a)}}}},{kind:Le.Tmpl,fn:function K2(n){for(const e of n.units){const t=new Set;for(const r of e.update)r.kind===I.I18nExpression&&t.add(r.i18nOwner);for(const r of e.create)if(r.kind===I.I18nAttributes){if(t.has(r.xref))continue;ie.remove(r)}}}},{kind:Le.Tmpl,fn:function Ug(n){for(const e of n.units){let t=e.update.head,r=[],i=null;for(const a of e.create){if(a.kind===I.I18nStart)i={blockXref:a.xref,lastSlotConsumer:a.xref};else if(a.kind===I.I18nEnd){for(const u of r)u.target=i.lastSlotConsumer,ie.insertBefore(u,t);r.length=0,i=null}if(Di(a))for(null!==i&&(i.lastSlotConsumer=a.xref);null!==t.next;){if(null!==i&&t.kind===I.I18nExpression&&t.usage===si.I18nText&&t.i18nOwner===i.blockXref){const d=t;t=t.next,ie.remove(d),r.push(d);continue}let u=!1;if(Ra(t)&&t.target!==a.xref?u=!0:(t.kind===I.Statement||t.kind===I.Variable)&&Dn(t,d=>{!u&&Ra(d)&&d.target!==a.xref&&(u=!0)}),u)break;t=t.next}}}}},{kind:Le.Tmpl,fn:function Fg(n){const e=new Map;for(const t of n.units)for(const r of t.create)r.kind===I.I18nContext&&e.set(r.xref,r);for(const t of n.units)for(const r of t.update)r.kind===I.I18nExpression&&$g(e,r)&&ie.insertAfter(ug(r.i18nOwner,r.handle,null),r)}},{kind:Le.Tmpl,fn:function c1(n){const e=new Map;for(const t of n.units){let r=0;for(const i of t.create)Di(i)&&(i.handle.slot=r,e.set(i.xref,i.handle.slot),r+=i.numSlotsUsed);t.decls=r}for(const t of n.units)for(const r of t.ops())if(r.kind===I.Template||r.kind===I.ConditionalCreate||r.kind===I.ConditionalBranchCreate||r.kind===I.RepeaterCreate){const i=n.views.get(r.xref);r.decls=i.decls}}},{kind:Le.Tmpl,fn:function q2(n){const e=new Map,t=new Map;for(const r of n.units)for(const i of r.create)switch(i.kind){case I.I18nContext:e.set(i.xref,i);break;case I.ElementStart:t.set(i.xref,i)}ss(n,n.root,e,t)}},{kind:Le.Tmpl,fn:function _2(n){const e=new Map,t=new Map,r=new Map;for(const u of n.units)for(const d of u.create)switch(d.kind){case I.I18nStart:e.set(d.xref,d.subTemplateIndex);break;case I.I18nContext:t.set(d.xref,d);break;case I.IcuPlaceholder:r.set(d.xref,d)}const i=new Map,a=u=>u.usage===si.I18nText?u.i18nOwner:u.context;for(const u of n.units)for(const d of u.update)if(d.kind===I.I18nExpression){const S=i.get(a(d))||0;e1(d,{value:S,subTemplateIndex:e.get(d.i18nOwner)??null,flags:on.ExpressionIndex},t,r),i.set(a(d),S+1)}}},{kind:Le.Tmpl,fn:function By(n){const e=new Map,t=new Map,r=new Map;for(const a of n.units)for(const u of a.create)switch(u.kind){case I.I18nContext:const d=Fy(n,u);a.create.push(d),e.set(u.xref,d),r.set(u.xref,u);break;case I.I18nStart:t.set(u.xref,u)}let i=null;for(const a of n.units)for(const u of a.create)switch(u.kind){case I.IcuStart:i=u,ie.remove(u);const d=r.get(u.context);if(d.contextKind!==Ds.Icu)continue;const S=t.get(d.i18nBlock);if(S.context===d.xref)continue;const T=t.get(S.root),b=e.get(T.context);if(void 0===b)throw Error("AssertionError: ICU sub-message should belong to a root message.");const D=e.get(d.xref);D.messagePlaceholder=u.messagePlaceholder,b.subMessages.push(D.xref);break;case I.IcuEnd:i=null,ie.remove(u);break;case I.IcuPlaceholder:if(null===i||null==i.context)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");e.get(i.context).postprocessingParams.set(u.name,W($y(u))),ie.remove(u)}}},{kind:Le.Tmpl,fn:function CS(n){const e=n.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",t=new Map,r=new Map,i=new Map,a=new Map;for(const S of n.units)for(const T of S.ops())if(T.kind===I.ExtractedAttribute&&null!==T.i18nContext){const b=t.get(T.i18nContext)??[];b.push(T),t.set(T.i18nContext,b)}else if(T.kind===I.I18nAttributes)r.set(T.target,T);else if(T.kind===I.I18nExpression&&T.usage===si.I18nAttribute){const b=i.get(T.target)??[];b.push(T),i.set(T.target,b)}else T.kind===I.I18nMessage&&a.set(T.xref,T);const u=new Map,d=new Map;for(const S of n.units)for(const T of S.create)if(T.kind===I.I18nMessage){if(null===T.messagePlaceholder){const{mainVar:b,statements:D}=Gf(n,e,a,T);if(null!==T.i18nBlock){const j=n.addConst(b,D);d.set(T.i18nBlock,j)}else{n.constsInitializers.push(...D),u.set(T.i18nContext,b);const j=t.get(T.i18nContext);if(void 0!==j)for(const q of j)q.expression=b.clone()}}ie.remove(T)}for(const S of n.units)for(const T of S.create)if(ks(T)){const b=r.get(T.xref);if(void 0===b)continue;let D=i.get(T.xref);if(void 0===D)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");const j=new Set;D=D.filter(se=>{const Se=j.has(se.name);return j.add(se.name),!Se});const q=D.flatMap(se=>{const Se=u.get(se.context);if(void 0===Se)throw new Error("AssertionError: Could not find i18n expression's value");return[W(se.name),Se]});b.i18nAttributesConfig=n.addConst(new sn(q))}for(const S of n.units)for(const T of S.create)if(T.kind===I.I18nStart){const b=d.get(T.root);if(void 0===b)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");T.messageIndex=b}}},{kind:Le.Tmpl,fn:function t1(n){const e=new Map;for(const t of n.units)for(const r of t.ops())if(r.kind===I.ElementStart||r.kind===I.Template){let i=r.tag??"";switch(r.namespace){case Nn.SVG:i=`:${Yo}:${i}`;break;case Nn.Math:i=`:${Zo}:${i}`}e.set(r.xref,i)}for(const t of n.units)for(const r of t.create)if(r.kind===I.ExtractedAttribute&&null!==r.i18nContext&&null!==r.expression){const i=e.get(r.target)??"";let a=r.expression;switch(r.securityContext){case p.HTML:a=le(U.sanitizeHtml).callFn([a]);break;case p.STYLE:a=le(U.sanitizeStyle).callFn([a]);break;case p.SCRIPT:a=le(U.sanitizeScript).callFn([a]);break;case p.URL:a=le(U.sanitizeUrl).callFn([a]);break;case p.RESOURCE_URL:a=le(U.sanitizeResourceUrl).callFn([a]);break;case p.ATTRIBUTE_NO_BINDING:a=le(U.validateAttribute).callFn([a,W(i),W(r.name)])}r.expression=a}}},{kind:Le.Tmpl,fn:function zy(n){for(const e of n.units)for(const t of e.ops())Sn(t,r=>r instanceof $i?W(n.addConst(r.expr)):r,bt.None)}},{kind:Le.Both,fn:function qg(n){const e=new Map;for(const t of n.units)for(const r of t.create)if(r.kind===I.ExtractedAttribute){const i=e.get(r.target)||new _g;e.set(r.target,i),i.add(r.bindingKind,r.name,r.expression,r.namespace,r.trustedValueFn),ie.remove(r)}if(n instanceof Cl)for(const t of n.units)for(const r of t.create)if(r.kind==I.Projection){const i=e.get(r.xref);if(void 0!==i){const a=Al(i);a.entries.length>0&&(r.attributes=n.pool.getConstLiteral(a,!0))}}else ks(r)&&(r.attributes=_p(n,e,r.xref),r.kind===I.RepeaterCreate&&null!==r.emptyView&&(r.emptyAttributes=_p(n,e,r.emptyView)));else if(n instanceof Xp)for(const[t,r]of e.entries()){if(t!==n.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");const i=Al(r);i.entries.length>0&&(n.root.attributes=i)}}},{kind:Le.Tmpl,fn:function z2(n){for(const e of n.units)for(const t of e.create)switch(t.kind){case I.I18nContext:ie.remove(t);break;case I.I18nStart:t.context=null}}},{kind:Le.Both,fn:function C1(n){for(const e of n.units){let t=0;for(const a of e.ops())yl(a)&&(t+=A1(a));const r=a=>{_r(a)&&(a instanceof Ms||(Op(a)&&(a.varOffset=t),yl(a)&&(t+=fd(a))))},i=a=>{!_r(a)||!(a instanceof Ms)||(Op(a)&&(a.varOffset=t),yl(a)&&(t+=fd(a)))};for(const a of e.create)Dn(a,r);for(const a of e.update)Dn(a,r);for(const a of e.create)Dn(a,i);for(const a of e.update)Dn(a,i);e.vars=t}if(n instanceof Cl)for(const e of n.units)for(const t of e.create){if(t.kind!==I.Template&&t.kind!==I.RepeaterCreate&&t.kind!==I.ConditionalCreate&&t.kind!==I.ConditionalBranchCreate)continue;const r=n.views.get(t.xref);t.vars=r.vars}}},{kind:Le.Tmpl,fn:function Vy(n){for(const e of n.units){const t=new Map;for(const i of e.create)if(Di(i)){if(null===i.handle.slot)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls");t.set(i.xref,i.handle.slot)}let r=0;for(const i of e.update){let a=null;if(Ra(i)?a=i:Dn(i,d=>{null===a&&Ra(d)&&(a=d)}),null===a)continue;if(!t.has(a.target))throw new Error(`AssertionError: reference to unknown slot for target ${a.target}`);const u=t.get(a.target);if(r!==u){const d=u-r;if(d<0)throw new Error("AssertionError: slot counter should never need to move backwards");ie.insertBefore(ig(d,a.sourceSpan),i),r=u}}}}},{kind:Le.Both,fn:function LS(n){Xa(n.root,n.componentName,{index:0})}},{kind:Le.Tmpl,fn:function Z2(n){for(const e of n.units)for(const t of e.create)if(t.kind===I.Defer){if(null!==t.resolverFn)continue;if(null!==t.ownResolverFn){if(null===t.handle.slot)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");const r=e.fnName?.replace("_Template","");t.resolverFn=n.pool.getSharedFunctionReference(t.ownResolverFn,`${r}_Defer_${t.handle.slot}_DepsFn`,!1)}}}},{kind:Le.Tmpl,fn:function FS(n){for(const e of n.units){for(const t of e.functions)Jo(t.ops);for(const t of e.create)(t.kind===I.Listener||t.kind===I.Animation||t.kind===I.AnimationListener||t.kind===I.TwoWayListener)&&Jo(t.handlerOps);Jo(e.create),Jo(e.update)}}},{kind:Le.Tmpl,fn:function US(n){for(const e of n.units){const t=new Set;for(const r of e.create)r.kind===I.ElementStart&&"ng-container"===r.tag&&(r.kind=I.ContainerStart,t.add(r.xref)),r.kind===I.ElementEnd&&t.has(r.xref)&&(r.kind=I.ContainerEnd)}}},{kind:Le.Tmpl,fn:function Sy(n){for(const e of n.units)for(const t of e.create){const r=yy.get(t.kind);if(void 0===r)continue;const[i,a]=r;let u=t.prev;for(;null!==u&&Ey.has(u.kind);)u=u.prev;null!==u&&u.kind===i&&(u.kind=a,ie.remove(t))}}},{kind:Le.Tmpl,fn:function Vg(n){if(n.enableDebugLocations&&null!==n.relativeTemplatePath)for(const e of n.units){const t=[];for(const r of e.create)if(r.kind===I.ElementStart||r.kind===I.Element){const i=r.startSourceSpan.start;t.push({targetSlot:r.handle,offset:i.offset,line:i.line,column:i.col})}t.length>0&&e.create.push(Dg(n.relativeTemplatePath,t))}}},{kind:Le.Tmpl,fn:function jS(n){const e=new Map;for(const t of n.units)for(const r of t.create)ks(r)&&e.set(r.xref,r);for(const t of n.units)for(const r of t.create)(r.kind===I.ElementStart||r.kind===I.ContainerStart)&&r.nonBindable&&ie.insertAfter(mg(r.xref),r),(r.kind===I.ElementEnd||r.kind===I.ContainerEnd)&&VS(e,r.xref).nonBindable&&ie.insertBefore(gg(r.xref),r)}},{kind:Le.Both,fn:function rx(n){for(const e of n.units)for(const t of e.ops())Dn(t,r=>{if(!(r instanceof Ms)||null===r.body)return;const i=new sx(r.args.length);r.fn=n.pool.getSharedConstant(i,r.body),r.body=null})}},{kind:Le.Both,fn:function $2(n){for(const e of n.units)U2(e,e.create),eu(e,e.update)}},{kind:Le.Both,fn:function Xg(n){for(const e of n.units)Jp(e.create),Jp(e.update)}}];function vd(n,e){for(const t of M1)(t.kind===e||t.kind===Le.Both)&&t.fn(n)}function L1(n,e){const t=gd(n.root);return md(n.root,e),t}function md(n,e){for(const t of n.job.units){if(t.parent!==n.xref)continue;md(t,e);const r=gd(t);e.statements.push(r.toDeclStmt(r.name))}}function gd(n){if(null===n.fnName)throw new Error(`AssertionError: view ${n.xref} is unnamed`);const e=[];for(const a of n.create){if(a.kind!==I.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${I[a.kind]}`);e.push(a.statement)}const t=[];for(const a of n.update){if(a.kind!==I.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${I[a.kind]}`);t.push(a.statement)}const r=iu(1,e),i=iu(2,t);return Pr([new Me(Ci,Mt),new Me(Tr,me)],[...r,...i],void 0,void 0,n.fnName)}function iu(n,e){return 0===e.length?[]:[Mr(new Fe(ee.BitwiseAnd,Ie(Ci),W(n)),e)]}const Fl="animate",$l="animate-";class V1{_exprParser;_schemaRegistry;errors;constructor(e,t,r){this._exprParser=e,this._schemaRegistry=t,this.errors=r}createBoundHostProperties(e,t){const r=[];for(const i of Object.keys(e)){const a=e[i];"string"==typeof a?this.parsePropertyBinding(i,a,!0,!1,t,t.start.offset,void 0,[],r,t):this._reportError(`Value of the host property binding "${i}" needs to be a string representing an expression but got "${a}" (${typeof a})`,t)}return r}createDirectiveHostEventAsts(e,t){const r=[];for(const i of Object.keys(e)){const a=e[i];"string"==typeof a?this.parseEvent(i,a,!1,t,t,[],r,t):this._reportError(`Value of the host listener "${i}" needs to be a string representing an expression but got "${a}" (${typeof a})`,t)}return r}parseInterpolation(e,t,r){const i=t.fullStart.offset;try{const a=this._exprParser.parseInterpolation(e,t,i,r);return a&&this.errors.push(...a.errors),a}catch(a){return this._reportError(`${a}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,i)}}parseInterpolationExpression(e,t){const r=t.start.offset;try{const i=this._exprParser.parseInterpolationExpression(e,t,r);return i&&this.errors.push(...i.errors),i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,r)}}parseInlineTemplateBinding(e,t,r,i,a,u,d,S){const T=r.start.offset+1,b=this._parseTemplateBindings(e,t,r,T,i);for(const D of b){const j=js(r,D.sourceSpan),q=D.key.source,se=js(r,D.key.span);if(D instanceof $u){const Se=D.value?D.value.source:"$implicit",Ae=D.value?js(r,D.value.span):void 0;d.push(new wv(q,Se,j,se,Ae))}else if(D.value){const Se=S?j:r,Ae=js(r,D.value.ast.sourceSpan);this._parsePropertyAst(q,D.value,!1,Se,se,Ae,a,u)}else a.push([q,""]),this.parseLiteralAttr(q,null,se,i,void 0,a,u,se)}}_parseTemplateBindings(e,t,r,i,a){try{const u=this._exprParser.parseTemplateBindings(e,t,r,i,a);return u.errors.forEach(d=>this.errors.push(d)),u.warnings.forEach(d=>{this._reportError(d,r,cs.WARNING)}),u.templateBindings}catch(u){return this._reportError(`${u}`,r),[]}}parseLiteralAttr(e,t,r,i,a,u,d,S){Vl(e)?(e=e.substring(1),void 0!==S&&(S=js(S,new Hn(S.start.offset+1,S.end.offset))),t&&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,cs.ERROR),this._parseLegacyAnimation(e,t,r,i,S,a,u,d)):d.push(new So(e,this._exprParser.wrapLiteralPrimitive(t,"",i),Fr.LITERAL_ATTR,r,S,a))}parsePropertyBinding(e,t,r,i,a,u,d,S,T,b){0===e.length&&this._reportError("Property name is missing in binding",a);let D=!1;e.startsWith($l)?(D=!0,e=e.substring(8),void 0!==b&&(b=js(b,new Hn(b.start.offset+8,b.end.offset)))):Vl(e)&&(D=!0,e=e.substring(1),void 0!==b&&(b=js(b,new Hn(b.start.offset+1,b.end.offset)))),D?this._parseLegacyAnimation(e,t,a,u,b,d,S,T):e.startsWith(`${Fl}.`)?this._parseAnimation(e,this.parseBinding(t,r,d||a,u),a,b,d,S,T):this._parsePropertyAst(e,this.parseBinding(t,r,d||a,u),i,a,b,d,S,T)}parsePropertyInterpolation(e,t,r,i,a,u,d,S){const T=this.parseInterpolation(t,i||r,S);return!!T&&(this._parsePropertyAst(e,T,!1,r,d,i,a,u),!0)}_parsePropertyAst(e,t,r,i,a,u,d,S){d.push([e,t.source]),S.push(new So(e,t,r?Fr.TWO_WAY:Fr.DEFAULT,i,a,u))}_parseAnimation(e,t,r,i,a,u,d){u.push([e,t.source]),d.push(new So(e,t,Fr.ANIMATION,r,i,a))}_parseLegacyAnimation(e,t,r,i,a,u,d,S){0===e.length&&this._reportError("Animation trigger is missing",r);const T=this.parseBinding(t||"undefined",!1,u||r,i);d.push([e,T.source]),S.push(new So(e,T,Fr.LEGACY_ANIMATION,r,a,u))}parseBinding(e,t,r,i){try{const a=t?this._exprParser.parseSimpleBinding(e,r,i):this._exprParser.parseBinding(e,r,i);return a&&this.errors.push(...a.errors),a}catch(a){return this._reportError(`${a}`,r),this._exprParser.wrapLiteralPrimitive("ERROR",r,i)}}createBoundElementProperty(e,t,r=!1,i=!0){if(t.isLegacyAnimation)return new $c(t.name,at.LegacyAnimation,p.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let u,a=null,d=null;const S=t.name.split(".");let T;if(S.length>1)if("attr"==S[0]){d=S.slice(1).join("."),r||this._validatePropertyOrAttributeName(d,t.sourceSpan,!0),T=ou(this._schemaRegistry,e,d,!0);const b=d.indexOf(":");if(b>-1){const D=d.substring(0,b),j=d.substring(b+1);d=xo(D,j)}u=at.Attribute}else if("class"==S[0])d=S[1],u=at.Class,T=[p.NONE];else if("style"==S[0]){a=S.length>2?S[2]:null;const b=S[1];if(b.startsWith("--"))try{d=wu(b)}catch(D){this._reportError(D.message,t.sourceSpan)}else d=b;u=at.Style,T=[p.STYLE]}else S[0]==Fl&&(d=t.name,u=at.Animation,T=[p.NONE]);if(null===d){const b=this._schemaRegistry.getMappedPropName(t.name);d=i?b:t.name,T=ou(this._schemaRegistry,e,b,!1),u=t.type===Fr.TWO_WAY?at.TwoWay:at.Property,r||this._validatePropertyOrAttributeName(b,t.sourceSpan,!1)}return new $c(d,u,T[0],t.expression,a,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,r,i,a,u,d,S){0===e.length&&this._reportError("Event name is missing in binding",i),Vl(e)?(e=e.slice(1),void 0!==S&&(S=js(S,new Hn(S.start.offset+1,S.end.offset))),this._parseLegacyAnimationEvent(e,t,i,a,d,S)):this._parseRegularEvent(e,t,r,i,a,u,d,S)}calcPossibleSecurityContexts(e,t,r){const i=this._schemaRegistry.getMappedPropName(t);return ou(this._schemaRegistry,e,i,r)}parseEventListenerName(e){const[t,r]=function ev(n,e){return Cc(n,":",e)}(e,[null,e]);return{eventName:r,target:t}}parseLegacyAnimationEventName(e){const t=function tv(n,e){return Cc(n,".",e)}(e,[e,null]);return{eventName:t[0],phase:null===t[1]?null:t[1].toLowerCase()}}_parseLegacyAnimationEvent(e,t,r,i,a,u){const{eventName:d,phase:S}=this.parseLegacyAnimationEventName(e),T=this._parseAction(t,i);a.push(new Fc(d,S,bn.LegacyAnimation,T,r,i,u)),0===d.length&&this._reportError("Animation event name is missing in binding",r),S?"start"!==S&&"done"!==S&&this._reportError(`The provided animation output phase value "${S}" for "@${d}" is not supported (use start or done)`,r):this._reportError(`The animation trigger output event (@${d}) is missing its phase value name (start or done are currently supported)`,r)}_parseRegularEvent(e,t,r,i,a,u,d,S){const{eventName:T,target:b}=this.parseEventListenerName(e),D=this.errors.length,j=this._parseAction(t,a),q=this.errors.length===D;u.push([e,j.source]),r&&q&&!this._isAllowedAssignmentEvent(j)&&this._reportError("Unsupported expression in a two-way binding",i);let se=bn.Regular;r&&(se=bn.TwoWay),e.startsWith(`${Fl}.`)&&(se=bn.Animation),d.push(new Fc(T,b,se,j,i,a,S))}_parseAction(e,t){const r=t&&t.start?t.start.offset:0;try{const i=this._exprParser.parseAction(e,t,r);return i&&this.errors.push(...i.errors),!i||i.ast instanceof Zn?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",t,r)):i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,r)}}_reportError(e,t,r=cs.ERROR){this.errors.push(new We(t,e,r))}_validatePropertyOrAttributeName(e,t,r){const i=r?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);i.error&&this._reportError(i.msg,t,cs.ERROR)}_isAllowedAssignmentEvent(e){return e instanceof Sr?this._isAllowedAssignmentEvent(e.ast):e instanceof Lu?this._isAllowedAssignmentEvent(e.expression):e instanceof Br&&1===e.args.length&&e.receiver instanceof Fn&&"$any"===e.receiver.name&&e.receiver.receiver instanceof zn?this._isAllowedAssignmentEvent(e.args[0]):(e instanceof Fn||e instanceof Xs)&&!Ul(e)}}function Ul(n){return n instanceof ha||n instanceof yo||(n instanceof Fu?Ul(n.expression):(n instanceof Fn||n instanceof Xs||n instanceof Br)&&Ul(n.receiver))}function Vl(n){return"@"==n[0]}function ou(n,e,t,r){let i;const[a,u]=e?Xn(e,!1):[null,e],d=T=>{const[b,D]=Xn(T,!1),j=b??a,q=j?`:${j}:${D}`:D;return n.securityContext(q,t,r)},S=n.allKnownElementNames();return null===u?i=S.map(d):(i=[],g.parse(u).forEach(T=>{let b=T.element?[T.element]:S;if(T.element&&!n.hasElement(T.element,[])){const q=`:${Yo}:${T.element}`,se=`:${Zo}:${T.element}`;n.hasElement(q,[])?b=[q]:n.hasElement(se,[])&&(b=[se])}const D=new Set(T.notSelectors.filter(q=>q.isElementSelector()).map(q=>q.element?.toLowerCase())),j=b.filter(q=>{const se=q.toLowerCase();return!D.has(se)&&!D.has(Xn(se)[1])});i.push(...j.map(d))})),0===i.length?[p.NONE]:Array.from(new Set(i)).sort()}function js(n,e){const t=e.start-n.start.offset,r=e.end-n.end.offset;return new dt(n.start.moveBy(t),n.end.moveBy(r),n.fullStart.moveBy(t),n.details)}const ds=new Ji,di="ng-template";function uu(n){return n instanceof dr}function yd(n,e,t,r){const i=n.calcPossibleSecurityContexts(e,t,r),a=ou(ds,null,ds.getMappedPropName(t),r),u=a.filter(T=>T!==p.NONE),d=u.length;return d!==a.length&&d>0||u.some(T=>!i.includes(T))?a:i.filter(T=>T!==p.NONE)}function z1(n,e,t,r){let i;const a=e.expression.ast;i=a instanceof ma?new On(a.strings,a.expressions.map(u=>Dt(u,n,e.sourceSpan)),[]):Dt(a,n,e.sourceSpan),n.root.update.push(ai(n.root.xref,t,e.name,i,null,r,!1,!1,null,null,e.sourceSpan))}function X1(n,e,t,r){const i=ai(n.root.xref,ze.Attribute,e,t,null,r,!0,!1,null,null,t.sourceSpan);n.root.update.push(i)}function K1(n,e){let t;if(e.type===bn.Animation)t=Vp(n.root.xref,new qn,e.name,null,_a(n.root,e.handler,e.handlerSpan),e.name.endsWith("enter")?"enter":"leave",e.targetOrPhase,!0,e.sourceSpan);else{const[r,i]=e.type!==bn.LegacyAnimation?[null,e.targetOrPhase]:[e.targetOrPhase,null];t=xl(n.root.xref,new qn,e.name,null,_a(n.root,e.handler,e.handlerSpan),r,i,!0,e.sourceSpan)}n.root.create.push(t)}function Gr(n,e){for(const t of e)if(t instanceof tn)Y1(n,t);else if(t instanceof Cn)Q1(n,t);else if(t instanceof xa)J1(n,t);else if(t instanceof os)Ed(n,t,null);else if(t instanceof yi)Sd(n,t,null);else if(t instanceof wo)q1(n,t);else if(t instanceof Ao)_1(n,t);else if(t instanceof Ei)e0(n,t);else if(t instanceof Ku)n0(n,t);else if(t instanceof Zs)r0(n,t);else if(t instanceof As)i0(n,t);else if(!(t instanceof us))throw new Error(`Unsupported template node: ${t.constructor.name}`)}function Y1(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof dr||e.i18n instanceof ws))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);const t=n.job.allocateXrefId(),r=n.job.getForeignComponent(e);if(r)return void function Z1(n,e,t,r){const i=new Map;for(const S of t.attributes)i.set(S.name,W(S.value));for(const S of t.inputs)i.set(S.name,Dt(S.value,n.job,S.sourceSpan));const a=[],u=[];for(const S of t.children)S instanceof Co?a.push(S):u.push(S);for(const S of a){const T=n.job.allocateView(n.xref);for(let b=0;b<S.variables.length;b++)T.contextVariables.set(S.variables[b].name,b);Gr(T,S.children),n.create.push(Bp(e,T.xref,S.name,S.startSourceSpan,S.sourceSpan))}if(u.length>0){const S=n.job.allocateView(n.xref);Gr(S,u),n.create.push(Bp(e,S.xref,"children",t.startSourceSpan,t.sourceSpan))}const d=n.job.addConst(r.component);n.create.push(function dg(n,e,t,r){return{kind:I.ForeignComponent,xref:n,handle:new qn,constIndex:e,props:t,sourceSpan:r,...Ir,...lt}}(e,d,i,t.startSourceSpan))}(n,t,e,r);const[i,a]=Xn(e.name),u=function fg(n,e,t,r,i,a){return{kind:I.ElementStart,xref:e,tag:n,handle:new qn,attributes:null,localRefs:[],nonBindable:!1,namespace:t,i18nPlaceholder:r,startSourceSpan:i,wholeSourceSpan:a,...Ir,...lt}}(a,t,qp(i),e.i18n instanceof ws?e.i18n:void 0,e.startSourceSpan,e.sourceSpan);n.create.push(u),function o0(n,e,t){let r=new Array,i=new Set;for(const a of t.attributes){const[u,d]=Xn(t.name);let S=u;if(!u)switch(e.namespace){case Nn.SVG:S=Yo;break;case Nn.Math:S=Zo}const T=ds.securityContext(S?`:${S}:${d}`:d,a.name,!0);r.push(ai(e.xref,ze.Attribute,a.name,Hl(n.job,a.value,a.i18n),null,T,!0,!1,null,hs(a.i18n),a.sourceSpan)),a.i18n&&i.add(a.name)}for(const a of t.inputs)i.has(a.name)&&console.error(`On component ${n.job.componentName}, the binding ${a.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),r.push(ai(e.xref,Td.get(a.type),a.name,Hl(n.job,eo(a.value),a.i18n),a.unit,a.securityContext,!1,!1,null,hs(a.i18n)??null,a.sourceSpan));n.create.push(r.filter(a=>a?.kind===I.ExtractedAttribute)),n.update.push(r.filter(a=>a?.kind===I.Binding));for(const a of t.outputs){if(a.type===bn.LegacyAnimation&&null===a.phase)throw Error("Animation listener should have a phase");a.type===bn.TwoWay?n.create.push(jp(e.xref,e.handle,a.name,e.tag,Cd(n,a.handler,a.handlerSpan),a.sourceSpan)):a.type===bn.Animation?n.create.push(Vp(e.xref,e.handle,a.name,e.tag,_a(n,a.handler,a.handlerSpan),a.name.endsWith("enter")?"enter":"leave",a.target,!1,a.sourceSpan)):n.create.push(xl(e.xref,e.handle,a.name,e.tag,_a(n,a.handler,a.handlerSpan),a.phase,a.target,!1,a.sourceSpan))}null!==r.some(a=>a?.i18nMessage)&&n.create.push(Hp(n.job.allocateXrefId(),new qn,e.xref))}(n,u,e),Ad(u,e);let d=null;e.i18n instanceof dr&&(d=n.job.allocateXrefId(),n.create.push(jo(d,e.i18n,void 0,e.startSourceSpan))),Gr(n,e.children);const S=function vg(n,e){return{kind:I.ElementEnd,xref:n,sourceSpan:e,...lt}}(t,e.endSourceSpan??e.startSourceSpan);n.create.push(S),null!==d&&ie.insertBefore(Ho(d,e.endSourceSpan??e.startSourceSpan),S)}function Q1(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof dr||e.i18n instanceof ws))throw Error(`Unhandled i18n metadata type for template: ${e.i18n.constructor.name}`);const t=n.job.allocateView(n.xref);let r=e.tagName,i="";e.tagName&&([i,r]=Xn(e.tagName));const a=e.i18n instanceof ws?e.i18n:void 0,u=qp(i),d=null===r?"":Jg(r,u),S=function a0(n){return Xn(n.tagName??"")[1]===di}(e)?Jn.NgTemplate:Jn.Structural,T=Sl(t.xref,S,r,d,u,a,e.startSourceSpan,e.sourceSpan);n.create.push(T),function u0(n,e,t,r){let i=new Array;for(const a of t.templateAttrs)if(a instanceof To){const u=ds.securityContext(di,a.name,!0);i.push(cu(n,e.xref,at.Attribute,a.name,a.value,null,u,!0,r,hs(a.i18n),a.sourceSpan))}else i.push(cu(n,e.xref,a.type,a.name,eo(a.value),a.unit,a.securityContext,!0,r,hs(a.i18n),a.sourceSpan));for(const a of t.attributes){const u=ds.securityContext(di,a.name,!0);i.push(cu(n,e.xref,at.Attribute,a.name,a.value,null,u,!1,r,hs(a.i18n),a.sourceSpan))}for(const a of t.inputs)i.push(cu(n,e.xref,a.type,a.name,eo(a.value),a.unit,a.securityContext,!1,r,hs(a.i18n),a.sourceSpan));n.create.push(i.filter(a=>a?.kind===I.ExtractedAttribute)),n.update.push(i.filter(a=>a?.kind===I.Binding));for(const a of t.outputs){if(a.type===bn.LegacyAnimation&&null===a.phase)throw Error("Animation listener should have a phase");if(r===Jn.NgTemplate&&(a.type===bn.TwoWay?n.create.push(jp(e.xref,e.handle,a.name,e.tag,Cd(n,a.handler,a.handlerSpan),a.sourceSpan)):n.create.push(xl(e.xref,e.handle,a.name,e.tag,_a(n,a.handler,a.handlerSpan),a.phase,a.target,!1,a.sourceSpan))),r===Jn.Structural&&a.type!==bn.LegacyAnimation){const u=ds.securityContext(di,a.name,!1);n.create.push(Rr(e.xref,ze.Property,null,a.name,null,null,null,u))}}null!==i.some(a=>a?.i18nMessage)&&n.create.push(Hp(n.job.allocateXrefId(),new qn,e.xref))}(n,T,e,S),Ad(T,e),Gr(t,e.children);for(const{name:b,value:D}of e.variables)t.contextVariables.set(b,""!==D?D:"$implicit");if(S===Jn.NgTemplate&&e.i18n instanceof dr){const b=n.job.allocateXrefId();ie.insertAfter(jo(b,e.i18n,void 0,e.startSourceSpan),t.create.head),ie.insertBefore(Ho(b,e.endSourceSpan??e.startSourceSpan),t.create.tail)}}function J1(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof ws))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);let t=null;e.children.some(a=>!(a instanceof Ys||a instanceof os&&!(a.value.trim().length>0)))&&(t=n.job.allocateView(n.xref),Gr(t,e.children));const i=function Ag(n,e,t,r,i){return{kind:I.Projection,xref:n,handle:new qn,selector:e,i18nPlaceholder:t,fallbackView:r,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:i,...lt,...Ir,numSlotsUsed:null===r?1:2}}(n.job.allocateXrefId(),e.selector,e.i18n,t?.xref??null,e.sourceSpan);for(const a of e.attributes){const u=ds.securityContext(e.name,a.name,!0);n.update.push(ai(i.xref,ze.Attribute,a.name,W(a.value),null,u,!0,!1,null,hs(a.i18n),a.sourceSpan))}n.create.push(i)}function Ed(n,e,t){n.create.push(Up(n.job.allocateXrefId(),e.value,t,e.sourceSpan))}function Sd(n,e,t){let r=e.value;if(r instanceof Sr&&(r=r.ast),!(r instanceof ma))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${r.constructor.name}`);if(void 0!==e.i18n&&!(e.i18n instanceof Ur))throw Error(`Unhandled i18n metadata type for text interpolation: ${e.i18n?.constructor.name}`);const i=e.i18n instanceof Ur?e.i18n.children.filter(u=>u instanceof Qr).map(u=>u.name):[];if(i.length>0&&i.length!==r.expressions.length)throw Error(`Unexpected number of i18n placeholders (${r.expressions.length}) for BoundText with ${r.expressions.length} expressions`);const a=n.job.allocateXrefId();n.create.push(Up(a,"",t,e.sourceSpan)),n.update.push(function qm(n,e,t){return{kind:I.InterpolateText,target:n,interpolation:e,sourceSpan:t,...vr,...mr,...lt}}(a,new On(r.strings,r.expressions.map(u=>Dt(u,n.job,null)),i),e.sourceSpan))}function q1(n,e){let t=null,r=[];for(let i=0;i<e.branches.length;i++){const a=e.branches[i],u=n.job.allocateView(n.xref),d=pu(n,u.xref,a);let S;if(null!==a.expressionAlias&&u.contextVariables.set(a.expressionAlias.name,Wp),void 0!==a.i18n){if(!(a.i18n instanceof Is))throw Error(`Unhandled i18n metadata type for if block: ${a.i18n?.constructor.name}`);S=a.i18n}const b=(0===i?Fp:$p)(u.xref,Jn.Block,d,"Conditional",Nn.HTML,S,a.startSourceSpan,a.sourceSpan);n.create.push(b),null===t&&(t=u.xref);const D=a.expression?Dt(a.expression,n.job,null):null,j=new $a(D,b.xref,b.handle,a.expressionAlias);r.push(j),Gr(u,a.children)}n.update.push(Rp(t,null,r,e.sourceSpan))}function _1(n,e){if(0===e.groups.length)return;let t=null,r=[];for(let i=0;i<e.groups.length;i++){const a=e.groups[i],u=n.job.allocateView(n.xref),d=pu(n,u.xref,a);let S;if(void 0!==a.i18n){if(!(a.i18n instanceof Is))throw Error(`Unhandled i18n metadata type for switch block: ${a.i18n?.constructor.name}`);S=a.i18n}const b=(0===i?Fp:$p)(u.xref,Jn.Block,d,"Case",Nn.HTML,S,a.startSourceSpan,a.sourceSpan);n.create.push(b),null===t&&(t=u.xref);for(const D of a.cases){const j=D.expression?Dt(D.expression,n.job,e.startSourceSpan):null,q=new $a(j,b.xref,b.handle);r.push(q)}Gr(u,a.children)}n.update.push(Rp(t,Dt(e.expression,n.job,null),r,e.sourceSpan))}function lu(n,e,t,r,i){if(void 0!==t&&!(t instanceof Is))throw Error("Unhandled i18n metadata type for defer block");if(void 0===r)return null;const a=n.job.allocateView(n.xref);Gr(a,r);const u=Sl(a.xref,Jn.Block,null,`Defer${e}`,Nn.HTML,t,i,i);return n.create.push(u),u}function e0(n,e){let t=null;if(0===n.job.deferMeta.mode){if(!n.job.deferMeta.blocks.has(e))throw new Error("AssertionError: unable to find a dependency function for this deferred block");t=n.job.deferMeta.blocks.get(e)??null}const r=lu(n,"",e.i18n,e.children,e.sourceSpan),i=lu(n,"Loading",e.loading?.i18n,e.loading?.children,e.loading?.sourceSpan),a=lu(n,"Placeholder",e.placeholder?.i18n,e.placeholder?.children,e.placeholder?.sourceSpan),u=lu(n,"Error",e.error?.i18n,e.error?.children,e.error?.sourceSpan),d=n.job.allocateXrefId(),S=function wg(n,e,t,r,i,a){return{kind:I.Defer,xref:n,handle:new qn,mainView:e,mainSlot:t,loadingView:null,loadingSlot:null,loadingConfig:null,loadingMinimumTime:null,loadingAfterTime:null,placeholderView:null,placeholderSlot:null,placeholderConfig:null,placeholderMinimumTime:null,errorView:null,errorSlot:null,ownResolverFn:r,resolverFn:i,flags:null,sourceSpan:a,...lt,...Ir,numSlotsUsed:2}}(d,r.xref,r.handle,t,n.job.allDeferrableDepsFn,e.sourceSpan);S.placeholderView=a?.xref??null,S.placeholderSlot=a?.handle??null,S.loadingSlot=i?.handle??null,S.errorSlot=u?.handle??null,S.placeholderMinimumTime=e.placeholder?.minimumTime??null,S.loadingMinimumTime=e.loading?.minimumTime??null,S.loadingAfterTime=e.loading?.afterTime??null,S.flags=function t0(n){return Object.keys(n.hydrateTriggers).length>0?1:null}(e),n.create.push(S);const T=[],b=[];jl("hydrate",e.hydrateTriggers,T,b,n,d),jl("none",e.triggers,T,b,n,d),jl("prefetch",e.prefetchTriggers,T,b,n,d),T.some(j=>"none"===j.modifier)||b.some(j=>"none"===j.modifier)||T.push(Bs(d,{kind:nn.Idle,timeout:null},"none",null)),n.create.push(T),n.update.push(b)}function jl(n,e,t,r,i,a){if(void 0!==e.idle){const u=Bs(a,{kind:nn.Idle,timeout:e.idle.timeout??null},n,e.idle.sourceSpan);t.push(u)}if(void 0!==e.immediate){const u=Bs(a,{kind:nn.Immediate},n,e.immediate.sourceSpan);t.push(u)}if(void 0!==e.timer){const u=Bs(a,{kind:nn.Timer,delay:e.timer.delay},n,e.timer.sourceSpan);t.push(u)}if(void 0!==e.hover){const u=Bs(a,{kind:nn.Hover,targetName:e.hover.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},n,e.hover.sourceSpan);t.push(u)}if(void 0!==e.interaction){const u=Bs(a,{kind:nn.Interaction,targetName:e.interaction.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},n,e.interaction.sourceSpan);t.push(u)}if(void 0!==e.viewport){const u=Bs(a,{kind:nn.Viewport,targetName:e.viewport.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null,options:e.viewport.options?Dt(e.viewport.options,i.job,e.viewport.sourceSpan):null},n,e.viewport.sourceSpan);t.push(u)}if(void 0!==e.never){const u=Bs(a,{kind:nn.Never},n,e.never.sourceSpan);t.push(u)}if(void 0!==e.when){if(e.when.value instanceof ma)throw new Error("Unexpected interpolation in defer block when trigger");const u=function og(n,e,t,r){return{kind:I.DeferWhen,target:n,expr:e,modifier:t,sourceSpan:r,...lt,...vr,...mr}}(a,Dt(e.when.value,i.job,e.when.sourceSpan),n,e.when.sourceSpan);r.push(u)}}function n0(n,e){if(!(e.i18n instanceof dr&&function H1(n){return uu(n)&&1===n.nodes.length&&n.nodes[0]instanceof xi}(e.i18n)))throw Error(`Unhandled i18n metadata type for ICU: ${e.i18n?.constructor.name}`);{const t=n.job.allocateXrefId();n.create.push(function Ng(n,e,t,r){return{kind:I.IcuStart,xref:n,message:e,messagePlaceholder:t,context:null,sourceSpan:r,...lt}}(t,e.i18n,Zc(e.i18n).name,null));for(const[r,i]of Object.entries({...e.vars,...e.placeholders}))i instanceof yi?Sd(n,i,r):Ed(n,i,r);n.create.push(function Pg(n){return{kind:I.IcuEnd,xref:n,...lt}}(t))}}function r0(n,e){const t=n.job.allocateView(n.xref),r=`\u0275$index_${t.xref}`,i=`\u0275$count_${t.xref}`,a=new Set;t.contextVariables.set(e.item.name,e.item.value);for(const Ae of e.contextVariables)"$index"===Ae.value&&a.add(Ae.name),"$index"===Ae.name?t.contextVariables.set("$index",Ae.value).set(r,Ae.value):"$count"===Ae.name?t.contextVariables.set("$count",Ae.value).set(i,Ae.value):t.aliases.add({kind:$n.Alias,name:null,identifier:Ae.name,expression:s0(Ae,r,i)});let u;u=null===e.trackBy?Ie("$index"):Dt(e.trackBy,n.job,Bn(e.trackBy.span,e.sourceSpan)),Gr(t,e.children);let d=null,S=null;null!==e.empty&&(d=n.job.allocateView(n.xref),Gr(d,e.empty.children),S=pu(n,d.xref,e.empty));const T={$index:a,$implicit:e.item.name};if(void 0!==e.i18n&&!(e.i18n instanceof Is))throw Error("AssertionError: Unhandled i18n metadata type or @for");if(void 0!==e.empty?.i18n&&!(e.empty.i18n instanceof Is))throw Error("AssertionError: Unhandled i18n metadata type or @empty");const b=e.i18n,D=e.empty?.i18n,j=pu(n,t.xref,e),q=function hg(n,e,t,r,i,a,u,d,S,T){return{kind:I.RepeaterCreate,attributes:null,xref:n,handle:new qn,emptyView:e,track:r,trackByFn:null,trackByOps:null,tag:t,emptyTag:a,emptyAttributes:null,functionNameSuffix:"For",namespace:Nn.HTML,nonBindable:!1,localRefs:[],decls:null,vars:null,varNames:i,usesComponentInstance:!1,i18nPlaceholder:u,emptyI18nPlaceholder:d,startSourceSpan:S,wholeSourceSpan:T,...Ir,...lt,...mr,numSlotsUsed:null===e?2:3}}(t.xref,d?.xref??null,j,u,T,S,b,D,e.startSourceSpan,e.sourceSpan);n.create.push(q);const se=Dt(e.expression,n.job,Bn(e.expression.span,e.sourceSpan)),Se=function ag(n,e,t,r){return{kind:I.Repeater,target:n,targetSlot:e,collection:t,sourceSpan:r,...lt,...vr}}(q.xref,q.handle,se,e.sourceSpan);n.update.push(Se)}function s0(n,e,t){switch(n.value){case"$index":return new Un(e);case"$count":return new Un(t);case"$first":return new Un(e).identical(W(0));case"$last":return new Un(e).identical(new Un(t).minus(W(1)));case"$even":return new Un(e).modulo(W(2)).identical(W(0));case"$odd":return new Un(e).modulo(W(2)).notIdentical(W(0));default:throw new Error(`AssertionError: unknown @for loop variable ${n.value}`)}}function i0(n,e){const t=n.job.allocateXrefId();n.create.push(function Ig(n,e,t){return{kind:I.DeclareLet,xref:n,declaredName:e,sourceSpan:t,handle:new qn,...Ir,...lt}}(t,e.name,e.sourceSpan)),n.update.push(function lg(n,e,t,r){return{kind:I.StoreLet,target:n,declaredName:e,value:t,sourceSpan:r,...vr,...mr,...lt}}(t,e.name,Dt(e.value,n.job,e.valueSpan),e.sourceSpan))}function Dt(n,e,t){if(n instanceof Sr)return Dt(n.ast,e,t);if(n instanceof Fn)return n.receiver instanceof zn?new Un(n.name):new jt(Dt(n.receiver,e,t),n.name,null,Bn(n.span,t));if(n instanceof Br){if(n.receiver instanceof zn)throw new Error("Unexpected ImplicitReceiver");return new Y(Dt(n.receiver,e,t),n.args.map(r=>Dt(r,e,t)),void 0,Bn(n.span,t))}if(n instanceof pr)return W(n.value,void 0,Bn(n.span,t));if(!(n instanceof Ks)){if(n instanceof tr){const r=Zg.get(n.operation);if(void 0===r)throw new Error(`AssertionError: unknown binary operator ${n.operation}`);return new Fe(r,Dt(n.left,e,t),Dt(n.right,e,t),void 0,Bn(n.span,t))}if(n instanceof as)return new ps(e.root.xref);if(n instanceof Xs)return new vn(Dt(n.receiver,e,t),Dt(n.key,e,t),void 0,Bn(n.span,t));if(n instanceof go)throw new Error("AssertionError: Chain in unknown context");if(n instanceof gi){const r=n.keys.map((i,a)=>{const u=Dt(n.values[a],e,t);return"spread"===i.kind?new Xt(u):new cn(i.key,u,i.quoted)});return new ue(r,void 0,Bn(n.span,t))}if(n instanceof Eo)return new sn(n.expressions.map(r=>Dt(r,e,t)));if(n instanceof Rc)return new Vt(Dt(n.condition,e,t),Dt(n.trueExp,e,t),Dt(n.falseExp,e,t),void 0,Bn(n.span,t));if(n instanceof Lu)return Dt(n.expression,e,t);if(n instanceof Ou)return new oi(e.allocateXrefId(),new qn,n.name,[Dt(n.exp,e,t),...n.args.map(r=>Dt(r,e,t))]);if(n instanceof yo)return new li(Dt(n.receiver,e,t),Dt(n.key,e,t),Bn(n.span,t));if(n instanceof ha)return new ui(Dt(n.receiver,e,t),n.name);if(n instanceof ga)return new Y(Dt(n.receiver,e,t),n.args.map(r=>Dt(r,e,t)),null,Bn(n.span,t),!1,[],!0);if(n instanceof Zn)return new Fi(Bn(n.span,t));if(n instanceof Du)return function Cu(n,e){return new Jt(n,e)}(Dt(n.expression,e,t),Bn(n.span,t));if(n instanceof Ru)return Gn(Dt(n.expression,e,t));if(n instanceof Mu)return new ur(Dt(n.expression,e,t),void 0,Bn(n.span,t));if(n instanceof Bu)return xd(n,e,t);if(n instanceof ku)return new ve(Dt(n.tag,e,t),xd(n.template,e,t),void 0,Bn(n.span,t));if(n instanceof Fu)return new Et(Dt(n.expression,e,t),void 0,Bn(n.span,t));if(n instanceof Bc)return new de(n.body,n.flags,t);if(n instanceof Mc)return new pe(Dt(n.expression,e,t));if(n instanceof kc)return function c0(n){const e=new Set(n.params.map(t=>t.name));return He(n,t=>{if(t instanceof It)for(const r of t.params)e.add(r.name);else if(t instanceof Un&&e.has(t.name))return Ie(t.name);return t},bt.None)}(an(n.parameters.map(r=>new Me(r.name,me)),Dt(n.body,e,t)));throw new Error(`Unhandled expression type "${n.constructor.name}" in file "${t?.start.file.url}"`)}switch(n.operator){case"+":return new ut($e.Plus,Dt(n.expr,e,t),void 0,Bn(n.span,t));case"-":return new ut($e.Minus,Dt(n.expr,e,t),void 0,Bn(n.span,t));default:throw new Error(`AssertionError: unknown unary operator ${n.operator}`)}}function xd(n,e,t){return new rt(n.elements.map(r=>new Qe(r.text,Bn(r.span,t))),n.expressions.map(r=>Dt(r,e,t)),Bn(n.span,t))}function Hl(n,e,t,r){let i;return i=e instanceof ma?new On(e.strings,e.expressions.map(a=>Dt(a,n,null)),Object.keys(hs(t)?.placeholders??{})):e instanceof pn?Dt(e,n,null):W(e),i}const Td=new Map([[at.Property,ze.Property],[at.TwoWay,ze.TwoWayProperty],[at.Attribute,ze.Attribute],[at.Class,ze.ClassName],[at.Style,ze.StyleProperty],[at.LegacyAnimation,ze.LegacyAnimation],[at.Animation,ze.Animation]]);function hs(n){if(null==n)return null;if(!(n instanceof dr))throw Error(`Expected i18n meta to be a Message, but got: ${n.constructor.name}`);return n}function cu(n,e,t,r,i,a,u,d,S,T,b){const D="string"==typeof i;if(S===Jn.Structural){if(!d)switch(t){case at.Property:case at.Class:case at.Style:return Rr(e,ze.Property,null,r,null,null,T,u);case at.TwoWay:return Rr(e,ze.TwoWayProperty,null,r,null,null,T,u)}if(!D&&(t===at.Attribute||t===at.LegacyAnimation||t===at.Animation))return null}let j=Td.get(t);return S===Jn.NgTemplate&&(t===at.Class||t===at.Style||t===at.Attribute&&!D)&&(j=ze.Property),ai(e,j,r,Hl(n.job,i,T),a,u,D,d,S,T,b)}function _a(n,e,t){e=eo(e);const r=new Array;let i=e instanceof go?e.expressions:[e];if(0===i.length)throw new Error("Expected listener to have non-empty expression list.");const a=i.map(d=>Dt(d,n.job,t)),u=a.pop();return r.push(...a.map(d=>wr(new oe(d,d.sourceSpan)))),r.push(wr(new we(u,u.sourceSpan))),r}function Cd(n,e,t){e=eo(e);const r=new Array;if(e instanceof go){if(1!==e.expressions.length)throw new Error("Expected two-way listener to have a single expression.");e=e.expressions[0]}const i=Dt(e,n.job,t),a=new Un("$event"),u=new $o(i,a);return r.push(wr(new oe(u))),r.push(wr(new we(a))),r}function eo(n){return n instanceof Sr?n.ast:n}function Ad(n,e){!function l0(n){if(!Array.isArray(n))throw new Error("AssertionError: expected an array")}(n.localRefs);for(const{name:t,value:r}of e.references)n.localRefs.push({name:t,target:r})}function Bn(n,e){if(null===e)return null;const t=e.start.moveBy(n.start),r=e.start.moveBy(n.end),i=e.fullStart.moveBy(n.start);return new dt(t,r,i)}function pu(n,e,t){let r=null;for(const i of t.children)if(!(i instanceof Ys||i instanceof As)){if(null!==r)return null;if(!(i instanceof tn&&null===n.job.getForeignComponent(i)||i instanceof Cn&&null!==i.tagName))return null;r=i}if(null!==r){for(const a of r.attributes)if(!a.name.startsWith("animate.")){const u=ds.securityContext(di,a.name,!0);n.update.push(ai(e,ze.Attribute,a.name,W(a.value),null,u,!0,!1,null,hs(a.i18n),a.sourceSpan))}for(const a of r.inputs)if(a.type!==at.LegacyAnimation&&a.type!==at.Animation&&a.type!==at.Attribute){const u=ds.securityContext(di,a.name,!0);n.create.push(Rr(e,ze.Property,null,a.name,null,null,null,u))}const i=r instanceof tn?r.name:r.tagName;return i===di?null:i}return null}let wd=!1;function fu(n,e){return Mr(Ie(Ci).bitwiseAnd(W(n),null),e)}function Id(n,e,t){const r=[];return void 0!==t&&r.push(...t),n.isSignal&&r.push(new jt(Ie(Tr),n.propertyName)),r.push(function d0(n,e){if(Array.isArray(n.predicate)){let t=[];return n.predicate.forEach(r=>{const i=r.split(",").map(a=>W(a.trim()));t.push(...i)}),e.getConstLiteral(gt(t),!0)}switch(n.predicate.forwardRef){case 0:case 2:return n.predicate.expression;case 1:return le(U.resolveForwardRef).callFn([n.predicate.expression])}}(n,e),W(function f0(n){return(n.descendants?1:0)|(n.static?2:0)|(n.emitDistinctChangesOnly?4:0)}(n))),n.read&&r.push(n.read),r}const Wl=Symbol("queryAdvancePlaceholder");function bd(n){const e=[];let t=0;const r=()=>{t>0&&(e.unshift(le(U.queryAdvance).callFn(1===t?[]:[W(t)]).toStmt()),t=0)};for(let i=n.length-1;i>=0;i--){const a=n[i];a===Wl?t++:(r(),e.unshift(a))}return r(),e}class Nd extends Sf{constructor(){super(Rl)}parse(e,t,r){return super.parse(e,t,r)}}const g0=/^([^:/?#]+):/,A0=new Set([":svg:script","script"]);function Pd(n){let e=null,t=null,r=null,i=!1,a="";for(const S of n.attrs){const T=S.name.toLowerCase();"select"==T?e=S.value:"href"==T?t=S.value:"rel"==T?r=S.value:"ngNonBindable"==S.name?i=!0:"ngProjectAs"==S.name&&S.value.length>0&&(a=S.value)}e||="*";const u=n.name.toLowerCase();let d=yr.OTHER;return Uu(u)?d=yr.NG_CONTENT:"style"===u?d=yr.STYLE:A0.has(u)?d=yr.SCRIPT:"link"==u&&"stylesheet"==r&&(d=yr.STYLESHEET),new b0(d,e,t,i,a)}var yr;!function(n){n[n.NG_CONTENT=0]="NG_CONTENT",n[n.STYLE=1]="STYLE",n[n.STYLESHEET=2]="STYLESHEET",n[n.SCRIPT=3]="SCRIPT",n[n.OTHER=4]="OTHER"}(yr||(yr={}));class b0{type;selectAttr;hrefAttr;nonBindable;projectAs;constructor(e,t,r,i,a){this.type=e,this.selectAttr=t,this.hrefAttr=r,this.nonBindable=i,this.projectAs=a}}function N0(n,e){const t=[];if(n.parameters.length<1||n.parameters.length>2)return t.push(new We(n.startSourceSpan,'@content block must have one or two parameters, e.g. "@content(header)" or "@content(items; let item, index)"')),{node:null,errors:t};const r=n.parameters[0],i=r.expression.trim();if(i.includes(","))return t.push(new We(n.startSourceSpan,"@content block must have exactly one name parameter")),{node:null,errors:t};if(!bu.test(i))return t.push(new We(r.sourceSpan,"@content name must be a valid JavaScript identifier")),{node:null,errors:t};const a=function P0(n,e){const t=[];if(n.parameters.length<2)return t;const r=n.parameters[1],a=r.expression.trim().match(bc);if(!a)return e.push(new We(r.sourceSpan,'@content block variables must start with "let", e.g. "let item, index"')),null;const u=a[1].split(",").map(D=>D.trim()),d=a[1],S=r.expression.indexOf(d),T=r.sourceSpan.start.moveBy(S);let b=0;for(let D of u){if(""===D){e.push(new We(r.sourceSpan,"Invalid variable name in @content block"));continue}let j;const q=d.indexOf(D,b),se=T.moveBy(q);if(D.includes("=")){const Se=D.indexOf("="),Ae=D.substring(0,Se).trim(),je=new dt(se,se.moveBy(D.length));e.push(new We(je,"@content block variables cannot be assigned a value")),D=Ae,j=new dt(se,se.moveBy(D.length))}else j=new dt(se,se.moveBy(D.length));bu.test(D)?t.some(Se=>Se.name===D)?(e.push(new We(j,`Duplicate variable name "${D}" in @content block`)),b=q+D.length):(t.push(new Yr(D,"",j,j)),b=q+D.length):(e.push(new We(j,`Variable name "${D}" must be a valid JavaScript identifier`)),b=q+D.length)}return t}(n,t);return null===a?{node:null,errors:t}:{node:new Co(i,a,ct(e,n.children,n.children),n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n),errors:t}}const O0=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,D0=/^track\s+([\S\s]*)/,R0=/^(as\s+)(.*)/,Od=/(\s*)(\S+)(\s*)/,to=new Set(["$index","$first","$last","$even","$odd","$count"]);function Dd(n){return"empty"===n}function Rd(n){return"else"===n||"else if"===n}function M0(n,e,t,r){const i=function U0(n){const e=[];let t=!1;for(let r=0;r<n.length;r++){const i=n[r];"else"===i.name?(t?e.push(new We(i.startSourceSpan,"Conditional can only have one @else block")):n.length>1&&r<n.length-1?e.push(new We(i.startSourceSpan,"@else block must be last inside the conditional")):i.parameters.length>0&&e.push(new We(i.startSourceSpan,"@else block cannot have parameters")),t=!0):"else if"!==i.name&&e.push(new We(i.startSourceSpan,`Unrecognized conditional block @${i.name}`))}return e}(e),a=[],u=Md(n,i,r);null!==u&&a.push(new Si(u.expression,ct(t,n.children,n.children),u.expressionAlias,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.nameSpan,n.i18n));for(const D of e)if("else if"===D.name){const j=Md(D,i,r);if(null!==j){const q=ct(t,D.children,D.children);a.push(new Si(j.expression,q,j.expressionAlias,D.sourceSpan,D.startSourceSpan,D.endSourceSpan,D.nameSpan,D.i18n))}}else if("else"===D.name){const j=ct(t,D.children,D.children);a.push(new Si(null,j,null,D.sourceSpan,D.startSourceSpan,D.endSourceSpan,D.nameSpan,D.i18n))}const d=a.length>0?a[0].startSourceSpan:n.startSourceSpan,S=a.length>0?a[a.length-1].endSourceSpan:n.endSourceSpan;let T=n.sourceSpan;const b=a[a.length-1];return void 0!==b&&(T=new dt(d.start,b.sourceSpan.end)),{node:new wo(a,T,n.startSourceSpan,S,n.nameSpan),errors:i}}function L0(n,e,t,r){const i=[],a=function B0(n,e,t){if(0===n.parameters.length)return e.push(new We(n.startSourceSpan,"@for loop does not have an expression")),null;const[r,...i]=n.parameters,a=function j0(n,e){const t=n.expression,r=/^\s$/;let i=0,a=0,u=t.length-1;for(let d=0;d<t.length;d++){const S=t[d];if("("!==S){if(r.test(S))continue;break}a=d+1,i++}if(0===i)return t;for(let d=t.length-1;d>-1;d--){const S=t[d];if(")"!==S){if(r.test(S))continue;break}if(u=d,i--,0===i)break}return 0!==i?(e.push(new We(n.sourceSpan,"Unclosed parentheses in expression")),null):t.slice(a,u)}(r,e)?.match(O0);if(!a||0===a[2].trim().length)return e.push(new We(r.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern "<identifier> of <expression>"')),null;const[,u,d]=a;to.has(u)&&e.push(new We(r.sourceSpan,`@for loop item name cannot be one of ${Array.from(to).join(", ")}.`));const S=r.expression.split(" ")[0],T=new dt(r.sourceSpan.start,r.sourceSpan.start.moveBy(S.length)),b={itemName:new Yr(u,"$implicit",T,T),trackBy:null,expression:ta(r,t,d),context:Array.from(to,D=>{const j=new dt(n.startSourceSpan.end,n.startSourceSpan.end);return new Yr(D,D,j,j)})};for(const D of i){const j=D.expression.match(bc);if(null!==j){const se=new dt(D.sourceSpan.start.moveBy(j[0].length-j[1].length),D.sourceSpan.end);$0(D.sourceSpan,j[1],se,u,b.context,e);continue}const q=D.expression.match(D0);if(null===q)e.push(new We(D.sourceSpan,`Unrecognized @for loop parameter "${D.expression}"`));else if(null!==b.trackBy)e.push(new We(D.sourceSpan,'@for loop can only have one "track" expression'));else{const se=ta(D,t,q[1]);se.ast instanceof Zn&&e.push(new We(n.startSourceSpan,'@for loop must have a "track" expression'));const Se=new dt(D.sourceSpan.start,D.sourceSpan.start.moveBy(5));b.trackBy={expression:se,keywordSpan:Se}}}return b}(n,i,r);let u=null,d=null;for(const S of e)"empty"===S.name?null!==d?i.push(new We(S.sourceSpan,"@for loop can only have one @empty block")):S.parameters.length>0?i.push(new We(S.sourceSpan,"@empty block cannot have parameters")):d=new Xu(ct(t,S.children,S.children),S.sourceSpan,S.startSourceSpan,S.endSourceSpan,S.nameSpan,S.i18n):i.push(new We(S.sourceSpan,`Unrecognized @for loop block "${S.name}"`));if(null!==a){const S=d?.endSourceSpan??n.endSourceSpan,T=new dt(n.sourceSpan.start,S?.end??n.sourceSpan.end);let b,D;null===a.trackBy?(b=D=null,i.push(new We(n.startSourceSpan,'@for loop must have a "track" expression'))):(b=a.trackBy.expression,D=a.trackBy.keywordSpan,function F0(n,e,t){const r=new H0;n.ast.visit(r),r.hasPipe&&t.push(new We(e,"Cannot use pipes in track expressions"))}(a.trackBy.expression,a.trackBy.keywordSpan,i)),u=new Zs(a.itemName,a.expression,b,D,a.context,ct(t,n.children,n.children),d,T,n.sourceSpan,n.startSourceSpan,S,n.nameSpan,n.i18n)}return{node:u,errors:i}}function k0(n,e,t){const r=function V0(n){const e=[];let t=!1;if(1!==n.parameters.length)return e.push(new We(n.startSourceSpan,"@switch block must have exactly one parameter")),e;for(const r of n.children)if(!(r instanceof Ki||r instanceof pi&&0===r.value.trim().length)){if(!(r instanceof ns)||"case"!==r.name&&"default"!==r.name&&"default never"!==r.name){e.push(new We(r.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}"default never"===r.name?(t&&e.push(new We(r.startSourceSpan,"@switch block can only have one @default block")),t=!0):"default"===r.name?(t?e.push(new We(r.startSourceSpan,"@switch block can only have one @default block")):r.parameters.length>0&&e.push(new We(r.startSourceSpan,"@default block cannot have parameters")),t=!0):"case"===r.name&&1!==r.parameters.length&&e.push(new We(r.startSourceSpan,"@case block must have exactly one parameter"))}return e}(n),i=n.parameters.length>0?ta(n.parameters[0],t):t.parseBinding("",!1,n.sourceSpan,0),a=[],u=[];let d=[],S=null,T=null;for(const D of n.children){if(!(D instanceof ns))continue;if(("case"!==D.name||0===D.parameters.length)&&"default"!==D.name&&"default never"!==D.name){u.push(new Wc(D.name,D.sourceSpan,D.nameSpan));continue}null!==T&&r.push(new We(D.sourceSpan,'@default block with "never" parameter must be the last case in a switch'));let q=null;if("case"===D.name)q=ta(D.parameters[0],t);else if("default never"===D.name){D.parameters.length>0&&(q=ta(D.parameters[0],t)),(D.children.length>0||null!==D.endSourceSpan&&D.endSourceSpan.start.offset!==D.endSourceSpan.end.offset)&&r.push(new We(D.sourceSpan,'@default block with "never" parameter cannot have a body')),d.length>0&&r.push(new We(D.sourceSpan,'A @case block with no body cannot be followed by a @default block with "never" parameter')),T=new Rv(q,D.sourceSpan,D.startSourceSpan,D.endSourceSpan,D.nameSpan);continue}const se=new Dv(q,D.sourceSpan,D.startSourceSpan,D.endSourceSpan,D.nameSpan);if(d.push(se),0===D.children.length&&null!==D.endSourceSpan&&D.endSourceSpan.start.offset===D.endSourceSpan.end.offset){null===S&&(S=D.sourceSpan);continue}let Ae=D.sourceSpan,je=D.startSourceSpan;null!==S&&(Ae=new dt(S.start,D.sourceSpan.end),je=new dt(S.start,D.startSourceSpan.end),S=null);const St=new zu(d,ct(e,D.children,D.children),Ae,je,D.endSourceSpan,D.nameSpan,D.i18n);a.push(St),d=[]}return{node:new Ao(i,a,u,T,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.nameSpan),errors:r}}function $0(n,e,t,r,i,a){const u=e.split(",");let d=t.start;for(const S of u){const T=S.split("="),b=2===T.length?T[0].trim():"",D=2===T.length?T[1].trim():"";if(0===b.length||0===D.length)a.push(new We(n,'Invalid @for loop "let" parameter. Parameter should match the pattern "<name> = <variable name>"'));else if(to.has(D))if(b===r)a.push(new We(n,`Invalid @for loop "let" parameter. Variable cannot be called "${r}"`));else if(i.some(j=>j.name===b))a.push(new We(n,`Duplicate "let" parameter variable "${D}"`));else{const[,j,q]=T[0].match(Od)??[],se=void 0!==j&&2===T.length?new dt(d.moveBy(j.length),d.moveBy(j.length+q.length)):t;let Se;if(2===T.length){const[,je,St]=T[1].match(Od)??[];Se=void 0!==je?new dt(d.moveBy(T[0].length+1+je.length),d.moveBy(T[0].length+1+je.length+St.length)):void 0}const Ae=new dt(se.start,Se?.end??se.end);i.push(new Yr(b,D,Ae,se,Se))}else a.push(new We(n,`Unknown "let" parameter variable "${D}". The allowed variables are: ${Array.from(to).join(", ")}`));d=d.moveBy(S.length+1)}}function ta(n,e,t){let r,i;return"string"==typeof t?(r=Math.max(0,n.expression.lastIndexOf(t)),i=r+t.length):(r=0,i=n.expression.length),e.parseBinding(n.expression.slice(r,i),!1,n.sourceSpan,n.sourceSpan.start.offset+r)}function Md(n,e,t){if(0===n.parameters.length)return e.push(new We(n.startSourceSpan,"Conditional block does not have an expression")),null;const r=ta(n.parameters[0],t);let i=null;for(let a=1;a<n.parameters.length;a++){const u=n.parameters[a],d=u.expression.match(R0);if(null===d)e.push(new We(u.sourceSpan,`Unrecognized conditional parameter "${u.expression}"`));else if("if"!==n.name&&"else if"!==n.name)e.push(new We(u.sourceSpan,'"as" expression is only allowed on `@if` and `@else if` blocks'));else if(null!==i)e.push(new We(u.sourceSpan,'Conditional can only have one "as" expression'));else{const S=d[2].trim();if(bu.test(S)){const T=u.sourceSpan.start.moveBy(d[1].length),b=new dt(T,T.moveBy(S.length));i=new Yr(S,S,b,b)}else e.push(new We(u.sourceSpan,'"as" expression must be a valid JavaScript identifier'))}}return{expression:r,expressionAlias:i}}class H0 extends ya{hasPipe=!1;visitPipe(){this.hasPipe=!0}}const W0=/^\d+\.?\d*(ms|s)?$/,G0=/^\s$/,Ld=new Map([[Or,ir],[91,93],[40,41]]);var Kn;function z0({expression:n,sourceSpan:e},t,r){const i=n.indexOf("never"),a=new dt(e.start.moveBy(i),e.start.moveBy(i+5)),u=Xl(n,e),d=Kl(n,e);-1===i?r.push(new We(e,'Could not find "never" keyword in expression')):Yl("never",t,r,new bv(a,e,u,null,d))}function Gl({expression:n,sourceSpan:e},t,r,i){const a=n.indexOf("when"),u=new dt(e.start.moveBy(a),e.start.moveBy(a+4)),d=Xl(n,e),S=Kl(n,e);if(-1===a)i.push(new We(e,'Could not find "when" keyword in expression'));else{const T=no(n,a+1),b=t.parseBinding(n.slice(T),!1,e,e.start.offset+T);Yl("when",r,i,new Vc(b,e,d,u,S))}}function zl({expression:n,sourceSpan:e},t,r,i,a){const u=n.indexOf("on"),d=new dt(e.start.moveBy(u),e.start.moveBy(u+2)),S=Xl(n,e),T=Kl(n,e);if(-1===u)i.push(new We(e,'Could not find "on" keyword in expression'));else{const b=no(n,u+1),D=n.startsWith("hydrate");new X0(n,t,b,e,r,i,D?eT:_0,D,S,d,T).parse()}}function Xl(n,e){return n.startsWith("prefetch")?new dt(e.start,e.start.moveBy(8)):null}function Kl(n,e){return n.startsWith("hydrate")?new dt(e.start,e.start.moveBy(7)):null}!function(n){n.IDLE="idle",n.TIMER="timer",n.INTERACTION="interaction",n.IMMEDIATE="immediate",n.HOVER="hover",n.VIEWPORT="viewport",n.NEVER="never"}(Kn||(Kn={}));class X0{expression;bindingParser;start;span;triggers;errors;validator;isHydrationTrigger;prefetchSpan;onSourceSpan;hydrateSpan;index=0;tokens;constructor(e,t,r,i,a,u,d,S,T,b,D){this.expression=e,this.bindingParser=t,this.start=r,this.span=i,this.triggers=a,this.errors=u,this.validator=d,this.isHydrationTrigger=S,this.prefetchSpan=T,this.onSourceSpan=b,this.hydrateSpan=D,this.tokens=(new Ol).tokenize(e.slice(r))}parse(){for(;this.tokens.length>0&&this.index<this.tokens.length;){const e=this.token();if(!e.isIdentifier()){this.unexpectedToken(e);break}if(this.isFollowedByOrLast(44))this.consumeTrigger(e,[]),this.advance();else if(this.isFollowedByOrLast(40)){this.advance();const t=this.errors.length,r=this.consumeParameters();if(this.errors.length!==t)break;this.consumeTrigger(e,r),this.advance()}else this.index<this.tokens.length-1&&this.unexpectedToken(this.tokens[this.index+1]);this.advance()}}advance(){this.index++}isFollowedByOrLast(e){return this.index===this.tokens.length-1||this.tokens[this.index+1].isCharacter(e)}token(){return this.tokens[Math.min(this.index,this.tokens.length-1)]}consumeTrigger(e,t){const r=this.span.start.moveBy(this.start+e.index-this.tokens[0].index),i=new dt(r,r.moveBy(e.strValue.length)),a=r.moveBy(this.token().end-e.index),u=0===e.index,d=u?this.onSourceSpan:null,S=u?this.prefetchSpan:null,T=u?this.hydrateSpan:null,b=new dt(u?this.span.start:r,a);try{switch(e.toString()){case Kn.IDLE:this.trackTrigger("idle",function K0(n,e,t,r,i,a){if(n.length>1)throw new Error(`"${Kn.IDLE}" trigger can only have zero or one parameters`);let u=null;if(n[0]&&(u=ro(n[0].expression),null===u))throw new Error(`Could not parse time value of trigger "${Kn.IDLE}"`);return new Nv(e,t,r,i,a,u)}(t,i,b,S,d,T));break;case Kn.TIMER:this.trackTrigger("timer",function Y0(n,e,t,r,i,a){if(1!==n.length)throw new Error(`"${Kn.TIMER}" trigger must have exactly one parameter`);const u=ro(n[0].expression);if(null===u)throw new Error(`Could not parse time value of trigger "${Kn.TIMER}"`);return new Ov(u,e,t,r,i,a)}(t,i,b,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Kn.INTERACTION:this.trackTrigger("interaction",function J0(n,e,t,r,i,a,u){return u(Kn.INTERACTION,n),new Hc(n[0]?.expression??null,e,t,r,i,a)}(t,i,b,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case Kn.IMMEDIATE:this.trackTrigger("immediate",function Z0(n,e,t,r,i,a){if(n.length>0)throw new Error(`"${Kn.IMMEDIATE}" trigger cannot have parameters`);return new Pv(e,t,r,i,a)}(t,i,b,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case Kn.HOVER:this.trackTrigger("hover",function Q0(n,e,t,r,i,a,u){return u(Kn.HOVER,n),new jc(n[0]?.expression??null,e,t,r,i,a)}(t,i,b,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case Kn.VIEWPORT:this.trackTrigger("viewport",function q0(n,e,t,r,i,a,u,d,S,T){let b,D;if(T(Kn.VIEWPORT,r),0===r.length)b=D=null;else if(r[0].expression.startsWith("{")){const j=t.parseBinding(r[0].expression,!1,a,a.start.offset+n+r[0].start);if(!(j.ast instanceof gi))throw new Error('Options parameter of the "viewport" trigger must be an object literal');if(j.ast.keys.some(se=>"spread"===se.kind))throw new Error("Spread operator are not allowed in this context");if(j.ast.keys.some(se=>"property"===se.kind&&"root"===se.key))throw new Error('The "root" option is not supported in the options parameter of the "viewport" trigger');const q=j.ast.keys.findIndex(se=>"property"===se.kind&&"trigger"===se.key);if(-1===q)b=null,D=j.ast;else{const se=j.ast.values[q],Se=(Ae,je)=>je!==q;if(!(se instanceof Fn&&se.receiver instanceof zn))throw new Error('"trigger" option of the "viewport" trigger must be an identifier');b=se.name,D=new gi(j.ast.span,j.ast.sourceSpan,j.ast.keys.filter(Se),j.ast.values.filter(Se))}}else b=r[0].expression,D=null;if(e&&null!==b)throw new Error('"viewport" hydration trigger cannot have a "trigger"');if(D){const j=Zl.findDynamicNode(D);if(null!==j)throw new Error(`Options of the "viewport" trigger must be an object literal containing only literal values, but "${j.constructor.name}" was found`)}return new ju(b,D,i,a,u,d,S)}(this.start,this.isHydrationTrigger,this.bindingParser,t,i,b,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;default:throw new Error(`Unrecognized trigger type "${e}"`)}}catch(D){this.error(e,D.message)}}consumeParameters(){const e=[];if(!this.token().isCharacter(40))return this.unexpectedToken(this.token()),e;this.advance();const t=[];let r=[];for(;this.index<this.tokens.length;){const i=this.token();if(i.isCharacter(41)&&0===t.length){r.length&&e.push({expression:this.tokenRangeText(r),start:r[0].index});break}(i.type===ht.Character&&Ld.has(i.numValue)&&t.push(Ld.get(i.numValue)),t.length>0&&i.isCharacter(t[t.length-1])&&t.pop(),0===t.length&&i.isCharacter(44)&&r.length>0)?(e.push({expression:this.tokenRangeText(r),start:r[0].index}),this.advance(),r=[]):(r.push(i),this.advance())}return(!this.token().isCharacter(41)||t.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index<this.tokens.length-1&&!this.tokens[this.index+1].isCharacter(44)&&this.unexpectedToken(this.tokens[this.index+1]),e}tokenRangeText(e){return 0===e.length?"":this.expression.slice(this.start+e[0].index,this.start+e[e.length-1].end)}trackTrigger(e,t){Yl(e,this.triggers,this.errors,t)}error(e,t){const r=this.span.start.moveBy(this.start+e.index),i=r.moveBy(e.end-e.index);this.errors.push(new We(new dt(r,i),t))}unexpectedToken(e){this.error(e,`Unexpected token "${e}"`)}}function Yl(n,e,t,r){e[n]?t.push(new We(r.sourceSpan,`Duplicate "${n}" trigger is not allowed`)):e[n]=r}function _0(n,e){if(e.length>1)throw new Error(`"${n}" trigger can only have zero or one parameters`)}function eT(n,e){if(n!==Kn.VIEWPORT){if(e.length>0)throw new Error(`Hydration trigger "${n}" cannot have parameters`)}else if(e.length>1)throw new Error(`Hydration trigger "${n}" cannot have more than one parameter`)}function no(n,e=0){let t=!1;for(let r=e;r<n.length;r++)if(G0.test(n[r]))t=!0;else if(t)return r;return-1}function ro(n){const e=n.match(W0);if(!e)return null;const[t,r]=e;return parseFloat(t)*("s"===r?1e3:1)}class Zl extends ya{dynamicNode=null;static findDynamicNode(e){const t=new Zl;return t.visit(e),t.dynamicNode}visit(e){e instanceof Sr||e instanceof pr||e instanceof Eo||e instanceof gi?super.visit(e):this.dynamicNode=e}}const tT=/^prefetch\s+when\s/,nT=/^prefetch\s+on\s/,rT=/^hydrate\s+when\s/,sT=/^hydrate\s+on\s/,iT=/^hydrate\s+never(\s*)$/,kd=/^minimum\s/,aT=/^after\s/,oT=/^when\s/,uT=/^on\s/;function Ql(n){return"placeholder"===n||"loading"===n||"error"===n}function lT(n,e,t,r){const i=[],{placeholder:a,loading:u,error:d}=function cT(n,e,t){let r=null,i=null,a=null;for(const u of n)try{if(!Ql(u.name)){e.push(new We(u.startSourceSpan,`Unrecognized block "@${u.name}"`));break}switch(u.name){case"placeholder":null!==r?e.push(new We(u.startSourceSpan,"@defer block can only have one @placeholder block")):r=pT(u,t);break;case"loading":null!==i?e.push(new We(u.startSourceSpan,"@defer block can only have one @loading block")):i=fT(u,t);break;case"error":null!==a?e.push(new We(u.startSourceSpan,"@defer block can only have one @error block")):a=dT(u,t)}}catch(d){e.push(new We(u.startSourceSpan,d.message))}return{placeholder:r,loading:i,error:a}}(e,i,t),{triggers:S,prefetchTriggers:T,hydrateTriggers:b}=function hT(n,e,t,r){const i={},a={},u={};for(const d of n.parameters)oT.test(d.expression)?Gl(d,e,i,t):uT.test(d.expression)?zl(d,e,i,t):tT.test(d.expression)?Gl(d,e,a,t):nT.test(d.expression)?zl(d,e,a,t):rT.test(d.expression)?Gl(d,e,u,t):sT.test(d.expression)?zl(d,e,u,t):iT.test(d.expression)?z0(d,u,t):t.push(new We(d.sourceSpan,"Unrecognized trigger"));return u.never&&Object.keys(u).length>1&&t.push(new We(n.startSourceSpan,"Cannot specify additional `hydrate` triggers if `hydrate never` is present")),{triggers:i,prefetchTriggers:a,hydrateTriggers:u}}(n,r,i);let D=n.endSourceSpan,j=n.sourceSpan.end;if(e.length>0){const Se=e[e.length-1];D=Se.endSourceSpan,j=Se.sourceSpan.end}const q=new dt(n.sourceSpan.start,j);return{node:new Ei(ct(t,n.children,n.children),S,T,b,a,u,d,n.nameSpan,q,n.sourceSpan,n.startSourceSpan,D,n.i18n),errors:i}}function pT(n,e){let t=null;for(const r of n.parameters){if(!kd.test(r.expression))throw new Error(`Unrecognized parameter in @placeholder block: "${r.expression}"`);{if(null!=t)throw new Error('@placeholder block can only have one "minimum" parameter');const i=ro(r.expression.slice(no(r.expression)));if(null===i)throw new Error('Could not parse time value of parameter "minimum"');t=i}}return new Hu(ct(e,n.children,n.children),t,n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}function fT(n,e){let t=null,r=null;for(const i of n.parameters)if(aT.test(i.expression)){if(null!=t)throw new Error('@loading block can only have one "after" parameter');const a=ro(i.expression.slice(no(i.expression)));if(null===a)throw new Error('Could not parse time value of parameter "after"');t=a}else{if(!kd.test(i.expression))throw new Error(`Unrecognized parameter in @loading block: "${i.expression}"`);{if(null!=r)throw new Error('@loading block can only have one "minimum" parameter');const a=ro(i.expression.slice(no(i.expression)));if(null===a)throw new Error('Could not parse time value of parameter "minimum"');r=a}}return new Wu(ct(e,n.children,n.children),t,r,n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}function dT(n,e){if(n.parameters.length>0)throw new Error("@error block cannot have parameters");return new Gu(ct(e,n.children,n.children),n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}const vT=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Hs_BANANA_BOX={start:"[(",end:")]"},Hs_PROPERTY={start:"[",end:"]"},Hs_EVENT={start:"(",end:")"},gT=new Set(["link","style","script","ng-template","ng-container","ng-content"]),yT=new Set(["ngProjectAs","ngNonBindable"]);class ST{bindingParser;options;errors=[];styles=[];styleUrls=[];ngContentSelectors=[];commentNodes=[];inI18nBlock=!1;processedNodes=new Set;constructor(e,t){this.bindingParser=e,this.options=t}visitElement(e){const t=uu(e.i18n);t&&(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=Pd(e);if(r.type===yr.SCRIPT)return null;if(r.type===yr.STYLE){const je=function TT(n){return 1===n.children.length&&n.children[0]instanceof pi?n.children[0].value:null}(e);return null!==je&&this.styles.push(je),null}if(r.type===yr.STYLESHEET&&function m0(n){if(null==n||0===n.length||"/"==n[0])return!1;const e=n.match(g0);return null===e||"package"==e[1]||"asset"==e[1]}(r.hrefAttr))return this.styleUrls.push(r.hrefAttr),null;const i=function Iv(n){return"ng-template"===Xn(n)[1]}(e.name),{attributes:a,boundEvents:u,references:d,variables:S,templateVariables:T,elementHasInlineTemplate:b,parsedProperties:D,templateParsedProperties:j,i18nAttrsMeta:q}=this.prepareAttributes(e.attrs,i),se=this.extractDirectives(e);let Se,Ae;if(Se=r.nonBindable?ct(jd,e.children).flat(1/0):ct(this,e.children,e.children),r.type===yr.NG_CONTENT){const je=r.selectAttr,St=e.attrs.map(en=>this.visitAttribute(en));Ae=new xa(je,St,Se,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n),this.ngContentSelectors.push(je)}else if(i){const je=this.categorizePropertyAttributes(e.name,D,q);Ae=new Cn(e.name,a,je.bound,u,se,[],Se,d,S,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const je=this.categorizePropertyAttributes(e.name,D,q);if("ng-container"===e.name)for(const St of je.bound)St.type===at.Attribute&&this.reportError("Attribute bindings are not supported on ng-container. Use property bindings instead.",St.sourceSpan);Ae=new tn(e.name,a,je.bound,u,se,Se,d,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n)}return this.options.collectCommentNodes&&e.comments.forEach(je=>{this.commentNodes.push(new Ys(je.value||"",je.sourceSpan))}),b&&(Ae=this.wrapInTemplate(Ae,j,T,q,i,t)),t&&(this.inI18nBlock=!1),Ae}visitAttribute(e){return new To(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this.processedNodes.has(e)?null:this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!uu(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,r={},i={};return Object.keys(t.placeholders).forEach(a=>{const u=t.placeholders[a];if(a.startsWith("VAR_")){const d=a.trim(),S=this.bindingParser.parseInterpolationExpression(u.text,u.sourceSpan);r[d]=new yi(S,u.sourceSpan)}else i[a]=this._visitTextWithInterpolation(u.text,u.sourceSpan,null)}),new Ku(r,i,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new Ys(e.value||"",e.sourceSpan)),null}visitStartTagComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new Ys(e.value||"",e.sourceSpan)),null}visitLetDeclaration(e,t){const r=this.bindingParser.parseBinding(e.value,!1,e.valueSpan,e.valueSpan.start.offset);return 0===r.errors.length&&r.ast instanceof Zn&&this.reportError("@let declaration value cannot be empty",e.valueSpan),new As(e.name,r,e.sourceSpan,e.nameSpan,e.valueSpan)}visitComponent(e){const t=uu(e.i18n);if(t&&(this.inI18nBlock&&this.reportError("Cannot mark a component as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0),null!==e.tagName&&gT.has(e.tagName))return this.reportError(`Tag name "${e.tagName}" cannot be used as a component tag`,e.startSourceSpan),null;const{attributes:r,boundEvents:i,references:a,templateVariables:u,elementHasInlineTemplate:d,parsedProperties:S,templateParsedProperties:T,i18nAttrsMeta:b}=this.prepareAttributes(e.attrs,!1);this.validateSelectorlessReferences(a);const D=this.extractDirectives(e);let j;j=e.attrs.find(Se=>"ngNonBindable"===Se.name)?ct(jd,e.children).flat(1/0):ct(this,e.children,e.children);const q=this.categorizePropertyAttributes(e.tagName,S,b);let se=new us(e.componentName,e.tagName,e.fullName,r,q.bound,i,D,j,a,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.options.collectCommentNodes&&e.comments.forEach(Se=>{this.commentNodes.push(new Ys(Se.value||"",Se.sourceSpan))}),d&&(se=this.wrapInTemplate(se,T,u,b,!1,t)),t&&(this.inI18nBlock=!1),se}visitDirective(){return null}visitBlockParameter(){return null}visitBlock(e,t){const r=Array.isArray(t)?t.indexOf(e):-1;if(-1===r)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(e))return null;let i=null;switch(e.name){case"defer":i=lT(e,this.findConnectedBlocks(r,t,Ql),this,this.bindingParser);break;case"switch":i=k0(e,this,this.bindingParser);break;case"content":i=N0(e,this);break;case"for":i=L0(e,this.findConnectedBlocks(r,t,Dd),this,this.bindingParser);break;case"if":i=M0(e,this.findConnectedBlocks(r,t,Rd),this,this.bindingParser);break;default:let a;Ql(e.name)?(a=`@${e.name} block can only be used after an @defer block.`,this.processedNodes.add(e)):Dd(e.name)?(a=`@${e.name} block can only be used after an @for block.`,this.processedNodes.add(e)):Rd(e.name)?(a=`@${e.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(e)):a=`Unrecognized block @${e.name}.`,i={node:new Wc(e.name,e.sourceSpan,e.nameSpan),errors:[new We(e.sourceSpan,a)]}}return this.errors.push(...i.errors),i.node}findConnectedBlocks(e,t,r){const i=[];for(let a=e+1;a<t.length;a++){const u=t[a];if(!(u instanceof Ki)){if(u instanceof pi&&0===u.value.trim().length){this.processedNodes.add(u);continue}if(!(u instanceof ns&&r(u.name)))break;i.push(u),this.processedNodes.add(u)}}return i}categorizePropertyAttributes(e,t,r){const i=[],a=[];return t.forEach(u=>{const d=r[u.name];if(u.isLiteral)a.push(new To(u.name,u.expression.source||"",u.sourceSpan,u.keySpan,u.valueSpan,d));else{const S=u.name.toLowerCase().startsWith("attr.on"),T=this.bindingParser.createBoundElementProperty(e,u,!S,!1);i.push(Ts.fromBoundElementProperty(T,d))}}),{bound:i,literal:a}}prepareAttributes(e,t){const r=[],i=[],a=[],u=[],d=[],S={},T=[],b=[];let D=!1;for(const j of e){let q=!1,se=!1;if(j.i18n&&(S[j.name]=j.i18n),j.name.startsWith("*")){D&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",j.sourceSpan),se=!0,D=!0;const Se=j.value,Ae=j.name.substring(1),je=[],St=j.valueSpan?j.valueSpan.fullStart.offset:j.sourceSpan.fullStart.offset+j.name.length;this.bindingParser.parseInlineTemplateBinding(Ae,Se,j.sourceSpan,St,[],T,je,!0),b.push(...je.map(en=>new Yr(en.name,en.value,en.sourceSpan,en.keySpan,en.valueSpan)))}else q=this.parseAttribute(t,j,[],r,i,a,u);!q&&!se&&d.push(this.visitAttribute(j))}return{attributes:d,boundEvents:i,references:u,variables:a,templateVariables:b,elementHasInlineTemplate:D,parsedProperties:r,templateParsedProperties:T,i18nAttrsMeta:S}}parseAttribute(e,t,r,i,a,u,d){const S=t.name,T=t.value,b=t.sourceSpan,D=t.valueSpan?t.valueSpan.fullStart.offset:b.fullStart.offset;function j(je,St,en){const hn=je.start.moveBy(St.length),gs=hn.moveBy(en.length);return new dt(hn,gs,hn,en)}const q=S.match(vT);if(q){if(null!=q[1]){const je=q[7],St=j(b,q[1],je);this.bindingParser.parsePropertyBinding(je,T,!1,!1,b,D,t.valueSpan,r,i,St)}else if(q[2])if(e){const je=q[7],St=j(b,q[2],je);this.parseVariable(je,T,b,St,t.valueSpan,u)}else this.reportError('"let-" is only supported on ng-template elements.',b);else if(q[3]){const je=q[7],St=j(b,q[3],je);this.parseReference(je,T,b,St,t.valueSpan,d)}else if(q[4]){const je=[],St=q[7],en=j(b,q[4],St);this.bindingParser.parseEvent(St,T,!1,b,t.valueSpan||b,r,je,en),ql(je,a)}else if(q[5]){const je=q[7],St=j(b,q[5],je);this.bindingParser.parsePropertyBinding(je,T,!1,!0,b,D,t.valueSpan,r,i,St),this.parseAssignmentEvent(je,T,b,t.valueSpan,r,a,St,D)}else if(q[6]){const je=j(b,"",S);this.bindingParser.parseLiteralAttr(S,T,b,D,t.valueSpan,r,i,je)}return!0}let se=null;if(S.startsWith(Hs_BANANA_BOX.start)?se=Hs_BANANA_BOX:S.startsWith(Hs_PROPERTY.start)?se=Hs_PROPERTY:S.startsWith(Hs_EVENT.start)&&(se=Hs_EVENT),null!==se&&S.endsWith(se.end)&&S.length>se.start.length+se.end.length){const je=S.substring(se.start.length,S.length-se.end.length),St=j(b,se.start,je);if(se.start===Hs_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(je,T,!1,!0,b,D,t.valueSpan,r,i,St),this.parseAssignmentEvent(je,T,b,t.valueSpan,r,a,St,D);else if(se.start===Hs_PROPERTY.start)this.bindingParser.parsePropertyBinding(je,T,!1,!1,b,D,t.valueSpan,r,i,St);else{const en=[];this.bindingParser.parseEvent(je,T,!1,b,t.valueSpan||b,r,en,St),ql(en,a)}return!0}const Se=j(b,"",S);return this.bindingParser.parsePropertyInterpolation(S,T,b,t.valueSpan,r,i,Se,t.valueTokens??null)}extractDirectives(e){const t=e instanceof _n?e.tagName:e.name,r=[],i=new Set;for(const a of e.directives){let u=!1;for(const q of a.attrs)q.name.startsWith("*")?(u=!0,this.reportError(`Shorthand template syntax "${q.name}" is not supported inside a directive context`,q.sourceSpan)):yT.has(q.name)&&(u=!0,this.reportError(`Attribute "${q.name}" is not supported in a directive context`,q.sourceSpan));if(!u&&i.has(a.name)&&(u=!0,this.reportError(`Cannot apply directive "${a.name}" multiple times on the same element`,a.sourceSpan)),u)continue;const{attributes:d,parsedProperties:S,boundEvents:T,references:b,i18nAttrsMeta:D}=this.prepareAttributes(a.attrs,!1);this.validateSelectorlessReferences(b);const{bound:j}=this.categorizePropertyAttributes(t,S,D);for(const q of j)q.type!==at.Property&&q.type!==at.TwoWay&&(u=!0,this.reportError("Binding is not supported in a directive context",q.sourceSpan));u||(i.add(a.name),r.push(new Sa(a.name,d,j,T,b,a.sourceSpan,a.startSourceSpan,a.endSourceSpan,void 0)))}return r}filterAnimationAttributes(e){return e.filter(t=>!t.name.startsWith("animate."))}filterAnimationInputs(e){return e.filter(t=>t.type!==at.Animation)}wrapInTemplate(e,t,r,i,a,u){const d=this.categorizePropertyAttributes("ng-template",t,i),S=[];d.literal.forEach(j=>S.push(j)),d.bound.forEach(j=>S.push(j));const T={attributes:[],inputs:[],outputs:[]};(e instanceof tn||e instanceof us)&&(T.attributes.push(...this.filterAnimationAttributes(e.attributes)),T.inputs.push(...this.filterAnimationInputs(e.inputs)),T.outputs.push(...e.outputs));const b=a&&u?void 0:e.i18n;let D;return D=e instanceof us?e.tagName:e instanceof Cn?null:e.name,new Cn(D,T.attributes,T.inputs,T.outputs,[],S,[e],[],r,!1,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,b)}_visitTextWithInterpolation(e,t,r,i){const a=bf(e),u=this.bindingParser.parseInterpolation(a,t,r);return u?new yi(u,t,i):new os(a,t)}parseVariable(e,t,r,i,a,u){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',r):0===e.length&&this.reportError("Variable does not have a name",r),u.push(new Yr(e,t,r,i,a))}parseReference(e,t,r,i,a,u){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',r):0===e.length?this.reportError("Reference does not have a name",r):u.some(d=>d.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,r),u.push(new Io(e,t,r,i,a))}parseAssignmentEvent(e,t,r,i,a,u,d,S){const T=[];this.bindingParser.parseEvent(`${e}Change`,t,!0,r,i||r,a,T,d),ql(T,u)}validateSelectorlessReferences(e){if(0===e.length)return;const t=new Set;for(const r of e)r.value.length>0?this.reportError("Cannot specify a value for a local reference in this context",r.valueSpan||r.sourceSpan):t.has(r.name)?this.reportError("Duplicate reference names are not allowed",r.sourceSpan):t.add(r.name)}reportError(e,t,r=cs.ERROR){this.errors.push(new We(t,e,r))}}const jd=new class xT{visitElement(e){const t=Pd(e);if(t.type===yr.SCRIPT||t.type===yr.STYLE||t.type===yr.STYLESHEET)return null;const r=ct(this,e.children,null);return new tn(e.name,ct(this,e.attrs),[],[],[],r,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid)}visitComment(e){return null}visitAttribute(e){return new To(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new os(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}visitBlock(e,t){const r=[new os(e.startSourceSpan.toString(),e.startSourceSpan),...ct(this,e.children)];return null!==e.endSourceSpan&&r.push(new os(e.endSourceSpan.toString(),e.endSourceSpan)),r}visitBlockParameter(e,t){return null}visitLetDeclaration(e,t){return new os(`@let ${e.name} = ${e.value};`,e.sourceSpan)}visitComponent(e,t){const r=ct(this,e.children,null);return new tn(e.fullName,ct(this,e.attrs),[],[],[],r,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,!1)}visitDirective(e,t){return null}};function ql(n,e){e.push(...n.map(t=>Ea.fromParsedEvent(t)))}const CT=[" ","\n","\r","\t"];function Hd(n,e,t={}){const{preserveWhitespaces:r,enableI18nLegacyMessageIdFormat:i}=t,a=t.enableSelectorless??!1,u=na(a),S=(new Nd).parse(n,e,{leadingTriviaChars:CT,...t,tokenizeExpansionForms:!0,tokenizeBlocks:t.enableBlockSyntax??!0,tokenizeLet:t.enableLetSyntax??!0,selectorlessEnabled:a});if(!t.alwaysAttemptHtmlToR3AstConversion&&S.errors&&S.errors.length>0){const hn={preserveWhitespaces:r,errors:S.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(hn.commentNodes=[]),hn}let T=S.rootNodes;const b=!(t.preserveSignificantWhitespace??1),D=new Vf(!r,i,t.preserveSignificantWhitespace,b),j=D.visitAllWithErrors(T);if(!t.alwaysAttemptHtmlToR3AstConversion&&j.errors&&j.errors.length>0){const hn={preserveWhitespaces:r,errors:j.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(hn.commentNodes=[]),hn}T=j.rootNodes,r||(T=ct(new Pl(!0,void 0,!1),T),D.hasI18nMeta&&(T=ct(new Vf(!1,void 0,!0,b),T)));const{nodes:q,errors:se,styleUrls:Se,styles:Ae,ngContentSelectors:je,commentNodes:St}=function ET(n,e,t){const r=new ST(e,t),u={nodes:ct(r,n,n),errors:e.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return t.collectCommentNodes&&(u.commentNodes=r.commentNodes),u}(T,u,{collectCommentNodes:!!t.collectCommentNodes});se.push(...S.errors,...j.errors);const en={preserveWhitespaces:r,errors:se.length>0?se:null,nodes:q,styleUrls:Se,styles:Ae,ngContentSelectors:je};return t.collectCommentNodes&&(en.commentNodes=St),en}const AT=new Ji;function na(n=!1){return new V1(new Rf(new Ol,n),AT,[])}const du="%COMP%",_l=`_nghost-${du}`,ec=`_ngcontent-${du}`;function Wd(n,e,t){const r=new An,i=$(n.selector);return r.set("type",n.type.value),i.length>0&&r.set("selectors",nr(i)),n.queries.length>0&&r.set("contentQueries",function v0(n,e,t){const r=[],i=[],a=Qc(T=>i.push(T),"_t");let u=null,d=null;for(const T of n){const b=Id(T,e,[Ie("dirIndex")]);if(T.isSignal?(u??=le(U.contentQuerySignal),u=u.callFn(b)):(d??=le(U.contentQuery),d=d.callFn(b)),T.isSignal){i.push(Wl);continue}const D=a(),j=le(U.loadQuery).callFn([]),q=le(U.queryRefresh).callFn([D.set(j)]),se=Ie(Tr).prop(T.propertyName).set(T.first?D.prop("first"):D);i.push(q.and(se).toStmt())}null!==u&&r.push(new oe(u)),null!==d&&r.push(new oe(d));const S=t?`${t}_ContentQueries`:null;return Pr([new Me(Ci,Mt),new Me(Tr,me),new Me("dirIndex",Mt)],[fu(1,r),fu(2,bd(i))],Re,null,S)}(n.queries,e,n.name)),n.viewQueries.length&&r.set("viewQuery",function h0(n,e,t){const r=[],i=[],a=Qc(T=>i.push(T),"_t");let u=null,d=null;n.forEach(T=>{const b=Id(T,e);if(T.isSignal?(u??=le(U.viewQuerySignal),u=u.callFn(b)):(d??=le(U.viewQuery),d=d.callFn(b)),T.isSignal)return void i.push(Wl);const D=a(),j=le(U.loadQuery).callFn([]),q=le(U.queryRefresh).callFn([D.set(j)]),se=Ie(Tr).prop(T.propertyName).set(T.first?D.prop("first"):D);i.push(q.and(se).toStmt())}),null!==u&&r.push(new oe(u)),null!==d&&r.push(new oe(d));const S=t?`${t}_Query`:null;return Pr([new Me(Ci,Mt),new Me(Tr,me)],[fu(1,r),fu(2,bd(i))],Re,null,S)}(n.viewQueries,e,n.name)),r.set("hostBindings",function OT(n,e,t,r,i,a,u,d){const S=t.createBoundHostProperties(n.properties,e),T=t.createDirectiveHostEventAsts(n.listeners,e);n.specialAttributes.styleAttr&&(n.attributes.style=W(n.specialAttributes.styleAttr)),n.specialAttributes.classAttr&&(n.attributes.class=W(n.specialAttributes.classAttr));const b=function G1(n,e,t){const r=new Xp(n.componentName,t,or.DomOnly,n.legacyOptionalChaining);for(const i of n.properties??[]){let a=ze.Property;i.name.startsWith("attr.")&&(i.name=i.name.substring(5),a=ze.Attribute),i.isLegacyAnimation&&(a=ze.LegacyAnimation),i.isAnimation&&(a=ze.Animation),z1(r,i,a,yd(e,n.componentSelector,i.name,a===ze.Attribute))}for(const[i,a]of Object.entries(n.attributes)??[])X1(r,i,a,yd(e,n.componentSelector,i,!0));for(const i of n.events??[])K1(r,i);return r}({componentName:a,componentSelector:i,properties:S,events:T,attributes:n.attributes,legacyOptionalChaining:d},t,r);vd(b,Le.Host),u.set("hostAttrs",b.root.attributes);const D=b.root.vars;return null!==D&&D>0&&u.set("hostVars",W(D)),function k1(n){if(null===n.root.fnName)throw new Error("AssertionError: host binding function is unnamed");const e=[];for(const a of n.root.create){if(a.kind!==I.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${I[a.kind]}`);e.push(a.statement)}const t=[];for(const a of n.root.update){if(a.kind!==I.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${I[a.kind]}`);t.push(a.statement)}if(0===e.length&&0===t.length)return null;const r=iu(1,e),i=iu(2,t);return Pr([new Me(Ci,Mt),new Me(Tr,me)],[...r,...i],void 0,void 0,n.root.fnName)}(b)}(n.host,n.typeSourceSpan,t,e,n.selector||"",n.name,r,n.legacyOptionalChaining)),r.set("inputs",el(n.inputs,!0)),r.set("outputs",el(n.outputs)),null!==n.exportAs&&r.set("exportAs",gt(n.exportAs.map(a=>W(a)))),!1===n.isStandalone&&r.set("standalone",W(!1)),n.isSignal&&r.set("signals",W(!0)),r}function Gd(n,e){const t=[],r=e.providers,i=e.viewProviders;if(r||i){const a=[r||new sn([])];i&&a.push(i),t.push(le(U.ProvidersFeature).callFn(a))}if(e.hostDirectives?.length&&t.push(le(U.HostDirectivesFeature).callFn([kT(e.hostDirectives)])),e.usesInheritance&&t.push(le(U.InheritDefinitionFeature)),e.lifecycle.usesOnChanges&&t.push(le(U.NgOnChangesFeature)),null!==e.controlCreate&&t.push(le(U.ControlFeature).callFn([W(e.controlCreate.passThroughInput)])),"externalStyles"in e&&e.externalStyles?.length){const a=e.externalStyles.map(u=>W(u));t.push(le(U.ExternalStylesFeature).callFn([gt(a)]))}t.length&&n.set("features",gt(t))}function IT(n,e,t){const r=Wd(n,e,t);Gd(r,n);const i=n.name;let a=null;if(1===n.defer.mode&&null!==n.defer.dependenciesFn){const j=`${i}_DeferFn`;e.statements.push(new xe(j,n.defer.dependenciesFn,void 0,Yt.Final)),a=Ie(j)}const u=n.isStandalone&&!n.hasDirectiveDependencies?or.DomOnly:or.Full,d=function W1(n,e,t,r,i,a,u,d,S,T,b,D){const j=new Cl(n,t,r,i,a,u,d,S,T,b,D);return Gr(j.root,e),j}(n.name,n.template.nodes,e,u,n.relativeContextFilePath,n.i18nUseExternalIds,n.defer,a,n.relativeTemplatePath,function p0(){return wd}(),n.legacyOptionalChaining,n.foreignImports);vd(d,Le.Tmpl);const S=L1(d,e);if(null!==d.contentSelectors&&r.set("ngContentSelectors",d.contentSelectors),r.set("decls",W(d.root.decls)),r.set("vars",W(d.root.vars)),d.consts.length>0&&(d.constsInitializers.length>0?r.set("consts",an([],[...d.constsInitializers,new we(gt(d.consts))])):r.set("consts",gt(d.consts))),r.set("template",S),3!==n.declarationListEmitMode&&n.declarations.length>0)r.set("dependencies",function bT(n,e){switch(e){case 0:return n;case 1:return an([],n);case 2:return an([],n.prop("map").callFn([le(U.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}(gt(n.declarations.map(j=>j.type)),n.declarationListEmitMode));else if(3===n.declarationListEmitMode){const j=[n.type.value];n.rawImports&&j.push(n.rawImports),r.set("dependencies",le(U.getComponentDepsFactory).callFn(j))}null===n.encapsulation&&(n.encapsulation=N.Emulated);let T=!!n.externalStyles?.length;if(n.styles&&n.styles.length){const j=n.styles.map(Se=>function Gm(n){return n.replace(Wm,(e,t,r,i)=>t||i?(t??"")+wu(r)+(i??""):e)}(Se)),se=(n.encapsulation==N.Emulated?function LT(n,e,t){const r=new Cp;return n.map(i=>r.shimCssText(i,e,t))}(j,ec,_l):j).reduce((Se,Ae)=>(Ae.trim().length>0&&Se.push(e.getConstLiteral(W(Ae))),Se),[]);se.length>0&&(T=!0,r.set("styles",gt(se)))}!T&&n.encapsulation===N.Emulated&&(n.encapsulation=N.None),n.encapsulation!==N.Emulated&&r.set("encapsulation",W(n.encapsulation)),null!==n.animations&&r.set("data",Tn([{key:"animation",value:n.animations,quoted:!1}])),null!==n.changeDetection&&("number"==typeof n.changeDetection&&n.changeDetection!==M.OnPush?r.set("changeDetection",W(n.changeDetection)):"object"==typeof n.changeDetection&&r.set("changeDetection",n.changeDetection));return{expression:le(U.defineComponent).callFn([r.toLiteralMap()],void 0,!0),type:zd(n),statements:[]}}function zd(n){const e=Xd(n);return e.push(nc(n.template.ngContentSelectors)),e.push(Pt(W(n.isStandalone))),e.push(Yd(n)),n.isSignal&&e.push(Pt(W(n.isSignal))),Pt(le(U.ComponentDeclaration,e))}function NT(n){return Pt(W(n))}function tc(n){return Tn(Object.keys(n).map(t=>({key:t,value:W(Array.isArray(n[t])?n[t][0]:n[t]),quoted:!0})))}function nc(n){return n.length>0?Pt(gt(n.map(e=>W(e)))):mt}function Xd(n){const e=null!==n.selector?n.selector.replace(/\n/g,""):null;return[vo(n.type.type,n.typeArgumentCount),null!==e?NT(e):mt,null!==n.exportAs?nc(n.exportAs):mt,Pt(PT(n)),Pt(tc(n.outputs)),nc(n.queries.map(t=>t.propertyName))]}function PT(n){return Tn(Object.keys(n.inputs).map(e=>{const t=n.inputs[e],r=[{key:"alias",value:W(t.bindingPropertyName),quoted:!0},{key:"required",value:W(t.required),quoted:!0}];return t.isSignal&&r.push({key:"isSignal",value:W(t.isSignal),quoted:!0}),{key:e,value:Tn(r),quoted:!0}}))}function Kd(n){const e=Xd(n);return e.push(mt),e.push(Pt(W(n.isStandalone))),e.push(Yd(n)),n.isSignal&&e.push(Pt(W(n.isSignal))),Pt(le(U.DirectiveDeclaration,e))}function RT(n,e){const t=na();return t.createDirectiveHostEventAsts(n.listeners,e),t.createBoundHostProperties(n.properties,e),function MT(n,e,t){for(const r in n.properties){const i=r.startsWith("attr."),a=i?r.slice(5):r;if(a.toLowerCase().startsWith("on")){const u=i?"attribute":"property",d=`(${a.slice(2)})=...`;let S=`Binding to event ${u} '${a}' is disallowed for security reasons, please use ${d}`;i||(S+=`\nIf '${r}' is a directive input, make sure the directive is imported by the current module.`),e.errors.push(new We(t,S))}}}(n,t,e),t.errors}function Yd(n){return n.hostDirectives?.length?Pt(gt(n.hostDirectives.map(e=>Tn([{key:"directive",value:Gn(e.directive.type),quoted:!1},{key:"inputs",value:tc(e.inputs||{}),quoted:!1},{key:"outputs",value:tc(e.outputs||{}),quoted:!1}])))):mt}function kT(n){const e=[];let t=!1;for(const r of n){if(r.inputs||r.outputs){const i=[{key:"directive",value:r.directive.type,quoted:!1}];if(r.inputs){const a=hu(r.inputs);a&&i.push({key:"inputs",value:a,quoted:!1})}if(r.outputs){const a=hu(r.outputs);a&&i.push({key:"outputs",value:a,quoted:!1})}e.push(Tn(i))}else e.push(r.directive.type);r.isForwardReference&&(t=!0)}return t?new qt([],[new we(gt(e))]):gt(e)}function hu(n){const e=[];for(const t in n)n.hasOwnProperty(t)&&e.push(W(t),W(n[t]));return e.length>0?gt(e):null}class BT extends ya{visit(e){e instanceof Sr?this.visit(e.ast):e.visit(this)}visitElement(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitTemplate(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.templateAttrs),this.visitAllTemplateNodes(e.variables),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitContent(e){this.visitAllTemplateNodes(e.children)}visitContentBlock(e){this.visitAllTemplateNodes(e.children)}visitBoundAttribute(e){this.visit(e.value)}visitBoundEvent(e){this.visit(e.handler)}visitBoundText(e){this.visit(e.value)}visitIcu(e){Object.keys(e.vars).forEach(t=>this.visit(e.vars[t])),Object.keys(e.placeholders).forEach(t=>this.visit(e.placeholders[t]))}visitDeferredBlock(e){e.visitAll(this)}visitDeferredTrigger(e){e instanceof Vc?this.visit(e.value):e instanceof ju&&null!==e.options&&this.visit(e.options)}visitDeferredBlockPlaceholder(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockError(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockLoading(e){this.visitAllTemplateNodes(e.children)}visitSwitchBlock(e){this.visit(e.expression),this.visitAllTemplateNodes(e.groups),e.exhaustiveCheck?.visit(this)}visitSwitchBlockCase(e){e.expression&&this.visit(e.expression)}visitSwitchBlockCaseGroup(e){this.visitAllTemplateNodes(e.cases),this.visitAllTemplateNodes(e.children)}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){e.item.visit(this),this.visitAllTemplateNodes(e.contextVariables),this.visit(e.expression),this.visitAllTemplateNodes(e.children),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.visitAllTemplateNodes(e.children)}visitIfBlock(e){this.visitAllTemplateNodes(e.branches)}visitIfBlockBranch(e){e.expression&&this.visit(e.expression),e.expressionAlias?.visit(this),this.visitAllTemplateNodes(e.children)}visitLetDeclaration(e){this.visit(e.value)}visitComponent(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitDirective(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.references)}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitText(e){}visitUnknownBlock(e){}visitAllTemplateNodes(e){for(const t of e)this.visit(t)}}var Ws;!function(n){n[n.Selector=0]="Selector",n[n.HostDirective=1]="HostDirective"}(Ws||(Ws={}));class ra{forwardMap;reverseMap;constructor(e){this.forwardMap=e,this.reverseMap=function FT(n){const e=new Map;for(const[t,r]of n)e.has(r.bindingPropertyName)||e.set(r.bindingPropertyName,[]),e.get(r.bindingPropertyName).push(r);return e}(e)}static empty(){return new ra(new Map)}static fromMappedObject(e){const t=new Map;for(const r of Object.keys(e)){const i=e[r];let a;a="string"==typeof i?{classPropertyName:r,bindingPropertyName:i,isSignal:!1}:i,t.set(r,a)}return new ra(t)}static merge(e,t){const r=new Map(e.forwardMap.entries());for(const[i,a]of t.forwardMap)r.set(i,a);return new ra(r)}get classPropertyNames(){return Array.from(this.forwardMap.keys())}get propertyNames(){return Array.from(this.reverseMap.keys())}hasBindingPropertyName(e){return this.reverseMap.has(e)}getByBindingPropertyName(e){return this.reverseMap.has(e)?this.reverseMap.get(e):null}getByClassPropertyName(e){return this.forwardMap.has(e)?this.forwardMap.get(e):null}toDirectMappedObject(){const e={};for(const[t,r]of this.forwardMap)e[t]=r.bindingPropertyName;return e}toJointMappedObject(e){const t={};for(const[r,i]of this.forwardMap)t[r]=e(i);return t}*[Symbol.iterator](){for(const e of this.forwardMap.values())yield e}}class Qd{directiveMatcher;foreignComponentMatcher;constructor(e,t=null){this.directiveMatcher=e,this.foreignComponentMatcher=t}bind(e){if(!e.template&&!e.host)throw new Error("Empty bound targets are not supported");const t=new Map,r=new Map,i=[],a=new Set,u=new Map,d=new Map,S=new Map,T=new Map,b=new Map,D=new Map,j=new Set,q=new Set,se=[],Se=new Map;if(e.template){const Ae=Jd.apply(e.template);(function UT(n,e){const t=new Map;function r(a){if(t.has(a.rootNode))return t.get(a.rootNode);const u=a.namedEntities;let d;return d=null!==a.parentScope?new Map([...r(a.parentScope),...u]):new Map(u),t.set(a.rootNode,d),d}const i=[n];for(;i.length>0;){const a=i.pop();for(const u of a.childScopes.values())i.push(u);r(a)}for(const[a,u]of t)e.set(a,new Set(u.values()))})(Ae,S),rc.apply(e.template,this.directiveMatcher,this.foreignComponentMatcher,t,r,i,a,u,d,Se),io.applyWithScope(e.template,Ae,T,b,D,j,q,se)}return e.host&&(t.set(e.host.node,e.host.directives),io.applyWithScope(e.host.node,Jd.apply(e.host.node),T,b,D,j,q,se)),new $T(e,t,r,i,a,u,d,T,b,D,S,j,q,se,Se)}}let Jd=class xu{parentScope;rootNode;namedEntities=new Map;elementLikeInScope=new Set;childScopes=new Map;isDeferred;constructor(e,t){this.parentScope=e,this.rootNode=t,this.isDeferred=!(null===e||!e.isDeferred)||t instanceof Ei}static newRootScope(){return new xu(null,null)}static apply(e){const t=xu.newRootScope();return t.ingest(e),t}ingest(e){e instanceof Cn?(e.variables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof Si?(null!==e.expressionAlias&&this.visitVariable(e.expressionAlias),e.children.forEach(t=>t.visit(this))):e instanceof Zs?(this.visitVariable(e.item),e.contextVariables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof zu||e instanceof Xu||e instanceof Ei||e instanceof Gu||e instanceof Hu||e instanceof Wu||e instanceof Co||e instanceof xa?e.children.forEach(t=>t.visit(this)):e instanceof fr||e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementLike(e)}visitTemplate(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),this.ingestScopedNode(e)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitDeferredBlock(e){this.ingestScopedNode(e),e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlock(e){e.groups.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){}visitSwitchBlockCaseGroup(e){this.ingestScopedNode(e)}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitContentBlock(e){this.ingestScopedNode(e)}visitLetDeclaration(e){this.maybeDeclare(e)}visitComponent(e){this.visitElementLike(e)}visitDirective(e){e.references.forEach(t=>this.visitReference(t))}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitElementLike(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),e.children.forEach(t=>t.visit(this)),this.elementLikeInScope.add(e)}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):null!==this.parentScope?this.parentScope.lookup(e):null}getChildScope(e){const t=this.childScopes.get(e);if(void 0===t)throw new Error(`Assertion error: child scope for ${e} not found`);return t}ingestScopedNode(e){const t=new xu(this,e);t.ingest(e),this.childScopes.set(e,t)}};class rc{directiveMatcher;foreignMatcher;directives;foreignComponents;eagerDirectives;missingDirectives;bindings;references;conflictingHostDirectiveBindings;isInDeferBlock=!1;constructor(e,t,r,i,a,u,d,S,T){this.directiveMatcher=e,this.foreignMatcher=t,this.directives=r,this.foreignComponents=i,this.eagerDirectives=a,this.missingDirectives=u,this.bindings=d,this.references=S,this.conflictingHostDirectiveBindings=T}static apply(e,t,r,i,a,u,d,S,T,b){new rc(t,r,i,a,u,d,S,T,b).ingest(e)}ingest(e){e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementOrTemplate(e)}visitTemplate(e){this.visitElementOrTemplate(e)}visitDeferredBlock(e){const t=this.isInDeferBlock;this.isInDeferBlock=!0,e.children.forEach(r=>r.visit(this)),this.isInDeferBlock=t,e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockError(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockLoading(e){e.children.forEach(t=>t.visit(this))}visitSwitchBlock(e){e.groups.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){}visitSwitchBlockCaseGroup(e){e.children.forEach(t=>t.visit(this))}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){e.item.visit(this),e.contextVariables.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this)),e.empty?.visit(this)}visitForLoopBlockEmpty(e){e.children.forEach(t=>t.visit(this))}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){e.expressionAlias?.visit(this),e.children.forEach(t=>t.visit(this))}visitContent(e){e.children.forEach(t=>t.visit(this))}visitContentBlock(e){e.children.forEach(t=>t.visit(this))}visitComponent(e){if(this.directiveMatcher instanceof c){const t=this.directiveMatcher.match(e.componentName);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.componentName)}e.directives.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this))}visitDirective(e){if(this.directiveMatcher instanceof c){const t=this.directiveMatcher.match(e.name);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.name)}}visitElementOrTemplate(e){const t=[];if(this.directiveMatcher instanceof s){const r=Jc(e);this.directiveMatcher.match(r,(i,a)=>t.push(...a)),this.trackSelectorBasedBindingsAndDirectives(e,t)}else e.references.forEach(r=>{""===r.value.trim()&&this.references.set(r,e)});if(this.foreignMatcher&&e instanceof tn){const r=this.foreignMatcher.match(e.name);if(r.length>0){if(t.length>0)throw new Error(`Conflict: Element '${e.name}' matches both an Angular directive and a foreign component.`);this.foreignComponents.set(e,r[0])}}e.directives.forEach(r=>r.visit(this)),e.children.forEach(r=>r.visit(this))}trackMatchedDirectives(e,t){if(t.length>0){const r=this.dedupeAndMergeDirectives(e,t);this.directives.set(e,r),this.isInDeferBlock||this.eagerDirectives.push(...r)}}dedupeAndMergeDirectives(e,t){if(0===t.length||t.every(u=>u.matchSource===Ws.Selector))return t;const r=new Set,i=new Map,a=new Map;for(const u of t)u.matchSource===Ws.Selector?r.add(u.ref.key):(i.has(u.ref.key)||i.set(u.ref.key,[]),i.get(u.ref.key).push(u));for(const[u,d]of i.entries()){if(r.has(u))continue;if(1===d.length){a.set(u,d[0]);continue}const S={},T={};for(const b of d)this.mergeMapping(e,b,"input",S,b.inputs),this.mergeMapping(e,b,"output",T,b.outputs);a.set(u,{...d[0],inputs:ra.fromMappedObject(S),outputs:ra.fromMappedObject(T)})}return t.reduce((u,d)=>(d.matchSource===Ws.Selector?u.push(d):a.has(d.ref.key)&&(u.push(a.get(d.ref.key)),a.delete(d.ref.key)),u),[])}mergeMapping(e,t,r,i,a){for(const u of a){const d=i[u.classPropertyName];if(!d){i[u.classPropertyName]=u;continue}if(d.bindingPropertyName===u.bindingPropertyName&&d.classPropertyName===u.classPropertyName&&d.isSignal===u.isSignal)continue;this.conflictingHostDirectiveBindings.has(e)||this.conflictingHostDirectiveBindings.set(e,[]);const S=this.conflictingHostDirectiveBindings.get(e);let T=S.find(b=>b.directive.ref.key===t.ref.key&&b.kind===r&&b.classPropertyName===u.classPropertyName);T||(T={directive:t,kind:r,classPropertyName:d.classPropertyName,conflictingAliases:new Set([d.bindingPropertyName])},S.push(T)),T.conflictingAliases.add(u.bindingPropertyName)}}trackSelectorlessMatchesAndDirectives(e,t){if(0===t.length)return;this.trackMatchedDirectives(e,t);const r=(i,a,u)=>{i[u].hasBindingPropertyName(a.name)&&this.bindings.set(a,i)};for(const i of t)e.inputs.forEach(a=>r(i,a,"inputs")),e.attributes.forEach(a=>r(i,a,"inputs")),e.outputs.forEach(a=>r(i,a,"outputs"));e.references.forEach(i=>this.references.set(i,{directive:t[0],node:e}))}trackSelectorBasedBindingsAndDirectives(e,t){this.trackMatchedDirectives(e,t),e.references.forEach(i=>{let a=null;if(""===i.value.trim())a=t.find(u=>u.isComponent)||null;else if(a=t.find(u=>null!==u.exportAs&&u.exportAs.some(d=>d===i.value))||null,null===a)return;null!==a?this.references.set(i,{directive:a,node:e}):this.references.set(i,e)});const r=(i,a)=>{const u=t.find(S=>S[a].hasBindingPropertyName(i.name)),d=void 0!==u?u:e;this.bindings.set(i,d)};e.inputs.forEach(i=>r(i,"inputs")),e.attributes.forEach(i=>r(i,"inputs")),e instanceof Cn&&e.templateAttrs.forEach(i=>r(i,"inputs")),e.outputs.forEach(i=>r(i,"outputs"))}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitLetDeclaration(e){}}class io extends BT{bindings;symbols;usedPipes;eagerPipes;deferBlocks;nestingLevel;scope;rootNode;level;visitNode=e=>e.visit(this);constructor(e,t,r,i,a,u,d,S,T){super(),this.bindings=e,this.symbols=t,this.usedPipes=r,this.eagerPipes=i,this.deferBlocks=a,this.nestingLevel=u,this.scope=d,this.rootNode=S,this.level=T}static applyWithScope(e,t,r,i,a,u,d,S){new io(r,i,u,d,S,a,t,e instanceof Cn?e:null,0).ingest(e)}ingest(e){if(e instanceof Cn)e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Si)null!==e.expressionAlias&&this.visitNode(e.expressionAlias),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Zs)this.visitNode(e.item),e.contextVariables.forEach(t=>this.visitNode(t)),e.trackBy?.visit(this),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Ei){if(this.scope.rootNode!==e)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${e}`);this.deferBlocks.push([e,this.scope]),e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)}else e instanceof zu||e instanceof Xu||e instanceof Gu||e instanceof Hu||e instanceof Wu||e instanceof Co||e instanceof xa?(e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)):e instanceof fr?this.nestingLevel.set(e,0):e.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.directives.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode),this.ingestScopedNode(e)}visitVariable(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitReference(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitDeferredBlock(e){this.ingestScopedNode(e),e.triggers.when?.value.visit(this),e.prefetchTriggers.when?.value.visit(this),e.hydrateTriggers.when?.value.visit(this),e.hydrateTriggers.never?.visit(this),e.placeholder&&this.visitNode(e.placeholder),e.loading&&this.visitNode(e.loading),e.error&&this.visitNode(e.error)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlockCase(e){e.expression?.visit(this)}visitSwitchBlockCaseGroup(e){e.cases.forEach(t=>t.visit(this)),this.ingestScopedNode(e)}visitSwitchExhaustiveCheck(e){e.expression?.visit(this)}visitForLoopBlock(e){e.expression.visit(this),this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlockBranch(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitContentBlock(e){this.ingestScopedNode(e)}visitLetDeclaration(e){super.visitLetDeclaration(e),null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitPipe(e,t){return this.usedPipes.add(e.name),this.scope.isDeferred||this.eagerPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(e,e.name),super.visitSafePropertyRead(e,t)}ingestScopedNode(e){const t=this.scope.getChildScope(e);new io(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,t,e,this.level+1).ingest(e)}maybeMap(e,t){if(!(e.receiver instanceof zn))return;const r=this.scope.lookup(t);null!==r&&this.bindings.set(e,r)}}class $T{target;directives;foreignComponents;eagerDirectives;missingDirectives;bindings;references;exprTargets;symbols;nestingLevel;scopedNodeEntities;usedPipes;eagerPipes;conflictingHostDirectiveBindings;deferredBlocks;deferredScopes;constructor(e,t,r,i,a,u,d,S,T,b,D,j,q,se,Se){this.target=e,this.directives=t,this.foreignComponents=r,this.eagerDirectives=i,this.missingDirectives=a,this.bindings=u,this.references=d,this.exprTargets=S,this.symbols=T,this.nestingLevel=b,this.scopedNodeEntities=D,this.usedPipes=j,this.eagerPipes=q,this.conflictingHostDirectiveBindings=Se,this.deferredBlocks=se.map(Ae=>Ae[0]),this.deferredScopes=new Map(se)}getEntitiesInScope(e){return this.scopedNodeEntities.get(e)??new Set}getDirectivesOfNode(e){return this.directives.get(e)||null}getForeignComponent(e){return this.foreignComponents.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getDefinitionNodeOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){const e=new Set;return this.directives.forEach(t=>t.forEach(r=>e.add(r))),Array.from(e.values())}getEagerlyUsedDirectives(){const e=new Set(this.eagerDirectives);return Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(e,t){if(!(t instanceof Hc||t instanceof ju||t instanceof jc))return null;const r=t.reference;if(null===r){let a=null;if(null!==e.placeholder)for(const u of e.placeholder.children)if(!(u instanceof Ys)){if(null!==a)return null;u instanceof tn&&(a=u)}return a}const i=this.findEntityInScope(e,r);if(i instanceof Io&&this.getDefinitionNodeOfSymbol(i)!==e){const a=this.getReferenceTarget(i);if(null!==a)return this.referenceTargetToElement(a)}if(null!==e.placeholder){const a=this.findEntityInScope(e.placeholder,r),u=a instanceof Io?this.getReferenceTarget(a):null;if(null!==u)return this.referenceTargetToElement(u)}return null}isDeferred(e){for(const t of this.deferredBlocks){if(!this.deferredScopes.has(t))continue;const r=[this.deferredScopes.get(t)];for(;r.length>0;){const i=r.pop();if(i.elementLikeInScope.has(e))return!0;r.push(...i.childScopes.values())}}return!1}referencedDirectiveExists(e){return!this.missingDirectives.has(e)}getConflictingHostDirectiveBindings(e){return this.conflictingHostDirectiveBindings.get(e)||null}findEntityInScope(e,t){const r=this.getEntitiesInScope(e);for(const i of r)if(i.name===t)return i;return null}referenceTargetToElement(e){return e instanceof tn?e:e instanceof Cn||e.node instanceof us||e.node instanceof Sa||e.node instanceof fr?null:this.referenceTargetToElement(e.node)}}class VT{}function qd(n,e){const t=new An;return t.set("token",n.type.value),t.set("factory",void 0===n.factory?tl(n.type.value,n.type.value,e):an([],n.factory.callFn([]))),!1===n.autoProvided&&t.set("autoProvided",W(!1)),{expression:le(U.defineService).callFn([t.toLiteralMap()],void 0,!0),type:No(n.type.type,n.typeArgumentCount),statements:[]}}class jT{jitEvaluator;FactoryTarget=X;ResourceLoader=VT;elementSchemaRegistry=new Ji;constructor(e=new fm){this.jitEvaluator=e}compilePipe(e,t,r){const a=xp({name:r.name,type:Pn(r.type),typeArgumentCount:0,pipeName:r.pipeName,pure:r.pure,isStandalone:r.isStandalone});return this.jitExpression(a.expression,e,t,[])}compilePipeDeclaration(e,t,r){const i=function iC(n){return{name:n.type.name,type:Pn(n.type),typeArgumentCount:0,pipeName:n.name,deps:null,pure:n.pure??!0,isStandalone:n.isStandalone??wc(n.version)}}(r),a=xp(i);return this.jitExpression(a.expression,e,t,[])}compileInjectable(e,t,r){const{expression:i,statements:a}=qc({name:r.name,type:Pn(r.type),typeArgumentCount:r.typeArgumentCount,providedIn:ah(r.providedIn),useClass:sa(r,"useClass"),useFactory:vu(r,"useFactory"),useValue:sa(r,"useValue"),useExisting:sa(r,"useExisting"),deps:r.deps?.map(oh)},!0);return this.jitExpression(i,e,t,a)}compileInjectableDeclaration(e,t,r){const{expression:i,statements:a}=qc({name:r.type.name,type:Pn(r.type),typeArgumentCount:0,providedIn:ah(r.providedIn),useClass:sa(r,"useClass"),useFactory:vu(r,"useFactory"),useValue:sa(r,"useValue"),useExisting:sa(r,"useExisting"),deps:r.deps?.map(uh)},!0);return this.jitExpression(i,e,t,a)}compileInjector(e,t,r){const a=yp({type:Pn(r.type),providers:r.providers&&r.providers.length>0?new z(r.providers):null,imports:r.imports.map(u=>new z(u))});return this.jitExpression(a.expression,e,t,[])}compileInjectorDeclaration(e,t,r){const i=function aC(n){return{name:n.type.name,type:Pn(n.type),providers:void 0!==n.providers&&n.providers.length>0?new z(n.providers):null,imports:void 0!==n.imports?n.imports.map(e=>new z(e)):[]}}(r),a=yp(i);return this.jitExpression(a.expression,e,t,[])}compileNgModule(e,t,r){const a=mm({kind:ar.Global,type:Pn(r.type),bootstrap:r.bootstrap.map(Pn),declarations:r.declarations.map(Pn),publicDeclarationTypes:null,imports:r.imports.map(Pn),includeImportTypes:!0,exports:r.exports.map(Pn),selectorScopeMode:Pa.Inline,containsForwardDecls:!1,schemas:r.schemas?r.schemas.map(Pn):null,id:r.id?new z(r.id):null});return this.jitExpression(a.expression,e,t,[])}compileNgModuleDeclaration(e,t,r){const i=function gm(n){const e=new An;return e.set("type",new z(n.type)),void 0!==n.bootstrap&&e.set("bootstrap",new z(n.bootstrap)),void 0!==n.declarations&&e.set("declarations",new z(n.declarations)),void 0!==n.imports&&e.set("imports",new z(n.imports)),void 0!==n.exports&&e.set("exports",new z(n.exports)),void 0!==n.schemas&&e.set("schemas",new z(n.schemas)),void 0!==n.id&&e.set("id",new z(n.id)),le(U.defineNgModule).callFn([e.toLiteralMap()])}(r);return this.jitExpression(i,e,t,[])}compileDirective(e,t,r){const i=nh(r);return this.compileDirectiveFromMeta(e,t,i)}compileDirectiveDeclaration(e,t,r){const a=rh(r,this.createParseSourceSpan("Directive",r.type.name,t));return this.compileDirectiveFromMeta(e,t,a)}compileService(e,t,r){const{expression:i,statements:a}=qd({type:Pn(r.type),typeArgumentCount:r.typeArgumentCount,autoProvided:r.autoProvided,factory:r.factory?vu(r,"factory"):void 0},!0);return this.jitExpression(i,e,t,a)}compileServiceDeclaration(e,t,r){const{expression:i,statements:a}=qd({type:Pn(r.type),typeArgumentCount:0,autoProvided:r.autoProvided,factory:r.factory?vu(r,"factory"):void 0},!0);return this.jitExpression(i,e,t,a)}compileDirectiveFromMeta(e,t,r){const i=new xc,u=function wT(n,e,t){const r=Wd(n,e,t);return Gd(r,n),{expression:le(U.defineDirective).callFn([r.toLiteralMap()],void 0,!0),type:Kd(n),statements:[]}}(r,i,na());return this.jitExpression(u.expression,e,t,i.statements)}compileComponent(e,t,r){const{template:i,defer:a}=ih(r.template,r.name,t,r.preserveWhitespaces,void 0),u={...r,...nh(r),selector:r.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:i,declarations:r.declarations.map(zT),declarationListEmitMode:0,defer:a,styles:[...r.styles,...i.styles],encapsulation:r.encapsulation,changeDetection:r.changeDetection??null,animations:null!=r.animations?new z(r.animations):null,viewProviders:null!=r.viewProviders?new z(r.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,foreignImports:null},d=`ng:///${r.name}.js`;return this.compileComponentFromMeta(e,d,u)}compileComponentDeclaration(e,t,r){const a=function GT(n,e,t){const{template:r,defer:i}=ih(n.template,n.type.name,t,n.preserveWhitespaces??!1,n.deferBlockDependencies),a=[];if(n.dependencies)for(const d of n.dependencies)switch(d.kind){case"directive":case"component":a.push(sc(d));break;case"pipe":a.push(KT(d));break;case"ngmodule":a.push(YT(d))}else(n.components||n.directives||n.pipes)&&(n.components&&a.push(...n.components.map(d=>sc(d,!0))),n.directives&&a.push(...n.directives.map(d=>sc(d))),n.pipes&&a.push(...function XT(n){return n?Object.keys(n).map(e=>({kind:Vr.Pipe,name:e,type:new z(n[e])})):[]}(n.pipes)));const u=a.some(({kind:d})=>d===Vr.Directive||d===Vr.NgModule);return{...rh(n,e),template:r,styles:n.styles??[],declarations:a,viewProviders:void 0!==n.viewProviders?new z(n.viewProviders):null,animations:void 0!==n.animations?new z(n.animations):null,defer:i,changeDetection:n.changeDetection??M.OnPush,encapsulation:n.encapsulation??N.Emulated,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,hasDirectiveDependencies:u,legacyOptionalChaining:n.legacyOptionalChaining??ep,foreignImports:null}}(r,this.createParseSourceSpan("Component",r.type.name,t),t);return this.compileComponentFromMeta(e,t,a)}compileComponentFromMeta(e,t,r){const i=new xc,u=IT(r,i,na());return this.jitExpression(u.expression,e,t,i.statements)}compileFactory(e,t,r){const i=zs({name:r.name,type:Pn(r.type),typeArgumentCount:r.typeArgumentCount,deps:ZT(r.deps),target:r.target});return this.jitExpression(i.expression,e,t,i.statements)}compileFactoryDeclaration(e,t,r){const i=zs({name:r.type.name,type:Pn(r.type),typeArgumentCount:0,deps:Array.isArray(r.deps)?r.deps.map(uh):r.deps,target:r.target});return this.jitExpression(i.expression,e,t,i.statements)}createParseSourceSpan(e,t,r){return function am(n,e,t){const i=new ll("",`in ${n} ${e} in ${t}`);return new dt(new ni(i,-1,-1,-1),new ni(i,-1,-1,-1))}(e,t,r)}jitExpression(e,t,r,i){const a=[...i,new xe("$def",e,void 0,Yt.Exported)];return this.jitEvaluator.evaluateStatements(r,a,new vm(t),!0).$def}}function _d(n){return{...n,isSignal:n.isSignal,predicate:th(n.predicate),read:n.read?new z(n.read):null,static:n.static,emitDistinctChangesOnly:n.emitDistinctChangesOnly}}function eh(n){return{propertyName:n.propertyName,first:n.first??!1,predicate:th(n.predicate),descendants:n.descendants??!1,read:n.read?new z(n.read):null,static:n.static??!1,emitDistinctChangesOnly:n.emitDistinctChangesOnly??!0,isSignal:!!n.isSignal}}function th(n){return Array.isArray(n)?n:Nu(new z(n),1)}function nh(n){const e=function sC(n){return n.reduce((e,t)=>{if("string"==typeof t){const[r,i]=ch(t);e[i]={bindingPropertyName:r,classPropertyName:i,required:!1,isSignal:!1,transformFunction:null}}else e[t.name]={bindingPropertyName:t.alias||t.name,classPropertyName:t.name,required:t.required||!1,isSignal:!1,transformFunction:null!=t.transform?new z(t.transform):null};return e},{})}(n.inputs||[]),t=ic(n.outputs||[]),r=n.propMetadata,i={},a={};for(const d in r)r.hasOwnProperty(d)&&r[d].forEach(S=>{eC(S)?i[d]={bindingPropertyName:S.alias||d,classPropertyName:d,required:S.required||!1,isSignal:!!S.isSignal,transformFunction:null!=S.transform?new z(S.transform):null}:tC(S)&&(a[d]=S.alias||d)});const u=n.hostDirectives?.length?n.hostDirectives.map(d=>"function"==typeof d?{directive:Pn(d),inputs:null,outputs:null,isForwardReference:!1}:{directive:Pn(d.directive),isForwardReference:!1,inputs:d.inputs?ic(d.inputs):null,outputs:d.outputs?ic(d.outputs):null}):null;return{...n,typeArgumentCount:0,typeSourceSpan:n.typeSourceSpan,type:Pn(n.type),deps:null,host:{...JT(n.propMetadata,n.typeSourceSpan,n.host)},inputs:{...e,...i},outputs:{...t,...a},queries:n.queries.map(_d),providers:null!=n.providers?new z(n.providers):null,viewQueries:n.viewQueries.map(_d),hostDirectives:u}}function rh(n,e){const t=n.hostDirectives?.length?n.hostDirectives.map(r=>({directive:Pn(r.directive),isForwardReference:!1,inputs:r.inputs?sh(r.inputs):null,outputs:r.outputs?sh(r.outputs):null})):null;return{name:n.type.name,type:Pn(n.type),typeSourceSpan:e,selector:n.selector??null,inputs:n.inputs?nC(n.inputs):{},outputs:n.outputs??{},host:HT(n.host),queries:(n.queries??[]).map(eh),viewQueries:(n.viewQueries??[]).map(eh),providers:void 0!==n.providers?new z(n.providers):null,exportAs:n.exportAs??null,usesInheritance:n.usesInheritance??!1,controlCreate:n.controlCreate??null,lifecycle:{usesOnChanges:n.usesOnChanges??!1},deps:null,typeArgumentCount:0,isStandalone:n.isStandalone??wc(n.version),isSignal:n.isSignal??!1,hostDirectives:t,legacyOptionalChaining:n.legacyOptionalChaining??ep}}function HT(n={}){return{attributes:WT(n.attributes??{}),listeners:n.listeners??{},properties:n.properties??{},specialAttributes:{classAttr:n.classAttribute,styleAttr:n.styleAttribute}}}function sh(n){let e=null;for(let t=1;t<n.length;t+=2)e=e||{},e[n[t-1]]=n[t];return e}function WT(n){const e={};for(const t of Object.keys(n))e[t]=new z(n[t]);return e}function zT(n){return{...n,type:new z(n.type)}}function sc(n,e=null){return{kind:Vr.Directive,isComponent:e||"component"===n.kind,selector:n.selector,type:new z(n.type),inputs:n.inputs??[],outputs:n.outputs??[],exportAs:n.exportAs??null}}function KT(n){return{kind:Vr.Pipe,name:n.name,type:new z(n.type)}}function YT(n){return{kind:Vr.NgModule,type:new z(n.type)}}function ih(n,e,t,r,i){const a=Hd(n,t,{preserveWhitespaces:r});if(null!==a.errors){const S=a.errors.map(T=>T.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${e}: ${S}`)}return{template:a,defer:QT(new Qd(null).bind({template:a.nodes}),i)}}function sa(n,e){if(n.hasOwnProperty(e))return Nu(new z(n[e]),0)}function vu(n,e){if(n.hasOwnProperty(e))return new z(n[e])}function ah(n){return Nu("function"==typeof n?new z(n):new Te(n??null),0)}function ZT(n){return null==n?null:n.map(oh)}function oh(n){const e=null!=n.attribute,t=null===n.token?null:new z(n.token);return lh(e?new z(n.attribute):t,e,n.host,n.optional,n.self,n.skipSelf)}function uh(n){const e=n.attribute??!1;return lh(null===n.token?null:new z(n.token),e,n.host??!1,n.optional??!1,n.self??!1,n.skipSelf??!1)}function lh(n,e,t,r,i,a){return{token:n,attributeNameType:e?W("unknown"):null,host:t,optional:r,self:i,skipSelf:a}}function QT(n,e){const t=n.getDeferBlocks(),r=new Map;for(let i=0;i<t.length;i++){const a=e?.[i];r.set(t[i],a?new z(a):null)}return{mode:0,blocks:r}}function JT(n,e,t){const r=function DT(n){const e={},t={},r={},i={};for(const a of Object.keys(n)){const u=n[a];if(a.startsWith("(")&&a.endsWith(")")){if("string"!=typeof u)throw new Error("Event binding must be string");t[a.slice(1,-1)]=u}else if(a.startsWith("[")&&a.endsWith("]")){if("string"!=typeof u)throw new Error("Property binding must be string");r[a.slice(1,-1)]=u}else switch(a){case"class":if("string"!=typeof u)throw new Error("Class binding must be string");i.classAttr=u;break;case"style":if("string"!=typeof u)throw new Error("Style binding must be string");i.styleAttr=u;break;default:e[a]="string"==typeof u?W(u):u}}return{attributes:e,listeners:t,properties:r,specialAttributes:i}}(t||{});for(const a in n)n.hasOwnProperty(a)&&n[a].forEach(u=>{qT(u)?r.properties[u.hostPropertyName||a]=mv("this",a):_T(u)&&(r.listeners[u.eventName||a]=`${a}(${(u.args||[]).join(",")})`)});const i=RT(r,e);if(i.length)throw new Error(i.map(a=>a.msg).join("\n"));return r}function qT(n){return"HostBinding"===n.ngMetadataName}function _T(n){return"HostListener"===n.ngMetadataName}function eC(n){return"Input"===n.ngMetadataName}function tC(n){return"Output"===n.ngMetadataName}function nC(n){return Object.keys(n).reduce((e,t)=>{const r=n[t];return"string"==typeof r||Array.isArray(r)?e[t]=function rC(n){return"string"==typeof n?{bindingPropertyName:n,classPropertyName:n,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:n[0],classPropertyName:n[1],transformFunction:n[2]?new z(n[2]):null,required:!1,isSignal:!1}}(r):e[t]={bindingPropertyName:r.publicName,classPropertyName:t,transformFunction:null!==r.transformFunction?new z(r.transformFunction):null,required:r.isRequired,isSignal:r.isSignal},e},{})}function ic(n){return n.reduce((e,t)=>{const[r,i]=ch(t);return e[i]=r,e},{})}function ch(n){const[e,t]=n.split(":",2).map(r=>r.trim());return[t??e,e]}var zr;!function(n){n[n.Extract=0]="Extract",n[n.Merge=1]="Merge"}(zr||(zr={}));new class EC{closedByParent=!1;implicitNamespacePrefix=null;isVoid=!1;ignoreFirstLf=!1;canSelfClose=!0;preventNamespaceInheritance=!1;requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return $r.PARSABLE_DATA}};new class sv{full;major;minor;patch;constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("22.1.0");var gu,ms,yu,Dh;!function(n){n.DIAGNOSTIC="D",n.EXPRESSION_TYPE_IDENTIFIER="T"}(gu||(gu={})),function(n){n.DIRECTIVE="DIR",n.HOST_DIRECTIVE="HOSTDIR",n.COMPONENT_COMPLETION="COMPCOMP",n.EVENT_PARAMETER="EP",n.VARIABLE_AS_EXPRESSION="VAE"}(ms||(ms={})),function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning"}(yu||(yu={})),function(n){n[n.UseEmitter=0]="UseEmitter",n[n.CopyClassNodes=1]="CopyClassNodes",n[n.FallbackToAny=2]="FallbackToAny"}(Dh||(Dh={}));class aa{static SINGLETON=new aa;static veWillInferAnyFor(e){const t=aa.SINGLETON;return e instanceof Br?e.visit(t):e.receiver.visit(t)}visitUnary(e){return e.expr.visit(this)}visitBinary(e){return e.left.visit(this)||e.right.visit(this)}visitChain(){return!1}visitConditional(e){return e.condition.visit(this)||e.trueExp.visit(this)||e.falseExp.visit(this)}visitCall(){return!0}visitSafeCall(){return!1}visitImplicitReceiver(){return!1}visitThisReceiver(){return!1}visitInterpolation(e){return e.expressions.some(t=>t.visit(this))}visitKeyedRead(){return!1}visitLiteralArray(){return!0}visitLiteralMap(){return!0}visitLiteralPrimitive(){return!1}visitPipe(){return!0}visitPrefixNot(e){return e.expression.visit(this)}visitTypeofExpression(e){return e.expression.visit(this)}visitVoidExpression(e){return e.expression.visit(this)}visitNonNullAssert(e){return e.expression.visit(this)}visitPropertyRead(){return!1}visitSafePropertyRead(){return!1}visitSafeKeyedRead(){return!1}visitTemplateLiteral(){return!1}visitTemplateLiteralElement(){return!1}visitTaggedTemplateLiteral(){return!1}visitParenthesizedExpression(e){return e.expression.visit(this)}visitRegularExpressionLiteral(){return!1}visitSpreadElement(e){return e.expression.visit(this)}visitArrowFunction(e,t){return!1}}const dc=["errors","dirty","disabled","disabledReasons","hidden","invalid","name","pending","readonly","touched","max","maxLength","min","minLength","pattern","required"];new Ji;new Ji;!function oC(n){(n.ng||(n.ng={})).\u0275compilerFacade=new jT}(la)}};const Sc={};function Kr(f){const g=Sc[f];if(void 0!==g)return g.exports;const s=Sc[f]={exports:{}};return Yh[f].call(s.exports,s,s.exports,Kr),s.exports}Kr.n=f=>{const g=f&&f.__esModule?()=>f.default:()=>f;return Kr.d(g,{a:g}),g},Kr.d=(f,g)=>{if(Array.isArray(g))for(var s=0;s<g.length;){var o=g[s++],l=g[s++];Kr.o(f,o)?0===l&&s++:0===l?Object.defineProperty(f,o,{enumerable:!0,value:g[s++]}):Object.defineProperty(f,o,{enumerable:!0,get:l})}else for(var o in g)Kr.o(g,o)&&!Kr.o(f,o)&&Object.defineProperty(f,o,{enumerable:!0,get:g[o]})},Kr.o=(f,g)=>Object.prototype.hasOwnProperty.call(f,g),Kr(5275);Kr(60262)})();
Back to Directory