@duplicati/ngclient 0.0.74 → 0.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/assets/spk.woff2 +0 -0
  2. package/chunk-2K3CR66C.js +1 -0
  3. package/chunk-3CRA7LUM.js +1 -0
  4. package/chunk-3LITUWIH.js +3 -0
  5. package/{chunk-MYVJZFYR.js → chunk-4OE5GJEY.js} +1 -1
  6. package/chunk-5K2CQFVP.js +1 -0
  7. package/chunk-6SIZVSDW.js +2 -0
  8. package/chunk-7KWOTSVE.js +1 -0
  9. package/{chunk-LJFKKI57.js → chunk-7P2RW65H.js} +1 -1
  10. package/chunk-7QPDYG2R.js +1 -0
  11. package/{chunk-77KHDJR7.js → chunk-7WKWA7QK.js} +1 -1
  12. package/chunk-AGD6LHBQ.js +1 -0
  13. package/chunk-BLF5NVEW.js +1 -0
  14. package/{chunk-CAGBL2MP.js → chunk-BRTUMDFG.js} +1 -1
  15. package/{chunk-FCPUMFVG.js → chunk-CS4VRCLU.js} +1 -1
  16. package/{chunk-VUVQIS7G.js → chunk-DVV65XF4.js} +1 -1
  17. package/{chunk-PRKOHXBN.js → chunk-EW42J6OZ.js} +1 -1
  18. package/chunk-F4G2WAF6.js +1 -0
  19. package/{chunk-L5ZZZJEY.js → chunk-F7KC3CMY.js} +1 -1
  20. package/{chunk-GJ6GRAEW.js → chunk-FOHDLUCC.js} +1 -1
  21. package/{chunk-VJQDP23H.js → chunk-G7YGQ54D.js} +1 -1
  22. package/{chunk-OT7JK3TS.js → chunk-HDBZ3ISU.js} +1 -1
  23. package/{chunk-43QTP63M.js → chunk-HXGHAEWC.js} +1 -1
  24. package/{chunk-BY56DZ7Y.js → chunk-HZOYOR46.js} +1 -1
  25. package/chunk-IKTCS2AI.js +1 -0
  26. package/chunk-ILPTEKIT.js +1 -0
  27. package/{chunk-RBVR4WTJ.js → chunk-IN72UOWN.js} +1 -1
  28. package/{chunk-ROIHQL5Y.js → chunk-IWSFC3I6.js} +1 -1
  29. package/chunk-JOBMLOGZ.js +1 -0
  30. package/{chunk-VKMKZKNR.js → chunk-JZOCG4KQ.js} +1 -1
  31. package/{chunk-KYQC46J2.js → chunk-KHIKPOXK.js} +1 -1
  32. package/{chunk-ANP5WEOJ.js → chunk-KPP5HW6S.js} +1 -1
  33. package/{chunk-C6ELLTE3.js → chunk-KRXCULQR.js} +1 -1
  34. package/{chunk-UJWW7PS7.js → chunk-LFQXDL42.js} +1 -1
  35. package/{chunk-6CRYB4HA.js → chunk-MHZPUJQF.js} +1 -1
  36. package/{chunk-2QQJM43S.js → chunk-N4ZZA3JQ.js} +1 -1
  37. package/{chunk-BEBLA2OU.js → chunk-NDQ5RFC6.js} +1 -1
  38. package/chunk-NVTD7IP4.js +1 -0
  39. package/{chunk-5KGMNBD7.js → chunk-O3XPW5NY.js} +1 -1
  40. package/chunk-OEWX26UE.js +1 -0
  41. package/{chunk-Z2E5LWHA.js → chunk-ONPMD5AY.js} +1 -1
  42. package/chunk-OYXHFCSL.js +1 -0
  43. package/{chunk-22GS6UCG.js → chunk-PTG2C2YJ.js} +1 -1
  44. package/chunk-Q4JQCY64.js +1 -0
  45. package/chunk-QDAWQNBQ.js +7 -0
  46. package/{chunk-AF7PONVK.js → chunk-QI7DMSHZ.js} +1 -1
  47. package/{chunk-MLT3FZMW.js → chunk-RBT353UU.js} +1 -1
  48. package/{chunk-4RXB65JX.js → chunk-SRMNNICE.js} +1 -1
  49. package/chunk-TL325ZMY.js +1 -0
  50. package/{chunk-KJ4O6F3R.js → chunk-TQE7OBBP.js} +1 -1
  51. package/{chunk-EHIW67S3.js → chunk-TRNWEHWA.js} +1 -1
  52. package/chunk-UNJ66CNQ.js +1 -0
  53. package/{chunk-GK7T43YY.js → chunk-US4WRUST.js} +1 -1
  54. package/{chunk-Y7LSDVD6.js → chunk-VFTEC7DW.js} +1 -1
  55. package/{chunk-X6RAHZJI.js → chunk-VKHZOVLO.js} +1 -1
  56. package/chunk-WF5PRSGZ.js +6 -0
  57. package/chunk-WX6WWOS5.js +1 -0
  58. package/{chunk-Z5NZYMJN.js → chunk-XFRVNXF6.js} +1 -1
  59. package/chunk-XKSLV5L6.js +1 -0
  60. package/chunk-XLU5TCBE.js +1 -0
  61. package/{chunk-GXX5QXLE.js → chunk-Z5FVTSXP.js} +1 -1
  62. package/{chunk-6TZWRTRA.js → chunk-ZOMDTRAX.js} +1 -1
  63. package/chunk-ZRPJ3QZT.js +1 -0
  64. package/chunk-ZYUKP5CS.js +1 -0
  65. package/index.html +2 -2
  66. package/main-WZFPMKCC.js +1 -0
  67. package/package.json +1 -1
  68. package/{styles-CDWBWJYO.css → styles-S3CXMNLR.css} +1 -1
  69. package/chunk-2R6YFVI3.js +0 -1
  70. package/chunk-3WKDD2IN.js +0 -1
  71. package/chunk-4KMNVH5V.js +0 -1
  72. package/chunk-56COR7JJ.js +0 -1
  73. package/chunk-65ULQ2PN.js +0 -1
  74. package/chunk-6JYRURGN.js +0 -1
  75. package/chunk-6LUM2XU4.js +0 -2
  76. package/chunk-73LQ5WSC.js +0 -1
  77. package/chunk-BZKHWYFG.js +0 -1
  78. package/chunk-D6FCW3QQ.js +0 -1
  79. package/chunk-ETEYALHD.js +0 -1
  80. package/chunk-FJPFD4BF.js +0 -3
  81. package/chunk-FLOZ6FQA.js +0 -1
  82. package/chunk-JZCJ723Q.js +0 -1
  83. package/chunk-MLTG5TKC.js +0 -1
  84. package/chunk-NQVULKI2.js +0 -1
  85. package/chunk-PHQYY3GW.js +0 -1
  86. package/chunk-Q3JJWGXW.js +0 -7
  87. package/chunk-RIRYVDWF.js +0 -1
  88. package/chunk-RNE5BRDO.js +0 -1
  89. package/chunk-SBFFXENC.js +0 -1
  90. package/chunk-TB27CACB.js +0 -1
  91. package/chunk-TS4YY2WO.js +0 -1
  92. package/chunk-WDE7EXR6.js +0 -1
  93. package/chunk-YOLNXRDT.js +0 -1
  94. package/chunk-Z43CKK5H.js +0 -6
  95. package/main-UH5FBFO3.js +0 -1
package/chunk-3WKDD2IN.js DELETED
@@ -1 +0,0 @@
1
- import{Ba as Xe,Bc as ct,Ca as ge,Ec as $,Fa as qe,Fc as dt,Gc as q,Hc as lt,Ic as De,Jb as ot,Kb as F,Kc as Z,Lb as ut,Lc as pe,Mb as at,Nb as d,Nc as me,Q as j,R as Ge,T as _,Ta as a,U as He,Ua as Je,Va as U,W as R,Xa as H,Y as B,Ya as N,Z as w,ab as Qe,cb as et,da as X,fb as tt,g as je,gb as b,hb as S,ia as Ze,ja as Ye,jb as nt,mb as it,nb as rt,sa as G,ta as We,ub as st,za as Ke}from"./chunk-Q3JJWGXW.js";import{a as ze,b as Ve}from"./chunk-C6Q5SG76.js";var vt=null;function Ce(){return vt}function wi(e){vt??=e}var ft=class{},Ai=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})(),ae=new R(""),Me=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:()=>w($t),providedIn:"platform"})}return e})(),Si=new R(""),$t=(()=>{class e extends Me{_location;_history;_doc=w(ae);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ce().getBaseHref(this._doc)}onPopState(t){let n=Ce().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=Ce().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Te(e,i){if(e.length==0)return i;if(i.length==0)return e;let t=0;return e.endsWith("/")&&t++,i.startsWith("/")&&t++,t==2?e+i.substring(1):t==1?e+i:e+"/"+i}function ht(e){let i=e.match(/#|\?|$/),t=i&&i.index||e.length,n=t-(e[t-1]==="/"?1:0);return e.slice(0,n)+e.slice(t)}function P(e){return e&&e[0]!=="?"?"?"+e:e}var ce=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:()=>w(xt),providedIn:"root"})}return e})(),It=new R(""),xt=(()=>{class e extends ce{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??w(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Te(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+P(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+P(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+P(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(B(Me),B(It,8))};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_i=(()=>{class e extends ce{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=Te(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+P(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+P(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(B(Me),B(It,8))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})(),Ut=(()=>{class e{_subject=new je;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=jt(ht(gt(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+P(n))}normalize(t){return e.stripTrailingSlash(Vt(this._basePath,gt(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+P(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+P(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=P;static joinWithSlash=Te;static stripTrailingSlash=ht;static \u0275fac=function(n){return new(n||e)(B(ce))};static \u0275prov=_({token:e,factory:()=>zt(),providedIn:"root"})}return e})();function zt(){return new Ut(B(ce))}function Vt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function gt(e){return e.replace(/\/index.html$/,"")}function jt(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Lt={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]},de=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(de||{}),z=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(z||{}),A=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(A||{}),l=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(l||{}),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||{}),C={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},Gt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Gt||{});function Ht(e){return F(e)[d.LocaleId]}function Zt(e,i,t){let n=F(e),r=[n[d.DayPeriodsFormat],n[d.DayPeriodsStandalone]],s=L(r,i);return L(s,t)}function Yt(e,i,t){let n=F(e),r=[n[d.DaysFormat],n[d.DaysStandalone]],s=L(r,i);return L(s,t)}function Wt(e,i,t){let n=F(e),r=[n[d.MonthsFormat],n[d.MonthsStandalone]],s=L(r,i);return L(s,t)}function Kt(e,i){let n=F(e)[d.Eras];return L(n,i)}function bi(e){return F(e)[d.FirstDayOfWeek]}function vi(e){return F(e)[d.WeekendRange]}function J(e,i){let t=F(e);return L(t[d.DateFormat],i)}function Q(e,i){let t=F(e);return L(t[d.TimeFormat],i)}function ee(e,i){let n=F(e)[d.DateTimeFormat];return L(n,i)}function I(e,i){let t=F(e),n=t[d.NumberSymbols][i];if(typeof n>"u"){if(i===C.CurrencyDecimal)return t[d.NumberSymbols][C.Decimal];if(i===C.CurrencyGroup)return t[d.NumberSymbols][C.Group]}return n}function Be(e,i){return F(e)[d.NumberFormats][i]}function Ii(e){return F(e)[d.CurrencySymbol]||null}function Li(e){return F(e)[d.CurrencyName]||null}function Mi(e){return ut(e)}function Xt(e){return F(e)[d.Currencies]}var qt=at;function Mt(e){if(!e[d.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[d.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Jt(e){let i=F(e);return Mt(i),(i[d.ExtraData][2]||[]).map(n=>typeof n=="string"?Fe(n):[Fe(n[0]),Fe(n[1])])}function Qt(e,i,t){let n=F(e);Mt(n);let r=[n[d.ExtraData][0],n[d.ExtraData][1]],s=L(r,i)||[];return L(s,t)||[]}function Ti(e){return F(e)[d.Directionality]}function L(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Fe(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function en(e,i,t="en"){let n=Xt(t)[e]||Lt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var tn=2;function nn(e){let i,t=Lt[e];return t&&(i=t[2]),typeof i=="number"?i:tn}var rn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,te={},sn=/((?:[^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 on(e,i,t,n){let r=Dn(e);i=O(t,i)||i;let o=[],u;for(;i;)if(u=sn.exec(i),u){o=o.concat(u.slice(1));let D=o.pop();if(!D)break;i=D}else{o.push(i);break}let h=r.getTimezoneOffset();n&&(h=Bt(n,h),r=gn(r,n,!0));let g="";return o.forEach(D=>{let c=fn(D);g+=c?c(r,t,h):D==="''"?"'":D.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),g}function oe(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function O(e,i){let t=Ht(e);if(te[t]??={},te[t][i])return te[t][i];let n="";switch(i){case"shortDate":n=J(e,v.Short);break;case"mediumDate":n=J(e,v.Medium);break;case"longDate":n=J(e,v.Long);break;case"fullDate":n=J(e,v.Full);break;case"shortTime":n=Q(e,v.Short);break;case"mediumTime":n=Q(e,v.Medium);break;case"longTime":n=Q(e,v.Long);break;case"fullTime":n=Q(e,v.Full);break;case"short":let r=O(e,"shortTime"),s=O(e,"shortDate");n=ne(ee(e,v.Short),[r,s]);break;case"medium":let o=O(e,"mediumTime"),u=O(e,"mediumDate");n=ne(ee(e,v.Medium),[o,u]);break;case"long":let h=O(e,"longTime"),g=O(e,"longDate");n=ne(ee(e,v.Long),[h,g]);break;case"full":let D=O(e,"fullTime"),c=O(e,"fullDate");n=ne(ee(e,v.Full),[D,c]);break}return n&&(te[t][i]=n),n}function ne(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function M(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function un(e,i){return M(e,3).substring(0,i)}function m(e,i,t=0,n=!1,r=!1){return function(s,o){let u=an(e,s);if((t>0||u>-t)&&(u+=t),e===3)u===0&&t===-12&&(u=12);else if(e===6)return un(u,i);let h=I(o,C.MinusSign);return M(u,i,h,n,r)}}function an(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function f(e,i,t=A.Format,n=!1){return function(r,s){return cn(r,s,e,i,t,n)}}function cn(e,i,t,n,r,s){switch(t){case 2:return Wt(i,r,n)[e.getMonth()];case 1:return Yt(i,r,n)[e.getDay()];case 0:let o=e.getHours(),u=e.getMinutes();if(s){let g=Jt(i),D=Qt(i,r,n),c=g.findIndex(y=>{if(Array.isArray(y)){let[p,E]=y,V=o>=p.hours&&u>=p.minutes,k=o<E.hours||o===E.hours&&u<E.minutes;if(p.hours<E.hours){if(V&&k)return!0}else if(V||k)return!0}else if(y.hours===o&&y.minutes===u)return!0;return!1});if(c!==-1)return D[c]}return Zt(i,r,n)[o<12?0:1];case 3:return Kt(i,n)[e.getFullYear()<=0?0:1];default:let h=t;throw new Error(`unexpected translation type ${h}`)}}function ie(e){return function(i,t,n){let r=-1*n,s=I(t,C.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+M(o,2,s)+M(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+M(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+M(o,2,s)+":"+M(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+M(o,2,s)+":"+M(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var dn=0,se=4;function ln(e){let i=oe(e,dn,1).getDay();return oe(e,0,1+(i<=se?se:se+7)-i)}function Tt(e){let i=e.getDay(),t=i===0?-3:se-i;return oe(e.getFullYear(),e.getMonth(),e.getDate()+t)}function ye(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=Tt(t),o=ln(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return M(r,e,I(n,C.MinusSign))}}function re(e,i=!1){return function(t,n){let s=Tt(t).getFullYear();return M(s,e,I(n,C.MinusSign),i)}}var Ee={};function fn(e){if(Ee[e])return Ee[e];let i;switch(e){case"G":case"GG":case"GGG":i=f(3,l.Abbreviated);break;case"GGGG":i=f(3,l.Wide);break;case"GGGGG":i=f(3,l.Narrow);break;case"y":i=m(0,1,0,!1,!0);break;case"yy":i=m(0,2,0,!0,!0);break;case"yyy":i=m(0,3,0,!1,!0);break;case"yyyy":i=m(0,4,0,!1,!0);break;case"Y":i=re(1);break;case"YY":i=re(2,!0);break;case"YYY":i=re(3);break;case"YYYY":i=re(4);break;case"M":case"L":i=m(1,1,1);break;case"MM":case"LL":i=m(1,2,1);break;case"MMM":i=f(2,l.Abbreviated);break;case"MMMM":i=f(2,l.Wide);break;case"MMMMM":i=f(2,l.Narrow);break;case"LLL":i=f(2,l.Abbreviated,A.Standalone);break;case"LLLL":i=f(2,l.Wide,A.Standalone);break;case"LLLLL":i=f(2,l.Narrow,A.Standalone);break;case"w":i=ye(1);break;case"ww":i=ye(2);break;case"W":i=ye(1,!0);break;case"d":i=m(2,1);break;case"dd":i=m(2,2);break;case"c":case"cc":i=m(7,1);break;case"ccc":i=f(1,l.Abbreviated,A.Standalone);break;case"cccc":i=f(1,l.Wide,A.Standalone);break;case"ccccc":i=f(1,l.Narrow,A.Standalone);break;case"cccccc":i=f(1,l.Short,A.Standalone);break;case"E":case"EE":case"EEE":i=f(1,l.Abbreviated);break;case"EEEE":i=f(1,l.Wide);break;case"EEEEE":i=f(1,l.Narrow);break;case"EEEEEE":i=f(1,l.Short);break;case"a":case"aa":case"aaa":i=f(0,l.Abbreviated);break;case"aaaa":i=f(0,l.Wide);break;case"aaaaa":i=f(0,l.Narrow);break;case"b":case"bb":case"bbb":i=f(0,l.Abbreviated,A.Standalone,!0);break;case"bbbb":i=f(0,l.Wide,A.Standalone,!0);break;case"bbbbb":i=f(0,l.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":i=f(0,l.Abbreviated,A.Format,!0);break;case"BBBB":i=f(0,l.Wide,A.Format,!0);break;case"BBBBB":i=f(0,l.Narrow,A.Format,!0);break;case"h":i=m(3,1,-12);break;case"hh":i=m(3,2,-12);break;case"H":i=m(3,1);break;case"HH":i=m(3,2);break;case"m":i=m(4,1);break;case"mm":i=m(4,2);break;case"s":i=m(5,1);break;case"ss":i=m(5,2);break;case"S":i=m(6,1);break;case"SS":i=m(6,2);break;case"SSS":i=m(6,3);break;case"Z":case"ZZ":case"ZZZ":i=ie(0);break;case"ZZZZZ":i=ie(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=ie(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=ie(2);break;default:return null}return Ee[e]=i,i}function Bt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function hn(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function gn(e,i,t){let n=t?-1:1,r=e.getTimezoneOffset(),s=Bt(i,r);return hn(e,n*(s-r))}function Dn(e){if(Dt(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[r,s=1,o=1]=e.split("-").map(u=>+u);return oe(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(rn))return pn(n)}let i=new Date(e);if(!Dt(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function pn(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,h=Number(e[6]||0),g=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,h,g),i}function Dt(e){return e instanceof Date&&!isNaN(e.valueOf())}var mn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,pt=22,ue=".",Y="0",Cn=";",Fn=",",we="#",mt="\xA4",yn="%";function Re(e,i,t,n,r,s,o=!1){let u="",h=!1;if(!isFinite(e))u=I(t,C.Infinity);else{let g=_n(e);o&&(g=Sn(g));let D=i.minInt,c=i.minFrac,y=i.maxFrac;if(s){let x=s.match(mn);if(x===null)throw new Error(`${s} is not a valid digit info`);let xe=x[1],he=x[3],Ue=x[5];xe!=null&&(D=Ae(xe)),he!=null&&(c=Ae(he)),Ue!=null?y=Ae(Ue):he!=null&&c>y&&(y=c)}bn(g,c,y);let p=g.digits,E=g.integerLen,V=g.exponent,k=[];for(h=p.every(x=>!x);E<D;E++)p.unshift(0);for(;E<0;E++)p.unshift(0);E>0?k=p.splice(E,p.length):(k=p,p=[0]);let K=[];for(p.length>=i.lgSize&&K.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)K.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&K.unshift(p.join("")),u=K.join(I(t,n)),k.length&&(u+=I(t,r)+k.join("")),V&&(u+=I(t,C.Exponential)+"+"+V)}return e<0&&!h?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function En(e,i,t,n,r){let s=Be(i,de.Currency),o=Oe(s,I(i,C.MinusSign));return o.minFrac=nn(n),o.maxFrac=o.minFrac,Re(e,o,i,C.CurrencyGroup,C.CurrencyDecimal,r).replace(mt,t).replace(mt,"").trim()}function wn(e,i,t){let n=Be(i,de.Percent),r=Oe(n,I(i,C.MinusSign));return Re(e,r,i,C.Group,C.Decimal,t,!0).replace(new RegExp(yn,"g"),I(i,C.PercentSign))}function An(e,i,t){let n=Be(i,de.Decimal),r=Oe(n,I(i,C.MinusSign));return Re(e,r,i,C.Group,C.Decimal,t)}function Oe(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Cn),r=n[0],s=n[1],o=r.indexOf(ue)!==-1?r.split(ue):[r.substring(0,r.lastIndexOf(Y)+1),r.substring(r.lastIndexOf(Y)+1)],u=o[0],h=o[1]||"";t.posPre=u.substring(0,u.indexOf(we));for(let D=0;D<h.length;D++){let c=h.charAt(D);c===Y?t.minFrac=t.maxFrac=D+1:c===we?t.maxFrac=D+1:t.posSuf+=c}let g=u.split(Fn);if(t.gSize=g[1]?g[1].length:0,t.lgSize=g[2]||g[1]?(g[2]||g[1]).length:0,s){let D=r.length-t.posPre.length-t.posSuf.length,c=s.indexOf(we);t.negPre=s.substring(0,c).replace(/'/g,""),t.negSuf=s.slice(c+D).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function Sn(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function _n(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(ue))>-1&&(i=i.replace(ue,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===Y;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===Y;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>pt&&(n=n.splice(0,pt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function bn(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let c=o;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let c=1;c<o;c++)n[c]=0}if(u>=5)if(o-1<0){for(let c=0;c>o;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let h=s!==0,g=i+e.integerLen,D=n.reduceRight(function(c,y,p,E){return y=y+c,E[p]=y<10?y:y-10,h&&(E[p]===0&&p>=g?E.pop():h=!1),y>=10?1:0},0);D&&(n.unshift(D),e.integerLen++)}function Ae(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}var Pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:function(n){let r=null;return n?r=new n:r=(s=>new vn(s))(B($)),r},providedIn:"root"})}return e})();function Rt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}var vn=(()=>{class e extends Pe{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(qt(n||this.locale)(t)){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(n){return new(n||e)(B($))};static \u0275prov=_({token:e,factory:e.\u0275fac})}return e})();function Bi(e,i,t){return ot(e,i,t)}function Ri(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var Se=/\s+/,Ct=[],Oi=(()=>{class e{_ngEl;_renderer;initialClasses=Ct;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Se):Ct}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Se):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Se).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(a(G),a(H))};static \u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Pi=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=et(this.ngComponentOutletNgModule,Ft(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ft(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(a(N))};static \u0275dir=b({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[X]})}return e})();function Ft(e){return e.get(Qe).injector}var _e=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}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}},Ni=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new _e(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),yt(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);yt(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(N),a(U),a(lt))};static \u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function yt(e,i){e.context.$implicit=i.item}var ki=(()=>{class e{_viewContainer;_context=new be;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Et("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Et("ngIfElse",t),this._elseTemplateRef=t,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(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(N),a(U))};static \u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),be=class{$implicit=null;ngIf=null};function Et(e,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Ge(i)}'.`)}var W=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},Ot=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),$i=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new W(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(a(N),a(U),a(Ot,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),xi=(()=>{class e{constructor(t,n,r){r._addDefault(new W(t,n))}static \u0275fac=function(n){return new(n||e)(a(N),a(U),a(Ot,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var In=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=Rt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(a(Pe))};static \u0275dir=b({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),Ui=(()=>{class e{value;constructor(t,n,r,s){this.value=t;let o=!isNaN(Number(t));s.addCase(o?`=${t}`:t,new W(r,n))}static \u0275fac=function(n){return new(n||e)(Ze("ngPluralCase"),a(U),a(N),a(In,1))};static \u0275dir=b({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),zi=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:Je.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(a(G),a(De),a(H))};static \u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Vi=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(a(N))};static \u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[X]})}return e})();function T(e,i){return new j(2100,!1)}var ve=class{createSubscription(i,t){return me(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){me(()=>i.unsubscribe())}},Ie=class{createSubscription(i,t){return i.then(t,n=>{throw n})}dispose(i){}},Ln=new Ie,Mn=new ve,ji=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(it(t))return Ln;if(rt(t))return Mn;throw T(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(a(q,16))};static \u0275pipe=S({name:"async",type:e,pure:!1})}return e})(),Gi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw T(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"lowercase",type:e,pure:!0})}return e})(),Tn=/(?:[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,Hi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw T(e,t);return t.replace(Tn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"titlecase",type:e,pure:!0})}return e})(),Zi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw T(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"uppercase",type:e,pure:!0})}return e})(),Bn="mediumDate",Rn=new R(""),On=new R(""),Yi=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??Bn,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return on(t,o,s||this.locale,u)}catch(o){throw T(e,o.message)}}static \u0275fac=function(n){return new(n||e)(a($,16),a(Rn,24),a(On,24))};static \u0275pipe=S({name:"date",type:e,pure:!0})}return e})(),Pn=/#/g,Wi=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw T(e,n);let s=Rt(t,Object.keys(n),this._localization,r);return n[s].replace(Pn,t.toString())}static \u0275fac=function(n){return new(n||e)(a(Pe,16))};static \u0275pipe=S({name:"i18nPlural",type:e,pure:!0})}return e})(),Ki=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw T(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"i18nSelect",type:e,pure:!0})}return e})(),Xi=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"json",type:e,pure:!1})}return e})();function Nn(e,i){return{key:e,value:i}}var qi=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=wt;transform(t,n=wt){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(Nn(o.key,o.currentValue))})),(r||s)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(a(De,16))};static \u0275pipe=S({name:"keyvalue",type:e,pure:!1})}return e})();function wt(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t===void 0)return 1;if(n===void 0)return-1;if(t===null)return 1;if(n===null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),s=String(n);return r==s?0:r<s?-1:1}var Ji=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!Ne(t))return null;r||=this._locale;try{let s=ke(t);return An(s,r,n)}catch(s){throw T(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a($,16))};static \u0275pipe=S({name:"number",type:e,pure:!0})}return e})(),Qi=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!Ne(t))return null;r||=this._locale;try{let s=ke(t);return wn(s,r,n)}catch(s){throw T(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a($,16))};static \u0275pipe=S({name:"percent",type:e,pure:!0})}return e})(),er=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",s,o){if(!Ne(t))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let u=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?u=en(u,r==="symbol"?"wide":"narrow",o):u=r);try{let h=ke(t);return En(h,o,u,n,s)}catch(h){throw T(e,h.message)}}static \u0275fac=function(n){return new(n||e)(a($,16),a(dt,16))};static \u0275pipe=S({name:"currency",type:e,pure:!0})}return e})();function Ne(e){return!(e==null||e===""||e!==e)}function ke(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 tr=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!this.supports(t))throw T(e,t);return t.slice(n,r)}supports(t){return typeof t=="string"||Array.isArray(t)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=S({name:"slice",type:e,pure:!1})}return e})();var nr=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=tt({type:e});static \u0275inj=He({})}return e})(),kn="browser",$n="server";function ir(e){return e===kn}function xn(e){return e===$n}var rr=new ct("19.1.3"),sr=(()=>{class e{static \u0275prov=_({token:e,providedIn:"root",factory:()=>new Le(w(ae),window)})}return e})(),Le=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=Un(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function Un(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var At=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},St=class{},le="20";function Pt(e){return/^https?:\/\//.test(e)}function Nt(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function zn(e){return e.endsWith("/")?e.slice(0,-1):e}function Vn(e){return e.startsWith("/")?e.slice(1):e}var kt=e=>e.src,$e=new R("",{providedIn:"root",factory:()=>kt});function fe(e,i){return function(n){return Nt(n)||jn(n,i||[]),n=zn(n),[{provide:$e,useValue:o=>(Pt(o.src)&&Gn(n,o.src),e(n,Ve(ze({},o),{src:Vn(o.src)})))}]}}function jn(e,i){throw new j(2959,!1)}function Gn(e,i){throw new j(2959,!1)}var or=fe(Hn,void 0);function Hn(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${le}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var ur=fe(Zn,void 0);function Zn(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var ar=fe(Yn,void 0);function Yn(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${le}`);let s=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(s.join("/")).href}var cr=fe(Wn,void 0);function Wn(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",le),t.href}function dr(e){if(e&&!Nt(e))throw new j(2959,!1);return e&&(e=new URL(e).origin),[{provide:$e,useValue:n=>Kn(n,e)}]}var _t=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function Kn(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!Pt(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",le);for(let[r,s]of Object.entries(e.loaderParams??{}))_t.has(r)&&t.searchParams.set(_t.get(r),s.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var lr=new R("");var Xn=new R("",{providedIn:"root",factory:()=>new Set}),qn=(()=>{class e{preloadedImages=w(Xn);document=w(ae);createPreloadLinkTag(t,n,r,s){if(this.preloadedImages.has(n))return;this.preloadedImages.add(n);let o=t.createElement("link");t.setAttribute(o,"as","image"),t.setAttribute(o,"href",n),t.setAttribute(o,"rel","preload"),t.setAttribute(o,"fetchpriority","high"),s&&t.setAttribute(o,"imageSizes",s),r&&t.setAttribute(o,"imageSrcset",r),t.appendChild(this.document.head,o)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bt=/^((\s*\d+w\s*(,|$)){1,})$/;var Jn=[1,2],Qn=640;var ei=1920,ti=1080;var fr=(()=>{class e{imageLoader=w($e);config=ni(w(ge));renderer=w(H);imgElement=w(G).nativeElement;injector=w(Ye);isServer=xn(w(Ke));preloadLinkCreator=w(qn);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){We("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&bt.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),t,this.sizes)}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=bt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(s=>s>=Qn)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return Jn.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>ei||this.height>ti),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==kt&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let o=this.injector.get(q);r(),s(),this.placeholder=!1,o.markForCheck()},r=this.renderer.listen(t,"load",n),s=this.renderer.listen(t,"error",n);ii(t,n)}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&st("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ri],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",pe],height:[2,"height","height",pe],loading:"loading",priority:[2,"priority","priority",Z],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Z],fill:[2,"fill","fill",Z],placeholder:[2,"placeholder","placeholder",si],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[nt,X]})}return e})();function ni(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Xe,e,i)}function ii(e,i){e.complete&&e.naturalWidth&&i()}function ri(e){return typeof e=="string"?e:qe(e)}function si(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Z(e)}export{Ce as a,wi as b,ft as c,Ai as d,ae as e,Me as f,Si as g,$t as h,P as i,ce as j,It as k,xt as l,_i as m,Ut as n,de as o,z as p,A as q,l as r,v as s,C as t,Gt as u,Ht as v,Zt as w,Yt as x,Wt as y,Kt as z,bi as A,vi as B,J as C,Q as D,ee as E,I as F,Be as G,Ii as H,Li as I,Mi as J,qt as K,Jt as L,Qt as M,Ti as N,en as O,nn as P,on as Q,En as R,wn as S,An as T,Pe as U,vn as V,Bi as W,Ri as X,Oi as Y,Pi as Z,_e as _,Ni as $,ki as aa,be as ba,Ot as ca,$i as da,xi as ea,In as fa,Ui as ga,zi as ha,Vi as ia,ji as ja,Gi as ka,Hi as la,Zi as ma,Rn as na,On as oa,Yi as pa,Wi as qa,Ki as ra,Xi as sa,qi as ta,Ji as ua,Qi as va,er as wa,tr as xa,nr as ya,kn as za,$n as Aa,ir as Ba,xn as Ca,rr as Da,sr as Ea,At as Fa,St as Ga,$e as Ha,or as Ia,ur as Ja,ar as Ka,cr as La,dr as Ma,lr as Na,fr as Oa};
package/chunk-4KMNVH5V.js DELETED
@@ -1 +0,0 @@
1
- import{e as a,f as b}from"./chunk-D6FCW3QQ.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as createRestoreSelectFilesForm,b as default};
package/chunk-56COR7JJ.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-RBVR4WTJ.js";import"./chunk-GK7T43YY.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as DurationFormatPipe};
package/chunk-65ULQ2PN.js DELETED
@@ -1 +0,0 @@
1
- import{a as b,b as N}from"./chunk-TB27CACB.js";import{b as g}from"./chunk-KJ4O6F3R.js";import{F as m,Mc as u,O as v,T as i,W as w,Z as s,g as d,l as f,va as e,z as S}from"./chunk-Q3JJWGXW.js";var r=new w("ENVIRONMENT");var a=class o{#n=s(g);#e=e("disconnected");#t=e(null);#o=e(-1);#i=e(0);#s=e(!1);#c=new d;connectionStatus=this.#e.asReadonly();serverState=this.#t.asReadonly();duration=s(b).relayIsEnabled()?s(r).defaultTimeout/1e3-5+"s":"299s";start(){this.#s.set(!0),this.#c=new d,this.#r()}stop(){this.#c.next(),this.#c.complete(),this.#s.set(!1)}reconnect(){this.stop(),this.start()}reconnectIfNeeded(){console.log("reconnectIfNeeded"),!this.#s()&&this.reconnect()}#r(){this.#e.set("connecting"),this.#n.getApiV1Serverstate({lastEventId:this.#o(),longpoll:this.#o()>0,duration:this.duration}).pipe(v(this.#c),S(t=>(this.#l(t),f(null))),m(()=>{this.#h()})).subscribe(t=>{t&&this.#a(t)})}#a(t){this.#e.set("connected"),this.#t.set(t),this.#o.set(t.LastEventID||-1),this.#i.set(0)}#l(t){let n=this.#i()+1;this.#i.set(n),n>3&&this.#e.set("disconnected")}#h(){this.#s()&&this.#r()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};var l=class o{#n=s(N);#e=s(r);#t=null;#o=e("disconnected");#i=e(null);shouldConnect=e(!0);connectionStatus=this.#o.asReadonly();serverState=this.#i.asReadonly();start(){this.#s(),this.shouldConnect.set(!0)}#s(){let t=this.#n.token();if(!t){console.error("No access token available");return}let n=window.location.protocol==="https:"?"wss:":"ws:",p=window.location.port?`:${window.location.port}`:"";window.location.port==="4200"&&(p=":8200");let y=window.location.hostname,E=`${n}//${y}${p}/notifications?token=${t}`;this.#o.set("connecting"),this.#t=new WebSocket(E),this.#t.onopen=()=>{console.log("WebSocket connection established"),this.#o.set("connected")},this.#t.onmessage=c=>{try{let h=JSON.parse(c.data);this.#i.set(h)}catch(h){console.error("Error parsing WebSocket message",h)}},this.#t.onclose=c=>{console.log("WebSocket connection closed",c),this.#o.set("disconnected"),this.shouldConnect()&&setTimeout(()=>this.#s(),5e3)},this.#t.onerror=c=>{console.error("WebSocket error",c),this.#o.set("disconnected")}}stop(){this.shouldConnect.set(!1),this.#t?.close()}reconnect(){this.#t?.close(),this.start()}reconnectIfNeeded(){this.#t?.readyState!==WebSocket.OPEN&&this.reconnect()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};var k=class o{#n=s(l);#e=s(a);#t=e("longpoll");connectionStatus=u(()=>this.#t()==="websocket"?this.#n.connectionStatus():this.#e.connectionStatus());serverState=u(()=>this.#t()==="websocket"?this.#n.serverState():this.#e.serverState());setConnectionMethod(t){t==="websocket"?(this.#n.reconnectIfNeeded(),this.#e.stop()):(this.#e.reconnectIfNeeded(),this.#n.stop()),this.#t.set(t)}getConnectionMethod(){return this.#t()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};export{r as a,k as b};
package/chunk-6JYRURGN.js DELETED
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-D6FCW3QQ.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as createRestoreOptionsForm,b as default};
package/chunk-6LUM2XU4.js DELETED
@@ -1,2 +0,0 @@
1
- import{Ga as pe,X as fe,e as ue}from"./chunk-3WKDD2IN.js";import{A as te,F as se,N as oe,Q as J,T as O,W as E,Y as v,Z as m,_ as ie,aa as ae,ba as ce,d as X,k as ne,l as C,la as le,na as de,q as k,x as re,za as he}from"./chunk-Q3JJWGXW.js";import{a as ee}from"./chunk-C6Q5SG76.js";var _=class{},L=class{},g=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
2
- `).forEach(n=>{let t=n.indexOf(":");if(t>0){let s=n.slice(0,t),i=n.slice(t+1).trim();this.addHeaderEntry(s,i)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,t)=>{this.addHeaderEntry(t,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,t])=>{this.setHeaderEntries(n,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new r;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,n);let s=(e.op==="a"?this.headers.get(n):void 0)||[];s.push(...t),this.headers.set(n,s);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let o=this.headers.get(n);if(!o)return;o=o.filter(d=>i.indexOf(d)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}break}}addHeaderEntry(e,n){let t=e.toLowerCase();this.maybeSetNormalizedName(e,t),this.headers.has(t)?this.headers.get(t).push(n):this.headers.set(t,[n])}setHeaderEntries(e,n){let t=(Array.isArray(n)?n:[n]).map(i=>i.toString()),s=e.toLowerCase();this.headers.set(s,t),this.maybeSetNormalizedName(e,s)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var G=class{encodeKey(e){return ye(e)}encodeValue(e){return ye(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ie(r,e){let n=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{let i=s.indexOf("="),[o,d]=i==-1?[e.decodeKey(s),""]:[e.decodeKey(s.slice(0,i)),e.decodeValue(s.slice(i+1))],a=n.get(o)||[];a.push(d),n.set(o,a)}),n}var De=/%(\d[a-f0-9])/gi,ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ye(r){return encodeURIComponent(r).replace(De,(e,n)=>ke[n]??e)}function B(r){return`${r}`}var R=class r{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new G,e.fromString){if(e.fromObject)throw new J(2805,!1);this.map=Ie(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let t=e.fromObject[n],s=Array.isArray(t)?t.map(B):[B(t)];this.map.set(n,s)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(t=>{let s=e[t];Array.isArray(s)?s.forEach(i=>{n.push({param:t,value:i,op:"a"})}):n.push({param:t,value:s,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(t=>n+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new r({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(B(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],s=t.indexOf(B(e.value));s!==-1&&t.splice(s,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var W=class{map=new Map;set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function xe(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function me(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function ge(r){return typeof Blob<"u"&&r instanceof Blob}function Te(r){return typeof FormData<"u"&&r instanceof FormData}function Fe(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var x="Content-Type",Y="X-Request-URL",Re="text/plain",be="application/json",Pe=`${be}, ${Re}, */*`,F=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(e,n,t,s){this.url=n,this.method=e.toUpperCase();let i;if(xe(this.method)||s?(this.body=t!==void 0?t:null,i=s):i=t,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new g,this.context??=new W,!this.params)this.params=new R,this.urlWithParams=n;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=n;else{let d=n.indexOf("?"),a=d===-1?"?":d<n.length-1?"&":"";this.urlWithParams=n+a+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||me(this.body)||ge(this.body)||Te(this.body)||Fe(this.body)?this.body:this.body instanceof R?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||Te(this.body)?null:ge(this.body)?this.body.type||null:me(this.body)?null:typeof this.body=="string"?Re:this.body instanceof R?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?be:null}clone(e={}){let n=e.method||this.method,t=e.url||this.url,s=e.responseType||this.responseType,i=e.transferCache??this.transferCache,o=e.body!==void 0?e.body:this.body,d=e.withCredentials??this.withCredentials,a=e.reportProgress??this.reportProgress,f=e.headers||this.headers,p=e.params||this.params,y=e.context??this.context;return e.setHeaders!==void 0&&(f=Object.keys(e.setHeaders).reduce((P,h)=>P.set(h,e.setHeaders[h]),f)),e.setParams&&(p=Object.keys(e.setParams).reduce((P,h)=>P.set(h,e.setParams[h]),p)),new r(n,t,o,{params:p,headers:f,context:y,reportProgress:a,responseType:s,withCredentials:d,transferCache:i})}},b=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(b||{}),U=class{headers;status;statusText;url;ok;type;constructor(e,n=200,t="OK"){this.headers=e.headers||new g,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},S=class r extends U{constructor(e={}){super(e)}type=b.ResponseHeader;clone(e={}){return new r({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},j=class r extends U{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=b.Response;clone(e={}){return new r({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},w=class extends U{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ne=200,_e=204;function V(r,e){return{body:e,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache}}var Le=(()=>{class r{handler;constructor(n){this.handler=n}request(n,t,s={}){let i;if(n instanceof F)i=n;else{let a;s.headers instanceof g?a=s.headers:a=new g(s.headers);let f;s.params&&(s.params instanceof R?f=s.params:f=new R({fromObject:s.params})),i=new F(n,t,s.body!==void 0?s.body:null,{headers:a,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}let o=C(i).pipe(te(a=>this.handler.handle(a)));if(n instanceof F||s.observe==="events")return o;let d=o.pipe(re(a=>a instanceof j));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return d.pipe(k(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return d.pipe(k(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return d.pipe(k(a=>{if(a.body!==null&&typeof a.body!="string")throw new Error("Response is not a string.");return a.body}));case"json":default:return d.pipe(k(a=>a.body))}case"response":return d;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(n,t={}){return this.request("DELETE",n,t)}get(n,t={}){return this.request("GET",n,t)}head(n,t={}){return this.request("HEAD",n,t)}jsonp(n,t){return this.request("JSONP",n,{params:new R().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,t={}){return this.request("OPTIONS",n,t)}patch(n,t,s={}){return this.request("PATCH",n,V(s,t))}post(n,t,s={}){return this.request("POST",n,V(s,t))}put(n,t,s={}){return this.request("PUT",n,V(s,t))}static \u0275fac=function(t){return new(t||r)(v(_))};static \u0275prov=O({token:r,factory:r.\u0275fac})}return r})(),Ue=/^\)\]\}',?\n/;function Ee(r){if(r.url)return r.url;let e=Y.toLocaleLowerCase();return r.headers.get(e)}var Ae=new E(""),$=(()=>{class r{fetchImpl=m(q,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=m(de);handle(n){return new X(t=>{let s=new AbortController;return this.doRequest(n,s.signal,t).then(K,i=>t.error(new w({error:i}))),()=>s.abort()})}async doRequest(n,t,s){let i=this.createRequestInit(n),o;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,ee({signal:t},i)));je(h),s.next({type:b.Sent}),o=await h}catch(h){s.error(new w({error:h,status:h.status??0,statusText:h.statusText,url:n.urlWithParams,headers:h.headers}));return}let d=new g(o.headers),a=o.statusText,f=Ee(o)??n.urlWithParams,p=o.status,y=null;if(n.reportProgress&&s.next(new S({headers:d,status:p,statusText:a,url:f})),o.body){let h=o.headers.get("content-length"),M=[],c=o.body.getReader(),l=0,T,A,u=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:N,value:D}=await c.read();if(N)break;if(M.push(D),l+=D.length,n.reportProgress){A=n.responseType==="text"?(A??"")+(T??=new TextDecoder).decode(D,{stream:!0}):void 0;let H=()=>s.next({type:b.DownloadProgress,total:h?+h:void 0,loaded:l,partialText:A});u?u.run(H):H()}}});let I=this.concatChunks(M,l);try{let N=o.headers.get(x)??"";y=this.parseBody(n,I,N)}catch(N){s.error(new w({error:N,headers:new g(o.headers),status:o.status,statusText:o.statusText,url:Ee(o)??n.urlWithParams}));return}}p===0&&(p=y?Ne:0),p>=200&&p<300?(s.next(new j({body:y,headers:d,status:p,statusText:a,url:f})),s.complete()):s.error(new w({error:y,headers:d,status:p,statusText:a,url:f}))}parseBody(n,t,s){switch(n.responseType){case"json":let i=new TextDecoder().decode(t).replace(Ue,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:s});case"arraybuffer":return t.buffer}}createRequestInit(n){let t={},s=n.withCredentials?"include":void 0;if(n.headers.forEach((i,o)=>t[i]=o.join(",")),n.headers.has("Accept")||(t.Accept=Pe),!n.headers.has(x)){let i=n.detectContentTypeHeader();i!==null&&(t[x]=i)}return{body:n.serializeBody(),method:n.method,headers:t,credentials:s}}concatChunks(n,t){let s=new Uint8Array(t),i=0;for(let o of n)s.set(o,i),i+=o.length;return s}static \u0275fac=function(t){return new(t||r)};static \u0275prov=O({token:r,factory:r.\u0275fac})}return r})(),q=class{};function K(){}function je(r){r.then(K,K)}function Be(r,e){return e(r)}function Se(r,e,n){return(t,s)=>ce(n,()=>e(t,i=>r(i,s)))}var Q=new E(""),ze=new E(""),Xe=new E("",{providedIn:"root",factory:()=>!0});var ve=(()=>{class r extends _{backend;injector;chain=null;pendingTasks=m(le);contributeToStability=m(Xe);constructor(n,t){super(),this.backend=n,this.injector=t}handle(n){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(Q),...this.injector.get(ze,[])]));this.chain=t.reduceRight((s,i)=>Se(s,i,this.injector),Be)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(n,s=>this.backend.handle(s)).pipe(se(()=>this.pendingTasks.remove(t)))}else return this.chain(n,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||r)(v(L),v(ae))};static \u0275prov=O({token:r,factory:r.\u0275fac})}return r})();var Ce=/^\)\]\}',?\n/,Je=RegExp(`^${Y}:`,"m");function Ve(r){return"responseURL"in r&&r.responseURL?r.responseURL:Je.test(r.getAllResponseHeaders())?r.getResponseHeader(Y):null}var we=(()=>{class r{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new J(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?ne(t.\u0275loadImpl()):C(null)).pipe(oe(()=>new X(i=>{let o=t.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((c,l)=>o.setRequestHeader(c,l.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept",Pe),!n.headers.has(x)){let c=n.detectContentTypeHeader();c!==null&&o.setRequestHeader(x,c)}if(n.responseType){let c=n.responseType.toLowerCase();o.responseType=c!=="json"?c:"text"}let d=n.serializeBody(),a=null,f=()=>{if(a!==null)return a;let c=o.statusText||"OK",l=new g(o.getAllResponseHeaders()),T=Ve(o)||n.url;return a=new S({headers:l,status:o.status,statusText:c,url:T}),a},p=()=>{let{headers:c,status:l,statusText:T,url:A}=f(),u=null;l!==_e&&(u=typeof o.response>"u"?o.responseText:o.response),l===0&&(l=u?Ne:0);let I=l>=200&&l<300;if(n.responseType==="json"&&typeof u=="string"){let N=u;u=u.replace(Ce,"");try{u=u!==""?JSON.parse(u):null}catch(D){u=N,I&&(I=!1,u={error:D,text:u})}}I?(i.next(new j({body:u,headers:c,status:l,statusText:T,url:A||void 0})),i.complete()):i.error(new w({error:u,headers:c,status:l,statusText:T,url:A||void 0}))},y=c=>{let{url:l}=f(),T=new w({error:c,status:o.status||0,statusText:o.statusText||"Unknown Error",url:l||void 0});i.error(T)},P=!1,h=c=>{P||(i.next(f()),P=!0);let l={type:b.DownloadProgress,loaded:c.loaded};c.lengthComputable&&(l.total=c.total),n.responseType==="text"&&o.responseText&&(l.partialText=o.responseText),i.next(l)},M=c=>{let l={type:b.UploadProgress,loaded:c.loaded};c.lengthComputable&&(l.total=c.total),i.next(l)};return o.addEventListener("load",p),o.addEventListener("error",y),o.addEventListener("timeout",y),o.addEventListener("abort",y),n.reportProgress&&(o.addEventListener("progress",h),d!==null&&o.upload&&o.upload.addEventListener("progress",M)),o.send(d),i.next({type:b.Sent}),()=>{o.removeEventListener("error",y),o.removeEventListener("abort",y),o.removeEventListener("load",p),o.removeEventListener("timeout",y),n.reportProgress&&(o.removeEventListener("progress",h),d!==null&&o.upload&&o.upload.removeEventListener("progress",M)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(t){return new(t||r)(v(pe))};static \u0275prov=O({token:r,factory:r.\u0275fac})}return r})(),Oe=new E(""),$e="XSRF-TOKEN",Ge=new E("",{providedIn:"root",factory:()=>$e}),We="X-XSRF-TOKEN",qe=new E("",{providedIn:"root",factory:()=>We}),z=class{},Ke=(()=>{class r{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,t,s){this.doc=n,this.platform=t,this.cookieName=s}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=fe(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(t){return new(t||r)(v(ue),v(he),v(Ge))};static \u0275prov=O({token:r,factory:r.\u0275fac})}return r})();function Ye(r,e){let n=r.url.toLowerCase();if(!m(Oe)||r.method==="GET"||r.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(r);let t=m(z).getToken(),s=m(qe);return t!=null&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,t)})),e(r)}var Z=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(Z||{});function Me(r,e){return{\u0275kind:r,\u0275providers:e}}function vn(...r){let e=[Le,we,ve,{provide:_,useExisting:ve},{provide:L,useFactory:()=>m(Ae,{optional:!0})??m(we)},{provide:Q,useValue:Ye,multi:!0},{provide:Oe,useValue:!0},{provide:z,useClass:Ke}];for(let n of r)e.push(...n.\u0275providers);return ie(e)}function wn(r){return Me(Z.Interceptors,r.map(e=>({provide:Q,useValue:e,multi:!0})))}function Rn(){return Me(Z.Fetch,[$,{provide:Ae,useExisting:$},{provide:L,useExisting:$}])}export{g as a,j as b,Le as c,vn as d,wn as e,Rn as f};
package/chunk-73LQ5WSC.js DELETED
@@ -1 +0,0 @@
1
- import{m as a,n as b}from"./chunk-Z43CKK5H.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-DNHLTHLR.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-Z5NZYMJN.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as createSourceDataForm,b as default};
package/chunk-BZKHWYFG.js DELETED
@@ -1 +0,0 @@
1
- import{a as R,b as te}from"./chunk-DNHLTHLR.js";import{b as oe}from"./chunk-6CRYB4HA.js";import{a as G}from"./chunk-6TZWRTRA.js";import{a as L,b as K,c as S,d as U,e as z,h as j,l as V,o as q,p as H,r as Q}from"./chunk-UJWW7PS7.js";import{b as v}from"./chunk-KJ4O6F3R.js";import{a as b,c as w,d as B}from"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import{a as W,f as J,g as Y,l as Z,w as ee}from"./chunk-NQVULKI2.js";import{c as h}from"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import{Cb as r,Db as n,Eb as a,F as E,Mc as O,N as M,Ob as l,Pb as c,Qb as f,Sa as s,Ub as P,Z as _,eb as I,hc as k,kb as x,kc as y,tb as C,tc as X,va as g,vb as T,yb as D}from"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";var ne=()=>["/"];function ie(d,e){d&1&&(r(0,"spk-form-field")(1,"label",17),f(2,6),n(),a(3,"input",18),n(),r(4,"spk-form-field")(5,"label",19),f(6,7),n(),a(7,"input",20),n())}var u=new H,N=class d{#o=_(v);#e=_(b);#t=_(w);#n=_(h);#i=_(G);isExporting=g(!1);exportType=g("file");exportedCmd=g(null);exportForm=u.group({exportPasswords:u.control(!0),encryption:u.control(!1,[S.required,te()]),password:u.control("",[R(e=>e?.value.encryption,[S.required])]),repeatPassword:u.control("",[R(e=>e?.value.encryption,[S.required])])});exportFormSignal=oe(this.exportForm.valueChanges);encryptionFieldSignal=O(()=>this.exportFormSignal()?.encryption??!1);activeBackup=O(()=>this.#i.backups().find(e=>e.Backup?.ID===this.#e.snapshot.params.id));submit(){this.isExporting.set(!0),this.exportType()==="file"?this.#o.postApiV1AuthIssuetokenByOperation({operation:"export"}).pipe(M(e=>{let i=t=>{let o=Object.entries(t);return o?"?"+o.map(([F,m])=>`${F}=${m}`).join("&"):""};return this.#n.get(`/api/v1/backup/${this.#e.snapshot.params.id}/export${i({exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0,token:e.Token})}`,{responseType:"blob"})}),E(()=>this.isExporting.set(!1))).subscribe({next:e=>{let t=this.activeBackup()?.Backup?.Name??"Backup",o=this.exportFormSignal()?.encryption?"aes":"json";this.downloadFile(e,`${t}.${o}`),this.#t.navigate(["/"])},error:e=>{console.log("err",e)}}):this.#o.getApiV1BackupByIdExportCmdline({id:this.#e.snapshot.params.id,exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0}).pipe(E(()=>this.isExporting.set(!1))).subscribe({next:e=>{console.log("res",e),this.exportedCmd.set(e.Command??null)},error:e=>{console.log("err",e)}})}downloadFile(e,i){let t=window.URL.createObjectURL(e),o=document.createElement("a");o.href=t,o.download=i,o.click(),window.URL.revokeObjectURL(t)}static \u0275fac=function(i){return new(i||d)};static \u0275cmp=I({type:d,selectors:[["app-export"]],decls:27,vars:12,consts:()=>{let e;e=$localize`${"\uFFFD#6\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let i;i=$localize`${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:export${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON: Export `;let t;t=$localize`${"\uFFFD#16\uFFFD"}:START_TAG_SPK_ICON:terminal-window${"\uFFFD/#16\uFFFD"}:CLOSE_TAG_SPK_ICON: As command line `;let o;o=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SPK_ICON:file${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SPK_ICON: To file `;let F;F=$localize` Export passwords ${"\uFFFD#22\uFFFD\uFFFD/#22\uFFFD"}:TAG_INPUT:`;let m;m=$localize` Encrypt file ${"\uFFFD#25\uFFFD\uFFFD/#25\uFFFD"}:TAG_INPUT:`;let A;A=$localize`Password`;let $;return $=$localize`Repeat password`,[e,i,t,o,F,m,A,$,[1,"actions"],["spk-button","",1,"outlined",3,"routerLink"],["spk-button","",1,"raised","primary",3,"click"],["autocomplete","off",3,"formGroup"],["type","button",3,"click"],[1,"raised","primary"],["type","checkbox","formControlName","exportPasswords"],[1,"primary","raised"],["type","checkbox","formControlName","encryption"],["for","password"],["type","password","id","password","formControlName","password"],["for","repeatPassword"],["type","password","id","repeatPassword","formControlName","repeatPassword"]]},template:function(i,t){if(i&1&&(r(0,"header")(1,"h3"),k(2," Export backup configuration "),r(3,"div",8)(4,"button",9),l(5,0),a(6,"spk-icon"),c(),n(),r(7,"button",10),P("click",function(){return t.submit()}),l(8,1),a(9,"spk-icon"),c(),n()()(),r(10,"p"),k(11),n()(),r(12,"form",11)(13,"spk-button-group")(14,"button",12),P("click",function(){return t.exportType.set("cmd")}),l(15,2),a(16,"spk-icon"),c(),n(),r(17,"button",12),P("click",function(){return t.exportType.set("file")}),l(18,3),a(19,"spk-icon"),c(),n()(),r(20,"spk-toggle",13),l(21,4),a(22,"input",14),c(),n(),r(23,"spk-toggle",15),l(24,5),a(25,"input",16),c(),n(),x(26,ie,8,0),n()),i&2){let o;s(4),C("routerLink",X(11,ne)),s(3),T("loading",t.isExporting()),s(4),y("#",(o=t.activeBackup())==null||o.Backup==null?null:o.Backup.ID,": ",(o=t.activeBackup())==null||o.Backup==null?null:o.Backup.Name,""),s(),C("formGroup",t.exportForm),s(2),T("active",t.exportType()==="cmd"),s(3),T("active",t.exportType()==="file"),s(9),D(t.encryptionFieldSignal()?26:-1)}},dependencies:[Q,j,K,L,U,z,V,q,B,J,ee,W,Z,Y],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{N as default};
package/chunk-D6FCW3QQ.js DELETED
@@ -1 +0,0 @@
1
- import{a as j}from"./chunk-KYQC46J2.js";import{a as Me}from"./chunk-CAGBL2MP.js";import{b as U}from"./chunk-6CRYB4HA.js";import{a as de,b as h,d as M,e as k,h as L,j as fe,l as $,o as y,p as D,r as A}from"./chunk-UJWW7PS7.js";import{b as I}from"./chunk-KJ4O6F3R.js";import{a as P,c as d}from"./chunk-ETEYALHD.js";import{a as b,g as v,l as Ce,o as Re,p as Ne,q as Pe,r as Ie,w as he}from"./chunk-NQVULKI2.js";import{pa as K}from"./chunk-3WKDD2IN.js";import{Ab as ue,Bb as Se,Cb as r,D as ae,Db as a,Eb as l,F as O,Fb as X,Gb as z,Ib as x,J as le,Ob as c,Oc as H,Pb as u,Qb as m,Rb as Fe,Sa as S,Sb as me,T as _e,Ub as T,Vb as B,Z as _,ea as C,eb as N,fa as R,hc as Y,kb as V,kc as Ee,p as re,sc as Te,tb as F,va as p,vb as pe,w as se,xc as ge,yb as G,zb as ce,zc as Oe}from"./chunk-Q3JJWGXW.js";var ke=new D,ye=()=>ke.group({passphrase:ke.control("")}),J=class n{#t=_(I);#e=_(f);#o=_(d);#i=_(P);encryptionForm=this.#e.encryptionForm;creatingTemporaryBackup=p(!1);next(){let t=this.#e.destinationTargetUrl();if(!t)throw new Error("No target URL");this.creatingTemporaryBackup.set(!0);let e=this.encryptionForm.value?.passphrase??null,o=[{Name:"--no-encryption",Value:"true"}];e&&(o=[{Name:"--passphrase",Value:e}]),this.#t.postApiV1Backups({requestBody:{Backup:{TargetURL:t,Settings:o}},temporary:!0}).pipe(O(()=>this.creatingTemporaryBackup.set(!1))).subscribe({next:i=>{let s=i.ID;this.#e.getBackup(s),this.#o.navigate([`/restore-draft/${s}`])},error:i=>{console.error(i)}})}back(){this.#e.isFileRestore()?this.#o.navigate(["encryption"],{relativeTo:this.#i.parent}):this.#e.exit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-restore-encryption"]],decls:12,vars:1,consts:()=>{let t;t=$localize`Enter backup passphrase if defined.`;let e;e=$localize`Password`;let o;o=$localize`${"\uFFFD#8\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#8\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let i;return i=$localize`${"\uFFFD#11\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#11\uFFFD"}:CLOSE_TAG_SPK_ICON: Continue `,[e,o,i,[3,"submit","formGroup"],["for","password"],["type","password","id","password","placeholder",t,"formControlName","passphrase"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"]]},template:function(e,o){e&1&&(r(0,"form",3),T("submit",function(){return o.next()}),r(1,"spk-form-field")(2,"label",4),m(3,0),a(),l(4,"input",5),a(),r(5,"div",6)(6,"button",7),T("click",function(){return o.back()}),c(7,1),l(8,"spk-icon"),u(),a(),r(9,"button",8),c(10,2),l(11,"spk-icon"),u(),a()()()),e&2&&F("formGroup",o.encryptionForm)},dependencies:[A,L,h,M,k,$,y,Ce,b,v],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};function be(n,t){n&1&&l(0,"spk-progress-bar",8)}function ve(n,t){if(n&1&&(r(0,"spk-option",14),Y(1),ge(2,"date"),a()),n&2){let e=t.$implicit;F("value",e.Version),S(),Ee("",e.Version,": ",Oe(2,3,e.Time,"medium"),"")}}function we(n,t){if(n&1){let e=x();l(0,"spk-progress-bar",8),r(1,"button",10),T("click",function(){C(e);let i=B(2);return R(i.abortLoading())}),m(2,4),a()}}function Ge(n,t){if(n&1&&(r(0,"app-file-tree",15)(1,"label",16),m(2,5),a(),l(3,"input",17),a()),n&2){let e=B(3);F("rootPath",e.rootPath())("backupSettings",e.backupSettings())("multiSelect",!0)("showFiles",!0)}}function xe(n,t){if(n&1&&V(0,Ge,4,4,"app-file-tree",15),n&2){let e=B(2);G((e.isDraft()&&!e.isRepairing()||!e.isDraft())&&e.backupSettings()?0:-1)}}function Be(n,t){if(n&1&&(r(0,"spk-select",12),l(1,"input",13),ue(2,ve,3,6,"spk-option",14,ce),a(),V(4,we,3,0)(5,xe,1,1)),n&2){let e=B();F("displayFn",e.displayFn())("hideClearButton",!0),S(2),Se(e.versionOptions()),S(2),G(e.isDraft()&&e.isRepairing()||e.versionOptionsLoading()||e.loadingRootPath()?4:-1),S(),G(e.showFileTree()?5:-1)}}var q=new D,De=()=>q.group({filesToRestore:q.control(""),selectedOption:q.control(null),passphrase:q.control(null)}),Z=class n{#t=_(I);#e=_(f);#o=_(d);#i=_(P);#n=_(K);selectFilesForm=this.#e.selectFilesForm;selectFilesFormSignal=this.#e.selectFilesFormSignal;selectOptionSignal=this.#e.selectOptionSignal;backupId=this.#e.backupId;versionOptionsLoading=this.#e.versionOptionsLoading;versionOptions=this.#e.versionOptions;isDraft=this.#e.isDraft;isFileRestore=this.#e.isFileRestore;showFileTree=p(!1);backupSettings=p(null);backupSettingsEffect=H(()=>{let t=this.backupId(),e=typeof this.selectOptionSignal()=="string"?parseInt(this.selectOptionSignal()):this.selectOptionSignal();if(typeof e!="number"||!t)return;let i=this.versionOptions()?.find(s=>s.Version===e)?.Time??null;i&&(this.showFileTree.set(!1),setTimeout(()=>{let s={id:t+"",time:i};this.backupSettings.set(s),this.getRootPath(s)}))});rootPath=p(void 0);loadingRootPath=p(!1);getRootPath(t){let e={id:t.id+"",time:t.time,prefixOnly:!0,folderContents:!1};this.loadingRootPath.set(!0),this.#t.getApiV1BackupByIdFiles(e).pipe(O(()=>{this.showFileTree.set(!0),this.loadingRootPath.set(!1)})).subscribe({next:o=>{let i=o.Files[0].Path;this.rootPath.set(i)}})}isRepairing=p(!1);repairEffect=H(()=>{let t=this.#e.isDraft(),e=this.selectOptionSignal();if(t&&e){let o=this.backupId();this.isRepairing.set(!0),this.#t.postApiV1BackupByIdRepairupdate({id:o,requestBody:{only_paths:!0,time:new Date().toISOString()}}).pipe(O(()=>this.isRepairing.set(!1))).subscribe()}});abortLoading(){this.selectFilesForm.controls.selectedOption.setValue(null)}displayFn(){let t=this.versionOptions();return e=>{if(!e)return"";let o=t?.find(i=>typeof i.Version=="number"&&i.Version.toString()===e);return o?`${o.Version}: ${this.#n.transform(o.Time,"medium")}`:""}}next(){this.#o.navigate(["options"],{relativeTo:this.#i.parent})}back(){this.#e.isFileRestore()?this.#o.navigate(["encryption"],{relativeTo:this.#i.parent}):this.#e.exit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-select-files"]],features:[Te([K])],decls:13,vars:3,consts:()=>{let t;t=$localize`Select files`;let e;e=$localize`${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let o;o=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SPK_ICON: Continue `;let i;i=$localize`Select an option...`;let s;s=$localize`Cancel`;let w;return w=$localize`Path`,[["formRef",""],t,e,o,s,w,[3,"submit","formGroup"],[1,"title-30"],[1,"indeterminate","primary"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],[3,"displayFn","hideClearButton"],["type","text","placeholder",i,"formControlName","selectedOption"],[3,"value"],[3,"rootPath","backupSettings","multiSelect","showFiles"],["for","path"],["type","text","id","path","formControlName","filesToRestore"]]},template:function(e,o){if(e&1){let i=x();r(0,"form",6,0),T("submit",function(){return C(i),R(o.next())}),r(2,"h3",7),m(3,1),a(),V(4,be,1,0,"spk-progress-bar",8)(5,Be,6,4),r(6,"div",9)(7,"button",10),T("click",function(){return C(i),R(o.back())}),c(8,2),l(9,"spk-icon"),u(),a(),r(10,"button",11),c(11,3),l(12,"spk-icon"),u(),a()()()}e&2&&(F("formGroup",o.selectFilesForm),S(4),G(o.versionOptionsLoading()?4:5),S(5),Fe(o.isFileRestore()?"Back":"Exit"),me(8))},dependencies:[A,L,h,M,k,$,y,K,j,v,Pe,b,Ie,Re],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};var f=class n{#t=_(d);#e=_(I);backupId=p(null);backup=p(null);destinationTargetUrl=p(null);selectFilesForm=De();optionsForm=Ae();encryptionForm=ye();optionsFormSignal=U(this.optionsForm.valueChanges);selectFilesFormSignal=U(this.selectFilesForm.valueChanges);selectOptionSignal=U(this.selectFilesForm.controls.selectedOption.valueChanges);versionOptionsLoading=p(!1);versionOptions=p([]);isSubmitting=p(!1);isDraft=p(!1);isFileRestore=p(!1);init(t,e=!1,o=!1){this.backupId.set(t),this.isFileRestore.set(e),this.isDraft.set(o),e&&this.#t.navigate(["/restore-from-files/destination"]),e||this.getBackup(t,!0)}updateTargetUrl(t){this.destinationTargetUrl.set(t)}submit(){this.isSubmitting.set(!0);let t=this.backupId(),e=this.optionsForm.value,o=this.selectFilesForm.value,i=this.versionOptions()?.find(s=>s.Version===o.selectedOption);this.#e.postApiV1BackupByIdRestore({id:t??"",requestBody:{paths:o.filesToRestore?.split("\0").map(s=>`${s}*`)??[],passphrase:o.passphrase??null,time:i?.Time,restore_path:e.restoreFromPath,overwrite:e.handleExisting==="overwrite",permissions:e.permissions,skip_metadata:!0}}).pipe(O(()=>this.isSubmitting.set(!1))).subscribe({next:()=>this.exit(),error:s=>{console.error("restore error",s)}})}exit(){this.#o(),this.#t.navigate(["/"])}getVersionOptions(){this.versionOptions()}getBackup(t,e=!1){this.versionOptionsLoading.set(!0),se([this.#e.getApiV1BackupById({id:t}),this.#e.getApiV1BackupByIdFilesets({id:t}).pipe(re(12e3),le())]).pipe(ae(1),O(()=>this.versionOptionsLoading.set(!1))).subscribe({next:([o,i])=>{this.versionOptions.set(i),this.backup.set(o)}})}#o(){this.selectFilesForm.reset(),this.optionsForm.reset()}static \u0275fac=function(e){return new(e||n)};static \u0275prov=_e({token:n,factory:n.\u0275fac,providedIn:"root"})};var W=new D,Ae=()=>W.group({restoreFrom:W.control("orignal"),restoreFromPath:W.control(""),handleExisting:W.control("overwrite"),permissions:W.control(!1)}),ee=class n{#t=_(f);#e=_(d);#o=_(P);optionsForm=this.#t.optionsForm;optionsFormSignal=this.#t.optionsFormSignal;isSubmitting=this.#t.isSubmitting;goBack(){this.#e.navigate(["select-files"],{relativeTo:this.#o.parent})}submit(){this.#t.submit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-advanced-options-settings"]],decls:39,vars:6,consts:()=>{let t;t=$localize`Restore options`;let e;e=$localize`Where do you want to restore files from?`;let o;o=$localize` Original location ${"\uFFFD#9\uFFFD\uFFFD/#9\uFFFD"}:TAG_INPUT:`;let i;i=$localize` Pick location ${"\uFFFD#12\uFFFD\uFFFD/#12\uFFFD"}:TAG_INPUT:`;let s;s=$localize`How do you want to handle existing files?`;let w;w=$localize` Overwrite ${"\uFFFD#22\uFFFD\uFFFD/#22\uFFFD"}:TAG_INPUT:`;let g;g=$localize` Save different versions with timestamp in file name ${"\uFFFD#25\uFFFD\uFFFD/#25\uFFFD"}:TAG_INPUT:`;let te;te=$localize`Permissions`;let oe;oe=$localize` Restore read/write permissions ${"\uFFFD#31\uFFFD\uFFFD/#31\uFFFD"}:TAG_INPUT:`;let ie;ie=$localize`${"\uFFFD#35\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#35\uFFFD"}:CLOSE_TAG_SPK_ICON: Go back `;let ne;return ne=$localize`${"\uFFFD#38\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#38\uFFFD"}:CLOSE_TAG_SPK_ICON: Submit `,[["formRef",""],t,e,o,i,s,w,g,te,oe,ie,ne,[3,"submit","formGroup"],[1,"title-30"],[3,"disallowToggle"],["title",""],[1,"raised","primary"],["type","radio","name","restoreFrom","value","orignal","formControlName","restoreFrom"],["type","radio","name","restoreFrom","value","pickLocation","formControlName","restoreFrom"],[3,"disabled"],["for","path"],["type","text","id","path","formControlName","restoreFromPath"],["type","radio","name","handleExisting","value","overwrite","formControlName","handleExisting"],["type","radio","name","handleExisting","value","saveTimestamp","formControlName","handleExisting"],[1,"primary","raised"],["type","checkbox","formControlName","permissions"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"]]},template:function(e,o){if(e&1){let i=x();r(0,"form",12,0),T("submit",function(){return C(i),R(o.submit())}),r(2,"h3",13),m(3,1),a(),r(4,"app-toggle-card",14),X(5,15),m(6,2),z(),r(7,"spk-radio",16),c(8,3),l(9,"input",17),u(),a(),r(10,"spk-radio",16),c(11,4),l(12,"input",18),u(),a(),r(13,"app-file-tree",19)(14,"label",20),Y(15,"Path"),a(),l(16,"input",21),a()(),r(17,"app-toggle-card",14),X(18,15),m(19,5),z(),r(20,"spk-radio",16),c(21,6),l(22,"input",22),u(),a(),r(23,"spk-radio",16),c(24,7),l(25,"input",23),u(),a()(),r(26,"app-toggle-card"),X(27,15),m(28,8),z(),r(29,"spk-toggle",24),c(30,9),l(31,"input",25),u(),a()(),r(32,"div",26)(33,"button",27),T("click",function(){return C(i),R(o.goBack())}),c(34,10),l(35,"spk-icon"),u(),a(),r(36,"button",28),c(37,11),l(38,"spk-icon"),u(),a()()()}if(e&2){let i;F("formGroup",o.optionsForm),S(4),F("disallowToggle",!0),S(9),F("disabled",((i=o.optionsFormSignal())==null?null:i.restoreFrom)!=="pickLocation"),S(4),F("disallowToggle",!0),S(19),pe("loader",o.isSubmitting())}},dependencies:[A,L,h,de,fe,M,k,$,y,Me,j,he,Ne,v,b],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};export{Ae as a,ee as b,ye as c,J as d,De as e,Z as f,f as g};
package/chunk-ETEYALHD.js DELETED
@@ -1 +0,0 @@
1
- import{b as xr}from"./chunk-TS4YY2WO.js";import{j as vt,n as _e}from"./chunk-3WKDD2IN.js";import{A as fe,C as ut,Cc as gt,D as ee,Eb as Dr,F as Pe,G as H,Gc as Le,H as ct,I as or,K as sr,Kc as ke,M as ar,N as x,O as ur,P as S,Q as w,Ra as gr,Rc as Er,T as b,Ta as j,Ub as Mr,V as cr,W as P,X as lt,Xa as pt,Y as ht,Ya as vr,Z as g,_ as lr,a as er,aa as je,ac as Tr,ba as k,bb as mr,bc as Or,c as tr,cc as Ur,da as Ne,db as yr,e as it,eb as Rr,f as ot,g as B,gb as $e,h as M,ha as dt,ia as hr,j as V,ja as dr,jb as Sr,k as T,l as d,la as fr,lb as Cr,m as de,ma as te,mb as wr,n as rr,o as nr,ob as br,pb as Ir,q as m,r as xe,ra as pr,s as O,sa as ft,sb as Ar,t as st,u as ir,v as at,x as X,z as J}from"./chunk-Q3JJWGXW.js";import{a as l,b as I}from"./chunk-C6Q5SG76.js";var p="primary",Te=Symbol("RouteTitle"),Ct=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ae(t){return new Ct(t)}function yn(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],u=t[o];if(s[0]===":")i[s.substring(1)]=u;else if(s!==u.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Rn(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!L(t[e],r[e]))return!1;return!0}function L(t,r){let e=t?wt(t):void 0,n=r?wt(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!qr(t[i],r[i]))return!1;return!0}function wt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function qr(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Br(t){return t.length>0?t[t.length-1]:null}function W(t){return rr(t)?t:wr(t)?T(Promise.resolve(t)):d(t)}var Sn={exact:Hr,subset:Wr},Vr={exact:Cn,subset:wn,ignored:()=>!0};function Pr(t,r,e){return Sn[e.paths](t.root,r.root,e.matrixParams)&&Vr[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Cn(t,r){return L(t,r)}function Hr(t,r,e){if(!Q(t.segments,r.segments)||!qe(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Hr(t.children[n],r.children[n],e))return!1;return!0}function wn(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>qr(t[e],r[e]))}function Wr(t,r,e){return Gr(t,r,r.segments,e)}function Gr(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Q(i,e)||r.hasChildren()||!qe(i,e,n))}else if(t.segments.length===e.length){if(!Q(t.segments,e)||!qe(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Wr(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Q(t.segments,i)||!qe(t.segments,i,n)||!t.children[p]?!1:Gr(t.children[p],r,o,n)}}function qe(t,r,e){return r.every((n,i)=>Vr[e](t[i].parameters,n.parameters))}var z=class{root;queryParams;fragment;_queryParamMap;constructor(r=new v([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){return An.serialize(this)}},v=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Be(this)}},G=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ae(this.parameters),this._parameterMap}toString(){return Kr(this)}};function bn(t,r){return Q(t,r)&&t.every((e,n)=>L(e.parameters,r[n].parameters))}function Q(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function In(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===p&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==p&&(e=e.concat(r(i,n)))}),e}var Qt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>new Re,providedIn:"root"})}return t})(),Re=class{parse(r){let e=new It(r);return new z(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${pe(r.root,!0)}`,n=Tn(r.queryParams),i=typeof r.fragment=="string"?`#${Dn(r.fragment)}`:"";return`${e}${n}${i}`}},An=new Re;function Be(t){return t.segments.map(r=>Kr(r)).join("/")}function pe(t,r){if(!t.hasChildren())return Be(t);if(r){let e=t.children[p]?pe(t.children[p],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&n.push(`${i}:${pe(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=In(t,(n,i)=>i===p?[pe(t.children[p],!1)]:[`${i}:${pe(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Be(t)}/${e[0]}`:`${Be(t)}/(${e.join("//")})`}}function Qr(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ze(t){return Qr(t).replace(/%3B/gi,";")}function Dn(t){return encodeURI(t)}function bt(t){return Qr(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ve(t){return decodeURIComponent(t)}function jr(t){return Ve(t.replace(/\+/g,"%20"))}function Kr(t){return`${bt(t.path)}${Mn(t.parameters)}`}function Mn(t){return Object.entries(t).map(([r,e])=>`;${bt(r)}=${bt(e)}`).join("")}function Tn(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${ze(e)}=${ze(i)}`).join("&"):`${ze(e)}=${ze(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var On=/^[^\/()?;#]+/;function mt(t){let r=t.match(On);return r?r[0]:""}var Un=/^[^\/()?;=#]+/;function En(t){let r=t.match(Un);return r?r[0]:""}var xn=/^[^=?&#]+/;function Pn(t){let r=t.match(xn);return r?r[0]:""}var jn=/^[^&#]+/;function Nn(t){let r=t.match(jn);return r?r[0]:""}var It=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[p]=new v(r,e)),n}parseSegment(){let r=mt(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(r),new G(Ve(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=En(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=mt(this.remaining);i&&(n=i,this.capture(n))}r[Ve(e)]=Ve(n)}parseQueryParam(r){let e=Pn(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=Nn(this.remaining);s&&(n=s,this.capture(n))}let i=jr(e),o=jr(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=mt(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new v([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new w(4011,!1)}};function Zr(t){return t.segments.length>0?new v([],{[p]:t}):t}function Yr(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Yr(i);if(n===p&&o.segments.length===0&&o.hasChildren())for(let[s,u]of Object.entries(o.children))r[s]=u;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new v(t.segments,r);return $n(e)}function $n(t){if(t.numberOfChildren===1&&t.children[p]){let r=t.children[p];return new v(t.segments.concat(r.segments),r.children)}return t}function K(t){return t instanceof z}function Ln(t,r,e=null,n=null){let i=Xr(t);return Jr(i,r,e,n)}function Xr(t){let r;function e(o){let s={};for(let a of o.children){let c=e(a);s[a.outlet]=c}let u=new v(o.url,s);return o===t&&(r=u),u}let n=e(t.root),i=Zr(n);return r??i}function Jr(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return yt(i,i,i,e,n);let o=kn(r);if(o.toRoot())return yt(i,i,new v([],{}),e,n);let s=_n(o,i,t),u=s.processChildren?ve(s.segmentGroup,s.index,o.commands):tn(s.segmentGroup,s.index,o.commands);return yt(i,s.segmentGroup,u,e,n)}function He(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Se(t){return typeof t=="object"&&t!=null&&t.outlets}function yt(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([a,c])=>{o[a]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`});let s;t===r?s=e:s=en(t,r,e);let u=Zr(Yr(s));return new z(u,o,i)}function en(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=en(o,r,e)}),new v(t.segments,n)}var We=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&He(n[0]))throw new w(4003,!1);let i=n.find(Se);if(i&&i!==Br(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kn(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new We(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let u={};return Object.entries(o.outlets).forEach(([a,c])=>{u[a]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:u}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((u,a)=>{a==0&&u==="."||(a==0&&u===""?e=!0:u===".."?r++:u!=""&&i.push(u))}),i):[...i,o]},[]);return new We(e,r,n)}var ie=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function _n(t,r,e){if(t.isAbsolute)return new ie(r,!0,0);if(!e)return new ie(r,!1,NaN);if(e.parent===null)return new ie(e,!0,0);let n=He(t.commands[0])?0:1,i=e.segments.length-1+n;return zn(e,i,t.numberOfDoubleDots)}function zn(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new ie(n,!1,i-o)}function Fn(t){return Se(t[0])?t[0].outlets:{[p]:t}}function tn(t,r,e){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return ve(t,r,e);let n=qn(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new v(t.segments.slice(0,n.pathIndex),{});return o.children[p]=new v(t.segments.slice(n.pathIndex),t.children),ve(o,0,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?At(t,r,e):n.match?ve(t,0,i):At(t,r,e)}function ve(t,r,e){if(e.length===0)return new v(t.segments,{});{let n=Fn(e),i={};if(Object.keys(n).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=ve(t.children[p],r,e);return new v(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=tn(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new v(t.segments,i)}}function qn(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],u=e[n];if(Se(u))break;let a=`${u}`,c=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c=="object"&&c.outlets===void 0){if(!$r(a,c,s))return o;n+=2}else{if(!$r(a,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function At(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(Se(o)){let a=Bn(o.outlets);return new v(n,a)}if(i===0&&He(e[0])){let a=t.segments[r];n.push(new G(a.path,Nr(e[0]))),i++;continue}let s=Se(o)?o.outlets[p]:`${o}`,u=i<e.length-1?e[i+1]:null;s&&u&&He(u)?(n.push(new G(s,Nr(u))),i+=2):(n.push(new G(s,{})),i++)}return new v(n,{})}function Bn(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=At(new v([],{}),0,n))}),r}function Nr(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function $r(t,r,e){return t==e.path&&L(r,e.parameters)}var me="imperative",R=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(R||{}),U=class{id;url;constructor(r,e){this.id=r,this.url=e}},Ce=class extends U{type=R.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},F=class extends U{urlAfterRedirects;type=R.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},D=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(D||{}),Dt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Dt||{}),_=class extends U{reason;code;type=R.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Z=class extends U{reason;code;type=R.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},we=class extends U{error;target;type=R.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ge=class extends U{urlAfterRedirects;state;type=R.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mt=class extends U{urlAfterRedirects;state;type=R.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Tt=class extends U{urlAfterRedirects;state;shouldActivate;type=R.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ot=class extends U{urlAfterRedirects;state;type=R.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ut=class extends U{urlAfterRedirects;state;type=R.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Et=class{route;type=R.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},xt=class{route;type=R.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Pt=class{snapshot;type=R.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jt=class{snapshot;type=R.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nt=class{snapshot;type=R.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$t=class{snapshot;type=R.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var be=class{},ue=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Vn(t,r){return t.providers&&!t._injector&&(t._injector=yr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function N(t){return t.outlet||p}function Hn(t,r){let e=t.filter(n=>N(n)===r);return e.push(...t.filter(n=>N(n)!==r)),e}function Oe(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Lt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Oe(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new et(this.rootInjector)}},et=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Lt(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(ht(je))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qe=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=kt(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=kt(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=_t(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return _t(r,this._root).map(e=>e.value)}};function kt(t,r){if(t===r.value)return r;for(let e of r.children){let n=kt(t,e);if(n)return n}return null}function _t(t,r){if(t===r.value)return[r];for(let e of r.children){let n=_t(t,e);if(n.length)return n.unshift(r),n}return[]}var A=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function ne(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Ke=class extends Qe{snapshot;constructor(r,e){super(r),this.snapshot=e,Kt(this,r)}toString(){return this.snapshot.toString()}};function rn(t){let r=Wn(t),e=new M([new G("",{})]),n=new M({}),i=new M({}),o=new M({}),s=new M(""),u=new Y(e,n,o,s,i,p,t,r.root);return u.snapshot=r.root,new Ke(new A(u,[]),r)}function Wn(t){let r={},e={},n={},i="",o=new oe([],r,n,i,e,p,t,null,{});return new Ye("",new A(o,[]))}var Y=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,u,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(m(c=>c[Te]))??d(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(m(r=>ae(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(r=>ae(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ze(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:l(l({},r.params),t.params),data:l(l({},r.data),t.data),resolve:l(l(l(l({},t.data),r.data),i?.data),t._resolvedData)}:n={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&on(i)&&(n.resolve[Te]=i.title),n}var oe=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Te]}constructor(r,e,n,i,o,s,u,a,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=u,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ae(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ae(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Ye=class extends Qe{url;constructor(r,e){super(e),this.url=r,Kt(this,e)}toString(){return nn(this._root)}};function Kt(t,r){r.value._routerState=t,r.children.forEach(e=>Kt(t,e))}function nn(t){let r=t.children.length>0?` { ${t.children.map(nn).join(", ")} } `:"";return`${t.value}${r}`}function Rt(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,L(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),L(r.params,e.params)||t.paramsSubject.next(e.params),Rn(r.url,e.url)||t.urlSubject.next(e.url),L(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function zt(t,r){let e=L(t.params,r.params)&&bn(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||zt(t.parent,r.parent))}function on(t){return typeof t.title=="string"||t.title===null}var Gn=new P(""),Qn=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=pr(void 0);parentContexts=g(et);location=g(vr);changeDetector=g(Le);inputBinder=g(tt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new Ft(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$e({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ne]})}return t})(),Ft=class t{route;childContexts;parent;outletData;__ngOutletInjector(r){return new t(this.route,this.childContexts,r,this.outletData)}constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Y?this.route:r===et?this.childContexts:r===Gn?this.outletData:this.parent.get(r,e)}},tt=new P(""),Lr=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=xe([n.queryParams,n.params,n.data]).pipe(x(([o,s,u],a)=>(u=l(l(l({},o),s),u),a===0?d(u):Promise.resolve(u)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Er(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:u}of s.inputs)e.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})();function Kn(t,r,e){let n=Ie(t,r._root,e?e._root:void 0);return new Ke(n,r)}function Ie(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Zn(t,r,e);return new A(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(u=>Ie(t,u)),s}}let n=Yn(r.value),i=r.children.map(o=>Ie(t,o));return new A(n,i)}}function Zn(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Ie(t,n,i);return Ie(t,n)})}function Yn(t){return new Y(new M(t.url),new M(t.params),new M(t.queryParams),new M(t.fragment),new M(t.data),t.outlet,t.component,t)}var Ae=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},sn="ngNavigationCancelingError";function Xe(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=K(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=an(!1,D.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function an(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[sn]=!0,e.cancellationCode=r,e}function Xn(t){return un(t)&&K(t.url)}function un(t){return!!t&&t[sn]}var Jn=(t,r,e,n)=>m(i=>(new qt(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),qt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),Rt(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),u=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:u})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=ne(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=ne(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new $t(o.value.snapshot))}),r.children.length&&this.forwardEvent(new jt(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(Rt(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(u.contexts),s.attachRef=u.componentRef,s.route=u.route.value,s.outlet&&s.outlet.attach(u.componentRef,u.route.value),Rt(u.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},Je=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},se=class{component;route;constructor(r,e){this.component=r,this.route=e}};function ei(t,r,e){let n=t._root,i=r?r._root:null;return ge(n,i,e,[n.value])}function ti(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function le(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!cr(t)?t:r.get(t):n}function ge(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ne(r);return t.children.forEach(s=>{ri(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,u])=>ye(u,e.getContext(s),i)),i}function ri(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,u=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=ni(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Je(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ge(t,r,u?u.children:null,n,i):ge(t,r,e,n,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new se(u.outlet.component,s))}else s&&ye(r,u,i),i.canActivateChecks.push(new Je(n)),o.component?ge(t,null,u?u.children:null,n,i):ge(t,null,e,n,i);return i}function ni(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Q(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Q(t.url,r.url)||!L(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zt(t,r)||!L(t.queryParams,r.queryParams);case"paramsChange":default:return!zt(t,r)}}function ye(t,r,e){let n=ne(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?ye(s,r.children.getContext(o),e):ye(s,null,e):ye(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new se(r.outlet.component,i)):e.canDeactivateChecks.push(new se(null,i)):e.canDeactivateChecks.push(new se(null,i))}function Ue(t){return typeof t=="function"}function ii(t){return typeof t=="boolean"}function oi(t){return t&&Ue(t.canLoad)}function si(t){return t&&Ue(t.canActivate)}function ai(t){return t&&Ue(t.canActivateChild)}function ui(t){return t&&Ue(t.canDeactivate)}function ci(t){return t&&Ue(t.canMatch)}function cn(t){return t instanceof nr||t?.name==="EmptyError"}var Fe=Symbol("INITIAL_VALUE");function ce(){return x(t=>xe(t.map(r=>r.pipe(ee(1),ar(Fe)))).pipe(m(r=>{for(let e of r)if(e!==!0){if(e===Fe)return Fe;if(e===!1||li(e))return e}return!0}),X(r=>r!==Fe),ee(1)))}function li(t){return K(t)||t instanceof Ae}function hi(t,r){return O(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?d(I(l({},e),{guardsResult:!0})):di(s,n,i,t).pipe(O(u=>u&&ii(u)?fi(n,o,t,r):d(u)),m(u=>I(l({},e),{guardsResult:u})))})}function di(t,r,e,n){return T(t).pipe(O(i=>yi(i.component,i.route,e,r,n)),H(i=>i!==!0,!0))}function fi(t,r,e,n){return T(r).pipe(fe(i=>ir(gi(i.route.parent,n),pi(i.route,n),mi(t,i.path,e),vi(t,i.route,e))),H(i=>i!==!0,!0))}function pi(t,r){return t!==null&&r&&r(new Nt(t)),d(!0)}function gi(t,r){return t!==null&&r&&r(new Pt(t)),d(!0)}function vi(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(o=>at(()=>{let s=Oe(r)??e,u=le(o,s),a=si(u)?u.canActivate(r,t):k(s,()=>u(r,t));return W(a).pipe(H())}));return d(i).pipe(ce())}function mi(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>ti(s)).filter(s=>s!==null).map(s=>at(()=>{let u=s.guards.map(a=>{let c=Oe(s.node)??e,h=le(a,c),f=ai(h)?h.canActivateChild(n,t):k(c,()=>h(n,t));return W(f).pipe(H())});return d(u).pipe(ce())}));return d(o).pipe(ce())}function yi(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return d(!0);let s=o.map(u=>{let a=Oe(r)??i,c=le(u,a),h=ui(c)?c.canDeactivate(t,r,e,n):k(a,()=>c(t,r,e,n));return W(h).pipe(H())});return d(s).pipe(ce())}function Ri(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=oi(u)?u.canLoad(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),ln(n))}function ln(t){return tr(S(r=>{if(typeof r!="boolean")throw Xe(t,r)}),m(r=>r===!0))}function Si(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return d(!0);let o=i.map(s=>{let u=le(s,t),a=ci(u)?u.canMatch(r,e):k(t,()=>u(r,e));return W(a)});return d(o).pipe(ce(),ln(n))}var De=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Me=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function re(t){return de(new De(t))}function Ci(t){return de(new w(4e3,!1))}function wi(t){return de(an(!1,D.GuardRejected))}var Bt=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[p])return Ci(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let u=e,{queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,params:$,data:C,title:q}=i,E=k(o,()=>u({params:$,data:C,queryParams:a,fragment:c,routeConfig:h,url:f,outlet:y,title:q}));if(E instanceof z)throw new Me(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new Me(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new z(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let u=o.substring(1);n[i]=e[u]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([u,a])=>{s[u]=this.createSegmentGroup(r,a,n,i)}),new v(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},Vt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bi(t,r,e,n,i){let o=hn(t,r,e);return o.matched?(n=Vn(r,n),Si(n,r,e,i).pipe(m(s=>s===!0?o:l({},Vt)))):d(o)}function hn(t,r,e){if(r.path==="**")return Ii(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},Vt):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||yn)(e,t,r);if(!i)return l({},Vt);let o={};Object.entries(i.posParams??{}).forEach(([u,a])=>{o[u]=a.path});let s=i.consumed.length>0?l(l({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Ii(t){return{matched:!0,parameters:t.length>0?Br(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function kr(t,r,e,n){return e.length>0&&Mi(t,e,n)?{segmentGroup:new v(r,Di(n,new v(e,t.children))),slicedSegments:[]}:e.length===0&&Ti(t,e,n)?{segmentGroup:new v(t.segments,Ai(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new v(t.segments,t.children),slicedSegments:e}}function Ai(t,r,e,n){let i={};for(let o of e)if(rt(t,r,o)&&!n[N(o)]){let s=new v([],{});i[N(o)]=s}return l(l({},n),i)}function Di(t,r){let e={};e[p]=r;for(let n of t)if(n.path===""&&N(n)!==p){let i=new v([],{});e[N(n)]=i}return e}function Mi(t,r,e){return e.some(n=>rt(t,r,n)&&N(n)!==p)}function Ti(t,r,e){return e.some(n=>rt(t,r,n))}function rt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Oi(t,r,e){return r.length===0&&!t.children[e]}var Ht=class{};function Ui(t,r,e,n,i,o,s="emptyOnly"){return new Wt(t,r,e,n,i,s,o).recognize()}var Ei=31,Wt=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,u){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=u,this.applyRedirects=new Bt(this.urlSerializer,this.urlTree)}noMatchError(r){return new w(4002,`'${r.segmentGroup}'`)}recognize(){let r=kr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(m(({children:e,rootSnapshot:n})=>{let i=new A(n,e),o=new Ye("",i),s=Ln(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new oe([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(m(n=>({children:n,rootSnapshot:e})),J(n=>{if(n instanceof Me)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof De?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(m(s=>s instanceof A?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return T(o).pipe(fe(s=>{let u=n.children[s],a=Hn(e,s);return this.processSegmentGroup(r,a,u,s,i)}),sr((s,u)=>(s.push(...u),s)),ut(null),or(),O(s=>{if(s===null)return re(n);let u=dn(s);return xi(u),d(u)}))}processSegment(r,e,n,i,o,s,u){return T(e).pipe(fe(a=>this.processSegmentAgainstRoute(a._injector??r,e,a,n,i,o,s,u).pipe(J(c=>{if(c instanceof De)return d(null);throw c}))),H(a=>!!a),J(a=>{if(cn(a))return Oi(n,i,o)?d(new Ht):re(n);throw a}))}processSegmentAgainstRoute(r,e,n,i,o,s,u,a){return N(n)!==s&&(s===p||!rt(i,o,n))?re(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,a):this.allowRedirects&&u?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,a):re(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,u){let{matched:a,parameters:c,consumedSegments:h,positionalParamSegments:f,remainingSegments:y}=hn(e,i,o);if(!a)return re(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ei&&(this.allowRedirects=!1));let $=new oe(o,c,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,_r(i),N(i),i.component??i._loadedComponent??null,i,zr(i)),C=Ze($,u,this.paramsInheritanceStrategy);$.params=Object.freeze(C.params),$.data=Object.freeze(C.data);let q=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,$,r);return this.applyRedirects.lineralizeSegments(i,q).pipe(O(E=>this.processSegment(r,n,e,E.concat(y),s,!1,u)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let u=bi(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),u.pipe(x(a=>a.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(x(({routes:c})=>{let h=n._loadedInjector??r,{parameters:f,consumedSegments:y,remainingSegments:$}=a,C=new oe(y,f,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,_r(n),N(n),n.component??n._loadedComponent??null,n,zr(n)),q=Ze(C,s,this.paramsInheritanceStrategy);C.params=Object.freeze(q.params),C.data=Object.freeze(q.data);let{segmentGroup:E,slicedSegments:he}=kr(e,y,$,c);if(he.length===0&&E.hasChildren())return this.processChildren(h,c,E,C).pipe(m(Ee=>new A(C,Ee)));if(c.length===0&&he.length===0)return d(new A(C,[]));let mn=N(n)===o;return this.processSegment(h,c,E,he,mn?p:o,!0,C).pipe(m(Ee=>new A(C,Ee instanceof A?[Ee]:[])))}))):re(e)))}getChildConfig(r,e,n){return e.children?d({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?d({routes:e._loadedRoutes,injector:e._loadedInjector}):Ri(r,e,n,this.urlSerializer).pipe(O(i=>i?this.configLoader.loadChildren(r,e).pipe(S(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):wi(e))):d({routes:[],injector:r})}};function xi(t){t.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function Pi(t){let r=t.value.routeConfig;return r&&r.path===""}function dn(t){let r=[],e=new Set;for(let n of t){if(!Pi(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=dn(n.children);r.push(new A(n.value,i))}return r.filter(n=>!e.has(n))}function _r(t){return t.data||{}}function zr(t){return t.resolve||{}}function ji(t,r,e,n,i,o){return O(s=>Ui(t,r,e,n,s.extractedUrl,i,o).pipe(m(({state:u,tree:a})=>I(l({},s),{targetSnapshot:u,urlAfterRedirects:a}))))}function Ni(t,r){return O(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return d(e);let o=new Set(i.map(a=>a.route)),s=new Set;for(let a of o)if(!s.has(a))for(let c of fn(a))s.add(c);let u=0;return T(s).pipe(fe(a=>o.has(a)?$i(a,n,t,r):(a.data=Ze(a,a.parent,t).resolve,d(void 0))),S(()=>u++),ct(1),O(a=>u===s.size?d(e):V))})}function fn(t){let r=t.children.map(e=>fn(e)).flat();return[t,...r]}function $i(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!on(i)&&(o[Te]=i.title),Li(o,t,r,n).pipe(m(s=>(t._resolvedData=s,t.data=Ze(t,t.parent,e).resolve,null)))}function Li(t,r,e,n){let i=wt(t);if(i.length===0)return d({});let o={};return T(i).pipe(O(s=>ki(t[s],r,e,n).pipe(H(),S(u=>{if(u instanceof Ae)throw Xe(new Re,u);o[s]=u}))),ct(1),m(()=>o),J(s=>cn(s)?V:de(s)))}function ki(t,r,e,n){let i=Oe(r)??n,o=le(t,i),s=o.resolve?o.resolve(r,e):k(i,()=>o(r,e));return W(s)}function St(t){return x(r=>{let e=t(r);return e?T(e).pipe(m(()=>r)):d(r)})}var pn=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===p);return n}getResolvedTitleForRoute(e){return e.data[Te]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(_i),providedIn:"root"})}return t})(),_i=(()=>{class t extends pn{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(ht(xr))};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zt=new P("",{providedIn:"root",factory:()=>({})}),zi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Rr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&Dr(0,"router-outlet")},dependencies:[Qn],encapsulation:2})}return t})();function Yt(t){let r=t.children&&t.children.map(Yt),e=r?I(l({},t),{children:r}):l({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=zi),e}var Xt=new P(""),Fi=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(gt);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return d(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=W(e.loadComponent()).pipe(m(gn),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Pe(()=>{this.componentLoaders.delete(e)})),i=new ot(n,()=>new B).pipe(it());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return d({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=qi(n,this.compiler,e,this.onLoadEndListener).pipe(Pe(()=>{this.childrenLoaders.delete(n)})),s=new ot(o,()=>new B).pipe(it());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function qi(t,r,e,n){return W(t.loadChildren()).pipe(m(gn),O(i=>i instanceof mr||Array.isArray(i)?d(i):T(r.compileModuleAsync(i))),m(i=>{n&&n(t);let o,s,u=!1;return Array.isArray(i)?(s=i,u=!0):(o=i.create(e).injector,s=o.get(Xt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Yt),injector:o}}))}function Bi(t){return t&&typeof t=="object"&&"default"in t}function gn(t){return Bi(t)?t.default:t}var Jt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Vi),providedIn:"root"})}return t})(),Vi=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hi=new P("");var Wi=new P(""),Gi=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=g(Fi);environmentInjector=g(je);urlSerializer=g(Qt);rootContexts=g(et);location=g(_e);inputBindingEnabled=g(tt,{optional:!0})!==null;titleStrategy=g(pn);options=g(Zt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Jt);createViewTransition=g(Hi,{optional:!0});navigationErrorHandler=g(Wi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>d(void 0);rootComponentType=null;constructor(){let e=i=>this.events.next(new Et(i)),n=i=>this.events.next(new xt(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(I(l(l({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new M({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:me,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(o=>o.id!==0),m(o=>I(l({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),x(o=>{let s=!1,u=!1;return d(o).pipe(x(a=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),V;this.currentTransition=o,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?I(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&h!=="reload"){let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.rawUrl),f,Dt.IgnoredSameUrlNavigation)),a.resolve(!1),V}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return d(a).pipe(x(f=>{let y=this.transitions?.getValue();return this.events.next(new Ce(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),y!==this.transitions?.getValue()?V:Promise.resolve(f)}),ji(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),S(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=I(l({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let y=new Ge(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(y)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:y,source:$,restoredState:C,extras:q}=a,E=new Ce(f,this.urlSerializer.serialize(y),$,C);this.events.next(E);let he=rn(this.rootComponentType).snapshot;return this.currentTransition=o=I(l({},a),{targetSnapshot:he,urlAfterRedirects:y,extras:I(l({},q),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(o)}else{let f="";return this.events.next(new Z(a.id,this.urlSerializer.serialize(a.extractedUrl),f,Dt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),V}}),S(a=>{let c=new Mt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),m(a=>(this.currentTransition=o=I(l({},a),{guards:ei(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),o)),hi(this.environmentInjector,a=>this.events.next(a)),S(a=>{if(o.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Xe(this.urlSerializer,a.guardsResult);let c=new Tt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),X(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",D.GuardRejected),!1)),St(a=>{if(a.guards.canActivateChecks.length)return d(a).pipe(S(c=>{let h=new Ot(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),x(c=>{let h=!1;return d(c).pipe(Ni(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(c,"",D.NoDataFromResolver)}}))}),S(c=>{let h=new Ut(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),St(a=>{let c=h=>{let f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(S(y=>{h.component=y}),m(()=>{})));for(let y of h.children)f.push(...c(y));return f};return xe(c(a.targetSnapshot.root)).pipe(ut(null),ee(1))}),St(()=>this.afterPreactivation()),x(()=>{let{currentSnapshot:a,targetSnapshot:c}=o,h=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return h?T(h).pipe(m(()=>o)):d(o)}),m(a=>{let c=Kn(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=o=I(l({},a),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),S(()=>{this.events.next(new be)}),Jn(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ee(1),S({next:a=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{s=!0}}),ur(this.transitionAbortSubject.pipe(S(a=>{throw a}))),Pe(()=>{!s&&!u&&this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),J(a=>{if(u=!0,un(a))this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),a.message,a.cancellationCode)),Xn(a)?this.events.next(new ue(a.url,a.navigationBehaviorOptions)):o.resolve(!1);else{let c=new we(o.id,this.urlSerializer.serialize(o.extractedUrl),a,o.targetSnapshot??void 0);try{let h=k(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(h instanceof Ae){let{message:f,cancellationCode:y}=Xe(this.urlSerializer,h);this.events.next(new _(o.id,this.urlSerializer.serialize(o.extractedUrl),f,y)),this.events.next(new ue(h.redirectTo,h.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(h){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(h)}}return V}))}))}cancelNavigationTransition(e,n,i){let o=new _(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Qi(t){return t!==me}var Ki=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Zi),providedIn:"root"})}return t})(),Gt=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Zi=(()=>{class t extends Gt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=dt(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:()=>g(Yi),providedIn:"root"})}return t})(),Yi=(()=>{class t extends vn{location=g(_e);urlSerializer=g(Qt);options=g(Zt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=g(Jt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new z;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=rn(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof Ce)this.stateMemento=this.createStateMemento();else if(e instanceof Z)this.rawUrlTree=n.initialUrl;else if(e instanceof Ge){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??i,n)}}else e instanceof be?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof _&&(e.code===D.GuardRejected||e.code===D.NoDataFromResolver)?this.restoreHistory(n):e instanceof we?this.restoreHistory(n,!0):e instanceof F&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=e instanceof z?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let o=this.browserPageId,s=l(l({},n.extras.state),this.generateNgRouterState(n.id,o));this.location.replaceState(i,"",s)}else{let o=l(l({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=dt(t)))(i||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xi(t,r){t.events.pipe(X(e=>e instanceof F||e instanceof _||e instanceof we||e instanceof Z),m(e=>e instanceof F||e instanceof Z?0:(e instanceof _?e.code===D.Redirect||e.code===D.SupersededByNewNavigation:!1)?2:1),X(e=>e!==2),ee(1)).subscribe(()=>{r()})}var Ji={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},nt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(Cr);stateManager=g(vn);options=g(Zt,{optional:!0})||{};pendingTasks=g(fr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Gi);urlSerializer=g(Qt);location=g(_e);urlHandlingStrategy=g(Jt);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Ki);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Xt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(tt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new er;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof _&&n.code!==D.Redirect&&n.code!==D.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof F)this.navigated=!0;else if(n instanceof ue){let s=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=l({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Qi(i.source)},s);this.scheduleNavigation(u,me,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ro(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),me,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let a=l({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(o.state=a)}let u=this.parseUrl(e);this.scheduleNavigation(u,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Yt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:u,preserveFragment:a}=n,c=a?this.currentUrlTree.fragment:s,h=null;switch(u??this.options.defaultQueryParamsHandling){case"merge":h=l(l({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let y=i?i.snapshot:this.routerState.snapshot.root;f=Xr(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return Jr(f,e,h,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=K(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,me,null,n)}navigate(e,n={skipLocationChange:!1}){return to(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=l({},Ji):n===!1?i=l({},eo):i=n,K(e))return Pr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Pr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let u,a,c;s?(u=s.resolve,a=s.reject,c=s.promise):c=new Promise((f,y)=>{u=f,a=y});let h=this.pendingTasks.add();return Xi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:u,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function to(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new w(4008,!1)}function ro(t){return!(t instanceof be)&&!(t instanceof ue)}var Fr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(e,n,i,o,s,u){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=u;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof F&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(K(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let u=this.urlTree;if(u===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:gr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:K(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(j(nt),j(Y),hr("tabindex"),j(pt),j(ft),j(vt))};static \u0275dir=$e({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&Mr("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Ar("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ke],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ke],replaceUrl:[2,"replaceUrl","replaceUrl",ke],routerLink:"routerLink"},features:[Sr,Ne]})}return t})(),Go=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(u=>{u instanceof F&&this.update()})}ngAfterContentInit(){d(this.links.changes,d(null)).pipe(st()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=T(e).pipe(st()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=no(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(j(nt),j(ft),j(pt),j(Le),j(Fr,8))};static \u0275dir=$e({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&Tr(o,Fr,5),n&2){let s;Or(s=Ur())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ne]})}return t})();function no(t){return!!t.paths}var io=new P("");function Qo(t,...r){return lr([{provide:Xt,multi:!0,useValue:t},[],{provide:Y,useFactory:oo,deps:[nt]},{provide:br,multi:!0,useFactory:ao},r.map(e=>e.\u0275providers)])}function oo(t){return t.routerState.root}function so(t,r){return{\u0275kind:t,\u0275providers:r}}function ao(){let t=g(dr);return r=>{let e=t.get(Ir);if(r!==e.components[0])return;let n=t.get(nt),i=t.get(uo);t.get(co)===1&&n.initialNavigation(),t.get(lo,null,lt.Optional)?.setUpPreloading(),t.get(io,null,lt.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var uo=new P("",{factory:()=>new B}),co=new P("",{providedIn:"root",factory:()=>1});var lo=new P("");function Ko(){return so(8,[Lr,{provide:tt,useExisting:Lr}])}export{Y as a,Qn as b,nt as c,Fr as d,Go as e,Qo as f,Ko as g};
package/chunk-FJPFD4BF.js DELETED
@@ -1,3 +0,0 @@
1
- import{o as U}from"./chunk-Z43CKK5H.js";import{a as Ve}from"./chunk-KYQC46J2.js";import{a as Le}from"./chunk-CAGBL2MP.js";import"./chunk-DNHLTHLR.js";import{b as R}from"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-Z5NZYMJN.js";import{a as ve}from"./chunk-RIRYVDWF.js";import"./chunk-GXX5QXLE.js";import"./chunk-GJ6GRAEW.js";import"./chunk-65ULQ2PN.js";import"./chunk-6TZWRTRA.js";import{a as se,b as de,d as ce,e as ue,h as Ce,i as fe,k as Fe,l as ge,m as Ne,o as Te,p as Se,r as ke}from"./chunk-UJWW7PS7.js";import"./chunk-TB27CACB.js";import{a as pe,b as _e}from"./chunk-KJ4O6F3R.js";import{a as le,c as re,d as me}from"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import{a as Ee,g as Me,i as xe,k as De,l as Ie,n as Oe,o as Ae,q as $e,r as Pe,w as ye,x as we}from"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import{ia as ae}from"./chunk-3WKDD2IN.js";import"./chunk-GK7T43YY.js";import{Ab as k,Ac as ie,Bb as E,Cb as l,Db as o,Eb as s,Fb as $,Gb as P,Hb as Z,Ib as I,Ob as y,Oc as oe,Pb as w,Qb as M,Rb as B,Sa as a,Sb as G,Tb as J,Ub as O,Vb as m,Yb as N,Z as A,Zb as Q,_b as d,ea as x,eb as j,fa as D,gc as Y,hc as r,ic as v,jc as g,kb as u,sc as ee,tb as p,uc as te,va as h,vb as W,vc as ne,yb as C,zb as S}from"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";var be=(n,i)=>({index:n,formView:i,formGroupName:"advancedOptions",destinationType:null,oauthField:null}),he=n=>({$implicit:n});function Be(n,i){n&1&&s(0,"spk-progress-bar",16)}function Ge(n,i){if(n&1&&(l(0,"spk-option",20),r(1),o()),n&2){let e=i.$implicit;p("value",e),a(),v(e)}}function Re(n,i){if(n&1&&(l(0,"spk-form-field"),s(1,"input",43),o()),n&2){let e=i.$implicit,t=i.$index;a(),Q("id","filter-",t,""),p("formControl",e)}}function Ue(n,i){if(n&1&&(l(0,"spk-option",20),r(1),o()),n&2){let e=i.$implicit;p("value",e),a(),v(e)}}function Ke(n,i){if(n&1){let e=I();y(0,12,1),l(1,"button",44,1),O("click",function(){let _=x(e).$implicit,f=m(2);return D(f.addNewOption(_))}),o(),w()}if(n&2){let e=i.$implicit;a(),B(e.name),G(0)}}function ze(n,i){n&1&&Z(0)}function Xe(n,i){if(n&1&&u(0,ze,1,0,"ng-container",45),n&2){let e=i.$implicit,t=i.$index;m();let _=Y(58);p("ngTemplateOutlet",_)("ngTemplateOutletContext",te(5,he,ne(2,be,t,e)))}}function qe(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function He(n,i){if(n&1&&(l(0,"app-file-tree",48)(1,"label",54),r(2),u(3,qe,3,1,"spk-tooltip",55),o(),s(4,"input",56),o()),n&2){let e,t=m().$implicit,_=m(2);p("startingPath",_.getFormFieldValue(0,t.formGroupName,t.formView.name))("accepts",t.formView.accepts)("showFiles",!0)("showHiddenNodes",!0)("selectFiles",!0),a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name)}}function je(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function We(n,i){if(n&1&&(l(0,"app-file-tree",49)(1,"label",54),r(2),u(3,je,3,1,"spk-tooltip",55),o(),s(4,"input",56),o()),n&2){let e,t=m().$implicit,_=m(2);p("startingPath",_.getFormFieldValue(0,t.formGroupName,t.formView.name)),a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name)}}function Ze(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function Je(n,i){n&1&&(l(0,"spk-icon",57),r(1,"link"),o())}function Qe(n,i){n&1&&(l(0,"spk-icon",57),r(1,"textbox"),o())}function Ye(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",54),r(2),u(3,Ze,3,1,"spk-tooltip",55),o(),s(4,"input",56),u(5,Je,2,0,"spk-icon",57)(6,Qe,2,0,"spk-icon",57),o()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name),a(),C(t.formView.type==="Path"?5:6)}}function et(n,i){if(n&1){let e=I();l(0,"span",61),O("click",function(){x(e);let _=m(2).$implicit,f=m(2);return D(f.oauthStartTokenCreation(_.formViewType))}),r(1,"AuthID"),o()}}function tt(n,i){n&1&&(l(0,"spk-icon",57),r(1,"password"),o())}function nt(n,i){if(n&1){let e=I();l(0,"spk-icon",62),O("click",function(){x(e);let _=m(2).$implicit;return D(_.formView.showPassword=!_.formView.showPassword)}),r(1," eye "),o()}}function it(n,i){if(n&1){let e=I();l(0,"spk-icon",62),O("click",function(){x(e);let _=m(2).$implicit;return D(_.formView.showPassword=!_.formView.showPassword)}),r(1," eye-slash "),o()}}function ot(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",54),r(2),o(),s(3,"input",58),u(4,et,2,0,"span",59)(5,tt,2,0,"spk-icon",57)(6,nt,2,0,"spk-icon",60)(7,it,2,0,"spk-icon",60),o()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name),p("type",t.formView.showPassword?"text":"password"),a(),C(t.oauthField===t.formView.name?4:5),a(2),C(t.formView.showPassword?6:7)}}function at(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function lt(n,i){if(n&1&&(l(0,"spk-option",20),r(1),o()),n&2){let e=i.$implicit;p("value",e),a(),v(e)}}function rt(n,i){if(n&1&&(l(0,"spk-select")(1,"label",54),r(2),u(3,at,3,1,"spk-tooltip",55),o(),s(4,"input",63),k(5,lt,2,2,"spk-option",20,S),o()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name),a(),E(t.formView.options)}}function mt(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function pt(n,i){if(n&1&&(l(0,"spk-option",20),r(1),o()),n&2){let e=i.$implicit;p("value",e),a(),v(e)}}function _t(n,i){if(n&1&&(l(0,"div",50)(1,"label",54),r(2),u(3,mt,3,1,"spk-tooltip",55),o(),l(4,"div",64)(5,"spk-form-field"),s(6,"input",65),l(7,"spk-icon",57),r(8,"resize"),o()(),l(9,"spk-select"),s(10,"label")(11,"input",66),k(12,pt,2,2,"spk-option",20,S),o()()()),n&2){let e,t=m().$implicit,_=m(2);p("formGroupName",t.formView.name),a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(3),d("id","destination-",t.formGroupName,"-",t.index,""),a(6),E(_.sizeOptions())}}function st(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function dt(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",54),r(2),u(3,st,3,1,"spk-tooltip",55),o(),s(4,"input",67),l(5,"spk-icon",57),r(6,"numpad"),o()()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name)}}function ct(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function ut(n,i){if(n&1&&(l(0,"spk-toggle",51)(1,"label",54),r(2),u(3,ct,3,1,"spk-tooltip",55),o(),s(4,"input",68),o()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name)}}function Ct(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function ft(n,i){n&1&&(l(0,"spk-option",70),r(1,"None"),o()),n&2&&p("value","None")}function Ft(n,i){if(n&1&&(l(0,"spk-option",20),r(1),s(2,"spk-checkbox",71),o()),n&2){let e=m().$implicit;p("value",e),a(),g(" ",e," ")}}function gt(n,i){if(n&1&&u(0,ft,2,1,"spk-option",70)(1,Ft,3,2,"spk-option",20),n&2){let e=i.$implicit;C(e==="None"?0:1)}}function Nt(n,i){if(n&1&&(l(0,"spk-select",52)(1,"label",54),r(2),u(3,Ct,3,1,"spk-tooltip",55),o(),s(4,"input",69),k(5,gt,2,1,null,null,S),o()),n&2){let e,t=m().$implicit;p("selectMultiple",!0),a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),N("formControlName",t.formView.name),a(),E(t.formView.options)}}function Tt(n,i){if(n&1&&(l(0,"spk-tooltip",55)(1,"spk-icon"),r(2,"question"),o()()),n&2){let e=m(2).$implicit;p("message",e.formView.longDescription)}}function St(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",54),r(2),u(3,Tt,3,1,"spk-tooltip",55),o(),s(4,"input",56),o()),n&2){let e,t=m().$implicit;a(),d("for","destination-",t.formGroupName,"-",t.index,""),a(),g(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),a(),C(t.formView.longDescription?3:-1),a(),d("id","destination-",t.formGroupName,"-",t.index,""),N("formControlName",t.formView.name)}}function kt(n,i){if(n&1){let e=I();l(0,"div",46),$(1,47),u(2,He,5,14,"app-file-tree",48)(3,We,5,10,"app-file-tree",49)(4,Ye,7,10,"spk-form-field")(5,ot,8,11,"spk-form-field")(6,rt,7,9,"spk-select")(7,_t,14,9,"div",50)(8,dt,7,9,"spk-form-field")(9,ut,5,9,"spk-toggle",51)(10,Nt,7,7,"spk-select",52)(11,St,5,9,"spk-form-field"),P(),l(12,"button",53),O("click",function(){let _=x(e).$implicit,f=m(2);return D(f.removeFormView(_.formView,0))}),l(13,"spk-icon"),r(14,"x-circle"),o()()()}if(n&2){let e=i.$implicit;a(),p("formGroupName",e.formGroupName),a(),C(e.formView.type==="FileTree"?2:e.formView.type==="FolderTree"?3:e.formView.type==="String"||e.formView.type==="Path"?4:e.formView.type==="Password"?5:e.formView.type==="Enumeration"?6:e.formView.type==="Size"?7:e.formView.type==="Integer"?8:e.formView.type==="Boolean"?9:e.formView.type==="Flags"?10:e.formView.type==="Timespan"?11:-1)}}function Et(n,i){if(n&1){let e=I();l(0,"form",17)(1,"spk-select")(2,"label",18),M(3,3),o(),s(4,"input",19),k(5,Ge,2,2,"spk-option",20,S),o(),l(7,"spk-form-field")(8,"label",21),M(9,4),o(),s(10,"textarea",22),o(),l(11,"spk-form-field")(12,"label",23),M(13,5),o(),s(14,"textarea",24),o()(),l(15,"spk-divider"),M(16,6),o(),l(17,"form",17)(18,"spk-form-field")(19,"label",25),M(20,7),o(),s(21,"input",26),o(),l(22,"spk-form-field")(23,"label",27),M(24,8),o(),s(25,"input",28),o(),l(26,"app-toggle-card",29),$(27,30),M(28,9),P(),$(29,31),k(30,Re,2,3,"spk-form-field",null,S),P(),o()(),l(32,"form",17)(33,"div",32)(34,"div",33)(35,"spk-form-field")(36,"label",34),M(37,10),o(),s(38,"input",35),o(),l(39,"spk-select"),s(40,"input",36),k(41,Ue,2,2,"spk-option",20,S),o()(),l(43,"p"),y(44,11),s(45,"a",37),w(),o()(),l(46,"app-toggle-card",29),$(47,30),y(48,12),l(49,"spk-menu")(50,"button",38),s(51,"spk-icon"),o(),$(52,39),k(53,Ke,3,1,"button",40,S),P(),o(),w(),P(),k(55,Xe,1,7,"ng-container",null,S),o(),u(57,kt,15,2,"ng-template",null,0,ie),l(59,"div",41)(60,"button",42),O("click",function(){x(e);let _=m();return D(_.submit())}),y(61,13),s(62,"spk-icon"),w(),o()()()}if(n&2){let e=m();p("formGroup",e.baseCmdForm),a(5),E(e.commandOptions()),a(12),p("formGroup",e.standardFields),a(9),p("disallowToggle",!0),a(4),E(e.standardFields.controls.filters.controls),a(2),p("formGroup",e.optionsForm),a(9),E(e.sizeOptions()),a(5),p("disallowToggle",!0),a(7),E(e.nonSelectedOptions()),a(2),E(e.selectedOptions()),a(5),W("loader",e.isSubmitting()),a(2),B(e.baseCmdForm.value.command),G(61)}}var T=new Se,Mt=["Bytes","KB","MB","GB","TB","PB"],K=class n{#e=A(U);#t=A(_e);#n=A(re);#i=A(le);#o=A(pe);#a=R(this.#i.params);commandOptions=R(this.#o.getApiV1Commandline());sizeOptions=h(Mt);isSubmitting=h(!1);standardFields=T.group({"backup-id":T.control(""),"backup-name":T.control(""),dbpath:T.control(""),filters:T.array([])});baseCmdForm=T.group({command:T.control("backup"),targetUrl:T.control(""),arguments:T.control("")});optionsForm=this.#e.optionsForm;selectedOptions=this.#e.selectedOptions;nonSelectedOptions=this.#e.nonSelectedOptions;finishedLoading=this.#e.finishedLoading;backupId=this.#e.backupId;#l=oe(()=>{let i=this.#a()?.id;this.#e.backupId.set(i),this.getBackup(i)});getBackup(i){this.#t.getApiV1BackupById({id:i}).subscribe({next:e=>{this.#e.mapScheduleToForm(e.Schedule??null),e.Backup&&(this.mapStandardFieldsToForm(e.Backup),this.mapBaseCmdToForm(e.Backup),this.#e.mapOptionsToForms(e.Backup)),this.#e.finishedLoading.set(!0)}})}mapStandardFieldsToForm(i){this.standardFields.patchValue({dbpath:i.DBPath,"backup-id":i.ID,"backup-name":i.Name}),i.Filters&&i.Filters.length&&i.Filters.map(e=>{this.standardFields.controls.filters.push(T.control(`${e.Include?"":"-"}${e.Expression}`))})}submit(){this.isSubmitting.set(!0);let i=this.baseCmdForm.value,e=this.optionsForm.value,t=i.targetUrl??"",_=i.arguments?.split(`
2
- `)??[],f=this.standardFields.value,V=f.filters??[],L=[i.command,t,..._,`--backup-name=${f["backup-name"]}`,`--dbpath=${f.dbpath}`,`--backup-id=${f["backup-id"]}`,...V.filter(c=>c).map(c=>c.startsWith("-")?`--exclude=${c?.slice(1)}`:`--include=${c}`),...this.#e.mapFormsToSettings().map(c=>c.Name.startsWith("--")?`${c.Name}=${c.Value}`:`--${c.Name}=${c.Value}`),"--disable-module=console-password-input"];this.#t.postApiV1Commandline({requestBody:L}).subscribe(c=>{c.Status==="OK"&&this.#n.navigate(["backup",this.backupId(),"commandline",c.ID])})}mapBaseCmdToForm(i){let e=i.TargetURL??null;e&&this.baseCmdForm.patchValue({targetUrl:e??"",arguments:i.Sources?.join(`
3
- `)??""})}oauthStartTokenCreation(i){}getFormFieldValue(i,e,t){return this.optionsForm.controls.advancedOptions.controls[t].value}removeFormView(i,e){this.#e.removeOptionFromFormGroup(i)}addNewOption(i){console.log("option",i),this.#e.addOptionToFormGroup(i)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=j({type:n,selectors:[["app-commandline"]],features:[ee([U])],decls:8,vars:1,consts:()=>{let i;i=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let e;e=$localize`Select an option...`;let t;t=$localize`Command`;let _;_=$localize`TargetUrl`;let f;f=$localize`Commandline Arguments`;let V;V=$localize`Advanced options`;let L;L=$localize`Backup ID`;let c;c=$localize`Backup Name`;let z;z=$localize`Filters`;let X;X=$localize`Remote volume size`;let q;q=$localize` The backups will be split up into multiple files called volumes. Here you can set the maximum size of the individual volume files. ${"\uFFFD#45\uFFFD"}:START_LINK:Read more${"\uFFFD/#45\uFFFD"}:CLOSE_LINK:`;let b;b=$localize` Advanced options ${"\uFFFD#49\uFFFD"}:START_TAG_SPK_MENU:${"\uFFFD#50\uFFFD"}:START_TAG_BUTTON: Add advanced option ${"\uFFFD#51\uFFFD"}:START_TAG_SPK_ICON:plus${"\uFFFD/#51\uFFFD"}:CLOSE_TAG_SPK_ICON:${"[\uFFFD/#50\uFFFD|\uFFFD/#1:1\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD#52\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD*54:1\uFFFD"}:START_BLOCK_FOR:${"\uFFFD#1:1\uFFFD"}:START_TAG_BUTTON_1:${"\uFFFD0:1\uFFFD"}:INTERPOLATION:${"[\uFFFD/#50\uFFFD|\uFFFD/#1:1\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD/*54:1\uFFFD"}:CLOSE_BLOCK_FOR:${"\uFFFD/#52\uFFFD"}:CLOSE_TAG_NG_CONTAINER:${"\uFFFD/#49\uFFFD"}:CLOSE_TAG_SPK_MENU:`,b=J(b);let H;return H=$localize`${"\uFFFD#62\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#62\uFFFD"}:CLOSE_TAG_SPK_ICON: Run "${"\uFFFD0\uFFFD"}:INTERPOLATION:" command now `,[["fieldTemplate",""],["option",""],i,t,_,f,V,L,c,z,X,q,b,H,[1,"back"],["type","button","spk-button","","routerLink","/",1,"small"],[1,"indeterminate","primary"],[3,"formGroup"],["for","command"],["type","text","id","command","formControlName","command"],[3,"value"],["for","targetUrl"],["id","targetUrl","autocomplete","off","formControlName","targetUrl"],["for","arguments"],["id","arguments","autocomplete","off","formControlName","arguments"],["for","backup-id"],["id","backup-id","formControlName","backup-id"],["for","backup-name"],["id","backup-name","formControlName","backup-name"],[3,"disallowToggle"],["title",""],["content","","formGroupName","filters"],[1,"remote-volume-wrap"],["formGroupName","remoteVolumeSize",1,"row-inputs"],["for","size"],["type","number","id","size","formControlName","size"],["type","text","placeholder",e,"formControlName","unit"],["href","#",1,"spk-primary"],["spk-button","","type","button",1,"outlined","small"],["menu",""],["type","button"],[1,"form-actions"],["spk-button","",1,"raised","primary",3,"click"],[3,"id","formControl"],["type","button",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"field-row"],[3,"formGroupName"],[3,"startingPath","accepts","showFiles","showHiddenNodes","selectFiles"],[3,"startingPath"],[1,"form-column",3,"formGroupName"],[1,"primary","raised"],[1,"primary",3,"selectMultiple"],["spk-button","","type","button",1,"outlined",3,"click"],[3,"for"],[1,"primary",3,"message"],["type","text",3,"id","formControlName"],["prefix",""],["autocomplete","off",3,"type","id","formControlName"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["type","search",3,"id","formControlName"],[1,"form-row"],["type","number","formControlName","size",3,"id"],["type","search","formControlName","unit"],["type","number",3,"id","formControlName"],["type","checkbox",3,"id","formControlName"],["type","text","id","text",3,"formControlName"],["deselect","",3,"value"],[1,"raised","primary"]]},template:function(e,t){e&1&&(s(0,"app-status-bar"),l(1,"section")(2,"div",14)(3,"button",15),y(4,2),s(5,"spk-icon"),w(),o()(),u(6,Be,1,0,"spk-progress-bar",16)(7,Et,63,8),o()),e&2&&(a(6),C(t.finishedLoading()?7:6))},dependencies:[ve,Ve,Le,ke,Ce,de,fe,se,ce,ue,Fe,ge,Te,Ne,ae,me,Ie,Oe,Me,Pe,ye,$e,De,we,Ae,xe,Ee],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;max-width:40rem;padding:2.5rem;gap:1.25rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.form-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-column[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.form-column[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{font-size:1rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.remote-volume-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.field-row[_ngcontent-%COMP%]{display:grid;align-items:flex-end;grid-template-columns:1fr 2.5rem;gap:.5rem}.form-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}"],changeDetection:0})};export{K as default};
package/chunk-FLOZ6FQA.js DELETED
@@ -1 +0,0 @@
1
- import{k as a,l as b}from"./chunk-Z43CKK5H.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-DNHLTHLR.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-Z5NZYMJN.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as createScheduleForm,b as default};
package/chunk-JZCJ723Q.js DELETED
@@ -1 +0,0 @@
1
- import{c as a,d as b}from"./chunk-D6FCW3QQ.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as createEncryptionForm,b as default};
package/chunk-MLTG5TKC.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-GJ6GRAEW.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{a as BytesPipe};