dealposbooks 5.49.4 → 5.51.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 (167) hide show
  1. package/3rdpartylicenses.txt +31 -31
  2. package/{chunk-ELMSU4U7.js → chunk-2ABEICLB.js} +1 -1
  3. package/chunk-2RXAK5B6.js +8 -0
  4. package/chunk-2U3PIWWJ.js +1 -0
  5. package/chunk-32QC4JFI.js +202 -0
  6. package/{chunk-JD3HX7VY.js → chunk-3O7NQ6AZ.js} +1 -1
  7. package/chunk-3RODMLL2.js +1 -0
  8. package/{chunk-2XW2ZOT4.js → chunk-43JH7CKX.js} +1 -1
  9. package/chunk-4GZGUASQ.js +1 -0
  10. package/chunk-52EMI2TW.js +803 -0
  11. package/{chunk-NMU2YBAB.js → chunk-52PEVPZN.js} +1 -1
  12. package/{chunk-DJXQKSLT.js → chunk-5U7KZJ3H.js} +1 -1
  13. package/{chunk-B4C3ZPN6.js → chunk-5VKDAA74.js} +1 -1
  14. package/chunk-5XVZW6BJ.js +1 -0
  15. package/{chunk-HCJK6VTO.js → chunk-6GILMLXA.js} +1 -1
  16. package/chunk-7ET5ZE2L.js +1 -0
  17. package/chunk-7F5JJ627.js +129 -0
  18. package/chunk-7GORVGAV.js +1 -0
  19. package/{chunk-UPSNJEHO.js → chunk-7L5IAWG2.js} +1 -1
  20. package/chunk-AAKZYXG3.js +145 -0
  21. package/chunk-ALLR2NXQ.js +1 -0
  22. package/{chunk-7B7LNBD5.js → chunk-B7TGZ7J3.js} +1 -1
  23. package/chunk-BFEM6LX7.js +2 -0
  24. package/{chunk-EBEY2MBR.js → chunk-BME4Z6DH.js} +1 -1
  25. package/chunk-BT4SLG45.js +1 -0
  26. package/{chunk-WSQPSWDS.js → chunk-BVHTVDYP.js} +1 -1
  27. package/{chunk-E7QWESN4.js → chunk-CN6AT4LE.js} +1 -1
  28. package/chunk-CPAPQNFC.js +1 -0
  29. package/chunk-D5WBKKO2.js +252 -0
  30. package/chunk-DAN3PD7R.js +1 -0
  31. package/chunk-DM2JLWKE.js +1 -0
  32. package/chunk-DM42MH3E.js +1 -0
  33. package/chunk-DZCJWJUG.js +1 -0
  34. package/chunk-E57RWXDG.js +1 -0
  35. package/{chunk-2RRP7JK7.js → chunk-EDYUAYO2.js} +1 -1
  36. package/chunk-ELZ5FFFM.js +1 -0
  37. package/chunk-F4PHXCVU.js +1 -0
  38. package/{chunk-WXIG4CXY.js → chunk-FHJOSHI3.js} +1 -1
  39. package/{chunk-WMZF4DQK.js → chunk-FMAG3RQL.js} +1 -1
  40. package/{chunk-BKTBVFNX.js → chunk-FNGX2XFA.js} +1 -1
  41. package/{chunk-3DBSHDAQ.js → chunk-FTBQKOYS.js} +1 -1
  42. package/{chunk-5DRALZZF.js → chunk-G3BJCT7T.js} +1 -1
  43. package/chunk-GEYRJ2MR.js +1 -0
  44. package/chunk-GGQ7LRWG.js +0 -0
  45. package/{chunk-E6SW7I4D.js → chunk-GIRWHO6Q.js} +1 -1
  46. package/chunk-GN7VAGHH.js +1 -0
  47. package/{chunk-672TXWSC.js → chunk-GQ7SPEZH.js} +1 -1
  48. package/{chunk-PKO36DGM.js → chunk-H7YYGW7V.js} +1 -1
  49. package/{chunk-2VZ7JZIO.js → chunk-HMZX6SME.js} +1 -1
  50. package/chunk-HYOAHRKW.js +1 -0
  51. package/{chunk-PPXXWO4E.js → chunk-II7KELI4.js} +1 -1
  52. package/chunk-ILQI2X5T.js +1 -0
  53. package/{chunk-AD247LWQ.js → chunk-ISIYG4D5.js} +1 -1
  54. package/chunk-J346SEEU.js +1 -0
  55. package/chunk-JBYPGHPN.js +1 -0
  56. package/chunk-JPKZVL57.js +229 -0
  57. package/{chunk-WPJG57AR.js → chunk-JPNJTPYJ.js} +1 -1
  58. package/chunk-JRBGNG24.js +1 -0
  59. package/{chunk-URH77XNK.js → chunk-JWNGZMSE.js} +1 -1
  60. package/{chunk-PGOSR3RI.js → chunk-KARG227P.js} +1 -1
  61. package/chunk-KBJ25I3J.js +1 -0
  62. package/chunk-KJM3M7Y3.js +1 -0
  63. package/chunk-KL3TPLRB.js +2 -0
  64. package/{chunk-QPPFPDWZ.js → chunk-KONCSTVQ.js} +1 -1
  65. package/{chunk-VDXZGF3M.js → chunk-KQZMRRMA.js} +1 -1
  66. package/chunk-KU4BYYJE.js +1 -0
  67. package/{chunk-L3GNPRRN.js → chunk-KXWAD3X4.js} +5 -5
  68. package/chunk-L27GCER2.js +160 -0
  69. package/{chunk-M4SSELXT.js → chunk-L4ENW4RK.js} +1 -1
  70. package/chunk-LF4HTMCE.js +1 -0
  71. package/{chunk-UVSR4LPB.js → chunk-LO4HJ77Y.js} +1 -1
  72. package/chunk-MCR6MBS2.js +1 -0
  73. package/chunk-MGIEURA2.js +193 -0
  74. package/chunk-MHM3ED4J.js +130 -0
  75. package/{chunk-VKNINE5Q.js → chunk-MJGBBYIO.js} +1 -1
  76. package/chunk-MWRTPPEI.js +1 -0
  77. package/chunk-NSMNMKCV.js +1 -0
  78. package/chunk-NTVIX4GB.js +1 -0
  79. package/{chunk-ME4ALIS7.js → chunk-O44DI62I.js} +1 -1
  80. package/chunk-OILVKUFA.js +1 -0
  81. package/chunk-OKT36WED.js +1 -0
  82. package/{chunk-2LNMV22E.js → chunk-OOCLTY27.js} +1 -1
  83. package/{chunk-AN4SAUSA.js → chunk-OW2ND5HU.js} +1 -1
  84. package/chunk-Q4XWXOWE.js +1 -0
  85. package/{chunk-ETNPJTRI.js → chunk-QCGJB7O7.js} +1 -1
  86. package/chunk-QSIXT7W7.js +7 -0
  87. package/chunk-QXE4YYQV.js +1 -0
  88. package/chunk-R45WWOYD.js +1 -0
  89. package/chunk-RFHL2MJ4.js +1 -0
  90. package/chunk-RGVP7KT4.js +1 -0
  91. package/{chunk-F7XGJYCZ.js → chunk-RMHKEGL5.js} +1 -1
  92. package/{chunk-3UAQHNUY.js → chunk-SLD7RSX6.js} +1 -1
  93. package/{chunk-FWAGEKIF.js → chunk-SOD2BIQR.js} +1 -1
  94. package/{chunk-KZHI6PGZ.js → chunk-SVGPDGYN.js} +1 -1
  95. package/{chunk-RM5HLXNW.js → chunk-TAN6GLIH.js} +1 -1
  96. package/chunk-TOAH3PY3.js +1 -0
  97. package/{chunk-D6IS6PE6.js → chunk-U4AN6IWJ.js} +1 -1
  98. package/chunk-V6BSLJMN.js +1 -0
  99. package/chunk-VABCBO2E.js +1 -0
  100. package/{chunk-S27Z7D3D.js → chunk-VM56C6ZV.js} +1 -1
  101. package/{chunk-VFKJMUGN.js → chunk-VQ62YSFR.js} +1 -1
  102. package/{chunk-AMGBUOC4.js → chunk-VSDW2RJ5.js} +1 -1
  103. package/{chunk-U2VDC52W.js → chunk-WL6ZZCYW.js} +1 -1
  104. package/{chunk-FOPCQ346.js → chunk-WPHZJHC6.js} +1 -1
  105. package/{chunk-5B5AMMR3.js → chunk-X6KL7VKV.js} +1 -1
  106. package/chunk-YHLRDTIS.js +1 -0
  107. package/{chunk-CAS5GLLU.js → chunk-YKZN6T5N.js} +1 -1
  108. package/chunk-YMV3SC73.js +1 -0
  109. package/{chunk-ENH6HA3V.js → chunk-YR5KRTHR.js} +1 -1
  110. package/{chunk-MHRSQRHT.js → chunk-ZC7ZENN7.js} +1 -1
  111. package/chunk-ZLBNHUZF.js +1 -0
  112. package/{chunk-KBR5PEJ3.js → chunk-ZOMQLK4A.js} +1 -1
  113. package/index.html +2 -2
  114. package/main-ET3JU27S.js +1 -0
  115. package/package.json +1 -1
  116. package/chunk-23PWXRYN.js +0 -1
  117. package/chunk-2BI7WNJP.js +0 -1
  118. package/chunk-5JNGJ6UW.js +0 -1
  119. package/chunk-6EIUS53G.js +0 -1
  120. package/chunk-6WWXJJID.js +0 -1
  121. package/chunk-AVSCJ22B.js +0 -1
  122. package/chunk-BEZIBXGN.js +0 -1
  123. package/chunk-BF6PW4QM.js +0 -1
  124. package/chunk-BMM5YFHU.js +0 -130
  125. package/chunk-BP4OMNR2.js +0 -8
  126. package/chunk-CFUVIXAX.js +0 -1
  127. package/chunk-CNMK2GSA.js +0 -1
  128. package/chunk-DGACZ747.js +0 -947
  129. package/chunk-DIG4FYVW.js +0 -1
  130. package/chunk-F7PVAVLQ.js +0 -1
  131. package/chunk-FSJNWH2Y.js +0 -1
  132. package/chunk-FZS2ZX6Y.js +0 -1
  133. package/chunk-G4XX7EU2.js +0 -1
  134. package/chunk-GEFAWOOV.js +0 -129
  135. package/chunk-GTMCB3SL.js +0 -1
  136. package/chunk-H6FEO7T3.js +0 -1
  137. package/chunk-HOAF22JI.js +0 -1
  138. package/chunk-I33QA736.js +0 -1
  139. package/chunk-IPOA3SOW.js +0 -1
  140. package/chunk-IWAIAUMO.js +0 -1
  141. package/chunk-JDRK7YG6.js +0 -1
  142. package/chunk-JIFUQXVH.js +0 -1
  143. package/chunk-KNBVJM2U.js +0 -160
  144. package/chunk-LNFCBMAA.js +0 -1
  145. package/chunk-OJTHBHGK.js +0 -1
  146. package/chunk-OMLO5E65.js +0 -1
  147. package/chunk-PK7RYZ5A.js +0 -1
  148. package/chunk-PSSATQO3.js +0 -1
  149. package/chunk-QC7NAJZG.js +0 -1
  150. package/chunk-RAF7SWW4.js +0 -229
  151. package/chunk-RDQ7RWJC.js +0 -1
  152. package/chunk-RRL6OTRO.js +0 -1
  153. package/chunk-SLD2HX2B.js +0 -1
  154. package/chunk-U5YVZKME.js +0 -1
  155. package/chunk-URSKOWIQ.js +0 -1
  156. package/chunk-V7EXGBKT.js +0 -1
  157. package/chunk-VMI3QWC6.js +0 -193
  158. package/chunk-VQKIYDID.js +0 -1
  159. package/chunk-W6US3XIE.js +0 -1
  160. package/chunk-X3FAXRYR.js +0 -252
  161. package/chunk-YIG2I6WR.js +0 -1
  162. package/chunk-YRW7AH7I.js +0 -1
  163. package/chunk-ZFNIPERQ.js +0 -2
  164. package/chunk-ZIQBCB5X.js +0 -7
  165. package/chunk-ZK43JB4A.js +0 -2
  166. package/chunk-ZY4AYAWJ.js +0 -202
  167. package/main-VIRQJVUE.js +0 -1
@@ -0,0 +1,193 @@
1
+ import{a as je,b as vt,u as ni}from"./chunk-DM2JLWKE.js";import{Aa as q,Ab as m,Cb as S,Dc as N,Fa as _e,Gb as Xt,Ha as w,Ib as ei,La as Jt,Lb as ti,Ob as ft,Wc as ii,_c as yt,aa as Ge,ad as P,ba as M,bd as re,ca as E,cd as _t,da as ee,fa as W,fc as ne,g as $,hc as gt,ia as x,ic as mt,ja as Zt,kb as Qt,l as qt,nb as ve,ob as f,pa as te,s as zt,ua as K,y as Yt,yb as ht,zb as ie}from"./chunk-6QJHEOXN.js";import{a as y,b as L}from"./chunk-YQFG5XE2.js";var hi=(()=>{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(ve),f(_e))};static \u0275dir=m({type:e})}return e})(),Et=(()=>{class e extends hi{static \u0275fac=(()=>{let t;return function(r){return(t||(t=K(e)))(r||e)}})();static \u0275dir=m({type:e,features:[S]})}return e})(),ce=new W("");var Dn={provide:ce,useExisting:M(()=>fi),multi:!0};function wn(){let e=vt()?vt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var On=new W(""),fi=(()=>{class e extends hi{_compositionMode;_composing=!1;constructor(t,n,r){super(t,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!wn())}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(ve),f(_e),f(On,8))};static \u0275dir=m({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&&ne("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:[N([Dn]),S]})}return e})();function At(e){return e==null||Dt(e)===0}function Dt(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Y=new W(""),Q=new W(""),Tn=/^(?=.{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])?)*$/,ri=class{static min(i){return Vn(i)}static max(i){return In(i)}static required(i){return gi(i)}static requiredTrue(i){return Mn(i)}static email(i){return Nn(i)}static minLength(i){return Rn(i)}static maxLength(i){return Fn(i)}static pattern(i){return Ln(i)}static nullValidator(i){return qe()}static compose(i){return bi(i)}static composeAsync(i){return Si(i)}};function Vn(e){return i=>{if(i.value==null||e==null)return null;let t=parseFloat(i.value);return!isNaN(t)&&t<e?{min:{min:e,actual:i.value}}:null}}function In(e){return i=>{if(i.value==null||e==null)return null;let t=parseFloat(i.value);return!isNaN(t)&&t>e?{max:{max:e,actual:i.value}}:null}}function gi(e){return At(e.value)?{required:!0}:null}function Mn(e){return e.value===!0?null:{required:!0}}function Nn(e){return At(e.value)||Tn.test(e.value)?null:{email:!0}}function Rn(e){return i=>{let t=i.value?.length??Dt(i.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function Fn(e){return i=>{let t=i.value?.length??Dt(i.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function Ln(e){if(!e)return qe;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(At(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function qe(e){return null}function mi(e){return e!=null}function yi(e){return Xt(e)?qt(e):e}function _i(e){let i={};return e.forEach(t=>{i=t!=null?y(y({},i),t):i}),Object.keys(i).length===0?null:i}function vi(e,i){return i.map(t=>t(e))}function xn(e){return!e.validate}function Ci(e){return e.map(i=>xn(i)?i:t=>i.validate(t))}function bi(e){if(!e)return null;let i=e.filter(mi);return i.length==0?null:function(t){return _i(vi(t,i))}}function wt(e){return e!=null?bi(Ci(e)):null}function Si(e){if(!e)return null;let i=e.filter(mi);return i.length==0?null:function(t){let n=vi(t,i).map(yi);return Yt(n).pipe(zt(_i))}}function Ot(e){return e!=null?Si(Ci(e)):null}function si(e,i){return e===null?[i]:Array.isArray(e)?[...e,i]:[e,i]}function Ei(e){return e._rawValidators}function Ai(e){return e._rawAsyncValidators}function Ct(e){return e?Array.isArray(e)?e:[e]:[]}function ze(e,i){return Array.isArray(e)?e.includes(i):e===i}function oi(e,i){let t=Ct(i);return Ct(e).forEach(r=>{ze(t,r)||t.push(r)}),t}function ai(e,i){return Ct(i).filter(t=>!ze(e,t))}var Ye=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=wt(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Ot(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}},A=class extends Ye{name;get formDirective(){return null}get path(){return null}},G=class extends Ye{_parent=null;name=null;valueAccessor=null},Ze=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}},Pn={"[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"},ls=L(y({},Pn),{"[class.ng-submitted]":"isSubmitted"}),cs=(()=>{class e extends Ze{constructor(t){super(t)}static \u0275fac=function(n){return new(n||e)(f(G,2))};static \u0275dir=m({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&ft("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:[S]})}return e})(),us=(()=>{class e extends Ze{constructor(t){super(t)}static \u0275fac=function(n){return new(n||e)(f(A,10))};static \u0275dir=m({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&ft("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:[S]})}return e})();var Ce="VALID",Ke="INVALID",se="PENDING",be="DISABLED",z=class{},Je=class extends z{value;source;constructor(i,t){super(),this.value=i,this.source=t}},Ee=class extends z{pristine;source;constructor(i,t){super(),this.pristine=i,this.source=t}},Ae=class extends z{touched;source;constructor(i,t){super(),this.touched=i,this.source=t}},oe=class extends z{status;source;constructor(i,t){super(),this.status=i,this.source=t}},Qe=class extends z{source;constructor(i){super(),this.source=i}},Xe=class extends z{source;constructor(i){super(),this.source=i}};function Tt(e){return(rt(e)?e.validators:e)||null}function kn(e){return Array.isArray(e)?wt(e):e||null}function Vt(e,i){return(rt(i)?i.asyncValidators:e)||null}function Hn(e){return Array.isArray(e)?Ot(e):e||null}function rt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Di(e,i,t){let n=e.controls;if(!(i?Object.keys(n):n).length)throw new Ge(1e3,"");if(!n[t])throw new Ge(1001,"")}function wi(e,i,t){e._forEachChild((n,r)=>{if(t[r]===void 0)throw new Ge(1002,"")})}var ae=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 P(this.statusReactive)}set status(i){P(()=>this.statusReactive.set(i))}_status=re(()=>this.statusReactive());statusReactive=w(void 0);get valid(){return this.status===Ce}get invalid(){return this.status===Ke}get pending(){return this.status==se}get disabled(){return this.status===be}get enabled(){return this.status!==be}errors;get pristine(){return P(this.pristineReactive)}set pristine(i){P(()=>this.pristineReactive.set(i))}_pristine=re(()=>this.pristineReactive());pristineReactive=w(!0);get dirty(){return!this.pristine}get touched(){return P(this.touchedReactive)}set touched(i){P(()=>this.touchedReactive.set(i))}_touched=re(()=>this.touchedReactive());touchedReactive=w(!1);get untouched(){return!this.touched}_events=new $;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(oi(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(oi(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(ai(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(ai(i,this._rawAsyncValidators))}hasValidator(i){return ze(this._rawValidators,i)}hasAsyncValidator(i){return ze(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(L(y({},i),{sourceControl:n})),t&&i.emitEvent!==!1&&this._events.next(new Ae(!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 Ae(!1,n))}markAsDirty(i={}){let t=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(L(y({},i),{sourceControl:n})),t&&i.emitEvent!==!1&&this._events.next(new Ee(!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 Ee(!0,n))}markAsPending(i={}){this.status=se;let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new oe(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(L(y({},i),{sourceControl:t}))}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=be,this.errors=null,this._forEachChild(r=>{r.disable(L(y({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Je(this.value,n)),this._events.next(new oe(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(L(y({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Ce,this._forEachChild(n=>{n.enable(L(y({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(L(y({},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===Ce||this.status===se)&&this._runAsyncValidator(n,i.emitEvent)}let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Je(this.value,t)),this._events.next(new oe(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(L(y({},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()?be:Ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,t){if(this.asyncValidator){this.status=se,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=yi(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 oe(this.status,t)),this._parent&&this._parent._updateControlsErrors(i,t,n)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?be:this.errors?Ke:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(se)?se:this._anyControlsHaveStatus(Ke)?Ke:Ce}_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 Ee(this.pristine,t))}_updateTouched(i={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ae(this.touched,t)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,t)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){rt(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=kn(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=Hn(this._rawAsyncValidators)}},le=class extends ae{constructor(i,t,n){super(Tt(t),Vt(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={}){wi(this,!0,i),Object.keys(i).forEach(n=>{Di(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 bt=class extends le{};var ue=new W("",{providedIn:"root",factory:()=>st}),st="always";function ot(e,i){return[...i.path,e]}function we(e,i,t=st){It(e,i),i.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(e.disabled),$n(e,i),Wn(e,i),Bn(e,i),Un(e,i)}function et(e,i,t=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),it(e,i),e&&(i._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function tt(e,i){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function Un(e,i){if(i.valueAccessor.setDisabledState){let t=n=>{i.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(t),i._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function It(e,i){let t=Ei(e);i.validator!==null?e.setValidators(si(t,i.validator)):typeof t=="function"&&e.setValidators([t]);let n=Ai(e);i.asyncValidator!==null?e.setAsyncValidators(si(n,i.asyncValidator)):typeof n=="function"&&e.setAsyncValidators([n]);let r=()=>e.updateValueAndValidity();tt(i._rawValidators,r),tt(i._rawAsyncValidators,r)}function it(e,i){let t=!1;if(e!==null){if(i.validator!==null){let r=Ei(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=Ai(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 tt(i._rawValidators,n),tt(i._rawAsyncValidators,n),t}function $n(e,i){i.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Oi(e,i)})}function Bn(e,i){i.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Oi(e,i),e.updateOn!=="submit"&&e.markAsTouched()})}function Oi(e,i){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Wn(e,i){let t=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};e.registerOnChange(t),i._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function Ti(e,i){e==null,It(e,i)}function Gn(e,i){return it(e,i)}function Mt(e,i){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function jn(e){return Object.getPrototypeOf(e.constructor)===Et}function Vi(e,i){e._syncPendingControls(),i.forEach(t=>{let n=t.control;n.updateOn==="submit"&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Nt(e,i){if(!i)return null;Array.isArray(i);let t,n,r;return i.forEach(s=>{s.constructor===fi?t=s:jn(s)?n=s:r=s}),r||n||t||null}function Kn(e,i){let t=e.indexOf(i);t>-1&&e.splice(t,1)}var qn={provide:A,useExisting:M(()=>zn)},Se=Promise.resolve(),zn=(()=>{class e extends A{callSetDisabledState;get submitted(){return P(this.submittedReactive)}_submitted=re(()=>this.submittedReactive());submittedReactive=w(!1);_directives=new Set;form;ngSubmit=new q;options;constructor(t,n,r){super(),this.callSetDisabledState=r,this.form=new le({},wt(t),Ot(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Se.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),we(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Se.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Se.then(()=>{let n=this._findContainer(t.path),r=new le({});Ti(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Se.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Se.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),Vi(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new Qe(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 Xe(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(n){return new(n||e)(f(Y,10),f(Q,10),f(ue,8))};static \u0275dir=m({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&ne("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[N([qn]),S]})}return e})();function li(e,i){let t=e.indexOf(i);t>-1&&e.splice(t,1)}function ci(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var De=class extends ae{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,t,n){super(Tt(t),Vt(n,t)),this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rt(t)&&(t.nonNullable||t.initialValueIsDefault)&&(ci(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){li(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){li(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){ci(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 Yn=e=>e instanceof De,Zn=(()=>{class e extends A{_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 ot(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=K(e)))(r||e)}})();static \u0275dir=m({type:e,standalone:!1,features:[S]})}return e})();var Jn={provide:G,useExisting:M(()=>Qn)},ui=Promise.resolve(),Qn=(()=>{class e extends G{_changeDetectorRef;callSetDisabledState;control=new De;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new q;constructor(t,n,r,s,o,a){super(),this._changeDetectorRef=o,this.callSetDisabledState=a,this._parent=t,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=Nt(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),Mt(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(){we(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ui.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,r=n!==0&&yt(n);ui.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?ot(t,this._parent):[t]}static \u0275fac=function(n){return new(n||e)(f(A,9),f(Y,10),f(Q,10),f(ce,10),f(ii,8),f(ue,8))};static \u0275dir=m({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:[N([Jn]),S,te]})}return e})();var ps=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275dir=m({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();var Rt=new W(""),Xn={provide:G,useExisting:M(()=>er)},er=(()=>{class e extends G{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new q;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,r,s,o){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Nt(this,r)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&et(n,this,!1),we(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Mt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&et(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||e)(f(Y,10),f(Q,10),f(ce,10),f(Rt,8),f(ue,8))};static \u0275dir=m({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[N([Xn]),S,te]})}return e})(),tr={provide:A,useExisting:M(()=>Ii)},Ii=(()=>{class e extends A{callSetDisabledState;get submitted(){return P(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=re(()=>this._submittedReactive());_submittedReactive=w(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new q;constructor(t,n,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(it(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 we(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){et(t.control||null,t,!1),Kn(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),Vi(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Qe(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 Xe(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,r=this.form.get(t.path);n!==r&&(et(n||null,t),Yn(r)&&(we(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Ti(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&Gn(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){It(this.form,this),this._oldForm&&it(this._oldForm,this)}static \u0275fac=function(n){return new(n||e)(f(Y,10),f(Q,10),f(ue,8))};static \u0275dir=m({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&ne("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:[N([tr]),S,te]})}return e})(),ir={provide:A,useExisting:M(()=>Mi)},Mi=(()=>{class e extends Zn{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(A,13),f(Y,10),f(Q,10))};static \u0275dir=m({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[N([ir]),S]})}return e})(),nr={provide:A,useExisting:M(()=>Ni)},Ni=(()=>{class e extends A{_parent;name=null;constructor(t,n,r){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){Ri(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ot(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||e)(f(A,13),f(Y,10),f(Q,10))};static \u0275dir=m({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[N([nr]),S]})}return e})();function Ri(e){return!(e instanceof Mi)&&!(e instanceof Ii)&&!(e instanceof Ni)}var rr={provide:G,useExisting:M(()=>sr)},sr=(()=>{class e extends G{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new q;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=Nt(this,s)}ngOnChanges(t){this._added||this._setUpControl(),Mt(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 ot(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||e)(f(A,13),f(Y,10),f(Q,10),f(ce,10),f(Rt,8))};static \u0275dir=m({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[N([rr]),S,te]})}return e})();var or={provide:ce,useExisting:M(()=>Li),multi:!0};function Fi(e,i){return e==null?`${i}`:(i&&typeof i=="object"&&(i="Object"),`${e}: ${i}`.slice(0,50))}function ar(e){return e.split(":")[0]}var Li=(()=>{class e extends Et{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let n=this._getOptionId(t),r=Fi(n,t);this.setProperty("value",r)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=ar(t);return this._optionMap.has(n)?this._optionMap.get(n):t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=K(e)))(r||e)}})();static \u0275dir=m({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){n&1&&ne("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[N([or]),S]})}return e})(),hs=(()=>{class e{_element;_renderer;_select;id;constructor(t,n,r){this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Fi(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(n){return new(n||e)(f(_e),f(ve),f(Li,9))};static \u0275dir=m({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),lr={provide:ce,useExisting:M(()=>xi),multi:!0};function di(e,i){return e==null?`${i}`:(typeof i=="string"&&(i=`'${i}'`),i&&typeof i=="object"&&(i="Object"),`${e}: ${i}`.slice(0,50))}function cr(e){return e.split(":")[0]}var xi=(()=>{class e extends Et{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let n;if(Array.isArray(t)){let r=t.map(s=>this._getOptionId(s));n=(s,o)=>{s._setSelected(r.indexOf(o.toString())>-1)}}else n=(r,s)=>{r._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let r=[],s=n.selectedOptions;if(s!==void 0){let o=s;for(let a=0;a<o.length;a++){let c=o[a],l=this._getOptionValue(c.value);r.push(l)}}else{let o=n.options;for(let a=0;a<o.length;a++){let c=o[a];if(c.selected){let l=this._getOptionValue(c.value);r.push(l)}}}this.value=r,t(r)}}_registerOption(t){let n=(this._idCounter++).toString();return this._optionMap.set(n,t),n}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n)._value,t))return n;return null}_getOptionValue(t){let n=cr(t);return this._optionMap.has(n)?this._optionMap.get(n)._value:t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=K(e)))(r||e)}})();static \u0275dir=m({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,r){n&1&&ne("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[N([lr]),S]})}return e})(),fs=(()=>{class e{_element;_renderer;_select;id;_value;constructor(t,n,r){this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(di(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(di(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(n){return new(n||e)(f(_e),f(ve),f(xi,9))};static \u0275dir=m({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();var ur=(()=>{class e{_validator=qe;_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):qe,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=m({type:e,features:[te]})}return e})();var dr={provide:Y,useExisting:M(()=>pr),multi:!0};var pr=(()=>{class e extends ur{required;inputName="required";normalizeInput=yt;createValidator=t=>gi;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=K(e)))(r||e)}})();static \u0275dir=m({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&&ti("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[N([dr]),S]})}return e})();var Pi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ie({type:e});static \u0275inj=ee({})}return e})(),St=class extends ae{constructor(i,t,n){super(Tt(t),Vt(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={}){wi(this,!1,i),i.forEach((n,r)=>{Di(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 pi(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var hr=(()=>{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 pi(n)?s=n:n!==null&&(s.validators=n.validator,s.asyncValidators=n.asyncValidator),new le(r,s)}record(t,n=null){let r=this._reduceControls(t);return new bt(r,n)}control(t,n,r){let s={};return this.useNonNullable?(pi(n)?s=n:(s.validators=n,s.asyncValidators=r),new De(t,L(y({},s),{nonNullable:!0}))):new De(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 De)return t;if(t instanceof ae)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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gs=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=E({token:e,factory:()=>x(hr).nonNullable,providedIn:"root"})}return e})();var ms=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ue,useValue:t.callSetDisabledState??st}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=ie({type:e});static \u0275inj=ee({imports:[Pi]})}return e})(),ys=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Rt,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ue,useValue:t.callSetDisabledState??st}]}}static \u0275fac=function(n){return new(n||e)};static \u0275mod=ie({type:e});static \u0275inj=ee({imports:[Pi]})}return e})();function fr(e,i){return e?e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className):!1}function gr(e,i){if(e&&i){let t=n=>{fr(e,n)||(e.classList?e.classList.add(n):e.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function mr(){return window.innerWidth-document.documentElement.offsetWidth}function de(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 bs(e="p-overflow-hidden"){let i=de(/-scrollbar-width$/);i?.name&&document.body.style.setProperty(i.name,mr()+"px"),gr(document.body,e)}function yr(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 Ss(e="p-overflow-hidden"){let i=de(/-scrollbar-width$/);i?.name&&document.body.style.removeProperty(i.name),yr(document.body,e)}function ki(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 Hi(){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 _r(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}function vr(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Es(e,i,t=!0){var n,r,s,o;if(e){let a=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:ki(e),c=a.height,l=a.width,u=i.offsetHeight,p=i.offsetWidth,d=i.getBoundingClientRect(),h=vr(),_=_r(),C=Hi(),D,V,I="top";d.top+u+c>C.height?(D=d.top+h-c,I="bottom",D<0&&(D=h)):D=u+d.top+h,d.left+l>C.width?V=Math.max(0,d.left+_+p-l):V=d.left+_,e.style.top=D+"px",e.style.left=V+"px",e.style.transformOrigin=I,t&&(e.style.marginTop=I==="bottom"?`calc(${(r=(n=de(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=de(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function Ui(e,i){e&&(typeof i=="string"?e.style.cssText=i:Object.entries(i||{}).forEach(([t,n])=>e.style[t]=n))}function As(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 Ds(e,i,t=!0){var n,r,s,o;if(e){let a=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:ki(e),c=i.offsetHeight,l=i.getBoundingClientRect(),u=Hi(),p,d,h="top";l.top+c+a.height>u.height?(p=-1*a.height,h="bottom",l.top+p<0&&(p=-1*l.top)):p=c,a.width>u.width?d=l.left*-1:l.left+a.width>u.width?d=(l.left+a.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=de(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=de(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function pe(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}function xt(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)),pe(i)?i:void 0}function ws(e,i){let t=xt(e);if(t)t.appendChild(i);else throw new Error("Cannot append "+i+" to "+e)}var Ft=void 0;function Os(e){if(e){let i=getComputedStyle(e);return e.offsetHeight-e.clientHeight-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)}else{if(Ft!=null)return Ft;let i=document.createElement("div");Ui(i,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(i);let t=i.offsetHeight-i.clientHeight;return document.body.removeChild(i),Ft=t,t}}var Lt=void 0;function Ts(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(Lt!=null)return Lt;let i=document.createElement("div");Ui(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),Lt=t,t}}function at(e,i={}){if(pe(e)){let t=(n,r)=>{var s,o;let a=(s=e?.$attrs)!=null&&s[n]?[(o=e?.$attrs)==null?void 0:o[n]]:[];return[r].flat().reduce((c,l)=>{if(l!=null){let u=typeof l;if(u==="string"||u==="number")c.push(l);else if(u==="object"){let p=Array.isArray(l)?t(n,l):Object.entries(l).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},a)};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"?at(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 Vs(e,i={},...t){if(e){let n=document.createElement(e);return at(n,i),n.append(...t),n}}function Is(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 Cr(e,i){return pe(e)?Array.from(e.querySelectorAll(i)):[]}function Ms(e,i){return pe(e)?e.matches(i)?e:e.querySelector(i):null}function Ns(e,i){e&&document.activeElement!==e&&e.focus(i)}function Rs(e,i){if(pe(e)){let t=e.getAttribute(i);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function $i(e,i=""){let t=Cr(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 Fs(e,i){let t=$i(e,i);return t.length>0?t[0]:null}function Ls(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 xs(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 Ps(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 Bi(e){if(e){let i=e.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function ks(e){var i;if(e){let t=(i=Bi(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 Hs(e,i){let t=$i(e,i);return t.length>0?t[t.length-1]:null}function Us(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 br(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 $s(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function Sr(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&Bi(e))}function Bs(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=xt((s=>!!(s&&s.constructor&&s.call&&s.apply))(e)?e():e);return r?.nodeType===9||Sr(r)?r:void 0}}function Ws(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 Gs(){return/(android)/i.test(navigator.userAgent)}function Er(e){return!!(e&&e.offsetParent!=null)}function js(e){return!Er(e)}function Ks(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function qs(e){return e?getComputedStyle(e).direction==="rtl":!1}function zs(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function Ys(e){var i;e&&("remove"in Element.prototype?e.remove():(i=e.parentNode)==null||i.removeChild(e))}function Zs(e,i){let t=xt(e);if(t)t.removeChild(i);else throw new Error("Cannot remove "+i+" from "+e)}function Js(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,l=e.scrollTop,u=e.clientHeight,p=br(i);c<0?e.scrollTop=l+c:c+p>u&&(e.scrollTop=l+c-u+p)}function Wi(e,i="",t){pe(e)&&t!==null&&t!==void 0&&e.setAttribute(i,t)}function Gi(){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()}}}var Ar=Object.defineProperty,ji=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,Ki=(e,i,t)=>i in e?Ar(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Or=(e,i)=>{for(var t in i||(i={}))Dr.call(i,t)&&Ki(e,t,i[t]);if(ji)for(var t of ji(i))wr.call(i,t)&&Ki(e,t,i[t]);return e};function Oe(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Pt(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,a;if(n&&r){if(o=e.length,o!=i.length)return!1;for(s=o;s--!==0;)if(!Pt(e[s],i[s],t))return!1;return!0}if(n!=r)return!1;let c=e instanceof Date,l=i instanceof Date;if(c!=l)return!1;if(c&&l)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(a=d[s],!Pt(e[a],i[a],t))return!1;return!0}function Tr(e,i){return Pt(e,i)}function zi(e){return!!(e&&e.constructor&&e.call&&e.apply)}function g(e){return!Oe(e)}function lt(e,i){if(!e||!i)return null;try{let t=e[i];if(g(t))return t}catch{}if(Object.keys(e).length){if(zi(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 kt(e,i,t){return t?lt(e,t)===lt(i,t):Tr(e,i)}function to(e,i){if(e!=null&&i&&i.length){for(let t of i)if(kt(e,t))return!0}return!1}function io(e,i){let t=-1;if(i){for(let n=0;n<i.length;n++)if(i[n]===e){t=n;break}}return t}function no(e,i){let t=-1;if(g(e))try{t=e.findLastIndex(i)}catch{t=e.lastIndexOf([...e].reverse().find(i))}return t}function k(e,i=!0){return e instanceof Object&&e.constructor===Object&&(i||Object.keys(e).length!==0)}function R(e,...i){return zi(e)?e(...i):e}function Z(e,i=!0){return typeof e=="string"&&(i||e!=="")}function qi(e){return Z(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Yi(e,i="",t={}){let n=qi(i).split("."),r=n.shift();return r?k(e)?Yi(R(e[Object.keys(e).find(s=>qi(s)===r)||""],t),n.join("."),t):void 0:R(e,t)}function ct(e,i=!0){return Array.isArray(e)&&(i||e.length!==0)}function ro(e){return e instanceof Date&&e.constructor===Date}function Zi(e){return g(e)&&!isNaN(e)}function so(e=""){return g(e)&&e.length===1&&!!e.match(/\S| /)}function O(e,i){if(i){let t=i.test(e);return i.lastIndex=0,t}return!1}function Te(...e){let i=(t={},n={})=>{let r=Or({},t);return Object.keys(n).forEach(s=>{k(n[s])&&s in t&&k(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 X(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 T(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 oo(e,i,t){e&&i!==t&&(t>=e.length&&(t%=e.length,i%=e.length),e.splice(t,0,e.splice(i,1)[0]))}function ut(e){return Z(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(i,t)=>t===0?i:"-"+i.toLowerCase()).toLowerCase():e}function Ht(e){return Z(e)?e.replace(/[A-Z]/g,(i,t)=>t===0?i:"."+i.toLowerCase()).toLowerCase():e}var dt={};function lo(e="pui_id_"){return dt.hasOwnProperty(e)||(dt[e]=0),dt[e]++,`${e}${dt[e]}`}function Vr(){let e=[],i=(o,a,c=999)=>{let l=r(o,a,c),u=l.value+(l.key===o?0:c)+1;return e.push({key:o,value:u}),u},t=o=>{e=e.filter(a=>a.value!==o)},n=(o,a)=>r(o,a).value,r=(o,a,c=0)=>[...e].reverse().find(l=>a?!0:l.key===o)||{key:o,value:c},s=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:s,set:(o,a,c)=>{a&&(a.style.zIndex=String(i(o,!0,c)))},clear:o=>{o&&(t(s(o)),o.style.zIndex="")},getCurrent:o=>n(o,!0)}}var uo=Vr();var Ji=["*"];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})(),Ao=(()=>{class e{static AND="and";static OR="or"}return e})(),Do=(()=>{class e{filter(t,n,r,s,o){let a=[];if(t)for(let c of t)for(let l of n){let u=lt(c,l);if(this.filters[s](u,r,o)){a.push(c);break}}return a}filters={startsWith:(t,n,r)=>{if(n==null||n.trim()==="")return!0;if(t==null)return!1;let s=T(n.toString()).toLocaleLowerCase(r);return T(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=T(n.toString()).toLocaleLowerCase(r);return T(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=T(n.toString()).toLocaleLowerCase(r);return T(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=T(n.toString()).toLocaleLowerCase(r),o=T(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:T(t.toString()).toLocaleLowerCase(r)==T(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:T(t.toString()).toLocaleLowerCase(r)!=T(n.toString()).toLocaleLowerCase(r),in:(t,n)=>{if(n==null||n.length===0)return!0;for(let r=0;r<n.length;r++)if(kt(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wo=(()=>{class e{messageSource=new $;clearSource=new $;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=E({token:e,factory:e.\u0275fac})}return e})(),Oo=(()=>{class e{clickSource=new $;clickObservable=this.clickSource.asObservable();add(t){t&&this.clickSource.next(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var To=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=ht({type:e,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Ji,decls:1,vars:0,template:function(n,r){n&1&&(gt(),mt(0))},encapsulation:2})}return e})(),Vo=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=ht({type:e,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Ji,decls:1,vars:0,template:function(n,r){n&1&&(gt(),mt(0))},encapsulation:2})}return e})(),Io=(()=>{class e{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(n){return new(n||e)(f(Qt))};static \u0275dir=m({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return e})(),Mo=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ie({type:e});static \u0275inj=ee({imports:[ni]})}return e})(),No=(()=>{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})(),Ro=(()=>{class e{dragStartSource=new $;dragStopSource=new $;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=E({token:e,factory:e.\u0275fac})}return e})();var Ir=Object.defineProperty,Mr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,Qi=(e,i,t)=>i in e?Ir(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,U=(e,i)=>{for(var t in i||(i={}))en.call(i,t)&&Qi(e,t,i[t]);if(pt)for(var t of pt(i))tn.call(i,t)&&Qi(e,t,i[t]);return e},Ut=(e,i)=>Mr(e,Nr(i)),j=(e,i)=>{var t={};for(var n in e)en.call(e,n)&&i.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&pt)for(var n of pt(e))i.indexOf(n)<0&&tn.call(e,n)&&(t[n]=e[n]);return t};function xo(...e){return Te(...e)}var Rr=Gi(),B=Rr;function Xi(e,i){ct(e)?e.push(...i||[]):k(e)&&Object.assign(e,i)}function Fr(e){return k(e)&&e.hasOwnProperty("value")&&e.hasOwnProperty("type")?e.value:e}function Lr(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function $t(e="",i=""){return Lr(`${Z(e,!1)&&Z(i,!1)?`${e}-`:e}${i}`)}function nn(e="",i=""){return`--${$t(e,i)}`}function xr(e=""){let i=(e.match(/{/g)||[]).length,t=(e.match(/}/g)||[]).length;return(i+t)%2!==0}function rn(e,i="",t="",n=[],r){if(Z(e)){let s=/{([^}]*)}/g,o=e.trim();if(xr(o))return;if(O(o,s)){let a=o.replaceAll(s,u=>{let d=u.replace(/{|}/g,"").split(".").filter(h=>!n.some(_=>O(h,_)));return`var(${nn(t,ut(d.join("-")))}${g(r)?`, ${r}`:""})`}),c=/(\d+\s+[\+\-\*\/]\s+\d+)/g,l=/var\([^)]+\)/g;return O(a.replace(l,"0"),c)?`calc(${a})`:a}return o}else if(Zi(e))return e}function Pr(e,i,t){Z(i,!1)&&e.push(`${i}:${t};`)}function he(e,i){return e?`${e}{${i}}`:""}var Wo=e=>{var i;let t=v.getTheme(),n=Bt(t,e,void 0,"variable"),r=(i=n?.match(/--[\w-]+/g))==null?void 0:i[0],s=Bt(t,e,void 0,"value");return{name:r,variable:n,value:s}},fe=(...e)=>Bt(v.getTheme(),...e),Bt=(e={},i,t,n)=>{if(i){let{variable:r,options:s}=v.defaults||{},{prefix:o,transform:a}=e?.options||s||{},l=O(i,/{([^}]*)}/g)?i:`{${i}}`;return n==="value"||Oe(n)&&a==="strict"?v.getTokenValue(i):rn(l,void 0,o,[r.excludedKeyRegex],t)}return""};function kr(e,i={}){let t=v.defaults.variable,{prefix:n=t.prefix,selector:r=t.selector,excludedKeyRegex:s=t.excludedKeyRegex}=i,o=(l,u="")=>Object.entries(l).reduce((p,[d,h])=>{let _=O(d,s)?$t(u):$t(u,ut(d)),C=Fr(h);if(k(C)){let{variables:D,tokens:V}=o(C,_);Xi(p.tokens,V),Xi(p.variables,D)}else p.tokens.push((n?_.replace(`${n}-`,""):_).replaceAll("-",".")),Pr(p.variables,nn(_),rn(C,_,n,[s]));return p},{variables:[],tokens:[]}),{variables:a,tokens:c}=o(e,n);return{value:a,tokens:c,declarations:a.join(""),css:he(r,a.join(""))}}var H={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 kr(e,{prefix:i?.prefix})},getCommon({name:e="",theme:i={},params:t,set:n,defaults:r}){var s,o,a,c,l,u,p;let{preset:d,options:h}=i,_,C,D,V,I,J,F;if(g(d)&&h.transform!=="strict"){let{primitive:Ve,semantic:Ie,extend:Me}=d,ge=Ie||{},{colorScheme:Ne}=ge,Re=j(ge,["colorScheme"]),Fe=Me||{},{colorScheme:Le}=Fe,me=j(Fe,["colorScheme"]),ye=Ne||{},{dark:xe}=ye,Pe=j(ye,["dark"]),ke=Le||{},{dark:He}=ke,Ue=j(ke,["dark"]),$e=g(Ve)?this._toVariables({primitive:Ve},h):{},Be=g(Re)?this._toVariables({semantic:Re},h):{},We=g(Pe)?this._toVariables({light:Pe},h):{},Wt=g(xe)?this._toVariables({dark:xe},h):{},Gt=g(me)?this._toVariables({semantic:me},h):{},jt=g(Ue)?this._toVariables({light:Ue},h):{},Kt=g(He)?this._toVariables({dark:He},h):{},[an,ln]=[(s=$e.declarations)!=null?s:"",$e.tokens],[cn,un]=[(o=Be.declarations)!=null?o:"",Be.tokens||[]],[dn,pn]=[(a=We.declarations)!=null?a:"",We.tokens||[]],[hn,fn]=[(c=Wt.declarations)!=null?c:"",Wt.tokens||[]],[gn,mn]=[(l=Gt.declarations)!=null?l:"",Gt.tokens||[]],[yn,_n]=[(u=jt.declarations)!=null?u:"",jt.tokens||[]],[vn,Cn]=[(p=Kt.declarations)!=null?p:"",Kt.tokens||[]];_=this.transformCSS(e,an,"light","variable",h,n,r),C=ln;let bn=this.transformCSS(e,`${cn}${dn}`,"light","variable",h,n,r),Sn=this.transformCSS(e,`${hn}`,"dark","variable",h,n,r);D=`${bn}${Sn}`,V=[...new Set([...un,...pn,...fn])];let En=this.transformCSS(e,`${gn}${yn}color-scheme:light`,"light","variable",h,n,r),An=this.transformCSS(e,`${vn}color-scheme:dark`,"dark","variable",h,n,r);I=`${En}${An}`,J=[...new Set([...mn,..._n,...Cn])],F=R(d.css,{dt:fe})}return{primitive:{css:_,tokens:C},semantic:{css:D,tokens:V},global:{css:I,tokens:J},style:F}},getPreset({name:e="",preset:i={},options:t,params:n,set:r,defaults:s,selector:o}){var a,c,l;let u,p,d;if(g(i)&&t.transform!=="strict"){let h=e.replace("-directive",""),_=i,{colorScheme:C,extend:D,css:V}=_,I=j(_,["colorScheme","extend","css"]),J=D||{},{colorScheme:F}=J,Ve=j(J,["colorScheme"]),Ie=C||{},{dark:Me}=Ie,ge=j(Ie,["dark"]),Ne=F||{},{dark:Re}=Ne,Fe=j(Ne,["dark"]),Le=g(I)?this._toVariables({[h]:U(U({},I),Ve)},t):{},me=g(ge)?this._toVariables({[h]:U(U({},ge),Fe)},t):{},ye=g(Me)?this._toVariables({[h]:U(U({},Me),Re)},t):{},[xe,Pe]=[(a=Le.declarations)!=null?a:"",Le.tokens||[]],[ke,He]=[(c=me.declarations)!=null?c:"",me.tokens||[]],[Ue,$e]=[(l=ye.declarations)!=null?l:"",ye.tokens||[]],Be=this.transformCSS(h,`${xe}${ke}`,"light","variable",t,r,s,o),We=this.transformCSS(h,Ue,"dark","variable",t,r,s,o);u=`${Be}${We}`,p=[...new Set([...Pe,...He,...$e])],d=R(V,{dt:fe})}return{css:u,tokens:p,style:d}},getPresetC({name:e="",theme:i={},params:t,set:n,defaults:r}){var s;let{preset:o,options:a}=i,c=(s=o?.components)==null?void 0:s[e];return this.getPreset({name:e,preset:c,options:a,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:a,options:c}=i,l=(s=a?.directives)==null?void 0:s[o];return this.getPreset({name:o,preset:l,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 ${R(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}),a=Object.entries(n).reduce((c,[l,u])=>c.push(`${l}="${u}"`)&&c,[]).join(" ");return Object.entries(o||{}).reduce((c,[l,u])=>{if(u?.css){let p=X(u?.css),d=`${l}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${d}" ${a}>${p}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:i={},params:t,props:n={},set:r,defaults:s}){var o;let a={name:e,theme:i,params:t,set:r,defaults:s},c=(o=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:o.css,l=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" ${l}>${X(c)}</style>`:""},createTokens(e={},i,t="",n="",r={}){return Object.entries(e).forEach(([s,o])=>{let a=O(s,i.variable.excludedKeyRegex)?t:t?`${t}.${Ht(s)}`:Ht(s),c=n?`${n}.${s}`:s;k(o)?this.createTokens(o,i,a,c,r):(r[a]||(r[a]={paths:[],computed(l,u={}){var p,d;return this.paths.length===1?(p=this.paths[0])==null?void 0:p.computed(this.paths[0].scheme,u.binding):l&&l!=="none"?(d=this.paths.find(h=>h.scheme===l))==null?void 0:d.computed(l,u.binding):this.paths.map(h=>h.computed(h.scheme,u[h.scheme]))}}),r[a].paths.push({path:c,value:o,scheme:c.includes("colorScheme.light")?"light":c.includes("colorScheme.dark")?"dark":"none",computed(l,u={}){let p=/{([^}]*)}/g,d=o;if(u.name=this.path,u.binding||(u.binding={}),O(o,p)){let _=o.trim().replaceAll(p,V=>{var I;let J=V.replace(/{|}/g,""),F=(I=r[J])==null?void 0:I.computed(l,u);return ct(F)&&F.length===2?`light-dark(${F[0].value},${F[1].value})`:F?.value}),C=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,D=/var\([^)]+\)/g;d=O(_.replace(D,"0"),C)?`calc(${_})`:_}return Oe(u.binding)&&delete u.binding,{colorScheme:l,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=>!O(u.toLowerCase(),t.variable.excludedKeyRegex)).join("."))(i),o=i.includes("colorScheme.light")?"light":i.includes("colorScheme.dark")?"dark":void 0,a=[(n=e[s])==null?void 0:n.computed(o)].flat().filter(c=>c);return a.length===1?a[0].value:a.reduce((c={},l)=>{let u=l,{colorScheme:p}=u,d=j(u,["colorScheme"]);return c[p]=d,c},void 0)},getSelectorRule(e,i,t,n){return t==="class"||t==="attr"?he(g(i)?`${e}${i},${e} ${i}`:e,n):he(e,g(i)?he(i,n):n)},transformCSS(e,i,t,n,r={},s,o,a){if(g(i)){let{cssLayer:c}=r;if(n!=="style"){let l=this.getColorSchemeOption(r,o);i=t==="dark"?l.reduce((u,{type:p,selector:d})=>(g(d)&&(u+=d.includes("[CSS]")?d.replace("[CSS]",i):this.getSelectorRule(d,a,p,i)),u),""):he(a??":root",i)}if(c){let l={name:"primeui",order:"primeui"};k(c)&&(l.name=R(c.name,{name:e,type:n})),g(l.name)&&(i=he(`@layer ${l.name}`,i),s?.layerNames(l.name))}return i}return""}},v={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=Ut(U({},i),{options:U(U({},this.defaults.options),i.options)}),this._tokens=H.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}),B.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Ut(U({},this.theme),{preset:e}),this._tokens=H.createTokens(e,this.defaults),this.clearLoadedStyleNames(),B.emit("preset:change",e),B.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Ut(U({},this.theme),{options:e}),this.clearLoadedStyleNames(),B.emit("options:change",e),B.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 H.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",i){return H.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 H.getPresetC(t)},getDirective(e="",i){let t={name:e,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return H.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 H.getPreset(r)},getLayerOrderCSS(e=""){return H.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",i,t="style",n){return H.transformCSS(e,i,n,t,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",i,t={}){return H.getCommonStyleSheet({name:e,theme:this.theme,params:i,props:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,i,t={}){return H.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),B.emit(`theme:${i}:load`,e),!this._loadingStyles.size&&B.emit("theme:load"))}};var Hr=0,sn=(()=>{class e{document=x(je);use(t,n={}){let r=!1,s=t,o=null,{immediate:a=!0,manual:c=!1,name:l=`style_${++Hr}`,id:u=void 0,media:p=void 0,nonce:d=void 0,first:h=!1,props:_={}}=n;if(this.document){if(o=this.document.querySelector(`style[data-primeng-style-id="${l}"]`)||u&&this.document.getElementById(u)||this.document.createElement("style"),!o.isConnected){s=t,at(o,{type:"text/css",media:p,nonce:d});let C=this.document.head;h&&C.firstChild?C.insertBefore(o,C.firstChild):C.appendChild(o),Wi(o,"data-primeng-style-id",l)}return o.textContent!==s&&(o.textContent=s),{id:u,name:l,el:o,css:s}}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ra={_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()}},Ur=({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
+ `,$r=({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
+ `,on=(()=>{class e{name="base";useStyle=x(sn);theme=void 0;css=void 0;classes={};inlineStyles={};load=(t,n={},r=s=>s)=>{let s=r(R(t,{dt:fe}));return s?this.useStyle.use(X(s),y({name:this.name},n)):{}};loadCSS=(t={})=>this.load(this.css,t);loadTheme=(t={},n="")=>this.load(this.theme,t,(r="")=>v.transformCSS(t.name||this.name,`${r}${n}`));loadGlobalCSS=(t={})=>this.load($r,t);loadGlobalTheme=(t={},n="")=>this.load(Ur,t,(r="")=>v.transformCSS(t.name||this.name,`${r}${n}`));getCommonTheme=t=>v.getCommon(this.name,t);getComponentTheme=t=>v.getComponent(this.name,t);getDirectiveTheme=t=>v.getDirective(this.name,t);getPresetTheme=(t,n,r)=>v.getCustomPreset(this.name,t,n,r);getLayerOrderThemeCSS=()=>v.getLayerOrderCSS(this.name);getStyleSheet=(t="",n={})=>{if(this.css){let r=R(this.css,{dt:fe}),s=X(`${r}${t}`),o=Object.entries(n).reduce((a,[c,l])=>a.push(`${c}="${l}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${o}>${s}</style>`}return""};getCommonThemeStyleSheet=(t,n={})=>v.getCommonStyleSheet(this.name,t,n);getThemeStyleSheet=(t,n={})=>{let r=[v.getStyleSheet(this.name,t,n)];if(this.theme){let s=this.name==="base"?"global-style":`${this.name}-style`,o=R(this.theme,{dt:fe}),a=X(v.transformCSS(s,o)),c=Object.entries(n).reduce((l,[u,p])=>l.push(`${u}="${p}"`)&&l,[]).join(" ");r.push(`<style type="text/css" data-primeng-style-id="${s}" ${c}>${a}</style>`)}return r.join("")};static \u0275fac=function(n){return new(n||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Br=(()=>{class e{theme=w(void 0);csp=w({nonce:void 0});isThemeChanged=!1;document=x(je);baseStyle=x(on);constructor(){_t(()=>{B.on("theme:change",t=>{P(()=>{this.isThemeChanged=!0,this.theme.set(t)})})}),_t(()=>{let t=this.theme();this.document&&t&&(this.isThemeChanged||this.onThemeChange(t),this.isThemeChanged=!1)})}ngOnDestroy(){v.clearLoadedStyleNames(),B.clear()}onThemeChange(t){v.setTheme(t),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!v.isStyleNameLoaded("common")){let{primitive:t,semantic:n,global:r,style:s}=this.baseStyle.getCommonTheme?.()||{},o={nonce:this.csp?.()?.nonce};this.baseStyle.load(t?.css,y({name:"primitive-variables"},o)),this.baseStyle.load(n?.css,y({name:"semantic-variables"},o)),this.baseStyle.load(r?.css,y({name:"global-variables"},o)),this.baseStyle.loadGlobalTheme(y({name:"global-style"},o),s),v.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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wr=(()=>{class e extends Br{ripple=w(!1);platformId=x(Jt);inputStyle=w(null);inputVariant=w(null);overlayOptions={};csp=w({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 $;translationObserver=this.translationSource.asObservable();getTranslation(t){return this.translation[t]}setTranslation(t){this.translation=y(y({},this.translation),t),this.translationSource.next(this.translation)}setConfig(t){let{csp:n,ripple:r,inputStyle:s,inputVariant:o,theme:a,overlayOptions:c,translation:l,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),l&&this.setTranslation(l),u&&(this.filterMatchModeOptions=u),a&&this.setThemeConfig({theme:a,csp:n})}static \u0275fac=(()=>{let t;return function(r){return(t||(t=K(e)))(r||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gr=new W("PRIME_NG_CONFIG");function fa(...e){let i=e?.map(n=>({provide:Gr,useValue:n,multi:!1})),t=ei(()=>{let n=x(Wr);e?.forEach(r=>n.setConfig(r))});return Zt([...i,t])}export{ce as a,fi as b,ri as c,G as d,cs as e,us as f,le as g,zn as h,De as i,Qn as j,ps as k,er as l,Ii as m,Mi as n,Ni as o,sr as p,Li as q,hs as r,fs as s,pr as t,St as u,hr as v,gs as w,ms as x,ys as y,fr as z,gr as A,bs as B,yr as C,Ss as D,Hi as E,_r as F,vr as G,Es as H,Ui as I,As as J,Ds as K,ws as L,Os as M,Ts as N,Vs as O,Is as P,Cr as Q,Ms as R,Ns as S,Rs as T,$i as U,Fs as V,Ls as W,xs as X,Ps as Y,ks as Z,Hs as _,Us as $,br as aa,$s as ba,Bs as ca,Ws as da,Gs as ea,Er as fa,js as ga,Ks as ha,qs as ia,zs as ja,Ys as ka,Zs as la,Js as ma,Wi as na,Oe as oa,Tr as pa,zi as qa,g as ra,lt as sa,kt as ta,to as ua,io as va,no as wa,R as xa,Yi as ya,ct as za,ro as Aa,so as Ba,T as Ca,oo as Da,lo as Ea,b as Fa,Ao as Ga,Do as Ha,wo as Ia,Oo as Ja,To as Ka,Vo as La,Io as Ma,Mo as Na,No as Oa,Ro as Pa,xo as Qa,B as Ra,Wo as Sa,v as Ta,ra as Ua,on as Va,Wr as Wa,fa as Xa};