marketplacepos 3.22.0 → 3.22.2
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.
- package/Marketplace/3rdpartylicenses.txt +224 -13
- package/Marketplace/{chunk-7NE7ZI6R.js → chunk-2DQJZ4SM.js} +3 -3
- package/Marketplace/chunk-2OOIDPNY.js +1 -0
- package/Marketplace/chunk-2UKRBTWA.js +1 -0
- package/Marketplace/{chunk-UX3GY5M2.js → chunk-3QG5QJ5P.js} +1 -1
- package/Marketplace/chunk-3Y4WD5EY.js +1 -0
- package/Marketplace/{chunk-LIPM3QTO.js → chunk-44YUSAMN.js} +1 -1
- package/Marketplace/chunk-46AOM3SM.js +149 -0
- package/Marketplace/chunk-4E6A74GC.js +1 -0
- package/Marketplace/chunk-4LFFAE2I.js +1 -0
- package/Marketplace/chunk-4SAJUEHO.js +1 -0
- package/Marketplace/chunk-4YWF6TMR.js +5 -0
- package/Marketplace/{chunk-GCHJ4FTF.js → chunk-5JOW2QWK.js} +1 -1
- package/Marketplace/chunk-6DNNP4QT.js +1 -0
- package/Marketplace/chunk-6L2IXOY3.js +1 -0
- package/Marketplace/chunk-6SF7AUOH.js +1 -0
- package/Marketplace/{chunk-45PCYYJD.js → chunk-6YZFSP2B.js} +1 -1
- package/Marketplace/chunk-75I4TWVV.js +5 -0
- package/Marketplace/chunk-7AFVU7XM.js +1 -0
- package/Marketplace/chunk-ADRVUMMW.js +1 -0
- package/Marketplace/chunk-B2TH5YJH.js +1142 -0
- package/Marketplace/chunk-BO4PPSB5.js +2 -0
- package/Marketplace/chunk-BQ7NR3ET.js +1 -0
- package/Marketplace/chunk-BSN7ZAXG.js +1 -0
- package/Marketplace/chunk-CCXKODFV.js +2 -0
- package/Marketplace/{chunk-AGKVS3IQ.js → chunk-CODNZKCM.js} +1 -1
- package/Marketplace/chunk-CSSLFHG7.js +1 -0
- package/Marketplace/chunk-DR4IU4JY.js +1 -0
- package/Marketplace/chunk-E5GGIVK7.js +1 -0
- package/Marketplace/{chunk-QFU3JTYR.js → chunk-EW5A6GIY.js} +1 -1
- package/Marketplace/{chunk-PCKZD4LZ.js → chunk-FGPSBTFS.js} +1 -1
- package/Marketplace/chunk-FKYJVN2C.js +1 -0
- package/Marketplace/{chunk-UOT5GPQI.js → chunk-FMV4LYKN.js} +1 -1
- package/Marketplace/chunk-FY3BLGYI.js +1 -0
- package/Marketplace/{chunk-OUJF6YWV.js → chunk-GCKSYCMI.js} +5 -11
- package/Marketplace/chunk-GJIFVUBA.js +1 -0
- package/Marketplace/chunk-GOXRLSEL.js +1 -0
- package/Marketplace/{chunk-C2SGQUOH.js → chunk-HCDKYABV.js} +1 -1
- package/Marketplace/chunk-HHYOM3XB.js +1 -0
- package/Marketplace/chunk-HT7RB66L.js +1 -0
- package/Marketplace/chunk-HUUFOAKH.js +1 -0
- package/Marketplace/chunk-HVVW4B4W.js +1 -0
- package/Marketplace/chunk-HXJF7C6Q.js +1 -0
- package/Marketplace/chunk-I5BQWXUB.js +8 -0
- package/Marketplace/chunk-IJYSJN63.js +443 -0
- package/Marketplace/chunk-ILVEM7H5.js +1 -0
- package/Marketplace/chunk-J5D7PMX5.js +2 -0
- package/Marketplace/chunk-JHV7PQGJ.js +1 -0
- package/Marketplace/chunk-JKLGOAB3.js +2 -0
- package/Marketplace/chunk-JP44SOP7.js +13 -0
- package/Marketplace/chunk-JXTGH22T.js +1 -0
- package/Marketplace/chunk-KNWBPJ23.js +1 -0
- package/Marketplace/chunk-LI6EUEGJ.js +1 -0
- package/Marketplace/chunk-LRU7GIXZ.js +1 -0
- package/Marketplace/chunk-LZXKPCX7.js +1 -0
- package/Marketplace/chunk-MFAJDQPX.js +1 -0
- package/Marketplace/chunk-MJ6RQDI4.js +1 -0
- package/Marketplace/{chunk-ZRW4OZGG.js → chunk-MY4B7K3R.js} +1 -1
- package/Marketplace/{chunk-GDA72XOJ.js → chunk-N6IHFFFZ.js} +1 -1
- package/Marketplace/chunk-NJKWLKN6.js +1 -0
- package/Marketplace/{chunk-4NXO2JYR.js → chunk-NYDPS33K.js} +1 -1
- package/Marketplace/chunk-OCYDG646.js +1494 -0
- package/Marketplace/chunk-OKR5PVTL.js +1 -0
- package/Marketplace/chunk-OSSJKXND.js +1 -0
- package/Marketplace/chunk-OTFJUSZU.js +8 -0
- package/Marketplace/chunk-OULUJ2IO.js +189 -0
- package/Marketplace/chunk-OVEJFFL6.js +2 -0
- package/Marketplace/chunk-P674TVHC.js +1 -0
- package/Marketplace/chunk-PD4CUVAW.js +1 -0
- package/Marketplace/chunk-POGKTX46.js +1 -0
- package/Marketplace/chunk-PQDPS2ID.js +7 -0
- package/Marketplace/chunk-QN5QWB3Z.js +1 -0
- package/Marketplace/chunk-QP6O4KGV.js +1 -0
- package/Marketplace/chunk-QW4P7RSU.js +1 -0
- package/Marketplace/chunk-RDHVV7FZ.js +1 -0
- package/Marketplace/{chunk-EYZIWEGE.js → chunk-RENQ3YZH.js} +1 -1
- package/Marketplace/chunk-RGGT2KKB.js +1 -0
- package/Marketplace/chunk-RI7RZYID.js +1 -0
- package/Marketplace/chunk-T32TE7CZ.js +1 -0
- package/Marketplace/chunk-TPGBOTD4.js +1 -0
- package/Marketplace/chunk-TVRKGWQB.js +1 -0
- package/Marketplace/chunk-UMNGKENU.js +1 -0
- package/Marketplace/chunk-UN2U4YFQ.js +1 -0
- package/Marketplace/chunk-WT6W7RAQ.js +1 -0
- package/Marketplace/chunk-WTR5UFZI.js +5 -0
- package/Marketplace/chunk-X5Q6FPWS.js +315 -0
- package/Marketplace/chunk-XB345KSK.js +2 -0
- package/Marketplace/{chunk-J7V5HHYR.js → chunk-Y2T3CEPZ.js} +1 -1
- package/Marketplace/chunk-YC44HHHF.js +2 -0
- package/Marketplace/chunk-YIB7FZAQ.js +7 -0
- package/Marketplace/chunk-Z6PE5TYH.js +1 -0
- package/Marketplace/{chunk-XSYSCEVJ.js → chunk-ZRPSM5PK.js} +1 -1
- package/Marketplace/index.html +4 -4
- package/Marketplace/main-MTZIDUMD.js +1 -0
- package/Marketplace/styles-BTL6DIRV.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-2KEQ33LI.js +0 -1
- package/Marketplace/chunk-2LJXM62F.js +0 -1
- package/Marketplace/chunk-47XYXHGL.js +0 -1
- package/Marketplace/chunk-4AUJZEST.js +0 -1
- package/Marketplace/chunk-5SIWWKAE.js +0 -1
- package/Marketplace/chunk-5SOVI5O5.js +0 -1
- package/Marketplace/chunk-633RG6PO.js +0 -15
- package/Marketplace/chunk-732MTT44.js +0 -1
- package/Marketplace/chunk-76JMXELT.js +0 -1
- package/Marketplace/chunk-7FSQ3UC2.js +0 -1
- package/Marketplace/chunk-7IIB5DLC.js +0 -2
- package/Marketplace/chunk-7N5WLZWW.js +0 -1
- package/Marketplace/chunk-AUBPDK26.js +0 -1
- package/Marketplace/chunk-BR6MS275.js +0 -1
- package/Marketplace/chunk-DAYV52M7.js +0 -9
- package/Marketplace/chunk-DSKMV7XY.js +0 -3
- package/Marketplace/chunk-EE7O2AZI.js +0 -1
- package/Marketplace/chunk-EJSGWKV7.js +0 -1
- package/Marketplace/chunk-ENIJ4MFV.js +0 -1
- package/Marketplace/chunk-EQIBEDOW.js +0 -1
- package/Marketplace/chunk-EXBAGUW2.js +0 -1
- package/Marketplace/chunk-F57GDDSE.js +0 -14
- package/Marketplace/chunk-FSOI4J4S.js +0 -1
- package/Marketplace/chunk-HDDGFXNT.js +0 -1
- package/Marketplace/chunk-HPD77AAI.js +0 -1
- package/Marketplace/chunk-IPSL7J32.js +0 -1
- package/Marketplace/chunk-IX4CXSQC.js +0 -1
- package/Marketplace/chunk-J5DBLKIA.js +0 -1
- package/Marketplace/chunk-JCKUKK6T.js +0 -1
- package/Marketplace/chunk-JXNW3RX5.js +0 -1
- package/Marketplace/chunk-KJ4SL5OX.js +0 -1
- package/Marketplace/chunk-KTXT25SP.js +0 -1
- package/Marketplace/chunk-KZ2VDCDO.js +0 -1
- package/Marketplace/chunk-L3JD55OC.js +0 -1
- package/Marketplace/chunk-LLLHVCIO.js +0 -1
- package/Marketplace/chunk-LQWFYVLD.js +0 -2
- package/Marketplace/chunk-LZVUS3GC.js +0 -3
- package/Marketplace/chunk-M4XSRDMC.js +0 -9
- package/Marketplace/chunk-MJH2IWI2.js +0 -1
- package/Marketplace/chunk-MTS7QNYE.js +0 -2
- package/Marketplace/chunk-NBSXPQ4I.js +0 -1
- package/Marketplace/chunk-NFEAHFS5.js +0 -1
- package/Marketplace/chunk-NLZCSTVO.js +0 -5
- package/Marketplace/chunk-NSXCPHWT.js +0 -52
- package/Marketplace/chunk-O4N2CCVN.js +0 -1
- package/Marketplace/chunk-OE7XFNYO.js +0 -1
- package/Marketplace/chunk-OI3SQ5ZO.js +0 -2
- package/Marketplace/chunk-OSRAARQQ.js +0 -1
- package/Marketplace/chunk-OZ7VTHZ5.js +0 -1
- package/Marketplace/chunk-P5VJV3CP.js +0 -2
- package/Marketplace/chunk-QBQUD3A5.js +0 -1
- package/Marketplace/chunk-QNL3BTRG.js +0 -8
- package/Marketplace/chunk-QNQ5QCZX.js +0 -1
- package/Marketplace/chunk-RQCGB4NH.js +0 -9
- package/Marketplace/chunk-RVEC755T.js +0 -1
- package/Marketplace/chunk-S66L7N22.js +0 -1
- package/Marketplace/chunk-SCVHFMF7.js +0 -1
- package/Marketplace/chunk-SF4KIL5M.js +0 -5
- package/Marketplace/chunk-TU4R4DL3.js +0 -1
- package/Marketplace/chunk-UAXJ7MHW.js +0 -1
- package/Marketplace/chunk-UEB6GFG5.js +0 -1
- package/Marketplace/chunk-UNLG5KU7.js +0 -1
- package/Marketplace/chunk-WYZ5MSYA.js +0 -1
- package/Marketplace/chunk-XNRK463Z.js +0 -1
- package/Marketplace/chunk-YUBBVFFI.js +0 -1
- package/Marketplace/chunk-ZGYDC5UC.js +0 -1
- package/Marketplace/chunk-ZSZQPMV2.js +0 -1
- package/Marketplace/main-HPUDU23P.js +0 -1
- package/Marketplace/media/color-3LUHUBGQ.png +0 -0
- package/Marketplace/media/hue-RMMBQOAC.png +0 -0
- package/Marketplace/styles-RZHRYK3K.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as Vt}from"./chunk-PD4CUVAW.js";import{a as Lt}from"./chunk-GCKSYCMI.js";import{c as Ot}from"./chunk-ADRVUMMW.js";import{g as Nt}from"./chunk-HCDKYABV.js";import{e as E}from"./chunk-4SAJUEHO.js";import{b as Et,c as At,g as Dt,i as Gt,j as Ft}from"./chunk-BO4PPSB5.js";import{a as St,u as Bt}from"./chunk-HUUFOAKH.js";import{D as Mt,G as Tt,K as W,S as wt,T as Rt,U as It}from"./chunk-E5GGIVK7.js";import{a as _t,c as vt,h as kt,m as yt,y as xt}from"./chunk-BSN7ZAXG.js";import{f as Ct}from"./chunk-6SF7AUOH.js";import{$b as m,Bb as j,Bd as bt,Cd as ft,Da as x,Ea as C,Eb as T,Fb as S,Gb as p,Gc as I,Hc as B,Ia as ot,Ib as P,Na as at,Nb as v,Pa as M,Sb as r,Tb as d,Ub as _,Yb as w,Z as $,Zc as H,bc as k,bd as g,cc as it,dc as nt,ea as q,gc as lt,hc as rt,ia as J,ic as U,ja as Y,jb as c,jc as z,ka as Z,kb as s,ma as V,mc as st,nc as h,oa as K,oc as dt,pa as L,qc as ct,rc as ut,sc as gt,ta as y,tc as pt,ua as tt,uc as mt,v as O,va as et,vc as R,xb as f,yd as ht}from"./chunk-PQDPS2ID.js";import{a as F,b as N}from"./chunk-GNOSNGXM.js";var Q=function(n){return n[n.CSV=0]="CSV",n[n.XLSX=1]="XLSX",n}(Q||{}),Pt=(()=>{let a=class a{constructor(t){this.http=t}exportCSV(t,o){let e=N(F({},o),{Export:!0,FormatType:Q.CSV});this.downloadFile(t,e)}exportCSVIds(t,o){this.downloadFile(t,o)}exportXlsx(t,o){let e=N(F({},o),{FormatType:Q.XLSX});this.downloadFile(t,e)}downloadFile(t,o){this.http.postFile(`/api/${t}`,o).subscribe(e=>{let i=window.URL.createObjectURL(e.file),l=document.createElement("a");l.download=this.getFilenameFromContentDisposition(e.title),l.href=i,l.click(),URL.revokeObjectURL(i),l.remove()})}getFilenameFromContentDisposition(t){let e=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t);return e!=null&&e[1]?e[1].replace(/['"]/g,""):""}exportJSON(t,o,e){this.http.post(`/api/${t}`,e).subscribe(i=>{var l=JSON.stringify(i,null," ");this.downloadJSON(l,o+".json")})}downloadJSON(t,o){var e=new Blob([t],{type:"data:application/json;charset=utf-8"}),i=document.createElement("a");i.setAttribute("href",window.URL.createObjectURL(e)),i.setAttribute("download",o),document.body.appendChild(i),i.click(),document.body.removeChild(i)}};a.\u0275fac=function(o){return new(o||a)(K(E))},a.\u0275prov=Y({token:a,factory:a.\u0275fac,providedIn:"root"});let n=a;return n})();var Qt=["button"],Xt=["*"];function $t(n,a){if(n&1&&_(0,"mat-pseudo-checkbox",3),n&2){let b=k();p("disabled",b.disabled)}}function qt(n,a){if(n&1&&_(0,"mat-pseudo-checkbox",3),n&2){let b=k();p("disabled",b.disabled)}}var Ut=new V("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Jt});function Jt(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}var zt=new V("MatButtonToggleGroup"),Yt={provide:_t,useExisting:J(()=>X),multi:!0},Ht=0,A=class{constructor(a,b){this.source=a,this.value=b}},X=(()=>{let a=class a{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(o=>o.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}constructor(t,o,e){this._changeDetector=t,this._dir=e,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${Ht++}`,this.valueChange=new M,this.change=new M,this.appearance=o&&o.appearance?o.appearance:"standard",this.hideSingleSelectionIndicator=o?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=o?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new St(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let e=t.target.id,i=this._buttonToggles.toArray().findIndex(u=>u.buttonId===e),l=null;switch(t.keyCode){case 32:case 13:l=this._buttonToggles.get(i)||null;break;case 38:l=this._getNextButton(i,-1);break;case 37:l=this._getNextButton(i,this.dir==="ltr"?-1:1);break;case 40:l=this._getNextButton(i,1);break;case 39:l=this._getNextButton(i,this.dir==="ltr"?1:-1);break;default:return}l&&(t.preventDefault(),l._onButtonClick(),l.focus())}_emitChangeEvent(t){let o=new A(t,this.value);this._rawValue=o.value,this._controlValueAccessorChangeFn(o.value),this.change.emit(o)}_syncButtonToggle(t,o,e=!1,i=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?o?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve().then(()=>this._updateModelValue(t,e)):this._updateModelValue(t,e)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(o=>t.value!=null&&o===t.value):t.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let t=0;t<this._buttonToggles.length;t++){let o=this._buttonToggles.get(t);if(!o.disabled){o.tabIndex=0;break}}this._markButtonsForCheck()}_getNextButton(t,o){let e=this._buttonToggles;for(let i=1;i<=e.length;i++){let l=(t+o*i+e.length)%e.length,u=e.get(l);if(u&&!u.disabled)return u}return null}_setSelectionByValue(t){this._rawValue=t,this._buttonToggles&&(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(o=>this._selectValue(o))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let o=this._buttonToggles.find(e=>e.value!=null&&e.value===t);o&&(o.checked=!0,this._selectionModel.select(o),this.multiple||(o.tabIndex=0))}_updateModelValue(t,o){o&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}};a.\u0275fac=function(o){return new(o||a)(s(H),s(Ut,8),s(Tt,8))},a.\u0275dir=et({type:a,selectors:[["mat-button-toggle-group"]],contentQueries:function(o,e,i){if(o&1&<(i,D,5),o&2){let l;U(l=z())&&(e._buttonToggles=l)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(o,e){o&1&&m("keydown",function(l){return e._keydown(l)}),o&2&&(S("role",e.multiple?"group":"radiogroup")("aria-disabled",e.disabled),P("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard",e.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",g],value:"value",multiple:[2,"multiple","multiple",g],disabled:[2,"disabled","disabled",g],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",g],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",g]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[mt([Yt,{provide:zt,useExisting:a}]),j]});let n=a;return n})(),D=(()=>{let a=class a{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}constructor(t,o,e,i,l,u){this._changeDetectorRef=o,this._elementRef=e,this._focusMonitor=i,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new M;let G=Number(l);this.tabIndex=G||G===0?G:null,this.buttonToggleGroup=t,this.appearance=u&&u.appearance?u.appearance:"standard"}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${Ht++}`,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let o=this.buttonToggleGroup._buttonToggles.find(e=>e.tabIndex===0);o&&(o.tabIndex=-1),this.tabIndex=0}this.change.emit(new A(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};a.\u0275fac=function(o){return new(o||a)(s(zt,8),s(H),s(at),s(Mt),ot("tabindex"),s(Ut,8))},a.\u0275cmp=y({type:a,selectors:[["mat-button-toggle"]],viewQuery:function(o,e){if(o&1&&rt(Qt,5),o&2){let i;U(i=z())&&(e._buttonElement=i.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(o,e){o&1&&m("focus",function(){return e.focus()}),o&2&&(S("aria-label",null)("aria-labelledby",null)("id",e.id)("name",null),P("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard",e.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",g],appearance:"appearance",checked:[2,"checked","checked",g],disabled:[2,"disabled","disabled",g]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[j,R],ngContentSelectors:Xt,decls:8,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(o,e){if(o&1){let i=w();it(),r(0,"button",1,0),m("click",function(){return x(i),C(e._onButtonClick())}),r(2,"span",2),T(3,$t,1,1,"mat-pseudo-checkbox",3)(4,qt,1,1,"mat-pseudo-checkbox",3),nt(5),d()(),_(6,"span",4)(7,"span",5)}if(o&2){let i=st(1);p("id",e.buttonId)("disabled",e.disabled||null),S("role",e.isSingleSelector()?"radio":"button")("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.isSingleSelector()?null:e.checked)("aria-checked",e.isSingleSelector()?e.checked:null)("name",e._getButtonName())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),c(3),v(e.buttonToggleGroup&&e.checked&&!e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),c(),v(e.buttonToggleGroup&&e.checked&&e.buttonToggleGroup.multiple&&!e.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),c(3),p("matRippleTrigger",i)("matRippleDisabled",e.disableRipple||e.disabled)}},dependencies:[wt,It],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group: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)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0});let n=a;return n})(),Wt=(()=>{let a=class a{};a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=tt({type:a}),a.\u0275inj=Z({imports:[W,Rt,D,W]});let n=a;return n})();function Kt(n,a){if(n&1){let b=w();r(0,"i",18),m("click",function(){x(b);let o=k();return C(o.getTotalRowCount())}),d()}}var Je=(()=>{let a=class a{constructor(t,o){this.dialogRef=t,this.item=o,this.exportService=L(Pt),this.httpService=L(E),this.displayedMinRangeRow=f(1),this.displayedMaxRangeRow=f(1e4),this.pageNumber=f(1),this.rowCount=f(1e4),this.isShowTotalRowCount=f(!1),this.filter=f({}),this.filter.set(this.item.filterExport)}ngOnInit(){this.initModalConfig()}getTotalRowCount(){this.totalRowCount$=this.httpService.post(`/api/${this.item.getRowCountApi}`,this.item.filterExport).pipe(O(t=>t.Total!=null?t.Total:t.Count||0),q(t=>{this.isShowTotalRowCount.set(!0),t<this.displayedMaxRangeRow()&&this.setMinMaxRangeDisplayedRow(t)}),O(t=>Math.floor(t/this.rowCount())+(t%this.rowCount()>0?1:0)),$(1))}initModalConfig(){this.modalConfig=new Gt,this.modalConfig.title=`${this.item?.title}`,this.modalConfig.customWidth="450px",this.modalConfig.hideCancel=!0}onSubmit(){this.filter.update(t=>(t.RowCount=this.rowCount(),t.PageNumber=this.pageNumber(),t)),this.exportService.exportCSV(this.item.exportApi,this.filter()),this.dialogRef.close()}onClose(){this.dialogRef.close()}onPageNumberChange(t){this.pageNumber.set(t),this.setDisplayedMinMaxRangeRow()}setMinMaxRangeDisplayedRow(t){for(;this.displayedMaxRangeRow()>t&&this.pageNumber()>1;)this.pageNumber.update(o=>(o-=1,o)),this.setDisplayedMinMaxRangeRow();this.displayedMaxRangeRow.set(t)}setDisplayedMinMaxRangeRow(){let t=this.pageNumber()*this.rowCount()-this.rowCount()+1;this.displayedMinRangeRow.set(t),this.displayedMaxRangeRow.set(this.pageNumber()*this.rowCount())}};a.\u0275fac=function(o){return new(o||a)(s(Et),s(At))},a.\u0275cmp=y({type:a,selectors:[["app-modal-export"]],standalone:!0,features:[R],decls:30,vars:13,consts:[[3,"onClose","onCancel","onOk","config"],["content",""],[1,"container-fluid"],[1,"row"],[1,"col-3","fw-bold",2,"display","flex","align-items","center"],[1,"col-9"],["value","CSV",3,"checked"],[1,"fa-solid","fa-file-csv","me-3","mb-1"],[1,"row","mt-8"],[1,"col-3","d-flex","align-items-center","fw-bold"],[1,"col-auto","d-flex","align-items-center"],["type","text","autoNum","","name","pageNumber","id","pageNumber",1,"form-control","text-center",2,"width","50px",3,"ngModelChange","ngModel"],[1,"ms-3"],[1,"fa-solid","fa-circle-question","mx-3"],[1,"fw-bold"],[1,"col-12","mt-8"],[1,"p-5",2,"background-color","#add8e6","border-radius","4px"],[1,"fa-solid","fa-circle-exclamation","mx-3"],[1,"fa-solid","fa-circle-question","mx-3",3,"click"]],template:function(o,e){o&1&&(r(0,"modal-material",0),m("onClose",function(){return e.onClose()})("onCancel",function(){return e.onClose()})("onOk",function(){return e.onSubmit()}),r(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),h(5," Format "),d(),r(6,"div",5)(7,"mat-button-toggle-group")(8,"mat-button-toggle",6),_(9,"i",7),h(10,"CSV "),d()()()(),r(11,"div",8)(12,"div",9),h(13,"Page"),d(),r(14,"div",10)(15,"input",11),pt("ngModelChange",function(l){return gt(e.item.pageNumber,l)||(e.item.pageNumber=l),l}),m("ngModelChange",function(l){return e.onPageNumberChange(l)}),d(),r(16,"span",12),h(17,"of "),T(18,Kt,1,0,"i",13),r(19,"span",14),h(20),I(21,"async"),d(),h(22," page(s)"),d()()(),r(23,"div",3)(24,"div",15)(25,"div",16),_(26,"i",17),h(27),I(28,"number"),I(29,"number"),d()()()()()()),o&2&&(p("config",e.modalConfig),c(8),p("checked",!0),c(7),ut("ngModel",e.item.pageNumber),c(3),v(e.isShowTotalRowCount()==!1?18:-1),c(2),dt(B(21,7,e.totalRowCount$)),c(7),ct(" Exporting data from ",B(28,9,e.displayedMinRangeRow())," - ",B(29,11,e.displayedMaxRangeRow())," "))},dependencies:[ft,ht,bt,xt,vt,kt,yt,Vt,Dt,Nt,Ot,Lt,Ft,Ct,Bt,Wt,X,D]});let n=a;return n})();export{Pt as a,Je as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as tt,$b as lt,Bb as P,Ca as nt,Eb as be,Ed as vt,Fb as ve,G as qe,Gb as X,Ib as B,Ja as st,M as z,Na as A,Nb as q,O as Je,Pa as N,Qa as _e,R as et,Sa as ot,Sb as ye,Tb as Ee,Ua as rt,Ub as J,Va as Q,Wa as at,Wc as _t,Zb as dt,Zc as gt,_ as G,a as Ge,bc as ee,bd as U,c as pe,ca as Z,cc as Ie,dc as te,ea as it,f as I,fd as bt,g as Ze,hc as ht,ic as ut,ja as h,jb as j,jc as mt,ka as p,kb as u,ld as y,ma as _,nc as ft,oa as c,pa as f,pc as pt,q as Ye,sb as D,ta as Y,ua as g,ub as ct,v as S,va as k,vc as ie,w as Qe,wb as ge,z as Xe}from"./chunk-PQDPS2ID.js";import{a as m,b as ze}from"./chunk-GNOSNGXM.js";var De;try{De=typeof Intl<"u"&&Intl.v8BreakIterator}catch{De=!1}var b=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?vt(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||De)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(c(rt))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var R,yt=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function On(){if(R)return R;if(typeof document!="object"||!document)return R=new Set(yt),R;let n=document.createElement("input");return R=new Set(yt.filter(e=>(n.setAttribute("type",e),n.type===e))),R}var V;function Xt(){if(V==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>V=!0}))}finally{V=V||!1}return V}function F(n){return Xt()?n:!!n.capture}var H=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(H||{}),ne,M;function Nn(){if(M==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{let n=Element.prototype.scrollTo;n?M=!/\{\s*\[native code\]\s*\}/.test(n.toString()):M=!1}}return M}function Rn(){if(typeof document!="object"||!document)return H.NORMAL;if(ne==null){let n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let o=document.createElement("div"),t=o.style;t.width="2px",t.height="1px",n.appendChild(o),document.body.appendChild(n),ne=H.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,ne=n.scrollLeft===0?H.NEGATED:H.INVERTED),n.remove()}return ne}var Ae;function qt(){if(Ae==null){let n=typeof document<"u"?document.head:null;Ae=!!(n&&(n.createShadowRoot||n.attachShadow))}return Ae}function Et(n){if(qt()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function It(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function T(n){return n.composedPath?n.composedPath()[0]:n.target}function At(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function se(n,...e){return e.length?e.some(o=>n[o]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function Jt(n){return n!=null&&`${n}`!="false"}function ei(n,e=0){return ti(n)?Number(n):e}function ti(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function we(n){return Array.isArray(n)?n:[n]}function Sn(n){return n==null?"":typeof n=="string"?n:`${n}px`}function x(n){return n instanceof A?n.nativeElement:n}function jn(n,e=/\s+/){let o=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(e);for(let i of t){let s=`${i}`.trim();s&&o.push(s)}}return o}var ii=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Dt=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({providers:[ii]});let n=e;return n})();var Tt=new Set,C,ni=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):oi}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&si(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(c(b),c(at,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function si(n,e){if(!Tt.has(n))try{C||(C=document.createElement("style"),e&&C.setAttribute("nonce",e),C.setAttribute("type","text/css"),document.head.appendChild(C)),C.sheet&&(C.sheet.insertRule(`@media ${n} {body{ }}`,0),Tt.add(n))}catch(o){console.error(o)}}function oi(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var kt=(()=>{let e=class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new I}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return wt(we(t)).some(s=>this._registerQuery(s).mql.matches)}observe(t){let s=wt(we(t)).map(a=>this._registerQuery(a).observable),r=Qe(s);return r=Xe(r.pipe(Je(1)),r.pipe(G(1),z(0))),r.pipe(S(a=>{let d={matches:!1,breakpoints:{}};return a.forEach(({matches:v,query:l})=>{d.matches=d.matches||v,d.breakpoints[l]=v}),d}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let i=this._mediaMatcher.matchMedia(t),r={observable:new pe(a=>{let d=v=>this._zone.run(()=>a.next(v));return i.addListener(d),()=>{i.removeListener(d)}}).pipe(tt(i),S(({matches:a})=>({query:t,matches:a})),Z(this._destroySubject)),mql:i};return this._queries.set(t,r),r}};e.\u0275fac=function(i){return new(i||e)(c(ni),c(D))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function wt(n){return n.map(e=>e.split(",")).reduce((e,o)=>e.concat(o)).map(e=>e.trim())}var Ft=" ";function Di(n,e,o){let t=ce(n,e);o=o.trim(),!t.some(i=>i.trim()===o)&&(t.push(o),n.setAttribute(e,t.join(Ft)))}function Ti(n,e,o){let t=ce(n,e);o=o.trim();let i=t.filter(s=>s!==o);i.length?n.setAttribute(e,i.join(Ft)):n.removeAttribute(e)}function ce(n,e){return n.getAttribute(e)?.match(/\S+/g)??[]}var Lt="cdk-describedby-message",oe="cdk-describedby-host",xe=0,hs=(()=>{let e=class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${xe++}`,this._document=t,this._id=f(ot)+"-"+xe++}describe(t,i,s){if(!this._canBeDescribed(t,i))return;let r=ke(i,s);typeof i!="string"?(Mt(i,this._id),this._messageRegistry.set(r,{messageElement:i,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(i,s),this._isElementDescribedByMessage(t,r)||this._addMessageReference(t,r)}removeDescription(t,i,s){if(!i||!this._isElementNode(t))return;let r=ke(i,s);if(this._isElementDescribedByMessage(t,r)&&this._removeMessageReference(t,r),typeof i=="string"){let a=this._messageRegistry.get(r);a&&a.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${oe}="${this._id}"]`);for(let i=0;i<t.length;i++)this._removeCdkDescribedByReferenceIds(t[i]),t[i].removeAttribute(oe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,i){let s=this._document.createElement("div");Mt(s,this._id),s.textContent=t,i&&s.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(s),this._messageRegistry.set(ke(t,i),{messageElement:s,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let r=0;r<i.length;r++)i[r].remove();let s=this._document.createElement("div");s.style.visibility="hidden",s.classList.add(t),s.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&s.setAttribute("platform","server"),this._document.body.appendChild(s),this._messagesContainer=s}_removeCdkDescribedByReferenceIds(t){let i=ce(t,"aria-describedby").filter(s=>s.indexOf(Lt)!=0);t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){let s=this._messageRegistry.get(i);Di(t,"aria-describedby",s.messageElement.id),t.setAttribute(oe,this._id),s.referenceCount++}_removeMessageReference(t,i){let s=this._messageRegistry.get(i);s.referenceCount--,Ti(t,"aria-describedby",s.messageElement.id),t.removeAttribute(oe)}_isElementDescribedByMessage(t,i){let s=ce(t,"aria-describedby"),r=this._messageRegistry.get(i),a=r&&r.messageElement.id;return!!a&&s.indexOf(a)!=-1}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&typeof i=="object")return!0;let s=i==null?"":`${i}`.trim(),r=t.getAttribute("aria-label");return s?!r||r.trim()!==s:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(c(y),c(b))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ke(n,e){return typeof n=="string"?`${e||""}/${n}`:n}function Mt(n,e){n.id||(n.id=`${Lt}-${e}-${xe++}`)}var de=class{constructor(e,o){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new I,this._typeaheadSubscription=Ge.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new I,this.change=new I,e instanceof _e?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):ge(e)&&(this._effectRef=bt(()=>this._itemsChanged(e()),{injector:o}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(it(o=>this._pressedLetters.push(o)),z(e),qe(()=>this._pressedLetters.length>0),S(()=>this._pressedLetters.join(""))).subscribe(o=>{let t=this._getItemsArray();for(let i=1;i<t.length+1;i++){let s=(this._activeItemIndex+i)%t.length,r=t[s];if(!this._skipPredicateFn(r)&&r.getLabel().toUpperCase().trim().indexOf(o)===0){this.setActiveItem(s);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,o=10){return this._pageUpAndDown={enabled:e,delta:o},this}setActiveItem(e){let o=this._activeItem;this.updateActiveItem(e),this._activeItem!==o&&this.change.next(this._activeItemIndex)}onKeydown(e){let o=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(s=>!e[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(o){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let s=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(s>0?s:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let s=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(s<r?s:r-1,-1);break}else return;default:(i||se(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(o>=65&&o<=90||o>=48&&o<=57)&&this._letterKeyStream.next(String.fromCharCode(o)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let o=this._getItemsArray(),t=typeof e=="number"?e:o.indexOf(e),i=o[t];this._activeItem=i??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let o=this._getItemsArray();for(let t=1;t<=o.length;t++){let i=(this._activeItemIndex+e*t+o.length)%o.length,s=o[i];if(!this._skipPredicateFn(s)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,o){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=o,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return ge(this._items)?this._items():this._items instanceof _e?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let o=e.indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}},xt=class extends de{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Ct=class extends de{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var wi=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return Mi(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=ki(Si(t));if(i&&(Ot(i)===-1||!this.isVisible(i)))return!1;let s=t.nodeName.toLowerCase(),r=Ot(t);return t.hasAttribute("contenteditable")?r!==-1:s==="iframe"||s==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Fi(t)?!1:s==="audio"?t.hasAttribute("controls")?r!==-1:!1:s==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return Li(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(i){return new(i||e)(c(b))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ki(n){try{return n.frameElement}catch{return null}}function Mi(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function xi(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function Ci(n){return Ni(n)&&n.type=="hidden"}function Oi(n){return Ri(n)&&n.hasAttribute("href")}function Ni(n){return n.nodeName.toLowerCase()=="input"}function Ri(n){return n.nodeName.toLowerCase()=="a"}function St(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Ot(n){if(!St(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function Fi(n){let e=n.nodeName.toLowerCase(),o=e==="input"&&n.type;return o==="text"||o==="password"||e==="select"||e==="textarea"}function Li(n){return Ci(n)?!1:xi(n)||Oi(n)||n.hasAttribute("contenteditable")||St(n)}function Si(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Ce=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,o,t,i,s=!1,r){this._element=e,this._checker=o,this._ngZone=t,this._document=i,this._injector=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}destroy(){let e=this._startAnchor,o=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),o&&(o.removeEventListener("focus",this.endAnchorListener),o.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(o=>{this._executeOnStable(()=>o(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(o=>{this._executeOnStable(()=>o(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(o=>{this._executeOnStable(()=>o(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let o=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?o.length?o[0]:this._getFirstTabbableElement(this._element):o.length?o[o.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let o=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(o){if(!this._checker.isFocusable(o)){let t=this._getFirstTabbableElement(o);return t?.focus(e),!!t}return o.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let o=this._getRegionBoundary("start");return o&&o.focus(e),!!o}focusLastTabbableElement(e){let o=this._getRegionBoundary("end");return o&&o.focus(e),!!o}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let o=e.children;for(let t=0;t<o.length;t++){let i=o[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(o[t]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let o=e.children;for(let t=o.length-1;t>=0;t--){let i=o[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(o[t]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,o){e?o.setAttribute("tabindex","0"):o.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?ct(e,{injector:this._injector}):setTimeout(e)}},ji=(()=>{let e=class e{constructor(t,i,s){this._checker=t,this._ngZone=i,this._injector=f(st),this._document=s}create(t,i=!1){return new Ce(t,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(c(wi),c(D),c(y))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),us=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,i,s){this._elementRef=t,this._focusTrapFactory=i,this._previouslyFocusedElement=null,f(b).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let i=t.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=It(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(i){return new(i||e)(u(A),u(ji),u(y))},e.\u0275dir=k({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",U],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",U]},exportAs:["cdkTrapFocus"],standalone:!0,features:[P,nt]});let n=e;return n})();function Oe(n){return n.buttons===0||n.detail===0}function Ne(n){let e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Pi=new _("cdk-input-modality-detector-options"),Bi={ignoreKeys:[18,17,224,91,16]},jt=650,L=F({passive:!0,capture:!0}),Ui=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,i,s,r){this._platform=t,this._mostRecentTarget=null,this._modality=new Ze(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(d=>d===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=T(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<jt||(this._modality.next(Oe(a)?"keyboard":"mouse"),this._mostRecentTarget=T(a))},this._onTouchstart=a=>{if(Ne(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=T(a)},this._options=m(m({},Bi),r),this.modalityDetected=this._modality.pipe(G(1)),this.modalityChanged=this.modalityDetected.pipe(et()),t.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,L),s.addEventListener("mousedown",this._onMousedown,L),s.addEventListener("touchstart",this._onTouchstart,L)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,L),document.removeEventListener("mousedown",this._onMousedown,L),document.removeEventListener("touchstart",this._onTouchstart,L))}};e.\u0275fac=function(i){return new(i||e)(c(b),c(D),c(y),c(Pi,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Vi=new _("liveAnnouncerElement",{providedIn:"root",factory:Hi});function Hi(){return null}var Ki=new _("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Wi=0,ms=(()=>{let e=class e{constructor(t,i,s,r){this._ngZone=i,this._defaultOptions=r,this._document=s,this._liveElement=t||this._createLiveElement()}announce(t,...i){let s=this._defaultOptions,r,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[r,a]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=s&&s.politeness?s.politeness:"polite"),a==null&&s&&(a=s.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(d=>this._currentResolve=d)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),s=this._document.createElement("div");for(let r=0;r<i.length;r++)i[r].remove();return s.classList.add(t),s.classList.add("cdk-visually-hidden"),s.setAttribute("aria-atomic","true"),s.setAttribute("aria-live","polite"),s.id=`cdk-live-announcer-${Wi++}`,this._document.body.appendChild(s),s}_exposeAnnouncerToModals(t){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<i.length;s++){let r=i[s],a=r.getAttribute("aria-owns");a?a.indexOf(t)===-1&&r.setAttribute("aria-owns",a+" "+t):r.setAttribute("aria-owns",t)}}};e.\u0275fac=function(i){return new(i||e)(c(Vi,8),c(D),c(y),c(Ki,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var ae=function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n}(ae||{}),$i=new _("cdk-focus-monitor-default-options"),re=F({passive:!0,capture:!0}),zi=(()=>{let e=class e{constructor(t,i,s,r,a){this._ngZone=t,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new I,this._rootNodeFocusAndBlurListener=d=>{let v=T(d);for(let l=v;l;l=l.parentElement)d.type==="focus"?this._onFocus(d,l):this._onBlur(d,l)},this._document=r,this._detectionMode=a?.detectionMode||ae.IMMEDIATE}monitor(t,i=!1){let s=x(t);if(!this._platform.isBrowser||s.nodeType!==1)return Ye();let r=Et(s)||this._getDocument(),a=this._elementInfo.get(s);if(a)return i&&(a.checkChildren=!0),a.subject;let d={checkChildren:i,subject:new I,rootNode:r};return this._elementInfo.set(s,d),this._registerGlobalListeners(d),d.subject}stopMonitoring(t){let i=x(t),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(t,i,s){let r=x(t),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([d,v])=>this._originChanged(d,i,v)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(s))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===ae.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===ae.IMMEDIATE){clearTimeout(this._originTimeoutId);let s=this._originFromTouchInteraction?jt:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(t,i){let s=this._elementInfo.get(i),r=T(t);!s||!s.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),s)}_onBlur(t,i){let s=this._elementInfo.get(i);!s||s.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,re),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,re)}),this._rootNodeFocusListenerCount.set(i,s+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Z(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,re),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,re),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,s){this._setClasses(t,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((s,r)=>{(r===t||s.checkChildren&&r.contains(t))&&i.push([r,s])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if(s!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let r=t.labels;if(r){for(let a=0;a<r.length;a++)if(r[a].contains(i))return!0}return!1}};e.\u0275fac=function(i){return new(i||e)(c(D),c(b),c(Ui),c(y,8),c($i,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),fs=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new N}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(u(A),u(zi))},e.\u0275dir=k({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=e;return n})(),O=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(O||{}),Nt="cdk-high-contrast-black-on-white",Rt="cdk-high-contrast-white-on-black",Me="cdk-high-contrast-active",Re=(()=>{let e=class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=f(kt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return O.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(t):null,r=(s&&s.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return O.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return O.BLACK_ON_WHITE}return O.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Me,Nt,Rt),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===O.BLACK_ON_WHITE?t.add(Me,Nt):i===O.WHITE_ON_BLACK&&t.add(Me,Rt)}}};e.\u0275fac=function(i){return new(i||e)(c(b),c(y))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ps=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(c(Re))},e.\u0275mod=g({type:e}),e.\u0275inj=p({imports:[Dt]});let n=e;return n})();var Yi=new _("cdk-dir-doc",{providedIn:"root",factory:Qi});function Qi(){return f(y)}var Xi=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function qi(n){let e=n?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?Xi.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var ws=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new N,t){let i=t.body?t.body.dir:null,s=t.documentElement?t.documentElement.dir:null;this.value=qi(i||s||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(c(Yi,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Fe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({});let n=e;return n})();var tn=["text"],nn=[[["mat-icon"]],"*"],sn=["mat-icon","*"];function on(n,e){if(n&1&&J(0,"mat-pseudo-checkbox",1),n&2){let o=ee();X("disabled",o.disabled)("state",o.selected?"checked":"unchecked")}}function rn(n,e){if(n&1&&J(0,"mat-pseudo-checkbox",3),n&2){let o=ee();X("disabled",o.disabled)}}function an(n,e){if(n&1&&(ye(0,"span",4),ft(1),Ee()),n&2){let o=ee();j(),pt("(",o.group.label,")")}}var cn=["mat-internal-form-field",""],dn=["*"];var Zs=(()=>{let e=class e{};e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=e;return n})(),Ys=(()=>{let e=class e{};e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms";let n=e;return n})();function ln(){return!0}var hn=new _("mat-sanity-checks",{providedIn:"root",factory:ln}),he=(()=>{let e=class e{constructor(t,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return At()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(c(Re),c(hn,8),c(y))},e.\u0275mod=g({type:e}),e.\u0275inj=p({imports:[Fe,Fe]});let n=e;return n})();var Pt=class{constructor(e,o,t,i,s){this._defaultMatcher=e,this.ngControl=o,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=s,this.errorState=!1}updateErrorState(){let e=this.errorState,o=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,s=t?.isErrorState(i,o)??!1;s!==e&&(this.errorState=s,this._stateChanges.next())}};var Bt=new _("MAT_DATE_LOCALE",{providedIn:"root",factory:un});function un(){return f(_t)}var ue=class{constructor(){this._localeChanges=new I,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,o){return this.getYear(e)-this.getYear(o)||this.getMonth(e)-this.getMonth(o)||this.getDate(e)-this.getDate(o)}sameDate(e,o){if(e&&o){let t=this.isValid(e),i=this.isValid(o);return t&&i?!this.compareDate(e,o):t==i}return e==o}clampDate(e,o,t){return o&&this.compareDate(e,o)<0?o:t&&this.compareDate(e,t)>0?t:e}},mn=new _("mat-date-formats"),fn=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Le(n,e){let o=Array(n);for(let t=0;t<n;t++)o[t]=e(t);return o}var pn=(()=>{let e=class e extends ue{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=f(Bt,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let i=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Le(12,s=>this._format(i,new Date(2017,s,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Le(31,i=>this._format(t,new Date(2017,0,i+1)))}getDayOfWeekNames(t){let i=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Le(7,s=>this._format(i,new Date(2017,0,s+1)))}getYearName(t){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,t)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,i,s){let r=this._createDateWithOverflow(t,i,s);return r.getMonth()!=i,r}today(){return new Date}parse(t,i){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,i){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,ze(m({},i),{timeZone:"utc"}));return this._format(s,t)}addCalendarYears(t,i){return this.addCalendarMonths(t,i*12)}addCalendarMonths(t,i){let s=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+i,this.getDate(t));return this.getMonth(s)!=((this.getMonth(t)+i)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(t,i){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+i)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(fn.test(t)){let i=new Date(t);if(this.isValid(i))return i}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,i,s){let r=new Date;return r.setFullYear(t,i,s),r.setHours(0,0,0,0),r}_2digit(t){return("00"+t).slice(-2)}_format(t,i){let s=new Date;return s.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),s.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),t.format(s)}};e.\u0275fac=function(i){return new(i||e)(c(Bt,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac});let n=e;return n})(),_n={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var Qs=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({providers:[gn()]});let n=e;return n})();function gn(n=_n){return[{provide:ue,useClass:pn},{provide:mn,useValue:n}]}var Xs=(()=>{let e=class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var E=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(E||{}),Pe=class{constructor(e,o,t,i=!1){this._renderer=e,this.element=o,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=E.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Ut=F({passive:!0,capture:!0}),Be=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let o=T(e);o&&this._events.get(e.type)?.forEach((t,i)=>{(i===o||i.contains(o))&&t.forEach(s=>s.handleEvent(e))})}}addHandler(e,o,t,i){let s=this._events.get(o);if(s){let r=s.get(t);r?r.add(i):s.set(t,new Set([i]))}else this._events.set(o,new Map([[t,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(o,this._delegateEventHandler,Ut)})}removeHandler(e,o,t){let i=this._events.get(e);if(!i)return;let s=i.get(o);s&&(s.delete(t),s.size===0&&i.delete(o),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Ut)))}},Vt={enterDuration:225,exitDuration:150},bn=800,Ht=F({passive:!0,capture:!0}),Kt=["mousedown","touchstart"],Wt=["mouseup","mouseleave","touchend","touchcancel"],W=class W{constructor(e,o,t,i){this._target=e,this._ngZone=o,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=x(t))}fadeInRipple(e,o,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=m(m({},Vt),t.animation);t.centered&&(e=i.left+i.width/2,o=i.top+i.height/2);let r=t.radius||vn(e,o,i),a=e-i.left,d=o-i.top,v=s.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${a-r}px`,l.style.top=`${d-r}px`,l.style.height=`${r*2}px`,l.style.width=`${r*2}px`,t.color!=null&&(l.style.backgroundColor=t.color),l.style.transitionDuration=`${v}ms`,this._containerElement.appendChild(l);let He=window.getComputedStyle(l),Qt=He.transitionProperty,Ke=He.transitionDuration,me=Qt==="none"||Ke==="0s"||Ke==="0s, 0s"||i.width===0&&i.height===0,w=new Pe(this,l,t,me);l.style.transform="scale3d(1, 1, 1)",w.state=E.FADING_IN,t.persistent||(this._mostRecentTransientRipple=w);let $=null;return!me&&(v||s.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let We=()=>{$&&($.fallbackTimer=null),clearTimeout($e),this._finishRippleTransition(w)},fe=()=>this._destroyRipple(w),$e=setTimeout(fe,v+100);l.addEventListener("transitionend",We),l.addEventListener("transitioncancel",fe),$={onTransitionEnd:We,onTransitionCancel:fe,fallbackTimer:$e}}),this._activeRipples.set(w,$),(me||!v)&&this._finishRippleTransition(w),w}fadeOutRipple(e){if(e.state===E.FADING_OUT||e.state===E.HIDDEN)return;let o=e.element,t=m(m({},Vt),e.config.animation);o.style.transitionDuration=`${t.exitDuration}ms`,o.style.opacity="0",e.state=E.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let o=x(e);!this._platform.isBrowser||!o||o===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=o,Kt.forEach(t=>{W._eventManager.addHandler(this._ngZone,t,o,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Wt.forEach(o=>{this._triggerElement.addEventListener(o,this,Ht)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===E.FADING_IN?this._startFadeOutTransition(e):e.state===E.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let o=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=E.VISIBLE,!t&&(!o||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let o=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=E.HIDDEN,o!==null&&(e.element.removeEventListener("transitionend",o.onTransitionEnd),e.element.removeEventListener("transitioncancel",o.onTransitionCancel),o.fallbackTimer!==null&&clearTimeout(o.fallbackTimer)),e.element.remove()}_onMousedown(e){let o=Oe(e),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+bn;!this._target.rippleDisabled&&!o&&!t&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Ne(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let o=e.changedTouches;if(o)for(let t=0;t<o.length;t++)this.fadeInRipple(o[t].clientX,o[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let o=e.state===E.VISIBLE||e.config.terminateOnPointerUp&&e.state===E.FADING_IN;!e.config.persistent&&o&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Kt.forEach(o=>W._eventManager.removeHandler(o,e,this)),this._pointerUpEventsRegistered&&(Wt.forEach(o=>e.removeEventListener(o,this,Ht)),this._pointerUpEventsRegistered=!1))}};W._eventManager=new Be;var Ue=W;function vn(n,e,o){let t=Math.max(Math.abs(n-o.left),Math.abs(n-o.right)),i=Math.max(Math.abs(e-o.top),Math.abs(e-o.bottom));return Math.sqrt(t*t+i*i)}var Zt=new _("mat-ripple-global-options"),Yt=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,s,r,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Ue(this,i,t,s)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:m(m(m({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,s){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,i,m(m({},this.rippleConfig),s)):this._rippleRenderer.fadeInRipple(0,0,m(m({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(u(A),u(D),u(b),u(Zt,8),u(Q,8))},e.\u0275dir=k({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,s){i&2&&B("mat-ripple-unbounded",s.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=e;return n})(),yn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({imports:[he,he]});let n=e;return n})(),En=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(u(Q,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,s){i&2&&B("mat-pseudo-checkbox-indeterminate",s.state==="indeterminate")("mat-pseudo-checkbox-checked",s.state==="checked")("mat-pseudo-checkbox-disabled",s.disabled)("mat-pseudo-checkbox-minimal",s.appearance==="minimal")("mat-pseudo-checkbox-full",s.appearance==="full")("_mat-animation-noopable",s._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[ie],decls:0,vars:0,template:function(i,s){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=e;return n})(),In=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({imports:[he]});let n=e;return n})(),An=new _("MAT_OPTION_PARENT_COMPONENT");var Dn=new _("MatOptgroup");var Tn=0,Ve=class{constructor(e,o=!1){this.source=e,this.isUserInput=o}},qs=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,i,s,r){this._element=t,this._changeDetectorRef=i,this._parent=s,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Tn++}`,this.onSelectionChange=new N,this._stateChanges=new I}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){let s=this._getHostElement();typeof s.focus=="function"&&s.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!se(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Ve(this,t))}};e.\u0275fac=function(i){return new(i||e)(u(A),u(gt),u(An,8),u(Dn,8))},e.\u0275cmp=Y({type:e,selectors:[["mat-option"]],viewQuery:function(i,s){if(i&1&&ht(tn,7),i&2){let r;ut(r=mt())&&(s._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,s){i&1&<("click",function(){return s._selectViaInteraction()})("keydown",function(a){return s._handleKeydown(a)}),i&2&&(dt("id",s.id),ve("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),B("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",U]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[P,ie],ngContentSelectors:sn,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,s){i&1&&(Ie(nn),be(0,on,1,2,"mat-pseudo-checkbox",1),te(1),ye(2,"span",2,0),te(4,1),Ee(),be(5,rn,1,1,"mat-pseudo-checkbox",3)(6,an,2,1,"span",4),J(7,"div",5)),i&2&&(q(s.multiple?0:-1),j(5),q(!s.multiple&&s.selected&&!s.hideSingleSelectionIndicator?5:-1),j(),q(s.group&&s.group._inert?6:-1),j(),X("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[En,Yt],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight)}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();function Js(n,e,o){if(o.length){let t=e.toArray(),i=o.toArray(),s=0;for(let r=0;r<n+1;r++)t[r].group&&t[r].group===i[s]&&s++;return s}return 0}function eo(n,e,o,t){return n<o?n:n+e>o+t?Math.max(0,n-t+e):o}var to=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=g({type:e}),e.\u0275inj=p({imports:[yn,he,In]});let n=e;return n})(),$t={capture:!0},zt=["focus","mousedown","mouseenter","touchstart"],Se="mat-ripple-loader-uninitialized",je="mat-ripple-loader-class-name",Gt="mat-ripple-loader-centered",le="mat-ripple-loader-disabled",io=(()=>{let e=class e{constructor(){this._document=f(y,{optional:!0}),this._animationMode=f(Q,{optional:!0}),this._globalRippleOptions=f(Zt,{optional:!0}),this._platform=f(b),this._ngZone=f(D),this._hosts=new Map,this._onInteraction=t=>{let i=T(t);if(i instanceof HTMLElement){let s=i.closest(`[${Se}="${this._globalRippleOptions?.namespace??""}"]`);s&&this._createRipple(s)}},this._ngZone.runOutsideAngular(()=>{for(let t of zt)this._document?.addEventListener(t,this._onInteraction,$t)})}ngOnDestroy(){let t=this._hosts.keys();for(let i of t)this.destroyRipple(i);for(let i of zt)this._document?.removeEventListener(i,this._onInteraction,$t)}configureRipple(t,i){t.setAttribute(Se,this._globalRippleOptions?.namespace??""),(i.className||!t.hasAttribute(je))&&t.setAttribute(je,i.className||""),i.centered&&t.setAttribute(Gt,""),i.disabled&&t.setAttribute(le,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){let s=this._hosts.get(t);if(s){s.disabled=i;return}i?t.setAttribute(le,""):t.removeAttribute(le)}_createRipple(t){if(!this._document)return;let i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();let s=this._document.createElement("span");s.classList.add("mat-ripple",t.getAttribute(je)),t.append(s);let r=new Yt(new A(s),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=t,r.centered=t.hasAttribute(Gt),r.disabled=t.hasAttribute(le),this.attachRipple(t,r),r}attachRipple(t,i){t.removeAttribute(Se),this._hosts.set(t,i)}destroyRipple(t){let i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),no=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Y({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,s){i&2&&B("mdc-form-field--align-end",s.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[ie],attrs:cn,ngContentSelectors:dn,decls:1,vars:0,template:function(i,s){i&1&&(Ie(),te(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0});let n=e;return n})();export{Jt as a,ei as b,we as c,Sn as d,x as e,jn as f,se as g,b as h,On as i,F as j,H as k,Nn as l,Rn as m,Et as n,It as o,T as p,At as q,Dt as r,Di as s,Ti as t,hs as u,xt as v,Ct as w,wi as x,ji as y,us as z,Oe as A,Ne as B,ms as C,zi as D,fs as E,ps as F,ws as G,Fe as H,Zs as I,Ys as J,he as K,Pt as L,Bt as M,ue as N,mn as O,Qs as P,Xs as Q,Zt as R,Yt as S,yn as T,En as U,An as V,Dn as W,qs as X,Js as Y,eo as Z,to as _,io as $,no as aa};
|