import{$ as Ce,$a as A,Fb as ve,Gb as y,Hb as m,Pb as ie,Va as te,X as me,Xa as ne,Y as Fe,Ya as ye,_ as O,ca as x,cb as Se,da as P,ea as N,ga as Ee,hb as j,ia as we,ic as re,ja as $,jc as be,ka as ee,la as Ae}from"./chunk-PEWEDMBK.js";var xe=null;function se(){return xe}function vn(e){xe??=e}var _e=class{},Ne=new x(""),$e=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=O({token:t,factory:()=>N(Ze),providedIn:"platform"});let e=t;return e})();var Ze=(()=>{let t=class t extends $e{constructor(){super(),this._doc=N(Ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(n){let i=se().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=se().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,r){this._history.pushState(n,i,r)}replaceState(n,i,r){this._history.replaceState(n,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=O({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ue(e,t){if(e.length==0)return t;if(t.length==0)return e;let s=0;return e.endsWith("/")&&s++,t.startsWith("/")&&s++,s==2?e+t.substring(1):s==1?e+t:e+"/"+t}function Ie(e){let t=e.match(/#|\?|$/),s=t&&t.index||e.length,n=s-(e[s-1]==="/"?1:0);return e.slice(0,n)+e.slice(s)}function R(e){return e&&e[0]!=="?"?"?"+e:e}var De=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=O({token:t,factory:()=>N(Ke),providedIn:"root"});let e=t;return e})(),We=new x(""),Ke=(()=>{let t=class t extends De{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??N(Ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ue(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+R(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,u){let o=this.prepareExternalUrl(r+R(u));this._platformLocation.pushState(n,i,o)}replaceState(n,i,r,u){let o=this.prepareExternalUrl(r+R(u));this._platformLocation.replaceState(n,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(i){return new(i||t)(P($e),P(We,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Xe=(()=>{let t=class t{constructor(n){this._subject=new Se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Qe(Ie(Me(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+R(i))}normalize(n){return t.stripTrailingSlash(Je(this._basePath,Me(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+R(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+R(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i,complete:r})}};t.normalizeQueryParams=R,t.joinWithSlash=Ue,t.stripTrailingSlash=Ie,t.\u0275fac=function(i){return new(i||t)(P(De))},t.\u0275prov=O({token:t,factory:()=>qe(),providedIn:"root"});let e=t;return e})();function qe(){return new Xe(P(De))}function Je(e,t){if(!e||!t.startsWith(e))return t;let s=t.substring(e.length);return s===""||["/",";","?","#"].includes(s[0])?s:t}function Me(e){return e.replace(/\/index.html$/,"")}function Qe(e){if(new RegExp("^(https?:)?//").test(e)){let[,s]=e.split(/\/\/[^\/]+/);return s}return e}var ze={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},je=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(je||{});var w=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(w||{}),h=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(h||{}),v=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(v||{}),S=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(S||{});function et(e){return y(e)[m.LocaleId]}function tt(e,t,s){let n=y(e),i=[n[m.DayPeriodsFormat],n[m.DayPeriodsStandalone]],r=b(i,t);return b(r,s)}function nt(e,t,s){let n=y(e),i=[n[m.DaysFormat],n[m.DaysStandalone]],r=b(i,t);return b(r,s)}function it(e,t,s){let n=y(e),i=[n[m.MonthsFormat],n[m.MonthsStandalone]],r=b(i,t);return b(r,s)}function rt(e,t){let n=y(e)[m.Eras];return b(n,t)}function G(e,t){let s=y(e);return b(s[m.DateFormat],t)}function V(e,t){let s=y(e);return b(s[m.TimeFormat],t)}function H(e,t){let n=y(e)[m.DateTimeFormat];return b(n,t)}function M(e,t){let s=y(e),n=s[m.NumberSymbols][t];if(typeof n>"u"){if(t===S.CurrencyDecimal)return s[m.NumberSymbols][S.Decimal];if(t===S.CurrencyGroup)return s[m.NumberSymbols][S.Group]}return n}function st(e,t){return y(e)[m.NumberFormats][t]}function ut(e){return y(e)[m.Currencies]}function Ge(e){if(!e[m.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[m.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ot(e){let t=y(e);return Ge(t),(t[m.ExtraData][2]||[]).map(n=>typeof n=="string"?ue(n):[ue(n[0]),ue(n[1])])}function at(e,t,s){let n=y(e);Ge(n);let i=[n[m.ExtraData][0],n[m.ExtraData][1]],r=b(i,t)||[];return b(r,s)||[]}function b(e,t){for(let s=t;s>-1;s--)if(typeof e[s]<"u")return e[s];throw new Error("Locale data API: locale data undefined")}function ue(e){let[t,s]=e.split(":");return{hours:+t,minutes:+s}}function ct(e,t,s="en"){let n=ut(s)[e]||ze[e]||[],i=n[1];return t==="narrow"&&typeof i=="string"?i:n[0]||e}var dt=2;function lt(e){let t,s=ze[e];return s&&(t=s[2]),typeof t=="number"?t:dt}var ft=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},ht=/((?:[^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]*)/,B=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(B||{}),l=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(l||{}),d=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(d||{});function Dt(e,t,s,n){let i=yt(e);t=I(s,t)||t;let u=[],o;for(;t;)if(o=ht.exec(t),o){u=u.concat(o.slice(1));let g=u.pop();if(!g)break;t=g}else{u.push(t);break}let a=i.getTimezoneOffset();n&&(a=He(n,a),i=At(i,n,!0));let f="";return u.forEach(g=>{let c=Et(g);f+=c?c(i,s,a):g==="''"?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),f}function q(e,t,s){let n=new Date(0);return n.setFullYear(e,t,s),n.setHours(0,0,0),n}function I(e,t){let s=et(e);if(Y[s]??={},Y[s][t])return Y[s][t];let n="";switch(t){case"shortDate":n=G(e,v.Short);break;case"mediumDate":n=G(e,v.Medium);break;case"longDate":n=G(e,v.Long);break;case"fullDate":n=G(e,v.Full);break;case"shortTime":n=V(e,v.Short);break;case"mediumTime":n=V(e,v.Medium);break;case"longTime":n=V(e,v.Long);break;case"fullTime":n=V(e,v.Full);break;case"short":let i=I(e,"shortTime"),r=I(e,"shortDate");n=Z(H(e,v.Short),[i,r]);break;case"medium":let u=I(e,"mediumTime"),o=I(e,"mediumDate");n=Z(H(e,v.Medium),[u,o]);break;case"long":let a=I(e,"longTime"),f=I(e,"longDate");n=Z(H(e,v.Long),[a,f]);break;case"full":let g=I(e,"fullTime"),c=I(e,"fullDate");n=Z(H(e,v.Full),[g,c]);break}return n&&(Y[s][t]=n),n}function Z(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(s,n){return t!=null&&n in t?t[n]:s})),e}function _(e,t,s="-",n,i){let r="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r=s));let u=String(e);for(;u.length0||o>-s)&&(o+=s),e===l.Hours)o===0&&s===-12&&(o=12);else if(e===l.FractionalSeconds)return gt(o,t);let a=M(u,S.MinusSign);return _(o,t,a,n,i)}}function pt(e,t){switch(e){case l.FullYear:return t.getFullYear();case l.Month:return t.getMonth();case l.Date:return t.getDate();case l.Hours:return t.getHours();case l.Minutes:return t.getMinutes();case l.Seconds:return t.getSeconds();case l.FractionalSeconds:return t.getMilliseconds();case l.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function D(e,t,s=w.Format,n=!1){return function(i,r){return mt(i,r,e,t,s,n)}}function mt(e,t,s,n,i,r){switch(s){case d.Months:return it(t,i,n)[e.getMonth()];case d.Days:return nt(t,i,n)[e.getDay()];case d.DayPeriods:let u=e.getHours(),o=e.getMinutes();if(r){let f=ot(t),g=at(t,i,n),c=f.findIndex(C=>{if(Array.isArray(C)){let[p,E]=C,k=u>=p.hours&&o>=p.minutes,L=u0?Math.floor(i/60):Math.ceil(i/60);switch(e){case B.Short:return(i>=0?"+":"")+_(u,2,r)+_(Math.abs(i%60),2,r);case B.ShortGMT:return"GMT"+(i>=0?"+":"")+_(u,1,r);case B.Long:return"GMT"+(i>=0?"+":"")+_(u,2,r)+":"+_(Math.abs(i%60),2,r);case B.Extended:return n===0?"Z":(i>=0?"+":"")+_(u,2,r)+":"+_(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Ft=0,X=4;function Ct(e){let t=q(e,Ft,1).getDay();return q(e,0,1+(t<=X?X:X+7)-t)}function Ve(e){let t=e.getDay(),s=t===0?-3:X-t;return q(e.getFullYear(),e.getMonth(),e.getDate()+s)}function oe(e,t=!1){return function(s,n){let i;if(t){let r=new Date(s.getFullYear(),s.getMonth(),1).getDay()-1,u=s.getDate();i=1+Math.floor((u+r)/7)}else{let r=Ve(s),u=Ct(r.getFullYear()),o=r.getTime()-u.getTime();i=1+Math.round(o/6048e5)}return _(i,e,M(n,S.MinusSign))}}function K(e,t=!1){return function(s,n){let r=Ve(s).getFullYear();return _(r,e,M(n,S.MinusSign),t)}}var ae={};function Et(e){if(ae[e])return ae[e];let t;switch(e){case"G":case"GG":case"GGG":t=D(d.Eras,h.Abbreviated);break;case"GGGG":t=D(d.Eras,h.Wide);break;case"GGGGG":t=D(d.Eras,h.Narrow);break;case"y":t=F(l.FullYear,1,0,!1,!0);break;case"yy":t=F(l.FullYear,2,0,!0,!0);break;case"yyy":t=F(l.FullYear,3,0,!1,!0);break;case"yyyy":t=F(l.FullYear,4,0,!1,!0);break;case"Y":t=K(1);break;case"YY":t=K(2,!0);break;case"YYY":t=K(3);break;case"YYYY":t=K(4);break;case"M":case"L":t=F(l.Month,1,1);break;case"MM":case"LL":t=F(l.Month,2,1);break;case"MMM":t=D(d.Months,h.Abbreviated);break;case"MMMM":t=D(d.Months,h.Wide);break;case"MMMMM":t=D(d.Months,h.Narrow);break;case"LLL":t=D(d.Months,h.Abbreviated,w.Standalone);break;case"LLLL":t=D(d.Months,h.Wide,w.Standalone);break;case"LLLLL":t=D(d.Months,h.Narrow,w.Standalone);break;case"w":t=oe(1);break;case"ww":t=oe(2);break;case"W":t=oe(1,!0);break;case"d":t=F(l.Date,1);break;case"dd":t=F(l.Date,2);break;case"c":case"cc":t=F(l.Day,1);break;case"ccc":t=D(d.Days,h.Abbreviated,w.Standalone);break;case"cccc":t=D(d.Days,h.Wide,w.Standalone);break;case"ccccc":t=D(d.Days,h.Narrow,w.Standalone);break;case"cccccc":t=D(d.Days,h.Short,w.Standalone);break;case"E":case"EE":case"EEE":t=D(d.Days,h.Abbreviated);break;case"EEEE":t=D(d.Days,h.Wide);break;case"EEEEE":t=D(d.Days,h.Narrow);break;case"EEEEEE":t=D(d.Days,h.Short);break;case"a":case"aa":case"aaa":t=D(d.DayPeriods,h.Abbreviated);break;case"aaaa":t=D(d.DayPeriods,h.Wide);break;case"aaaaa":t=D(d.DayPeriods,h.Narrow);break;case"b":case"bb":case"bbb":t=D(d.DayPeriods,h.Abbreviated,w.Standalone,!0);break;case"bbbb":t=D(d.DayPeriods,h.Wide,w.Standalone,!0);break;case"bbbbb":t=D(d.DayPeriods,h.Narrow,w.Standalone,!0);break;case"B":case"BB":case"BBB":t=D(d.DayPeriods,h.Abbreviated,w.Format,!0);break;case"BBBB":t=D(d.DayPeriods,h.Wide,w.Format,!0);break;case"BBBBB":t=D(d.DayPeriods,h.Narrow,w.Format,!0);break;case"h":t=F(l.Hours,1,-12);break;case"hh":t=F(l.Hours,2,-12);break;case"H":t=F(l.Hours,1);break;case"HH":t=F(l.Hours,2);break;case"m":t=F(l.Minutes,1);break;case"mm":t=F(l.Minutes,2);break;case"s":t=F(l.Seconds,1);break;case"ss":t=F(l.Seconds,2);break;case"S":t=F(l.FractionalSeconds,1);break;case"SS":t=F(l.FractionalSeconds,2);break;case"SSS":t=F(l.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=W(B.Short);break;case"ZZZZZ":t=W(B.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=W(B.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=W(B.Long);break;default:return null}return ae[e]=t,t}function He(e,t){e=e.replace(/:/g,"");let s=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(s)?t:s}function wt(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function At(e,t,s){let n=s?-1:1,i=e.getTimezoneOffset(),r=He(t,i);return wt(e,n*(r-i))}function yt(e){if(Be(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[i,r=1,u=1]=e.split("-").map(o=>+o);return q(i,r-1,u)}let s=parseFloat(e);if(!isNaN(e-s))return new Date(s);let n;if(n=e.match(ft))return St(n)}let t=new Date(e);if(!Be(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function St(e){let t=new Date(0),s=0,n=0,i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(s=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let u=Number(e[4]||0)-s,o=Number(e[5]||0)-n,a=Number(e[6]||0),f=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,u,o,a,f),t}function Be(e){return e instanceof Date&&!isNaN(e.valueOf())}var vt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Le=22,J=".",U="0",bt=";",_t=",",ce="#",Oe="\xA4";function It(e,t,s,n,i,r,u=!1){let o="",a=!1;if(!isFinite(e))o=M(s,S.Infinity);else{let f=Ot(e);u&&(f=Lt(f));let g=t.minInt,c=t.minFrac,C=t.maxFrac;if(r){let T=r.match(vt);if(T===null)throw new Error(`${r} is not a valid digit info`);let ge=T[1],Q=T[3],pe=T[5];ge!=null&&(g=de(ge)),Q!=null&&(c=de(Q)),pe!=null?C=de(pe):Q!=null&&c>C&&(C=c)}Rt(f,c,C);let p=f.digits,E=f.integerLen,k=f.exponent,L=[];for(a=p.every(T=>!T);E0?L=p.splice(E,p.length):(L=p,p=[0]);let z=[];for(p.length>=t.lgSize&&z.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)z.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&z.unshift(p.join("")),o=z.join(M(s,n)),L.length&&(o+=M(s,i)+L.join("")),k&&(o+=M(s,S.Exponential)+"+"+k)}return e<0&&!a?o=t.negPre+o+t.negSuf:o=t.posPre+o+t.posSuf,o}function Mt(e,t,s,n,i){let r=st(t,je.Currency),u=Bt(r,M(t,S.MinusSign));return u.minFrac=lt(n),u.maxFrac=u.minFrac,It(e,u,t,S.CurrencyGroup,S.CurrencyDecimal,i).replace(Oe,s).replace(Oe,"").trim()}function Bt(e,t="-"){let s={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(bt),i=n[0],r=n[1],u=i.indexOf(J)!==-1?i.split(J):[i.substring(0,i.lastIndexOf(U)+1),i.substring(i.lastIndexOf(U)+1)],o=u[0],a=u[1]||"";s.posPre=o.substring(0,o.indexOf(ce));for(let g=0;g-1&&(t=t.replace(J,"")),(r=t.search(/e/i))>0?(i<0&&(i=r),i+=+t.slice(r+1),t=t.substring(0,r)):i<0&&(i=t.length),r=0;t.charAt(r)===U;r++);if(r===(o=t.length))n=[0],i=1;else{for(o--;t.charAt(o)===U;)o--;for(i-=r,n=[],u=0;r<=o;r++,u++)n[u]=Number(t.charAt(r))}return i>Le&&(n=n.splice(0,Le-1),s=i-1,i=1),{digits:n,exponent:s,integerLen:i}}function Rt(e,t,s){if(t>s)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${s}).`);let n=e.digits,i=n.length-e.integerLen,r=Math.min(Math.max(t,i),s),u=r+e.integerLen,o=n[u];if(u>0){n.splice(Math.max(e.integerLen,u));for(let c=u;c=5)if(u-1<0){for(let c=0;c>u;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[u-1]++;for(;i=f?E.pop():a=!1),C>=10?1:0},0);g&&(n.unshift(g),e.integerLen++)}function de(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function bn(e,t,s){return ve(e,t,s)}function _n(e,t){t=encodeURIComponent(t);for(let s of e.split(";")){let n=s.indexOf("="),[i,r]=n==-1?[s,""]:[s.slice(0,n),s.slice(n+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}var le=/\s+/,Re=[],In=(()=>{let t=class t{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Re,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(le):Re}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(le):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(le).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};t.\u0275fac=function(i){return new(i||t)(A(te),A(ne))},t.\u0275dir=$({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ee.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var fe=class{constructor(t,s,n,i){this.$implicit=t,this.ngForOf=s,this.index=n,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}},Mn=(()=>{let t=class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,u,o)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new fe(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)i.remove(u===null?void 0:u);else if(u!==null){let a=i.get(u);i.move(a,o),Te(a,r)}});for(let r=0,u=i.length;r{let u=i.get(r.currentIndex);Te(u,r)})}static ngTemplateContextGuard(n,i){return!0}};t.\u0275fac=function(i){return new(i||t)(A(j),A(ie),A(ye))},t.\u0275dir=$({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let e=t;return e})();function Te(e,t){e.context.$implicit=t.item}var Bn=(()=>{let t=class t{constructor(n,i){this._viewContainer=n,this._context=new he,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Pe("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Pe("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};t.\u0275fac=function(i){return new(i||t)(A(j),A(ie))},t.\u0275dir=$({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),he=class{constructor(){this.$implicit=null,this.ngIf=null}};function Pe(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Fe(t)}'.`)}var Ln=(()=>{let t=class t{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};t.\u0275fac=function(i){return new(i||t)(A(j))},t.\u0275dir=$({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ae]});let e=t;return e})();function Ye(e,t){return new me(2100,!1)}var Tt="mediumDate",Pt=new x(""),kt=new x(""),On=(()=>{let t=class t{constructor(n,i,r){this.locale=n,this.defaultTimezone=i,this.defaultOptions=r}transform(n,i,r,u){if(n==null||n===""||n!==n)return null;try{let o=i??this.defaultOptions?.dateFormat??Tt,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Dt(n,o,u||this.locale,a)}catch(o){throw Ye(t,o.message)}}};t.\u0275fac=function(i){return new(i||t)(A(re,16),A(Pt,24),A(kt,24))},t.\u0275pipe=ee({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var Rn=(()=>{let t=class t{constructor(n,i="USD"){this._locale=n,this._defaultCurrencyCode=i}transform(n,i=this._defaultCurrencyCode,r="symbol",u,o){if(!xt(n))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let a=i||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?a=ct(a,r==="symbol"?"wide":"narrow",o):a=r);try{let f=Nt(n);return Mt(f,o,a,i,u)}catch(f){throw Ye(t,f.message)}}};t.\u0275fac=function(i){return new(i||t)(A(re,16),A(be,16))},t.\u0275pipe=ee({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function xt(e){return!(e==null||e===""||e!==e)}function Nt(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var Tn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=we({type:t}),t.\u0275inj=Ce({});let e=t;return e})(),$t="browser",Ut="server";function Pn(e){return e===$t}function kn(e){return e===Ut}var ke=class{};export{se as a,vn as b,_e as c,Ne as d,De as e,Xe as f,bn as g,_n as h,In as i,Mn as j,Bn as k,Ln as l,On as m,Rn as n,Tn as o,$t as p,Pn as q,kn as r,ke as s};