vendor: 8,904 bytes, line 1
1import{a as x,i as w,n as B,r as C,s as z}from"./chunk-B9dn0NrW.js";import{$r as xs$1,$t as Uf,A as GS,Ar as sd$1,At as Q,B as Hi$1,Bt as Sb,Cn as _H,Cr as pT,Dn as ap,Dr as qE,E as FN,En as an$1,Er as pr,Et as PN,Fn as cs$1,Ft as RM,G as In,Gn as gT,Gr as w$1,H as Ht$1,Hn as et,Ht as Sg,I as HT,It as RN,Jr as x$1,Jt as U,K as Is$1,Kn as gr,Kr as wE,Kt as To,Lr as tr$1,Lt as Rb,M as HD,Mn as cn$1,Mr as sy,N as HE,Nn as co,Nr as tN,O as Fe$1,On as bE,Ot as Pb,P as HI,Pr as tf,Q as Ko,Qr as xe$1,Qt as Ua$1,R as He,Rn as di$1,Rr as tv,S as FD,Sn as _E,Sr as pE,St as Or$1,T as FM,Tn as ae$1,Tr as pn$1,Tt as PH,Un as ey,Ur as vT,Ut as Sv,V as Hm,Vr as ut$1,Vt as Sc$1,W as IA,Wr as v_,Wt as T,Xn as ha$1,Yn as hT,Yr as xH,Z as KE,Zn as hr,Zt as U_,_ as Dv,_n as Ze,_r as me$1,_t as Nv,an as VN,b as En$1,bn as _C,br as nr$1,cn as WE,cr as kM,d as Ci$1,dn as Xm,dr as lr,dt as Mt,en as Ut$1,fn as Xv,ft as Mv,g as Do,gn as Z_,gr as m_,gt as Nt,h as Dl$1,hn as ZE,hr as mT,ii as zy,ir as jI,jn as cI,kn as bH,kr as ro,l as B_,ln as Ws$1,lr as kb,lt as Me$1,m as Dg,mn as Yn$1,mt as NH,n as $f,ni as yv,o as B$1,or as kE,pn as YE,pr as m,q as JE,qn as gt$1,qt as Tt,r as $u$1,ri as zE,rr as jH,sr as kH,st as MH,ti as ye,tn as Uu$1,tr as j,un as Ww,ur as le,v as EA,vr as nD,vt as Ny,wt as PE,x as Ev,xn as _D,xt as Oh,y as Ee$1,yn as Zu$1,yt as OH,z as Hg,zn as ec$1,zt as SH}from"./chunk-CI4kVVXs.js";import{t}from"./chunk-DOtQ57qk.js";import{E as Ti$1,K as pn$2,M as ci$1,P as de$1,R as he$1,V as ke$1,_ as Mi$1,et as vi$1,i as Dn,m as Kr$1,nt as wn,ot as zr$1,rt as xe$2,s as H,u as Ii$1,z as j$1}from"./chunk-CdZKVriF.js";import{a as J$1,c as N,f as Z,g as z$1,h as y,i as I$1,l as R,n as F,p as h,s as M,u as U$1}from"./chunk-DsJBj5wW.js";var rc=z(()=>{"use strict";});var nc=z(()=>{"use strict";});var ic=z((Sp,wn)=>{"use strict";(function(){"use strict";var t=`input is invalid type`,n=`finalize already called`,e=typeof window==`object`,r=e?window:{};r.JS_MD5_NO_WINDOW&&(e=!1);var i=!e&&typeof self==`object`,o=!r.JS_MD5_NO_NODE_JS&&typeof process==`object`&&process.versions&&process.versions.node;o?r=global:i&&(r=self);var s=!r.JS_MD5_NO_COMMON_JS&&typeof wn==`object`&&wn.exports,c=typeof define==`function`&&define.amd,a=!r.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<`u`,h=`0123456789abcdef`.split(``),p=[128,32768,8388608,-2147483648],m=[0,8,16,24],v=[`hex`,`array`,`digest`,`buffer`,`arrayBuffer`,`base64`],w=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),b=[],F;if(a){var P=new ArrayBuffer(68);F=new Uint8Array(P),b=new Uint32Array(P)}var H=Array.isArray;(r.JS_MD5_NO_NODE_JS||!H)&&(H=function(l){return Object.prototype.toString.call(l)===`[object Array]`});var T=ArrayBuffer.isView;a&&(r.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!T)&&(T=function(l){return typeof l==`object`&&l.buffer&&l.buffer.constructor===ArrayBuffer});var D=function(l){var d=typeof l;if(d===`string`)return[l,!0];if(d!==`object`||l===null)throw new Error(t);if(a&&l.constructor===ArrayBuffer)return[new Uint8Array(l),!1];if(!H(l)&&!T(l))throw new Error(t);return[l,!1]},B=function(l){return function(d){return new A(!0).update(d)[l]()}},K=function(){var l=B(`hex`);o&&(l=x(l)),l.create=function(){return new A},l.update=function(u){return l.create().update(u)};for(var d=0;d<v.length;++d){var f=v[d];l[f]=B(f)}return l},x=function(l){var d=rc(),f=nc().Buffer,u;f.from&&!r.JS_MD5_NO_BUFFER_FROM?u=f.from:u=function(S){return new f(S)};var _=function(S){if(typeof S==`string`)return d.createHash(`md5`).update(S,`utf8`).digest(`hex`);if(S==null)throw new Error(t);return S.constructor===ArrayBuffer&&(S=new Uint8Array(S)),H(S)||T(S)||S.constructor===f?d.createHash(`md5`).update(u(S)).digest(`hex`):l(S)};return _},Y=function(l){return function(d,f){return new $(d,!0).update(f)[l]()}},te=function(){var l=Y(`hex`);l.create=function(u){return new $(u)},l.update=function(u,_){return l.create(u).update(_)};for(var d=0;d<v.length;++d){var f=v[d];l[f]=Y(f)}return l};function A(l){if(l)b[0]=b[16]=b[1]=b[2]=b[3]=b[4]=b[5]=b[6]=b[7]=b[8]=b[9]=b[10]=b[11]=b[12]=b[13]=b[14]=b[15]=0,this.blocks=b,this.buffer8=F;else if(a){var d=new ArrayBuffer(68);this.buffer8=new Uint8Array(d),this.blocks=new Uint32Array(d)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}A.prototype.update=function(l){if(this.finalized)throw new Error(n);var d=D(l);l=d[0];for(var f=d[1],u,_=0,S,y=l.length,C=this.blocks,ne=this.buffer8;_<y;){if(this.hashed&&(this.hashed=!1,C[0]=C[16],C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),f)if(a)for(S=this.start;_<y&&S<64;++_)u=l.charCodeAt(_),u<128?ne[S++]=u:u<2048?(ne[S++]=192|u>>>6,ne[S++]=128|u&63):u<55296||u>=57344?(ne[S++]=224|u>>>12,ne[S++]=128|u>>>6&63,ne[S++]=128|u&63):(u=65536+((u&1023)<<10|l.charCodeAt(++_)&1023),ne[S++]=240|u>>>18,ne[S++]=128|u>>>12&63,ne[S++]=128|u>>>6&63,ne[S++]=128|u&63);else for(S=this.start;_<y&&S<64;++_)u=l.charCodeAt(_),u<128?C[S>>>2]|=u<<m[S++&3]:u<2048?(C[S>>>2]|=(192|u>>>6)<<m[S++&3],C[S>>>2]|=(128|u&63)<<m[S++&3]):u<55296||u>=57344?(C[S>>>2]|=(224|u>>>12)<<m[S++&3],C[S>>>2]|=(128|u>>>6&63)<<m[S++&3],C[S>>>2]|=(128|u&63)<<m[S++&3]):(u=65536+((u&1023)<<10|l.charCodeAt(++_)&1023),C[S>>>2]|=(240|u>>>18)<<m[S++&3],C[S>>>2]|=(128|u>>>12&63)<<m[S++&3],C[S>>>2]|=(128|u>>>6&63)<<m[S++&3],C[S>>>2]|=(128|u&63)<<m[S++&3]);else if(a)for(S=this.start;_<y&&S<64;++_)ne[S++]=l[_];else for(S=this.start;_<y&&S<64;++_)C[S>>>2]|=l[_]<<m[S++&3];this.lastByteIndex=S,this.bytes+=S-this.start,S>=64?(this.start=S-64,this.hash(),this.hashed=!0):this.start=S}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},A.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var l=this.blocks,d=this.lastByteIndex;l[d>>>2]|=p[d&3],d>=56&&(this.hashed||this.hash(),l[0]=l[16],l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),l[14]=this.bytes<<3,l[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},A.prototype.hash=function(){var l,d,f,u,_,S,y=this.blocks;this.first?(l=y[0]-680876937,l=(l<<7|l>>>25)-271733879<<0,u=(-1732584194^l&2004318071)+y[1]-117830708,u=(u<<12|u>>>20)+l<<0,f=(-271733879^u&(l^-271733879))+y[2]-1126478375,f=(f<<17|f>>>15)+u<<0,d=(l^f&(u^l))+y[3]-1316259209,d=(d<<22|d>>>10)+f<<0):(l=this.h0,d=this.h1,f=this.h2,u=this.h3,l+=(u^d&(f^u))+y[0]-680876936,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[1]-389564586,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[2]+606105819,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[3]-1044525330,d=(d<<22|d>>>10)+f<<0),l+=(u^d&(f^u))+y[4]-176418897,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[5]+1200080426,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[6]-1473231341,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[7]-45705983,d=(d<<22|d>>>10)+f<<0,l+=(u^d&(f^u))+y[8]+1770035416,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[9]-1958414417,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[10]-42063,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[11]-1990404162,d=(d<<22|d>>>10)+f<<0,l+=(u^d&(f^u))+y[12]+1804603682,l=(l<<7|l>>>25)+d<<0,u+=(f^l&(d^f))+y[13]-40341101,u=(u<<12|u>>>20)+l<<0,f+=(d^u&(l^d))+y[14]-1502002290,f=(f<<17|f>>>15)+u<<0,d+=(l^f&(u^l))+y[15]+1236535329,d=(d<<22|d>>>10)+f<<0,l+=(f^u&(d^f))+y[1]-165796510,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[6]-1069501632,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[11]+643717713,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[0]-373897302,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[5]-701558691,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[10]+38016083,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[15]-660478335,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[4]-405537848,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[9]+568446438,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[14]-1019803690,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[3]-187363961,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[8]+1163531501,d=(d<<20|d>>>12)+f<<0,l+=(f^u&(d^f))+y[13]-1444681467,l=(l<<5|l>>>27)+d<<0,u+=(d^f&(l^d))+y[2]-51403784,u=(u<<9|u>>>23)+l<<0,f+=(l^d&(u^l))+y[7]+1735328473,f=(f<<14|f>>>18)+u<<0,d+=(u^l&(f^u))+y[12]-1926607734,d=(d<<20|d>>>12)+f<<0,_=d^f,l+=(_^u)+y[5]-378558,l=(l<<4|l>>>28)+d<<0,u+=(_^l)+y[8]-2022574463,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[11]+1839030562,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[14]-35309556,d=(d<<23|d>>>9)+f<<0,_=d^f,l+=(_^u)+y[1]-1530992060,l=(l<<4|l>>>28)+d<<0,u+=(_^l)+y[4]+1272893353,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[7]-155497632,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[10]-1094730640,d=(d<<23|d>>>9)+f<<0,_=d^f,l+=(_^u)+y[13]+681279174,l=(l<<4|l>>>28)+d<<0,u+=(_^l)+y[0]-358537222,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[3]-722521979,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[6]+76029189,d=(d<<23|d>>>9)+f<<0,_=d^f,l+=(_^u)+y[9]-640364487,l=(l<<4|l>>>28)+d<<0,u+=(_^l)+y[12]-421815835,u=(u<<11|u>>>21)+l<<0,S=u^l,f+=(S^d)+y[15]+530742520,f=(f<<16|f>>>16)+u<<0,d+=(S^f)+y[2]-995338651,d=(d<<23|d>>>
19)+f<<0,l+=(f^(d|~u))+y[0]-198630844,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[7]+1126891415,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[14]-1416354905,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[5]-57434055,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[12]+1700485571,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[3]-1894986606,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[10]-1051523,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[1]-2054922799,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[8]+1873313359,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[15]-30611744,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[6]-1560198380,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[13]+1309151649,d=(d<<21|d>>>11)+f<<0,l+=(f^(d|~u))+y[4]-145523070,l=(l<<6|l>>>26)+d<<0,u+=(d^(l|~f))+y[11]-1120210379,u=(u<<10|u>>>22)+l<<0,f+=(l^(u|~d))+y[2]+718787259,f=(f<<15|f>>>17)+u<<0,d+=(u^(f|~l))+y[9]-343485551,d=(d<<21|d>>>11)+f<<0,this.first?(this.h0=l+1732584193<<0,this.h1=d-271733879<<0,this.h2=f-1732584194<<0,this.h3=u+271733878<<0,this.first=!1):(this.h0=this.h0+l<<0,this.h1=this.h1+d<<0,this.h2=this.h2+f<<0,this.h3=this.h3+u<<0)},A.prototype.hex=function(){this.finalize();var l=this.h0,d=this.h1,f=this.h2,u=this.h3;return h[l>>>4&15]+h[l&15]+h[l>>>12&15]+h[l>>>8&15]+h[l>>>20&15]+h[l>>>16&15]+h[l>>>28&15]+h[l>>>24&15]+h[d>>>4&15]+h[d&15]+h[d>>>12&15]+h[d>>>8&15]+h[d>>>20&15]+h[d>>>16&15]+h[d>>>28&15]+h[d>>>24&15]+h[f>>>4&15]+h[f&15]+h[f>>>12&15]+h[f>>>8&15]+h[f>>>20&15]+h[f>>>16&15]+h[f>>>28&15]+h[f>>>24&15]+h[u>>>4&15]+h[u&15]+h[u>>>12&15]+h[u>>>8&15]+h[u>>>20&15]+h[u>>>16&15]+h[u>>>28&15]+h[u>>>24&15]},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var l=this.h0,d=this.h1,f=this.h2,u=this.h3;return[l&255,l>>>8&255,l>>>16&255,l>>>24&255,d&255,d>>>8&255,d>>>16&255,d>>>24&255,f&255,f>>>8&255,f>>>16&255,f>>>24&255,u&255,u>>>8&255,u>>>16&255,u>>>24&255]},A.prototype.array=A.prototype.digest,A.prototype.arrayBuffer=function(){this.finalize();var l=new ArrayBuffer(16),d=new Uint32Array(l);return d[0]=this.h0,d[1]=this.h1,d[2]=this.h2,d[3]=this.h3,l},A.prototype.buffer=A.prototype.arrayBuffer,A.prototype.base64=function(){for(var l,d,f,u=``,_=this.array(),S=0;S<15;)l=_[S++],d=_[S++],f=_[S++],u+=w[l>>>2]+w[(l<<4|d>>>4)&63]+w[(d<<2|f>>>6)&63]+w[f&63];return l=_[S],u+=w[l>>>2]+w[l<<4&63]+`==`,u};function $(l,d){var f,u=D(l);if(l=u[0],u[1]){var _=[],S=l.length,y=0,C;for(f=0;f<S;++f)C=l.charCodeAt(f),C<128?_[y++]=C:C<2048?(_[y++]=192|C>>>6,_[y++]=128|C&63):C<55296||C>=57344?(_[y++]=224|C>>>12,_[y++]=128|C>>>6&63,_[y++]=128|C&63):(C=65536+((C&1023)<<10|l.charCodeAt(++f)&1023),_[y++]=240|C>>>18,_[y++]=128|C>>>12&63,_[y++]=128|C>>>6&63,_[y++]=128|C&63);l=_}l.length>64&&(l=new A(!0).update(l).array());var ne=[],qi=[];for(f=0;f<64;++f){var Wi=l[f]||0;ne[f]=92^Wi,qi[f]=54^Wi}A.call(this,d),this.update(qi),this.oKeyPad=ne,this.inner=!0,this.sharedMemory=d}$.prototype=new A,$.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var l=this.array();A.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(l),A.prototype.finalize.call(this)}};var X=K();X.md5=X,X.md5.hmac=te(),s?wn.exports=X:(r.md5=X,c&&define(function(){return X}))})()});var Ut=class{_doc;constructor(n){this._doc=n}manager};var Ir=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static ɵfac=function(r){return new(r||t)(ae$1(an$1))};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();var Or=new w$1(``);var Zn=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Ir));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Ir);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new T(-5101,!1);return this._eventNameToPlugin.set(e,r),r}static ɵfac=function(r){return new(r||t)(ae$1(Or),ae$1(B$1))};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();var Xn=`ng-app-id`;function ss(t){for(let n of t)n.remove()}function as(t,n){let e=n.createElement(`style`);return e.textContent=t,e}function hc(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Xn}="${n}"],link[${Xn}="${n}"]`);if(!i||i.length===0)return!1;for(let o of i)o.removeAttribute(Xn),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf(`/`)+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function Yn(t,n){let e=n.createElement(`link`);return e.setAttribute(`rel`,`stylesheet`),e.setAttribute(`href`,t),e}var Qn=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,hc(e,r,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,as);r?.forEach(i=>
1this.addUsage(i,this.external,Yn))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(ss(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ss(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,as(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Yn(r,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let r of[...this.inline.values(),...this.external.values()]){let i=[];for(let o of r.elements)o.parentNode===e?o.remove():i.push(o);r.elements=i}}addElement(e,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),e.appendChild(r)}static ɵfac=function(r){return new(r||t)(ae$1(an$1),ae$1(Nt),ae$1(HI,8),ae$1(jI))};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();var Kn={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`,math:`http://www.w3.org/1998/Math/MathML`};var ei=/%COMP%/g;var ls=`%COMP%`;var fc=`_nghost-${ls}`;var pc=`_ngcontent-${ls}`;var gc=!0;var mc=new w$1(``,{factory:()=>gc});var vc=new w$1(``);function yc(t){return pc.replace(ei,t)}function Sc(t){return fc.replace(ei,t)}function us(t,n){return n.map(e=>e.replace(ei,t))}var ti=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,r,i,o,s,c,a=null,h=null,p=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=c,this.nonce=a,this.tracingService=h,this.cssVarNamespace=p??``,this.defaultRenderer=new kt(e,s,c,this.tracingService,this.cssVarNamespace)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Ar?i.applyToHost(e):i instanceof Lt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,c=this.ngZone,a=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,m=this.tracingService;switch(r.encapsulation){case pn$1.Emulated:o=new Ar(a,h,r,this.appId,p,s,c,m,this.cssVarNamespace);break;case pn$1.ShadowDom:return new Nr(a,e,r,s,c,this.nonce,m,this.cssVarNamespace,h);case pn$1.ExperimentalIsolatedShadowDom:return new Nr(a,e,r,s,c,this.nonce,m,this.cssVarNamespace);default:o=new Lt(a,h,r,p,s,c,m,this.cssVarNamespace);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function(r){return new(r||t)(ae$1(Zn),ae$1(Hm),ae$1(Nt),ae$1(mc),ae$1(an$1),ae$1(B$1),ae$1(HI),ae$1(nr$1,8),ae$1(vc,8))};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();var kt=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o=``){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Kn[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(cs(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){if(n){let i=cs(n)?n.content:n;if(r!=null&&r.parentNode!==i)throw new T(-5106,!1);i.insertBefore(e,r)}}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n==`string`?this.doc.querySelector(n):n;if(!r)throw new T(-5104,!1);return e||(r.textContent=``),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+`:`+e;let o=Kn[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Kn[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){let o=e.startsWith(`--`);o&&(e=e.replace(`%NS%`,this.cssVarNamespace)),o||i&(cs$1.DashCase|cs$1.Important)?n.style.setProperty(e,r,i&cs$1.Important?`important`:``):n.style[e]=r}removeStyle(n,e,r){let i=e.startsWith(`--`);i&&(e=e.replace(`%NS%`,this.cssVarNamespace)),i||r&cs$1.DashCase?n.style.removeProperty(e):n.style[e]=``}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n==`string`&&(n=de$1().getGlobalEventTarget(this.doc,n),!n))throw new T(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e===`__ngUnwrap__`)return n;n(e)===!1&&e.preventDefault()}}};function cs(t){return t.tagName===`TEMPLATE`&&t.content!==void 0}var Nr=class extends kt{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,c,a,h){super(n,i,o,c,a),this.hostEl=e,this.sharedStylesHost=h,this.shadowRoot=e.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let p=r.styles;p=us(r.id,p).map(v=>v.replace(/%NS%/g,a));for(let v of p){let w=document.createElement(`style`);s&&w.setAttribute(`nonce`,s),w.textContent=v,this.shadowRoot.appendChild(w)}let m=r.getExternalStyles?.();if(m)for(let v of m){let w=Yn(v,i);s&&w.setAttribute(`nonce`,s),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var Lt=class extends kt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,c,a,h){super(n,o,s,c,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let p=r.styles,m=h?us(h,p):p;this.styles=m.map(v=>v.replace(/%NS%/g,a)),this.styleUrls=r.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Yn$1.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Ar=class extends Lt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,c,a,h){let p=i+`-`+r.id;super(n,e,r,o,s,c,a,h,p),this.contentAttr=yc(p),this.hostAttr=Sc(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,``)}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,``),r}};var Pr=class t extends ke$1{supportsDOMEvents=!0;static makeCurrent(){Dn(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e===`window`?window:e===`document`?n:e===`body`?n.body:null}getBaseHref(n){let e=Rc();return e==null?null:wc(e)}resetBaseElement(){Ft=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ii$1(document.cookie,n)}};var Ft=null;function Rc(){return Ft=Ft||document.head.querySelector(`base`),Ft?Ft.getAttribute(`href`):null}function wc(t){return new URL(t,document.baseURI).pathname}var xr=class{addToWindow(n){xe$1.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new T(5103,!1);return o},xe$1.getAllAngularTestabilities=()=>n.getAllTestabilities(),xe$1.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=xe$1.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};
1i.forEach(c=>{c.whenStable(s)})};xe$1.frameworkStabilizers||(xe$1.frameworkStabilizers=[]),xe$1.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;return n.getTestability(e)??(r?de$1().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}};var ds=[`alt`,`control`,`meta`,`shift`];var Ec={"\b":`Backspace`," ":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var bc={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};var hs=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),c=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>de$1().onAndCancel(e,s.domEventName,c,o))}static parseEventName(e){let r=e.toLowerCase().split(`.`),i=r.shift();if(r.length===0||!(i===`keydown`||i===`keyup`))return null;let o=t._normalizeKey(r.pop()),s=``,c=r.indexOf(`code`);if(c>-1&&(r.splice(c,1),s=`code.`),ds.forEach(h=>{let p=r.indexOf(h);p>-1&&(r.splice(p,1),s+=h+`.`)}),s+=o,r.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,r){let i=Ec[e.key]||e.key,o=``;return r.indexOf(`code.`)>-1&&(i=e.code,o=`code.`),i==null||!i?!1:(i=i.toLowerCase(),i===` `?i=`space`:i===`.`&&(i=`dot`),ds.forEach(s=>{if(s!==i){let c=bc[s];c(e)&&(o+=s+`.`)}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function(r){return new(r||t)(ae$1(an$1))};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();function Tc(){Pr.makeCurrent()}function _c(){return new Tt}function Cc(){return FD(document),document}var Dc=GS(PH,`browser`,[{provide:jI,useValue:Ti$1},{provide:ap,useValue:Tc,multi:!0},{provide:an$1,useFactory:Cc}]);var Ic=[{provide:Ev,useClass:xr},{provide:yv,useClass:v_,deps:[B$1,Dv,Ev]},{provide:v_,useClass:v_,deps:[B$1,Dv,Ev]}];var Nc=[{provide:ec$1,useValue:`root`},{provide:Tt,useFactory:_c},{provide:Or,useClass:Ir,multi:!0},{provide:Or,useClass:hs,multi:!0},ti,{provide:Hm,useClass:Qn},{provide:Qn,useExisting:Hm},Zn,{provide:ro,useExisting:ti},[]];var Ac=(()=>{class t{constructor(){}static ɵfac=function(r){return new(r||t)};static ɵmod=tv({type:t});static ɵinj=Ua$1({providers:[...Nc,...Ic],imports:[vi$1,MH]})}return t})();var ge=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n==`string`?this.lazyInit=()=>{this.headers=new Map,n.split(` 2`).forEach(e=>{let r=e.indexOf(`:`);if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<`u`&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 4,396 bytes, line 2
2h((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:`a`})}set(n,e){return this.clone({name:n,value:e,op:`s`})}delete(n,e){return this.clone({name:n,value:e,op:`d`})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,r]of n.headers.entries())this.headers.set(e,r),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case`a`:case`s`:let r=n.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=n.op===`a`?(this.headers.get(e)||[]).slice():[];i.push(...r),this.headers.set(e,i);break;case`d`:let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],c=this.headers.get(e);if(!c)return;c=c.filter(a=>s.indexOf(a)===-1),c.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,c)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var kr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};var Lr=class{encodeKey(n){return fs(n)}encodeValue(n){return fs(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Oc(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,``).split(`&`).forEach(i=>{let o=i.indexOf(`=`),[s,c]=o==-1?[n.decodeKey(i),``]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(c),e.set(s,a)}),e}var Pc=/%(\d[a-f0-9])/gi;var xc={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function fs(t){return encodeURIComponent(t).replace(Pc,(n,e)=>xc[e]??n)}function Ur(t){return`${t}`}var Me=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Lr,n.fromString){if(n.fromObject)throw new T(2805,!1);this.map=Oc(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(Ur):[Ur(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:`a`})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:`a`})}):e.push({param:r,value:i,op:`a`})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:`s`})}delete(n,e){return this.clone({param:n,value:e,op:`d`})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(n=>n!==``).join(`&`)}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);
2this.updates.forEach(n=>{switch(n.op){case`a`:case`s`:let e=n.op===`a`?(this.map.get(n.param)||[]).slice():[];e.push(Ur(n.value)),this.map.set(n.param,e);break;case`d`:if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),i=r.indexOf(Ur(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function Uc(t){switch(t){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function ps(t){return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer}function gs(t){return typeof Blob<`u`&&t instanceof Blob}function ms(t){return typeof FormData<`u`&&t instanceof FormData}function kc(t){return typeof URLSearchParams<`u`&&t instanceof URLSearchParams}var jt=`Content-Type`;var Fr=`Accept`;var Rs=`text/plain`;var ws=`application/json`;var Es=`${ws}, ${Rs}, */*`;var ct=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(Uc(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout==`number`){if(o.timeout<1||!Number.isInteger(o.timeout))throw new T(2822,``);this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new ge,this.context??=new kr,!this.params)this.params=new Me,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let c=e,a=``,h=e.indexOf(`#`);h!==-1&&(a=e.substring(h),c=e.substring(0,h));let p=c.indexOf(`?`),m=p===-1?`?`:p<c.length-1?`&`:``;this.urlWithParams=c+m+s+a}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||ps(this.body)||gs(this.body)||ms(this.body)||kc(this.body)?this.body:this.body instanceof Me?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ms(this.body)?null:gs(this.body)?this.body.type||null:ps(this.body)?null:typeof this.body==`string`?Rs:this.body instanceof Me?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?ws:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,c=n.cache||this.cache,a=n.mode||this.mode,h=n.redirect||this.redirect,p=n.credentials||this.credentials,m=n.referrer??this.referrer,v=n.integrity||this.integrity,w=n.referrerPolicy||this.referrerPolicy,b=n.transferCache??this.transferCache,F=n.timeout??this.timeout,P=n.body!==void 0?n.body:this.body,H=n.withCredentials??this.withCredentials,T=n.reportProgress??this.reportProgress,D=n.reportUploadProgress??this.reportUploadProgress,B=n.reportDownloadProgress??this.reportDownloadProgress,K=n.headers||this.headers,x=n.params||this.params,Y=n.context??this.context;return n.setHeaders!==void 0&&(K=Object.keys(n.setHeaders).reduce((te,A)=>te.set(A,n.setHeaders[A]),K)),n.setParams&&(x=Object.keys(n.setParams).reduce((te,A)=>te.set(A,n.setParams[A]),x)),new t(e,r,P,{params:x,headers:K,context:Y,reportProgress:T,reportUploadProgress:D,reportDownloadProgress:B,responseType:i,withCredentials:H,transferCache:b,keepalive:o,cache:c,priority:s,timeout:F,mode:a,redirect:h,credentials:p,referrer:m,integrity:v,referrerPolicy:w})}};var Ee=(function(t){return t[t.Sent=0]=`Sent`,t[t.UploadProgress=1]=`UploadProgress`,t[t.ResponseHeader=2]=`Re
2sponseHeader`,t[t.DownloadProgress=3]=`DownloadProgress`,t[t.Response=4]=`Response`,t[t.User=5]=`User`,t})(Ee||{});var lt=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r=`OK`){this.headers=n.headers||new ge,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}};var $t=class t extends lt{constructor(n={}){super(n)}type=Ee.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}};var qe=class t extends lt{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ee.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}};var we=class extends lt{name=`HttpErrorResponse`;message;error;ok=!1;constructor(n){super(n,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||`(unknown url)`}`:this.message=`Http failure response for ${n.url||`(unknown url)`}: ${n.status} ${n.statusText}`,this.error=n.error||null}};var bs=200;var Lc=204;var Fc=/^\)\]\}',?\n/;var Ts=new w$1(``,{factory:()=>null});var jr=(()=>{class t{fetchImpl=m(ni,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=m(B$1);destroyRef=m(He);maxResponseSize=m(Ts);handle(e){return new x$1(r=>{let i=new AbortController,o=!1,s={next:a=>{a.type===Ee.Response&&(o=!0),r.next(a)},error:a=>{o=!0,r.error(a)},complete:()=>{o=!0,r.complete()}};this.doRequest(e,i.signal,s).then(ii,a=>s.error(new we({error:a})));let c;return e.timeout&&(c=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException(`signal timed out`,`TimeoutError`))},e.timeout))),()=>{c!==void 0&&clearTimeout(c),!o&&!i.signal.aborted&&i.abort()}})}
2doRequest(e,r,i){return C(this,null,function*(){let o=this.createRequestInit(e),s;try{let P=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,w({signal:r},o)));jc(P),i.next({type:Ee.Sent}),s=yield P}catch(P){i.error(new we({error:P,status:P.status??0,statusText:P.statusText,url:e.urlWithParams,headers:P.headers}));return}let c=new ge(s.headers),a=s.statusText,h=s.url||e.urlWithParams,p=s.status,m=null,v=e.reportProgress||e.reportDownloadProgress;if(v&&i.next(new $t({headers:c,status:p,statusText:a,url:h})),s.body){let P=s.headers.get(jt)??``,H=s.headers.get(`content-length`),T=H!==null?Number(H):NaN;this.maxResponseSize!==null&&Number.isFinite(T)&&T>this.maxResponseSize&&(yield s.body.cancel(),vs(this.maxResponseSize));let D=[],B=s.body.getReader(),K=0,x,Y,te=typeof Zone<`u`&&Zone.current,A=!1;if(yield this.ngZone.runOutsideAngular(()=>C(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield B.cancel(),A=!0;break}let{done:X,value:l}=yield B.read();if(X)break;if(D.push(l),K+=l.length,this.maxResponseSize!==null&&K>this.maxResponseSize&&(yield B.cancel(),vs(this.maxResponseSize)),v){Y=e.responseType===`text`?(Y??``)+(x??=ys(P)).decode(l,{stream:!0}):void 0;let d=()=>i.next({type:Ee.DownloadProgress,total:Number.isFinite(T)?T:void 0,loaded:K,partialText:Y});te?te.run(d):d()}}})),A){i.complete();return}let $=this.concatChunks(D,K);try{m=this.parseBody(e,$,P,p)}catch(X){i.error(new we({error:X,headers:new ge(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}p===0&&(p=m?bs:0);let w$2=p>=200&&p<300,b=s.redirected,F=s.type;w$2?(i.next(new qe({body:m,headers:c,status:p,statusText:a,url:h,redirected:b,responseType:F})),i.complete()):i.error(new we({error:m,headers:c,status:p,statusText:a,url:h,redirected:b,responseType:F}))})}parseBody(e,r,i,o){switch(e.responseType){case`json`:let s=new TextDecoder().decode(r).replace(Fc,``);if(s===``)return null;try{return JSON.parse(s)}catch(c){if(o<200||o>=300)return s;throw c}case`text`:return ys(i).decode(r);case`blob`:return new Blob([r],{type:i});case`arraybuffer`:return r.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new T(2824,!1);let r={},i;if(i=e.credentials,e.withCredentials&&(i=`include`),e.headers.forEach((o,s)=>r[o]=s.join(`,`)),e.headers.has(Fr)||(r[Fr]=Es),!e.headers.has(jt)){let o=e.detectContentTypeHeader();o!==null&&(r[jt]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var ni=class{};function ii(){}function jc(t){t.then(ii,ii)}function vs(t){throw new T(-2825,!1)}var $c=/charset=\s*["']?([^;"'\s]+)["']?/i;function ys(t){let n=t.match($c);if(n!==null)try{return new TextDecoder(n[1])}catch(e){}return new TextDecoder}var Bc=new w$1(``,{factory:()=>!0});var zc=`XSRF-TOKEN`;var Hc=new w$1(``,{factory:()=>zc});var Vc=`X-XSRF-TOKEN`;var qc=new w$1(``,{factory:()=>Vc});var Wc=(()=>{class t{cookieName=m(Hc);doc=m(an$1);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||``;return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ii$1(e,this.cookieName),this.lastCookieString=e),this.lastToken}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var _s=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=U({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ae$1(Wc),i},providedIn:`root`})}return t})();function Cs(t,n){if(!m(Bc)||t.method===`GET`||t.method===`HEAD`)return n(t);try{let i=m(H).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=m(_s).getToken(),r=m(qc);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function Ms(t,n){return n(t)}function Gc(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}
2function Jc(t,n,e){return(r,i)=>Ci$1(e,()=>n(r,o=>t(o,i)))}var Ds=new w$1(``);var si=new w$1(``,{factory:()=>[Cs]});var ai=new w$1(``);var ci=new w$1(``,{factory:()=>!0});function Xc(){let t=null;return(n,e)=>{t===null&&(t=(m(Ds,{optional:!0})??[]).reduceRight(Gc,Ms));let r=m(Hi$1);if(m(ci)){let o=r.add();return t(n,e).pipe(qE(o))}else return t(n,e)}}var Br=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=U({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ae$1(jr),i},providedIn:`root`})}return t})();var $r=(()=>{class t{backend;injector;chain=null;pendingTasks=m(Hi$1);contributeToStability=m(ci);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let i=this.injector.get(zr,null,{skipSelf:!0}),o=i!==null&&this.backend===i,s=this.injector.get(ai,[],o?{self:!0}:void 0),c=Array.from(new Set([...this.injector.get(si),...s]));this.chain=c.reduceRight((a,h)=>Jc(a,h,this.injector),Ms)}let r=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return Ny(()=>r(e,o=>this.backend.handle(o))).pipe(qE(i))}else return Ny(()=>r(e,i=>this.backend.handle(i)))}static ɵfac=function(r){return new(r||t)(ae$1(Br),ae$1(ye))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var zr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=U({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ae$1($r),i},providedIn:`root`})}return t})();function ri(t,n){return w({body:n},t)}var Is=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof ct)o=e;else{let a;i.headers instanceof ge?a=i.headers:a=new ge(i.headers);let h;i.params&&(i.params instanceof Me?h=i.params:h=new Me({fromObject:i.params})),o=new ct(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:h,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||`json`,withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=wE(o).pipe(HE(a=>this.handler.handle(a)));if(e instanceof ct||i.observe===`events`)return s;let c=s.pipe(gr(a=>a instanceof qe));switch(i.observe||`body`){case`body`:switch(o.responseType){case`arraybuffer`:return c.pipe(gt$1(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new T(2806,!1);return a.body}));case`blob`:return c.pipe(gt$1(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new T(2807,!1);return a.body}));case`text`:return c.pipe(gt$1(a=>{if(a.body!==null&&typeof a.body!=`string`)throw new T(2808,!1);return a.body}));default:return c.pipe(gt$1(a=>a.body))}case`response`:return c;default:throw new T(2809,!1)}}delete(e,r={}){return this.request(`DELETE`,e,r)}get(e,r={}){return this.request(`GET`,e,r)}head(e,r={}){return this.request(`HEAD`,e,r)}jsonp(e,r){return this.request(`JSONP`,e,{params:new Me().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(e,r={}){return this.request(`OPTIONS`,e,r)}patch(e,r,i={}){return this.request(`PATCH`,e,ri(i,r))}post(e,r,i={}){return this.request(`POST`,e,ri(i,r))}put(e,r,i={}){return this.request(`PUT`,e,ri(i,r))}static ɵfac=function(r){return new(r||t)(ae$1(zr))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Kc=/^\)\]\}',?\n/;var oi=(()=>{class t{xhrFactory;tracingService=m(nr$1,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method===`JSONP`)throw new T(-2800,!1);let r=this.xhrFactory;return wE(null).pipe(ZE(()=>new x$1(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((T,D)=>s.setRequestHeader(T,D.join(`,`))),e.headers.has(Fr)||s.setRequestHeader(Fr,Es),!e.headers.has(jt)){let T=e.detectContentTypeHeader();T!==null&&s.setRequestHeader(jt,T)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let T=e.responseType.toLowerCase();s.responseType=T!==`json`?T:`text`}let c=e.serializeBody(),a=null,h=()=>
2{if(a!==null)return a;let T=s.statusText||`OK`,D=new ge(s.getAllResponseHeaders()),B=s.responseURL||e.url;return a=new $t({headers:D,status:s.status,statusText:T,url:B}),a},p=this.maybePropagateTrace(()=>{let{headers:T,status:D,statusText:B,url:K}=h(),x=null;D!==Lc&&(x=typeof s.response>`u`?s.responseText:s.response),D===0&&(D=x?bs:0);let Y=D>=200&&D<300;if(e.responseType===`json`&&typeof x==`string`){let te=x;x=x.replace(Kc,``);try{x=x!==``?JSON.parse(x):null}catch(A){x=te,Y&&(Y=!1,x={error:A,text:x})}}Y?(o.next(new qe({body:x,headers:T,status:D,statusText:B,url:K||void 0})),o.complete()):o.error(new we({error:x,headers:T,status:D,statusText:B,url:K||void 0}))}),m=this.maybePropagateTrace(T=>{let{url:D}=h(),B=new we({error:T,status:s.status||0,statusText:s.statusText||`Unknown Error`,url:D||void 0});o.error(B)}),v=m;e.timeout&&(v=this.maybePropagateTrace(T=>{let{url:D}=h(),B=new we({error:new DOMException(`Request timed out`,`TimeoutError`),status:s.status||0,statusText:s.statusText||`Request timeout`,url:D||void 0});o.error(B)}));let w=!1,b=this.maybePropagateTrace(T=>{w||(o.next(h()),w=!0);let D={type:Ee.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(D.total=T.total),e.responseType===`text`&&s.responseText&&(D.partialText=s.responseText),o.next(D)}),F=this.maybePropagateTrace(T=>{let D={type:Ee.UploadProgress,loaded:T.loaded};T.lengthComputable&&(D.total=T.total),o.next(D)});s.addEventListener(`load`,p),s.addEventListener(`error`,m),s.addEventListener(`timeout`,v),s.addEventListener(`abort`,m);let P=e.reportProgress||e.reportUploadProgress,H=e.reportProgress||e.reportDownloadProgress;return H&&s.addEventListener(`progress`,b),P&&c!==null&&s.upload&&s.upload.addEventListener(`progress`,F),s.send(c),o.next({type:Ee.Sent}),()=>{s.removeEventListener(`error`,m),s.removeEventListener(`abort`,m),s.removeEventListener(`load`,p),s.removeEventListener(`timeout`,v),H&&s.removeEventListener(`progress`,b),P&&c!==null&&s.upload&&s.upload.removeEventListener(`progress`,F),s.readyState!==s.DONE&&s.abort()}})))}static ɵfac=function(r){return new(r||t)(ae$1(Mi$1))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Hr=(function(t){return t[t.Interceptors=0]=`Interceptors`,t[t.LegacyInterceptors=1]=`LegacyInterceptors`,t[t.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,t[t.NoXsrfProtection=3]=`NoXsrfProtection`,t[t.JsonpSupport=4]=`JsonpSupport`,t[t.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,t[t.Fetch=6]=`Fetch`,t[t.Xhr=7]=`Xhr`,t})(Hr||{});function Ns(t,n){return{ɵkind:t,ɵproviders:n}}function Yc(...t){let n=[Is,jr,$r,{provide:zr,useExisting:$r},{provide:Br,useFactory:()=>m(jr)},{provide:si,useValue:Cs,multi:!0}];for(let e of t)n.push(...e.ɵproviders);return Or$1(n)}var Ss=new w$1(``);function Zc(){return Ns(Hr.LegacyInterceptors,[{provide:Ss,useFactory:Xc},{provide:si,useExisting:Ss,multi:!0}])}function Qc(){return Ns(Hr.Xhr,[oi,{provide:Br,useExisting:oi}])}var tl=new w$1(``);var rl=`b`;var nl=`h`;var il=`s`;var ol=`st`;var sl=`u`;var al=`rt`;var li=new w$1(``);var cl=[`GET`,`HEAD`];function xs(t,n){let{isCacheActive:e,filter:r,includePostRequests:i,includeRequestsWithAuthHeaders:o,includeRequestsWithCredentials:s,includeNonCacheableRequests:c}=n,{transferCache:a,method:h}=t;return!(!e||a===!1||h===`POST`&&!i&&!a||h!==`POST`&&!cl.includes(h)||!o&&dl(t)||!s&&gl(t)||!c&&(fl(t.headers)||pl(t.cache))||r?.(t)===!1)}function ll(t,n,e,r,i,o=!1){if(!o&&!xs(t,n))return null;if(r)throw new T(2803,!1);if(!i){let F=t.url;i=Us(t,F)}let s=e.get(i,null);if(!s)return null;let{[rl]:c,[al]:a,[nl]:h,[il]:p,[ol]:m,[sl]:v}=s,w=c;switch(a){case`arraybuffer`:w=Os(c);break;case`blob`:w=new Blob([Os(c)]);break}let b=new ge(h);return new qe({body:w,headers:b,status:p,statusText:m,url:v})}function ul(t,n){let e=m(li);if(!xs(t,e))return n(t);let r=m(cn$1);m(tl,{optional:!0});let o=t.url,c=ll(t,e,r,null,Us(t,o),!0);return c?wE(c):n(t)}function dl(t){let n=t.headers;return n.has(`authorization`)||n.has(`proxy-authorization`)||n.has(`cookie`)}var hl=new Set([`no-store`,`private`,`no-cache`]);function fl(t){let n=t.get(`cache-control`);return n?n.split(`,`).some(e=>{let r=e.split(`=`,1)[0].trim().toLowerCase();return hl.has(r)}):!1}function pl(t){return t===`no-cache`||t===`no-store`}function gl(t){let{withCredentials:n,credentials:e}=t;return n||e===`include`||e===`same-origin`}function As(t){let n=new URLSearchParams(t instanceof URLSearchParams?t:t.toString());return n.sort(),n.toString()}function Us(t,n){let{params:e,method:r,responseType:i}=t,o=As(e),s=t.serializeBody();s instanceof URLSearchParams?s=As(s):typeof s!=`string`&&(s=``);return vl([r,i,n,s,o].join(`\0`))}function Os(t){let n=atob(t);return Uint8Array.from(n,r=>r.charCodeAt(0)).buffer}function ks(t){return[{provide:li,useFactory:()=>(me$1(`NgHttpTransferCache`),w({isCacheActive:!0},t))},{provide:ai,useValue:ul,multi:!0},{provide:To,multi:!0,useFactory:()=>{let n=m(Me$1),e=m(li);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var ml=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
2734187,3204031479,3329325298]);var Ps;function vl(t){Ps??=new TextEncoder;let n=Ps.encode(t),e=1779033703,r=3144134277,i=1013904242,o=2773480762,s=1359893119,c=2600822924,a=528734635,h=1541459225,p=n.length*8,m=(n.length+8>>6)+1<<6,v=new Uint8Array(m);v.set(n),v[n.length]=128;let w=new DataView(v.buffer),b=p>>>0,F=p/4294967296>>>0;w.setUint32(m-8,F,!1),w.setUint32(m-4,b,!1);let P=new Uint32Array(64);for(let H=0;H<m;H+=64){for(let $=0;$<16;$++)P[$]=w.getUint32(H+$*4,!1);for(let $=16;$<64;$++){let X=P[$-15],l=((X>>>7|X<<25)^(X>>>18|X<<14)^X>>>3)>>>0,d=P[$-2],f=((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)>>>0;P[$]=P[$-16]+l+P[$-7]+f>>>0}let T=e,D=r,B=i,K=o,x=s,Y=c,te=a,A=h;for(let $=0;$<64;$++){let X=((x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7))>>>0,l=(x&Y^~x&te)>>>0,d=A+X+l+ml[$]+P[$]>>>0,_=(((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))>>>0)+((T&D^T&B^D&B)>>>0)>>>0;A=te,te=Y,Y=x,x=K+d>>>0,K=B,B=D,D=T,T=d+_>>>0}e=e+T>>>0,r=r+D>>>0,i=i+B>>>0,o=o+K>>>0,s=s+x>>>0,c=c+Y>>>0,a=a+te>>>0,h=h+A>>>0}return[e,r,i,o,s,c,a,h].map(H=>H.toString(16).padStart(8,`0`)).join(``)}var Hs=(()=>{class t{_doc=m(an$1);_dom=de$1();_cachedHead;addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e.filter(i=>!!i).map(i=>this._getOrCreateElement(i,r))}getTag(e){if(!e)return null;let r=this._doc.querySelector(Ls(e));return Bs(r)?r:null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll(Ls(e));return r?Array.from(r).filter(i=>Bs(i)):[]}updateTag(e,r){js(e),r??=$s(e);let i=this.getTag(r);return i?(Fs(e,i),i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(js(e),!r){let s=$s(e),c=this.getTags(s).filter(a=>Sl(e,a))[0];if(c!==void 0)return c}let i=this._dom.createElement(`meta`);return Fs(e,i),this._doc.getElementsByTagName(`head`)[0].appendChild(i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Ls(t){return`meta[${t}]`}function Fs(t,n){Object.keys(t).forEach(e=>n.setAttribute(ui(e),t[e]))}function js(t){for(let n of Object.keys(t))if(ui(n).toLowerCase().startsWith(`on`))throw new T(5203,!1)}function $s(t){let n=t.name?`name`:`property`;return`${n}=${yl(String(t[n]))}`}function yl(t){return`"${t.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function Sl(t,n){return Object.keys(t).every(e=>n.getAttribute(ui(e))===t[e])}function ui(t){return Object.hasOwn(zs,t)?zs[t]:t}function Bs(t){return t?.nodeName.toLowerCase()===`meta`}var zs={httpEquiv:`http-equiv`};var Vr=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||``}static ɵfac=function(r){return new(r||t)(ae$1(an$1))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Bt=(function(t){return t[t.NoHttpTransferCache=0]=`NoHttpTransferCache`,t[t.HttpTransferCacheOptions=1]=`HttpTransferCacheOptions`,t[t.I18nSupport=2]=`I18nSupport`,t[t.EventReplay=3]=`EventReplay`,t[t.IncrementalHydration=4]=`IncrementalHydration`,t[t.NoIncrementalHydration=5]=`NoIncrementalHydration`,t})(Bt||{});function Rl(t,n=[],e={}){return{ɵkind:t,ɵproviders:n}}function zh(){return Rl(Bt.I18nSupport,SH())}function Hh(...t){let n=[],e=new Set;for(let{ɵproviders:i,ɵkind:o}of t)e.add(o),i.length&&n.push(i);let r=e.has(Bt.HttpTransferCacheOptions);return Or$1([[],[],NH(),e.has(Bt.NoHttpTransferCache)||r?[]:ks({}),e.has(Bt.NoIncrementalHydration)?[]:xH(),n,{provide:PN,useValue:{isActive:!0}},{provide:To,multi:!0,useFactory:()=>{let i=m(Me$1),o=m(PN);return()=>{i.whenStable().then(()=>{o.isActive=!1})}}}])}var wl=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=U({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=ae$1(El),i},providedIn:`root`})}return t})();var El=(()=>{class t extends wl{_doc=m(an$1);sanitize(e,r){if(r==null)return null;switch(e){case j.NONE:return r;case j.HTML:return tr$1(r,`HTML`)?ut$1(r):Dg(this._doc,String(r)).toString();case j.STYLE:return tr$1(r,`Style`)?ut$1(r):r;case j.SCRIPT:if(tr$1(r,`Script`))return ut$1(r);throw new T(5200,!1);case j.URL:return tr$1(r,`URL`)?ut$1(r):xs$1(String(r));case j.RESOURCE_URL:if(tr$1(r,`ResourceURL`))return ut$1(r);throw new T(-5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(e){return pT(e)}bypassSecurityTrustStyle(e){return hT(e)}bypassSecurityTrustScript(e){return gT(e)}bypassSecurityTrustUrl(e){return mT(e)}bypassSecurityTrustResourceUrl(e){return vT(e)}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var I=`primary`;var Qt=Symbol(`RouteTitle`);var gi=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ge(t){return new gi(t)}function di(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Zs(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},h=t.slice(0,r.length);return di(r,h,a)?{consumed:h,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;
2let c={};return!di(o,t.slice(0,o.length),c)||!di(s,t.slice(t.length-s.length),c)?null:{consumed:t,posParams:c}}function Kr(t){return new Promise((n,e)=>{t.pipe(WE()).subscribe({next:r=>n(r),error:r=>e(r)})})}function bl(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!be(t[e],n[e]))return!1;return!0}function be(t,n){let e=t?mi(t):void 0,r=n?mi(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Qs(t[i],n[i]))return!1;return!0}function mi(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Qs(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Tl(t){return t.length>0?t[t.length-1]:null}function Xe(t){return _E(t)?t:Uu$1(t)?Fe$1(Promise.resolve(t)):wE(t)}function ea(t){return _E(t)?Kr(t):Promise.resolve(t)}var _l={exact:na,subset:ia};var ta={exact:Cl,subset:Ml,ignored:()=>!0};var ra={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var vi={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function qs(t,n,e){return _l[e.paths](t.root,n.root,e.matrixParams)&&ta[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment===`exact`&&t.fragment!==n.fragment)}function Cl(t,n){return be(t,n)}function na(t,n,e){if(!We(t.segments,n.segments)||!Gr(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!na(t.children[r],n.children[r],e))return!1;return!0}function Ml(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Qs(t[e],n[e]))}function ia(t,n,e){return oa(t,n,n.segments,e)}function oa(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!We(i,e)||n.hasChildren()||!Gr(i,e,r))}else if(t.segments.length===e.length){if(!We(t.segments,e)||!Gr(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!ia(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!We(t.segments,i)||!Gr(t.segments,i,r)||!t.children[I]?!1:oa(t.children[I],n,o,r)}}function Gr(t,n,e){return n.every((r,i)=>ta[e](t[i].parameters,r.parameters))}var ae=class{root;queryParams;fragment;_queryParamMap;constructor(n=new k([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){return Nl.serialize(this)}};var k=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Jr(this)}};var Pe=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ge(this.parameters),this._parameterMap}toString(){return aa(this)}};function Dl(t,n){return We(t,n)&&t.every((e,r)=>be(e.parameters,n[r].parameters))}function We(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Il(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===I&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==I&&(e=e.concat(n(i,r)))}),e}var Le=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>new Ie})}return t})();var Ie=class{parse(n){let e=new Si(n);return new ae(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${zt(n.root,!0)}`}${Pl(n.queryParams)}${typeof n.fragment==`string`?`#${Al(n.fragment)}`:``}`}};var Nl=new Ie;function Jr(t){return t.segments.map(n=>aa(n)).join(`/`)}function zt(t,n){if(!t.hasChildren())return Jr(t);if(n){let e=t.children[I]?zt(t.children[I],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==I&&r.push(`${i}:${zt(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=Il(t,(r,i)=>i===I?[zt(t.children[I],!1)]:[`${i}:${zt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[I]!=null?`${Jr(t)}/${e[0]}`:`${Jr(t)}/(${e.join(`//`)})`}}function sa(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function qr(t){return sa(t).replace(/%3B/gi,`;`)}function Al(t){return encodeURI(t)}function yi(t){return sa(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function Xr(t){return decodeURIComponent(t)}function Ws(t){return Xr(t.replace(/\+/g,`%20`))}function aa(t){return`${yi(t.path)}${Ol(t.parameters)}`}function Ol(t){return Object.entries(t).map(([n,e])=>`;${yi(n)}=${yi(e)}`).join(``)}function Pl(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${qr(e)}=${qr(i)}`).join(`&`):`${qr(e)}=${qr(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var xl=/^[^\/()?;#]+/;function hi(t){let n=t.match(xl);return n?n[0]:``}var Ul=/^[^\/()?;=#]+/;function kl(t){let n=t.match(Ul);return n?n[0]:``}var Ll=/^[^=?&#]+/;function Fl(t){let n=t.match(Ll);return n?n[0]:``}var jl=/^[^&#]+/;function $l(t){let n=t.match(jl);return n?n[0]:``}var Si=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}
2parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new T(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let e=[];for(this.peekStartsWith(`(`)||e.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),e.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[I]=new k(e,r)),i}parseSegment(){let n=hi(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new T(4009,!1);return this.capture(n),new Pe(Xr(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=kl(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=hi(this.remaining);i&&(r=i,this.capture(r))}n[Xr(e)]=Xr(r)}parseQueryParam(n){let e=Fl(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=$l(this.remaining);s&&(r=s,this.capture(r))}let i=Ws(e),o=Ws(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=hi(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new T(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=I);let c=this.parseChildren(e+1);r[s??I]=Object.keys(c).length===1&&c[I]?c[I]:new k([],c),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new T(4011,!1)}};function ca(t){return t.segments.length>0?new k([],{[I]:t}):t}function la(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=la(i);if(r===I&&o.segments.length===0&&o.hasChildren())for(let[s,c]of Object.entries(o.children))n[s]=c;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return Bl(new k(t.segments,n))}function Bl(t){if(t.numberOfChildren===1&&t.children[I]){let n=t.children[I];return new k(t.segments.concat(n.segments),n.children)}return t}function xe(t){return t instanceof ae}function ua(t,n,e=null,r=null,i=new Ie){return ha(da(t),n,e,r,i)}function da(t){let n;function e(o){let s={};for(let a of o.children){let h=e(a);s[a.outlet]=h}let c=new k(o.url,s);return o===t&&(n=c),c}let i=ca(e(t.root));return n??i}function ha(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return fi(o,o,o,e,r,i);let s=zl(n);if(s.toRoot())return fi(o,o,new k([],{}),e,r,i);let c=Hl(s,o,t),a=c.processChildren?Vt(c.segmentGroup,c.index,s.commands):pa(c.segmentGroup,c.index,s.commands);return fi(o,c.segmentGroup,a,e,r,i)}function Yr(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function Wt(t){return typeof t==`object`&&t!=null&&t.outlets}function Gs(t,n,e){t||=`ɵ`;let r=new ae;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function fi(t,n,e,r,i,o){let s={};for(let[h,p]of Object.entries(r??{}))s[h]=Array.isArray(p)?p.map(m=>Gs(h,m,o)):Gs(h,p,o);let c;t===n?c=e:c=fa(t,n,e);return new ae(ca(la(c)),s,i)}function fa(t,n,e){let r=Object.create(null);return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=fa(o,n,e)}),new k(t.segments,r)}var Zr=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Yr(r[0]))throw new T(4003,!1);let i=r.find(Wt);if(i&&i!==Tl(r))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function zl(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new Zr(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let c={};
2return Object.entries(o.outlets).forEach(([a,h])=>{c[a]=typeof h==`string`?h.split(`/`):h}),[...i,{outlets:c}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((c,a)=>{a==0&&c===`.`||(a==0&&c===``?e=!0:c===`..`?n++:c!=``&&i.push(c))}),i):[...i,o]},[]);return new Zr(e,n,r)}var dt=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Hl(t,n,e){if(t.isAbsolute)return new dt(n,!0,0);if(!e)return new dt(n,!1,NaN);if(e.parent===null)return new dt(e,!0,0);let r=Yr(t.commands[0])?0:1;return Vl(e,e.segments.length-1+r,t.numberOfDoubleDots)}function Vl(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new T(4005,!1);i=r.segments.length}return new dt(r,!1,i-o)}function ql(t){return Wt(t[0])?t[0].outlets:{[I]:t}}function pa(t,n,e){if(t??=new k([],{}),t.segments.length===0&&t.hasChildren())return Vt(t,n,e);let r=Wl(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new k(t.segments.slice(0,r.pathIndex),{});return o.children[I]=new k(t.segments.slice(r.pathIndex),t.children),Vt(o,0,i)}else return r.match&&i.length===0?new k(t.segments,{}):r.match&&!t.hasChildren()?Ri(t,n,e):r.match?Vt(t,0,i):Ri(t,n,e)}function Vt(t,n,e){if(e.length===0)return new k(t.segments,{});{let r=ql(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==I)&&t.children[I]&&t.numberOfChildren===1&&t.children[I].segments.length===0){let o=Vt(t.children[I],n,e);return new k(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=pa(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new k(t.segments,i)}}function Wl(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],c=e[r];if(Wt(c))break;let a=`${c}`,h=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&h&&typeof h==`object`&&h.outlets===void 0){if(!Xs(a,h,s))return o;r+=2}else{if(!Xs(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Ri(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Wt(o))return new k(r,Gl(o.outlets));if(i===0&&Yr(e[0])){let a=t.segments[n];r.push(new Pe(a.path,Js(e[0]))),i++;continue}let s=Wt(o)?o.outlets[I]:`${o}`,c=i<e.length-1?e[i+1]:null;s&&c&&Yr(c)?(r.push(new Pe(s,Js(c))),i+=2):(r.push(new Pe(s,{})),i++)}return new k(r,{})}function Gl(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=Ri(new k([],{}),0,r))}),n}function Js(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Xs(t,n,e){return t==e.path&&be(n,e.parameters)}var ht=`imperative`;var J=(function(t){return t[t.NavigationStart=0]=`NavigationStart`,t[t.NavigationEnd=1]=`NavigationEnd`,t[t.NavigationCancel=2]=`NavigationCancel`,t[t.NavigationError=3]=`NavigationError`,t[t.RoutesRecognized=4]=`RoutesRecognized`,t[t.ResolveStart=5]=`ResolveStart`,t[t.ResolveEnd=6]=`ResolveEnd`,t[t.GuardsCheckStart=7]=`GuardsCheckStart`,t[t.GuardsCheckEnd=8]=`GuardsCheckEnd`,t[t.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,t[t.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,t[t.ChildActivationStart=11]=`ChildActivationStart`,t[t.ChildActivationEnd=12]=`ChildActivationEnd`,t[t.ActivationStart=13]=`ActivationStart`,t[t.ActivationEnd=14]=`ActivationEnd`,t[t.Scroll=15]=`Scroll`,t[t.NavigationSkipped=16]=`NavigationSkipped`,t})(J||{});var ce=class{id;url;constructor(n,e){this.id=n,this.url=e}};var Ue=class extends ce{type=J.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var he=class extends ce{urlAfterRedirects;type=J.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var ee=(function(t){return t[t.Redirect=0]=`Redirect`,t[t.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,t[t.NoDataFromRe
2solver=2]=`NoDataFromResolver`,t[t.GuardRejected=3]=`GuardRejected`,t[t.Aborted=4]=`Aborted`,t})(ee||{});var pt=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(pt||{});var de=class extends ce{reason;code;type=J.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ga(t){return t instanceof de&&(t.code===ee.Redirect||t.code===ee.SupersededByNewNavigation)}var Te=class extends ce{reason;code;type=J.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var Je=class extends ce{error;target;type=J.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Gt=class extends ce{urlAfterRedirects;state;type=J.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Qr=class extends ce{urlAfterRedirects;state;type=J.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var en=class extends ce{urlAfterRedirects;state;shouldActivate;type=J.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var tn=class extends ce{urlAfterRedirects;state;type=J.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};
2var rn=class extends ce{urlAfterRedirects;state;type=J.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var nn=class{route;type=J.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var on=class{route;type=J.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var sn=class{snapshot;type=J.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var an=class{snapshot;type=J.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var cn=class{snapshot;type=J.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ln=class{snapshot;type=J.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var gt=class{routerEvent;position;anchor;scrollBehavior;type=J.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}};var mt=class{};var Jt=class{};var vt=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Jl(t){return!(t instanceof mt)&&!(t instanceof vt)&&!(t instanceof Jt)}var un=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ke(this.rootInjector)}resetChildren(){this.children=new ke(this.rootInjector)}};var ke=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new un(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(ae$1(ye))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var dn=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=wi(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=wi(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Ei(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Ei(n,this._root).map(e=>e.value)}};function wi(t,n){if(t===n.value)return n;for(let e of n.children){let r=wi(t,e);if(r)return r}return null}function Ei(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Ei(t,e);if(r.length)return r.unshift(n),r}return[]}var se=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ut(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Xt=class extends dn{snapshot;constructor(n,e){super(n),this.snapshot=e,Oi(this,n)}toString(){return this.snapshot.toString()}};function ma(t,n){let e=Xl(t,n),r=new lr([new Pe(``,{})]),i=new lr({}),o=new lr({}),a=new Ne(r,i,new lr({}),new lr(``),o,I,t,e.root);return a.snapshot=e.root,new Xt(new se(a,[]),e)}function Xl(t,n){return new Kt(``,new se(new yt([],{},{},``,{},I,t,null,{},n),[]))}var Ne=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(gt$1(h=>h[Qt]))??wE(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(gt$1(n=>Ge(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(gt$1(n=>Ge(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var Kl=`always`;
2function Ai(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:w(w({},n.params),t.params),data:w(w({},n.data),t.data),resolve:w(w(w(w({},t.data),n.data),i?.data),t._resolvedData)}:r={params:w({},t.params),data:w({},t.data),resolve:w(w({},t.data),t._resolvedData??{})},i&&ya(i)&&(r.resolve[Qt]=i.title),r}var yt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Qt]}constructor(n,e,r,i,o,s,c,a,h,p){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=c,this.routeConfig=a,this._resolve=h,this._environmentInjector=p}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ge(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ge(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Kt=class extends dn{url;constructor(n,e){super(e),this.url=n,Oi(this,e)}toString(){return va(this._root)}};function Oi(t,n){n.value._routerState=t,n.children.forEach(e=>Oi(t,e))}function va(t){let n=t.children.length>0?` { ${t.children.map(va).join(`, `)} } `:``;return`${t.value}${n}`}function pi(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,be(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),be(n.params,e.params)||t.paramsSubject.next(e.params),bl(n.url,e.url)||t.urlSubject.next(e.url),be(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function bi(t,n){let e=be(t.params,n.params)&&Dl(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||bi(t.parent,n.parent))}function ya(t){return typeof t.title==`string`||t.title===null}var Sa=new w$1(``);var Pi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=I;activateEvents=new et;deactivateEvents=new et;attachEvents=new et;detachEvents=new et;routerOutletData=_H();parentContexts=m(ke);location=m(Ws$1);changeDetector=m(OH);inputBinder=m(er,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new Ti(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=Rb({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[nD]})}return t})();var Ti=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Ne?this.route:n===ke?this.childContexts:n===Sa?this.outletData:this.parent.get(n,e)}};var er=new w$1(``);var Ra=(()=>{class t{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,r=null){this.options=e,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,r){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,r)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(r=>r.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,r){let{activatedRoute:i}=e,o=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:a,createdEffects:h}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,i,r);o.push(...h),s=a}o.length>0&&this.outletEffects.set(e,o);let c=kE([this.options.queryParams?i.queryParams:wE({}),i.params,i.data]).pipe(ZE(([a,h,p],m)=>(p=w(w(w(w({},a),h),p),i.resources||{}),m===0?wE(p):Promise.resolve(p)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let h=jH(i.component);if(!h){this.unsubscribeFromRouteData(e);return}let p=this.outletSeenKeys.get(e);p||(p=new Set,this.outletSeenKeys.set(e,p));for(let v of Object.keys(a))p.add(v);let m=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:v}of h.inputs){if(s.includes(v))continue;let w=a[v];(w!==void 0||m===`alwaysUndefined`||p.has(v))&&e.activatedComponentRef.setInput(v,w)}});this.outletDataSubscriptions.set(e,c)}static ɵfac=function(r){Ww()};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();var xi=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=Sb({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&Sv(0,`router-outlet`)},dependencies:[Pi],encapsulation:2,changeDetection:1})}return t})();function Ui(t){let n=t.children&&t.children.map(Ui),e=n?x(w({},t),{children:n}):w({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==I&&(e.component=xi),e}function Yl(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Xt(Yt(t,n._root,e?e._root:void 0,r),n)}}function Yt(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new se(i,Zl(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let c=s.route;
2return c.value._setPending(n.value),c.children=n.children.map(a=>Yt(t,a,void 0,r)),c}}let i=Ql(n.value);i._setPending(n.value),r.add(i);return new se(i,n.children.map(s=>Yt(t,s,void 0,r)))}}function Zl(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Yt(t,i,o,r);return Yt(t,i,void 0,r)})}function Ql(t){return new Ne(new lr(t.url),new lr(t.params),new lr(t.queryParams),new lr(t.fragment),new lr(t.data),t.outlet,t.component,t)}var St=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}};var wa=`ngNavigationCancelingError`;function hn(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=xe(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Ea(!1,ee.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Ea(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[wa]=!0,e.cancellationCode=n,e}function eu(t){return ba(t)&&xe(t.url)}function ba(t){return!!t&&t[wa]}var _i=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),pi(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ut(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ut(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),c=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=ut(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=ut(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new ln(o.value.snapshot))}),n.children.length&&this.forwardEvent(new an(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(pi(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(c.contexts),s.attachRef=c.componentRef,s.route=c.route.value,s.outlet&&s.outlet.attach(c.componentRef,c.route.value),pi(c.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var fn=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var ft=class{component;route;constructor(n,e){this.component=n,this.route=e}};function tu(t,n,e){let r=t._root;return Ht(r,n?n._root:null,e,[r.value])}function ru(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function wt(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!cI(t)?t:n.get(t):r}function Ht(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ut(n);
2return t.children.forEach(s=>{nu(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,c])=>qt(c,e.getContext(s),e,i)),i}function nu(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=iu(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new fn(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ht(t,n,c?c.children:null,r,i):Ht(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new ft(c.outlet.component,s))}else s&&qt(n,c,e,i),i.canActivateChecks.push(new fn(r)),o.component?Ht(t,null,c?c.children:null,r,i):Ht(t,null,e,r,i);return i}function iu(t,n,e){if(typeof e==`function`)return Ci$1(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!We(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!We(t.url,n.url)||!be(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!bi(t,n)||!be(t.queryParams,n.queryParams);default:return!bi(t,n)}}function qt(t,n,e,r){let i=ut(t),o=t.value;Object.entries(i).forEach(([s,c])=>{o.component?n?qt(c,n.children.getContext(s),n.children,r):qt(c,null,null,r):qt(c,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new ft(n.outlet.component,o)):r.canDeactivateChecks.push(new ft(null,o)):r.canDeactivateChecks.push(new ft(null,o))}function tr(t){return typeof t==`function`}function ou(t){return typeof t==`boolean`}function su(t){return t&&tr(t.canLoad)}function au(t){return t&&tr(t.canActivate)}function cu(t){return t&&tr(t.canActivateChild)}function lu(t){return t&&tr(t.canDeactivate)}function uu(t){return t&&tr(t.canMatch)}function Ta(t){return t instanceof pr||t?.name===`EmptyError`}var Wr=Symbol(`INITIAL_VALUE`);function Rt(){return ZE(t=>kE(t.map(n=>n.pipe(ha$1(1),YE(Wr)))).pipe(gt$1(n=>{for(let e of n)if(e!==!0){if(e===Wr)return Wr;if(e===!1||du(e))return e}return!0}),gr(n=>n!==Wr),ha$1(1)))}function du(t){return xe(t)||t instanceof St}function _a(t){return t.aborted?wE(void 0).pipe(ha$1(1)):new x$1(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function Ca(t){return KE(_a(t))}function hu(t){return Ut$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?wE(x(w({},n),{guardsResult:!0})):fu(o,e,r).pipe(Ut$1(s=>s&&ou(s)?pu(e,i,t):wE(s)),gt$1(s=>x(w({},n),{guardsResult:s})))})}function fu(t,n,e){return Fe$1(t).pipe(Ut$1(r=>Su(r.component,r.route,e,n)),WE(r=>r!==!0,!0))}function pu(t,n,e){return Fe$1(n).pipe(HE(r=>Ko(mu(r.route.parent,e),gu(r.route,e),yu(t,r.path),vu(t,r.route))),WE(r=>r!==!0,!0))}function gu(t,n){return t!==null&&n&&n(new cn(t)),wE(!0)}function mu(t,n){return t!==null&&n&&n(new sn(t)),wE(!0)}function vu(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return wE(!0);return wE(e.map(i=>PE(()=>{let o=n._environmentInjector,s=wt(i,o);return Xe(au(s)?s.canActivate(n,t):Ci$1(o,()=>s(n,t))).pipe(WE())}))).pipe(Rt())}function yu(t,n){let e=n[n.length-1];return wE(n.slice(0,n.length-1).reverse().map(o=>ru(o)).filter(o=>o!==null).map(o=>PE(()=>{return wE(o.guards.map(c=>{let a=o.node._environmentInjector,h=wt(c,a);return Xe(cu(h)?h.canActivateChild(e,t):Ci$1(a,()=>h(e,t))).pipe(WE())})).pipe(Rt())}))).pipe(Rt())}function Su(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return wE(!0);return wE(i.map(s=>{let c=n._environmentInjector,a=wt(s,c);return Xe(lu(a)?a.canDeactivate(t,n,e,r):Ci$1(c,()=>a(t,n,e,r))).pipe(WE())})).pipe(Rt())}function Ru(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return wE(!0);return wE(o.map(c=>{let a=wt(c,t),p=Xe(su(a)?a.canLoad(n,e):Ci$1(t,()=>a(n,e)));return i?p.pipe(Ca(i)):p})).pipe(Rt(),Ma(r))}function Ma(t){return pE(JE(n=>{if(typeof n!=`boolean`)throw hn(t,n)}),gt$1(n=>n===!0))}function wu(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return wE(!0);return wE(s.map(a=>{let h=wt(a,t);return Xe(uu(h)?h.canMatch(n,e,i):Ci$1(t,()=>h(n,e,i))).pipe(Ca(o))})).pipe(Rt(),Ma(r))}
2var De=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var Zt=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Eu(t){throw new T(4e3,!1)}function bu(t){throw Ea(!1,ee.GuardRejected)}var Ci=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return C(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[I])throw Eu(`${n.redirectTo}`);i=i.children[I]}})}applyRedirectCommands(n,e,r,i,o){return C(this,null,function*(){let s=yield Tu(e,i,o);if(s instanceof ae)throw new Zt(s);let c=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new Zt(c);return c})}applyRedirectCreateUrlTree(n,e,r,i){return new ae(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let c=o.substring(1);r[i]=e[c]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([c,a])=>{s[c]=this.createSegmentGroup(n,a,r,i)}),new k(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new T(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Tu(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return Kr(Xe(Ci$1(e,()=>r(n))))}function _u(t,n){return t.providers&&!t._injector&&(t._injector=$u$1(t.providers,n,`Route: ${t.path}`)),t._injector??n}function me(t){return t.outlet||I}function Cu(t,n){let e=t.filter(r=>me(r)===n);return e.push(...t.filter(r=>me(r)!==n)),e}var Mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Da(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function Mu(t,n,e,r,i,o,s){let c=Ia(t,n,e);if(!c.matched)return wE(c);let a=Da(o(c));return r=_u(n,r),wu(r,n,e,i,a,s).pipe(gt$1(h=>h===!0?c:w({},Mi)))}function Ia(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?w({},Mi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Zs)(e,t,n);if(!i)return w({},Mi);let o={};Object.entries(i.posParams??{}).forEach(([c,a])=>{o[c]=a.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Ks(t,n,e,r,i){return e.length>0&&Nu(t,e,r,i)?{segmentGroup:new k(n,Iu(r,new k(e,t.children))),slicedSegments:[]}:e.length===0&&Au(t,e,r)?{segmentGroup:new k(t.segments,Du(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new k(t.segments,t.children),slicedSegments:e}}function Du(t,n,e,r){let i={};for(let o of e)if(gn(t,n,o)&&!r[me(o)]){let s=new k([],{});i[me(o)]=s}return w(w({},r),i)}function Iu(t,n){let e={};e[I]=n;for(let r of t)if(r.path===``&&me(r)!==I){let i=new k([],{});e[me(r)]=i}return e}function Nu(t,n,e,r){return e.some(i=>!gn(t,n,i)||!(me(i)!==I)?!1:!(r!==void 0&&me(i)===r))}function Au(t,n,e){return e.some(r=>gn(t,n,r))}function gn(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function Ou(t,n,e){return n.length===0&&!t.children[e]}var Di=class{};function Pu(t,n,e,r,i,o,s,c){return C(this,null,function*(){return new Ii(t,n,e,r,i,s,o,c).recognize()})}var xu=31;var Ii=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,c,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
2=c,this.abortSignal=a,this.applyRedirects=new Ci(this.urlSerializer,this.urlTree)}noMatchError(n){return new T(4002,`'${n.segmentGroup}'`)}recognize(){return C(this,null,function*(){let n=Ks(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),o=new Kt(``,new se(r,e)),s=ua(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return C(this,null,function*(){let e=new yt([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),I,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,I,e),rootSnapshot:e}}catch(r){if(r instanceof Zt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof De?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return C(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof se?[s]:[]})}processChildren(n,e,r,i){return C(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let h=r.children[a],p=Cu(e,a),m=yield this.processSegmentGroup(n,p,h,a,i);s.push(...m)}let c=Na(s);return Uu(c),c})}processSegment(n,e,r,i,o,s,c){return C(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,c)}catch(h){if(h instanceof De||Ta(h))continue;throw h}if(Ou(r,i,o))return new Di;throw new De(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,c,a){return C(this,null,function*(){if(me(r)!==s&&(s===I||!gn(i,o,r)))throw new De(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new De(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,c){return C(this,null,function*(){let{matched:a,parameters:h,consumedSegments:p,positionalParamSegments:m,remainingSegments:v}=Ia(e,i,o);if(!a)throw new De(e);typeof i.redirectTo==`string`&&i.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xu&&(this.allowRedirects=!1));let w=this.createSnapshot(n,i,o,h,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let b=yield this.applyRedirects.applyRedirectCommands(p,i.redirectTo,m,Da(w),n),F=yield this.applyRedirects.lineralizeSegments(i,b);return this.processSegment(n,r,e,F.concat(v),s,!1,c)})}createSnapshot(n,e,r,i,o){let s=new yt(r,i,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Lu(e),me(e),e.component??e._loadedComponent??null,e,Fu(e),n),c=Ai(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(c.params),s.data=Object.freeze(c.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return C(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=D=>this.createSnapshot(n,r,D.consumedSegments,D.parameters,s),a=yield Kr(Mu(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new De(e);n=r._injector??n;let{routes:h}=yield this.getChildConfig(n,r,i),p=r._loadedInjector??n,{parameters:m,consumedSegments:v,remainingSegments:w}=a,b=this.createSnapshot(n,r,v,m,s),{segmentGroup:F,slicedSegments:P}=Ks(e,v,w,h,o);if(P.length===0&&F.hasChildren())return new se(b,yield this.processChildren(p,h,F,b));if(h.length===0&&P.length===0)return new se(b,[]);let H=me(r)===o,T=yield this.processSegment(p,h,F,P,H?I:o,!0,b);return new se(b,T instanceof se?[T]:[])})}getChildConfig(n,e,r){return C(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);
2if(yield Kr(Ru(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw bu(e)}return{routes:[],injector:n}})}};function Uu(t){t.sort((n,e)=>n.value.outlet===I?-1:e.value.outlet===I?1:n.value.outlet.localeCompare(e.value.outlet))}function ku(t){let n=t.value.routeConfig;return n&&n.path===``}function Na(t){let n=[],e=new Set;for(let r of t){if(!ku(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Na(r.children);n.push(new se(r.value,i))}return n.filter(r=>!e.has(r))}function Lu(t){return t.data||{}}function Fu(t){return t.resolve||{}}function ju(t,n,e,r,i,o,s){return Ut$1(c=>C(null,null,function*(){let{state:a,tree:h}=yield Pu(t,n,e,r,c.extractedUrl,i,o,s);return x(w({},c),{targetSnapshot:a,urlAfterRedirects:h})}))}function $u(t){return Ut$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return wE(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let a of Aa(c))o.add(a);let s=0;return Fe$1(o).pipe(HE(c=>i.has(c)?Bu(c,e,t):(c.data=Ai(c,c.parent,t).resolve,wE(void 0))),JE(()=>s++),zE(1),Ut$1(c=>s===o.size?wE(n):Ht$1))})}function Aa(t){return[t,...t.children.map(e=>Aa(e)).flat()]}function Bu(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!ya(r)&&(i[Qt]=r.title),PE(()=>(t.data=Ai(t,t.parent,e).resolve,zu(i,t,n).pipe(gt$1(o=>(t._resolvedData=o,t.data=w(w({},t.data),o),null)))))}function zu(t,n,e){let r=mi(t);if(r.length===0)return wE({});let i={};return Fe$1(r).pipe(Ut$1(o=>Hu(t[o],n,e).pipe(WE(),JE(s=>{if(s instanceof St)throw hn(new Ie,s);i[o]=s}))),zE(1),gt$1(()=>i),tf(o=>Ta(o)?Ht$1:bE(o)))}function Hu(t,n,e){let r=n._environmentInjector,i=wt(t,r);return Xe(i.resolve?i.resolve(n,e):Ci$1(r,()=>i(n,e)))}var ki=new w$1(``);function Ni(t){return ZE(n=>{let e=t(n);return e?Fe$1(e).pipe(gt$1(()=>n)):wE(n)})}var Li=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===I);return r}getResolvedTitleForRoute(e){return e.data[Qt]}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>m(Oa)})}return t})();var Oa=(()=>{class t extends Li{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(ae$1(Vr))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Fe=new w$1(``,{factory:()=>({})});var Et=new w$1(``);var mn=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(RN);loadComponent(e,r){return C(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=C(this,null,function*(){try{let s=yield xa(bH(yield ea(Ci$1(e,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=C(this,null,function*(){try{let o=yield Pa(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Pa(t,n,e,r){return C(this,null,function*(){let o=yield xa(bH(yield ea(Ci$1(e,()=>t.loadChildren())))),s;o instanceof Xm||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let c,a,p;return Array.isArray(s)?a=s:(c=s.create(e).injector,p=s,a=c.get(Et,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ui),injector:c,factory:p}})}function xa(t){return C(this,null,function*(){return t})}var vn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>m(Vu)})}return t})();var Vu=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var Fi=new w$1(``);var ji=new w$1(``);function Ua(t,n,e,r){let i=t.get(ji),o=t.get(an$1);if(r){i.skipNextTransition=!1;return}if(!o.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(p=>setTimeout(p));let s,c=new Promise(p=>{s=p}),a=o.startViewTransition(()=>(s(),qu(t)));a.updateCallbackDone.catch(p=>{}),a.ready.catch(p=>{}),a.finished.catch(p=>{});let{onViewTransitionCreated:h}=i;return h&&Ci$1(t,()=>h({transition:a,from:n,to:e})),c}function qu(t){return new Promise(n=>{Hg({read:()=>setTimeout(n)},{injector:t})})}var Wu=()=>{};var $i=new w$1(``);var yn=(()=>{class t{currentNavigation=Sc$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Sc$1(null);events=new le;
2transitionAbortWithErrorSubject=new le;configLoader=m(mn);environmentInjector=m(ye);destroyRef=m(He);urlSerializer=m(Le);rootContexts=m(ke);location=m(xe$2);inputBindingEnabled=m(er,{optional:!0})!==null;titleStrategy=m(Li);options=m(Fe,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Kl;urlHandlingStrategy=m(vn);createViewTransition=m(Fi,{optional:!0});navigationErrorHandler=m($i,{optional:!0});routerResourcesFeature=m(ki,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>wE(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new nn(i)),r=i=>this.events.next(new on(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Ny(()=>{this.transitions?.next(x(w({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new lr(null),this.transitions.pipe(gr(r=>r!==null),ZE(r=>{let i=!0,o=!1,s=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return wE(r).pipe(ZE(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,ee.SupersededByNewNavigation),Ht$1;this.currentTransition=r;let h=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:h?x(w({},h),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!p&&m!==`reload`)return this.events.next(new Te(a.id,this.urlSerializer.serialize(a.rawUrl),``,pt.IgnoredSameUrlNavigation)),a.resolve(!1),Ht$1;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return wE(a).pipe(ZE(v=>(this.events.next(new Ue(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),v.id!==this.navigationId?Ht$1:Promise.resolve(v))),ju(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),JE(v=>{r.targetSnapshot=v.targetSnapshot,r.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=v.urlAfterRedirects,w)),this.events.next(new Jt)}),ZE(v=>Fe$1(r.routesRecognizeHandler.deferredHandle??wE(void 0)).pipe(gt$1(()=>v))),JE(()=>{let v=new Gt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:v,extractedUrl:w$3,source:b,restoredState:F,extras:P}=a,H=new Ue(v,this.urlSerializer.serialize(w$3),b,F);this.events.next(H);let T=ma(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=x(w({},a),{targetSnapshot:T,urlAfterRedirects:w$3,extras:x(w({},P),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(D=>(D.finalUrl=w$3,D)),wE(r)}else return this.events.next(new Te(a.id,this.urlSerializer.serialize(a.extractedUrl),``,pt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Ht$1}),gt$1(a=>{let h=new Qr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(h),this.currentTransition=r=x(w({},a),{guards:tu(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),hu(a=>this.events.next(a)),ZE(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw hn(this.urlSerializer,a.guardsResult);let h=new en(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(h),!c())return Ht$1;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,ee.GuardRejected),Ht$1;if(a.guards.canActivateChecks.length===0)return wE(a);let p=new tn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(p),!c())return Ht$1;let m=!1;return wE(a).pipe($u(this.paramsInheritanceStrategy),JE({next:()=>{m=!0;let v=new rn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(v)}
2,complete:()=>{m||this.cancelNavigationTransition(a,``,ee.NoDataFromResolver)}}))}),Ni(a=>{let h=m=>{let v=[];if(m.routeConfig?._loadedComponent)m.component=m.routeConfig?._loadedComponent;else if(m.routeConfig?.loadComponent){let w=m._environmentInjector;v.push(this.configLoader.loadComponent(w,m.routeConfig).then(b=>{m.component=b}))}for(let w of m.children)v.push(...h(w));return v},p=h(a.targetSnapshot.root);return p.length===0?wE(a):Fe$1(Promise.all(p).then(()=>a))}),ZE(a=>{let{newlyCreatedRoutes:h,state:p}=Yl(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=x(w({},a),{targetRouterState:p,newlyCreatedRoutes:h}),this.currentNavigation.update(m=>(m.targetRouterState=p,m)),wE(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),Ni(()=>this.afterPreactivation()),ZE(()=>{let{currentSnapshot:a,targetSnapshot:h}=r,p=this.createViewTransition?.(this.environmentInjector,a.root,h.root,r.hasUAVisualTransition);return p?Fe$1(p).pipe(gt$1(()=>r)):wE(r)}),ha$1(1),ZE(a=>{i=!1,this.events.next(new mt);let h=r.beforeActivateHandler.deferredHandle;return h?Fe$1(h.then(()=>a)):wE(a)}),JE(a=>{new _i(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,h=>this.events.next(h),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),c()&&(ka(a.targetRouterState),o=!0,this.currentNavigation.update(h=>(h.abort=Wu,h)),this.lastSuccessfulNavigation.set(Ny(this.currentNavigation)),this.events.next(new he(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),KE(_a(s.signal).pipe(gr(()=>!o&&i),JE(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,ee.Aborted)}))),JE({complete:()=>{o=!0}}),KE(this.transitionAbortWithErrorSubject.pipe(JE(a=>{throw a}))),qE(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,ee.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),tf(a=>{if(o=!0,Ys(r),this.destroyed)return r.resolve(!1),Ht$1;if(ba(a))this.events.next(new de(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),eu(a)?this.events.next(new vt(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let h=new Je(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let p=Ci$1(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(p instanceof St){let{message:m,cancellationCode:v}=hn(this.urlSerializer,p);this.events.next(new de(r.id,this.urlSerializer.serialize(r.extractedUrl),m,v)),this.events.next(new vt(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(h),a}catch(p){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(p)}}return Ht$1}))}))}cancelNavigationTransition(e,r,i){Ys(e);let o=new de(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Ny(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Gu(t){return t!==ht}function Ys(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;ka(t.targetRouterState)}function ka(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var La=new w$1(``);var Fa=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>m(Ju)})}return t})();var pn=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var Ju=(()=>{class t extends pn{static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var Sn=(()=>
2{class t{urlSerializer=m(Le);options=m(Fe,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=m(xe$2);urlHandlingStrategy=m(vn);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new ae;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof ae?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=ma(null,m(ye));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:()=>m(Xu)})}return t})();var Xu=(()=>{class t extends Sn{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(e,r){e instanceof Ue?this.updateStateMemento():e instanceof Te?this.commitTransition(r):e instanceof Gt?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof mt?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof de&&!ga(e)?this.restoreHistory(r):e instanceof Je?this.restoreHistory(r,!0):e instanceof he&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:c}=i;
2if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,h=w(w({},c),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,h)}else{let a=w(w({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution===`computed`){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?w({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):w({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Rn(t,n){t.events.pipe(gr(e=>e instanceof he||e instanceof de||e instanceof Je||e instanceof Te),gt$1(e=>e instanceof he||e instanceof Te?0:(e instanceof de?e.code===ee.Redirect||e.code===ee.SupersededByNewNavigation:!1)?2:1),gr(e=>e!==2),ha$1(1)).subscribe(()=>{n()})}var fe=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(m_);stateManager=m(Sn);options=m(Fe,{optional:!0})||{};pendingTasks=m(Ze);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=m(yn);urlSerializer=m(Le);location=m(xe$2);urlHandlingStrategy=m(vn);injector=m(ye);_events=new le;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(Fa);injectorCleanup=m(La,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=m(Et,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(er,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Q;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=Ny(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof de&&r.code!==ee.Redirect&&r.code!==ee.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof he)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof vt){let s=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=w({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||Gu(i.source)},s);this.scheduleNavigation(c,ht,null,a,i.hasUAVisualTransition,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Jl(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ht,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o,s)=>{this.navigateToSyncWithBrowser(e,i,r,o,s)})}navigateToSyncWithBrowser(e,r,i,o,s){let c=i?.navigationId?i:null,a=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=x(w({},o),{browserUrl:e})),i){let p=w({},i);delete p.navigationId,delete p.ɵrouterPageId,delete p.ɵrouterUrl,Object.keys(p).length!==0&&(o.state=p)}let h=this.parseUrl(a);this.scheduleNavigation(h,r,c,o,s).catch(p=>{this.disposed||this.injector.get(Mt)(p)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Ny(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ui),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:c,preserveFragment:a}=r,h=a?this.currentUrlTree.fragment:s,p=null;switch(c??this.options.defaultQueryParamsHandling){case`merge`:p=w(w({},this.currentUrlTree.queryParams),o);break;case`preserve`:p=this.currentUrlTree.queryParams;break;default:p=o||null}p!==null&&(p=this.removeEmptyProps(p));let m;try{m=da(i?i.snapshot:this.routerState.snapshot.root)}catch(v){(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),m=this.currentUrlTree.root}return ha(m,e,p,h??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=xe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ht,null,r)}navigate(e,r={skipLocationChange:!1}){return Ku(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(di$1(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=w({},ra):r===!1?i=w({},vi):i=w(w({},vi),r),xe(e))return qs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return qs(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s,c){if(this.disposed)return Promise.resolve(!1);let a,h,p;c?(a=c.resolve,h=c.reject,p=c.promise):p=new Promise((v,w)=>{a=v,h=w});let m=this.pendingTasks.add();return Rn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:s,resolve:a,reject:h,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
2),p.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();function Ku(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new T(4008,!1)}var Zu=(()=>{class t{router=m(fe);stateManager=m(Sn);fragment=Sc$1(``);queryParams=Sc$1({});path=Sc$1(``);serializer=m(Le);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof he&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new ae(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=En$1({token:t,factory:t.ɵfac})}return t})();var ja=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m(new zy(`href`),{optional:!0});reactiveHref=VN(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Ny(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Ny(this._target)}_target=Sc$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Ny(this._queryParams)}_queryParams=Sc$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Ny(this._fragment)}_fragment=Sc$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Ny(this._queryParamsHandling)}_queryParamsHandling=Sc$1(void 0);set state(e){this._state.set(e)}get state(){return Ny(this._state)}_state=Sc$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Ny(this._info)}_info=Sc$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Ny(this._relativeTo)}_relativeTo=Sc$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Ny(this._preserveFragment)}_preserveFragment=Sc$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Ny(this._skipLocationChange)}_skipLocationChange=Sc$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Ny(this._replaceUrl)}_replaceUrl=Sc$1(!1);browserUrl=_H(void 0);isAnchorElement;onChanges=new le;applicationErrorHandler=m(Mt);options=m(Fe,{optional:!0});reactiveRouterState=m(Zu);constructor(e,r,i,o,s,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=c;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Sc$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(xe(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),h=w({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(c,h)?.catch(p=>{this.applicationErrorHandler(p)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=FN(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i===`preserve`||i===`merge`;(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:xe(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Ny(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(Do(fe),Do(Ne),Oh(`tabindex`),Do(Dl$1),Do(co),Do(j$1))};static ɵdir=Rb({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&ey(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Mv(`href`,i.reactiveHref(),HT)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,kH],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,kH],replaceUrl:[2,`replaceUrl`,`replaceUrl`,kH],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[nD]})}return t})();var rr=class{};var $a=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(gr(e=>e instanceof he),HE(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=$u$1(o.providers,e,``));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let c=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes))}return Fe$1(i).pipe(hr())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return wE(null);let i;r.loadChildren&&r.canLoad===void 0?i=Fe$1(this.loader.loadChildren(e,r)):i=wE(null);let o=i.pipe(Ut$1(s=>s===null?wE(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent)return Fe$1([o,this.loader.loadComponent(e,r)]).pipe(hr());else return o}
2)}static ɵfac=function(r){return new(r||t)(ae$1(fe),ae$1(ye),ae$1(rr),ae$1(mn))};static ɵprov=U({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Ba=new w$1(``);var Qu=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ht;restoredId=0;store={};isHydrating=m(In,{optional:!0})??!1;urlSerializer=m(Le);zone=m(B$1);viewportScroller=m(zr$1);transitions=m(yn);constructor(e){this.options=e,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&m(Me$1).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ue?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof he?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Te&&e.code===pt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof gt)||e.scrollBehavior===`manual`)return;let r={behavior:`instant`};e.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=Ny(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>C(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<`u`&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new gt(e,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){Ww()};static ɵprov=U({token:t,factory:t.ɵfac})}return t})();function ed(){return m(fe).routerState.root}function nr(t,n){return{ɵkind:t,ɵproviders:n}}function td(){let t=m(Ee$1);return n=>{let e=t.get(Me$1);if(n!==e.components[0])return;let r=t.get(fe),i=t.get(za);t.get(zi)===1&&r.initialNavigation(),t.get(qa,null,{optional:!0})?.setUpPreloading(),t.get(Ba,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var za=new w$1(``,{factory:()=>new le});var zi=new w$1(``,{factory:()=>1});function Ha(){return nr(2,[{provide:HD,useValue:!0},{provide:zi,useValue:0},Pb(()=>{let n=m(Ee$1);return n.get(pn$2,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(fe),o=n.get(za);Rn(i,()=>{r(!0)}),n.get(yn).afterPreactivation=()=>(r(!0),o.closed?wE(void 0):o),i.initialNavigation()}))})])}function Va(){return nr(3,[Pb(()=>{m(fe).setUpLocationChangeListener()}),{provide:zi,useValue:2}])}var qa=new w$1(``);function Wa(t){return nr(0,[{provide:qa,useExisting:$a},{provide:rr,useExisting:t}])}function Ga(t={}){return nr(8,[{provide:er,useFactory:()=>new Ra(t,m(ki,{optional:!0}))}])}function Ja(t){me$1(`NgRouterViewTransitions`);return nr(9,[{provide:Fi,useValue:Ua},{provide:ji,useValue:w({skipNextTransition:!!t?.skipInitialTransition},t)}])}var Xa=[xe$2,{provide:Le,useClass:Ie},fe,ke,{provide:Ne,useFactory:ed},mn];var rd=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Xa,[],{provide:Et,multi:!0,useValue:e},[],r?.errorHandler?{provide:$i,useValue:r.errorHandler}:[],{provide:Fe,useValue:r||{}},r?.useHash?id():od(),nd(),r?.preloadingStrategy?Wa(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?s
2d(r):[],r?.bindToComponentInputs?Ga(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?Ja().ɵproviders:[],ad()]}}static forChild(e){return{ngModule:t,providers:[{provide:Et,multi:!0,useValue:e}]}}static ɵfac=function(r){return new(r||t)};static ɵmod=tv({type:t});static ɵinj=Ua$1({})}return t})();function nd(){return{provide:Ba,useFactory:()=>{let t=m(zr$1),n=m(Fe);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Qu(n)}}}function id(){return{provide:j$1,useClass:wn}}function od(){return{provide:j$1,useClass:he$1}}function sd(t){return[t.initialNavigation===`disabled`?Va().ɵproviders:[],t.initialNavigation===`enabledBlocking`?Ha().ɵproviders:[]]}var Bi=new w$1(``);function ad(){return[{provide:Bi,useFactory:td},{provide:To,multi:!0,useExisting:Bi}]}var ld=(t,n)=>n[0];function ud(t,n){if(t&1){let e=Z_();Is$1(0,`a`,7),ey(`click`,function(){let i=Uf(e).$implicit;return $f(FM().select(i[0]))}),Sv(1,`img`,3),Is$1(2,`div`,4),RM(3,1),Zu$1()()}if(t&2){let e=n.$implicit,r=FM();Nv(`href`,`/`+e[0]+`/`+r.path,Sg),_C(),Nv(`ngSrc`,`/assets/i18n/flags/`+e[0]+`.svg`)(`alt`,`Flag`+e[0]),_C(2),Xv(e[1]),kM(3)}}var hp=(()=>{class t{constructor(){this.isActive=!1,this.type=`solid`,this.Object=Object,this.locale=m(F),this.locales={de:`Deutsch`,en:`English`,es:`Español`,fr:`Français`,zh:`æ±è¯`},this.path=Z()}get classes(){return`e--type-${this.type}`}select(e){R.set(h.I18nSelection,e)}static{this.ɵfac=function(r){return new(r||t)}}static{this.ɵcmp=Sb({type:t,selectors:[[`app-i18n-selector`]],hostVars:4,hostBindings:function(r,i){r&2&&(tN(i.classes),sy(`language-picker--active`,i.isActive))},inputs:{type:`type`},decls:7,vars:3,consts:()=>{let e;e=`${`�0�`}`;let r;return r=`${`�0�`}`,[e,r,[1,`language-picker--language`,`language-picker--selected`,3,`click`],[`height`,`20`,`width`,`10`,3,`ngSrc`,`alt`],[1,`language-picker--label`],[1,`language-picker--popup`],[1,`language-picker--language`,`e--link-plain`,3,`href`],[1,`language-picker--language`,`e--link-plain`,3,`click`,`href`]]},template:function(r,i){r&1&&(Is$1(0,`div`,2),ey(`click`,function(){return i.isActive=!i.isActive}),Sv(1,`img`,3),Is$1(2,`div`,4),RM(3,0),Zu$1()(),Is$1(4,`div`,5),B_(5,ud,4,4,`a`,6,ld),Zu$1()),r&2&&(_C(),Nv(`ngSrc`,`/assets/i18n/flags/`+i.locale+`.svg`)(`alt`,`Flag`+i.locale),_C(2),Xv(i.locales[i.locale]),kM(3),_C(2),U_(i.Object.entries(i.locales)))},dependencies:[Kr$1],styles:[`[_nghost-%COMP%]{position:relative;display:inline-block}.e--type-bordered[_nghost-%COMP%] .language-picker--selected[_ngcontent-%COMP%]{background-color:transparent;border-color:var(--%NS%e--theme-level-solid-1)}[_nghost-%COMP%] .language-picker--language[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:.5rem 2rem .5rem 1rem}[_nghost-%COMP%] .language-picker--language[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:auto;border-radius:3px}.language-picker--active[_nghost-%COMP%] .language-picker--popup[_ngcontent-%COMP%]{display:block}.language-picker--active[_nghost-%COMP%] .language-picker--%NS%selected[_ngcontent-%COMP%]:before{border-bottom:6px solid currentColor}[_nghost-%COMP%]:not(.language-picker--active) .language-picker--%NS%selected[_ngcontent-%COMP%]:before{border-top:6px solid currentColor}[_nghost-%COMP%] .language-picker--popup[_ngcontent-%COMP%]{display:none;position:absolute;bottom:100%;right:0;background-color:var(--%NS%e--theme-level-solid-5);border-radius:5px;margin-bottom:8px;min-width:100%}[_nghost-%COMP%] .language-picker--popup[_ngcontent-%COMP%] .language-picker--language[_ngcontent-%COMP%]{color:var(--%NS%e--theme-level-solid-1);font-weight:500}[_nghost-%COMP%] .language-picker--selected[_ngcontent-%COMP%]{display:inline-flex;position:relative;border-radius:5px;padding-right:3rem;background-color:var(--%NS%e--theme-level-solid-2);border:1px solid var(--%NS%e--theme-level-solid-3);cursor:pointer}[_nghost-%COMP%] .language-picker--%NS%selected[_ngcontent-%COMP%]:before{position:absolute;top:50%;margin-top:-3px;right:10px;content:"";width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent} 3/*# sourceMappingURL=i18n-selector.component-MPNFCDJX.css.map */`],changeDetection:1})}}return t})();var dd=/^xn--/;var hd=/[^\0-\x7F]/;var fd=/[\x2E\u3002\uFF0E\uFF61]/g;var pd={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >
3= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`};var Hi=35;var _e=Math.floor;var Vi=String.fromCharCode;function je(t){throw new RangeError(pd[t])}function gd(t,n){let e=[],r=t.length;for(;r--;)e[r]=n(t[r]);return e}function Ya(t,n){let e=t.split(`@`),r=``;e.length>1&&(r=e[0]+`@`,t=e[1]),t=t.replace(fd,`.`);let o=gd(t.split(`.`),n).join(`.`);return r+o}function Za(t){let n=[],e=0,r=t.length;for(;e<r;){let i=t.charCodeAt(e++);if(i>=55296&&i<=56319&&e<r){let o=t.charCodeAt(e++);(o&64512)==56320?n.push(((i&1023)<<10)+(o&1023)+65536):(n.push(i),e--)}else n.push(i)}return n}var md=t=>String.fromCodePoint(...t);var vd=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:36};var Ka=function(t,n){return t+22+75*(t<26)-((n!=0)<<5)};var Qa=function(t,n,e){let r=0;for(t=e?_e(t/700):t>>1,t+=_e(t/n);t>Hi*26>>1;r+=36)t=_e(t/Hi);return _e(r+(Hi+1)*t/(t+38))};var ec=function(t){let n=[],e=t.length,r=0,i=128,o=72,s=t.lastIndexOf(`-`);s<0&&(s=0);for(let c=0;c<s;++c)t.charCodeAt(c)>=128&&je(`not-basic`),n.push(t.charCodeAt(c));for(let c=s>0?s+1:0;c<e;){let a=r;for(let p=1,m=36;;m+=36){c>=e&&je(`invalid-input`);let v=vd(t.charCodeAt(c++));v>=36&&je(`invalid-input`),v>_e((2147483647-r)/p)&&je(`overflow`),r+=v*p;let w=m<=o?1:m>=o+26?26:m-o;if(v<w)break;let b=36-w;p>_e(2147483647/b)&&je(`overflow`),p*=b}let h=n.length+1;o=Qa(r-a,h,a==0),_e(r/h)>2147483647-i&&je(`overflow`),i+=_e(r/h),r%=h,n.splice(r++,0,i)}return String.fromCodePoint(...n)};var tc=function(t){let n=[];t=Za(t);let e=t.length,r=128,i=0,o=72;for(let a of t)a<128&&n.push(Vi(a));let s=n.length,c=s;for(s&&n.push(`-`);c<e;){let a=2147483647;for(let p of t)p>=r&&p<a&&(a=p);let h=c+1;a-r>_e((2147483647-i)/h)&&je(`overflow`),i+=(a-r)*h,r=a;for(let p of t)if(p<r&&++i>2147483647&&je(`overflow`),p===r){let m=i;for(let v=36;;v+=36){let w=v<=o?1:v>=o+26?26:v-o;if(m<w)break;let b=m-w,F=36-w;n.push(Vi(Ka(w+b%F,0))),m=_e(b/F)}n.push(Vi(Ka(m,0))),o=Qa(i,h,c===s),i=0,++c}++i,++r}return n.join(``)};var yd=function(t){return Ya(t,function(n){return dd.test(n)?ec(n.slice(4).toLowerCase()):n})};var Sd=function(t){return Ya(t,function(n){return hd.test(n)?`xn--`+tc(n):n})};var ir={version:`2.3.1`,ucs2:{decode:Za,encode:md},decode:ec,encode:tc,toASCII:Sd,toUnicode:yd};var cc=B(ic());var En=class{constructor(n,e,r,i){this.identifier=n,this.content=e,this.renderer=r,this.document=i,this.id=``,this.isServer=typeof window>`u`,this.id=`sd-${n}`,this.isServer?(this.script=this.renderer.createElement(`script`),this.renderer.appendChild(this.document.body,this.script)):(this.script=i.querySelector(`script[data-sd-identifier="${this.identifier}"][data-sd-source="server"]`),this.script||(this.script=this.renderer.createElement(`script`),this.renderer.appendChild(this.document.body,this.script))),typeof this.document?.body?.appendChild==`function`&&(this.script.type=`application/ld+json`,this.script.innerHTML=JSON.stringify(e),this.script.setAttribute(`data-sd-source`,this.isServer?`server`:`client`),this.script.setAttribute(`data-sd-id`,this.id),this.script.setAttribute(`data-sd-identifier`,this.identifier))}update(n){this.script.innerHTML=JSON.stringify(n)}destroy(){this.document&&typeof this.document.querySelector==`function`&&this.renderer.removeChild(this.document.body,this.script)}};En=EA([IA(3,_D(an$1))],En);var wd={url:[{property:`og:url`}],title:[{property:`og:title`},{name:`twitter:title`}],release:[{property:`article:published_time`},{property:`article:modified_time`},{property:`og:updated_time`}],desc:[{name:`description`},{property:`og:description`},{name:`twitter:description`}],image:[{property:`og:image`},{name:`twitter:image`}]};var sc=(()=>{class t{constructor(e,r,i,o,s,c,a,h){this.titleService=e,this.meta=r,this.router=i,this.transferState=o,this.runtimeService=s,this.rendererFactory=c,this.document=a,this.localeId=h,this.renderer=this.rendererFactory.createRenderer(null,null),s.isClient()?(this.host=this.transferState.get(z$1,``),this.domain=this.transferState.get(M,``)):(this.host=m(J$1),this.domain=m(N),this.transferState.set(z$1,this.host),this.transferState.set(M,this.domain)),this.encodedDomain=ir.toUnicode(this.domain),this.url=`https://`+this.host}setDomain(e){let r=this;r.addMeta(`url`,this.router.url),r.updateFavicon(e);let i=e.config.display_name,o,s;
3e.config.template===`recently-caught`?(o=`${i} a été capturé avec succès`,s=`Le domaine '${i}' a été enregistré au moment où il a été libéré à nouveau avec le captureur de domaine d'ELITEDOMAINS.`):e.config.template===`argp`?(o=`${i} a expiré`,s=`Le domaine '${i}' a expiré, se trouve en statut AGP et peut être réactivé directement chez ELITEDOMAINS.`):e.config.template===`sold`?(o=`${i} a été vendu`,s=`Le domaine '${i}' a été vendu via la place de marché ELITEDOMAINS. Utilise maintenant notre solution de vente pour tes domaines.`):(o=`${i} est à vendre`,s=e.config.type===`paynow`?`Le domaine ${i} est à vendre. Achetez ce domaine maintenant par achat immédiat à un prix fixe avec le service fiduciaire d'ELITEDOMAINS.`:`Le domaine ${i} est à vendre. Contactez le propriétaire via le formulaire de contact et envoyez-lui une offre sans engagement.`);let c={"@context":`http://schema.org`,"@type":`WebSite`,url:this.url+this.router.url,name:o};this.pageSD?this.pageSD.update(c):this.pageSD=new En(`page-website`,c,r.renderer,r.document),r.addMeta(`image`,`https://elitedomains.de/static/images/brand/open-graph.jpg`),r.addMeta(`title`,o),r.addMeta(`desc`,s),this.meta.updateTag({property:`og:type`,content:`website`}),this.meta.updateTag({property:`og:locale`,content:this.toOgLocale(this.localeId)}),this.meta.updateTag({name:`twitter:card`,content:`summary_large_image`})}setSeo(e,r){let i=this.document.createElement(`link`);i.setAttribute(`rel`,`canonical`),i.setAttribute(`href`,e),this.document.head.appendChild(i),r&&this.meta.addTag({property:`robots`,content:`noindex`})}addMeta(e,r){let i=this;wd[e].forEach(o=>{let s=Object.keys(o)[0],c=x(w({},o),{content:r});i.meta.updateTag(c,[s,`="`,c[s],`"`].join(``))}),e===`title`&&i.titleService.setTitle(r)}toOgLocale(e){return{de:`de_DE`,en:`en_US`,es:`es_ES`,fr:`fr_FR`,zh:`zh_CN`}[e]??e.replace(`-`,`_`)}getDomain(){return this.domain}updateFavicon(e){e.config.template===`recently-caught`||e.config.type===`paynow`||e.config.type===`4sale`?this.setFavicon(`sale`):this.setFavicon(`elitedomains`)}setFavicon(e){let r=this.document.head.querySelector.bind(this.document.head);this.renderer.setAttribute(r(`link[rel="apple-touch-icon"]`),`href`,`/assets/favicon/${e}/apple-touch-icon.png`),this.renderer.setAttribute(r(`link[rel="icon"][sizes="32x32"]`),`href`,`/assets/favicon/${e}/favicon-32x32.png`),this.renderer.setAttribute(r(`link[rel="icon"][sizes="16x16"]`),`href`,`/assets/favicon/${e}/favicon-16x16.png`),this.renderer.setAttribute(r(`link[rel="manifest"]`),`href`,`/assets/favicon/${e}/site.webmanifest`)}getEncodedDomain(){return this.domain.match(/--/g)?this.encodedDomain:this.domain}getHost(){return this.host}static{this.ɵfac=function(r){return new(r||t)(ae$1(Vr),ae$1(Hs),ae$1(fe),ae$1(cn$1),ae$1(I$1),ae$1(ro),ae$1(an$1),ae$1(sd$1))}}static{this.ɵprov=U({token:t,factory:t.ɵfac})}}return t})();var ac=`ED_STORE_REDIRECTOR`;var lc=(()=>{class t$1{constructor(e,r,i){this.runtimeService=e,this.transferState=r,this.metaService=i,this.locale=m(F),this.response=m(y,{optional:!0}),this.runtimeService.isServer()&&(this.database=m(U$1),this.domain=this.metaService.getEncodedDomain(),this.host=this.metaService.getHost())}getContext(){return this.context}boot(){return C(this,null,function*(){if(this.runtimeService.isServer()){this.context=yield this.fetchRedirectorConfig(),this.transferState.set(ac,this.context);let e=ir.toASCII(this.domain);e!==this.host&&!this.context.system_page&&this.context.offer.connected&&this.response&&(this.response.set(`location`,`https://${e}`),this.response.status(301))}else this.context=this.transferState.get(ac,void 0);this.context&&this.metaService.setDomain(this.context)})}fetchRedirectorConfig(){return C(this,null,function*(){let r=yield this.database.first(` 4 SELECT id, 5 name, 6 type, 7 price, 8 status, 9 template, 10 template_data, 11 seller_id, 12 domain_id, 13 redirect_status, 14 main_language, 15 meta_tags 16 FROM domain_offers 17 WHERE name = ? 18 AND type NOT IN ('inactive', 'not_configured') 19 AND status IN ('verified', 'hold') 20 AND deleted_at IS NULL 21 LIMIT 1; 22 `,[this.domain]);if(r)typeof r?.template_data==`string`&&(r.template_data=JSON.parse(r.template_data));else{let p=yield this.database.first(`SELECT status, redirector_settings FROM domains WHERE name = ? AND deleted_at IS NULL LIMIT 1;`,[this.domain]);if(p&&(p.redirector_settings=JSON.parse(p.redirector_settings)),p?.redirector_settings.type==`landing`&&p?.redirector_settings.method==`catch`)r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain),type:`landing`,template:`recently-caught`};else{let m=yield this.database.first(` 23 SELECT paynow_transactions.payment_status, 24 domain_offers.template_data 25 FROM paynow_transactions 26 LEFT JOIN domain_offers 27 ON domain_offers.id = paynow_transactions.offer_id 28 WHERE paynow_transactions.name = ? 29 ORDER BY paynow_transactions.created_at DESC 30 LIMIT 1 31 `,[this.domain]);if(m?.payment_status===`success`)r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain,m.template_data),type:`paynow`,template:`sold`};else{let v=!1,w=yield this.database.get(` 32 SELECT seller_id, status, template_data 33 FROM domain_offers 34 WHERE name = ? 35 AND deleted_at IS NULL 36 LIMIT 2; 37 `,[this.domain]),b=w[0];if(w.length&&[`inactive`,`unverified`].includes(b?.status))if(w.length>1)v={type:`account-ref`};else{let F=yield this.database.first(` 38 SELECT id 39 FROM users 40 WHERE id = ? 41 LIMIT 2; 42 `,[b.seller_id]);v={type:`inline`,key:(0,cc.md5)(F.id.toString()).substring(0,6)}}r={name:this.domain,display_name:this.getDisplayNameFromTemplateData(this.domain,b?.template_data),type:`error`,template:`setup`,verification_key:v,state:w?.[0]?.status===`inactive`?`inactive`:`unverified`}}}return yield this.transformContext({system_page:!0,links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,marketplace:t.url.promo+`/marktplatz`},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r})}if((yield this.database.first(`SELECT status FROM domains WHERE name = ? AND deleted_at IS NULL LIMIT 1;
42`,[this.domain]))?.status===`auto_renew_grace_period`)return yield this.transformContext({system_page:!0,links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,marketplace:t.url.promo+`/marktplatz`},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:{name:this.domain,display_name:this.getDisplayName(r),type:`error`,template:`argp`}});let o=r.domain_id===null,s,c;if(o)s=r.status===`hold`||(yield this.database.exists(`SELECT * FROM paynow_transactions WHERE offer_id = ? AND payment_status = 'success' AND transfer_status = 'pending' LIMIT 1`,[r.id])),c=r.redirect_status==1;else{let p=yield this.database.first(`SELECT status, redirector_settings FROM domains WHERE id = ? LIMIT 1;`,[r.domain_id]);typeof p?.redirector_settings==`string`&&(p.redirector_settings=JSON.parse(p.redirector_settings)),p?.status===`hold`||r.status===`hold`?s=!0:s=(yield this.database.first(`SELECT payment_status FROM paynow_transactions WHERE offer_id = ? ORDER BY created_at DESC LIMIT 1;`,[r.id]))?.payment_status===`hold`,c=p?.redirector_settings?.type===`landing`&&p?.redirector_settings?.method===`redirect_sale_page`}delete r.id,delete r.domain_id,delete r.status;let a=yield this.database.first(`SELECT paynow_settings FROM users WHERE id = ? LIMIT 1;`,[r.seller_id]),h=a?.paynow_settings?JSON.parse(a.paynow_settings):{};return yield this.transformContext({system_page:!1,user:{paynow:{price_type:h.price_type??`brutto`,public_phone:h.public_phone??!1}},links:{terms:t.url.promo+`/static/pdf/agb.pdf`,promo_index:t.url.promo,promo_catcher:t.url.promo+`/de-catcher`,promo_sell_domains:t.url.promo+`/domains-verkaufen`,login:t.url.app+`/login`,register:t.url.app+`/register`,provider:t.url.promo+`/provider`,app_catcher:t.url.app+`/catcher/droplist`,privacy:t.url.promo+`/datenschutz`,contact_form:[t.url.checkout,this.locale,r.name,`contact?theme=`+r.template_data[`theme-color`]].join(`/`),marketplace:t.url.promo+`/marktplatz`,checkout:[t.url.checkout,this.locale,r.name].join(`/`)},offer:{reserved:s,external:o,connected:c,meta_tags:r.meta_tags},i18n:{locale:this.locale,primary:this.getPrimaryLanguage(this.domain,r)},config:r})})}transformContext(e){return C(this,null,function*(){let{ReplacerTools:r}=yield import(`./chunk-CmYpuVhD.js`);e.config.display_name=this.getDisplayName(e.config);let i=e.config.display_name;if(e.config.type!==`error`&&e.config.type!==`landing`&&!(e.config?.type===`paynow`&&e.config.template===`sold`)){if(e.config?.template_data?.[`individual-content--headline`]&&(e.config.template_data[`individual-content--headline`]=r.applyReplacers(e.config.template_data[`individual-content--headline`],i)),e.config?.template_data?.[`individual-content--text`]){let{MarkdownTools:o}=yield import(`./chunk-C269kyfN.js`),s=e.config.template_data[`individual-content--text`];s=r.applyReplacers(s,i),s=o.render(s),e.config.template_data[`individual-content--text`]=s}e.config.template_data[`price-suggest`]=[`true`,`1`,!0].includes(e.config.template_data[`price-suggest`])}return e.config.type===`4sale`&&(e.config.template_data.qualified_leads=[`true`,`1`,!0].includes(e.config.template_data.qualified_leads)),e})}getDisplayName(e){return this.getDisplayNameFromTemplateData(e.name,e.template_data,e.display_name)}getDisplayNameFromTemplateData(e,r,i){let o=this.parseTemplateData(r)?.display_name||i||e;return o.match(/--/)?ir.toUnicode(o):o}parseTemplateData(e){if(typeof e==`string`)return JSON.parse(e);if(e&&typeof e==`object`)return e}transformUserImprintUrl(e){return!e||e.startsWith(`http`)||e.startsWith(`//`)?e:`//${e}`}getPrimaryLanguage(e,r){return r.main_language?r.main_language:e.includes(`.de`)?`de`:`en`}static{this.ɵfac=function(r){return new(r||t$1)(ae$1(I$1),ae$1(cn$1),ae$1(sc))}}static{this.ɵprov=U({token:t$1,factory:t$1.ɵfac})}}return t$1})();var uc=(()=>{class t$2{constructor(e,r,i,o){this.runtimeService=e,this.redirectorService=r,this.rendererFactory2=i,this.document=o,this.userToken$=new lr(``)}boot(){if(this.runtimeService.isServer())return;let e=this.rendererFactory2.createRenderer(null,null),r=e.createElement(`script`);
42e.setAttribute(r,`defer`,`true`),e.setAttribute(r,`src`,t.url.app+`/js/service/statistics.service.js`),e.appendChild(this.document.body,r);let i=this.redirectorService.getContext(),o={source:`redirector_unknown`,payload:{locale:i.i18n.locale,config:i.config}};switch(i.config.type){case`paynow`:o={source:`redirector_paynow`,payload:{locale:i.i18n.locale,domain:i.config.name,template:i.config.template}};break;case`4sale`:o={source:`redirector_4sale`,payload:{locale:i.i18n.locale,domain:i.config.name,template:i.config.template}};break;case`error`:o={source:`redirector_error`,payload:{locale:i.i18n.locale,template:i.config.template,domain:i.config.name}};break;case`landing`:i.config.template===`recently-caught`&&(o={source:`redirector_recent_catch`,payload:{locale:i.i18n.locale,domain:i.config.name}});break}r.onload=()=>{this.userToken$.next(new window.StatisticsService(o,!1).getToken())}}getUserToken$(){return this.userToken$}static{this.ɵfac=function(r){return new(r||t$2)(ae$1(I$1),ae$1(lc),ae$1(ro),ae$1(an$1))}}static{this.ɵprov=U({token:t$2,factory:t$2.ɵfac})}}return t$2})();var Jp=(()=>{class t{constructor(e){this.userToken$=m(uc).getUserToken$(),this.asyncPipe=new ci$1(e)}transform(e){return this.asyncPipe.transform(this.userToken$.pipe(gt$1(r=>{let i=new URL(e);return r&&i.searchParams.set(`e_token`,this.userToken$.value),i.toString()})))}static{this.ɵfac=function(r){return new(r||t)(Do(OH,16))}}static{this.ɵpipe=kb({name:`userToken`,type:t,pure:!0})}}return t})();export{zh as C,wl as S,lc as _,Hs as a,ti as b,Jp as c,Pi as d,Qc as f,ja as g,hp as h,Hh as i,Le as l,Zc as m,Dc as n,Ie as o,Yc as p,En as r,Is as s,Ac as t,Ne as u,rd as v,uc as x,sc as y}; 43//# debugId=3c1ddef5-9c4e-5080-9bd6-bfa88a1deb52 44//# sourceMappingURL=chunk-BroNULKf.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.