File: /var/www/html/achiver_ai_production/angular_app/dist/browser/chunk-XQDNE2OA.js
import{$a as qt,$c as lt,Ab as Q,Bb as ee,C as Ut,Ca as nt,Cb as te,Ea as K,F as jt,Fa as rt,Hb as on,Ia as Te,Ib as an,Kb as un,Lb as ut,Ma as Wt,Na as it,O as tt,Oa as Yt,Pa as J,Ra as st,Sa as Xt,Sc as Ie,Ta as Kt,Tc as ct,Ua as ot,Uc as ln,Vc as dn,Wc as fn,Xa as ce,Xc as hn,Ya as z,Yc as pn,Z as $t,Za as q,_a as Jt,aa as zt,ab as Qt,ba as v,bb as en,c as Bt,cb as tn,da as f,db as nn,ea as X,eb as rn,ec as M,f as kt,fb as V,fc as cn,ga as g,gc as A,ia as c,ja as w,m as xt,ma as Fe,mb as H,n as ae,nb as at,oa as Vt,pa as Ht,pb as sn,qa as Gt,qb as Re,ra as Zt,rb as F,s as ue,tb as Me}from"./chunk-6VSL23XL.js";import{a as $,b as et,d as Nt}from"./chunk-WWX6BADO.js";function le(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,s]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(s)}return null}var Oe="browser",gn="server";function yr(t){return t===Oe}function Pe(t){return t===gn}var G=class{};var b=new g("");var yn=null;function N(){return yn}function dt(t){yn??=t}var de=class{},he=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:()=>w(En),providedIn:"platform"})}return t})(),Er=new g(""),En=(()=>{class t extends he{_location;_history;_doc=w(b);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return N().getBaseHref(this._doc)}onPopState(e){let r=N().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=N().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Le(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function mn(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function O(t){return t&&t[0]!=="?"?`?${t}`:t}var ne=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:()=>w(wn),providedIn:"root"})}return t})(),Ne=new g(""),wn=(()=>{class t extends ne{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??w(b).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Le(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+O(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,s){let o=this.prepareExternalUrl(i+O(s));this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){let o=this.prepareExternalUrl(i+O(s));this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(he),c(Ne,8))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cn=(()=>{class t{_subject=new kt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=vr(mn(Dn(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+O(r))}normalize(e){return t.stripTrailingSlash(Cr(this._basePath,Dn(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+O(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+O(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=O;static joinWithSlash=Le;static stripTrailingSlash=mn;static \u0275fac=function(r){return new(r||t)(c(ne))};static \u0275prov=f({token:t,factory:()=>wr(),providedIn:"root"})}return t})();function wr(){return new Cn(c(ne))}function Cr(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Dn(t){return t.replace(/\/index.html$/,"")}function vr(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Ar=(()=>{class t extends ne{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=Le(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,s){let o=this.prepareExternalUrl(i+O(s))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){let o=this.prepareExternalUrl(i+O(s))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(c(he),c(Ne,8))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();var Z=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(Z||{}),T=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(T||{}),h=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(h||{}),R=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(R||{}),k={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Sn(t){return M(t)[A.LocaleId]}function Fn(t,n,e){let r=M(t),i=[r[A.DayPeriodsFormat],r[A.DayPeriodsStandalone]],s=I(i,n);return I(s,e)}function Tn(t,n,e){let r=M(t),i=[r[A.DaysFormat],r[A.DaysStandalone]],s=I(i,n);return I(s,e)}function Rn(t,n,e){let r=M(t),i=[r[A.MonthsFormat],r[A.MonthsStandalone]],s=I(i,n);return I(s,e)}function Mn(t,n){let r=M(t)[A.Eras];return I(r,n)}function pe(t,n){let e=M(t);return I(e[A.DateFormat],n)}function ge(t,n){let e=M(t);return I(e[A.TimeFormat],n)}function me(t,n){let r=M(t)[A.DateTimeFormat];return I(r,n)}function De(t,n){let e=M(t),r=e[A.NumberSymbols][n];if(typeof r>"u"){if(n===k.CurrencyDecimal)return e[A.NumberSymbols][k.Decimal];if(n===k.CurrencyGroup)return e[A.NumberSymbols][k.Group]}return r}var In=cn;function On(t){if(!t[A.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[A.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Pn(t){let n=M(t);return On(n),(n[A.ExtraData][2]||[]).map(r=>typeof r=="string"?ft(r):[ft(r[0]),ft(r[1])])}function Ln(t,n,e){let r=M(t);On(r);let i=[r[A.ExtraData][0],r[A.ExtraData][1]],s=I(i,n)||[];return I(s,e)||[]}function I(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function ft(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var _r=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Be={},br=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Nn(t,n,e,r){let i=Lr(t);n=B(e,n)||n;let o=[],a;for(;n;)if(a=br.exec(n),a){o=o.concat(a.slice(1));let d=o.pop();if(!d)break;n=d}else{o.push(n);break}let u=i.getTimezoneOffset();r&&(u=kn(r,u),i=Pr(i,r));let l="";return o.forEach(d=>{let m=Ir(d);l+=m?m(i,e,u):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function $e(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function B(t,n){let e=Sn(t);if(Be[e]??={},Be[e][n])return Be[e][n];let r="";switch(n){case"shortDate":r=pe(t,R.Short);break;case"mediumDate":r=pe(t,R.Medium);break;case"longDate":r=pe(t,R.Long);break;case"fullDate":r=pe(t,R.Full);break;case"shortTime":r=ge(t,R.Short);break;case"mediumTime":r=ge(t,R.Medium);break;case"longTime":r=ge(t,R.Long);break;case"fullTime":r=ge(t,R.Full);break;case"short":let i=B(t,"shortTime"),s=B(t,"shortDate");r=ke(me(t,R.Short),[i,s]);break;case"medium":let o=B(t,"mediumTime"),a=B(t,"mediumDate");r=ke(me(t,R.Medium),[o,a]);break;case"long":let u=B(t,"longTime"),l=B(t,"longDate");r=ke(me(t,R.Long),[u,l]);break;case"full":let d=B(t,"fullTime"),m=B(t,"fullDate");r=ke(me(t,R.Full),[d,m]);break}return r&&(Be[e][n]=r),r}function ke(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function P(t,n,e="-",r,i){let s="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,s=e));let o=String(t);for(;o.length<n;)o="0"+o;return r&&(o=o.slice(o.length-n)),s+o}function Sr(t,n){return P(t,3).substring(0,n)}function _(t,n,e=0,r=!1,i=!1){return function(s,o){let a=Fr(t,s);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Sr(a,n);let u=De(o,k.MinusSign);return P(a,n,u,r,i)}}function Fr(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function D(t,n,e=T.Format,r=!1){return function(i,s){return Tr(i,s,t,n,e,r)}}function Tr(t,n,e,r,i,s){switch(e){case 2:return Rn(n,i,r)[t.getMonth()];case 1:return Tn(n,i,r)[t.getDay()];case 0:let o=t.getHours(),a=t.getMinutes();if(s){let l=Pn(n),d=Ln(n,i,r),m=l.findIndex(C=>{if(Array.isArray(C)){let[y,L]=C,p=o>=y.hours&&a>=y.minutes,E=o<L.hours||o===L.hours&&a<L.minutes;if(y.hours<L.hours){if(p&&E)return!0}else if(p||E)return!0}else if(C.hours===o&&C.minutes===a)return!0;return!1});if(m!==-1)return d[m]}return Fn(n,i,r)[o<12?0:1];case 3:return Mn(n,r)[t.getFullYear()<=0?0:1];default:let u=e;throw new Error(`unexpected translation type ${u}`)}}function xe(t){return function(n,e,r){let i=-1*r,s=De(e,k.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+P(o,2,s)+P(Math.abs(i%60),2,s);case 1:return"GMT"+(i>=0?"+":"")+P(o,1,s);case 2:return"GMT"+(i>=0?"+":"")+P(o,2,s)+":"+P(Math.abs(i%60),2,s);case 3:return r===0?"Z":(i>=0?"+":"")+P(o,2,s)+":"+P(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}var Rr=0,je=4;function Mr(t){let n=$e(t,Rr,1).getDay();return $e(t,0,1+(n<=je?je:je+7)-n)}function Bn(t){let n=t.getDay(),e=n===0?-3:je-n;return $e(t.getFullYear(),t.getMonth(),t.getDate()+e)}function ht(t,n=!1){return function(e,r){let i;if(n){let s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();i=1+Math.floor((o+s)/7)}else{let s=Bn(e),o=Mr(s.getFullYear()),a=s.getTime()-o.getTime();i=1+Math.round(a/6048e5)}return P(i,t,De(r,k.MinusSign))}}function Ue(t,n=!1){return function(e,r){let s=Bn(e).getFullYear();return P(s,t,De(r,k.MinusSign),n)}}var pt={};function Ir(t){if(pt[t])return pt[t];let n;switch(t){case"G":case"GG":case"GGG":n=D(3,h.Abbreviated);break;case"GGGG":n=D(3,h.Wide);break;case"GGGGG":n=D(3,h.Narrow);break;case"y":n=_(0,1,0,!1,!0);break;case"yy":n=_(0,2,0,!0,!0);break;case"yyy":n=_(0,3,0,!1,!0);break;case"yyyy":n=_(0,4,0,!1,!0);break;case"Y":n=Ue(1);break;case"YY":n=Ue(2,!0);break;case"YYY":n=Ue(3);break;case"YYYY":n=Ue(4);break;case"M":case"L":n=_(1,1,1);break;case"MM":case"LL":n=_(1,2,1);break;case"MMM":n=D(2,h.Abbreviated);break;case"MMMM":n=D(2,h.Wide);break;case"MMMMM":n=D(2,h.Narrow);break;case"LLL":n=D(2,h.Abbreviated,T.Standalone);break;case"LLLL":n=D(2,h.Wide,T.Standalone);break;case"LLLLL":n=D(2,h.Narrow,T.Standalone);break;case"w":n=ht(1);break;case"ww":n=ht(2);break;case"W":n=ht(1,!0);break;case"d":n=_(2,1);break;case"dd":n=_(2,2);break;case"c":case"cc":n=_(7,1);break;case"ccc":n=D(1,h.Abbreviated,T.Standalone);break;case"cccc":n=D(1,h.Wide,T.Standalone);break;case"ccccc":n=D(1,h.Narrow,T.Standalone);break;case"cccccc":n=D(1,h.Short,T.Standalone);break;case"E":case"EE":case"EEE":n=D(1,h.Abbreviated);break;case"EEEE":n=D(1,h.Wide);break;case"EEEEE":n=D(1,h.Narrow);break;case"EEEEEE":n=D(1,h.Short);break;case"a":case"aa":case"aaa":n=D(0,h.Abbreviated);break;case"aaaa":n=D(0,h.Wide);break;case"aaaaa":n=D(0,h.Narrow);break;case"b":case"bb":case"bbb":n=D(0,h.Abbreviated,T.Standalone,!0);break;case"bbbb":n=D(0,h.Wide,T.Standalone,!0);break;case"bbbbb":n=D(0,h.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":n=D(0,h.Abbreviated,T.Format,!0);break;case"BBBB":n=D(0,h.Wide,T.Format,!0);break;case"BBBBB":n=D(0,h.Narrow,T.Format,!0);break;case"h":n=_(3,1,-12);break;case"hh":n=_(3,2,-12);break;case"H":n=_(3,1);break;case"HH":n=_(3,2);break;case"m":n=_(4,1);break;case"mm":n=_(4,2);break;case"s":n=_(5,1);break;case"ss":n=_(5,2);break;case"S":n=_(6,1);break;case"SS":n=_(6,2);break;case"SSS":n=_(6,3);break;case"Z":case"ZZ":case"ZZZ":n=xe(0);break;case"ZZZZZ":n=xe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=xe(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=xe(2);break;default:return null}return pt[t]=n,n}function kn(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function Or(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function Pr(t,n,e){let i=t.getTimezoneOffset(),s=kn(n,i);return Or(t,-1*(s-i))}function Lr(t){if(vn(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,s=1,o=1]=t.split("-").map(a=>+a);return $e(i,s-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(_r))return Nr(r)}let n=new Date(t);if(!vn(n))throw new Error(`Unable to convert "${t}" into a date`);return n}function Nr(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,s=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,a=Number(t[5]||0)-r,u=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return s.call(n,o,a,u,l),n}function vn(t){return t instanceof Date&&!isNaN(t.valueOf())}var yt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:function(r){let i=null;return r?i=new r:i=(s=>new xn(s))(c(Ie)),i},providedIn:"root"})}return t})();function Br(t,n,e,r){let i=`=${t}`;if(n.indexOf(i)>-1||(i=e.getPluralCategory(t,r),n.indexOf(i)>-1))return i;if(n.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}var xn=(()=>{class t extends yt{locale;constructor(e){super(),this.locale=e}getPluralCategory(e,r){switch(In(r||this.locale)(e)){case Z.Zero:return"zero";case Z.One:return"one";case Z.Two:return"two";case Z.Few:return"few";case Z.Many:return"many";default:return"other"}}static \u0275fac=function(r){return new(r||t)(c(Ie))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),gt=/\s+/,An=[],kr=(()=>{class t{_ngEl;_renderer;initialClasses=An;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(gt):An}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(gt):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(gt).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(F(Te),F(Re))};static \u0275dir=ee({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var ze=class{$implicit;ngForOf;index;count;constructor(n,e,r,i){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Un=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((i,s,o)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new ze(i.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)r.remove(s===null?void 0:s);else if(s!==null){let a=r.get(s);r.move(a,o),_n(a,i)}});for(let i=0,s=r.length;i<s;i++){let a=r.get(i).context;a.index=i,a.count=s,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let s=r.get(i.currentIndex);_n(s,i)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(F(Me),F(at),F(ln))};static \u0275dir=ee({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function _n(t,n){t.context.$implicit=n.item}var xr=(()=>{class t{_viewContainer;_context=new Ve;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bn(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bn(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(F(Me),F(at))};static \u0275dir=ee({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Ve=class{$implicit=null;ngIf=null};function bn(t,n){if(t&&!t.createEmbeddedView)throw new v(2020,!1)}var Ur=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[i,s]=e.split("."),o=i.indexOf("-")===-1?void 0:H.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${r}${s}`:r,o):this._renderer.removeStyle(this._ngEl.nativeElement,i,o)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(F(Te),F(dn),F(Re))};static \u0275dir=ee({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),jr=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)(F(Me))};static \u0275dir=ee({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zt]})}return t})();function ye(t,n){return new v(2100,!1)}var mt=class{createSubscription(n,e){return lt(()=>n.subscribe({next:e,error:r=>{throw r}}))}dispose(n){lt(()=>n.unsubscribe())}},Dt=class{createSubscription(n,e){return n.then(r=>e?.(r),r=>{throw r}),{unsubscribe:()=>{e=null}}}dispose(n){n.unsubscribe()}},$r=new Dt,zr=new mt,Vr=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(on(e))return $r;if(an(e))return zr;throw ye(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(F(ct,16))};static \u0275pipe=te({name:"async",type:t,pure:!1})}return t})();var Hr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Gr=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw ye(t,e);return e.replace(Hr,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=te({name:"titlecase",type:t,pure:!0})}return t})();var Zr="mediumDate",jn=new g(""),$n=new g(""),Wr=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,s){if(e==null||e===""||e!==e)return null;try{let o=r??this.defaultOptions?.dateFormat??Zr,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Nn(e,o,s||this.locale,a)}catch(o){throw ye(t,o.message)}}static \u0275fac=function(r){return new(r||t)(F(Ie,16),F(jn,24),F($n,24))};static \u0275pipe=te({name:"date",type:t,pure:!0})}return t})(),Yr=/#/g,Xr=(()=>{class t{_localization;constructor(e){this._localization=e}transform(e,r,i){if(e==null)return"";if(typeof r!="object"||r===null)throw ye(t,r);let s=Br(e,Object.keys(r),this._localization,i);return r[s].replace(Yr,e.toString())}static \u0275fac=function(r){return new(r||t)(F(yt,16))};static \u0275pipe=te({name:"i18nPlural",type:t,pure:!0})}return t})();var Kr=(()=>{class t{transform(e,r,i){if(e==null)return null;if(!(typeof e=="string"||Array.isArray(e)))throw ye(t,e);return e.slice(r,i)}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=te({name:"slice",type:t,pure:!1})}return t})();var zn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=X({})}return t})();var Co=(()=>{class t{static \u0275prov=f({token:t,providedIn:"root",factory:()=>new Et(w(b),window)})}return t})(),Et=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Qr(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}};function Qr(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let s=i.shadowRoot;if(s){let o=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(o)return o}i=r.nextNode()}}return null}var Ze=new g(""),_t=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i,s){return this._findPluginFor(r).addEventListener(e,r,i,s)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(s=>s.supports(e)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(c(Ze),c(K))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Ee=class{_doc;constructor(n){this._doc=n}manager},He="ng-app-id";function Hn(t){for(let n of t)n.remove()}function Gn(t,n){let e=n.createElement("style");return e.textContent=t,e}function ei(t,n,e,r){let i=t.head?.querySelectorAll(`style[${He}="${n}"],link[${He}="${n}"]`);if(i)for(let s of i)s.removeAttribute(He),s instanceof HTMLLinkElement?r.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function vt(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var bt=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,r,i,s={}){this.doc=e,this.appId=r,this.nonce=i,this.isServer=Pe(s),ei(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Gn);r?.forEach(i=>this.addUsage(i,this.external,vt))}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 s=r.get(e);s?s.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Hn(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Hn(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Gn(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,vt(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(He,this.appId),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(c(b),c(it),c(st,8),c(J))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Ct={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"},St=/%COMP%/g;var Wn="%COMP%",ti=`_nghost-${Wn}`,ni=`_ngcontent-${Wn}`,ri=!0,ii=new g("",{providedIn:"root",factory:()=>ri});function si(t){return ni.replace(St,t)}function oi(t){return ti.replace(St,t)}function Yn(t,n){return n.map(e=>e.replace(St,t))}var Ft=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,s,o,a,u,l=null,d=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=a,this.ngZone=u,this.nonce=l,this.tracingService=d,this.platformIsServer=Pe(a),this.defaultRenderer=new we(e,o,u,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ce.ShadowDom&&(r=et($({},r),{encapsulation:ce.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof Ge?i.applyToHost(e):i instanceof Ce&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let o=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,m=this.platformIsServer,C=this.tracingService;switch(r.encapsulation){case ce.Emulated:s=new Ge(u,l,r,this.appId,d,o,a,m,C);break;case ce.ShadowDom:return new At(u,l,e,r,o,a,this.nonce,m,C);default:s=new Ce(u,l,r,d,o,a,m,C);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(c(_t),c(bt),c(it),c(ii),c(b),c(J),c(K),c(st),c(Kt,8))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),we=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,s){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=s}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Ct[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Zn(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Zn(n)?n.content:n).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 v(-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 s=Ct[i];s?n.setAttributeNS(s,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Ct[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){i&(H.DashCase|H.Important)?n.style.setProperty(e,r,i&H.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&H.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=N().getGlobalEventTarget(this.doc,n),!n))throw new v(5102,!1);let s=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,e,s)),this.eventManager.addEventListener(n,e,s,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Zn(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var At=class extends we{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,s,o,a,u,l){super(n,s,o,u,l),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=Yn(i.id,d);for(let C of d){let y=document.createElement("style");a&&y.setAttribute("nonce",a),y.textContent=C,this.shadowRoot.appendChild(y)}let m=i.getExternalStyles?.();if(m)for(let C of m){let y=vt(C,s);a&&y.setAttribute("nonce",a),this.shadowRoot.appendChild(y)}}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.removeHost(this.shadowRoot)}},Ce=class extends we{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,s,o,a,u,l){super(n,s,o,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=l?Yn(l,d):d,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ge=class extends Ce{contentAttr;hostAttr;constructor(n,e,r,i,s,o,a,u,l){let d=i+"-"+r.id;super(n,e,r,s,o,a,u,l,d),this.contentAttr=si(d),this.hostAttr=oi(d)}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 We=class t extends de{supportsDOMEvents=!0;static makeCurrent(){dt(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=ui();return e==null?null:ci(e)}resetBaseElement(){ve=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return le(document.cookie,n)}},ve=null;function ui(){return ve=ve||document.head.querySelector("base"),ve?ve.getAttribute("href"):null}function ci(t){return new URL(t,document.baseURI).pathname}var li=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Kn=(()=>{class t extends Ee{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,s){return e.addEventListener(r,i,s),()=>this.removeEventListener(e,r,i,s)}removeEventListener(e,r,i,s){return e.removeEventListener(r,i,s)}static \u0275fac=function(r){return new(r||t)(c(b))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Xn=["alt","control","meta","shift"],di={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fi={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Jn=(()=>{class t extends Ee{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,s){let o=t.parseEventName(r),a=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>N().onAndCancel(e,o.domEventName,a,s))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(r.pop()),o="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),o="code."),Xn.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),o+=l+".")}),o+=s,r.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=o,u}static matchEventFullKeyCode(e,r){let i=di[e.key]||e.key,s="";return r.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Xn.forEach(o=>{if(o!==i){let a=fi[o];a(e)&&(s+=o+".")}}),s+=i,s===r)}static eventCallback(e,r,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(c(b))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();function hi(t,n){return fn($({rootComponent:t},pi(n)))}function pi(t){return{appProviders:[...Ei,...t?.providers??[]],platformProviders:yi}}function gi(){We.makeCurrent()}function mi(){return new rt}function Di(){return Wt(document),document}var yi=[{provide:J,useValue:Oe},{provide:Yt,useValue:gi,multi:!0},{provide:b,useFactory:Di}];var Ei=[{provide:Vt,useValue:"root"},{provide:rt,useFactory:mi},{provide:Ze,useClass:Kn,multi:!0,deps:[b]},{provide:Ze,useClass:Jn,multi:!0,deps:[b]},Ft,bt,_t,{provide:sn,useExisting:Ft},{provide:G,useClass:li},[]];var ie=class{},Ae=class{},U=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),s=e.slice(r+1).trim();this.addHeaderEntry(i,s)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((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(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),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):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let s=n.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}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(s=>s.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 Xe=class{encodeKey(n){return qn(n)}encodeValue(n){return qn(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function wi(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,a]=s==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,s)),n.decodeValue(i.slice(s+1))],u=e.get(o)||[];u.push(a),e.set(o,u)}),e}var Ci=/%(\d[a-f0-9])/gi,vi={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qn(t){return encodeURIComponent(t).replace(Ci,(n,e)=>vi[e]??n)}function Ye(t){return`${t}`}var x=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Xe,n.fromString){if(n.fromObject)throw new v(2805,!1);this.map=wi(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(Ye):[Ye(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(s=>{e.push({param:r,value:s,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(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ye(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(Ye(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)}};var Ke=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()}};function Ai(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Qn(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function er(t){return typeof Blob<"u"&&t instanceof Blob}function tr(t){return typeof FormData<"u"&&t instanceof FormData}function _i(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var nr="Content-Type",rr="Accept",sr="X-Request-URL",or="text/plain",ar="application/json",bi=`${ar}, ${or}, */*`,re=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let s;if(Ai(this.method)||i?(this.body=r!==void 0?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new U,this.context??=new Ke,!this.params)this.params=new x,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Qn(this.body)||er(this.body)||tr(this.body)||_i(this.body)?this.body:this.body instanceof x?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||tr(this.body)?null:er(this.body)?this.body.type||null:Qn(this.body)?null:typeof this.body=="string"?or:this.body instanceof x?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ar:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,s=n.transferCache??this.transferCache,o=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,u=n.reportProgress??this.reportProgress,l=n.headers||this.headers,d=n.params||this.params,m=n.context??this.context;return n.setHeaders!==void 0&&(l=Object.keys(n.setHeaders).reduce((C,y)=>C.set(y,n.setHeaders[y]),l)),n.setParams&&(d=Object.keys(n.setParams).reduce((C,y)=>C.set(y,n.setParams[y]),d)),new t(e,r,o,{params:d,headers:l,context:m,reportProgress:u,responseType:i,withCredentials:a,transferCache:s})}},W=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(W||{}),se=class{headers;status;statusText;url;ok;type;constructor(n,e=200,r="OK"){this.headers=n.headers||new U,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Je=class t extends se{constructor(n={}){super(n)}type=W.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})}},Y=class t extends se{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=W.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})}},_e=class extends se{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}},Si=200,Fi=204;function Tt(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var ur=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof re)s=e;else{let u;i.headers instanceof U?u=i.headers:u=new U(i.headers);let l;i.params&&(i.params instanceof x?l=i.params:l=new x({fromObject:i.params})),s=new re(e,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=ae(s).pipe(jt(u=>this.handler.handle(u)));if(e instanceof re||i.observe==="events")return o;let a=o.pipe(Ut(u=>u instanceof Y));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new v(2806,!1);return u.body}));case"blob":return a.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new v(2807,!1);return u.body}));case"text":return a.pipe(ue(u=>{if(u.body!==null&&typeof u.body!="string")throw new v(2808,!1);return u.body}));case"json":default:return a.pipe(ue(u=>u.body))}case"response":return a;default:throw new v(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 x().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,Tt(i,r))}post(e,r,i={}){return this.request("POST",e,Tt(i,r))}put(e,r,i={}){return this.request("PUT",e,Tt(i,r))}static \u0275fac=function(r){return new(r||t)(c(ie))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();var Ti=new g("");function cr(t,n){return n(t)}function Ri(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function Mi(t,n,e){return(r,i)=>Gt(e,()=>n(r,s=>t(s,i)))}var lr=new g(""),Mt=new g(""),It=new g(""),Ot=new g("",{providedIn:"root",factory:()=>!0});function Ii(){let t=null;return(n,e)=>{t===null&&(t=(w(lr,{optional:!0})??[]).reduceRight(Ri,cr));let r=w(nt);if(w(Ot)){let s=r.add();return t(n,e).pipe(tt(()=>r.remove(s)))}else return t(n,e)}}var qe=(()=>{class t extends ie{backend;injector;chain=null;pendingTasks=w(nt);contributeToStability=w(Ot);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Mt),...this.injector.get(It,[])]));this.chain=r.reduceRight((i,s)=>Mi(i,s,this.injector),cr)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(tt(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(c(Ae),c(Ht))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();var Oi=/^\)\]\}',?\n/,Pi=RegExp(`^${sr}:`,"m");function Li(t){return"responseURL"in t&&t.responseURL?t.responseURL:Pi.test(t.getAllResponseHeaders())?t.getResponseHeader(sr):null}var Rt=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?xt(r.\u0275loadImpl()):ae(null)).pipe($t(()=>new Bt(s=>{let o=r.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((p,E)=>o.setRequestHeader(p,E.join(","))),e.headers.has(rr)||o.setRequestHeader(rr,bi),!e.headers.has(nr)){let p=e.detectContentTypeHeader();p!==null&&o.setRequestHeader(nr,p)}if(e.responseType){let p=e.responseType.toLowerCase();o.responseType=p!=="json"?p:"text"}let a=e.serializeBody(),u=null,l=()=>{if(u!==null)return u;let p=o.statusText||"OK",E=new U(o.getAllResponseHeaders()),j=Li(o)||e.url;return u=new Je({headers:E,status:o.status,statusText:p,url:j}),u},d=()=>{let{headers:p,status:E,statusText:j,url:Se}=l(),S=null;E!==Fi&&(S=typeof o.response>"u"?o.responseText:o.response),E===0&&(E=S?Si:0);let oe=E>=200&&E<300;if(e.responseType==="json"&&typeof S=="string"){let mr=S;S=S.replace(Oi,"");try{S=S!==""?JSON.parse(S):null}catch(Dr){S=mr,oe&&(oe=!1,S={error:Dr,text:S})}}oe?(s.next(new Y({body:S,headers:p,status:E,statusText:j,url:Se||void 0})),s.complete()):s.error(new _e({error:S,headers:p,status:E,statusText:j,url:Se||void 0}))},m=p=>{let{url:E}=l(),j=new _e({error:p,status:o.status||0,statusText:o.statusText||"Unknown Error",url:E||void 0});s.error(j)},C=!1,y=p=>{C||(s.next(l()),C=!0);let E={type:W.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(E.total=p.total),e.responseType==="text"&&o.responseText&&(E.partialText=o.responseText),s.next(E)},L=p=>{let E={type:W.UploadProgress,loaded:p.loaded};p.lengthComputable&&(E.total=p.total),s.next(E)};return o.addEventListener("load",d),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),e.reportProgress&&(o.addEventListener("progress",y),a!==null&&o.upload&&o.upload.addEventListener("progress",L)),o.send(a),s.next({type:W.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",d),o.removeEventListener("timeout",m),e.reportProgress&&(o.removeEventListener("progress",y),a!==null&&o.upload&&o.upload.removeEventListener("progress",L)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(r){return new(r||t)(c(G))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),dr=new g(""),Ni="XSRF-TOKEN",Bi=new g("",{providedIn:"root",factory:()=>Ni}),ki="X-XSRF-TOKEN",xi=new g("",{providedIn:"root",factory:()=>ki}),be=class{},Ui=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=le(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(c(b),c(Bi))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();function ji(t,n){let e=t.url.toLowerCase();if(!w(dr)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=w(be).getToken(),i=w(xi);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}var Pt=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}(Pt||{});function $i(t,n){return{\u0275kind:t,\u0275providers:n}}function fr(...t){let n=[ur,Rt,qe,{provide:ie,useExisting:qe},{provide:Ae,useFactory:()=>w(Ti,{optional:!0})??w(Rt)},{provide:Mt,useValue:ji,multi:!0},{provide:dr,useValue:!0},{provide:be,useClass:Ui}];for(let e of t)n.push(...e.\u0275providers);return Fe(n)}var ir=new g("");function hr(){return $i(Pt.LegacyInterceptors,[{provide:ir,useFactory:Ii},{provide:Mt,useExisting:ir,multi:!0}])}var zi=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=X({providers:[fr(hr())]})}return t})();var Vi=new g(""),Hi="b",Gi="h",Zi="s",Wi="st",Yi="u",Xi="rt",Lt=new g(""),Ki=["GET","HEAD"];function Ji(t,n){let C=w(Lt),{isCacheActive:e}=C,r=Nt(C,["isCacheActive"]),{transferCache:i,method:s}=t;if(!e||i===!1||s==="POST"&&!r.includePostRequests&&!i||s!=="POST"&&!Ki.includes(s)||!r.includeRequestsWithAuthHeaders&&qi(t)||r.filter?.(t)===!1)return n(t);let o=w(Xt);if(w(Vi,{optional:!0}))throw new v(2803,!1);let u=t.url,l=Qi(t,u),d=o.get(l,null),m=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(m=i.includeHeaders),d){let{[Hi]:y,[Xi]:L,[Gi]:p,[Zi]:E,[Wi]:j,[Yi]:Se}=d,S=y;switch(L){case"arraybuffer":S=new TextEncoder().encode(y).buffer;break;case"blob":S=new Blob([y]);break}let oe=new U(p);return ae(new Y({body:S,headers:oe,status:E,statusText:j,url:Se}))}return n(t).pipe(zt(y=>{y instanceof Y}))}function qi(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function pr(t){return[...t.keys()].sort().map(n=>`${n}=${t.getAll(n)}`).join("&")}function Qi(t,n){let{params:e,method:r,responseType:i}=t,s=pr(e),o=t.serializeBody();o instanceof URLSearchParams?o=pr(o):typeof o!="string"&&(o="");let a=[r,i,n,o,s].join("|"),u=es(a);return u}function es(t){let n=0;for(let e of t)n=Math.imul(31,n)+e.charCodeAt(0)<<0;return n+=2147483648,n.toString()}function gr(t){return[{provide:Lt,useFactory:()=>(ot("NgHttpTransferCache"),$({isCacheActive:!0},t))},{provide:It,useValue:Ji,multi:!0},{provide:un,multi:!0,useFactory:()=>{let n=w(ut),e=w(Lt);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var iu=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(c(b))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ts=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=f({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=c(ns),i},providedIn:"root"})}return t})(),ns=(()=>{class t extends ts{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case V.NONE:return r;case V.HTML:return q(r,"HTML")?z(r):rn(this._doc,String(r)).toString();case V.STYLE:return q(r,"Style")?z(r):r;case V.SCRIPT:if(q(r,"Script"))return z(r);throw new v(5200,!1);case V.URL:return q(r,"URL")?z(r):nn(String(r));case V.RESOURCE_URL:if(q(r,"ResourceURL"))return z(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(e){return Jt(e)}bypassSecurityTrustStyle(e){return qt(e)}bypassSecurityTrustScript(e){return Qt(e)}bypassSecurityTrustUrl(e){return en(e)}bypassSecurityTrustResourceUrl(e){return tn(e)}static \u0275fac=function(r){return new(r||t)(c(b))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qe=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}(Qe||{});function rs(t,n=[],e={}){return{\u0275kind:t,\u0275providers:n}}function su(){return rs(Qe.EventReplay,hn())}function ou(...t){let n=[],e=new Set;for(let{\u0275providers:i,\u0275kind:s}of t)e.add(s),i.length&&n.push(i);let r=e.has(Qe.HttpTransferCacheOptions);return Fe([[],pn(),e.has(Qe.NoHttpTransferCache)||r?[]:gr({}),n])}export{b as a,N as b,Er as c,ne as d,wn as e,Cn as f,Ar as g,Nn as h,kr as i,Un as j,xr as k,Ur as l,jr as m,Vr as n,Gr as o,Wr as p,Xr as q,Kr as r,zn as s,yr as t,Co as u,Ft as v,hi as w,U as x,x as y,ur as z,lr as A,fr as B,hr as C,zi as D,iu as E,ts as F,su as G,ou as H};