@whoz-oss/coday-factory-cockpit 0.0.0-workstream-forge.180 → 0.0.0-workstream-forge.182

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.
@@ -1,4 +1,4 @@
1
- import {L as pe,O as ce,P as Pt,T as eo,h,aU as ue,ce as be,cf as Ae,aT as P,cg as Ee,aV as ri,aY as pf,V as y,aX as Z,ch as J3,ad as Ht,ci as H3,cj as vs,al as Cs,bX as Vt,ck as zt,cl as qn,cm as me,y as Hs,aK as et,b2 as ma,aM as _t,aq as by,cn as Fe,X as Xg,bL as Kg,r as or,F as Et,co as Xe,b8 as Bt,bb as Cn,cp as hn,cq as F,x as xe}from'./main-LOWHPZLE.js';var J=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=xe({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`textarea.cdk-textarea-autosize {
1
+ import {Q as he,R as ce,P as Pt,T as eo,h,aU as ue,cf as be,cg as we,aT as P,ch as Ee,aV as oi,aY as mf,X as y,aX as Z,ci as eW,ad as Qt,cj as H3,ck as ys,al as Ss,bY as Vt,cl as zt,cm as Zn,cn as me,U as Us,aK as tt,b2 as ma,aM as It,aq as Ey,co as Fe,e as ey,bL as Xg,m as ir,_ as _t,cp as Je,b8 as Ut,bb as Tn,cq as mn,cr as F,x as xe}from'./main-FK2WI32C.js';var J=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275cmp=xe({type:s,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`textarea.cdk-textarea-autosize {
2
2
  resize: none;
3
3
  }
4
4
 
@@ -24,4 +24,4 @@ textarea.cdk-textarea-autosize-measuring-firefox {
24
24
  .cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
25
25
  animation: cdk-text-field-autofill-end 0s 1ms;
26
26
  }
27
- `],encapsulation:2})}return s})(),Q={passive:true},$=(()=>{class s{_platform=h(be);_ngZone=h(P);_renderer=h(Xe).createRenderer(null,null);_styleLoader=h(Bt);_monitoredElements=new Map;monitor(e){if(!this._platform.isBrowser)return Cn;this._styleLoader.load(J);let t=hn(e),i=this._monitoredElements.get(t);if(i)return i.subject;let r=new Z,o="cdk-text-field-autofilled",a=d=>{d.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(o)?(t.classList.add(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:true}))):d.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(o)&&(t.classList.remove(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:false})));},l=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",a,Q)));return this._monitoredElements.set(t,{subject:r,unlisten:l}),r}stopMonitoring(e){let t=hn(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t));}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t));}static \u0275fac=function(t){return new(t||s)};static \u0275prov=F({token:s,factory:s.\u0275fac})}return s})();var W=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=pe({type:s});static \u0275inj=ce({})}return s})();var Y=new y("MAT_INPUT_VALUE_ACCESSOR");var ee=["button","checkbox","file","hidden","image","radio","range","reset","submit"],te=new y("MAT_INPUT_CONFIG"),Pe=(()=>{class s{_elementRef=h(ue);_platform=h(be);ngControl=h(Ae,{optional:true,self:true});_autofillMonitor=h($);_ngZone=h(P);_formField=h(Ee,{optional:true});_renderer=h(ri);_uid=h(pf).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=h(te,{optional:true});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=false;_isNativeSelect=false;_isTextarea=false;_isInFormField=false;focused=false;stateChanges=new Z;controlType="mat-input";autofilled=false;get disabled(){return this._disabled}set disabled(e){this._disabled=J3(e),this.focused&&(this.focused=false,this.stateChanges.next());}_disabled=false;get id(){return this._id}set id(e){this._id=e||this._uid;}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Ht.required)??false}set required(e){this._required=J3(e);}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&H3().has(this._type)&&(this._elementRef.nativeElement.type=this._type);}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next());}get readonly(){return this._readonly}set readonly(e){this._readonly=J3(e);}_readonly=false;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e;}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>H3().has(e));constructor(){let e=h(vs,{optional:true}),t=h(Cs,{optional:true}),i=h(Vt),r=h(Y,{optional:true,self:true}),o=h(zt,{optional:true,self:true}),a=this._elementRef.nativeElement,l=a.nodeName.toLowerCase();r?qn(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener);}),this._errorStateTracker=new me(i,o||this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=l==="select",this._isTextarea=l==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||false,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Hs(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next();});}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next();});}ngOnChanges(){this.stateChanges.next();}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.();}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder();}focus(e){this._elementRef.nativeElement.focus(e);}updateErrorState(){this._errorStateTracker.updateErrorState();}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0);}this.focused=e,this.stateChanges.next();}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next());}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder");}}_getPlaceholder(){return this.placeholder||null}_validateType(){ee.indexOf(this._type)>-1;}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return !this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby");}onContainerClick(){this.focused||this.focus();}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0));};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||s)};static \u0275dir=et({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&Xg("focus",function(){return i._focusChanged(true)})("blur",function(){return i._focusChanged(false)})("input",function(){return i._onInput()}),t&2&&(Kg("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),or("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Et("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()));},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",_t]},exportAs:["matInput"],features:[by([{provide:Fe,useExisting:s}]),ma]})}return s})(),Be=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=pe({type:s});static \u0275inj=ce({imports:[Pt,Pt,W,eo]})}return s})();export{Be as B,Pe as P};
27
+ `],encapsulation:2})}return s})(),Q={passive:true},$=(()=>{class s{_platform=h(be);_ngZone=h(P);_renderer=h(Je).createRenderer(null,null);_styleLoader=h(Ut);_monitoredElements=new Map;monitor(e){if(!this._platform.isBrowser)return Tn;this._styleLoader.load(J);let t=mn(e),i=this._monitoredElements.get(t);if(i)return i.subject;let r=new Z,o="cdk-text-field-autofilled",a=d=>{d.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(o)?(t.classList.add(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:true}))):d.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(o)&&(t.classList.remove(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:false})));},l=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",a,Q)));return this._monitoredElements.set(t,{subject:r,unlisten:l}),r}stopMonitoring(e){let t=mn(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t));}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t));}static \u0275fac=function(t){return new(t||s)};static \u0275prov=F({token:s,factory:s.\u0275fac})}return s})();var W=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=he({type:s});static \u0275inj=ce({})}return s})();var Y=new y("MAT_INPUT_VALUE_ACCESSOR");var ee=["button","checkbox","file","hidden","image","radio","range","reset","submit"],te=new y("MAT_INPUT_CONFIG"),Pe=(()=>{class s{_elementRef=h(ue);_platform=h(be);ngControl=h(we,{optional:true,self:true});_autofillMonitor=h($);_ngZone=h(P);_formField=h(Ee,{optional:true});_renderer=h(oi);_uid=h(mf).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=h(te,{optional:true});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=false;_isNativeSelect=false;_isTextarea=false;_isInFormField=false;focused=false;stateChanges=new Z;controlType="mat-input";autofilled=false;get disabled(){return this._disabled}set disabled(e){this._disabled=eW(e),this.focused&&(this.focused=false,this.stateChanges.next());}_disabled=false;get id(){return this._id}set id(e){this._id=e||this._uid;}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Qt.required)??false}set required(e){this._required=eW(e);}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&H3().has(this._type)&&(this._elementRef.nativeElement.type=this._type);}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next());}get readonly(){return this._readonly}set readonly(e){this._readonly=eW(e);}_readonly=false;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e;}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>H3().has(e));constructor(){let e=h(ys,{optional:true}),t=h(Ss,{optional:true}),i=h(Vt),r=h(Y,{optional:true,self:true}),o=h(zt,{optional:true,self:true}),a=this._elementRef.nativeElement,l=a.nodeName.toLowerCase();r?Zn(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener);}),this._errorStateTracker=new me(i,o||this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=l==="select",this._isTextarea=l==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||false,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Us(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next();});}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next();});}ngOnChanges(){this.stateChanges.next();}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.();}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder();}focus(e){this._elementRef.nativeElement.focus(e);}updateErrorState(){this._errorStateTracker.updateErrorState();}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0);}this.focused=e,this.stateChanges.next();}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next());}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder");}}_getPlaceholder(){return this.placeholder||null}_validateType(){ee.indexOf(this._type)>-1;}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return !this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby");}onContainerClick(){this.focused||this.focus();}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0));};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||s)};static \u0275dir=tt({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,i){t&1&&ey("focus",function(){return i._focusChanged(true)})("blur",function(){return i._focusChanged(false)})("input",function(){return i._onInput()}),t&2&&(Xg("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),ir("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),_t("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()));},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",It]},exportAs:["matInput"],features:[Ey([{provide:Fe,useExisting:s}]),ma]})}return s})(),Be=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=he({type:s});static \u0275inj=ce({imports:[Pt,Pt,W,eo]})}return s})();export{Be as B,Pe as P};
@@ -1 +1 @@
1
- import {ab as je,h,Z as Ze,cJ as g,n as aT,bz as vr,by as R}from'./main-LOWHPZLE.js';function U(n){n||(n=h(je));let e=new R(t=>{if(n.destroyed){t.next();return}return n.onDestroy(t.next.bind(t))});return t=>t.pipe(vr(e))}function T(n,e){let d=!e?.manualCleanup?e?.injector?.get(je)??h(je):null,l=p(e?.equal),o;e?.requireSync?o=Ze({kind:0},{equal:l}):o=Ze({kind:1,value:e?.initialValue},{equal:l});let i,b=n.subscribe({next:r=>o.set({kind:1,value:r}),error:r=>{o.set({kind:2,error:r}),i?.();},complete:()=>{i?.();}});if(e?.requireSync&&o().kind===0)throw new g(601,false);return i=d?.onDestroy(b.unsubscribe.bind(b)),aT(()=>{let r=o();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new g(601,false)}},{equal:e?.equal})}function p(n=Object.is){return (e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}export{T,U};
1
+ import {ab as Be,h,A as Ye,cK as g,u as uT,bz as br,by as k}from'./main-FK2WI32C.js';function U(n){n||(n=h(Be));let e=new k(t=>{if(n.destroyed){t.next();return}return n.onDestroy(t.next.bind(t))});return t=>t.pipe(br(e))}function T(n,e){let d=!e?.manualCleanup?e?.injector?.get(Be)??h(Be):null,l=p(e?.equal),o;e?.requireSync?o=Ye({kind:0},{equal:l}):o=Ye({kind:1,value:e?.initialValue},{equal:l});let i,b=n.subscribe({next:r=>o.set({kind:1,value:r}),error:r=>{o.set({kind:2,error:r}),i?.();},complete:()=>{i?.();}});if(e?.requireSync&&o().kind===0)throw new g(601,false);return i=d?.onDestroy(b.unsubscribe.bind(b)),uT(()=>{let r=o();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new g(601,false)}},{equal:e?.equal})}function p(n=Object.is){return (e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}export{T,U};
@@ -1 +1 @@
1
- import {R as Ry,n as aT,x as xe,G as G8,W as W8,a1 as $t,a2 as vt,Y as ir,p as pa,b as jC,_ as _d,a0 as tt,f as Gg,r as or,J as Jo,l as fy}from'./main-LOWHPZLE.js';var v=["*"],y=class a{icon=Ry.required();label=Ry("");unknownCostCount=Ry(0);tooltip=aT(()=>{let t=this.label(),e=this.unknownCostCount();return e>0?`${t} \xB7 ${e} round(s) with unknown cost (floor value)`:t});static \u0275fac=function(e){return new(e||a)};static \u0275cmp=xe({type:a,selectors:[["sf-metric"]],inputs:{icon:[1,"icon"],label:[1,"label"],unknownCostCount:[1,"unknownCostCount"]},ngContentSelectors:v,decls:4,vars:3,consts:[[1,"metric",3,"matTooltip"],["aria-hidden","true"]],template:function(e,n){e&1&&(ir(),pa(0,"span",0)(1,"mat-icon",1),jC(2),_d(),tt(3),_d()),e&2&&(Gg("matTooltip",n.tooltip()),or("aria-label",n.tooltip()),Jo(2),fy(n.icon()));},dependencies:[G8,W8,$t,vt],styles:[".metric[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px;border-radius:8px;border:1px solid var(--sf-outline);background:var(--sf-surface);font-family:var(--sf-mono);font-size:13px;font-weight:600;color:var(--sf-text)}mat-icon[_ngcontent-%COMP%]{width:16px;height:16px;font-size:16px;color:var(--sf-text-muted)}"]})};export{y};
1
+ import {O as Oy,u as uT,x as xe,q as q8,G as G8,a1 as $t,a2 as vt,$ as sr,p as pa,b as BC,d as Id,a0 as nt,Z as Zg,m as ir,g as ei,k as hy}from'./main-FK2WI32C.js';var v=["*"],y=class a{icon=Oy.required();label=Oy("");unknownCostCount=Oy(0);tooltip=uT(()=>{let t=this.label(),e=this.unknownCostCount();return e>0?`${t} \xB7 ${e} round(s) with unknown cost (floor value)`:t});static \u0275fac=function(e){return new(e||a)};static \u0275cmp=xe({type:a,selectors:[["sf-metric"]],inputs:{icon:[1,"icon"],label:[1,"label"],unknownCostCount:[1,"unknownCostCount"]},ngContentSelectors:v,decls:4,vars:3,consts:[[1,"metric",3,"matTooltip"],["aria-hidden","true"]],template:function(e,n){e&1&&(sr(),pa(0,"span",0)(1,"mat-icon",1),BC(2),Id(),nt(3),Id()),e&2&&(Zg("matTooltip",n.tooltip()),ir("aria-label",n.tooltip()),ei(2),hy(n.icon()));},dependencies:[q8,G8,$t,vt],styles:[".metric[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px;border-radius:8px;border:1px solid var(--sf-outline);background:var(--sf-surface);font-family:var(--sf-mono);font-size:13px;font-weight:600;color:var(--sf-text)}mat-icon[_ngcontent-%COMP%]{width:16px;height:16px;font-size:16px;color:var(--sf-text-muted)}"]})};export{y};
@@ -0,0 +1 @@
1
+ import {$ as $e,H as Ht,j as jt,N as Nt,z as zt,V as Vt}from'./chunk-Be9_N663.js';import {h,x as xe,V as VW,B as BW,p as pa,b as BC,d as Id,i as ii,g as ei,k as hy,s as si,Z as Zg,_ as _t,a8 as Sd,w as fC}from'./main-FK2WI32C.js';function S(o,m){if(o&1&&(pa(0,"code",1),BC(1),Id()),o&2){let a=fC();ei(),hy(a.data.detail);}}var I=class o{data=h($e);static \u0275fac=function(a){return new(a||o)};static \u0275cmp=xe({type:o,selectors:[["sf-confirm-dialog"]],decls:11,vars:8,consts:[["mat-dialog-title",""],[1,"sf-mono","dialog-detail"],["align","end"],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",3,"mat-dialog-close"]],template:function(a,l){a&1&&(pa(0,"h2",0),BC(1),Id(),pa(2,"mat-dialog-content")(3,"p"),BC(4),Id(),ii(5,S,2,1,"code",1),Id(),pa(6,"mat-dialog-actions",2)(7,"button",3),BC(8,"Cancel"),Id(),pa(9,"button",4),BC(10),Id()()),a&2&&(ei(),hy(l.data.title),ei(3),hy(l.data.message),ei(),si(l.data.detail?5:-1),ei(2),Zg("mat-dialog-close",false),ei(2),_t("sf-danger",l.data.destructive),Zg("mat-dialog-close",true),ei(),Sd(" ",l.data.confirmLabel??"Confirm"," "));},dependencies:[VW,BW,Ht,jt,Nt,zt,Vt],styles:[".dialog-detail[_ngcontent-%COMP%]{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:6px;background:var(--sf-surface-2);color:var(--sf-primary)}"]})};export{I};
@@ -0,0 +1 @@
1
+ import {I}from'./chunk-BWTGQU7W.js';import {e as ee$1}from'./chunk-Be9_N663.js';import {U}from'./chunk-B9lfKLTo.js';import {c as ci,Z as Zt,e as ei,n as ni,t as ti,J as Jt,r as ri,i as ii,o as oi,s as si,a as ai}from'./chunk-BjMUVld6.js';import {_}from'./chunk-CERA4zty.js';import {h,ab as Be,A as Ye,v as vb,U as Us,aD as R,x as xe,V as VW,B as BW,q as q8,G as G8,p as pa,b as BC,d as Id,i as ii$1,e as ey,Y as Yg,bS as wd,b3 as $g,bT as Cd,g as ei$1,Z as Zg,a8 as Sd,s as si$1,aq as Ey,k as hy,y as sC,w as fC,a6 as Wp,a7 as Gp}from'./main-FK2WI32C.js';import {c}from'./chunk-HHF1Eg6s.js';function te(e,t){e&1&&(pa(0,"div",5)(1,"mat-icon",29),BC(2,"gpp_bad"),Id(),pa(3,"span"),BC(4),Id()()),e&2&&(ei$1(4),hy(t));}function ne(e,t){e&1&&(pa(0,"span",11),BC(1),Id()),e&2&&(ei$1(),hy(t.name));}function ie(e,t){e&1&&(pa(0,"div",15),BC(1),Id()),e&2&&(ei$1(),hy(t));}function oe(e,t){e&1&&(pa(0,"th",30),BC(1,"Type"),Id());}function ae(e,t){if(e&1&&(pa(0,"td",31),BC(1),Id()),e&2){let i=t.$implicit;ei$1(),hy(i.workflowType);}}function re(e,t){e&1&&(pa(0,"th",30),BC(1,"Version"),Id());}function de(e,t){if(e&1&&(pa(0,"td",32),BC(1),Id()),e&2){let i=t.$implicit;ei$1(),hy(i.version);}}function le(e,t){e&1&&(pa(0,"th",30),BC(1,"Hash"),Id());}function se(e,t){if(e&1&&(pa(0,"td",33),BC(1),Id()),e&2){let i=t.$implicit;ei$1(),hy(i.definitionHash);}}function me(e,t){e&1&&Yg(0,"th",30);}function fe(e,t){if(e&1){let i=sC();pa(0,"td",34)(1,"button",35),ey("click",function(){let l=Wp(i).$implicit,m=fC();return Gp(m.deleteDefinition(l))}),BC(2),Id()();}if(e&2){let i=t.$implicit,n=fC();ei$1(),Zg("disabled",n.adminDisabled()||n.deletingKey()===n.definitionKey(i)),ei$1(),Sd(" ",n.deletingKey()===n.definitionKey(i)?"Deleting\u2026":"Delete"," ");}}function pe(e,t){e&1&&Yg(0,"tr",36);}function ce(e,t){e&1&&Yg(0,"tr",37);}function ue(e,t){if(e&1&&(pa(0,"p",28),BC(1),Id()),e&2){let i=fC();ei$1(),Sd(" ",i.definitionsLoading()?"Loading\u2026":"No definitions registered."," ");}}var Z="FORBIDDEN_ADMIN_REQUIRED";function ge(e){let t=e?.status===403||e?.code===Z,i=typeof e?.message=="string"&&e.message.trim()?e.message.trim():null;return t?{forbidden:true,message:`Access denied: ${i??"admin rights required"} (${Z})`}:{forbidden:false,message:i??"Admin command failed (network or server error)."}}var ee=class e{state=h(c);dialog=h(ee$1);destroyRef=h(Be);adminDisabled=Ye(false);forbiddenError=Ye(null);definitions=this.state.definitions;definitionsLoading=this.state.loading;uploading=this.state.uploading;selectedFile=Ye(null);definitionsError=Ye(null);deletingKey=this.state.deletingKey;definitionColumns=["workflowType","version","definitionHash","actions"];constructor(){h(vb).crumbs.set([{label:"Workflow definitions"}]),Us(()=>{let t=this.state.error();t&&this.applyError(t,i=>this.definitionsError.set(i));}),this.loadDefinitions();}loadDefinitions(){this.adminDisabled()||this.state.load();}onFileSelected(t){let i=t.target;this.selectedFile.set(i.files?.[0]??null);}uploadDefinition(){if(this.adminDisabled()||this.uploading())return;let t=this.selectedFile();if(!t){this.definitionsError.set("Please select a JSON definition file.");return}this.definitionsError.set(null),this.state.upload(t).pipe(U(this.destroyRef)).subscribe({next:()=>{this.selectedFile.set(null),this.loadDefinitions();},error:i=>{this.applyError(i,n=>this.definitionsError.set(n));}});}deleteDefinition(t){if(this.adminDisabled()||this.deletingKey())return;let i=String(t.workflowType??"").trim(),n=String(t.version??"").trim();!i||!n||this.confirm({title:"Delete definition",message:"This will permanently delete the workflow definition. Already running executions are not affected.",detail:`${i}@${n}`,confirmLabel:"Delete",destructive:true}).pipe(U(this.destroyRef)).subscribe(l=>{l&&(this.definitionsError.set(null),this.state.delete(i,n).pipe(U(this.destroyRef)).subscribe({next:()=>this.loadDefinitions(),error:m=>{this.applyError(m,D=>this.definitionsError.set(D));}}));});}definitionKey(t){return `${t.workflowType??""}@${t.version??""}`}confirm(t){return this.dialog.open(I,{data:t,width:"440px"}).afterClosed().pipe(R(i=>i===true))}applyError(t,i){let n=ge(t);n.forbidden?(this.adminDisabled.set(true),this.forbiddenError.set(n.message)):i(n.message);}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=xe({type:e,selectors:[["sf-admin-page"]],features:[Ey([c])],decls:44,vars:13,consts:[[1,"page"],[1,"page-head"],[1,"titles"],[1,"sf-muted"],["dot","",3,"tone"],["role","alert","data-admin-forbidden","true",1,"banner","banner--error"],["data-admin-definitions","true",1,"section","sf-panel"],[1,"section-title"],[1,"sf-muted","section-desc"],[1,"row","file-row"],["type","file","accept",".json,application/json","data-admin-definition-file","true",3,"change","disabled"],["data-admin-definition-filename","true",1,"result-chip"],[1,"sf-spacer"],["mat-flat-button","","data-admin-definition-upload","true",1,"sf-primary",3,"click","disabled"],["mat-stroked-button","","data-admin-definition-refresh","true",1,"sf-secondary",3,"click","disabled"],["role","alert","data-admin-definition-error","true",1,"banner","banner--warn"],["mat-table","",1,"definitions-table",3,"dataSource"],["matColumnDef","workflowType"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","sf-mono","data-definition-type","true",4,"matCellDef"],["matColumnDef","version"],["mat-cell","","class","sf-mono","data-definition-version","true",4,"matCellDef"],["matColumnDef","definitionHash"],["mat-cell","","class","sf-mono","data-definition-hash","true",4,"matCellDef"],["matColumnDef","actions"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["data-definition-empty","true",1,"sf-muted","empty"],["aria-hidden","true"],["mat-header-cell",""],["mat-cell","","data-definition-type","true",1,"sf-mono"],["mat-cell","","data-definition-version","true",1,"sf-mono"],["mat-cell","","data-definition-hash","true",1,"sf-mono"],["mat-cell",""],["mat-stroked-button","","data-admin-definition-delete","true",1,"sf-danger",3,"click","disabled"],["mat-header-row",""],["mat-row",""]],template:function(i,n){if(i&1&&(pa(0,"div",0)(1,"header",1)(2,"div",2)(3,"h1"),BC(4,"Workflow definitions"),Id(),pa(5,"p",3),BC(6,"Import and manage registered workflow definitions."),Id()(),pa(7,"sf-status-chip",4),BC(8),Id()(),ii$1(9,te,5,1,"div",5),pa(10,"section",6)(11,"h2",7),BC(12,"Workflow definitions"),Id(),pa(13,"p",8),BC(14,"Import a JSON definition (v1 format) and manage registered definitions."),Id(),pa(15,"div",9)(16,"input",10),ey("change",function(m){return n.onFileSelected(m)}),Id(),ii$1(17,ne,2,1,"span",11),Yg(18,"span",12),pa(19,"button",13),ey("click",function(){return n.uploadDefinition()}),pa(20,"mat-icon"),BC(21,"upload"),Id(),BC(22),Id(),pa(23,"button",14),ey("click",function(){return n.loadDefinitions()}),pa(24,"mat-icon"),BC(25,"refresh"),Id(),BC(26," Refresh "),Id()(),ii$1(27,ie,2,1,"div",15),pa(28,"table",16),wd(29,17),$g(30,oe,2,0,"th",18)(31,ae,2,1,"td",19),Cd(),wd(32,20),$g(33,re,2,0,"th",18)(34,de,2,1,"td",21),Cd(),wd(35,22),$g(36,le,2,0,"th",18)(37,se,2,1,"td",23),Cd(),wd(38,24),$g(39,me,1,0,"th",18)(40,fe,3,2,"td",25),Cd(),$g(41,pe,1,0,"tr",26)(42,ce,1,0,"tr",27),Id(),ii$1(43,ue,2,1,"p",28),Id()()),i&2){let l,m,D;ei$1(7),Zg("tone",n.adminDisabled()?"red":"green"),ei$1(),Sd(" ",n.adminDisabled()?"Access denied":"Admin"," "),ei$1(),si$1((l=n.forbiddenError())?9:-1,l),ei$1(7),Zg("disabled",n.adminDisabled()||n.uploading()),ei$1(),si$1((m=n.selectedFile())?17:-1,m),ei$1(2),Zg("disabled",n.adminDisabled()||n.uploading()),ei$1(3),Sd(" ",n.uploading()?"Importing\u2026":"Import definition"," "),ei$1(),Zg("disabled",n.adminDisabled()||n.definitionsLoading()),ei$1(4),si$1((D=n.definitionsError())?27:-1,D),ei$1(),Zg("dataSource",n.definitions()),ei$1(13),Zg("matHeaderRowDef",n.definitionColumns),ei$1(),Zg("matRowDefColumns",n.definitionColumns),ei$1(),si$1(n.definitions().length===0?43:-1);}},dependencies:[VW,BW,q8,G8,ci,Zt,ei,ni,ti,Jt,ri,ii,oi,si,ai,_],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px;max-width:1100px}.page-head[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:16px}.titles[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px}h1[_ngcontent-%COMP%]{margin:0;font-size:28px;font-weight:800;letter-spacing:-.01em}.titles[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:14px}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;padding:20px}.section-title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:700}.section-desc[_ngcontent-%COMP%]{margin:0;font-size:13.5px}.row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.file-row[_ngcontent-%COMP%]{gap:10px}.file-row[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{color:var(--sf-text-2);font-size:13px}.field[_ngcontent-%COMP%]{width:100%;max-width:480px}.result[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:4px}.result-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;border:1px solid var(--sf-outline-strong);background:var(--sf-surface-2);color:var(--sf-text-2);font-size:13px;font-weight:600}.result-chip--success[_ngcontent-%COMP%]{color:#6ee79a;border-color:#22583a;background:#0e1f16}.result-chip--error[_ngcontent-%COMP%]{color:#f58f8f;border-color:#6b2a2e;background:#1f1114}.timestamp[_ngcontent-%COMP%]{color:var(--sf-text-muted);font-size:12.5px}.banner[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;border:1px solid;font-size:13.5px;font-weight:600}.banner[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;font-size:18px}.banner--error[_ngcontent-%COMP%]{color:#f58f8f;border-color:#6b2a2e;background:#1f1114}.banner--warn[_ngcontent-%COMP%]{color:var(--sf-tertiary);border-color:#5a4818;background:#1d180b}.definitions-table[_ngcontent-%COMP%]{width:100%}th.mat-mdc-header-cell[_ngcontent-%COMP%]{background:var(--sf-chrome);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sf-text-faint)}td.mat-mdc-cell[_ngcontent-%COMP%]{border-bottom-color:#1a1f2c}.empty[_ngcontent-%COMP%]{margin:0;padding:12px 4px;font-size:13.5px}.mat-mdc-unelevated-button.sf-danger[_ngcontent-%COMP%]{background:#6b2a2e;color:#ffd9d9;border-radius:10px;font-weight:700}"]})};export{ee as AdminPageComponent,Z as FORBIDDEN_ADMIN_REQUIRED,ge as describeAdminError};
@@ -1,11 +1,11 @@
1
- import {h,V as y,aY as pf,b_ as K$1,aR as oo,aX as Z,cv as Kb,aH as Ac,ae as I,bi as V$1,cw as Ue$1,cq as F,cx as ze$1,cy as Ze$1,c8 as Ut,a$ as ct,c9 as Q,cz as wt,cA as Nt$1,bM as $r,b0 as K$2,bB as nM,bV as co,a_ as wt$1,bc as Qb,bd as Xv,aW as Re$1,aJ as fm,x as xe,b1 as tn,aL as Zr,p as pa,b3 as Hg,_ as _d,bL as Kg,r as or,F as Et,L as pe,O as ce,bY as pi,aF as Me$1,T as eo,aU as ue,aK as et,b2 as ma,X as Xg,cB as Fw,cC as pt,cD as IM,cE as qv,aT as P,b5 as af,aV as ri,b6 as Oy,ce as be,aS as k,b$ as ql,cF as cM,b4 as ty,aO as hC,aP as mC,Z as Ze$2,cG as uM,cH as TM,cI as Ft}from'./main-LOWHPZLE.js';function ze(i,a){}var g=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;scrollStrategy;closeOnNavigation=true;closeOnDestroy=true;closeOnOverlayDetachments=true;disableAnimations=false;providers;container;templateContext;bindings};var K=(()=>{class i extends pt{_elementRef=h(ue);_focusTrapFactory=h(IM);_config;_interactivityChecker=h(qv);_ngZone=h(P);_focusMonitor=h(af);_renderer=h(ri);_changeDetectorRef=h(Oy);_injector=h(K$1);_platform=h(be);_document=h(k);_portalOutlet;_focusTrapped=new Z;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=false;constructor(){super(),this._config=h(g,{optional:true})||new g,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy);}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck();}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck());}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus();}_captureInitialFocus(){this._trapFocus();}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=true,this._restoreFocus();}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus();}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{o(),l(),e.removeAttribute("tabindex");},o=this._renderer.listen(e,"blur",n),l=this._renderer.listen(e,"mousedown",n);})),e.focus(t);}_focusByCssSelector(e,t){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,t);}_trapFocus(e){this._isDestroyed||ql(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case false:case "dialog":this._containsFocus()||t.focus(e);break;case true:case "first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next();},{injector:this._injector});}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let n=cM(),o=this._elementRef.nativeElement;(!n||n===this._document.body||n===o||o.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus());}this._focusTrap&&this._focusTrap.destroy();}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e);}_containsFocus(){let e=this._elementRef.nativeElement,t=cM();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cM()));}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,n){if(t&1&&ty(tn,7),t&2){let o;hC(o=mC())&&(n._portalOutlet=o.first);}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,n){t&2&&or("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null);},features:[Zr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){t&1&&Hg(0,ze,0,0,"ng-template",0);},dependencies:[tn],styles:[`.cdk-dialog-container {
1
+ import {h,X as y,aY as mf,b$ as K$1,aR as oo,aX as Z,cw as Xb,aH as Ac,ae as I,bi as j,cx as Ue$1,cr as F,cy as ze$1,cz as Ze$1,c9 as Ut,a$ as ut,ca as Q,cA as wt,cB as Nt$1,bN as $r,b0 as K$2,bB as oM,bW as co,a_ as Ct,bc as Jb,bd as eb,aW as Re$1,aJ as pm,x as xe,b1 as tn,aL as Zr,p as pa,b3 as $g,d as Id,bL as Xg,m as ir,_ as _t,Q as he,R as ce,bZ as pi,aF as Me$1,T as eo,aU as ue,aK as tt,b2 as ma,e as ey,cC as Lw,cD as pt,cE as CM,cF as Yv,aT as P,b5 as uf,aV as oi,b6 as Ly,cf as be,aS as O$1,c0 as Zl,cG as lM,b4 as ry,aO as mC,aP as gC,A as Ye$1,cH as dM,cI as MM,cJ as Ft}from'./main-FK2WI32C.js';function ze(i,a){}var g=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;scrollStrategy;closeOnNavigation=true;closeOnDestroy=true;closeOnOverlayDetachments=true;disableAnimations=false;providers;container;templateContext;bindings};var K=(()=>{class i extends pt{_elementRef=h(ue);_focusTrapFactory=h(CM);_config;_interactivityChecker=h(Yv);_ngZone=h(P);_focusMonitor=h(uf);_renderer=h(oi);_changeDetectorRef=h(Ly);_injector=h(K$1);_platform=h(be);_document=h(O$1);_portalOutlet;_focusTrapped=new Z;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=false;constructor(){super(),this._config=h(g,{optional:true})||new g,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy);}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck();}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck());}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus();}_captureInitialFocus(){this._trapFocus();}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=true,this._restoreFocus();}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus();}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{o(),l(),e.removeAttribute("tabindex");},o=this._renderer.listen(e,"blur",n),l=this._renderer.listen(e,"mousedown",n);})),e.focus(t);}_focusByCssSelector(e,t){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,t);}_trapFocus(e){this._isDestroyed||Zl(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case false:case "dialog":this._containsFocus()||t.focus(e);break;case true:case "first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next();},{injector:this._injector});}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let n=lM(),o=this._elementRef.nativeElement;(!n||n===this._document.body||n===o||o.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus());}this._focusTrap&&this._focusTrap.destroy();}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e);}_containsFocus(){let e=this._elementRef.nativeElement,t=lM();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=lM()));}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,n){if(t&1&&ry(tn,7),t&2){let o;mC(o=gC())&&(n._portalOutlet=o.first);}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,n){t&2&&ir("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null);},features:[Zr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){t&1&&$g(0,ze,0,0,"ng-template",0);},dependencies:[tn],styles:[`.cdk-dialog-container {
2
2
  display: block;
3
3
  width: 100%;
4
4
  height: 100%;
5
5
  min-height: inherit;
6
6
  max-height: inherit;
7
7
  }
8
- `],encapsulation:2,changeDetection:1})}return i})(),T=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new Z;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(a,e){this.overlayRef=a,this.config=e,this.disableClose=e.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Xv(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}));}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.();}),this._detachSubscription=a.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==false&&this.close();});}close(a,e){if(this._canClose(a)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(a),t.complete(),this.componentInstance=this.containerInstance=null;}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",e=""){return this.overlayRef.updateSize({width:a,height:e}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}_canClose(a){let e=this.config;return !!this.containerInstance&&(!e.closePredicate||e.closePredicate(a,e,this.componentInstance))}},He=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=h(K$1);return ()=>ze$1(i)}}),Ge=new y("DialogData"),We=new y("DefaultDialogConfig");function Qe(i){let a=Ze$2(i),e=new Re$1;return {valueSignal:a,get value(){return a()},change:e,ngOnDestroy(){e.complete();}}}var X=(()=>{class i{_injector=h(K$1);_defaultOptions=h(We,{optional:true});_parentDialog=h(i,{optional:true,skipSelf:true});_overlayContainer=h(Ze$1);_idGenerator=h(pf);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Z;_afterOpenedAtThisLevel=new Z;_ariaHiddenElements=new Map;_scrollStrategy=h(He);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Kb(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ac(void 0)));open(e,t){let n=this._defaultOptions||new g;t=I(I({},n),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),l=Ut(this._injector,o),r=new T(l,t),d=this._attachContainer(l,r,t);if(r.containerInstance=d,!this.openDialogs.length){let H=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe(ct(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(H);}):this._hideNonDialogContentFromAssistiveTechnology(H);}return this._attachDialogContent(e,r,d,t),this.openDialogs.push(r),r.closed.subscribe(()=>this._removeOpenDialog(r,true)),this.afterOpened.next(r),r}closeAll(){$(this.openDialogs,e=>e.close());}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){$(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===false&&this._removeOpenDialog(e,false);}),$(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[];}_getOverlayConfig(e){let t=new Q({positionStrategy:e.positionStrategy||Ue$1().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,n){let o=n.injector||n.viewContainerRef?.injector,l=[{provide:g,useValue:n},{provide:T,useValue:t},{provide:wt,useValue:e}],r;n.container?typeof n.container=="function"?r=n.container:(r=n.container.type,l.push(...n.container.providers(n))):r=K;let d=new Nt$1(r,n.viewContainerRef,K$1.create({parent:o||this._injector,providers:l}));return e.attach(d).instance}_attachDialogContent(e,t,n,o){if(e instanceof $r){let l=this._createInjector(o,t,n,void 0),r={$implicit:o.data,dialogRef:t};o.templateContext&&(r=I(I({},r),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),n.attachTemplatePortal(new K$2(e,null,r,l));}else {let l=this._createInjector(o,t,n,this._injector),r=n.attachComponentPortal(new Nt$1(e,o.viewContainerRef,l,null,o.bindings));t.componentRef=r,t.componentInstance=r.instance;}}_createInjector(e,t,n,o){let l=e.injector||e.viewContainerRef?.injector,r=[{provide:Ge,useValue:e.data},{provide:T,useValue:t}];return e.providers&&(typeof e.providers=="function"?r.push(...e.providers(t,e,n)):r.push(...e.providers)),e.direction&&(!l||!l.get(nM,null,{optional:true}))&&r.push({provide:nM,useValue:Qe(e.direction)}),K$1.create({parent:l||o,providers:r})}_removeOpenDialog(e,t){let n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden");}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()));}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let o=t[n];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"));}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||i)};static \u0275prov=F({token:i,factory:i.\u0275fac})}return i})();function $(i,a){let e=i.length;for(;e--;)a(i[e]);}var Fe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=pe({type:i});static \u0275inj=ce({providers:[X],imports:[pi,Me$1,TM,Me$1]})}return i})();function qe(i,a){}var z=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;delayFocusTrap=true;scrollStrategy;closeOnNavigation=true;enterAnimationDuration;exitAnimationDuration;bindings},J="mdc-dialog--open",Le="mdc-dialog--opening",Re="mdc-dialog--closing",Ue=150,Ye=75,Ze=(()=>{class i extends K{_animationStateChanged=new Re$1;_animationsEnabled=!oo();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Me(this._config.enterAnimationDuration)??Ue:0;_exitAnimationDuration=this._animationsEnabled?Me(this._config.exitAnimationDuration)??Ye:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation();}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Pe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Le,J)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(J),Promise.resolve().then(()=>this._finishDialogOpen()));}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(J),this._animationsEnabled?(this._hostElement.style.setProperty(Pe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Re)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose());}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck();}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration);};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration});};_clearAnimationClasses(){this._hostElement.classList.remove(Le,Re);}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e);}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e();});}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus();}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e});}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer);}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(n){return (e||(e=fm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,n){t&2&&(Kg("id",n._config.id),or("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Et("_mat-animation-noopable",!n._animationsEnabled)("mat-mdc-dialog-container-with-actions",n._actionSectionCount>0));},features:[Zr],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,n){t&1&&(pa(0,"div",0)(1,"div",1),Hg(2,qe,0,0,"ng-template",2),_d()());},dependencies:[tn],styles:[`.mat-mdc-dialog-container {
8
+ `],encapsulation:2,changeDetection:1})}return i})(),T=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new Z;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(a,e){this.overlayRef=a,this.config=e,this.disableClose=e.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!eb(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}));}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.();}),this._detachSubscription=a.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==false&&this.close();});}close(a,e){if(this._canClose(a)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(a),t.complete(),this.componentInstance=this.containerInstance=null;}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",e=""){return this.overlayRef.updateSize({width:a,height:e}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}_canClose(a){let e=this.config;return !!this.containerInstance&&(!e.closePredicate||e.closePredicate(a,e,this.componentInstance))}},He=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=h(K$1);return ()=>ze$1(i)}}),Ge=new y("DialogData"),We=new y("DefaultDialogConfig");function Qe(i){let a=Ye$1(i),e=new Re$1;return {valueSignal:a,get value(){return a()},change:e,ngOnDestroy(){e.complete();}}}var X=(()=>{class i{_injector=h(K$1);_defaultOptions=h(We,{optional:true});_parentDialog=h(i,{optional:true,skipSelf:true});_overlayContainer=h(Ze$1);_idGenerator=h(mf);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Z;_afterOpenedAtThisLevel=new Z;_ariaHiddenElements=new Map;_scrollStrategy=h(He);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Xb(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ac(void 0)));open(e,t){let n=this._defaultOptions||new g;t=I(I({},n),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),l=Ut(this._injector,o),r=new T(l,t),d=this._attachContainer(l,r,t);if(r.containerInstance=d,!this.openDialogs.length){let H=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe(ut(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(H);}):this._hideNonDialogContentFromAssistiveTechnology(H);}return this._attachDialogContent(e,r,d,t),this.openDialogs.push(r),r.closed.subscribe(()=>this._removeOpenDialog(r,true)),this.afterOpened.next(r),r}closeAll(){$(this.openDialogs,e=>e.close());}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){$(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===false&&this._removeOpenDialog(e,false);}),$(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[];}_getOverlayConfig(e){let t=new Q({positionStrategy:e.positionStrategy||Ue$1().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,n){let o=n.injector||n.viewContainerRef?.injector,l=[{provide:g,useValue:n},{provide:T,useValue:t},{provide:wt,useValue:e}],r;n.container?typeof n.container=="function"?r=n.container:(r=n.container.type,l.push(...n.container.providers(n))):r=K;let d=new Nt$1(r,n.viewContainerRef,K$1.create({parent:o||this._injector,providers:l}));return e.attach(d).instance}_attachDialogContent(e,t,n,o){if(e instanceof $r){let l=this._createInjector(o,t,n,void 0),r={$implicit:o.data,dialogRef:t};o.templateContext&&(r=I(I({},r),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),n.attachTemplatePortal(new K$2(e,null,r,l));}else {let l=this._createInjector(o,t,n,this._injector),r=n.attachComponentPortal(new Nt$1(e,o.viewContainerRef,l,null,o.bindings));t.componentRef=r,t.componentInstance=r.instance;}}_createInjector(e,t,n,o){let l=e.injector||e.viewContainerRef?.injector,r=[{provide:Ge,useValue:e.data},{provide:T,useValue:t}];return e.providers&&(typeof e.providers=="function"?r.push(...e.providers(t,e,n)):r.push(...e.providers)),e.direction&&(!l||!l.get(oM,null,{optional:true}))&&r.push({provide:oM,useValue:Qe(e.direction)}),K$1.create({parent:l||o,providers:r})}_removeOpenDialog(e,t){let n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden");}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()));}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let o=t[n];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"));}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||i)};static \u0275prov=F({token:i,factory:i.\u0275fac})}return i})();function $(i,a){let e=i.length;for(;e--;)a(i[e]);}var Fe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce({providers:[X],imports:[pi,Me$1,MM,Me$1]})}return i})();function qe(i,a){}var z=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;delayFocusTrap=true;scrollStrategy;closeOnNavigation=true;enterAnimationDuration;exitAnimationDuration;bindings},J="mdc-dialog--open",Le="mdc-dialog--opening",Re="mdc-dialog--closing",Ue=150,Ye=75,Ze=(()=>{class i extends K{_animationStateChanged=new Re$1;_animationsEnabled=!oo();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Me(this._config.enterAnimationDuration)??Ue:0;_exitAnimationDuration=this._animationsEnabled?Me(this._config.exitAnimationDuration)??Ye:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation();}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Pe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Le,J)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(J),Promise.resolve().then(()=>this._finishDialogOpen()));}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(J),this._animationsEnabled?(this._hostElement.style.setProperty(Pe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Re)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose());}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck();}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration);};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration});};_clearAnimationClasses(){this._hostElement.classList.remove(Le,Re);}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e);}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e();});}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus();}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e});}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer);}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,n){t&2&&(Xg("id",n._config.id),ir("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),_t("_mat-animation-noopable",!n._animationsEnabled)("mat-mdc-dialog-container-with-actions",n._actionSectionCount>0));},features:[Zr],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,n){t&1&&(pa(0,"div",0)(1,"div",1),$g(2,qe,0,0,"ng-template",2),Id()());},dependencies:[tn],styles:[`.mat-mdc-dialog-container {
9
9
  width: 100%;
10
10
  height: 100%;
11
11
  display: block;
@@ -194,4 +194,4 @@ import {h,V as y,aY as pf,b_ as K$1,aR as oo,aX as Z,cv as Kb,aH as Ac,ae as I,b
194
194
  .mat-mdc-dialog-component-host {
195
195
  display: contents;
196
196
  }
197
- `],encapsulation:2,changeDetection:1})}return i})(),Pe="--mat-dialog-transition-duration";function Me(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?uM(i.substring(0,i.length-2)):i.endsWith("s")?uM(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var V=(function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i})(V||{}),O=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new co(1);_beforeClosed=new co(1);_result;_closeFallbackTimeout;_state=V.OPEN;_closeInteractionType;constructor(a,e,t){this._ref=a,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=a.id,a.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(wt$1(n=>n.state==="opened"),ct(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete();}),t._animationStateChanged.pipe(wt$1(n=>n.state==="closed"),ct(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose();}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose();}),Qb(this.backdropClick(),this.keydownEvents().pipe(wt$1(n=>n.keyCode===27&&!this.disableClose&&!Xv(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Be(this,n.type==="keydown"?"keyboard":"mouse"));});}close(a){let e=this._config.closePredicate;e&&!e(a,this._config,this.componentInstance)||(this._result=a,this._containerInstance._animationStateChanged.pipe(wt$1(t=>t.state==="closing"),ct(1)).subscribe(t=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100);}),this._state=V.CLOSING,this._containerInstance._startExitAnimation());}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let e=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",e=""){return this._ref.updateSize(a,e),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=V.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null;}};function Be(i,a,e){return i._closeInteractionType=a,i.close(e)}var $e=new y("MatMdcDialogData"),Ke=new y("mat-mdc-dialog-default-options"),Xe=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=h(K$1);return ()=>ze$1(i)}}),ee=(()=>{class i{_defaultOptions=h(Ke,{optional:true});_scrollStrategy=h(Xe);_parentDialog=h(i,{optional:true,skipSelf:true});_idGenerator=h(pf);_injector=h(K$1);_dialog=h(X);_animationsDisabled=oo();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Z;_afterOpenedAtThisLevel=new Z;dialogConfigClass=z;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Kb(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ac(void 0)));constructor(){this._dialogRefConstructor=O,this._dialogContainerType=Ze,this._dialogDataToken=$e;}open(e,t){let n;t=I(I({},this._defaultOptions||new z),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,V$1(I({},t),{positionStrategy:Ue$1(this._injector).centerHorizontally().centerVertically(),disableClose:true,closePredicate:void 0,closeOnDestroy:false,closeOnOverlayDetachments:false,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleString()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:g,useValue:t}]},templateContext:()=>({dialogRef:n}),providers:(l,r,d)=>(n=new this._dialogRefConstructor(l,t,d),n.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:r.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=o.componentRef,n.componentInstance=o.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(n);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next());}),n}closeAll(){this._closeDialogs(this.openDialogs);}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete();}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close();}static \u0275fac=function(t){return new(t||i)};static \u0275prov=F({token:i,factory:i.\u0275fac})}return i})(),jt=(()=>{class i{dialogRef=h(O,{optional:true});_elementRef=h(ue);_dialog=h(ee);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=Ne(this._elementRef,this._dialog.openDialogs));}ngOnChanges(e){let t=e._matDialogClose;t&&(this.dialogResult=t.currentValue);}_onButtonClick(e){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&Be(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=et({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){t&1&&Xg("click",function(l){return n._onButtonClick(l)}),t&2&&or("aria-label",n.ariaLabel||null)("type",n.type);},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ma]})}return i})(),je=(()=>{class i{_dialogRef=h(O,{optional:true});_elementRef=h(ue);_dialog=h(ee);ngOnInit(){this._dialogRef||(this._dialogRef=Ne(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd();});}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove();});}static \u0275fac=function(t){return new(t||i)};static \u0275dir=et({type:i})}return i})(),Nt=(()=>{class i extends je{id=h(pf).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id);}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=fm(i)))(n||i)}})();static \u0275dir=et({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,n){t&2&&Kg("id",n.id);},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Zr]})}return i})(),Vt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=et({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Fw([Ft])]})}return i})(),zt=(()=>{class i extends je{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1);}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=fm(i)))(n||i)}})();static \u0275dir=et({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,n){t&2&&Et("mat-mdc-dialog-actions-align-start",n.align==="start")("mat-mdc-dialog-actions-align-center",n.align==="center")("mat-mdc-dialog-actions-align-end",n.align==="end");},inputs:{align:"align"},features:[Zr]})}return i})();function Ne(i,a){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?a.find(t=>t.id===e.id):null}var Ht=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=pe({type:i});static \u0275inj=ce({providers:[ee],imports:[Fe,pi,Me$1,eo]})}return i})();export{$e as $,Ht as H,Nt as N,Vt as V,ee as e,jt as j,zt as z};
197
+ `],encapsulation:2,changeDetection:1})}return i})(),Pe="--mat-dialog-transition-duration";function Me(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?dM(i.substring(0,i.length-2)):i.endsWith("s")?dM(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var V=(function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i})(V||{}),O=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new co(1);_beforeClosed=new co(1);_result;_closeFallbackTimeout;_state=V.OPEN;_closeInteractionType;constructor(a,e,t){this._ref=a,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=a.id,a.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(Ct(n=>n.state==="opened"),ut(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete();}),t._animationStateChanged.pipe(Ct(n=>n.state==="closed"),ut(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose();}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose();}),Jb(this.backdropClick(),this.keydownEvents().pipe(Ct(n=>n.keyCode===27&&!this.disableClose&&!eb(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Be(this,n.type==="keydown"?"keyboard":"mouse"));});}close(a){let e=this._config.closePredicate;e&&!e(a,this._config,this.componentInstance)||(this._result=a,this._containerInstance._animationStateChanged.pipe(Ct(t=>t.state==="closing"),ut(1)).subscribe(t=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100);}),this._state=V.CLOSING,this._containerInstance._startExitAnimation());}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let e=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",e=""){return this._ref.updateSize(a,e),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=V.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null;}};function Be(i,a,e){return i._closeInteractionType=a,i.close(e)}var $e=new y("MatMdcDialogData"),Ke=new y("mat-mdc-dialog-default-options"),Xe=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=h(K$1);return ()=>ze$1(i)}}),ee=(()=>{class i{_defaultOptions=h(Ke,{optional:true});_scrollStrategy=h(Xe);_parentDialog=h(i,{optional:true,skipSelf:true});_idGenerator=h(mf);_injector=h(K$1);_dialog=h(X);_animationsDisabled=oo();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new Z;_afterOpenedAtThisLevel=new Z;dialogConfigClass=z;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Xb(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ac(void 0)));constructor(){this._dialogRefConstructor=O,this._dialogContainerType=Ze,this._dialogDataToken=$e;}open(e,t){let n;t=I(I({},this._defaultOptions||new z),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,j(I({},t),{positionStrategy:Ue$1(this._injector).centerHorizontally().centerVertically(),disableClose:true,closePredicate:void 0,closeOnDestroy:false,closeOnOverlayDetachments:false,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleString()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:g,useValue:t}]},templateContext:()=>({dialogRef:n}),providers:(l,r,d)=>(n=new this._dialogRefConstructor(l,t,d),n.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:r.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=o.componentRef,n.componentInstance=o.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(n);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next());}),n}closeAll(){this._closeDialogs(this.openDialogs);}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete();}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close();}static \u0275fac=function(t){return new(t||i)};static \u0275prov=F({token:i,factory:i.\u0275fac})}return i})(),jt=(()=>{class i{dialogRef=h(O,{optional:true});_elementRef=h(ue);_dialog=h(ee);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=Ne(this._elementRef,this._dialog.openDialogs));}ngOnChanges(e){let t=e._matDialogClose;t&&(this.dialogResult=t.currentValue);}_onButtonClick(e){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&Be(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){t&1&&ey("click",function(l){return n._onButtonClick(l)}),t&2&&ir("aria-label",n.ariaLabel||null)("type",n.type);},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ma]})}return i})(),je=(()=>{class i{_dialogRef=h(O,{optional:true});_elementRef=h(ue);_dialog=h(ee);ngOnInit(){this._dialogRef||(this._dialogRef=Ne(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd();});}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove();});}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i})}return i})(),Nt=(()=>{class i extends je{id=h(mf).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id);}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=tt({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,n){t&2&&Xg("id",n.id);},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Zr]})}return i})(),Vt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Lw([Ft])]})}return i})(),zt=(()=>{class i extends je{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1);}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=tt({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,n){t&2&&_t("mat-mdc-dialog-actions-align-start",n.align==="start")("mat-mdc-dialog-actions-align-center",n.align==="center")("mat-mdc-dialog-actions-align-end",n.align==="end");},inputs:{align:"align"},features:[Zr]})}return i})();function Ne(i,a){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?a.find(t=>t.id===e.id):null}var Ht=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce({providers:[ee],imports:[Fe,pi,Me$1,eo]})}return i})();export{$e as $,Ht as H,Nt as N,Vt as V,ee as e,jt as j,zt as z};
@@ -0,0 +1,181 @@
1
+ import {cL as U$1,bv as wn,aX as Z,cM as Pv,bc as Jb,au as We$1,aC as Ec,aD as R$1,Q as he$1,R as ce$1,T as eo,aJ as pm,x as xe,aL as Zr,$ as sr,a0 as nt$1,i as ii$1,g as ei$1,s as si$1,aq as Ey,X as y,_ as _t,aK as tt,aM as It,cu as Qg,h,aN as ny,aO as mC,aP as gC,bl as Lt,cN as Fy,b6 as Ly,aU as ue$1,bB as oM,cf as be,cO as B,b$ as K,cP as Pe,aS as O,aW as Re,ba as Na,bz as br,cQ as ut$1,cR as Oe,cS as Mt,cT as x,cU as Qb,cV as eD,cW as Kb,cX as Yb,aQ as qr,bN as $r,b2 as ma,c0 as Zl,p as pa,d as Id}from'./main-FK2WI32C.js';var ot=[[["caption"]],[["colgroup"],["col"]],"*"],nt=["caption","colgroup, col","*"];function rt(i,n){i&1&&nt$1(0,2);}function st(i,n){i&1&&(pa(0,"thead",0),Qg(1,1),Id(),pa(2,"tbody",0),Qg(3,2)(4,3),Id(),pa(5,"tfoot",0),Qg(6,4),Id());}function at(i,n){i&1&&Qg(0,1)(1,2)(2,3)(3,4);}var R=new y("CDK_TABLE");var te=(()=>{class i{template=h($r);static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","cdkCellDef",""]]})}return i})(),ie=(()=>{class i{template=h($r);static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","cdkHeaderCellDef",""]]})}return i})(),Qe=(()=>{class i{template=h($r);static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","cdkFooterCellDef",""]]})}return i})(),U=(()=>{class i{_table=h(R,{optional:true});_hasStickyChanged=false;get name(){return this._name}set name(e){this._setNameInput(e);}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=true);}_stickyEnd=false;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`];}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName());}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,r){if(t&1&&ny(r,te,5)(r,ie,5)(r,Qe,5),t&2){let s;mC(s=gC())&&(o.cell=s.first),mC(s=gC())&&(o.headerCell=s.first),mC(s=gC())&&(o.footerCell=s.first);}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",It],stickyEnd:[2,"stickyEnd","stickyEnd",It]}})}return i})(),ee=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName);}},We=(()=>{class i extends ee{constructor(){super(h(U),h(ue$1));}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Zr]})}return i})();var $e=(()=>{class i extends ee{constructor(){let e=h(U),t=h(ue$1);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Zr]})}return i})();var de=(()=>{class i{template=h($r);_differs=h(Fy);columns;_columnsDiffer;ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t);}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof W?e.headerCell.template:this instanceof fe?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,features:[ma]})}return i})(),W=(()=>{class i extends de{_table=h(R,{optional:true});_hasStickyChanged=false;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",It]},features:[Zr,ma]})}return i})(),fe=(()=>{class i extends de{_table=h(R,{optional:true});_hasStickyChanged=false;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",It]},features:[Zr,ma]})}return i})(),oe=(()=>{class i extends de{_table=h(R,{optional:true});when;static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Zr]})}return i})(),N=(()=>{class i{_viewContainer=h(qr);cells;context;static mostRecentCellOutlet=null;constructor(){i.mostRecentCellOutlet=this;}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","cdkCellOutlet",""]]})}return i})(),ue=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Qg(0,0);},dependencies:[N],encapsulation:2,changeDetection:1})}return i})();var he=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Qg(0,0);},dependencies:[N],encapsulation:2,changeDetection:1})}return i})(),ne=(()=>{class i{templateRef=h($r);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["ng-template","cdkNoDataRow",""]]})}return i})(),Ue=["top","bottom","left","right"],ce=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=false;constructor(n,e,t=true,o=true,r,s,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=o,this.direction=r,this._positionListener=s,this._tableInjector=a,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`};}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let t=[];for(let o of n)o.nodeType===o.ELEMENT_NODE&&t.push(o,...Array.from(o.children));Zl({write:()=>{for(let o of t)this._removeStickyStyle(o,e);}},{injector:this._tableInjector});}updateStickyColumns(n,e,t,o=true,r=true){if(!n.length||!this._isBrowser||!(e.some(D=>D)||t.some(D=>D))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let s=n[0],a=s.children.length,c=this.direction==="rtl",d=c?"right":"left",u=c?"left":"right",h=e.lastIndexOf(true),y=t.indexOf(true),_,we,Ce;r&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...t]}),Zl({earlyRead:()=>{_=this._getCellWidths(s,o),we=this._getStickyStartColumnPositions(_,e),Ce=this._getStickyEndColumnPositions(_,t);},write:()=>{for(let D of n)for(let w=0;w<a;w++){let De=D.children[w];e[w]&&this._addStickyStyle(De,d,we[w],w===h),t[w]&&this._addStickyStyle(De,u,Ce[w],w===y);}this._positionListener&&_.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:h===-1?[]:_.slice(0,h+1).map((D,w)=>e[w]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:y===-1?[]:_.slice(y).map((D,w)=>t[w+y]?D:null).reverse()}));}},{injector:this._tableInjector});}stickRows(n,e,t){if(!this._isBrowser)return;let o=t==="bottom"?n.slice().reverse():n,r=t==="bottom"?e.slice().reverse():e,s=[],a=[],c=[];Zl({earlyRead:()=>{for(let d=0,u=0;d<o.length;d++){if(!r[d])continue;s[d]=u;let h=o[d];c[d]=this._isNativeHtmlTable?Array.from(h.children):[h];let y=this._retrieveElementSize(h).height;u+=y,a[d]=y;}},write:()=>{let d=r.lastIndexOf(true);for(let u=0;u<o.length;u++){if(!r[u])continue;let h=s[u],y=u===d;for(let _ of c[u])this._addStickyStyle(_,t,h,y);}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:a,offsets:s,elements:c}):this._positionListener?.stickyFooterRowsUpdated({sizes:a,offsets:s,elements:c});}},{injector:this._tableInjector});}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&Zl({write:()=>{let t=n.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,false));}},{injector:this._tableInjector});}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=true;}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);Ue.some(o=>e.indexOf(o)===-1&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss));}_addStickyStyle(n,e,t,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${t}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ");}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of Ue)n.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(n,e=true){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=n.children;for(let r=0;r<o.length;r++){let s=o[r];t.push(this._retrieveElementSize(s).width);}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(n,e){let t=[],o=0;for(let r=0;r<n.length;r++)e[r]&&(t[r]=o,o+=n[r]);return t}_getStickyEndColumnPositions(n,e){let t=[],o=0;for(let r=n.length;r>0;r--)e[r]&&(t[r]=o,o+=n[r]);return t}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let t=n.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(n,o),this._resizeObserver.observe(n,{box:"border-box"})),o}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n);}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length);}_updateCachedSizes(n){let e=false;for(let t of n){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&lt(t.target)&&(e=true),this._elemSizeCache.set(t.target,o);}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,true,false);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null;}},0));}};function lt(i){return ["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>i.classList.contains(n))}var Q=new y("STICKY_POSITIONING_LISTENER");var me=(()=>{class i{viewContainer=h(qr);elementRef=h(ue$1);constructor(){let e=h(R);e._rowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","rowOutlet",""]]})}return i})(),ye=(()=>{class i{viewContainer=h(qr);elementRef=h(ue$1);constructor(){let e=h(R);e._headerRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","headerRowOutlet",""]]})}return i})(),_e=(()=>{class i{viewContainer=h(qr);elementRef=h(ue$1);constructor(){let e=h(R);e._footerRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","footerRowOutlet",""]]})}return i})(),pe=(()=>{class i{viewContainer=h(qr);elementRef=h(ue$1);constructor(){let e=h(R);e._noDataRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["","noDataRowOutlet",""]]})}return i})(),ge=(()=>{class i{_differs=h(Fy);_changeDetectorRef=h(Ly);_elementRef=h(ue$1);_dir=h(oM,{optional:true});_platform=h(be);_viewRepeater;_viewportRuler=h(B);_injector=h(K);_virtualScrollViewport=h(Pe,{optional:true,host:true});_positionListener=h(Q,{optional:true})||h(Q,{optional:true,skipSelf:true});_document=h(O);_data;_renderedRange;_onDestroy=new Z;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=true;_footerRowDefChanged=true;_stickyColumnStylesNeedReset=true;_forceRecalculateCellWidths=true;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=true;_isServer;_isShowingNoDataRow=false;_hasAllOutlets=false;_hasInitialized=false;_headerRowStickyUpdates=new Z;_footerRowStickyUpdates=new Z;_disableVirtualScrolling=false;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e;}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck());}_dataSource;_dataSourceChanges=new Z;_dataStream=new Z;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles());}_multiTemplateDataRows=false;get fixedLayout(){return this._virtualScrollEnabled()?true:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=true,this._stickyColumnStylesNeedReset=true;}_fixedLayout=false;recycleRows=false;contentChanged=new Re;viewChange=new wn({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;get renderedRows(){return this._renderRows}constructor(){h(new Na("role"),{optional:true})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,o)=>this.trackBy?this.trackBy(o.dataIndex,o.data):o);}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(br(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=true;});}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new ut$1:new Oe,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=true;}ngAfterContentChecked(){this._canRender()&&this._render();}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear();}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),Mt(this.dataSource)&&this.dataSource.disconnect(this);}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,r,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===x.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context);}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=t.get(o.currentIndex);r.context.$implicit=o.item.data;}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles();}addColumnDef(e){this._customColumnDefs.add(e);}removeColumnDef(e){this._customColumnDefs.delete(e);}addRowDef(e){this._customRowDefs.add(e);}removeRowDef(e){this._customRowDefs.delete(e);}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=true;}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=true;}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=true;}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=true;}setNoDataRow(e){this._customNoDataRow=e;}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Ve(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none");}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged());}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Ve(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none");}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged());}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=false),e.forEach((r,s)=>{this._addStickyColumnStyles([r],this._headerRowDefs[s]);}),this._rowDefs.forEach(r=>{let s=[];for(let a=0;a<t.length;a++)this._renderRows[a].rowDef===r&&s.push(t[a]);this._addStickyColumnStyles(s,r);}),o.forEach((r,s)=>{this._addStickyColumnStyles([r],this._footerRowDefs[s]);}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged());}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e);}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e);}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e);}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e);}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=true,this._canRender()&&this._render());}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=false),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=false),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates();}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return [];let e=[],t=Math.min(this._data.length,this._renderedRange.end),o=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=this._renderedRange.start;r<t;r++){let s=this._data[r],a=this._getRenderRowsForData(s,r,o.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(let c=0;c<a.length;c++){let d=a[c],u=this._cachedRenderRowsMap.get(d.data);u.has(d.rowDef)?u.get(d.rowDef).push(d):u.set(d.rowDef,[d]),e.push(d);}}return e}_getRenderRowsForData(e,t,o){return this._getRowDefs(e,t).map(s=>{let a=o&&o.has(s)?o.get(s):[];if(a.length){let c=a.shift();return c.dataIndex=t,c}else return {data:e,rowDef:s,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),J(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t);});}_cacheRowDefs(){this._headerRowDefs=J(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=J(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=J(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0];}_renderUpdatedColumns(){let e=(s,a)=>{let c=!!a.getColumnsDiff();return s||c},t=this._rowDefs.reduce(e,false);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,false);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,false);return r&&this._forceRenderFooterRows(),t||o||r}_switchDataSource(e){this._data=[],Mt(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e;}_observeRenderChanges(){if(!this.dataSource)return;let e;Mt(this.dataSource)?e=this.dataSource.connect(this):Qb(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=We$1(this.dataSource)),this._renderChangeSubscription=Ec([e,this.viewChange]).pipe(br(this._onDestroy)).subscribe(([t,o])=>{this._data=t||[],this._renderedRange=o,this._dataStream.next(t),this.renderRows();});}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles();}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles();}_addStickyColumnStyles(e,t){let o=Array.from(t?.columns||[]).map(a=>{let c=this._columnDefsByName.get(a);return c}),r=o.map(a=>a.sticky),s=o.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,s,!this.fixedLayout||this._forceRecalculateCellWidths);}_getRenderedRows(e){let t=[];for(let o=0;o<e.viewContainer.length;o++){let r=e.viewContainer.get(o);t.push(r.rootNodes[0]);}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return [this._rowDefs[0]];let o=[];if(this.multiTemplateDataRows)o=this._rowDefs.filter(r=>!r.when||r.when(t,e));else {let r=this._rowDefs.find(s=>s.when&&s.when(t,e))||this._defaultRowDef;r&&o.push(r);}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,r={$implicit:e.data};return {templateRef:o.template,context:r,index:t}}_renderRow(e,t,o,r={}){let s=e.viewContainer.createEmbeddedView(t.template,r,o);return this._renderCellTemplateForItem(t,r),s}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))N.mostRecentCellOutlet&&N.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck();}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t<o;t++){let s=e.get(t).context;s.count=o,s.first=t===0,s.last=t===o-1,s.even=t%2===0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[t].dataIndex,s.renderIndex=t):s.index=this._renderRows[t].dataIndex;}}_getCellTemplates(e){return !e||!e.columns?[]:Array.from(e.columns,t=>{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows();}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,false)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,false)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,false)&&(this._stickyColumnStylesNeedReset=true,this.updateStickyColumnStyles());}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new ce(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:We$1()).pipe(br(this._onDestroy)).subscribe(o=>{this._stickyStyler.direction=o,this.updateStickyColumnStyles();});}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Kb:Yb;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(eD(0,t),br(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(o,r)=>this._measureRangeSize(o,r)}),Ec([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(br(this._onDestroy)).subscribe(([o,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let s=0;s<r.elements.length;s++){let a=r.elements[s];if(a){let c=r.offsets[s],d=o!==0?Math.max(o-c,c):-c;for(let u of a)u.style.top=`${-d}px`;}}}),Ec([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(br(this._onDestroy)).subscribe(([o,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let s=0;s<r.elements.length;s++){let a=r.elements[s];if(a)for(let c of a)c.style.bottom=`${o+r.offsets[s]}px`;}});}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let r=o.createEmbeddedView(e.templateRef),s=r.rootNodes[0];if(r.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE){s.setAttribute("role","row"),s.classList.add(...e._contentClassNames);let a=s.querySelectorAll(e._cellSelector);for(let c=0;c<a.length;c++)a[c].classList.add(...e._cellClassNames);}}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck();}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let o=this.viewChange.value,r=this._rowOutlet.viewContainer;e.start<o.start||e.end>o.end;let s=e.start-o.start,a=e.end-e.start,c,d;for(let y=0;y<a;y++){let _=r.get(y+s);if(_&&_.rootNodes.length){c=d=_.rootNodes[0];break}}for(let y=a-1;y>-1;y--){let _=r.get(y+s);if(_&&_.rootNodes.length){d=_.rootNodes[_.rootNodes.length-1];break}}let u=c?.getBoundingClientRect?.(),h=d?.getBoundingClientRect?.();return u&&h?h.bottom-u.top:0}_virtualScrollEnabled(){return !this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,r){if(t&1&&ny(r,ne,5)(r,U,5)(r,oe,5)(r,W,5)(r,fe,5),t&2){let s;mC(s=gC())&&(o._noDataRow=s.first),mC(s=gC())&&(o._contentColumnDefs=s),mC(s=gC())&&(o._contentRowDefs=s),mC(s=gC())&&(o._contentHeaderRowDefs=s),mC(s=gC())&&(o._contentFooterRowDefs=s);}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&_t("cdk-table-fixed-layout",o.fixedLayout);},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",It],fixedLayout:[2,"fixedLayout","fixedLayout",It],recycleRows:[2,"recycleRows","recycleRows",It]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ey([{provide:R,useExisting:i},{provide:Q,useValue:null}])],ngContentSelectors:nt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(sr(ot),nt$1(0),nt$1(1,1),ii$1(2,rt,1,0),ii$1(3,st,7,0)(4,at,4,0)),t&2&&(ei$1(2),si$1(o._isServer?2:-1),ei$1(),si$1(o._isNativeHtmlTable?3:4));},dependencies:[ye,me,pe,_e],styles:[`.cdk-table-fixed-layout {
2
+ table-layout: fixed;
3
+ }
4
+ `],encapsulation:2,changeDetection:1})}return i})();function J(i,n){return i.concat(Array.from(n))}function Ve(i,n){let e=n.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode;}return null}var qe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he$1({type:i});static \u0275inj=ce$1({imports:[Lt]})}return i})();var ct=[[["caption"]],[["colgroup"],["col"]],"*"],dt=["caption","colgroup, col","*"];function ft(i,n){i&1&&nt$1(0,2);}function ut(i,n){i&1&&(pa(0,"thead",0),Qg(1,1),Id(),pa(2,"tbody",2),Qg(3,3)(4,4),Id(),pa(5,"tfoot",0),Qg(6,5),Id());}function ht(i,n){i&1&&Qg(0,1)(1,3)(2,4)(3,5);}var Zt=(()=>{class i extends ge{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=false;static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&_t("mat-table-fixed-layout",o.fixedLayout);},exportAs:["matTable"],features:[Ey([{provide:ge,useExisting:i},{provide:R,useExisting:i},{provide:Q,useValue:null}]),Zr],ngContentSelectors:dt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(sr(ct),nt$1(0),nt$1(1,1),ii$1(2,ft,1,0),ii$1(3,ut,7,0)(4,ht,4,0)),t&2&&(ei$1(2),si$1(o._isServer?2:-1),ei$1(),si$1(o._isNativeHtmlTable?3:4));},dependencies:[ye,me,pe,_e],styles:[`.mat-mdc-table-sticky {
5
+ position: sticky !important;
6
+ }
7
+
8
+ mat-table {
9
+ display: block;
10
+ }
11
+
12
+ mat-header-row {
13
+ min-height: var(--mat-table-header-container-height, 56px);
14
+ }
15
+
16
+ mat-row {
17
+ min-height: var(--mat-table-row-item-container-height, 52px);
18
+ }
19
+
20
+ mat-footer-row {
21
+ min-height: var(--mat-table-footer-container-height, 52px);
22
+ }
23
+
24
+ mat-row, mat-header-row, mat-footer-row {
25
+ display: flex;
26
+ border-width: 0;
27
+ border-bottom-width: 1px;
28
+ border-style: solid;
29
+ align-items: center;
30
+ box-sizing: border-box;
31
+ }
32
+
33
+ mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {
34
+ padding-left: 24px;
35
+ }
36
+ [dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {
37
+ padding-left: 0;
38
+ padding-right: 24px;
39
+ }
40
+ mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {
41
+ padding-right: 24px;
42
+ }
43
+ [dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {
44
+ padding-right: 0;
45
+ padding-left: 24px;
46
+ }
47
+
48
+ mat-cell, mat-header-cell, mat-footer-cell {
49
+ flex: 1;
50
+ display: flex;
51
+ align-items: center;
52
+ overflow: hidden;
53
+ word-wrap: break-word;
54
+ min-height: inherit;
55
+ }
56
+
57
+ .mat-mdc-table {
58
+ min-width: 100%;
59
+ border: 0;
60
+ border-spacing: 0;
61
+ table-layout: auto;
62
+ white-space: normal;
63
+ background-color: var(--mat-table-background-color, var(--mat-sys-surface));
64
+ }
65
+
66
+ .mat-table-fixed-layout {
67
+ table-layout: fixed;
68
+ }
69
+
70
+ .mdc-data-table__cell {
71
+ box-sizing: border-box;
72
+ overflow: hidden;
73
+ text-align: start;
74
+ text-overflow: ellipsis;
75
+ }
76
+
77
+ .mdc-data-table__cell,
78
+ .mdc-data-table__header-cell {
79
+ padding: 0 16px;
80
+ }
81
+
82
+ .mat-mdc-header-row {
83
+ -moz-osx-font-smoothing: grayscale;
84
+ -webkit-font-smoothing: antialiased;
85
+ height: var(--mat-table-header-container-height, 56px);
86
+ color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
87
+ font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));
88
+ line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));
89
+ font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));
90
+ font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));
91
+ }
92
+
93
+ .mat-mdc-row {
94
+ height: var(--mat-table-row-item-container-height, 52px);
95
+ color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
96
+ }
97
+
98
+ .mat-mdc-row,
99
+ .mdc-data-table__content {
100
+ -moz-osx-font-smoothing: grayscale;
101
+ -webkit-font-smoothing: antialiased;
102
+ font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
103
+ line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));
104
+ font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));
105
+ font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));
106
+ }
107
+
108
+ .mat-mdc-footer-row {
109
+ -moz-osx-font-smoothing: grayscale;
110
+ -webkit-font-smoothing: antialiased;
111
+ height: var(--mat-table-footer-container-height, 52px);
112
+ color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
113
+ font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
114
+ line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
115
+ font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));
116
+ font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));
117
+ letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
118
+ }
119
+
120
+ .mat-mdc-header-cell {
121
+ border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
122
+ border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
123
+ border-bottom-style: solid;
124
+ letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));
125
+ font-weight: inherit;
126
+ line-height: inherit;
127
+ box-sizing: border-box;
128
+ text-overflow: ellipsis;
129
+ overflow: hidden;
130
+ outline: none;
131
+ text-align: start;
132
+ }
133
+ .mdc-data-table__row:last-child > .mat-mdc-header-cell {
134
+ border-bottom: none;
135
+ }
136
+
137
+ .mat-mdc-cell {
138
+ border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
139
+ border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
140
+ border-bottom-style: solid;
141
+ letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
142
+ line-height: inherit;
143
+ }
144
+ .mdc-data-table__row:last-child > .mat-mdc-cell {
145
+ border-bottom: none;
146
+ }
147
+
148
+ .mat-mdc-footer-cell {
149
+ letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
150
+ }
151
+
152
+ mat-row.mat-mdc-row,
153
+ mat-header-row.mat-mdc-header-row,
154
+ mat-footer-row.mat-mdc-footer-row {
155
+ border-bottom: none;
156
+ }
157
+
158
+ .mat-mdc-table tbody,
159
+ .mat-mdc-table tfoot,
160
+ .mat-mdc-table thead,
161
+ .mat-mdc-cell,
162
+ .mat-mdc-footer-cell,
163
+ .mat-mdc-header-row,
164
+ .mat-mdc-row,
165
+ .mat-mdc-footer-row,
166
+ .mat-mdc-table .mat-mdc-header-cell {
167
+ background: inherit;
168
+ }
169
+
170
+ .mat-mdc-table mat-header-row.mat-mdc-header-row,
171
+ .mat-mdc-table mat-row.mat-mdc-row,
172
+ .mat-mdc-table mat-footer-row.mat-mdc-footer-cell {
173
+ height: unset;
174
+ }
175
+
176
+ mat-header-cell.mat-mdc-header-cell,
177
+ mat-cell.mat-mdc-cell,
178
+ mat-footer-cell.mat-mdc-footer-cell {
179
+ align-self: stretch;
180
+ }
181
+ `],encapsulation:2,changeDetection:1})}return i})(),Jt=(()=>{class i extends te{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","matCellDef",""]],features:[Ey([{provide:te,useExisting:i}]),Zr]})}return i})(),ei=(()=>{class i extends ie{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","matHeaderCellDef",""]],features:[Ey([{provide:ie,useExisting:i}]),Zr]})}return i})();var ti=(()=>{class i extends U{get name(){return this._name}set name(e){this._setNameInput(e);}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`);}static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Ey([{provide:U,useExisting:i}]),Zr]})}return i})(),ii=(()=>{class i extends We{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Zr]})}return i})();var oi=(()=>{class i extends $e{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Zr]})}return i})();var ni=(()=>{class i extends W{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",It]},features:[Ey([{provide:W,useExisting:i}]),Zr]})}return i})();var ri=(()=>{class i extends oe{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275dir=tt({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Ey([{provide:oe,useExisting:i}]),Zr]})}return i})(),si=(()=>{class i extends ue{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ey([{provide:ue,useExisting:i}]),Zr],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Qg(0,0);},dependencies:[N],encapsulation:2,changeDetection:1})}return i})();var ai=(()=>{class i extends he{static \u0275fac=(()=>{let e;return function(o){return (e||(e=pm(i)))(o||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ey([{provide:he,useExisting:i}]),Zr],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Qg(0,0);},dependencies:[N],encapsulation:2,changeDetection:1})}return i})(),li=(()=>{class i extends ne{_cellSelector="td, mat-cell, [mat-cell], .mat-cell";constructor(){super(),this._contentClassNames.push("mat-mdc-no-data-row","mat-mdc-row","mdc-data-table__row"),this._cellClassNames.push("mat-mdc-cell","mdc-data-table__cell","mat-no-data-cell");}static \u0275fac=function(t){return new(t||i)};static \u0275dir=tt({type:i,selectors:[["ng-template","matNoDataRow",""]],features:[Ey([{provide:ne,useExisting:i}]),Zr]})}return i})();var ci=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he$1({type:i});static \u0275inj=ce$1({imports:[qe,eo]})}return i})(),mt=9007199254740991,Ke=class extends U$1{_data;_renderData=new wn([]);_filter=new wn("");_internalPageChanges=new Z;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n);}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data);}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription();}_sort;get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription();}_paginator;sortingDataAccessor=(n,e)=>{let t=n[e];if(Pv(t)){let o=Number(t);return o<mt?o:t}return t};sortData=(n,e)=>{let t=e.active,o=e.direction;return !t||o==""?n:n.sort((r,s)=>{let a=this.sortingDataAccessor(r,t),c=this.sortingDataAccessor(s,t),d=typeof a,u=typeof c;d!==u&&(d==="number"&&(a+=""),u==="number"&&(c+=""));let h=0;return a!=null&&c!=null?a>c?h=1:a<c&&(h=-1):a!=null?h=1:c!=null&&(h=-1),h*(o=="asc"?1:-1)})};filterPredicate=(n,e)=>{let t=e.trim().toLowerCase();return Object.values(n).some(o=>`${o}`.toLowerCase().includes(t))};constructor(n=[]){super(),this._data=new wn(n),this._updateChangeSubscription();}_updateChangeSubscription(){let n=this._sort?Jb(this._sort.sortChange,this._sort.initialized):We$1(null),e=this._paginator?Jb(this._paginator.page,this._internalPageChanges,this._paginator.initialized):We$1(null),t=this._data,o=Ec([t,this._filter]).pipe(R$1(([a])=>this._filterData(a))),r=Ec([o,n]).pipe(R$1(([a])=>this._orderData(a))),s=Ec([r,e]).pipe(R$1(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a));}_filterData(n){return this.filteredData=this.filter==null||this.filter===""?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;let e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){let t=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,t);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next());}});}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null;}};export{Jt as J,Ke as K,U,Zt as Z,ai as a,ci as c,ei as e,ii as i,li as l,ni as n,oi as o,ri as r,si as s,ti as t};