dealposbooks 1.0.8 → 1.1.0

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 (119) hide show
  1. package/3rdpartylicenses.txt +56 -56
  2. package/assets/scss/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
  3. package/assets/scss/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
  4. package/assets/scss/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
  5. package/assets/scss/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
  6. package/assets/scss/layouts/_customizer.scss +11 -6
  7. package/assets/scss/layouts/_layout.scss +6 -6
  8. package/assets/scss/layouts/_sidebar.scss +19 -14
  9. package/assets/scss/style.scss +24 -8
  10. package/assets/scss/variables/_variables.scss +6 -52
  11. package/chunk-223MMYH7.js +141 -0
  12. package/chunk-33KLXB2L.js +180 -0
  13. package/{chunk-URKXDZJE.js → chunk-4Y3NYY52.js} +1 -1
  14. package/{chunk-I72ECAQH.js → chunk-5GQEUX4M.js} +1 -1
  15. package/chunk-5RRUIJ5U.js +1 -0
  16. package/{chunk-7X454BGN.js → chunk-6BFODHTZ.js} +1 -1
  17. package/chunk-AXJA6OO7.js +246 -0
  18. package/chunk-AYVR3RIS.js +297 -0
  19. package/{chunk-ZT4NOONZ.js → chunk-B6N6C3RA.js} +1 -1
  20. package/chunk-CINZRZMB.js +1 -0
  21. package/chunk-DBRLQ7BX.js +397 -0
  22. package/{chunk-QUR72LET.js → chunk-DJ5UHXOJ.js} +1 -1
  23. package/chunk-DUOJKP2G.js +300 -0
  24. package/chunk-E4ZVZRLO.js +210 -0
  25. package/chunk-EBOJJWD5.js +1 -0
  26. package/{chunk-D5U6AOFB.js → chunk-EMVZ65TI.js} +1 -1
  27. package/chunk-ENPYMVZG.js +1 -0
  28. package/chunk-EOLHIQHQ.js +1 -0
  29. package/chunk-ERX7ND7E.js +1 -0
  30. package/chunk-FKTEL4CU.js +524 -0
  31. package/chunk-FOUHOMEE.js +301 -0
  32. package/chunk-H4HFCRFZ.js +1660 -0
  33. package/chunk-HBVENULS.js +1 -0
  34. package/chunk-J53TOHZH.js +1 -0
  35. package/chunk-JC7YOUAM.js +1 -0
  36. package/chunk-JR4EQTPJ.js +59 -0
  37. package/chunk-JSAAKZBO.js +1 -0
  38. package/chunk-KZ2KGWUY.js +1 -0
  39. package/chunk-LON3T466.js +1 -0
  40. package/chunk-LYEN4UBW.js +1 -0
  41. package/chunk-MG3SLH6O.js +1 -0
  42. package/chunk-NQ3CKBYP.js +1 -0
  43. package/{chunk-YUFMXLRG.js → chunk-NS7JH3QF.js} +1 -1
  44. package/{chunk-2XZW23PQ.js → chunk-O65HPMSJ.js} +1 -1
  45. package/chunk-OCLABZZW.js +1 -0
  46. package/chunk-OH2CJBFF.js +1 -0
  47. package/chunk-OSV7AMB2.js +1 -0
  48. package/{chunk-2LKTSMUI.js → chunk-OWI3BWEZ.js} +7 -7
  49. package/chunk-OYYYX3IP.js +1 -0
  50. package/{chunk-MQJQRREL.js → chunk-PNQSQQIT.js} +1 -1
  51. package/chunk-Q5PJ63MA.js +1 -0
  52. package/{chunk-7RH6F4PN.js → chunk-R2KG54OT.js} +3 -1
  53. package/chunk-REHXXPZY.js +1 -0
  54. package/{chunk-ONU5ICNZ.js → chunk-RIALPB2D.js} +1 -1
  55. package/chunk-RJYO2KKV.js +1 -0
  56. package/chunk-ROKYJX6Q.js +193 -0
  57. package/chunk-RUGQ4OJG.js +1 -0
  58. package/chunk-RUP2SWYB.js +231 -0
  59. package/chunk-RUVT4SCE.js +1 -0
  60. package/{chunk-UZFJYFH2.js → chunk-SS3CMCAX.js} +4 -2
  61. package/chunk-TMY4NWZ6.js +1 -0
  62. package/chunk-TOJAZ32N.js +1 -0
  63. package/chunk-TUL6Y2HH.js +1 -0
  64. package/{chunk-33RD6RQS.js → chunk-UGKSIDKE.js} +1 -1
  65. package/chunk-UTL7D6E7.js +821 -0
  66. package/{chunk-4Z6KFX2O.js → chunk-V7Y6Z4AQ.js} +2 -2
  67. package/chunk-VY4Z33EE.js +7 -0
  68. package/chunk-VYKJK5YU.js +7 -0
  69. package/{chunk-M4ZOPGSP.js → chunk-WG7APCJU.js} +1 -1
  70. package/{chunk-EE4WG35V.js → chunk-X2NM4CIV.js} +6 -2
  71. package/chunk-XWVLTTMV.js +1 -0
  72. package/chunk-Y6MJGNH2.js +1 -0
  73. package/chunk-YKYI4A3V.js +1 -0
  74. package/chunk-ZL4DDXH7.js +348 -0
  75. package/{chunk-6TJIZZK6.js → chunk-ZU7I7MCL.js} +1 -1
  76. package/{chunk-U2S74ZLK.js → chunk-ZZPBK2XT.js} +1 -1
  77. package/index.html +6 -3
  78. package/main-MCP7AVEU.js +1 -0
  79. package/package.json +1 -1
  80. package/styles-IAH7RNKW.css +1 -0
  81. package/chunk-2QCAOSMO.js +0 -256
  82. package/chunk-3ROVFYLI.js +0 -189
  83. package/chunk-3UAQZJAG.js +0 -180
  84. package/chunk-7KARVIIN.js +0 -1
  85. package/chunk-A3I2VQNX.js +0 -141
  86. package/chunk-A3MXO6MA.js +0 -1
  87. package/chunk-B5ZO2I4D.js +0 -2
  88. package/chunk-BP2JJ6HZ.js +0 -160
  89. package/chunk-BWO4PVAG.js +0 -301
  90. package/chunk-C4WUUVLC.js +0 -1
  91. package/chunk-CH2GYE5J.js +0 -1
  92. package/chunk-DF2QDC4T.js +0 -1
  93. package/chunk-DKWZOSVY.js +0 -59
  94. package/chunk-EEJWF26F.js +0 -1
  95. package/chunk-F7FJPDUV.js +0 -1
  96. package/chunk-FDDNZH4H.js +0 -1633
  97. package/chunk-FYNIFRG5.js +0 -1
  98. package/chunk-HKMI4ZYY.js +0 -393
  99. package/chunk-HU6SF3HD.js +0 -1
  100. package/chunk-IWUDRSTJ.js +0 -235
  101. package/chunk-KJWN47PL.js +0 -1
  102. package/chunk-MVGPOIFT.js +0 -1
  103. package/chunk-OHEAUNEW.js +0 -1
  104. package/chunk-P4OJNULI.js +0 -1
  105. package/chunk-PCJXJ6O4.js +0 -370
  106. package/chunk-PFXPLNMA.js +0 -1
  107. package/chunk-PQTHPF23.js +0 -7
  108. package/chunk-PV6INEW2.js +0 -1
  109. package/chunk-QPA73UD5.js +0 -616
  110. package/chunk-RFZOXUTS.js +0 -1
  111. package/chunk-RIUEIX64.js +0 -1
  112. package/chunk-UPDO63XT.js +0 -1
  113. package/chunk-UQ3SWGEA.js +0 -1
  114. package/chunk-WZKSD7XN.js +0 -284
  115. package/chunk-X2CQD76I.js +0 -208
  116. package/chunk-YX7446ZM.js +0 -1
  117. package/chunk-Z53S4NM2.js +0 -736
  118. package/main-U76NYT5G.js +0 -1
  119. package/styles-OZO2XDGZ.css +0 -1
@@ -1 +1 @@
1
- import{p,w as c}from"./chunk-7X454BGN.js";import"./chunk-C4WUUVLC.js";import{Ob as d,Zb as e,_b as t,kb as i,qc as n,yb as m,zc as a}from"./chunk-PQTHPF23.js";import"./chunk-EQDQRRRY.js";var s=()=>["/"],b=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=m({type:o,selectors:[["app-not-found"]],decls:10,vars:2,consts:[[1,"error-box"],[1,"error-body","text-center"],[1,"error-title","text-danger"],[1,"text-uppercase","error-subtitle"],[1,"text-muted","mt-4","mb-4"],[1,"btn","btn-danger","btn-rounded","mb-4",3,"routerLink"]],template:function(r,l){r&1&&(e(0,"div",0)(1,"div",1)(2,"h1",2),n(3,"404"),t(),e(4,"h3",3),n(5,"PAGE NOT FOUND !"),t(),e(6,"p",4),n(7," YOU SEEM TO BE TRYING TO FIND HIS WAY HOME "),t(),e(8,"a",5),n(9,"Back to home"),t()()()),r&2&&(i(8),d("routerLink",a(1,s)))},dependencies:[c,p],encapsulation:2})}}return o})();export{b as NotfoundComponent};
1
+ import{p,w as c}from"./chunk-6BFODHTZ.js";import"./chunk-RUGQ4OJG.js";import{Kb as d,Ub as e,Vb as t,gb as i,mc as n,ub as m,vc as a}from"./chunk-VYKJK5YU.js";import"./chunk-EQDQRRRY.js";var s=()=>["/"],b=(()=>{class o{static{this.\u0275fac=function(r){return new(r||o)}}static{this.\u0275cmp=m({type:o,selectors:[["app-not-found"]],decls:10,vars:2,consts:[[1,"error-box"],[1,"error-body","text-center"],[1,"error-title","text-danger"],[1,"text-uppercase","error-subtitle"],[1,"text-muted","mt-4","mb-4"],[1,"btn","btn-danger","btn-rounded","mb-4",3,"routerLink"]],template:function(r,l){r&1&&(e(0,"div",0)(1,"div",1)(2,"h1",2),n(3,"404"),t(),e(4,"h3",3),n(5,"PAGE NOT FOUND !"),t(),e(6,"p",4),n(7," YOU SEEM TO BE TRYING TO FIND HIS WAY HOME "),t(),e(8,"a",5),n(9,"Back to home"),t()()()),r&2&&(i(8),d("routerLink",a(1,s)))},dependencies:[c,p],encapsulation:2})}}return o})();export{b as NotfoundComponent};
@@ -0,0 +1 @@
1
+ import{a as g}from"./chunk-XWVLTTMV.js";import{g as d}from"./chunk-33KLXB2L.js";import"./chunk-UTL7D6E7.js";import"./chunk-Y6MJGNH2.js";import"./chunk-OWI3BWEZ.js";import"./chunk-ROKYJX6Q.js";import{a as M}from"./chunk-TOJAZ32N.js";import"./chunk-S35HUXPS.js";import"./chunk-6BFODHTZ.js";import{t as x}from"./chunk-RUGQ4OJG.js";import{Bb as C,Ic as h,Ub as o,Vb as r,_b as _,dc as s,ec as m,ia as l,mc as u,qa as c,ra as a,ub as p,uc as f}from"./chunk-VYKJK5YU.js";import"./chunk-EQDQRRRY.js";function b(n,A){if(n&1){let t=_();o(0,"div",2)(1,"div",3)(2,"button",4),s("click",function(){c(t);let e=m();return a(e.onMigrateCoaAccount())}),u(3," Migrate COA "),r(),o(4,"button",4),s("click",function(){c(t);let e=m();return a(e.onMigrateCoaConfig())}),u(5," Migrate COA Config "),r(),o(6,"button",4),s("click",function(){c(t);let e=m();return a(e.onMigrateCoaCategory())}),u(7," Migrate COA Category "),r(),o(8,"button",4),s("click",function(){c(t);let e=m();return a(e.onMigrateOutletAccount())}),u(9," Migrate Outlet Account "),r()()()}}var T=(()=>{class n{constructor(){this.migrateService=l(g),this.toastr=l(M)}onMigrateCoaAccount(){this.migrateService.migrateCoaAccount().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}onMigrateCoaConfig(){this.migrateService.migrateCoaConfig().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}onMigrateCoaCategory(){this.migrateService.migrateCoaCategory().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}onMigrateOutletAccount(){this.migrateService.migrateOutletAccount().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=p({type:n,selectors:[["app-chart-of-account"]],features:[f([g])],decls:3,vars:0,consts:[["content",""],["pageTitle","Chart of Account"],[1,"container","my-2"],[1,"d-flex","align-items-center","justify-content-start","gap-4"],[1,"btn","btn-primary",3,"click"]],template:function(i,e){i&1&&(o(0,"app-main-panel",1),C(1,b,10,0,"ng-template",null,0,h),r())},dependencies:[d,x],encapsulation:2})}}return n})();export{T as ChartOfAccountComponent};
@@ -0,0 +1,193 @@
1
+ import{a as mt,d as Ue,t as Jt}from"./chunk-RUGQ4OJG.js";import{$ as he,Db as qt,Ea as ct,Gb as zt,Ha as D,Jb as Yt,La as jt,Mb as pt,Mc as Zt,Rc as gt,Tc as te,Uc as O,Vc as ge,ba as $,ca as S,da as Q,dc as He,fa as B,fc as ht,g as L,gc as ft,hb as f,i as kt,ia as A,ja as Bt,kb as Kt,l as Ht,nb as ut,oa as Gt,pa as fe,s as Ut,ta as Y,ub as dt,uc as G,va as lt,vb as ee,wa as Wt,wb as C,y as $t,yb as w,za as X}from"./chunk-VYKJK5YU.js";import{a as m,b as N}from"./chunk-EQDQRRRY.js";var ai=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,n){this._renderer=t,this._elementRef=n}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(n){return new(n||e)(f(ut),f(ct))};static \u0275dir=C({type:e})}return e})(),li=(()=>{class e extends ai{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Y(e)))(r||e)}})();static \u0275dir=C({type:e,features:[w]})}return e})(),Je=new B("");var Cn={provide:Je,useExisting:$(()=>ci),multi:!0};function bn(){let e=mt()?mt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Sn=new B(""),ci=(()=>{class e extends ai{_compositionMode;_composing=!1;constructor(t,n,r){super(t,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!bn())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(n){return new(n||e)(f(ut),f(ct),f(Sn,8))};static \u0275dir=C({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&He("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[G([Cn]),w]})}return e})();function j(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function ui(e){return e!=null&&typeof e.length=="number"}var se=new B(""),be=new B(""),En=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Qt=class{static min(i){return An(i)}static max(i){return Dn(i)}static required(i){return di(i)}static requiredTrue(i){return wn(i)}static email(i){return On(i)}static minLength(i){return Tn(i)}static maxLength(i){return Vn(i)}static pattern(i){return In(i)}static nullValidator(i){return Be(i)}static compose(i){return yi(i)}static composeAsync(i){return vi(i)}};function An(e){return i=>{if(j(i.value)||j(e))return null;let t=parseFloat(i.value);return!isNaN(t)&&t<e?{min:{min:e,actual:i.value}}:null}}function Dn(e){return i=>{if(j(i.value)||j(e))return null;let t=parseFloat(i.value);return!isNaN(t)&&t>e?{max:{max:e,actual:i.value}}:null}}function di(e){return j(e.value)?{required:!0}:null}function wn(e){return e.value===!0?null:{required:!0}}function On(e){return j(e.value)||En.test(e.value)?null:{email:!0}}function Tn(e){return i=>j(i.value)||!ui(i.value)?null:i.value.length<e?{minlength:{requiredLength:e,actualLength:i.value.length}}:null}function Vn(e){return i=>ui(i.value)&&i.value.length>e?{maxlength:{requiredLength:e,actualLength:i.value.length}}:null}function In(e){if(!e)return Be;let i,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),i=new RegExp(t)):(t=e.toString(),i=e),n=>{if(j(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function Be(e){return null}function pi(e){return e!=null}function hi(e){return qt(e)?Ht(e):e}function fi(e){let i={};return e.forEach(t=>{i=t!=null?m(m({},i),t):i}),Object.keys(i).length===0?null:i}function gi(e,i){return i.map(t=>t(e))}function Mn(e){return!e.validate}function mi(e){return e.map(i=>Mn(i)?i:t=>i.validate(t))}function yi(e){if(!e)return null;let i=e.filter(pi);return i.length==0?null:function(t){return fi(gi(t,i))}}function _i(e){return e!=null?yi(mi(e)):null}function vi(e){if(!e)return null;let i=e.filter(pi);return i.length==0?null:function(t){let n=gi(t,i).map(hi);return $t(n).pipe(Ut(fi))}}function Ci(e){return e!=null?vi(mi(e)):null}function Xt(e,i){return e===null?[i]:Array.isArray(e)?[...e,i]:[e,i]}function bi(e){return e._rawValidators}function Si(e){return e._rawAsyncValidators}function yt(e){return e?Array.isArray(e)?e:[e]:[]}function Ge(e,i){return Array.isArray(e)?e.includes(i):e===i}function ei(e,i){let t=yt(i);return yt(e).forEach(r=>{Ge(t,r)||t.push(r)}),t}function ti(e,i){return yt(i).filter(t=>!Ge(e,t))}var We=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=_i(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Ci(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,t){return this.control?this.control.hasError(i,t):!1}getError(i,t){return this.control?this.control.getError(i,t):null}},T=class extends We{name;get formDirective(){return null}get path(){return null}},Z=class extends We{_parent=null;name=null;valueAccessor=null},je=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Rn={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},es=N(m({},Rn),{"[class.ng-submitted]":"isSubmitted"}),ts=(()=>{class e extends je{constructor(t){super(t)}static \u0275fac=function(n){return new(n||e)(f(Z,2))};static \u0275dir=C({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&pt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[w]})}return e})(),is=(()=>{class e extends je{constructor(t){super(t)}static \u0275fac=function(n){return new(n||e)(f(T,10))};static \u0275dir=C({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&pt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[w]})}return e})();var me="VALID",$e="INVALID",ie="PENDING",ye="DISABLED",K=class{},Ke=class extends K{value;source;constructor(i,t){super(),this.value=i,this.source=t}},_e=class extends K{pristine;source;constructor(i,t){super(),this.pristine=i,this.source=t}},ve=class extends K{touched;source;constructor(i,t){super(),this.touched=i,this.source=t}},ne=class extends K{status;source;constructor(i,t){super(),this.status=i,this.source=t}},_t=class extends K{source;constructor(i){super(),this.source=i}},vt=class extends K{source;constructor(i){super(),this.source=i}};function Et(e){return(Qe(e)?e.validators:e)||null}function Nn(e){return Array.isArray(e)?_i(e):e||null}function At(e,i){return(Qe(i)?i.asyncValidators:e)||null}function Fn(e){return Array.isArray(e)?Ci(e):e||null}function Qe(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Ei(e,i,t){let n=e.controls;if(!(i?Object.keys(n):n).length)throw new he(1e3,"");if(!n[t])throw new he(1001,"")}function Ai(e,i,t){e._forEachChild((n,r)=>{if(t[r]===void 0)throw new he(1002,"")})}var re=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,t){this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return O(this.statusReactive)}set status(i){O(()=>this.statusReactive.set(i))}_status=te(()=>this.statusReactive());statusReactive=D(void 0);get valid(){return this.status===me}get invalid(){return this.status===$e}get pending(){return this.status==ie}get disabled(){return this.status===ye}get enabled(){return this.status!==ye}errors;get pristine(){return O(this.pristineReactive)}set pristine(i){O(()=>this.pristineReactive.set(i))}_pristine=te(()=>this.pristineReactive());pristineReactive=D(!0);get dirty(){return!this.pristine}get touched(){return O(this.touchedReactive)}set touched(i){O(()=>this.touchedReactive.set(i))}_touched=te(()=>this.touchedReactive());touchedReactive=D(!1);get untouched(){return!this.touched}_events=new L;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(ei(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(ei(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(ti(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(ti(i,this._rawAsyncValidators))}hasValidator(i){return Ge(this._rawValidators,i)}hasAsyncValidator(i){return Ge(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let t=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(N(m({},i),{sourceControl:n})),t&&i.emitEvent!==!1&&this._events.next(new ve(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(i))}markAsUntouched(i={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),t&&i.emitEvent!==!1&&this._events.next(new ve(!1,n))}markAsDirty(i={}){let t=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(N(m({},i),{sourceControl:n})),t&&i.emitEvent!==!1&&this._events.next(new _e(!1,n))}markAsPristine(i={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),t&&i.emitEvent!==!1&&this._events.next(new _e(!0,n))}markAsPending(i={}){this.status=ie;let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new ne(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(N(m({},i),{sourceControl:t}))}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=ye,this.errors=null,this._forEachChild(r=>{r.disable(N(m({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Ke(this.value,n)),this._events.next(new ne(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(m({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=me,this._forEachChild(n=>{n.enable(N(m({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(N(m({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,t){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===me||this.status===ie)&&this._runAsyncValidator(n,i.emitEvent)}let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Ke(this.value,t)),this._events.next(new ne(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(N(m({},i),{sourceControl:t}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ye:me}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,t){if(this.asyncValidator){this.status=ie,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=hi(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(i){let t=i;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,r)=>n&&n._find(r),this)}getError(i,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,t,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new ne(this.status,t)),this._parent&&this._parent._updateControlsErrors(i,t,n)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?ye:this.errors?$e:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ie)?ie:this._anyControlsHaveStatus($e)?$e:me}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,t){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,t),r&&this._events.next(new _e(this.pristine,t))}_updateTouched(i={},t){this.touched=this._anyControlsTouched(),this._events.next(new ve(this.touched,t)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,t)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Qe(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let t=this._parent&&this._parent.dirty;return!i&&!!t&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=Nn(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=Fn(this._rawAsyncValidators)}},qe=class extends re{constructor(i,t,n){super(Et(t),At(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,t){return this.controls[i]?this.controls[i]:(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,n={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,t={}){Ai(this,!0,i),Object.keys(i).forEach(n=>{Ei(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(i,t,n)=>(i[n]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,n)=>n._syncPendingControls()?!0:t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{let n=this.controls[t];n&&i(n,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[t,n]of Object.entries(this.controls))if(this.contains(t)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(i,t){let n=i;return this._forEachChild((r,s)=>{n=t(n,r,s)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Ct=class extends qe{};var Xe=new B("",{providedIn:"root",factory:()=>et}),et="always";function tt(e,i){return[...i.path,e]}function bt(e,i,t=et){Dt(e,i),i.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(e.disabled),Ln(e,i),kn(e,i),Pn(e,i),xn(e,i)}function ii(e,i,t=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),Ye(e,i),e&&(i._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ze(e,i){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function xn(e,i){if(i.valueAccessor.setDisabledState){let t=n=>{i.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(t),i._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Dt(e,i){let t=bi(e);i.validator!==null?e.setValidators(Xt(t,i.validator)):typeof t=="function"&&e.setValidators([t]);let n=Si(e);i.asyncValidator!==null?e.setAsyncValidators(Xt(n,i.asyncValidator)):typeof n=="function"&&e.setAsyncValidators([n]);let r=()=>e.updateValueAndValidity();ze(i._rawValidators,r),ze(i._rawAsyncValidators,r)}function Ye(e,i){let t=!1;if(e!==null){if(i.validator!==null){let r=bi(e);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==i.validator);s.length!==r.length&&(t=!0,e.setValidators(s))}}if(i.asyncValidator!==null){let r=Si(e);if(Array.isArray(r)&&r.length>0){let s=r.filter(o=>o!==i.asyncValidator);s.length!==r.length&&(t=!0,e.setAsyncValidators(s))}}}let n=()=>{};return ze(i._rawValidators,n),ze(i._rawAsyncValidators,n),t}function Ln(e,i){i.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Di(e,i)})}function Pn(e,i){i.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Di(e,i),e.updateOn!=="submit"&&e.markAsTouched()})}function Di(e,i){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function kn(e,i){let t=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};e.registerOnChange(t),i._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function Hn(e,i){e==null,Dt(e,i)}function Un(e,i){return Ye(e,i)}function wi(e,i){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function $n(e){return Object.getPrototypeOf(e.constructor)===li}function Bn(e,i){e._syncPendingControls(),i.forEach(t=>{let n=t.control;n.updateOn==="submit"&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Oi(e,i){if(!i)return null;Array.isArray(i);let t,n,r;return i.forEach(s=>{s.constructor===ci?t=s:$n(s)?n=s:r=s}),r||n||t||null}function Gn(e,i){let t=e.indexOf(i);t>-1&&e.splice(t,1)}function ni(e,i){let t=e.indexOf(i);t>-1&&e.splice(t,1)}function ri(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Ce=class extends re{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,t,n){super(Et(t),At(n,t)),this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Qe(t)&&(t.nonNullable||t.initialValueIsDefault)&&(ri(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){ni(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){ni(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){ri(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var Wn=e=>e instanceof Ce,jn=(()=>{class e extends T{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return tt(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Y(e)))(r||e)}})();static \u0275dir=C({type:e,standalone:!1,features:[w]})}return e})();var Kn={provide:Z,useExisting:$(()=>qn)},si=Promise.resolve(),qn=(()=>{class e extends Z{_changeDetectorRef;callSetDisabledState;control=new Ce;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new X;constructor(t,n,r,s,o,l){super(),this._changeDetectorRef=o,this.callSetDisabledState=l,this._parent=t,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=Oi(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),wi(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){bt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){si.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,r=n!==0&&gt(n);si.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?tt(t,this._parent):[t]}static \u0275fac=function(n){return new(n||e)(f(T,9),f(se,10),f(be,10),f(Je,10),f(Zt,8),f(Xe,8))};static \u0275dir=C({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[G([Kn]),w,fe]})}return e})(),rs=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275dir=C({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})(),zn={provide:Je,useExisting:$(()=>Yn),multi:!0},Yn=(()=>{class e extends li{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Y(e)))(r||e)}})();static \u0275dir=C({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&He("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[G([zn]),w]})}return e})();var Ti=new B("");var Zn={provide:T,useExisting:$(()=>Vi)},Vi=(()=>{class e extends T{callSetDisabledState;get submitted(){return O(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=te(()=>this._submittedReactive());_submittedReactive=D(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new X;constructor(t,n,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ye(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return bt(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){ii(t.control||null,t,!1),Gn(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),Bn(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new _t(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new vt(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,r=this.form.get(t.path);n!==r&&(ii(n||null,t),Wn(r)&&(bt(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Hn(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&Un(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Dt(this.form,this),this._oldForm&&Ye(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||e)(f(se,10),f(be,10),f(Xe,8))};static \u0275dir=C({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&He("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[G([Zn]),w,fe]})}return e})(),Jn={provide:T,useExisting:$(()=>Ii)},Ii=(()=>{class e extends jn{name=null;constructor(t,n,r){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){Ri(this._parent)}static \u0275fac=function(n){return new(n||e)(f(T,13),f(se,10),f(be,10))};static \u0275dir=C({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[G([Jn]),w]})}return e})(),Qn={provide:T,useExisting:$(()=>Mi)},Mi=(()=>{class e extends T{_parent;name=null;constructor(t,n,r){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return tt(this.name==null?this.name:this.name.toString(),this._parent)}_checkParentType(){Ri(this._parent)}static \u0275fac=function(n){return new(n||e)(f(T,13),f(se,10),f(be,10))};static \u0275dir=C({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[G([Qn]),w]})}return e})();function Ri(e){return!(e instanceof Ii)&&!(e instanceof Vi)&&!(e instanceof Mi)}var Xn={provide:Z,useExisting:$(()=>er)},er=(()=>{class e extends Z{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new X;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,r,s,o){super(),this._ngModelWarningConfig=o,this._parent=t,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=Oi(this,s)}ngOnChanges(t){this._added||this._setUpControl(),wi(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return tt(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||e)(f(T,13),f(se,10),f(be,10),f(Je,10),f(Ti,8))};static \u0275dir=C({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[G([Xn]),w,fe]})}return e})();var tr=(()=>{class e{_validator=Be;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Be,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(n){return new(n||e)};static \u0275dir=C({type:e,features:[fe]})}return e})();var ir={provide:se,useExisting:$(()=>nr),multi:!0};var nr=(()=>{class e extends tr{required;inputName="required";normalizeInput=gt;createValidator=t=>di;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Y(e)))(r||e)}})();static \u0275dir=C({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&Yt("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[G([ir]),w]})}return e})();var Ni=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ee({type:e});static \u0275inj=Q({})}return e})(),St=class extends re{constructor(i,t,n){super(Et(t),At(n,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,t={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(i,t,n={}){this.controls.splice(i,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,t={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(i,t,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,t={}){Ai(this,!1,i),i.forEach((n,r)=>{Ei(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i=[],t={}){this._forEachChild((n,r)=>{n.reset(i[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((t,n)=>n._syncPendingControls()?!0:t,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((t,n)=>{i(t,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(t=>t.enabled&&i(t))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function oi(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var rr=(()=>{class e{useNonNullable=!1;get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let r=this._reduceControls(t),s={};return oi(n)?s=n:n!==null&&(s.validators=n.validator,s.asyncValidators=n.asyncValidator),new qe(r,s)}record(t,n=null){let r=this._reduceControls(t);return new Ct(r,n)}control(t,n,r){let s={};return this.useNonNullable?(oi(n)?s=n:(s.validators=n,s.asyncValidators=r),new Ce(t,N(m({},s),{nonNullable:!0}))):new Ce(t,n,r)}array(t,n,r){let s=t.map(o=>this._createControl(o));return new St(s,n,r)}_reduceControls(t){let n={};return Object.keys(t).forEach(r=>{n[r]=this._createControl(t[r])}),n}_createControl(t){if(t instanceof Ce)return t;if(t instanceof re)return t;if(Array.isArray(t)){let n=t[0],r=t.length>1?t[1]:null,s=t.length>2?t[2]:null;return this.control(n,r,s)}else return this.control(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ss=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>A(rr).nonNullable,providedIn:"root"})}return e})();var os=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Xe,useValue:t.callSetDisabledState??et}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=ee({type:e});static \u0275inj=Q({imports:[Ni]})}return e})(),as=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ti,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Xe,useValue:t.callSetDisabledState??et}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=ee({type:e});static \u0275inj=Q({imports:[Ni]})}return e})();function sr(e,i){!i?.injector&&Gt(sr);let t=i?.injector??A(lt),n=new kt(1),r=ge(()=>{let s;try{s=e()}catch(o){O(()=>n.error(o));return}O(()=>n.next(s))},{injector:t,manualCleanup:!0});return t.get(Wt).onDestroy(()=>{r.destroy(),n.complete()}),n.asObservable()}function or(e,i){return e?e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className):!1}function ar(e,i){if(e&&i){let t=n=>{or(e,n)||(e.classList?e.classList.add(n):e.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function lr(){return window.innerWidth-document.documentElement.offsetWidth}function oe(e){for(let i of document?.styleSheets)try{for(let t of i?.cssRules)for(let n of t?.style)if(e.test(n))return{name:n,value:t.style.getPropertyValue(n).trim()}}catch{}return null}function Cs(e="p-overflow-hidden"){let i=oe(/-scrollbar-width$/);i?.name&&document.body.style.setProperty(i.name,lr()+"px"),ar(document.body,e)}function cr(e,i){if(e&&i){let t=n=>{e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ")};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function bs(e="p-overflow-hidden"){let i=oe(/-scrollbar-width$/);i?.name&&document.body.style.removeProperty(i.name),cr(document.body,e)}function Fi(e){let i={width:0,height:0};return e&&(e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible"),i}function xi(){let e=window,i=document,t=i.documentElement,n=i.getElementsByTagName("body")[0],r=e.innerWidth||t.clientWidth||n.clientWidth,s=e.innerHeight||t.clientHeight||n.clientHeight;return{width:r,height:s}}function ur(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}function dr(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Ss(e,i,t=!0){var n,r,s,o;if(e){let l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Fi(e),c=l.height,a=l.width,u=i.offsetHeight,p=i.offsetWidth,d=i.getBoundingClientRect(),h=dr(),y=ur(),v=xi(),E,M,R="top";d.top+u+c>v.height?(E=d.top+h-c,R="bottom",E<0&&(E=h)):E=u+d.top+h,d.left+a>v.width?M=Math.max(0,d.left+y+p-a):M=d.left+y,e.style.top=E+"px",e.style.left=M+"px",e.style.transformOrigin=R,t&&(e.style.marginTop=R==="bottom"?`calc(${(r=(n=oe(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=oe(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function pr(e,i){e&&(typeof i=="string"?e.style.cssText=i:Object.entries(i||{}).forEach(([t,n])=>e.style[t]=n))}function Es(e,i){if(e instanceof HTMLElement){let t=e.offsetWidth;if(i){let n=getComputedStyle(e);t+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return t}return 0}function As(e,i,t=!0){var n,r,s,o;if(e){let l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Fi(e),c=i.offsetHeight,a=i.getBoundingClientRect(),u=xi(),p,d,h="top";a.top+c+l.height>u.height?(p=-1*l.height,h="bottom",a.top+p<0&&(p=-1*a.top)):p=c,l.width>u.width?d=a.left*-1:a.left+l.width>u.width?d=(a.left+l.width-u.width)*-1:d=0,e.style.top=p+"px",e.style.left=d+"px",e.style.transformOrigin=h,t&&(e.style.marginTop=h==="bottom"?`calc(${(r=(n=oe(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=oe(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function ae(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}function Ot(e){let i=e;return e&&typeof e=="object"&&(e.hasOwnProperty("current")?i=e.current:e.hasOwnProperty("el")&&(e.el.hasOwnProperty("nativeElement")?i=e.el.nativeElement:i=e.el)),ae(i)?i:void 0}function Ds(e,i){let t=Ot(e);if(t)t.appendChild(i);else throw new Error("Cannot append "+i+" to "+e)}var wt=void 0;function ws(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(wt!=null)return wt;let i=document.createElement("div");pr(i,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(i);let t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),wt=t,t}}function it(e,i={}){if(ae(e)){let t=(n,r)=>{var s,o;let l=(s=e?.$attrs)!=null&&s[n]?[(o=e?.$attrs)==null?void 0:o[n]]:[];return[r].flat().reduce((c,a)=>{if(a!=null){let u=typeof a;if(u==="string"||u==="number")c.push(a);else if(u==="object"){let p=Array.isArray(a)?t(n,a):Object.entries(a).map(([d,h])=>n==="style"&&(h||h===0)?`${d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${h}`:h?d:void 0);c=p.length?c.concat(p.filter(d=>!!d)):c}}return c},l)};Object.entries(i).forEach(([n,r])=>{if(r!=null){let s=n.match(/^on(.+)/);s?e.addEventListener(s[1].toLowerCase(),r):n==="p-bind"||n==="pBind"?it(e,r):(r=n==="class"?[...new Set(t("class",r))].join(" ").trim():n==="style"?t("style",r).join(";").trim():r,(e.$attrs=e.$attrs||{})&&(e.$attrs[n]=r),e.setAttribute(n,r))}})}}function Os(e,i={},...t){if(e){let n=document.createElement(e);return it(n,i),n.append(...t),n}}function Ts(e,i){if(e){e.style.opacity="0";let t=+new Date,n="0",r=function(){n=`${+e.style.opacity+(new Date().getTime()-t)/i}`,e.style.opacity=n,t=+new Date,+n<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}}function hr(e,i){return ae(e)?Array.from(e.querySelectorAll(i)):[]}function Vs(e,i){return ae(e)?e.matches(i)?e:e.querySelector(i):null}function Is(e,i){e&&document.activeElement!==e&&e.focus(i)}function Ms(e,i){if(ae(e)){let t=e.getAttribute(i);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function Li(e,i=""){let t=hr(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
2
+ [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
3
+ input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
4
+ select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
5
+ textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
6
+ [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
7
+ [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}`),n=[];for(let r of t)getComputedStyle(r).display!="none"&&getComputedStyle(r).visibility!="hidden"&&n.push(r);return n}function Rs(e,i){let t=Li(e,i);return t.length>0?t[0]:null}function Ns(e){if(e){let i=e.offsetHeight,t=getComputedStyle(e);return i-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),i}return 0}function Fs(e){if(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}return 0}function xs(e){if(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}return 0}function Pi(e){if(e){let i=e.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function Ls(e){var i;if(e){let t=(i=Pi(e))==null?void 0:i.childNodes,n=0;if(t)for(let r=0;r<t.length;r++){if(t[r]===e)return n;t[r].nodeType===1&&n++}}return-1}function Ps(e,i){let t=Li(e,i);return t.length>0?t[t.length-1]:null}function ks(e){if(e){let i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function fr(e,i){if(e){let t=e.offsetHeight;if(i){let n=getComputedStyle(e);t+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return t}return 0}function Hs(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function gr(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&Pi(e))}function Us(e,i){var t;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return(t=i?.parentElement)==null?void 0:t.parentElement;default:if(typeof e=="string")return document.querySelector(e);let r=Ot((s=>!!(s&&s.constructor&&s.call&&s.apply))(e)?e():e);return r?.nodeType===9||gr(r)?r:void 0}}function $s(e){if(e){let i=e.offsetWidth,t=getComputedStyle(e);return i-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)+parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth),i}return 0}function Bs(){return/(android)/i.test(navigator.userAgent)}function mr(e){return!!(e&&e.offsetParent!=null)}function Gs(e){return!mr(e)}function Ws(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function js(e){return e?getComputedStyle(e).direction==="rtl":!1}function Ks(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function qs(e){var i;e&&("remove"in Element.prototype?e.remove():(i=e.parentNode)==null||i.removeChild(e))}function zs(e,i){let t=Ot(e);if(t)t.removeChild(i);else throw new Error("Cannot remove "+i+" from "+e)}function Ys(e,i){let t=getComputedStyle(e).getPropertyValue("borderTopWidth"),n=t?parseFloat(t):0,r=getComputedStyle(e).getPropertyValue("paddingTop"),s=r?parseFloat(r):0,o=e.getBoundingClientRect(),c=i.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-n-s,a=e.scrollTop,u=e.clientHeight,p=fr(i);c<0?e.scrollTop=a+c:c+p>u&&(e.scrollTop=a+c-u+p)}function ki(e,i="",t){ae(e)&&t!==null&&t!==void 0&&e.setAttribute(i,t)}var yr=Object.defineProperty,Hi=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,Ui=(e,i,t)=>i in e?yr(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Cr=(e,i)=>{for(var t in i||(i={}))_r.call(i,t)&&Ui(e,t,i[t]);if(Hi)for(var t of Hi(i))vr.call(i,t)&&Ui(e,t,i[t]);return e};function Se(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Tt(e,i,t=new WeakSet){if(e===i)return!0;if(!e||!i||typeof e!="object"||typeof i!="object"||t.has(e)||t.has(i))return!1;t.add(e).add(i);let n=Array.isArray(e),r=Array.isArray(i),s,o,l;if(n&&r){if(o=e.length,o!=i.length)return!1;for(s=o;s--!==0;)if(!Tt(e[s],i[s],t))return!1;return!0}if(n!=r)return!1;let c=e instanceof Date,a=i instanceof Date;if(c!=a)return!1;if(c&&a)return e.getTime()==i.getTime();let u=e instanceof RegExp,p=i instanceof RegExp;if(u!=p)return!1;if(u&&p)return e.toString()==i.toString();let d=Object.keys(e);if(o=d.length,o!==Object.keys(i).length)return!1;for(s=o;s--!==0;)if(!Object.prototype.hasOwnProperty.call(i,d[s]))return!1;for(s=o;s--!==0;)if(l=d[s],!Tt(e[l],i[l],t))return!1;return!0}function br(e,i){return Tt(e,i)}function Bi(e){return!!(e&&e.constructor&&e.call&&e.apply)}function g(e){return!Se(e)}function nt(e,i){if(!e||!i)return null;try{let t=e[i];if(g(t))return t}catch{}if(Object.keys(e).length){if(Bi(i))return i(e);if(i.indexOf(".")===-1)return e[i];{let t=i.split("."),n=e;for(let r=0,s=t.length;r<s;++r){if(n==null)return null;n=n[t[r]]}return n}}return null}function Vt(e,i,t){return t?nt(e,t)===nt(i,t):br(e,i)}function Js(e,i){if(e!=null&&i&&i.length){for(let t of i)if(Vt(e,t))return!0}return!1}function Qs(e,i){let t=-1;if(g(e))try{t=e.findLastIndex(i)}catch{t=e.lastIndexOf([...e].reverse().find(i))}return t}function P(e,i=!0){return e instanceof Object&&e.constructor===Object&&(i||Object.keys(e).length!==0)}function F(e,...i){return Bi(e)?e(...i):e}function q(e,i=!0){return typeof e=="string"&&(i||e!=="")}function $i(e){return q(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Gi(e,i="",t={}){let n=$i(i).split("."),r=n.shift();return r?P(e)?Gi(F(e[Object.keys(e).find(s=>$i(s)===r)||""],t),n.join("."),t):void 0:F(e,t)}function rt(e,i=!0){return Array.isArray(e)&&(i||e.length!==0)}function Xs(e){return e instanceof Date&&e.constructor===Date}function Wi(e){return g(e)&&!isNaN(e)}function eo(e=""){return g(e)&&e.length===1&&!!e.match(/\S| /)}function V(e,i){if(i){let t=i.test(e);return i.lastIndex=0,t}return!1}function Ee(...e){let i=(t={},n={})=>{let r=Cr({},t);return Object.keys(n).forEach(s=>{P(n[s])&&s in t&&P(t[s])?r[s]=i(t[s],n[s]):r[s]=n[s]}),r};return e.reduce((t,n,r)=>r===0?n:i(t,n),{})}function J(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function I(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let t={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in t)e=e.replace(t[n],n)}return e}function st(e){return q(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(i,t)=>t===0?i:"-"+i.toLowerCase()).toLowerCase():e}function It(e){return q(e)?e.replace(/[A-Z]/g,(i,t)=>t===0?i:"."+i.toLowerCase()).toLowerCase():e}var ot={};function io(e="pui_id_"){return ot.hasOwnProperty(e)||(ot[e]=0),ot[e]++,`${e}${ot[e]}`}function ji(){let e=new Map;return{on(i,t){let n=e.get(i);return n?n.push(t):n=[t],e.set(i,n),this},off(i,t){let n=e.get(i);return n&&n.splice(n.indexOf(t)>>>0,1),this},emit(i,t){let n=e.get(i);n&&n.slice().map(r=>{r(t)})},clear(){e.clear()}}}function Sr(){let e=[],i=(o,l,c=999)=>{let a=r(o,l,c),u=a.value+(a.key===o?0:c)+1;return e.push({key:o,value:u}),u},t=o=>{e=e.filter(l=>l.value!==o)},n=(o,l)=>r(o,l).value,r=(o,l,c=0)=>[...e].reverse().find(a=>l?!0:a.key===o)||{key:o,value:c},s=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:s,set:(o,l,c)=>{l&&(l.style.zIndex=String(i(o,!0,c)))},clear:o=>{o&&(t(s(o)),o.style.zIndex="")},getCurrent:o=>n(o,!0)}}var ao=Sr();var Ki=["*"];var b=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return e})(),bo=(()=>{class e{static AND="and";static OR="or"}return e})(),So=(()=>{class e{filter(t,n,r,s,o){let l=[];if(t)for(let c of t)for(let a of n){let u=nt(c,a);if(this.filters[s](u,r,o)){l.push(c);break}}return l}filters={startsWith:(t,n,r)=>{if(n==null||n.trim()==="")return!0;if(t==null)return!1;let s=I(n.toString()).toLocaleLowerCase(r);return I(t.toString()).toLocaleLowerCase(r).slice(0,s.length)===s},contains:(t,n,r)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(t==null)return!1;let s=I(n.toString()).toLocaleLowerCase(r);return I(t.toString()).toLocaleLowerCase(r).indexOf(s)!==-1},notContains:(t,n,r)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(t==null)return!1;let s=I(n.toString()).toLocaleLowerCase(r);return I(t.toString()).toLocaleLowerCase(r).indexOf(s)===-1},endsWith:(t,n,r)=>{if(n==null||n.trim()==="")return!0;if(t==null)return!1;let s=I(n.toString()).toLocaleLowerCase(r),o=I(t.toString()).toLocaleLowerCase(r);return o.indexOf(s,o.length-s.length)!==-1},equals:(t,n,r)=>n==null||typeof n=="string"&&n.trim()===""?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()===n.getTime():t==n?!0:I(t.toString()).toLocaleLowerCase(r)==I(n.toString()).toLocaleLowerCase(r),notEquals:(t,n,r)=>n==null||typeof n=="string"&&n.trim()===""?!1:t==null?!0:t.getTime&&n.getTime?t.getTime()!==n.getTime():t==n?!1:I(t.toString()).toLocaleLowerCase(r)!=I(n.toString()).toLocaleLowerCase(r),in:(t,n)=>{if(n==null||n.length===0)return!0;for(let r=0;r<n.length;r++)if(Vt(t,n[r]))return!0;return!1},between:(t,n)=>n==null||n[0]==null||n[1]==null?!0:t==null?!1:t.getTime?n[0].getTime()<=t.getTime()&&t.getTime()<=n[1].getTime():n[0]<=t&&t<=n[1],lt:(t,n,r)=>n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()<n.getTime():t<n,lte:(t,n,r)=>n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()<=n.getTime():t<=n,gt:(t,n,r)=>n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>n.getTime():t>n,gte:(t,n,r)=>n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>=n.getTime():t>=n,is:(t,n,r)=>this.filters.equals(t,n,r),isNot:(t,n,r)=>this.filters.notEquals(t,n,r),before:(t,n,r)=>this.filters.lt(t,n,r),after:(t,n,r)=>this.filters.gt(t,n,r),dateIs:(t,n)=>n==null?!0:t==null?!1:t.toDateString()===n.toDateString(),dateIsNot:(t,n)=>n==null?!0:t==null?!1:t.toDateString()!==n.toDateString(),dateBefore:(t,n)=>n==null?!0:t==null?!1:t.getTime()<n.getTime(),dateAfter:(t,n)=>n==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>n.getTime())};register(t,n){this.filters[t]=n}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Eo=(()=>{class e{messageSource=new L;clearSource=new L;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(t){t&&this.messageSource.next(t)}addAll(t){t&&t.length&&this.messageSource.next(t)}clear(t){this.clearSource.next(t||null)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ao=(()=>{class e{clickSource=new L;clickObservable=this.clickSource.asObservable();add(t){t&&this.clickSource.next(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Do=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=dt({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Ki,decls:1,vars:0,template:function(n,r){n&1&&(ht(),ft(0))},encapsulation:2})}return e})(),wo=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=dt({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Ki,decls:1,vars:0,template:function(n,r){n&1&&(ht(),ft(0))},encapsulation:2})}return e})(),Oo=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(n){return new(n||e)(f(Kt))};static \u0275dir=C({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),To=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ee({type:e});static \u0275inj=Q({imports:[Jt]})}return e})(),Vo=(()=>{class e{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return e})(),Io=(()=>{class e{dragStartSource=new L;dragStopSource=new L;dragStart$=this.dragStartSource.asObservable();dragStop$=this.dragStopSource.asObservable();startDrag(t){this.dragStartSource.next(t)}stopDrag(t){this.dragStopSource.next(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();var Er=Object.defineProperty,Ar=Object.defineProperties,Dr=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,qi=(e,i,t)=>i in e?Er(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,H=(e,i)=>{for(var t in i||(i={}))Yi.call(i,t)&&qi(e,t,i[t]);if(at)for(var t of at(i))Zi.call(i,t)&&qi(e,t,i[t]);return e},Mt=(e,i)=>Ar(e,Dr(i)),W=(e,i)=>{var t={};for(var n in e)Yi.call(e,n)&&i.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&at)for(var n of at(e))i.indexOf(n)<0&&Zi.call(e,n)&&(t[n]=e[n]);return t};function No(...e){return Ee(...e)}var wr=ji(),U=wr;function zi(e,i){rt(e)?e.push(...i||[]):P(e)&&Object.assign(e,i)}function Or(e){return P(e)&&e.hasOwnProperty("value")&&e.hasOwnProperty("type")?e.value:e}function Tr(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Rt(e="",i=""){return Tr(`${q(e,!1)&&q(i,!1)?`${e}-`:e}${i}`)}function Ji(e="",i=""){return`--${Rt(e,i)}`}function Vr(e=""){let i=(e.match(/{/g)||[]).length,t=(e.match(/}/g)||[]).length;return(i+t)%2!==0}function Qi(e,i="",t="",n=[],r){if(q(e)){let s=/{([^}]*)}/g,o=e.trim();if(Vr(o))return;if(V(o,s)){let l=o.replaceAll(s,u=>{let d=u.replace(/{|}/g,"").split(".").filter(h=>!n.some(y=>V(h,y)));return`var(${Ji(t,st(d.join("-")))}${g(r)?`, ${r}`:""})`}),c=/(\d+\s+[\+\-\*\/]\s+\d+)/g,a=/var\([^)]+\)/g;return V(l.replace(a,"0"),c)?`calc(${l})`:l}return o}else if(Wi(e))return e}function Ir(e,i,t){q(i,!1)&&e.push(`${i}:${t};`)}function le(e,i){return e?`${e}{${i}}`:""}var Uo=e=>{var i;let t=_.getTheme(),n=Nt(t,e,void 0,"variable"),r=(i=n?.match(/--[\w-]+/g))==null?void 0:i[0],s=Nt(t,e,void 0,"value");return{name:r,variable:n,value:s}},ce=(...e)=>Nt(_.getTheme(),...e),Nt=(e={},i,t,n)=>{if(i){let{variable:r,options:s}=_.defaults||{},{prefix:o,transform:l}=e?.options||s||{},a=V(i,/{([^}]*)}/g)?i:`{${i}}`;return n==="value"||Se(n)&&l==="strict"?_.getTokenValue(i):Qi(a,void 0,o,[r.excludedKeyRegex],t)}return""};function Mr(e,i={}){let t=_.defaults.variable,{prefix:n=t.prefix,selector:r=t.selector,excludedKeyRegex:s=t.excludedKeyRegex}=i,o=(a,u="")=>Object.entries(a).reduce((p,[d,h])=>{let y=V(d,s)?Rt(u):Rt(u,st(d)),v=Or(h);if(P(v)){let{variables:E,tokens:M}=o(v,y);zi(p.tokens,M),zi(p.variables,E)}else p.tokens.push((n?y.replace(`${n}-`,""):y).replaceAll("-",".")),Ir(p.variables,Ji(y),Qi(v,y,n,[s]));return p},{variables:[],tokens:[]}),{variables:l,tokens:c}=o(e,n);return{value:l,tokens:c,declarations:l.join(""),css:le(r,l.join(""))}}var k={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:`${e}{:root{[CSS]}}`,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let i=Object.keys(this.rules).filter(t=>t!=="custom").map(t=>this.rules[t]);return[e].flat().map(t=>{var n;return(n=i.map(r=>r.resolve(t)).find(r=>r.matched))!=null?n:this.rules.custom.resolve(t)})}},_toVariables(e,i){return Mr(e,{prefix:i?.prefix})},getCommon({name:e="",theme:i={},params:t,set:n,defaults:r}){var s,o,l,c,a,u,p;let{preset:d,options:h}=i,y,v,E,M,R,z,x;if(g(d)&&h.transform!=="strict"){let{primitive:Ae,semantic:De,extend:we}=d,ue=De||{},{colorScheme:Oe}=ue,Te=W(ue,["colorScheme"]),Ve=we||{},{colorScheme:Ie}=Ve,de=W(Ve,["colorScheme"]),pe=Oe||{},{dark:Me}=pe,Re=W(pe,["dark"]),Ne=Ie||{},{dark:Fe}=Ne,xe=W(Ne,["dark"]),Le=g(Ae)?this._toVariables({primitive:Ae},h):{},Pe=g(Te)?this._toVariables({semantic:Te},h):{},ke=g(Re)?this._toVariables({light:Re},h):{},Ft=g(Me)?this._toVariables({dark:Me},h):{},xt=g(de)?this._toVariables({semantic:de},h):{},Lt=g(xe)?this._toVariables({light:xe},h):{},Pt=g(Fe)?this._toVariables({dark:Fe},h):{},[tn,nn]=[(s=Le.declarations)!=null?s:"",Le.tokens],[rn,sn]=[(o=Pe.declarations)!=null?o:"",Pe.tokens||[]],[on,an]=[(l=ke.declarations)!=null?l:"",ke.tokens||[]],[ln,cn]=[(c=Ft.declarations)!=null?c:"",Ft.tokens||[]],[un,dn]=[(a=xt.declarations)!=null?a:"",xt.tokens||[]],[pn,hn]=[(u=Lt.declarations)!=null?u:"",Lt.tokens||[]],[fn,gn]=[(p=Pt.declarations)!=null?p:"",Pt.tokens||[]];y=this.transformCSS(e,tn,"light","variable",h,n,r),v=nn;let mn=this.transformCSS(e,`${rn}${on}`,"light","variable",h,n,r),yn=this.transformCSS(e,`${ln}`,"dark","variable",h,n,r);E=`${mn}${yn}`,M=[...new Set([...sn,...an,...cn])];let _n=this.transformCSS(e,`${un}${pn}color-scheme:light`,"light","variable",h,n,r),vn=this.transformCSS(e,`${fn}color-scheme:dark`,"dark","variable",h,n,r);R=`${_n}${vn}`,z=[...new Set([...dn,...hn,...gn])],x=F(d.css,{dt:ce})}return{primitive:{css:y,tokens:v},semantic:{css:E,tokens:M},global:{css:R,tokens:z},style:x}},getPreset({name:e="",preset:i={},options:t,params:n,set:r,defaults:s,selector:o}){var l,c,a;let u,p,d;if(g(i)&&t.transform!=="strict"){let h=e.replace("-directive",""),y=i,{colorScheme:v,extend:E,css:M}=y,R=W(y,["colorScheme","extend","css"]),z=E||{},{colorScheme:x}=z,Ae=W(z,["colorScheme"]),De=v||{},{dark:we}=De,ue=W(De,["dark"]),Oe=x||{},{dark:Te}=Oe,Ve=W(Oe,["dark"]),Ie=g(R)?this._toVariables({[h]:H(H({},R),Ae)},t):{},de=g(ue)?this._toVariables({[h]:H(H({},ue),Ve)},t):{},pe=g(we)?this._toVariables({[h]:H(H({},we),Te)},t):{},[Me,Re]=[(l=Ie.declarations)!=null?l:"",Ie.tokens||[]],[Ne,Fe]=[(c=de.declarations)!=null?c:"",de.tokens||[]],[xe,Le]=[(a=pe.declarations)!=null?a:"",pe.tokens||[]],Pe=this.transformCSS(h,`${Me}${Ne}`,"light","variable",t,r,s,o),ke=this.transformCSS(h,xe,"dark","variable",t,r,s,o);u=`${Pe}${ke}`,p=[...new Set([...Re,...Fe,...Le])],d=F(M,{dt:ce})}return{css:u,tokens:p,style:d}},getPresetC({name:e="",theme:i={},params:t,set:n,defaults:r}){var s;let{preset:o,options:l}=i,c=(s=o?.components)==null?void 0:s[e];return this.getPreset({name:e,preset:c,options:l,params:t,set:n,defaults:r})},getPresetD({name:e="",theme:i={},params:t,set:n,defaults:r}){var s;let o=e.replace("-directive",""),{preset:l,options:c}=i,a=(s=l?.directives)==null?void 0:s[o];return this.getPreset({name:o,preset:a,options:c,params:t,set:n,defaults:r})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,i){var t;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?i.options.darkModeSelector:(t=e.darkModeSelector)!=null?t:i.options.darkModeSelector):[]},getLayerOrder(e,i={},t,n){let{cssLayer:r}=i;return r?`@layer ${F(r.order||"primeui",t)}`:""},getCommonStyleSheet({name:e="",theme:i={},params:t,props:n={},set:r,defaults:s}){let o=this.getCommon({name:e,theme:i,params:t,set:r,defaults:s}),l=Object.entries(n).reduce((c,[a,u])=>c.push(`${a}="${u}"`)&&c,[]).join(" ");return Object.entries(o||{}).reduce((c,[a,u])=>{if(u?.css){let p=J(u?.css),d=`${a}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${d}" ${l}>${p}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:i={},params:t,props:n={},set:r,defaults:s}){var o;let l={name:e,theme:i,params:t,set:r,defaults:s},c=(o=e.includes("-directive")?this.getPresetD(l):this.getPresetC(l))==null?void 0:o.css,a=Object.entries(n).reduce((u,[p,d])=>u.push(`${p}="${d}"`)&&u,[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${e}-variables" ${a}>${J(c)}</style>`:""},createTokens(e={},i,t="",n="",r={}){return Object.entries(e).forEach(([s,o])=>{let l=V(s,i.variable.excludedKeyRegex)?t:t?`${t}.${It(s)}`:It(s),c=n?`${n}.${s}`:s;P(o)?this.createTokens(o,i,l,c,r):(r[l]||(r[l]={paths:[],computed(a,u={}){var p,d;return this.paths.length===1?(p=this.paths[0])==null?void 0:p.computed(this.paths[0].scheme,u.binding):a&&a!=="none"?(d=this.paths.find(h=>h.scheme===a))==null?void 0:d.computed(a,u.binding):this.paths.map(h=>h.computed(h.scheme,u[h.scheme]))}}),r[l].paths.push({path:c,value:o,scheme:c.includes("colorScheme.light")?"light":c.includes("colorScheme.dark")?"dark":"none",computed(a,u={}){let p=/{([^}]*)}/g,d=o;if(u.name=this.path,u.binding||(u.binding={}),V(o,p)){let y=o.trim().replaceAll(p,M=>{var R;let z=M.replace(/{|}/g,""),x=(R=r[z])==null?void 0:R.computed(a,u);return rt(x)&&x.length===2?`light-dark(${x[0].value},${x[1].value})`:x?.value}),v=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,E=/var\([^)]+\)/g;d=V(y.replace(E,"0"),v)?`calc(${y})`:y}return Se(u.binding)&&delete u.binding,{colorScheme:a,path:this.path,paths:u,value:d.includes("undefined")?void 0:d}}}))}),r},getTokenValue(e,i,t){var n;let s=(c=>c.split(".").filter(u=>!V(u.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(i),o=i.includes("colorScheme.light")?"light":i.includes("colorScheme.dark")?"dark":void 0,l=[(n=e[s])==null?void 0:n.computed(o)].flat().filter(c=>c);return l.length===1?l[0].value:l.reduce((c={},a)=>{let u=a,{colorScheme:p}=u,d=W(u,["colorScheme"]);return c[p]=d,c},void 0)},getSelectorRule(e,i,t,n){return t==="class"||t==="attr"?le(g(i)?`${e}${i},${e} ${i}`:e,n):le(e,g(i)?le(i,n):n)},transformCSS(e,i,t,n,r={},s,o,l){if(g(i)){let{cssLayer:c}=r;if(n!=="style"){let a=this.getColorSchemeOption(r,o);i=t==="dark"?a.reduce((u,{type:p,selector:d})=>(g(d)&&(u+=d.includes("[CSS]")?d.replace("[CSS]",i):this.getSelectorRule(d,l,p,i)),u),""):le(l??":root",i)}if(c){let a={name:"primeui",order:"primeui"};P(c)&&(a.name=F(c.name,{name:e,type:n})),g(a.name)&&(i=le(`@layer ${a.name}`,i),s?.layerNames(a.name))}return i}return""}},_={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:i}=e;i&&(this._theme=Mt(H({},i),{options:H(H({},this.defaults.options),i.options)}),this._tokens=k.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),U.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Mt(H({},this.theme),{preset:e}),this._tokens=k.createTokens(e,this.defaults),this.clearLoadedStyleNames(),U.emit("preset:change",e),U.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Mt(H({},this.theme),{options:e}),this.clearLoadedStyleNames(),U.emit("options:change",e),U.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return k.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",i){return k.getCommon({name:e,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",i){let t={name:e,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return k.getPresetC(t)},getDirective(e="",i){let t={name:e,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return k.getPresetD(t)},getCustomPreset(e="",i,t,n){let r={name:e,preset:i,options:this.options,selector:t,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return k.getPreset(r)},getLayerOrderCSS(e=""){return k.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",i,t="style",n){return k.transformCSS(e,i,n,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",i,t={}){return k.getCommonStyleSheet({name:e,theme:this.theme,params:i,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,i,t={}){return k.getStyleSheet({name:e,theme:this.theme,params:i,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:i}){this._loadingStyles.size&&(this._loadingStyles.delete(i),U.emit(`theme:${i}:load`,e),!this._loadingStyles.size&&U.emit("theme:load"))}};var Rr=0,Xi=(()=>{class e{document=A(Ue);use(t,n={}){let r=!1,s=t,o=null,{immediate:l=!0,manual:c=!1,name:a=`style_${++Rr}`,id:u=void 0,media:p=void 0,nonce:d=void 0,first:h=!1,props:y={}}=n;if(this.document){if(o=this.document.querySelector(`style[data-primeng-style-id="${a}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),!o.isConnected){s=t,it(o,{type:"text/css",media:p,nonce:d});let v=this.document.head;h&&v.firstChild?v.insertBefore(o,v.firstChild):v.appendChild(o),ki(o,"data-primeng-style-id",a)}return o.textContent!==s&&(o.textContent=s),{id:u,name:a,el:o,css:s}}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ta={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},Nr=({dt:e})=>`
8
+ *,
9
+ ::before,
10
+ ::after {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ /* Non ng overlay animations */
15
+ .p-connected-overlay {
16
+ opacity: 0;
17
+ transform: scaleY(0.8);
18
+ transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
19
+ opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
20
+ }
21
+
22
+ .p-connected-overlay-visible {
23
+ opacity: 1;
24
+ transform: scaleY(1);
25
+ }
26
+
27
+ .p-connected-overlay-hidden {
28
+ opacity: 0;
29
+ transform: scaleY(1);
30
+ transition: opacity 0.1s linear;
31
+ }
32
+
33
+ /* NG based overlay animations */
34
+ .p-connected-overlay-enter-from {
35
+ opacity: 0;
36
+ transform: scaleY(0.8);
37
+ }
38
+
39
+ .p-connected-overlay-leave-to {
40
+ opacity: 0;
41
+ }
42
+
43
+ .p-connected-overlay-enter-active {
44
+ transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
45
+ opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
46
+ }
47
+
48
+ .p-connected-overlay-leave-active {
49
+ transition: opacity 0.1s linear;
50
+ }
51
+
52
+ /* Toggleable Content */
53
+ .p-toggleable-content-enter-from,
54
+ .p-toggleable-content-leave-to {
55
+ max-height: 0;
56
+ }
57
+
58
+ .p-toggleable-content-enter-to,
59
+ .p-toggleable-content-leave-from {
60
+ max-height: 1000px;
61
+ }
62
+
63
+ .p-toggleable-content-leave-active {
64
+ overflow: hidden;
65
+ transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
66
+ }
67
+
68
+ .p-toggleable-content-enter-active {
69
+ overflow: hidden;
70
+ transition: max-height 1s ease-in-out;
71
+ }
72
+
73
+ .p-disabled,
74
+ .p-disabled * {
75
+ cursor: default;
76
+ pointer-events: none;
77
+ user-select: none;
78
+ }
79
+
80
+ .p-disabled,
81
+ .p-component:disabled {
82
+ opacity: ${e("disabled.opacity")};
83
+ }
84
+
85
+ .pi {
86
+ font-size: ${e("icon.size")};
87
+ }
88
+
89
+ .p-icon {
90
+ width: ${e("icon.size")};
91
+ height: ${e("icon.size")};
92
+ }
93
+
94
+ .p-unselectable-text {
95
+ user-select: none;
96
+ }
97
+
98
+ .p-overlay-mask {
99
+ background: ${e("mask.background")};
100
+ color: ${e("mask.color")};
101
+ position: fixed;
102
+ top: 0;
103
+ left: 0;
104
+ width: 100%;
105
+ height: 100%;
106
+ }
107
+
108
+ .p-overlay-mask-enter {
109
+ animation: p-overlay-mask-enter-animation ${e("mask.transition.duration")} forwards;
110
+ }
111
+
112
+ .p-overlay-mask-leave {
113
+ animation: p-overlay-mask-leave-animation ${e("mask.transition.duration")} forwards;
114
+ }
115
+ /* Temporarily disabled, distrupts PrimeNG overlay animations */
116
+ /* @keyframes p-overlay-mask-enter-animation {
117
+ from {
118
+ background: transparent;
119
+ }
120
+ to {
121
+ background: ${e("mask.background")};
122
+ }
123
+ }
124
+ @keyframes p-overlay-mask-leave-animation {
125
+ from {
126
+ background: ${e("mask.background")};
127
+ }
128
+ to {
129
+ background: transparent;
130
+ }
131
+ }*/
132
+
133
+ .p-iconwrapper {
134
+ display: inline-flex;
135
+ justify-content: center;
136
+ align-items: center;
137
+ }
138
+ `,Fr=({dt:e})=>`
139
+ .p-hidden-accessible {
140
+ border: 0;
141
+ clip: rect(0 0 0 0);
142
+ height: 1px;
143
+ margin: -1px;
144
+ overflow: hidden;
145
+ padding: 0;
146
+ position: absolute;
147
+ width: 1px;
148
+ }
149
+
150
+ .p-hidden-accessible input,
151
+ .p-hidden-accessible select {
152
+ transform: scale(0);
153
+ }
154
+
155
+ .p-overflow-hidden {
156
+ overflow: hidden;
157
+ padding-right: ${e("scrollbar.width")};
158
+ }
159
+
160
+ /* @todo move to baseiconstyle.ts */
161
+
162
+ .p-icon {
163
+ display: inline-block;
164
+ vertical-align: baseline;
165
+ }
166
+
167
+ .p-icon-spin {
168
+ -webkit-animation: p-icon-spin 2s infinite linear;
169
+ animation: p-icon-spin 2s infinite linear;
170
+ }
171
+
172
+ @-webkit-keyframes p-icon-spin {
173
+ 0% {
174
+ -webkit-transform: rotate(0deg);
175
+ transform: rotate(0deg);
176
+ }
177
+ 100% {
178
+ -webkit-transform: rotate(359deg);
179
+ transform: rotate(359deg);
180
+ }
181
+ }
182
+
183
+ @keyframes p-icon-spin {
184
+ 0% {
185
+ -webkit-transform: rotate(0deg);
186
+ transform: rotate(0deg);
187
+ }
188
+ 100% {
189
+ -webkit-transform: rotate(359deg);
190
+ transform: rotate(359deg);
191
+ }
192
+ }
193
+ `,en=(()=>{class e{name="base";useStyle=A(Xi);theme=void 0;css=void 0;classes={};inlineStyles={};load=(t,n={},r=s=>s)=>{let s=r(F(t,{dt:ce}));return s?this.useStyle.use(J(s),m({name:this.name},n)):{}};loadCSS=(t={})=>this.load(this.css,t);loadTheme=(t={},n="")=>this.load(this.theme,t,(r="")=>_.transformCSS(t.name||this.name,`${r}${n}`));loadGlobalCSS=(t={})=>this.load(Fr,t);loadGlobalTheme=(t={},n="")=>this.load(Nr,t,(r="")=>_.transformCSS(t.name||this.name,`${r}${n}`));getCommonTheme=t=>_.getCommon(this.name,t);getComponentTheme=t=>_.getComponent(this.name,t);getDirectiveTheme=t=>_.getDirective(this.name,t);getPresetTheme=(t,n,r)=>_.getCustomPreset(this.name,t,n,r);getLayerOrderThemeCSS=()=>_.getLayerOrderCSS(this.name);getStyleSheet=(t="",n={})=>{if(this.css){let r=F(this.css,{dt:ce}),s=J(`${r}${t}`),o=Object.entries(n).reduce((l,[c,a])=>l.push(`${c}="${a}"`)&&l,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${o}>${s}</style>`}return""};getCommonThemeStyleSheet=(t,n={})=>_.getCommonStyleSheet(this.name,t,n);getThemeStyleSheet=(t,n={})=>{let r=[_.getStyleSheet(this.name,t,n)];if(this.theme){let s=this.name==="base"?"global-style":`${this.name}-style`,o=F(this.theme,{dt:ce}),l=J(_.transformCSS(s,o)),c=Object.entries(n).reduce((a,[u,p])=>a.push(`${u}="${p}"`)&&a,[]).join(" ");r.push(`<style type="text/css" data-primeng-style-id="${s}" ${c}>${l}</style>`)}return r.join("")};static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xr=(()=>{class e{theme=D(void 0);csp=D({nonce:void 0});isThemeChanged=!1;document=A(Ue);baseStyle=A(en);constructor(){ge(()=>{U.on("theme:change",t=>{O(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),ge(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){_.clearLoadedStyleNames(),U.clear()}onThemeChange(t){_.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!_.isStyleNameLoaded("common")){let{primitive:t,semantic:n,global:r,style:s}=this.baseStyle.getCommonTheme?.()||{},o={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,m({name:"primitive-variables"},o)),this.baseStyle.load(n?.css,m({name:"semantic-variables"},o)),this.baseStyle.load(r?.css,m({name:"global-variables"},o)),this.baseStyle.loadGlobalTheme(m({name:"global-style"},o),s),_.setLoadedStyleName("common")}}setThemeConfig(t){let{theme:n,csp:r}=t||{};n&&this.theme.set(n),r&&this.csp.set(r)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lr=(()=>{class e extends xr{ripple=D(!1);platformId=A(jt);inputStyle=D(null);inputVariant=D(null);overlayOptions={};csp=D({nonce:void 0});filterMatchModeOptions={text:[b.STARTS_WITH,b.CONTAINS,b.NOT_CONTAINS,b.ENDS_WITH,b.EQUALS,b.NOT_EQUALS],numeric:[b.EQUALS,b.NOT_EQUALS,b.LESS_THAN,b.LESS_THAN_OR_EQUAL_TO,b.GREATER_THAN,b.GREATER_THAN_OR_EQUAL_TO],date:[b.DATE_IS,b.DATE_IS_NOT,b.DATE_BEFORE,b.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new L;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=m(m({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:n,ripple:r,inputStyle:s,inputVariant:o,theme:l,overlayOptions:c,translation:a,filterMatchModeOptions:u}=t||{};n&&this.csp.set(n),r&&this.ripple.set(r),s&&this.inputStyle.set(s),o&&this.inputVariant.set(o),c&&(this.overlayOptions=c),a&&this.setTranslation(a),u&&(this.filterMatchModeOptions=u),l&&this.setThemeConfig({theme:l,csp:n})}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Y(e)))(r||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pr=new B("PRIME_NG_CONFIG");function da(...e){let i=e?.map(n=>({provide:Pr,useValue:n,multi:!1})),t=zt(()=>{let n=A(Lr);e?.forEach(r=>n.setConfig(r))});return Bt([...i,t])}export{Je as a,ci as b,Qt as c,Z as d,ts as e,is as f,qe as g,Ce as h,qn as i,rs as j,Yn as k,Vi as l,Ii as m,Mi as n,er as o,nr as p,St as q,rr as r,ss as s,os as t,as as u,sr as v,or as w,ar as x,Cs as y,cr as z,bs as A,xi as B,ur as C,dr as D,Ss as E,pr as F,Es as G,As as H,Ds as I,ws as J,Os as K,Ts as L,hr as M,Vs as N,Is as O,Ms as P,Li as Q,Rs as R,Ns as S,Fs as T,xs as U,Ls as V,Ps as W,ks as X,fr as Y,Hs as Z,Us as _,$s as $,Bs as aa,mr as ba,Gs as ca,Ws as da,js as ea,Ks as fa,qs as ga,zs as ha,Ys as ia,ki as ja,Se as ka,br as la,Bi as ma,g as na,nt as oa,Vt as pa,Js as qa,Qs as ra,F as sa,Gi as ta,rt as ua,Xs as va,eo as wa,I as xa,io as ya,b as za,bo as Aa,So as Ba,Eo as Ca,Ao as Da,Do as Ea,wo as Fa,Oo as Ga,To as Ha,Vo as Ia,Io as Ja,No as Ka,U as La,Uo as Ma,_ as Na,ta as Oa,en as Pa,Lr as Qa,da as Ra};
@@ -0,0 +1 @@
1
+ import{$ as _e,Db as Be,Ea as U,Eb as Re,Lc as ie,Mc as re,Nc as Oe,Oc as Pe,Uc as se,aa as be,bc as E,ca as b,cc as g,da as ve,fa as O,g as Se,ha as M,hb as m,ia as P,jb as Ie,kb as ne,nb as z,ob as k,pa as te,qb as Le,sb as Me,vb as Te,wb as B,xb as V}from"./chunk-VYKJK5YU.js";var Ze=null;function oe(){return Ze}function bn(e){Ze??=e}var Ne=class{};var Ce=new O(""),Fe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>P(Je),providedIn:"platform"})}return e})(),vn=new O(""),Je=(()=>{class e extends Fe{_location;_history;_doc=P(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(t){let n=oe().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=oe().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=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ye(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function ke(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 I(e){return e&&e[0]!=="?"?"?"+e:e}var Q=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>P(Qe),providedIn:"root"})}return e})(),Ye=new O(""),Qe=(()=>{class e extends Q{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??P(Ce).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 ye(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+I(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+I(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)(M(Fe),M(Ye,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),In=(()=>{class e extends Q{_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=ye(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+I(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)(M(Fe),M(Ye,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),et=(()=>{class e{_subject=new Se;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=it(ke($e(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+I(n))}normalize(t){return e.stripTrailingSlash(nt(this._basePath,$e(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+I(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+I(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=I;static joinWithSlash=ye;static stripTrailingSlash=ke;static \u0275fac=function(n){return new(n||e)(M(Q))};static \u0275prov=b({token:e,factory:()=>tt(),providedIn:"root"})}return e})();function tt(){return new et(M(Q))}function nt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function $e(e){return e.replace(/\/index.html$/,"")}function it(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var We=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(We||{});var y=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(y||{}),c=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(c||{}),w=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(w||{}),A={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function rt(e){return E(e)[g.LocaleId]}function st(e,i,t){let n=E(e),r=[n[g.DayPeriodsFormat],n[g.DayPeriodsStandalone]],s=S(r,i);return S(s,t)}function ot(e,i,t){let n=E(e),r=[n[g.DaysFormat],n[g.DaysStandalone]],s=S(r,i);return S(s,t)}function ut(e,i,t){let n=E(e),r=[n[g.MonthsFormat],n[g.MonthsStandalone]],s=S(r,i);return S(s,t)}function at(e,i){let n=E(e)[g.Eras];return S(n,i)}function j(e,i){let t=E(e);return S(t[g.DateFormat],i)}function G(e,i){let t=E(e);return S(t[g.TimeFormat],i)}function H(e,i){let n=E(e)[g.DateTimeFormat];return S(n,i)}function L(e,i){let t=E(e),n=t[g.NumberSymbols][i];if(typeof n>"u"){if(i===A.CurrencyDecimal)return t[g.NumberSymbols][A.Decimal];if(i===A.CurrencyGroup)return t[g.NumberSymbols][A.Group]}return n}function ct(e,i){return E(e)[g.NumberFormats][i]}function Ke(e){if(!e[g.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[g.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function dt(e){let i=E(e);return Ke(i),(i[g.ExtraData][2]||[]).map(n=>typeof n=="string"?ue(n):[ue(n[0]),ue(n[1])])}function lt(e,i,t){let n=E(e);Ke(n);let r=[n[g.ExtraData][0],n[g.ExtraData][1]],s=S(r,i)||[];return S(s,t)||[]}function S(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 ue(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}var ft=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},ht=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function gt(e,i,t,n){let r=At(e);i=v(t,i)||i;let o=[],u;for(;i;)if(u=ht.exec(i),u){o=o.concat(u.slice(1));let f=o.pop();if(!f)break;i=f}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=qe(n,D),r=wt(r,n,!0));let l="";return o.forEach(f=>{let a=yt(f);l+=a?a(r,t,D):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function q(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function v(e,i){let t=rt(e);if(Z[t]??={},Z[t][i])return Z[t][i];let n="";switch(i){case"shortDate":n=j(e,w.Short);break;case"mediumDate":n=j(e,w.Medium);break;case"longDate":n=j(e,w.Long);break;case"fullDate":n=j(e,w.Full);break;case"shortTime":n=G(e,w.Short);break;case"mediumTime":n=G(e,w.Medium);break;case"longTime":n=G(e,w.Long);break;case"fullTime":n=G(e,w.Full);break;case"short":let r=v(e,"shortTime"),s=v(e,"shortDate");n=Y(H(e,w.Short),[r,s]);break;case"medium":let o=v(e,"mediumTime"),u=v(e,"mediumDate");n=Y(H(e,w.Medium),[o,u]);break;case"long":let D=v(e,"longTime"),l=v(e,"longDate");n=Y(H(e,w.Long),[D,l]);break;case"full":let f=v(e,"fullTime"),a=v(e,"fullDate");n=Y(H(e,w.Full),[f,a]);break}return n&&(Z[t][i]=n),n}function Y(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function _(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 Dt(e,i){return _(e,3).substring(0,i)}function p(e,i,t=0,n=!1,r=!1){return function(s,o){let u=pt(e,s);if((t>0||u>-t)&&(u+=t),e===3)u===0&&t===-12&&(u=12);else if(e===6)return Dt(u,i);let D=L(o,A.MinusSign);return _(u,i,D,n,r)}}function pt(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 d(e,i,t=y.Format,n=!1){return function(r,s){return mt(r,s,e,i,t,n)}}function mt(e,i,t,n,r,s){switch(t){case 2:return ut(i,r,n)[e.getMonth()];case 1:return ot(i,r,n)[e.getDay()];case 0:let o=e.getHours(),u=e.getMinutes();if(s){let l=dt(i),f=lt(i,r,n),a=l.findIndex(C=>{if(Array.isArray(C)){let[h,F]=C,N=o>=h.hours&&u>=h.minutes,T=o<F.hours||o===F.hours&&u<F.minutes;if(h.hours<F.hours){if(N&&T)return!0}else if(N||T)return!0}else if(C.hours===o&&C.minutes===u)return!0;return!1});if(a!==-1)return f[a]}return st(i,r,n)[o<12?0:1];case 3:return at(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function W(e){return function(i,t,n){let r=-1*n,s=L(t,A.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+_(o,2,s)+_(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+_(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+_(o,2,s)+":"+_(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+_(o,2,s)+":"+_(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var Ct=0,X=4;function Ft(e){let i=q(e,Ct,1).getDay();return q(e,0,1+(i<=X?X:X+7)-i)}function Xe(e){let i=e.getDay(),t=i===0?-3:X-i;return q(e.getFullYear(),e.getMonth(),e.getDate()+t)}function ae(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=Xe(t),o=Ft(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return _(r,e,L(n,A.MinusSign))}}function K(e,i=!1){return function(t,n){let s=Xe(t).getFullYear();return _(s,e,L(n,A.MinusSign),i)}}var ce={};function yt(e){if(ce[e])return ce[e];let i;switch(e){case"G":case"GG":case"GGG":i=d(3,c.Abbreviated);break;case"GGGG":i=d(3,c.Wide);break;case"GGGGG":i=d(3,c.Narrow);break;case"y":i=p(0,1,0,!1,!0);break;case"yy":i=p(0,2,0,!0,!0);break;case"yyy":i=p(0,3,0,!1,!0);break;case"yyyy":i=p(0,4,0,!1,!0);break;case"Y":i=K(1);break;case"YY":i=K(2,!0);break;case"YYY":i=K(3);break;case"YYYY":i=K(4);break;case"M":case"L":i=p(1,1,1);break;case"MM":case"LL":i=p(1,2,1);break;case"MMM":i=d(2,c.Abbreviated);break;case"MMMM":i=d(2,c.Wide);break;case"MMMMM":i=d(2,c.Narrow);break;case"LLL":i=d(2,c.Abbreviated,y.Standalone);break;case"LLLL":i=d(2,c.Wide,y.Standalone);break;case"LLLLL":i=d(2,c.Narrow,y.Standalone);break;case"w":i=ae(1);break;case"ww":i=ae(2);break;case"W":i=ae(1,!0);break;case"d":i=p(2,1);break;case"dd":i=p(2,2);break;case"c":case"cc":i=p(7,1);break;case"ccc":i=d(1,c.Abbreviated,y.Standalone);break;case"cccc":i=d(1,c.Wide,y.Standalone);break;case"ccccc":i=d(1,c.Narrow,y.Standalone);break;case"cccccc":i=d(1,c.Short,y.Standalone);break;case"E":case"EE":case"EEE":i=d(1,c.Abbreviated);break;case"EEEE":i=d(1,c.Wide);break;case"EEEEE":i=d(1,c.Narrow);break;case"EEEEEE":i=d(1,c.Short);break;case"a":case"aa":case"aaa":i=d(0,c.Abbreviated);break;case"aaaa":i=d(0,c.Wide);break;case"aaaaa":i=d(0,c.Narrow);break;case"b":case"bb":case"bbb":i=d(0,c.Abbreviated,y.Standalone,!0);break;case"bbbb":i=d(0,c.Wide,y.Standalone,!0);break;case"bbbbb":i=d(0,c.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":i=d(0,c.Abbreviated,y.Format,!0);break;case"BBBB":i=d(0,c.Wide,y.Format,!0);break;case"BBBBB":i=d(0,c.Narrow,y.Format,!0);break;case"h":i=p(3,1,-12);break;case"hh":i=p(3,2,-12);break;case"H":i=p(3,1);break;case"HH":i=p(3,2);break;case"m":i=p(4,1);break;case"mm":i=p(4,2);break;case"s":i=p(5,1);break;case"ss":i=p(5,2);break;case"S":i=p(6,1);break;case"SS":i=p(6,2);break;case"SSS":i=p(6,3);break;case"Z":case"ZZ":case"ZZZ":i=W(0);break;case"ZZZZZ":i=W(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=W(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=W(2);break;default:return null}return ce[e]=i,i}function qe(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Et(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function wt(e,i,t){let n=t?-1:1,r=e.getTimezoneOffset(),s=qe(i,r);return Et(e,n*(s-r))}function At(e){if(xe(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 q(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(ft))return St(n)}let i=new Date(e);if(!xe(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function St(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,D=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,l),i}function xe(e){return e instanceof Date&&!isNaN(e.valueOf())}var _t=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ue=22,J=".",$="0",bt=";",vt=",",de="#";function It(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=L(t,A.Infinity);else{let l=Bt(e);o&&(l=Tt(l));let f=i.minInt,a=i.minFrac,C=i.maxFrac;if(s){let R=s.match(_t);if(R===null)throw new Error(`${s} is not a valid digit info`);let we=R[1],ee=R[3],Ae=R[5];we!=null&&(f=le(we)),ee!=null&&(a=le(ee)),Ae!=null?C=le(Ae):ee!=null&&a>C&&(C=a)}Rt(l,a,C);let h=l.digits,F=l.integerLen,N=l.exponent,T=[];for(D=h.every(R=>!R);F<f;F++)h.unshift(0);for(;F<0;F++)h.unshift(0);F>0?T=h.splice(F,h.length):(T=h,h=[0]);let x=[];for(h.length>=i.lgSize&&x.unshift(h.splice(-i.lgSize,h.length).join(""));h.length>i.gSize;)x.unshift(h.splice(-i.gSize,h.length).join(""));h.length&&x.unshift(h.join("")),u=x.join(L(t,n)),T.length&&(u+=L(t,r)+T.join("")),N&&(u+=L(t,A.Exponential)+"+"+N)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function Lt(e,i,t){let n=ct(i,We.Decimal),r=Mt(n,L(i,A.MinusSign));return It(e,r,i,A.Group,A.Decimal,t)}function Mt(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(bt),r=n[0],s=n[1],o=r.indexOf(J)!==-1?r.split(J):[r.substring(0,r.lastIndexOf($)+1),r.substring(r.lastIndexOf($)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(de));for(let f=0;f<D.length;f++){let a=D.charAt(f);a===$?t.minFrac=t.maxFrac=f+1:a===de?t.maxFrac=f+1:t.posSuf+=a}let l=u.split(vt);if(t.gSize=l[1]?l[1].length:0,t.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){let f=r.length-t.posPre.length-t.posSuf.length,a=s.indexOf(de);t.negPre=s.substring(0,a).replace(/'/g,""),t.negSuf=s.slice(a+f).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function Tt(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 Bt(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(J))>-1&&(i=i.replace(J,"")),(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)===$;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===$;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>Ue&&(n=n.splice(0,Ue-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function Rt(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 a=o;a<n.length;a++)n[a]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let a=1;a<o;a++)n[a]=0}if(u>=5)if(o-1<0){for(let a=0;a>o;a--)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 D=s!==0,l=i+e.integerLen,f=n.reduceRight(function(a,C,h,F){return C=C+a,F[h]=C<10?C:C-10,D&&(F[h]===0&&h>=l?F.pop():D=!1),C>=10?1:0},0);f&&(n.unshift(f),e.integerLen++)}function le(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}function Ln(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 fe=/\s+/,ze=[],Mn=(()=>{class e{_ngEl;_renderer;initialClasses=ze;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(fe):ze}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(fe):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(fe).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)(m(U),m(z))};static \u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Tn=(()=>{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=Me(this.ngComponentOutletNgModule,Ve(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ve(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)(m(k))};static \u0275dir=B({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[te]})}return e})();function Ve(e){return e.get(Le).injector}var he=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}},Bn=(()=>{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 he(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),je(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);je(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m(k),m(ne),m(Oe))};static \u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function je(e,i){e.context.$implicit=i.item}var Rn=(()=>{class e{_viewContainer;_context=new ge;_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){Ge("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ge("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)(m(k),m(ne))};static \u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ge=class{$implicit=null;ngIf=null};function Ge(e,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${be(i)}'.`)}var On=(()=>{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:Ie.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)(m(U),m(Pe),m(z))};static \u0275dir=B({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Pn=(()=>{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)(m(k))};static \u0275dir=B({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[te]})}return e})();function Ee(e,i){return new _e(2100,!1)}var De=class{createSubscription(i,t){return se(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){se(()=>i.unsubscribe())}},pe=class{createSubscription(i,t){return i.then(t,n=>{throw n})}dispose(i){}},Ot=new pe,Pt=new De,Nn=(()=>{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(Be(t))return Ot;if(Re(t))return Pt;throw Ee(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)(m(re,16))};static \u0275pipe=V({name:"async",type:e,pure:!1})}return e})();var Nt="mediumDate",kt=new O(""),$t=new O(""),kn=(()=>{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??Nt,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return gt(t,o,s||this.locale,u)}catch(o){throw Ee(e,o.message)}}static \u0275fac=function(n){return new(n||e)(m(ie,16),m(kt,24),m($t,24))};static \u0275pipe=V({name:"date",type:e,pure:!0})}return e})();var $n=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!xt(t))return null;r||=this._locale;try{let s=Ut(t);return Lt(s,r,n)}catch(s){throw Ee(e,s.message)}}static \u0275fac=function(n){return new(n||e)(m(ie,16))};static \u0275pipe=V({name:"number",type:e,pure:!0})}return e})();function xt(e){return!(e==null||e===""||e!==e)}function Ut(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 xn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=Te({type:e});static \u0275inj=ve({})}return e})(),zt="browser",Vt="server";function Un(e){return e===zt}function zn(e){return e===Vt}var Vn=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new me(P(Ce),window)})}return e})(),me=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=jt(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 jt(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 He=class{};export{oe as a,bn as b,Ne as c,Ce as d,vn as e,Q as f,Qe as g,In as h,et as i,Ln as j,Mn as k,Tn as l,Bn as m,Rn as n,On as o,Pn as p,Nn as q,kn as r,$n as s,xn as t,zt as u,Un as v,zn as w,Vn as x,He as y};