dealpos 25.37.1 → 25.38.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 (157) hide show
  1. package/browser/{chunk-CDTFGVVS.js → chunk-27LG5ACJ.js} +1 -1
  2. package/browser/{chunk-DODUIG3I.js → chunk-2GX6XQZF.js} +1 -1
  3. package/browser/{chunk-D5QA72I4.js → chunk-2YS7DHQK.js} +1 -1
  4. package/browser/{chunk-KFFKOF5G.js → chunk-3QDAA2EL.js} +1 -1
  5. package/browser/{chunk-YOD6EXLJ.js → chunk-3TLC4BCW.js} +1 -1
  6. package/browser/{chunk-XDV6DITH.js → chunk-3TRZIGNN.js} +1 -1
  7. package/browser/{chunk-RRP7MA2F.js → chunk-4IZK3E4I.js} +1 -1
  8. package/browser/{chunk-JW5NCAZI.js → chunk-4JUHQN2M.js} +1 -1
  9. package/browser/{chunk-ONWNB7LP.js → chunk-4QPI5R4J.js} +1 -1
  10. package/browser/{chunk-LPDARX3E.js → chunk-53HKNZ5U.js} +1 -1
  11. package/browser/{chunk-TIZ2EW3A.js → chunk-5EOPJGJR.js} +1 -1
  12. package/browser/{chunk-FJJZD2B7.js → chunk-5UZV25KW.js} +3 -3
  13. package/browser/chunk-6AGUBOKS.js +1 -0
  14. package/browser/{chunk-VSZGQHVN.js → chunk-6Q7RLLZ7.js} +1 -1
  15. package/browser/{chunk-2ATNLWJL.js → chunk-6QKPMFLS.js} +1 -1
  16. package/browser/{chunk-2QRHEWZG.js → chunk-6UDIG5NT.js} +1 -1
  17. package/browser/{chunk-MQ5ESAAH.js → chunk-6XGQOQ4B.js} +1 -1
  18. package/browser/chunk-6Z226K55.js +1 -0
  19. package/browser/{chunk-645U43U6.js → chunk-72JSQO47.js} +1 -1
  20. package/browser/{chunk-WBTANXPU.js → chunk-73MSULVJ.js} +1 -1
  21. package/browser/chunk-75M3O563.js +1 -0
  22. package/browser/chunk-7EDUE7BL.js +140 -0
  23. package/browser/{chunk-S446OPOL.js → chunk-7WAYNKNJ.js} +1 -1
  24. package/browser/{chunk-EIMAZRK7.js → chunk-7XDBVIDD.js} +1 -1
  25. package/browser/{chunk-LEJBHNYP.js → chunk-AESCW6DK.js} +1 -1
  26. package/browser/chunk-AF524AZZ.js +3 -0
  27. package/browser/{chunk-YBPDQGQC.js → chunk-AGIW63M2.js} +1 -1
  28. package/browser/{chunk-LGW7XM6V.js → chunk-ARGRANJD.js} +1 -1
  29. package/browser/{chunk-UWNXD5ZO.js → chunk-B3KOTUMH.js} +1 -1
  30. package/browser/{chunk-R52M4TBM.js → chunk-BFDUSGD3.js} +1 -1
  31. package/browser/chunk-BJGUO5QJ.js +1 -0
  32. package/browser/{chunk-YE6Q4TXJ.js → chunk-CKBNUI2K.js} +1 -1
  33. package/browser/{chunk-2DMQVIBE.js → chunk-CXLVBY6W.js} +1 -1
  34. package/browser/{chunk-GIVCDZC7.js → chunk-DBDZEXKT.js} +1 -1
  35. package/browser/chunk-DSBTC6NY.js +125 -0
  36. package/browser/{chunk-BRRQE5KZ.js → chunk-DTU7HI5U.js} +1 -1
  37. package/browser/{chunk-4G4GU32S.js → chunk-DV4SS5LL.js} +1 -1
  38. package/browser/{chunk-PFFR3I5J.js → chunk-E5IHXVRK.js} +1 -1
  39. package/browser/{chunk-SJGFFKA7.js → chunk-EAENAZFY.js} +1 -1
  40. package/browser/{chunk-NXQT6LJS.js → chunk-EBR5GJGA.js} +1 -1
  41. package/browser/{chunk-2VX2IMUY.js → chunk-EJT5BT4S.js} +1 -1
  42. package/browser/{chunk-4FZ77NFR.js → chunk-EPLULPBX.js} +1 -1
  43. package/browser/{chunk-DCCRJE3O.js → chunk-ESU4YRJD.js} +1 -1
  44. package/browser/{chunk-FTUOJINV.js → chunk-F7QHJHPI.js} +1 -1
  45. package/browser/{chunk-I2W5O5AZ.js → chunk-GNIXWNP2.js} +1 -1
  46. package/browser/{chunk-U652AHGM.js → chunk-GWEO2O7F.js} +1 -1
  47. package/browser/{chunk-7PXSKRVE.js → chunk-GWHR6QGI.js} +1 -1
  48. package/browser/chunk-HFBB76IK.js +1 -0
  49. package/browser/{chunk-2TUSVIA7.js → chunk-HFMOHPY7.js} +1 -1
  50. package/browser/chunk-I6MACZWG.js +1 -0
  51. package/browser/{chunk-JTWFMMM2.js → chunk-ICQLVIY5.js} +1 -1
  52. package/browser/{chunk-XF6535OT.js → chunk-IMNC5BEA.js} +1 -1
  53. package/browser/{chunk-QXQKVFD2.js → chunk-IUATJVYE.js} +1 -1
  54. package/browser/chunk-IV6VX4SW.js +1 -0
  55. package/browser/chunk-IY5XCLBB.js +1 -0
  56. package/browser/chunk-JIFR7UDE.js +1 -0
  57. package/browser/{chunk-NILHRRUO.js → chunk-JSETQAUZ.js} +1 -1
  58. package/browser/{chunk-IPMVP56X.js → chunk-JY5T2CXQ.js} +1 -1
  59. package/browser/{chunk-ONCZXBYC.js → chunk-K7TWOQ3C.js} +1 -1
  60. package/browser/{chunk-HWXWAUNO.js → chunk-KCVPGI7J.js} +1 -1
  61. package/browser/{chunk-UBVYDOUF.js → chunk-L3BBA7TR.js} +1 -1
  62. package/browser/{chunk-C247MHLB.js → chunk-LJYCLPTA.js} +1 -1
  63. package/browser/{chunk-5YW42TCN.js → chunk-M5VAD4I7.js} +1 -1
  64. package/browser/{chunk-KSKYFRB7.js → chunk-MTCKPAGT.js} +1 -1
  65. package/browser/chunk-MUB2YLV7.js +14 -0
  66. package/browser/{chunk-AYCCLOJL.js → chunk-MW2XU7A2.js} +1 -1
  67. package/browser/{chunk-Y5GVVE7N.js → chunk-N5JHKAFG.js} +1 -1
  68. package/browser/chunk-NOHORPPM.js +1 -0
  69. package/browser/chunk-NS6R2NM3.js +1 -0
  70. package/browser/{chunk-RVAZBTIQ.js → chunk-NSWBZJ3H.js} +14 -12
  71. package/browser/{chunk-NWOTM7DD.js → chunk-NTZBLWXS.js} +1 -1
  72. package/browser/{chunk-JH5ADEFC.js → chunk-O27UF6WP.js} +1 -1
  73. package/browser/chunk-O6TRX3HB.js +1 -0
  74. package/browser/{chunk-LJD3LZP3.js → chunk-OIC3622Z.js} +1 -1
  75. package/browser/{chunk-MLI2YX5E.js → chunk-OQN4WGVB.js} +1 -1
  76. package/browser/{chunk-2S4LF35V.js → chunk-OYIZSQES.js} +1 -1
  77. package/browser/chunk-PEG2US5N.js +57 -0
  78. package/browser/{chunk-X5I6AL2S.js → chunk-PMTKXVGT.js} +1 -1
  79. package/browser/{chunk-IX5URHI7.js → chunk-Q3GWLSDE.js} +1 -1
  80. package/browser/{chunk-BAH4UVJ5.js → chunk-QHBYJZNS.js} +1 -1
  81. package/browser/{chunk-XA5DJGAJ.js → chunk-QLHT2WKZ.js} +1 -1
  82. package/browser/chunk-QOFAWXYH.js +1 -0
  83. package/browser/{chunk-ZRBPW7ZZ.js → chunk-QVRCMMJJ.js} +1 -1
  84. package/browser/chunk-QXK4GGIN.js +1 -0
  85. package/browser/{chunk-GBAG7EYS.js → chunk-RCRLKTEV.js} +1 -1
  86. package/browser/{chunk-AZRT7REO.js → chunk-RFMFH35P.js} +1 -1
  87. package/browser/{chunk-3FOZ56CA.js → chunk-RGG3QDWH.js} +1 -1
  88. package/browser/{chunk-KRG67JVZ.js → chunk-RH2IFHFD.js} +1 -1
  89. package/browser/chunk-ROWX7LQD.js +82 -0
  90. package/browser/{chunk-S3TDDBTK.js → chunk-RPNTNFVK.js} +1 -1
  91. package/browser/{chunk-SG2KVUZL.js → chunk-SEDXTQH7.js} +2 -2
  92. package/browser/{chunk-M32CH5AK.js → chunk-SP3U2IDW.js} +1 -1
  93. package/browser/{chunk-SHZWWZ7H.js → chunk-T4BIKBND.js} +1 -1
  94. package/browser/{chunk-7KSMTJW6.js → chunk-TBFC5WPR.js} +1 -1
  95. package/browser/{chunk-BWWLIKSO.js → chunk-TDMU55LA.js} +1 -1
  96. package/browser/{chunk-PDNDXNJG.js → chunk-TF3Q66XY.js} +1 -1
  97. package/browser/{chunk-YAXAFRGD.js → chunk-TNJUQ6BJ.js} +1 -1
  98. package/browser/{chunk-XK35I4BF.js → chunk-TTGCLMYO.js} +1 -1
  99. package/browser/{chunk-XAEX53FJ.js → chunk-UB6B4AAQ.js} +1 -1
  100. package/browser/{chunk-OJLB3EQU.js → chunk-UF66Z7HD.js} +1 -1
  101. package/browser/{chunk-Y6ZOOZLL.js → chunk-UOPAXKYI.js} +1 -1
  102. package/browser/{chunk-LVPI72DU.js → chunk-UXF66ZFH.js} +1 -1
  103. package/browser/{chunk-ECLYJ54K.js → chunk-UYJZPS2Q.js} +1 -1
  104. package/browser/{chunk-AMSDLTX5.js → chunk-V4VZQ5KY.js} +1 -1
  105. package/browser/{chunk-7BVECXK7.js → chunk-VN2KN6HW.js} +2 -2
  106. package/browser/{chunk-YYZDU5FZ.js → chunk-VO2YCRKY.js} +2 -2
  107. package/browser/chunk-W4EJ4OPP.js +1 -0
  108. package/browser/{chunk-UGXIEPP6.js → chunk-W6TD44BK.js} +1 -1
  109. package/browser/{chunk-IBLGEDBH.js → chunk-WLIVNIHK.js} +1 -1
  110. package/browser/chunk-WNWQWQ7T.js +1 -0
  111. package/browser/{chunk-PYJAEFZM.js → chunk-WO4BYI7W.js} +1 -1
  112. package/browser/{chunk-3BR4PCS5.js → chunk-WRV6CSOO.js} +2 -2
  113. package/browser/{chunk-ILTMDOAK.js → chunk-WXOFCCQJ.js} +3 -3
  114. package/browser/{chunk-CCEXOHK3.js → chunk-X2GBLPKU.js} +1 -1
  115. package/browser/{chunk-2I6DN732.js → chunk-X4OHSOA3.js} +1 -1
  116. package/browser/{chunk-4F7XKKDX.js → chunk-X4UVY3YK.js} +1 -1
  117. package/browser/{chunk-ZGUZW56H.js → chunk-XG6WOYOZ.js} +1 -1
  118. package/browser/{chunk-64CSHXRW.js → chunk-XMRKW24P.js} +1 -1
  119. package/browser/chunk-XTNPUUQK.js +3 -0
  120. package/browser/{chunk-6FHIOHE3.js → chunk-Y3XAADIW.js} +1 -1
  121. package/browser/{chunk-6M6KXCIT.js → chunk-Y4PFW74I.js} +1 -1
  122. package/browser/{chunk-CKB6AES2.js → chunk-Y5RVOKMC.js} +1 -1
  123. package/browser/{chunk-7WLHEC5P.js → chunk-Y6ACRZOB.js} +1 -1
  124. package/browser/{chunk-PGLMYP4S.js → chunk-YBNK7QU2.js} +1 -1
  125. package/browser/{chunk-7ALQSEOZ.js → chunk-YEDG3CPO.js} +1 -1
  126. package/browser/chunk-YQL6I7MX.js +1 -0
  127. package/browser/{chunk-AUJWQ5CX.js → chunk-Z4RJX6TP.js} +1 -1
  128. package/browser/{chunk-5IZUAM42.js → chunk-ZC5TUX6E.js} +1 -1
  129. package/browser/chunk-ZDY5HSYT.js +24 -0
  130. package/browser/{chunk-D35OBUDE.js → chunk-ZZ7LHETD.js} +4 -4
  131. package/browser/index.html +3 -3
  132. package/browser/{main-2IQKAWBF.js → main-BJA2TDEV.js} +2 -2
  133. package/browser/{styles-AWHBZGFK.css → styles-2TXD27TS.css} +1 -1
  134. package/package.json +1 -1
  135. package/browser/chunk-2GYHYM6C.js +0 -1
  136. package/browser/chunk-3K4MFJZI.js +0 -1
  137. package/browser/chunk-423RFMVL.js +0 -4
  138. package/browser/chunk-44QE6FET.js +0 -125
  139. package/browser/chunk-53Y33SQN.js +0 -1
  140. package/browser/chunk-BEBJKGFP.js +0 -1
  141. package/browser/chunk-BIBIASY7.js +0 -3
  142. package/browser/chunk-BLS6POOW.js +0 -3
  143. package/browser/chunk-EGH7OT7P.js +0 -24
  144. package/browser/chunk-ENKSQCL7.js +0 -1
  145. package/browser/chunk-FMW2LGMI.js +0 -56
  146. package/browser/chunk-GY4HUPHP.js +0 -218
  147. package/browser/chunk-ODE5SZH6.js +0 -1
  148. package/browser/chunk-OENSRVQV.js +0 -1
  149. package/browser/chunk-SS2JHDFV.js +0 -1
  150. package/browser/chunk-TUHKOEXH.js +0 -1
  151. package/browser/chunk-U64KP4NG.js +0 -1
  152. package/browser/chunk-UEZOI7KW.js +0 -1
  153. package/browser/chunk-UTBVTQLT.js +0 -12
  154. package/browser/chunk-UVQPPKQB.js +0 -1
  155. package/browser/chunk-VOPP62W6.js +0 -1
  156. package/browser/chunk-X3HEHRBU.js +0 -1
  157. package/browser/chunk-YNTAPAX4.js +0 -1
@@ -1,3 +1,3 @@
1
- import{a as D}from"./chunk-MV3QRRW6.js";import{a as me}from"./chunk-7PXSKRVE.js";import{B as re,N as de,R as pe,S as le,ea as ce,l as ie,n as oe,y as v,z as se}from"./chunk-567HXZXC.js";import{$ as T,$a as u,$b as _,Ca as q,D as Q,Db as $,E as g,Fa as r,Ga as W,Ib as f,Jb as y,Ka as k,Kb as ee,Kc as P,Mc as l,N as V,Na as Z,Nc as ne,Qa as K,Qb as te,Sb as N,Sc as ae,Tb as p,Yb as F,Zb as R,_b as b,a as w,ab as X,cb as G,d as h,fb as Y,k as L,ka as C,kb as I,la as c,lb as A,mb as d,na as i,ob as H,pc as m,qb as O,ua as M,ub as E,vb as S,wb as J,xa as B,xb as x,za as U}from"./chunk-DZT5XHBQ.js";var z=new c("CdkAccordion"),he=(()=>{class n{_stateChanges=new h;_openCloseAllActions=new h;id=i(v).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",l]},exportAs:["cdkAccordion"],features:[m([{provide:z,useExisting:n}]),M]})}return n})(),ge=(()=>{class n{accordion=i(z,{optional:!0,skipSelf:!0});_changeDetectorRef=i(P);_expansionDispatcher=i(D);_openCloseAllSubscription=w.EMPTY;closed=new r;opened=new r;destroyed=new r;expandedChange=new r;id=i(v).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",l],disabled:[2,"disabled","disabled",l]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[m([{provide:z,useValue:void 0}])]})}return n})(),ue=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=A({type:n});static \u0275inj=C({})}return n})();var we=["body"],Ce=["bodyWrapper"],Me=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ae=["mat-expansion-panel-header","*","mat-action-row"];function Ee(n,ye){}var Pe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],De=["mat-panel-title","mat-panel-description","*"];function Te(n,ye){n&1&&(f(0,"span",1),B(),f(1,"svg",2),ee(2,"path",3),y()())}var j=new c("MAT_ACCORDION"),xe=new c("MAT_EXPANSION_PANEL"),ke=(()=>{class n{_template=i(X);_expansionPanel=i(xe,{optional:!0});constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]})}return n})(),fe=new c("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Ie=(()=>{class n extends ge{_viewContainerRef=i(Y);_animationsDisabled=i(K,{optional:!0})==="NoopAnimations";_document=i(ae);_ngZone=i(W);_elementRef=i(k);_renderer=i(G);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new r;afterCollapse=new r;_inputChanges=new h;accordion=i(j,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=i(v).getId("mat-expansion-panel-header-");constructor(){super();let e=i(fe,{optional:!0});this._expansionDispatcher=i(D),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(T(null),g(()=>this.expanded&&!this._portal),V(1)).subscribe(()=>{this._portal=new de(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:t})=>{e===this._bodyWrapper?.nativeElement&&t==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=I({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(t,a,s){if(t&1&&F(s,ke,5),t&2){let o;b(o=_())&&(a._lazyContent=o.first)}},viewQuery:function(t,a){if(t&1&&(R(we,5),R(Ce,5)),t&2){let s;b(s=_())&&(a._body=s.first),b(s=_())&&(a._bodyWrapper=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(t,a){t&2&&x("mat-expanded",a.expanded)("mat-expansion-panel-spacing",a._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",l],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[m([{provide:j,useValue:void 0},{provide:xe,useExisting:n}]),H,M],ngContentSelectors:Ae,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,a){t&1&&(N(Me),p(0),f(1,"div",2,0)(3,"div",3,1)(5,"div",4),p(6,1),O(7,Ee,0,0,"ng-template",5),y(),p(8,2),y()()),t&2&&(u(),E("inert",a.expanded?null:""),u(2),S("id",a.id),E("aria-labelledby",a._headerId),u(4),S("cdkPortalOutlet",a._portal))},dependencies:[pe],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
1
+ import{a as D}from"./chunk-MV3QRRW6.js";import{a as me}from"./chunk-GWHR6QGI.js";import{B as re,N as de,R as pe,S as le,ea as ce,l as ie,n as oe,y as v,z as se}from"./chunk-567HXZXC.js";import{$ as T,$a as u,$b as _,Ca as q,D as Q,Db as $,E as g,Fa as r,Ga as W,Ib as f,Jb as y,Ka as k,Kb as ee,Kc as P,Mc as l,N as V,Na as Z,Nc as ne,Qa as K,Qb as te,Sb as N,Sc as ae,Tb as p,Yb as F,Zb as R,_b as b,a as w,ab as X,cb as G,d as h,fb as Y,k as L,ka as C,kb as I,la as c,lb as A,mb as d,na as i,ob as H,pc as m,qb as O,ua as M,ub as E,vb as S,wb as J,xa as B,xb as x,za as U}from"./chunk-DZT5XHBQ.js";var z=new c("CdkAccordion"),he=(()=>{class n{_stateChanges=new h;_openCloseAllActions=new h;id=i(v).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",l]},exportAs:["cdkAccordion"],features:[m([{provide:z,useExisting:n}]),M]})}return n})(),ge=(()=>{class n{accordion=i(z,{optional:!0,skipSelf:!0});_changeDetectorRef=i(P);_expansionDispatcher=i(D);_openCloseAllSubscription=w.EMPTY;closed=new r;opened=new r;destroyed=new r;expandedChange=new r;id=i(v).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",l],disabled:[2,"disabled","disabled",l]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[m([{provide:z,useValue:void 0}])]})}return n})(),ue=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=A({type:n});static \u0275inj=C({})}return n})();var we=["body"],Ce=["bodyWrapper"],Me=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ae=["mat-expansion-panel-header","*","mat-action-row"];function Ee(n,ye){}var Pe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],De=["mat-panel-title","mat-panel-description","*"];function Te(n,ye){n&1&&(f(0,"span",1),B(),f(1,"svg",2),ee(2,"path",3),y()())}var j=new c("MAT_ACCORDION"),xe=new c("MAT_EXPANSION_PANEL"),ke=(()=>{class n{_template=i(X);_expansionPanel=i(xe,{optional:!0});constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]})}return n})(),fe=new c("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Ie=(()=>{class n extends ge{_viewContainerRef=i(Y);_animationsDisabled=i(K,{optional:!0})==="NoopAnimations";_document=i(ae);_ngZone=i(W);_elementRef=i(k);_renderer=i(G);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new r;afterCollapse=new r;_inputChanges=new h;accordion=i(j,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=i(v).getId("mat-expansion-panel-header-");constructor(){super();let e=i(fe,{optional:!0});this._expansionDispatcher=i(D),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(T(null),g(()=>this.expanded&&!this._portal),V(1)).subscribe(()=>{this._portal=new de(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:t})=>{e===this._bodyWrapper?.nativeElement&&t==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=I({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(t,a,s){if(t&1&&F(s,ke,5),t&2){let o;b(o=_())&&(a._lazyContent=o.first)}},viewQuery:function(t,a){if(t&1&&(R(we,5),R(Ce,5)),t&2){let s;b(s=_())&&(a._body=s.first),b(s=_())&&(a._bodyWrapper=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(t,a){t&2&&x("mat-expanded",a.expanded)("mat-expansion-panel-spacing",a._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",l],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[m([{provide:j,useValue:void 0},{provide:xe,useExisting:n}]),H,M],ngContentSelectors:Ae,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,a){t&1&&(N(Me),p(0),f(1,"div",2,0)(3,"div",3,1)(5,"div",4),p(6,1),O(7,Ee,0,0,"ng-template",5),y(),p(8,2),y()()),t&2&&(u(),E("inert",a.expanded?null:""),u(2),S("id",a.id),E("aria-labelledby",a._headerId),u(4),S("cdkPortalOutlet",a._portal))},dependencies:[pe],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
2
2
  `],encapsulation:2,changeDetection:0})}return n})();var He=(()=>{class n{panel=i(Ie,{host:!0});_element=i(k);_focusMonitor=i(ie);_changeDetectorRef=i(P);_parentChangeSubscription=w.EMPTY;constructor(){i(oe).load(me);let e=this.panel,t=i(fe,{optional:!0}),a=i(new q("tabindex"),{optional:!0}),s=e.accordion?e.accordion._stateChanges.pipe(g(o=>!!(o.hideToggle||o.togglePosition))):L;this.tabIndex=parseInt(a||"")||0,this._parentChangeSubscription=Q(e.opened,e.closed,s,e._inputChanges.pipe(g(o=>!!(o.hideToggle||o.disabled||o.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(g(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),t&&(this.expandedHeight=t.expandedHeight,this.collapsedHeight=t.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:se(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=I({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(t,a){t&1&&te("click",function(){return a._toggle()})("keydown",function(o){return a._keydown(o)}),t&2&&(E("id",a.panel._headerId)("tabindex",a.disabled?-1:a.tabIndex)("aria-controls",a._getPanelId())("aria-expanded",a._isExpanded())("aria-disabled",a.panel.disabled),J("height",a._getHeaderHeight()),x("mat-expanded",a._isExpanded())("mat-expansion-toggle-indicator-after",a._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",a._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ne(e)]},ngContentSelectors:De,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(t,a){t&1&&(N(Pe),f(0,"span",0),p(1),p(2,1),p(3,2),y(),O(4,Te,3,0,"span",1)),t&2&&(x("mat-content-hide-toggle",!a._showToggle()),u(4),$(a._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
3
3
  `],encapsulation:2,changeDetection:0})}return n})(),lt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return n})(),ct=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=d({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return n})(),mt=(()=>{class n extends he{_keyManager;_ownHeaders=new Z;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(T(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new re(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(a){return(e||(e=U(n)))(a||n)}})();static \u0275dir=d({type:n,selectors:[["mat-accordion"]],contentQueries:function(t,a,s){if(t&1&&F(s,He,5),t&2){let o;b(o=_())&&(a._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,a){t&2&&x("mat-accordion-multi",a.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",l],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[m([{provide:j,useExisting:n}]),H]})}return n})(),ht=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=A({type:n});static \u0275inj=C({imports:[ce,ue,le]})}return n})();export{ke as a,Ie as b,He as c,lt as d,ct as e,mt as f,ht as g};
@@ -1 +1 @@
1
- import{w as p}from"./chunk-7PXSKRVE.js";import{jd as f,ka as m,lb as n}from"./chunk-DZT5XHBQ.js";var c=class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=n({type:i});static \u0275inj=m({imports:[f,p]})};var s=(r=>(r[r.TYPE=0]="TYPE",r[r.NOTE=1]="NOTE",r[r.OTHER=2]="OTHER",r[r.LOGISTICS=3]="LOGISTICS",r[r.NUMBER=4]="NUMBER",r))(s||{});export{c as a,s as b};
1
+ import{w as p}from"./chunk-GWHR6QGI.js";import{jd as f,ka as m,lb as n}from"./chunk-DZT5XHBQ.js";var c=class i{static \u0275fac=function(o){return new(o||i)};static \u0275mod=n({type:i});static \u0275inj=m({imports:[f,p]})};var s=(r=>(r[r.TYPE=0]="TYPE",r[r.NOTE=1]="NOTE",r[r.OTHER=2]="OTHER",r[r.LOGISTICS=3]="LOGISTICS",r[r.NUMBER=4]="NUMBER",r))(s||{});export{c as a,s as b};
@@ -1 +1 @@
1
- import{a as re}from"./chunk-LNVTHMH7.js";import{u as ae,v as se,w as le}from"./chunk-7PXSKRVE.js";import{P as ce}from"./chunk-IX5URHI7.js";import{a as z,c as K}from"./chunk-GIKR6Y2K.js";import{e as oe}from"./chunk-D35OBUDE.js";import{a as g}from"./chunk-2FWFPV5I.js";import{E as te,G as ie,c as X,e as v,h as Y,i as Z,t as $,w as ee}from"./chunk-2RSBMS36.js";import{a as M}from"./chunk-AHCRE4GP.js";import{$a as s,Db as T,E as D,Fa as I,H as G,I as B,Ib as r,Jb as a,Kb as E,Qb as w,Rb as F,T as L,Vd as Q,W as S,Wc as W,Y as N,Yd as ne,Zc as A,aa as U,db as P,e as h,ec as f,fa as H,ja as V,kb as q,la as j,n as k,na as p,o as _,p as x,qb as d,rc as O,sd as J,t as y,v as R,vb as l}from"./chunk-DZT5XHBQ.js";import{j as u}from"./chunk-7DCB7DB2.js";var C=class{};var Be=new j("baseURL"),b=class n extends C{connection;_cache=new Map;_Data=new h({});Data=this._Data.asObservable();previousCountByEpc={};httpService=p(ne);toastService=p(Q);_isConnected=new h(!1);isConnected=this._isConnected.asObservable();_bufferTime=new h(100);set bufferTime(i){this._bufferTime.next(i)}get bufferTime(){return this._bufferTime.getValue()}intializeWebSocket(i="/"){return u(this,null,function*(){if(i.length<=0){this.toastService.error("RFID URL cannot be empty",g.Error);return}this.connection=new K().withUrl(i).configureLogging(z.Information).build();try{yield this.connection.start(),yield this.initiateGroupSubscription(),this.onWebSocketMessageReceived(),this._isConnected.next(!0),this.toastService.success("RFID Connected",g.Success)}catch(t){throw this._isConnected.next(!1),this.toastService.error(JSON.stringify(t),g.Error),setTimeout(()=>this.intializeWebSocket(),5e3),new Error(JSON.stringify(t))}})}initiateGroupSubscription(){return u(this,null,function*(){try{yield this.connection.invoke("SubscribeGroup",{CurrentID:"TransferOrder"})}catch(i){throw this.toastService.error(JSON.stringify(i),g.Error),new Error(JSON.stringify(i))}})}onWebSocketMessageReceived(){try{this.connection.on("ReceiveSignal",i=>{this._Data.next(i)})}catch(i){throw new Error(JSON.stringify(i))}}getVariantByCode(i,t=M.GuidEmpty){let e=[{key:"Code",value:i},{key:"EntityID",value:t}];return this.httpService.get(ce.GetVariantByCode,e).pipe(B(o=>o instanceof J?_(null):x(()=>new Error(o.message))))}processGroupedData(i=M.GuidEmpty){return this._Data.pipe(D(t=>t!==null&&t&&Object.keys(t).length>0),G(this._bufferTime.getValue()),R(t=>k(t)),L(t=>t.epc),R(t=>t.pipe(S((e,o)=>[...e,o],[]),U(e=>{let o=t.key;if(this._cache.has(o))return this._cache.get(o).pipe(y(c=>({epc:o,items:e,response:c})));{let c=this.getVariantByCode(o,i).pipe(D(m=>m),H(m=>this._cache.set(o,_(m))));return this._cache.set(o,c),c.pipe(y(m=>({epc:o,items:e,response:m})))}}))),S((t,e)=>{let o=this.previousCountByEpc&&this.previousCountByEpc[e.epc]||0,c=e.items.length,m=c-o;return t[e.epc]={data:e.items,count:m,variant:e.response},this.previousCountByEpc[e.epc]=c,t},{}),N({bufferSize:1,refCount:!0}))}constructor(){super()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=V({token:n,factory:n.\u0275fac,providedIn:"root"})};var me=n=>({"is-invalid":n});function ue(n,i){n&1&&(r(0,"span"),f(1,"Host URL is required."),a())}function de(n,i){if(n&1&&(r(0,"div",6),d(1,ue,2,0,"span",8),E(2,"span"),a()),n&2){let t,e=F();s(),l("ngIf",(t=e.form.get("hostURL").errors)==null?null:t.required)}}function ge(n,i){n&1&&(r(0,"span"),f(1,"Host URL is required."),a())}function he(n,i){n&1&&(r(0,"span"),f(1,"BufferTime must be at least 100"),a())}function ve(n,i){if(n&1&&(r(0,"div",6),d(1,ge,2,0,"span",8)(2,he,2,0,"span",8),a()),n&2){let t,e,o=F();s(),l("ngIf",(t=o.form.get("bufferTime").errors)==null?null:t.required),s(),l("ngIf",(e=o.form.get("bufferTime").errors)==null?null:e.min)}}var fe=class n{constructor(i){this.dialogRef=i;this.form=this.fb.group({hostURL:["https://localhost:5001/rfidhub",[v.required]],bufferTime:["100",[v.required,v.min(100)]]},{updateOn:"change"}),this.config.title="Connect RFID",this.config.customWidth="400px"}config=new ae;isConnect=new I(!1);RFIDConnectionService=p(b);fb=p(te);onOK=new I;form;ok(){return u(this,null,function*(){this.onOK.emit(this.form.value),this.dialogRef.close("void")})}close(){this.dialogRef.close()}onBlur(i){this.form.patchValue({bufferTime:Number(i.value)})}static \u0275fac=function(t){return new(t||n)(P(oe))};static \u0275cmp=q({type:n,selectors:[["POS-dialog-connect-rfid"]],outputs:{onOK:"onOK"},decls:15,vars:12,consts:[[3,"onCancel","onClose","onOk","dynamicValidated","config"],[1,"d-flex","flex-column",2,"row-gap","1rem"],[1,"fw-normal"],[1,"form-floating-outline",3,"formGroup"],["formControlName","hostURL","id","floatingInput","placeholder","https://localhost:5030/rfidhub","type","text",1,"form-control",3,"ngClass"],["for","floatingInput"],["id","",1,"invalid-feedback"],["formControlName","bufferTime","id","floatingInput","placeholder","100","type","text",1,"form-control",3,"blur","ngClass"],[4,"ngIf"]],template:function(t,e){t&1&&(r(0,"modal-material",0),w("onCancel",function(){return e.close()})("onClose",function(){return e.close()})("onOk",function(){return e.ok()}),r(1,"content")(2,"div",1)(3,"h4",2),f(4,"Please input the RFID Host URL:"),a(),r(5,"div",3),E(6,"input",4),r(7,"label",5),f(8,"Host URL"),a(),d(9,de,3,1,"div",6),a(),r(10,"div",3)(11,"input",7),w("blur",function(){return e.onBlur(e.form.get("bufferTime"))}),a(),r(12,"label",5),f(13,"Buffer Time (ms)"),a(),d(14,ve,3,2,"div",6),a()()()()),t&2&&(l("dynamicValidated",e.form.valid)("config",e.config),s(5),l("formGroup",e.form),s(),l("ngClass",O(8,me,e.form.invalid&&e.form.touched)),s(3),T(e.form.get("hostURL").invalid&&e.form.get("hostURL").touched?9:-1),s(),l("formGroup",e.form),s(),l("ngClass",O(10,me,e.form.invalid&&e.form.touched)),s(3),T(e.form.get("bufferTime").invalid&&e.form.get("bufferTime").touched?14:-1))},dependencies:[le,se,re,A,ie,X,Y,Z,$,ee,W],styles:[".form-control.is-invalid[_ngcontent-%COMP%]:focus{box-shadow:none!important}"]})};export{C as a,b,fe as c};
1
+ import{a as re}from"./chunk-LNVTHMH7.js";import{u as ae,v as se,w as le}from"./chunk-GWHR6QGI.js";import{P as ce}from"./chunk-Q3GWLSDE.js";import{a as z,c as K}from"./chunk-GIKR6Y2K.js";import{e as oe}from"./chunk-ZZ7LHETD.js";import{a as g}from"./chunk-2FWFPV5I.js";import{E as te,G as ie,c as X,e as v,h as Y,i as Z,t as $,w as ee}from"./chunk-2RSBMS36.js";import{a as M}from"./chunk-AHCRE4GP.js";import{$a as s,Db as T,E as D,Fa as I,H as G,I as B,Ib as r,Jb as a,Kb as E,Qb as w,Rb as F,T as L,Vd as Q,W as S,Wc as W,Y as N,Yd as ne,Zc as A,aa as U,db as P,e as h,ec as f,fa as H,ja as V,kb as q,la as j,n as k,na as p,o as _,p as x,qb as d,rc as O,sd as J,t as y,v as R,vb as l}from"./chunk-DZT5XHBQ.js";import{j as u}from"./chunk-7DCB7DB2.js";var C=class{};var Be=new j("baseURL"),b=class n extends C{connection;_cache=new Map;_Data=new h({});Data=this._Data.asObservable();previousCountByEpc={};httpService=p(ne);toastService=p(Q);_isConnected=new h(!1);isConnected=this._isConnected.asObservable();_bufferTime=new h(100);set bufferTime(i){this._bufferTime.next(i)}get bufferTime(){return this._bufferTime.getValue()}intializeWebSocket(i="/"){return u(this,null,function*(){if(i.length<=0){this.toastService.error("RFID URL cannot be empty",g.Error);return}this.connection=new K().withUrl(i).configureLogging(z.Information).build();try{yield this.connection.start(),yield this.initiateGroupSubscription(),this.onWebSocketMessageReceived(),this._isConnected.next(!0),this.toastService.success("RFID Connected",g.Success)}catch(t){throw this._isConnected.next(!1),this.toastService.error(JSON.stringify(t),g.Error),setTimeout(()=>this.intializeWebSocket(),5e3),new Error(JSON.stringify(t))}})}initiateGroupSubscription(){return u(this,null,function*(){try{yield this.connection.invoke("SubscribeGroup",{CurrentID:"TransferOrder"})}catch(i){throw this.toastService.error(JSON.stringify(i),g.Error),new Error(JSON.stringify(i))}})}onWebSocketMessageReceived(){try{this.connection.on("ReceiveSignal",i=>{this._Data.next(i)})}catch(i){throw new Error(JSON.stringify(i))}}getVariantByCode(i,t=M.GuidEmpty){let e=[{key:"Code",value:i},{key:"EntityID",value:t}];return this.httpService.get(ce.GetVariantByCode,e).pipe(B(o=>o instanceof J?_(null):x(()=>new Error(o.message))))}processGroupedData(i=M.GuidEmpty){return this._Data.pipe(D(t=>t!==null&&t&&Object.keys(t).length>0),G(this._bufferTime.getValue()),R(t=>k(t)),L(t=>t.epc),R(t=>t.pipe(S((e,o)=>[...e,o],[]),U(e=>{let o=t.key;if(this._cache.has(o))return this._cache.get(o).pipe(y(c=>({epc:o,items:e,response:c})));{let c=this.getVariantByCode(o,i).pipe(D(m=>m),H(m=>this._cache.set(o,_(m))));return this._cache.set(o,c),c.pipe(y(m=>({epc:o,items:e,response:m})))}}))),S((t,e)=>{let o=this.previousCountByEpc&&this.previousCountByEpc[e.epc]||0,c=e.items.length,m=c-o;return t[e.epc]={data:e.items,count:m,variant:e.response},this.previousCountByEpc[e.epc]=c,t},{}),N({bufferSize:1,refCount:!0}))}constructor(){super()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=V({token:n,factory:n.\u0275fac,providedIn:"root"})};var me=n=>({"is-invalid":n});function ue(n,i){n&1&&(r(0,"span"),f(1,"Host URL is required."),a())}function de(n,i){if(n&1&&(r(0,"div",6),d(1,ue,2,0,"span",8),E(2,"span"),a()),n&2){let t,e=F();s(),l("ngIf",(t=e.form.get("hostURL").errors)==null?null:t.required)}}function ge(n,i){n&1&&(r(0,"span"),f(1,"Host URL is required."),a())}function he(n,i){n&1&&(r(0,"span"),f(1,"BufferTime must be at least 100"),a())}function ve(n,i){if(n&1&&(r(0,"div",6),d(1,ge,2,0,"span",8)(2,he,2,0,"span",8),a()),n&2){let t,e,o=F();s(),l("ngIf",(t=o.form.get("bufferTime").errors)==null?null:t.required),s(),l("ngIf",(e=o.form.get("bufferTime").errors)==null?null:e.min)}}var fe=class n{constructor(i){this.dialogRef=i;this.form=this.fb.group({hostURL:["https://localhost:5001/rfidhub",[v.required]],bufferTime:["100",[v.required,v.min(100)]]},{updateOn:"change"}),this.config.title="Connect RFID",this.config.customWidth="400px"}config=new ae;isConnect=new I(!1);RFIDConnectionService=p(b);fb=p(te);onOK=new I;form;ok(){return u(this,null,function*(){this.onOK.emit(this.form.value),this.dialogRef.close("void")})}close(){this.dialogRef.close()}onBlur(i){this.form.patchValue({bufferTime:Number(i.value)})}static \u0275fac=function(t){return new(t||n)(P(oe))};static \u0275cmp=q({type:n,selectors:[["POS-dialog-connect-rfid"]],outputs:{onOK:"onOK"},decls:15,vars:12,consts:[[3,"onCancel","onClose","onOk","dynamicValidated","config"],[1,"d-flex","flex-column",2,"row-gap","1rem"],[1,"fw-normal"],[1,"form-floating-outline",3,"formGroup"],["formControlName","hostURL","id","floatingInput","placeholder","https://localhost:5030/rfidhub","type","text",1,"form-control",3,"ngClass"],["for","floatingInput"],["id","",1,"invalid-feedback"],["formControlName","bufferTime","id","floatingInput","placeholder","100","type","text",1,"form-control",3,"blur","ngClass"],[4,"ngIf"]],template:function(t,e){t&1&&(r(0,"modal-material",0),w("onCancel",function(){return e.close()})("onClose",function(){return e.close()})("onOk",function(){return e.ok()}),r(1,"content")(2,"div",1)(3,"h4",2),f(4,"Please input the RFID Host URL:"),a(),r(5,"div",3),E(6,"input",4),r(7,"label",5),f(8,"Host URL"),a(),d(9,de,3,1,"div",6),a(),r(10,"div",3)(11,"input",7),w("blur",function(){return e.onBlur(e.form.get("bufferTime"))}),a(),r(12,"label",5),f(13,"Buffer Time (ms)"),a(),d(14,ve,3,2,"div",6),a()()()()),t&2&&(l("dynamicValidated",e.form.valid)("config",e.config),s(5),l("formGroup",e.form),s(),l("ngClass",O(8,me,e.form.invalid&&e.form.touched)),s(3),T(e.form.get("hostURL").invalid&&e.form.get("hostURL").touched?9:-1),s(),l("formGroup",e.form),s(),l("ngClass",O(10,me,e.form.invalid&&e.form.touched)),s(3),T(e.form.get("bufferTime").invalid&&e.form.get("bufferTime").touched?14:-1))},dependencies:[le,se,re,A,ie,X,Y,Z,$,ee,W],styles:[".form-control.is-invalid[_ngcontent-%COMP%]:focus{box-shadow:none!important}"]})};export{C as a,b,fe as c};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-3K4MFJZI.js";import{K as a}from"./chunk-DZT5XHBQ.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
1
+ import{a as r}from"./chunk-6AGUBOKS.js";import{K as a}from"./chunk-DZT5XHBQ.js";var s=class extends r{constructor(t,e,o,n){super(t);this.httpService=e;let p=this.getInfoID(n);this.menuData$.pipe(a(()=>this.getBindDataObservable(o,p))).subscribe({next:i=>{this.bindData(i),this.postBindData(i)}})}data;getInfoID(t){return t.snapshot.queryParams.ID}getBindDataObservable(t,e){return this.httpService.post(`/API/${t}`,{ID:e})}bindData(t){this.data=t}postBindData(t){}};export{s as a};
@@ -1 +1 @@
1
- import{a as E,b as T}from"./chunk-SJGFFKA7.js";import{c as N}from"./chunk-UBVYDOUF.js";import{c as F}from"./chunk-CIBQBSM6.js";import{F as M}from"./chunk-2RSBMS36.js";import{$a as i,Fa as b,Ib as a,Jb as s,Ob as f,Qb as x,Rb as r,Yc as I,Zc as w,ec as d,gc as _,jd as y,ka as C,kb as k,lb as v,qb as m,va as h,vb as c,wa as g,zb as O}from"./chunk-DZT5XHBQ.js";var p=class{viewGrid;totalColumn;constructor(t,e){this.viewGrid=t||!1,this.totalColumn=e||2}};function S(o,t){if(o&1){let e=f();a(0,"li",4)(1,"mat-checkbox",5),x("change",function(){let l=h(e).$implicit,u=r(2);return g(u.change(l.ID))}),d(2),s()()}if(o&2){let e=t.$implicit,n=r(2);i(),c("checked",n.checkingCheckbox(e.ID))("value",e.ID)("name",n.name),i(),_("",e.Name," ")}}function V(o,t){if(o&1&&(a(0,"ul",2),m(1,S,3,4,"li",3),s()),o&2){let e=r();i(),c("ngForOf",e.options)}}function $(o,t){if(o&1){let e=f();a(0,"li",4)(1,"mat-checkbox",8),x("change",function(){let l=h(e).$implicit,u=r(2);return g(u.change(l.ID))}),d(2),s()()}if(o&2){let e=t.$implicit,n=r(2);O("col-"+12/(n.config!=null&&n.config.totalColumn?n.config==null?null:n.config.totalColumn:2)),i(),c("checked",n.checkingCheckbox(e.ID))("value",e.ID)("name",n.name),i(),_("",e.Name," ")}}function G(o,t){if(o&1&&(a(0,"ul",6),m(1,$,3,6,"li",7),s()),o&2){let e=r();i(),c("ngForOf",e.options)}}var D=class o{model;options;name;config;modelChange=new b;ngOnInit(){this.config==null&&(this.config=new p)}change(t){this.checkingCheckbox(t)?this.model=this.removeItemRow(this.model,t):this.model.push(t),this.modelChange.emit(this.model)}checkingCheckbox(t){return this.model.filter(n=>n==t).length>0}removeItemRow(t,e){let n=t.findIndex(l=>l==e);return t.splice(n,1),t}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=k({type:o,selectors:[["checkbox-options"]],inputs:{model:"model",options:"options",name:"name",config:"config"},outputs:{modelChange:"modelChange"},standalone:!1,decls:2,vars:2,consts:[["class","checkbox-group",4,"ngIf"],["class","checkbox-group view-grid row",4,"ngIf"],[1,"checkbox-group"],["class","checkbox-group-item",4,"ngFor","ngForOf"],[1,"checkbox-group-item"],[3,"change","checked","value","name"],[1,"checkbox-group","view-grid","row"],["class","checkbox-group-item",3,"class",4,"ngFor","ngForOf"],[1,"label-custom",3,"change","checked","value","name"]],template:function(e,n){e&1&&m(0,V,2,1,"ul",0)(1,G,2,1,"ul",1),e&2&&(c("ngIf",!n.config.viewGrid),i(),c("ngIf",n.config.viewGrid))},dependencies:[E,I,w],encapsulation:2})},R=class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=v({type:o});static \u0275inj=C({imports:[N,T,y,M,F]})};export{p as a,D as b,R as c};
1
+ import{a as E,b as T}from"./chunk-EAENAZFY.js";import{c as N}from"./chunk-L3BBA7TR.js";import{c as F}from"./chunk-CIBQBSM6.js";import{F as M}from"./chunk-2RSBMS36.js";import{$a as i,Fa as b,Ib as a,Jb as s,Ob as f,Qb as x,Rb as r,Yc as I,Zc as w,ec as d,gc as _,jd as y,ka as C,kb as k,lb as v,qb as m,va as h,vb as c,wa as g,zb as O}from"./chunk-DZT5XHBQ.js";var p=class{viewGrid;totalColumn;constructor(t,e){this.viewGrid=t||!1,this.totalColumn=e||2}};function S(o,t){if(o&1){let e=f();a(0,"li",4)(1,"mat-checkbox",5),x("change",function(){let l=h(e).$implicit,u=r(2);return g(u.change(l.ID))}),d(2),s()()}if(o&2){let e=t.$implicit,n=r(2);i(),c("checked",n.checkingCheckbox(e.ID))("value",e.ID)("name",n.name),i(),_("",e.Name," ")}}function V(o,t){if(o&1&&(a(0,"ul",2),m(1,S,3,4,"li",3),s()),o&2){let e=r();i(),c("ngForOf",e.options)}}function $(o,t){if(o&1){let e=f();a(0,"li",4)(1,"mat-checkbox",8),x("change",function(){let l=h(e).$implicit,u=r(2);return g(u.change(l.ID))}),d(2),s()()}if(o&2){let e=t.$implicit,n=r(2);O("col-"+12/(n.config!=null&&n.config.totalColumn?n.config==null?null:n.config.totalColumn:2)),i(),c("checked",n.checkingCheckbox(e.ID))("value",e.ID)("name",n.name),i(),_("",e.Name," ")}}function G(o,t){if(o&1&&(a(0,"ul",6),m(1,$,3,6,"li",7),s()),o&2){let e=r();i(),c("ngForOf",e.options)}}var D=class o{model;options;name;config;modelChange=new b;ngOnInit(){this.config==null&&(this.config=new p)}change(t){this.checkingCheckbox(t)?this.model=this.removeItemRow(this.model,t):this.model.push(t),this.modelChange.emit(this.model)}checkingCheckbox(t){return this.model.filter(n=>n==t).length>0}removeItemRow(t,e){let n=t.findIndex(l=>l==e);return t.splice(n,1),t}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=k({type:o,selectors:[["checkbox-options"]],inputs:{model:"model",options:"options",name:"name",config:"config"},outputs:{modelChange:"modelChange"},standalone:!1,decls:2,vars:2,consts:[["class","checkbox-group",4,"ngIf"],["class","checkbox-group view-grid row",4,"ngIf"],[1,"checkbox-group"],["class","checkbox-group-item",4,"ngFor","ngForOf"],[1,"checkbox-group-item"],[3,"change","checked","value","name"],[1,"checkbox-group","view-grid","row"],["class","checkbox-group-item",3,"class",4,"ngFor","ngForOf"],[1,"label-custom",3,"change","checked","value","name"]],template:function(e,n){e&1&&m(0,V,2,1,"ul",0)(1,G,2,1,"ul",1),e&2&&(c("ngIf",!n.config.viewGrid),i(),c("ngIf",n.config.viewGrid))},dependencies:[E,I,w],encapsulation:2})},R=class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=v({type:o});static \u0275inj=C({imports:[N,T,y,M,F]})};export{p as a,D as b,R as c};
@@ -1 +1 @@
1
- import{c as F,d as H}from"./chunk-645U43U6.js";import{a as N,b as P}from"./chunk-C73IEBHE.js";import{la as E}from"./chunk-TLOTIYIE.js";import{F as k,h as j,o as A}from"./chunk-2RSBMS36.js";import{a as G}from"./chunk-AHCRE4GP.js";import{$a as p,Ac as L,Fa as v,Ib as u,Jb as i,Qb as _,Rb as w,Y as g,Yd as s,Zc as M,ca as S,cd as x,d as f,db as a,ec as h,fa as b,gc as T,ja as I,jd as $,kb as y,na as C,o as O,qb as d,vb as m,zc as D}from"./chunk-DZT5XHBQ.js";var c=class l{http=C(s);onOpenTreeSelector$=new f;outletGroups$=this.onOpenTreeSelector$.pipe(S(e=>e.length?O(e):this.http.get("/API/outlet/ActiveOptions"),[]),g(1));constructor(){}loadOutletGroups(){this.onOpenTreeSelector$.next()}static \u0275fac=function(t){return new(t||l)};static \u0275prov=I({token:l,factory:l.\u0275fac,providedIn:"root"})};function q(l,e){if(l&1&&(u(0,"div"),h(1),i()),l&2){let t=w();p(),T(" ",t.selectedOutletGroupLabel," ")}}function z(l,e){l&1&&(u(0,"label",4),h(1,"Outlet Group"),i())}var R=class l{constructor(e,t){this.http=e;this.outletGroup=t}outletGroups=[];showClear=!1;showLabel=!1;selectedOutletGroup;selectedOutletGroupID;selectedOutletGroupIDChange=new v;selectedOutletGroupLabel;isLoadOutletGroups=!1;top=0;outletGroups$;ngAfterViewInit(){let e=document.querySelector("body");this.top=e.getBoundingClientRect().top*-1}ngOnInit(){this.outletGroups.length>0&&(G.IsEmpty(this.selectedOutletGroupID)&&(this.selectedOutletGroupID=this.outletGroups[0]?.key),this.selectedOutletGroup=this.findSelectedOutletGroup(this.outletGroups,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)),this.outletGroups$=this.outletGroup.outletGroups$.pipe(b(e=>{console.log(e),this.selectedOutletGroup=this.findSelectedOutletGroup(e,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)}))}onSelectOutletGroup(e){this.selectedOutletGroup=e,this.generateLabelSelectedOutletGroup(this.selectedOutletGroup),this.selectedOutletGroupID=e?.key,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}generateLabelSelectedOutletGroup(e){if(e){let t=[];this.selectedOutletGroupLabel="";do t=[...t,e.label],e=e.parent;while(e!==void 0);this.selectedOutletGroupLabel=t.reverse().join("/")}else this.selectedOutletGroupLabel="Select OutletGroup"}findSelectedOutletGroup(e,t){if(G.IsNotEmpty(t))for(let o of e){if(o.key===t)return o;{o.children=o.children?o.children:[],o.children=o.children.map(n=>(n.parent=o,n));let r=this.findSelectedOutletGroup(o.children,t);if(r)return r}}else return null}loadOutletGroups(){let e=document.querySelector(".p-overlay.p-component"),t=this.top+e.getBoundingClientRect().top,o=e.getAttribute("style")||"";e.setAttribute("style",`${o} top: ${t+this.top}px;`),this.outletGroup.loadOutletGroups()}onClear(){this.selectedOutletGroupID=null,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}static \u0275fac=function(t){return new(t||l)(a(s),a(c))};static \u0275cmp=y({type:l,selectors:[["POS-outlet-group-tree-select"]],inputs:{outletGroups:"outletGroups",showClear:"showClear",showLabel:"showLabel",selectedOutletGroupID:"selectedOutletGroupID"},outputs:{selectedOutletGroupIDChange:"selectedOutletGroupIDChange"},decls:5,vars:6,consts:[["variant","on",1,"w-full","md:w-80"],["appendTo","body","inputId","selectOutletGroup","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectOutletGroup",3,"click","ngModelChange","onClear","options","ngModel","showClear"],["pTemplate","value"],["for","selectOutletGroup",4,"ngIf"],["for","selectOutletGroup"]],template:function(t,o){t&1&&(u(0,"p-floatlabel",0)(1,"p-treeSelect",1),D(2,"async"),_("click",function(){return o.loadOutletGroups()})("ngModelChange",function(n){return o.onSelectOutletGroup(n)})("onClear",function(){return o.onClear()}),d(3,q,2,1,"ng-template",2),i(),d(4,z,2,0,"label",3),i()),t&2&&(p(),m("options",L(2,4,o.outletGroups$))("ngModel",o.selectedOutletGroup)("showClear",o.showClear),p(3),m("ngIf",o.showLabel))},dependencies:[$,M,x,H,F,E,k,j,A,P,N],styles:[".p-overlay.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important}"]})};export{R as a};
1
+ import{c as F,d as H}from"./chunk-72JSQO47.js";import{a as N,b as P}from"./chunk-C73IEBHE.js";import{la as E}from"./chunk-TLOTIYIE.js";import{F as k,h as j,o as A}from"./chunk-2RSBMS36.js";import{a as G}from"./chunk-AHCRE4GP.js";import{$a as p,Ac as L,Fa as v,Ib as u,Jb as i,Qb as _,Rb as w,Y as g,Yd as s,Zc as M,ca as S,cd as x,d as f,db as a,ec as h,fa as b,gc as T,ja as I,jd as $,kb as y,na as C,o as O,qb as d,vb as m,zc as D}from"./chunk-DZT5XHBQ.js";var c=class l{http=C(s);onOpenTreeSelector$=new f;outletGroups$=this.onOpenTreeSelector$.pipe(S(e=>e.length?O(e):this.http.get("/API/outlet/ActiveOptions"),[]),g(1));constructor(){}loadOutletGroups(){this.onOpenTreeSelector$.next()}static \u0275fac=function(t){return new(t||l)};static \u0275prov=I({token:l,factory:l.\u0275fac,providedIn:"root"})};function q(l,e){if(l&1&&(u(0,"div"),h(1),i()),l&2){let t=w();p(),T(" ",t.selectedOutletGroupLabel," ")}}function z(l,e){l&1&&(u(0,"label",4),h(1,"Outlet Group"),i())}var R=class l{constructor(e,t){this.http=e;this.outletGroup=t}outletGroups=[];showClear=!1;showLabel=!1;selectedOutletGroup;selectedOutletGroupID;selectedOutletGroupIDChange=new v;selectedOutletGroupLabel;isLoadOutletGroups=!1;top=0;outletGroups$;ngAfterViewInit(){let e=document.querySelector("body");this.top=e.getBoundingClientRect().top*-1}ngOnInit(){this.outletGroups.length>0&&(G.IsEmpty(this.selectedOutletGroupID)&&(this.selectedOutletGroupID=this.outletGroups[0]?.key),this.selectedOutletGroup=this.findSelectedOutletGroup(this.outletGroups,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)),this.outletGroups$=this.outletGroup.outletGroups$.pipe(b(e=>{console.log(e),this.selectedOutletGroup=this.findSelectedOutletGroup(e,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)}))}onSelectOutletGroup(e){this.selectedOutletGroup=e,this.generateLabelSelectedOutletGroup(this.selectedOutletGroup),this.selectedOutletGroupID=e?.key,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}generateLabelSelectedOutletGroup(e){if(e){let t=[];this.selectedOutletGroupLabel="";do t=[...t,e.label],e=e.parent;while(e!==void 0);this.selectedOutletGroupLabel=t.reverse().join("/")}else this.selectedOutletGroupLabel="Select OutletGroup"}findSelectedOutletGroup(e,t){if(G.IsNotEmpty(t))for(let o of e){if(o.key===t)return o;{o.children=o.children?o.children:[],o.children=o.children.map(n=>(n.parent=o,n));let r=this.findSelectedOutletGroup(o.children,t);if(r)return r}}else return null}loadOutletGroups(){let e=document.querySelector(".p-overlay.p-component"),t=this.top+e.getBoundingClientRect().top,o=e.getAttribute("style")||"";e.setAttribute("style",`${o} top: ${t+this.top}px;`),this.outletGroup.loadOutletGroups()}onClear(){this.selectedOutletGroupID=null,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}static \u0275fac=function(t){return new(t||l)(a(s),a(c))};static \u0275cmp=y({type:l,selectors:[["POS-outlet-group-tree-select"]],inputs:{outletGroups:"outletGroups",showClear:"showClear",showLabel:"showLabel",selectedOutletGroupID:"selectedOutletGroupID"},outputs:{selectedOutletGroupIDChange:"selectedOutletGroupIDChange"},decls:5,vars:6,consts:[["variant","on",1,"w-full","md:w-80"],["appendTo","body","inputId","selectOutletGroup","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectOutletGroup",3,"click","ngModelChange","onClear","options","ngModel","showClear"],["pTemplate","value"],["for","selectOutletGroup",4,"ngIf"],["for","selectOutletGroup"]],template:function(t,o){t&1&&(u(0,"p-floatlabel",0)(1,"p-treeSelect",1),D(2,"async"),_("click",function(){return o.loadOutletGroups()})("ngModelChange",function(n){return o.onSelectOutletGroup(n)})("onClear",function(){return o.onClear()}),d(3,q,2,1,"ng-template",2),i(),d(4,z,2,0,"label",3),i()),t&2&&(p(),m("options",L(2,4,o.outletGroups$))("ngModel",o.selectedOutletGroup)("showClear",o.showClear),p(3),m("ngIf",o.showLabel))},dependencies:[$,M,x,H,F,E,k,j,A,P,N],styles:[".p-overlay.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important}"]})};export{R as a};
@@ -1 +1 @@
1
- import{a as P}from"./chunk-VSZGQHVN.js";import{a as w}from"./chunk-GY4HUPHP.js";import{a as A}from"./chunk-3K4MFJZI.js";import{a as C}from"./chunk-6ZOGADBZ.js";import{a as I}from"./chunk-D35OBUDE.js";import{a as l}from"./chunk-2FWFPV5I.js";import{a as c}from"./chunk-AHCRE4GP.js";import{fa as y,na as f,t as L,z as S}from"./chunk-DZT5XHBQ.js";import{a as F}from"./chunk-7DCB7DB2.js";var g=class{enabledDragItem;constructor(){this.enabledDragItem=!1}drop(o,t){C(t.Data,o.previousIndex,o.currentIndex)}toggleEnabledDragItem(){}onSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.postListID(o,t.data.Data)}onPutSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.putListID(o,t.data.Data)}};var u=class{constructor(o){this.httpService=o}exportCSV(o,t,e,i){e.pageData.Filter.Export=!0,e.pageData.Filter.FormatType=0,i=i||"export.csv",this.httpService.post(`/api/${t}`,e.pageData.Filter).subscribe(r=>{o.convertToCSV(r,i),e.pageData.Filter.Export=!1})}convertToCSV(o,t=!1,e){let i=this.ExportDataFromUI2(t);o.convertToCSV(i,e)}ExportDataFromUI2(o=!1){let t=document.getElementById("tableGrid"),e=[];return c.IsNotEmpty(t)&&t.querySelectorAll("tr").forEach(r=>{let a=new Object,s=0;r.querySelectorAll("th, td").forEach(n=>{s++;let b=parseInt(n.getAttribute("colspan"));for(let h=1;h<b;h++)a["column"+s]="",s++;let m=n.innerText,v=m.toString().split("");if(o&&v[0]==="0"&&v.length>1){let h="'"+m.trim();a["column"+s]=h}else a["column"+s]=m.trim()}),e.push(a)}),e}};var d=class{listTotal;pageSize;show;constructor(){this.listTotal=0,this.pageSize=0,this.show=!1}changePaginationData(o){this.pageSize=o.pageData.Filter.RowCount,this.listTotal=o.data?.ListTotal??o.data?.Data?.total?.value,this.show=this.pageSize<=this.listTotal}changePage(o,t,e){t.Filter.PageNumber=o.pageIndex+1,e.getListData()}};var x=class extends A{constructor(t,e,i,r,a,s,p){super(t);this.httpService=e;this.dataAPI=i;this.pageAPI=r;this.toastrService=a;this.route=s;this.initOpenDialog=p;this.exportHandler=new u(e),r?(s&&(this.loaderPayload=F({ListIDs:this.reportFilterService?.initOutletFilter()},s.snapshot.queryParams)),this.preInitLoader(),S([this.menuData$,this.httpService.post("/api/"+this.pageAPI,this.loaderPayload)]).pipe(L(([n,b])=>b)).pipe(I()).subscribe(n=>{this.pageData=n,this.pageData.Filter||(this.pageData.Filter={},this.pageData.Filter.RowCount=20),this.pageData.Filter.PageNumber=1,this.pageData.Filter.ID=this.loaderPayload.ID,this.preInitList(),p?this.openDialogFilter.openDialog():this.getListData()})):(this.pageData.Filter.RowCount=20,this.pageData.Filter.PageNumber=1,this.preInitList(),S({menuData:this.menuData$,listData:this.getListData$()}).pipe(I()).subscribe())}openDialogFilter=f(w);reportFilterService=f(P);pageData={Filter:{},Options:{},Roles:{},Config:{}};data;pagination=new d;dragDrop=new g;exportHandler;comparation=0;loaderPayload={};preInitLoader(){}preInitList(){}getListData(t){this.preGetList(),this.dataAPI&&this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).subscribe(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)})}getListData$(t){return this.preGetList(),this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).pipe(y(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)}))}searchFromPageOne(){this.preSearchFromPageOne(),this.pageData.Filter.PageNumber=1,this.getListData("filterMode")}postInit(t){t.PageTitle!=null&&(this.menuData.H=t.PageTitle)}preGetList(){this.pageData.Filter.From==null&&(this.pageData.Filter.From=c.MinDate),this.pageData.Filter.To==null&&(this.pageData.Filter.To=c.MinDate)}preSearchFromPageOne(){}onPaginationChange(t){this.pagination.changePage(t,this.pageData,this)}onSelectAllData(t){this.data.Data=this.data.Data.map(e=>(e.selected=t,e))}getSelectedData(){let t=[];return this.data&&(t=this.data.Data.filter(e=>e.selected)),t}httpPostListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.postListID(t,r,i)}httpPutListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.putListID(t,r,i)}httpDeleteListID(t,e,i){if(e||(e="Are you sure you want to delete selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.DeleteListID(t,r,i)}onSaveDragAndDrop(t){this.dragDrop.onSaveDragAndDrop(t,this)}onPutSaveDragAndDrop(t){this.dragDrop.onPutSaveDragAndDrop(t,this)}postListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.post(`/api/${t}`,r,1e6,!0).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()},a=>{let s=a.status+" "+a.statusText;this.toastrService.error(a.error.Message!=""?a.error.Message:"An unknown error has occured!",s,{enableHtml:!0})})}putListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.put(`/api/${t}`,r).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.afterPutListSuccess(),this.getListData()})}afterPutListSuccess(){}DeleteListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.delete(`/api/${t}`,{body:r}).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()})}postData(t,e){this.httpService.post("/API/"+t,e).subscribe(i=>{this.getListData(),this.toastrService.success(i.Message?i.Message:i,l.Success)})}compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}exportCSV(t,e,i){this.exportHandler.exportCSV(t,e,this,i)}s2ab(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),r=0;r!=t.length;++r)i[r]=t.charCodeAt(r)&255;return e}exportXlsx(t,e){this.pageData.Filter.FormatType=1,this.pageData.Filter.Export=!0,this.httpService.post(`/api/${t}`,this.pageData.Filter).subscribe(i=>{e=decodeURI(e);let r=window.URL.createObjectURL(new Blob([this.s2ab(atob(i))],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"})),a=document.createElement("a");a.href=r,a.setAttribute("download",e),document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(r),a.remove()})}convertToCSV(t,e=!1,i){let r=this.exportHandler.ExportDataFromUI2(e);t.convertToCSV(r,i)}OnCompare(t){let e=t?this.data[t]:this.data;if(e.length<1)return;let i=Object.assign({},this.pageData.Filter);i.From=new Date(new Date(this.pageData.Filter.From).getFullYear(),new Date(this.pageData.Filter.From).getMonth()-1,1),i.To=new Date(new Date(this.pageData.Filter.To).getFullYear(),new Date(this.pageData.Filter.To).getMonth(),0).toDateString(),this.httpService.post("/API/"+this.dataAPI,i).subscribe(r=>{let a=t?r[t]:r;this.comparation=0,e.forEach(s=>{s.PrevIndex="-",s.CurrentIndex="-",s.Increase="-";let p=a.filter(n=>n.EntityID==s.EntityID);if(s.CurrentIndex=s.Rank,p.length>0){let n=p[0];s.PrevIndex=n.Rank,n.SalesNet?s.Increase=(s.SalesNet-n.SalesNet)/n.SalesNet*100:n.Sales&&(s.Increase=(s.Sales-n.Sales)/n.Sales*100),s.IsPositive=s.Increase>0,s.IsNegative=s.Increase<0,this.comparation+=s.Increase}})})}};export{x as a};
1
+ import{a as P}from"./chunk-6Q7RLLZ7.js";import{a as w}from"./chunk-ROWX7LQD.js";import{a as A}from"./chunk-6AGUBOKS.js";import{a as C}from"./chunk-6ZOGADBZ.js";import{a as I}from"./chunk-ZZ7LHETD.js";import{a as l}from"./chunk-2FWFPV5I.js";import{a as c}from"./chunk-AHCRE4GP.js";import{fa as y,na as f,t as L,z as S}from"./chunk-DZT5XHBQ.js";import{a as F}from"./chunk-7DCB7DB2.js";var g=class{enabledDragItem;constructor(){this.enabledDragItem=!1}drop(o,t){C(t.Data,o.previousIndex,o.currentIndex)}toggleEnabledDragItem(){}onSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.postListID(o,t.data.Data)}onPutSaveDragAndDrop(o,t){this.enabledDragItem=!this.enabledDragItem,this.enabledDragItem||t.putListID(o,t.data.Data)}};var u=class{constructor(o){this.httpService=o}exportCSV(o,t,e,i){e.pageData.Filter.Export=!0,e.pageData.Filter.FormatType=0,i=i||"export.csv",this.httpService.post(`/api/${t}`,e.pageData.Filter).subscribe(r=>{o.convertToCSV(r,i),e.pageData.Filter.Export=!1})}convertToCSV(o,t=!1,e){let i=this.ExportDataFromUI2(t);o.convertToCSV(i,e)}ExportDataFromUI2(o=!1){let t=document.getElementById("tableGrid"),e=[];return c.IsNotEmpty(t)&&t.querySelectorAll("tr").forEach(r=>{let a=new Object,s=0;r.querySelectorAll("th, td").forEach(n=>{s++;let b=parseInt(n.getAttribute("colspan"));for(let h=1;h<b;h++)a["column"+s]="",s++;let m=n.innerText,v=m.toString().split("");if(o&&v[0]==="0"&&v.length>1){let h="'"+m.trim();a["column"+s]=h}else a["column"+s]=m.trim()}),e.push(a)}),e}};var d=class{listTotal;pageSize;show;constructor(){this.listTotal=0,this.pageSize=0,this.show=!1}changePaginationData(o){this.pageSize=o.pageData.Filter.RowCount,this.listTotal=o.data?.ListTotal??o.data?.Data?.total?.value,this.show=this.pageSize<=this.listTotal}changePage(o,t,e){t.Filter.PageNumber=o.pageIndex+1,e.getListData()}};var x=class extends A{constructor(t,e,i,r,a,s,p){super(t);this.httpService=e;this.dataAPI=i;this.pageAPI=r;this.toastrService=a;this.route=s;this.initOpenDialog=p;this.exportHandler=new u(e),r?(s&&(this.loaderPayload=F({ListIDs:this.reportFilterService?.initOutletFilter()},s.snapshot.queryParams)),this.preInitLoader(),S([this.menuData$,this.httpService.post("/api/"+this.pageAPI,this.loaderPayload)]).pipe(L(([n,b])=>b)).pipe(I()).subscribe(n=>{this.pageData=n,this.pageData.Filter||(this.pageData.Filter={},this.pageData.Filter.RowCount=20),this.pageData.Filter.PageNumber=1,this.pageData.Filter.ID=this.loaderPayload.ID,this.preInitList(),p?this.openDialogFilter.openDialog():this.getListData()})):(this.pageData.Filter.RowCount=20,this.pageData.Filter.PageNumber=1,this.preInitList(),S({menuData:this.menuData$,listData:this.getListData$()}).pipe(I()).subscribe())}openDialogFilter=f(w);reportFilterService=f(P);pageData={Filter:{},Options:{},Roles:{},Config:{}};data;pagination=new d;dragDrop=new g;exportHandler;comparation=0;loaderPayload={};preInitLoader(){}preInitList(){}getListData(t){this.preGetList(),this.dataAPI&&this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).subscribe(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)})}getListData$(t){return this.preGetList(),this.httpService.post("/api/"+this.dataAPI,this.pageData.Filter).pipe(y(e=>{this.data=e,this.postInit(e),this.pagination.changePaginationData(this),t&&(this.pageData.HideStoreApiCount=!1)}))}searchFromPageOne(){this.preSearchFromPageOne(),this.pageData.Filter.PageNumber=1,this.getListData("filterMode")}postInit(t){t.PageTitle!=null&&(this.menuData.H=t.PageTitle)}preGetList(){this.pageData.Filter.From==null&&(this.pageData.Filter.From=c.MinDate),this.pageData.Filter.To==null&&(this.pageData.Filter.To=c.MinDate)}preSearchFromPageOne(){}onPaginationChange(t){this.pagination.changePage(t,this.pageData,this)}onSelectAllData(t){this.data.Data=this.data.Data.map(e=>(e.selected=t,e))}getSelectedData(){let t=[];return this.data&&(t=this.data.Data.filter(e=>e.selected)),t}httpPostListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.postListID(t,r,i)}httpPutListID(t,e,i){if(e||(e="Are you sure you want to selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.putListID(t,r,i)}httpDeleteListID(t,e,i){if(e||(e="Are you sure you want to delete selected record/s?"),confirm(e)==!1)return;let r=this.getSelectedData();r.length>0&&this.DeleteListID(t,r,i)}onSaveDragAndDrop(t){this.dragDrop.onSaveDragAndDrop(t,this)}onPutSaveDragAndDrop(t){this.dragDrop.onPutSaveDragAndDrop(t,this)}postListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.post(`/api/${t}`,r,1e6,!0).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()},a=>{let s=a.status+" "+a.statusText;this.toastrService.error(a.error.Message!=""?a.error.Message:"An unknown error has occured!",s,{enableHtml:!0})})}putListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.put(`/api/${t}`,r).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.afterPutListSuccess(),this.getListData()})}afterPutListSuccess(){}DeleteListID(t,e,i){let r=e.map(a=>i?a[i]:a.ID);this.httpService.delete(`/api/${t}`,{body:r}).subscribe(a=>{this.toastrService.success(a.Message?a.Message:a,l.Success),this.getListData()})}postData(t,e){this.httpService.post("/API/"+t,e).subscribe(i=>{this.getListData(),this.toastrService.success(i.Message?i.Message:i,l.Success)})}compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}exportCSV(t,e,i){this.exportHandler.exportCSV(t,e,this,i)}s2ab(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),r=0;r!=t.length;++r)i[r]=t.charCodeAt(r)&255;return e}exportXlsx(t,e){this.pageData.Filter.FormatType=1,this.pageData.Filter.Export=!0,this.httpService.post(`/api/${t}`,this.pageData.Filter).subscribe(i=>{e=decodeURI(e);let r=window.URL.createObjectURL(new Blob([this.s2ab(atob(i))],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"})),a=document.createElement("a");a.href=r,a.setAttribute("download",e),document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(r),a.remove()})}convertToCSV(t,e=!1,i){let r=this.exportHandler.ExportDataFromUI2(e);t.convertToCSV(r,i)}OnCompare(t){let e=t?this.data[t]:this.data;if(e.length<1)return;let i=Object.assign({},this.pageData.Filter);i.From=new Date(new Date(this.pageData.Filter.From).getFullYear(),new Date(this.pageData.Filter.From).getMonth()-1,1),i.To=new Date(new Date(this.pageData.Filter.To).getFullYear(),new Date(this.pageData.Filter.To).getMonth(),0).toDateString(),this.httpService.post("/API/"+this.dataAPI,i).subscribe(r=>{let a=t?r[t]:r;this.comparation=0,e.forEach(s=>{s.PrevIndex="-",s.CurrentIndex="-",s.Increase="-";let p=a.filter(n=>n.EntityID==s.EntityID);if(s.CurrentIndex=s.Rank,p.length>0){let n=p[0];s.PrevIndex=n.Rank,n.SalesNet?s.Increase=(s.SalesNet-n.SalesNet)/n.SalesNet*100:n.Sales&&(s.Increase=(s.Sales-n.Sales)/n.Sales*100),s.IsPositive=s.Increase>0,s.IsNegative=s.Increase<0,this.comparation+=s.Increase}})})}};export{x as a};
@@ -1 +1 @@
1
- import{b as P,c as V}from"./chunk-UBVYDOUF.js";import{u as N,v as G,w as L}from"./chunk-7PXSKRVE.js";import{e as A,f as j}from"./chunk-D35OBUDE.js";import{F as R}from"./chunk-2RSBMS36.js";import{$a as o,Ac as k,Bc as E,Db as C,Eb as s,Gb as p,Hb as _,Ib as a,Jb as r,Kb as x,Ma as d,Ob as $,Qb as M,Rb as l,db as T,ec as m,ed as O,fc as g,gc as h,gd as w,jd as B,kb as b,na as I,qb as u,rc as S,va as y,vb as f,wa as v,zb as F,zc as D}from"./chunk-DZT5XHBQ.js";var H=t=>({"text-end":t});function J(t,n){if(t&1&&(a(0,"th"),m(1),r()),t&2){let e=n.$implicit,i=n.$index,c=l();F(S(3,H,e.type=="number")),o(),h(" ",c.headers()[i]," ")}}function K(t,n){if(t&1&&(a(0,"td"),m(1),D(2,"date"),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(E(2,1,i[e.field],"dd MMM yyyy"))}}function Q(t,n){if(t&1&&(a(0,"td",7),m(1),D(2,"number"),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(k(2,1,i[e.field]))}}function U(t,n){if(t&1&&(a(0,"td"),m(1),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(i[e.field])}}function W(t,n){if(t&1&&u(0,K,3,4,"td")(1,Q,3,3,"td",7)(2,U,2,1,"td"),t&2){let e=n.$implicit;C(e.type=="date"?0:e.type=="number"?1:2)}}function X(t,n){if(t&1&&(a(0,"small",6),m(1),r()),t&2){let e=l(2);o(),h("(",e.actionTitle(),")")}}function Y(t,n){if(t&1){let e=$();a(0,"tr")(1,"td")(2,"mat-radio-button",5),M("change",function(){let c=y(e).$implicit,z=l();return v(z.selectedId.set(c.ID))}),r()(),p(3,W,3,1,null,null,s),a(5,"td"),u(6,X,2,1,"small",6),r()()}if(t&2){let e=n.$implicit,i=l();o(2),f("id",e.ID)("checked",i.selectedId()==e.ID)("name",e.ID)("value",e.ID),o(),_(i.columns()),o(3),C(i.selectedId()!=e.ID?6:-1)}}var q=class t{constructor(n){this.dialogData=n;this.data.set(n.data),this.columns.set(n.columns),this.headers.set(n.headers),this.selectedId.set(this.data()[0]?.ID),this.actionTitle.set(n.actionTitle?n.actionTitle:"Deleted"),this.config.title=n.title,this.config.bodyScrollable=!0}dialogRef=I(A);config=new N;selectedId=d(null);data=d([]);actionTitle=d("Deleted");columns=d([]);headers=d([]);onOk(){let n=this.data()?.filter(i=>i.ID!==this.selectedId())?.map(i=>i.ID),e={mergeTarget:this.selectedId(),deleted:n};this.dialogRef.close(e)}onClose(){this.dialogRef.close(!1)}static \u0275fac=function(e){return new(e||t)(T(j))};static \u0275cmp=b({type:t,selectors:[["app-merge-dialog"]],decls:12,vars:2,consts:[[3,"onOk","onCancel","onClose","config","dynamicValidated"],[1,"table"],[1,"thead-light"],[2,"width","5px"],[3,"class"],["color","primary",3,"change","id","checked","name","value"],[1,"fst-italic","ms-2","text-danger"],[1,"text-end"]],template:function(e,i){e&1&&(a(0,"modal-material",0),M("onOk",function(){return i.onOk()})("onCancel",function(){return i.onClose()})("onClose",function(){return i.onClose()}),a(1,"content")(2,"table",1)(3,"thead",2)(4,"tr"),x(5,"th",3),p(6,J,2,5,"th",4,s),x(8,"th"),r()(),a(9,"tbody"),p(10,Y,7,5,"tr",null,s),r()()()()),e&2&&(f("config",i.config)("dynamicValidated",i.selectedId()),o(6),_(i.columns()),o(4),_(i.data()))},dependencies:[B,w,O,L,G,V,P,R],styles:[".radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}"]})};export{q as a};
1
+ import{b as P,c as V}from"./chunk-L3BBA7TR.js";import{u as N,v as G,w as L}from"./chunk-GWHR6QGI.js";import{e as A,f as j}from"./chunk-ZZ7LHETD.js";import{F as R}from"./chunk-2RSBMS36.js";import{$a as o,Ac as k,Bc as E,Db as C,Eb as s,Gb as p,Hb as _,Ib as a,Jb as r,Kb as x,Ma as d,Ob as $,Qb as M,Rb as l,db as T,ec as m,ed as O,fc as g,gc as h,gd as w,jd as B,kb as b,na as I,qb as u,rc as S,va as y,vb as f,wa as v,zb as F,zc as D}from"./chunk-DZT5XHBQ.js";var H=t=>({"text-end":t});function J(t,n){if(t&1&&(a(0,"th"),m(1),r()),t&2){let e=n.$implicit,i=n.$index,c=l();F(S(3,H,e.type=="number")),o(),h(" ",c.headers()[i]," ")}}function K(t,n){if(t&1&&(a(0,"td"),m(1),D(2,"date"),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(E(2,1,i[e.field],"dd MMM yyyy"))}}function Q(t,n){if(t&1&&(a(0,"td",7),m(1),D(2,"number"),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(k(2,1,i[e.field]))}}function U(t,n){if(t&1&&(a(0,"td"),m(1),r()),t&2){let e=l().$implicit,i=l().$implicit;o(),g(i[e.field])}}function W(t,n){if(t&1&&u(0,K,3,4,"td")(1,Q,3,3,"td",7)(2,U,2,1,"td"),t&2){let e=n.$implicit;C(e.type=="date"?0:e.type=="number"?1:2)}}function X(t,n){if(t&1&&(a(0,"small",6),m(1),r()),t&2){let e=l(2);o(),h("(",e.actionTitle(),")")}}function Y(t,n){if(t&1){let e=$();a(0,"tr")(1,"td")(2,"mat-radio-button",5),M("change",function(){let c=y(e).$implicit,z=l();return v(z.selectedId.set(c.ID))}),r()(),p(3,W,3,1,null,null,s),a(5,"td"),u(6,X,2,1,"small",6),r()()}if(t&2){let e=n.$implicit,i=l();o(2),f("id",e.ID)("checked",i.selectedId()==e.ID)("name",e.ID)("value",e.ID),o(),_(i.columns()),o(3),C(i.selectedId()!=e.ID?6:-1)}}var q=class t{constructor(n){this.dialogData=n;this.data.set(n.data),this.columns.set(n.columns),this.headers.set(n.headers),this.selectedId.set(this.data()[0]?.ID),this.actionTitle.set(n.actionTitle?n.actionTitle:"Deleted"),this.config.title=n.title,this.config.bodyScrollable=!0}dialogRef=I(A);config=new N;selectedId=d(null);data=d([]);actionTitle=d("Deleted");columns=d([]);headers=d([]);onOk(){let n=this.data()?.filter(i=>i.ID!==this.selectedId())?.map(i=>i.ID),e={mergeTarget:this.selectedId(),deleted:n};this.dialogRef.close(e)}onClose(){this.dialogRef.close(!1)}static \u0275fac=function(e){return new(e||t)(T(j))};static \u0275cmp=b({type:t,selectors:[["app-merge-dialog"]],decls:12,vars:2,consts:[[3,"onOk","onCancel","onClose","config","dynamicValidated"],[1,"table"],[1,"thead-light"],[2,"width","5px"],[3,"class"],["color","primary",3,"change","id","checked","name","value"],[1,"fst-italic","ms-2","text-danger"],[1,"text-end"]],template:function(e,i){e&1&&(a(0,"modal-material",0),M("onOk",function(){return i.onOk()})("onCancel",function(){return i.onClose()})("onClose",function(){return i.onClose()}),a(1,"content")(2,"table",1)(3,"thead",2)(4,"tr"),x(5,"th",3),p(6,J,2,5,"th",4,s),x(8,"th"),r()(),a(9,"tbody"),p(10,Y,7,5,"tr",null,s),r()()()()),e&2&&(f("config",i.config)("dynamicValidated",i.selectedId()),o(6),_(i.columns()),o(4),_(i.data()))},dependencies:[B,w,O,L,G,V,P,R],styles:[".radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}"]})};export{q as a};
@@ -1,2 +1,2 @@
1
- import{a as Ve}from"./chunk-L2EDFSBR.js";import{a as De,b as Ie}from"./chunk-JKYTSC2D.js";import{a as we}from"./chunk-FD5YMPRL.js";import{k as ke,l as xe,o as Te,p as Ae,q as Ee,r as Re,s as Fe,t as Y}from"./chunk-7PXSKRVE.js";import{$ as q,A as ve,C as be,D as G,F as Ce,J as Oe,K as Me,_ as z,aa as H,ba as Se,ea as Q,w as ge,y as ye,z as I}from"./chunk-567HXZXC.js";import{e as me,g as ue,k as _e,t as fe}from"./chunk-2RSBMS36.js";import{$ as E,$a as h,$b as u,Ab as le,Ca as ee,D as O,Db as L,E as A,Fa as S,Ib as o,Jb as p,Ka as te,Kb as se,Kc as he,Mc as c,N as U,Nc as B,Ob as P,Qa as ie,Qb as b,Rb as v,Sb as oe,Tb as W,Wc as pe,Yb as x,Zb as D,_b as m,aa as R,cb as ae,d as C,da as f,dc as ce,ec as N,fc as K,ka as $,kb as re,la as M,lb as ne,na as l,pc as de,qb as w,t as T,ua as J,ub as k,va as g,vb as F,wa as y,xa as Z,xb as V,y as X}from"./chunk-DZT5XHBQ.js";var He=["trigger"],Qe=["panel"],Ye=[[["mat-select-trigger"]],"*"],je=["mat-select-trigger","*"];function Xe(r,_){if(r&1&&(o(0,"span",4),N(1),p()),r&2){let e=v();h(),K(e.placeholder)}}function Ue(r,_){r&1&&W(0)}function $e(r,_){if(r&1&&(o(0,"span",11),N(1),p()),r&2){let e=v(2);h(),K(e.triggerValue)}}function Je(r,_){if(r&1&&(o(0,"span",5),w(1,Ue,1,0)(2,$e,2,1,"span",11),p()),r&2){let e=v();h(),L(e.customTrigger?1:2)}}function Ze(r,_){if(r&1){let e=P();o(0,"div",12,1),b("keydown",function(i){g(e);let a=v();return y(a._handleKeydown(i))}),W(2,1),p()}if(r&2){let e=v();le("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),V("mat-select-panel-animations-enabled",!e._animationsDisabled),F("ngClass",e.panelClass),k("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ke=new M("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=l(z);return()=>r.scrollStrategies.reposition()}});function et(r){return()=>r.scrollStrategies.reposition()}var tt=new M("MAT_SELECT_CONFIG"),it={provide:Ke,deps:[z],useFactory:et},at=new M("MatSelectTrigger"),j=class{source;value;constructor(_,e){this.source=_,this.value=e}},Ft=(()=>{class r{_viewportRuler=l(Oe);_changeDetectorRef=l(he);_elementRef=l(te);_dir=l(Ce,{optional:!0});_idGenerator=l(ye);_renderer=l(ae);_parentFormField=l(xe,{optional:!0});ngControl=l(ue,{self:!0,optional:!0});_liveAnnouncer=l(ge);_defaultOptions=l(tt,{optional:!0});_animationsDisabled=l(ie,{optional:!0})==="NoopAnimations";_initialized=new C;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=Re(e,this.options,this.optionGroups),n=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=Fe(n.offsetTop,n.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new j(this,e)}_scrollStrategyFactory=l(Ke);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new C;_errorStateTracker;stateChanges=new C;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=X(()=>{let e=this.options;return e?e.changes.pipe(E(e),R(()=>O(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(R(()=>this.optionSelectionChanges))});openedChange=new S;_openedStream=this.openedChange.pipe(A(e=>e),T(()=>{}));_closedStream=this.openedChange.pipe(A(e=>!e),T(()=>{}));selectionChange=new S;valueChange=new S;constructor(){let e=l(De),t=l(_e,{optional:!0}),i=l(fe,{optional:!0}),a=l(new ee("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ie(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id}ngOnInit(){this._selectionModel=new we(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(f(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(f(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(E(null),f(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(U(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&G(this._trackedModal,"aria-owns",t),be(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;G(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(i),this._cleanupDetach=void 0};let e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",a=>{a.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,n=this._keyManager;if(!n.isTyping()&&a&&!I(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;n.onKeydown(e);let s=this.selected;s&&d!==s&&this._liveAnnouncer.announce(s.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,n=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!n&&(i===13||i===32)&&t.activeItem&&!I(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!n&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(s=>!s.disabled&&!s.selected);this.options.forEach(s=>{s.disabled||(d?s.select():s.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!I(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(i.value!=null||this.canSelectNullableOptions)&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof q?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ve(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=O(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(f(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),O(...this.options.map(t=>t._stateChanges)).pipe(f(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++)if(!this.options.get(t).disabled){e=t;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=re({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(x(a,at,5),x(a,Ee,5),x(a,Ae,5)),t&2){let n;m(n=u())&&(i.customTrigger=n.first),m(n=u())&&(i.options=n),m(n=u())&&(i.optionGroups=n)}},viewQuery:function(t,i){if(t&1&&(D(He,5),D(Qe,5),D(H,5)),t&2){let a;m(a=u())&&(i.trigger=a.first),m(a=u())&&(i.panel=a.first),m(a=u())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&b("keydown",function(n){return i._handleKeydown(n)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(k("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),V("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c],disableRipple:[2,"disableRipple","disableRipple",c],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:B(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c],placeholder:"placeholder",required:[2,"required","required",c],multiple:[2,"multiple","multiple",c],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",B],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",c]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[de([{provide:ke,useExisting:r},{provide:Te,useExisting:r}]),J],ngContentSelectors:je,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=P();oe(Ye),o(0,"div",2,0),b("click",function(){return g(a),y(i.open())}),o(3,"div",3),w(4,Xe,2,1,"span",4)(5,Je,3,1,"span",5),p(),o(6,"div",6)(7,"div",7),Z(),o(8,"svg",8),se(9,"path",9),p()()()(),w(10,Ze,3,10,"ng-template",10),b("detach",function(){return g(a),y(i.close())})("backdropClick",function(){return g(a),y(i.close())})("overlayKeydown",function(d){return g(a),y(i._handleOverlayKeydown(d))})}if(t&2){let a=ce(1);h(3),k("id",i._valueId),h(),L(i.empty?4:5),h(6),F("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[q,H,pe],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
1
+ import{a as Ve}from"./chunk-L2EDFSBR.js";import{a as De,b as Ie}from"./chunk-JKYTSC2D.js";import{a as we}from"./chunk-FD5YMPRL.js";import{k as ke,l as xe,o as Te,p as Ae,q as Ee,r as Re,s as Fe,t as Y}from"./chunk-GWHR6QGI.js";import{$ as q,A as ve,C as be,D as G,F as Ce,J as Oe,K as Me,_ as z,aa as H,ba as Se,ea as Q,w as ge,y as ye,z as I}from"./chunk-567HXZXC.js";import{e as me,g as ue,k as _e,t as fe}from"./chunk-2RSBMS36.js";import{$ as E,$a as h,$b as u,Ab as le,Ca as ee,D as O,Db as L,E as A,Fa as S,Ib as o,Jb as p,Ka as te,Kb as se,Kc as he,Mc as c,N as U,Nc as B,Ob as P,Qa as ie,Qb as b,Rb as v,Sb as oe,Tb as W,Wc as pe,Yb as x,Zb as D,_b as m,aa as R,cb as ae,d as C,da as f,dc as ce,ec as N,fc as K,ka as $,kb as re,la as M,lb as ne,na as l,pc as de,qb as w,t as T,ua as J,ub as k,va as g,vb as F,wa as y,xa as Z,xb as V,y as X}from"./chunk-DZT5XHBQ.js";var He=["trigger"],Qe=["panel"],Ye=[[["mat-select-trigger"]],"*"],je=["mat-select-trigger","*"];function Xe(r,_){if(r&1&&(o(0,"span",4),N(1),p()),r&2){let e=v();h(),K(e.placeholder)}}function Ue(r,_){r&1&&W(0)}function $e(r,_){if(r&1&&(o(0,"span",11),N(1),p()),r&2){let e=v(2);h(),K(e.triggerValue)}}function Je(r,_){if(r&1&&(o(0,"span",5),w(1,Ue,1,0)(2,$e,2,1,"span",11),p()),r&2){let e=v();h(),L(e.customTrigger?1:2)}}function Ze(r,_){if(r&1){let e=P();o(0,"div",12,1),b("keydown",function(i){g(e);let a=v();return y(a._handleKeydown(i))}),W(2,1),p()}if(r&2){let e=v();le("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),V("mat-select-panel-animations-enabled",!e._animationsDisabled),F("ngClass",e.panelClass),k("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ke=new M("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=l(z);return()=>r.scrollStrategies.reposition()}});function et(r){return()=>r.scrollStrategies.reposition()}var tt=new M("MAT_SELECT_CONFIG"),it={provide:Ke,deps:[z],useFactory:et},at=new M("MatSelectTrigger"),j=class{source;value;constructor(_,e){this.source=_,this.value=e}},Ft=(()=>{class r{_viewportRuler=l(Oe);_changeDetectorRef=l(he);_elementRef=l(te);_dir=l(Ce,{optional:!0});_idGenerator=l(ye);_renderer=l(ae);_parentFormField=l(xe,{optional:!0});ngControl=l(ue,{self:!0,optional:!0});_liveAnnouncer=l(ge);_defaultOptions=l(tt,{optional:!0});_animationsDisabled=l(ie,{optional:!0})==="NoopAnimations";_initialized=new C;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,a=Re(e,this.options,this.optionGroups),n=t._getHostElement();e===0&&a===1?i.scrollTop=0:i.scrollTop=Fe(n.offsetTop,n.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new j(this,e)}_scrollStrategyFactory=l(Ke);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new C;_errorStateTracker;stateChanges=new C;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(me.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=X(()=>{let e=this.options;return e?e.changes.pipe(E(e),R(()=>O(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(R(()=>this.optionSelectionChanges))});openedChange=new S;_openedStream=this.openedChange.pipe(A(e=>e),T(()=>{}));_closedStream=this.openedChange.pipe(A(e=>!e),T(()=>{}));selectionChange=new S;valueChange=new S;constructor(){let e=l(De),t=l(_e,{optional:!0}),i=l(fe,{optional:!0}),a=l(new ee("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ie(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=a==null?0:parseInt(a)||0,this.id=this.id}ngOnInit(){this._selectionModel=new we(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(f(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(f(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(E(null),f(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(U(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&G(this._trackedModal,"aria-owns",t),be(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;G(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(i),this._cleanupDetach=void 0};let e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",a=>{a.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,a=t===13||t===32,n=this._keyManager;if(!n.isTyping()&&a&&!I(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;n.onKeydown(e);let s=this.selected;s&&d!==s&&this._liveAnnouncer.announce(s.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,a=i===40||i===38,n=t.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!n&&(i===13||i===32)&&t.activeItem&&!I(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!n&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(s=>!s.disabled&&!s.selected);this.options.forEach(s=>{s.disabled||(d?s.select():s.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&a&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!I(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(i.value!=null||this.canSelectNullableOptions)&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof q?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ve(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=O(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(f(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),O(...this.options.map(t=>t._stateChanges)).pipe(f(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++)if(!this.options.get(t).disabled){e=t;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=re({type:r,selectors:[["mat-select"]],contentQueries:function(t,i,a){if(t&1&&(x(a,at,5),x(a,Ee,5),x(a,Ae,5)),t&2){let n;m(n=u())&&(i.customTrigger=n.first),m(n=u())&&(i.options=n),m(n=u())&&(i.optionGroups=n)}},viewQuery:function(t,i){if(t&1&&(D(He,5),D(Qe,5),D(H,5)),t&2){let a;m(a=u())&&(i.trigger=a.first),m(a=u())&&(i.panel=a.first),m(a=u())&&(i._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&b("keydown",function(n){return i._handleKeydown(n)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(k("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),V("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c],disableRipple:[2,"disableRipple","disableRipple",c],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:B(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c],placeholder:"placeholder",required:[2,"required","required",c],multiple:[2,"multiple","multiple",c],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",B],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",c]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[de([{provide:ke,useExisting:r},{provide:Te,useExisting:r}]),J],ngContentSelectors:je,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let a=P();oe(Ye),o(0,"div",2,0),b("click",function(){return g(a),y(i.open())}),o(3,"div",3),w(4,Xe,2,1,"span",4)(5,Je,3,1,"span",5),p(),o(6,"div",6)(7,"div",7),Z(),o(8,"svg",8),se(9,"path",9),p()()()(),w(10,Ze,3,10,"ng-template",10),b("detach",function(){return g(a),y(i.close())})("backdropClick",function(){return g(a),y(i.close())})("overlayKeydown",function(d){return g(a),y(i._handleOverlayKeydown(d))})}if(t&2){let a=ce(1);h(3),k("id",i._valueId),h(),L(i.empty?4:5),h(6),F("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||a)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[q,H,pe],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
2
2
  `],encapsulation:2,changeDetection:0})}return r})();var Vt=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=ne({type:r});static \u0275inj=$({providers:[it],imports:[Se,Y,Q,Me,Ve,Y,Q]})}return r})();export{Ft as a,Vt as b};