@signalk/freeboard-sk 3.3.0 → 3.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +2 -2
  2. package/public/3rdpartylicenses.txt +37 -37
  3. package/public/assets/features/split-view-1.jpg +0 -0
  4. package/public/assets/features/split-view-2.jpg +0 -0
  5. package/public/assets/features/toolbar-overflow-1.jpg +0 -0
  6. package/public/assets/features/toolbar-overflow-2.jpg +0 -0
  7. package/public/assets/features-corpus.json +1 -1
  8. package/public/assets/help/index.html +32 -1
  9. package/public/{chunk-YSHHABBQ.js → chunk-5B3P22GG.js} +1 -1
  10. package/public/{chunk-PD55PKQG.js → chunk-5WUOKMEL.js} +5 -5
  11. package/public/{chunk-MYBGWSLC.js → chunk-CXU2QR7B.js} +1 -1
  12. package/public/chunk-D7NY4CGQ.js +1 -0
  13. package/public/{chunk-62WHV6CJ.js → chunk-DXAIA7TN.js} +4 -4
  14. package/public/chunk-FESHPCKG.js +106 -0
  15. package/public/{chunk-PAHYECKY.js → chunk-LZQNRNTA.js} +1 -1
  16. package/public/chunk-M3QKKNN7.js +1 -0
  17. package/public/{chunk-X6D4D6EN.js → chunk-M4D7Z434.js} +1 -1
  18. package/public/chunk-NL5F2VEH.js +4399 -0
  19. package/public/{chunk-45ZTFAA5.js → chunk-OMAUXPDZ.js} +1 -1
  20. package/public/{chunk-MX5HWKAH.js → chunk-RABBT5ST.js} +1 -1
  21. package/public/{chunk-Z5VKGWZC.js → chunk-SU5TGPFJ.js} +1 -1
  22. package/public/{chunk-ISXARX6U.js → chunk-U7APAW37.js} +1 -1
  23. package/public/{chunk-X2BSGTPL.js → chunk-W2UT4HJG.js} +1 -1
  24. package/public/chunk-XHD652B2.js +1 -0
  25. package/public/{chunk-RG7WQ7O2.js → chunk-XHH2BWBG.js} +1 -1
  26. package/public/chunk-XIEUBZE5.js +1 -0
  27. package/public/{chunk-T7ZWMXKZ.js → chunk-XRUZGBPD.js} +1 -1
  28. package/public/{chunk-YZN4NRWW.js → chunk-XSBLUIEK.js} +1 -1
  29. package/public/chunk-YP3ILUPZ.js +1 -0
  30. package/public/chunk-YXEZPMKV.js +1 -0
  31. package/public/chunk-ZJLAX3N2.js +1 -0
  32. package/public/index.html +2 -2
  33. package/public/main-C7W4SDMX.js +358 -0
  34. package/public/{styles-BRU77GKR.css → styles-ADI62PD5.css} +1 -1
  35. package/public/worker-KSHRWMJ6.js +3 -0
  36. package/public/chunk-2KQASZ2P.js +0 -1
  37. package/public/chunk-6E2BDKCH.js +0 -106
  38. package/public/chunk-B3ZGKAZU.js +0 -4170
  39. package/public/chunk-BXGNCKBA.js +0 -1
  40. package/public/chunk-EGNX7VBY.js +0 -1
  41. package/public/chunk-I33LU6L4.js +0 -1
  42. package/public/chunk-I75RV7GQ.js +0 -1
  43. package/public/chunk-NRPRHL2L.js +0 -1
  44. package/public/chunk-V2SBXN4Z.js +0 -1
  45. package/public/main-XWH2CEAU.js +0 -468
  46. package/public/worker-PCWM7FLK.js +0 -3
@@ -1,4 +1,4 @@
1
- import{a as it}from"./chunk-45ZTFAA5.js";import{b as ct,i as ot,j as rt,n as dt,o as st}from"./chunk-X6D4D6EN.js";import{$ as te,$a as f,$c as Ze,$d as A,Ad as Y,Cc as de,Ga as $,Ha as w,Ia as T,Id as N,Jd as q,K as we,Ka as ae,La as ie,Ld as J,M as Te,Ma as ce,Mc as se,Md as U,N as Ie,Na as x,Nc as _e,Nd as ee,O as Z,Oa as o,Oc as He,Od as G,P as O,Pa as c,Pc as Xe,Qa as _,Qb as Ne,Qd as H,R as d,Ra as pe,Rd as X,Sa as ke,Sc as fe,T as M,U as D,V as Ee,W as Se,Wd as Je,X as K,Xa as z,Xc as Qe,Y as Be,Ya as Le,Yd as et,Za as b,_ as he,_b as re,aa as Re,ab as j,ac as B,bb as v,bc as qe,bd as Ke,c as F,ca as Fe,ce as R,db as V,de as tt,eb as I,fa as ne,fb as E,fe as nt,i as Ae,ia as be,jb as y,lb as S,ld as We,ma as r,na as ue,nb as je,oa as Oe,ob as s,pb as oe,qb as h,qc as Ue,rd as $e,ua as p,uc as Ge,ue as at,va as W,wa as g,ya as ze,yd as Ye,za as Pe,zb as Ve}from"./chunk-RG7WQ7O2.js";import{a as L}from"./chunk-NCEQPEJE.js";var Dt=["*"],At=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],wt=[`mat-card-title, mat-card-subtitle,
1
+ import{a as it}from"./chunk-OMAUXPDZ.js";import{b as ct,i as ot,j as rt,n as dt,o as st}from"./chunk-M4D7Z434.js";import{$ as he,$b as re,$c as Ke,Aa as Pe,Ab as Ve,Bd as Y,Gc as de,Ha as $,Ia as w,Ja as T,Jd as N,K as we,Kd as q,La as ae,Ma as ie,Md as J,N as Te,Na as ce,Nd as U,O as Ie,Oa as x,Od as ee,P as Z,Pa as o,Pd as G,Q as O,Qa as c,Qc as se,Ra as _,Rb as Ne,Rc as _e,Rd as H,S as d,Sa as pe,Sc as Qe,Sd as X,Ta as ke,Tc as Ze,U as M,V as D,W as Ee,Wc as fe,X as Se,Xd as Je,Y as K,Ya as z,Z as Be,Za as Le,Zd as et,_a as b,aa as te,ab as f,ae as A,ba as Re,bb as j,bc as B,c as F,cb as v,cc as qe,da as Fe,dd as We,de as R,eb as V,ee as tt,fb as I,fd as $e,ga as ne,gb as E,ge as nt,i as Ae,ja as be,kb as y,mb as S,na as r,oa as ue,ob as je,pa as Oe,pb as s,qb as oe,rb as h,rc as Ue,td as Ye,uc as Ge,va as p,vc as He,ve as at,wa as W,xa as g,za as ze,zc as Xe}from"./chunk-XHH2BWBG.js";import{a as L}from"./chunk-NCEQPEJE.js";var Dt=["*"],At=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],wt=[`mat-card-title, mat-card-subtitle,
2
2
  [mat-card-title], [mat-card-subtitle],
3
3
  [matCardTitle], [matCardSubtitle]`,`[mat-card-image], [matCardImage],
4
4
  [mat-card-sm-image], [matCardImageSmall],
@@ -176,7 +176,7 @@ import{a as it}from"./chunk-45ZTFAA5.js";import{b as ct,i as ot,j as rt,n as dt,
176
176
  .mat-mdc-card-actions-align-end {
177
177
  justify-content: flex-end;
178
178
  }
179
- `],encapsulation:2,changeDetection:0})}return n})(),lt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return n})(),ht=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:wt,decls:4,vars:0,template:function(t,a){t&1&&(j(At),pe(0,"div"),v(1),ke(),v(2,1),v(3,2))},encapsulation:2,changeDetection:0})}return n})(),bt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return n})(),ut=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return n})(),pt=(()=>{class n{align="start";static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,a){t&2&&S("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return n})(),mn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:It,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,a){t&1&&(j(Tt),v(0),pe(1,"div",0),v(2,1),ke(),v(3,2))},encapsulation:2,changeDetection:0})}return n})();var ln=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]})}return n})();var kt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=W({type:n});static \u0275inj=Z({imports:[de]})}return n})();var Bt=["input"],Rt=["label"],Ft=["*"],xe={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},Ot=new O("mat-checkbox-default-options",{providedIn:"root",factory:()=>xe}),k=(function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n})(k||{}),ve=class{source;checked},me=(()=>{class n{_elementRef=d(ne);_changeDetectorRef=d(re);_ngZone=d(te);_animationsDisabled=Y();_options=d(Ot,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new ve;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new he;indeterminateChange=new he;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=k.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){d(Ge).load(et);let e=d(new Ne("tabindex"),{optional:!0});this._options=this._options||xe,this.color=this._options.color||xe.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=d(se).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let t=e!=this._indeterminate();this._indeterminate.set(e),t&&(e?this._transitionCheckState(k.Indeterminate):this._transitionCheckState(this.checked?k.Checked:k.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Re(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,a=this._getAnimationTargetElement();if(!(t===e||!a)&&(this._currentAnimationClass&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);let i=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(i)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?k.Checked:k.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationsDisabled)return"";switch(e){case k.Init:if(t===k.Checked)return this._animationClasses.uncheckedToChecked;if(t==k.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case k.Unchecked:return t===k.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case k.Checked:return t===k.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case k.Indeterminate:return t===k.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,a){if(t&1&&V(Bt,5)(Rt,5),t&2){let i;I(i=E())&&(a._inputElement=i.first),I(i=E())&&(a._labelElement=i.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,a){t&2&&(Le("id",a.id),$("tabindex",null)("aria-label",null)("aria-labelledby",null),je(a.color?"mat-"+a.color:"mat-accent"),S("_mat-animation-noopable",a._animationsDisabled)("mdc-checkbox--disabled",a.disabled)("mat-mdc-checkbox-disabled",a.disabled)("mat-mdc-checkbox-checked",a.checked)("mat-mdc-checkbox-disabled-interactive",a.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",B],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",B],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:qe(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],checked:[2,"checked","checked",B],disabled:[2,"disabled","disabled",B],indeterminate:[2,"indeterminate","indeterminate",B]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ve([{provide:tt,useExisting:Te(()=>n),multi:!0},{provide:nt,useExisting:n,multi:!0}]),Fe],ngContentSelectors:Ft,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,a){if(t&1&&(j(),o(0,"div",3),b("click",function(l){return a._preventBubblingFromLabel(l)}),o(1,"div",4,0)(3,"div",5),b("click",function(){return a._onTouchTargetClick()}),c(),o(4,"input",6,1),b("blur",function(){return a._onBlur()})("click",function(){return a._onInputClick()})("change",function(l){return a._onInteractionEvent(l)}),c(),_(6,"div",7),o(7,"div",8),Ee(),o(8,"svg",9),_(9,"path",10),c(),Se(),_(10,"div",11),c(),_(11,"div",12),c(),o(12,"label",13,2),v(14),c()()),t&2){let i=y(2);x("labelPosition",a.labelPosition),r(4),S("mdc-checkbox--selected",a.checked),x("checked",a.checked)("indeterminate",a.indeterminate)("disabled",a.disabled&&!a.disabledInteractive)("id",a.inputId)("required",a.required)("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex),$("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby)("aria-checked",a.indeterminate?"mixed":null)("aria-controls",a.ariaControls)("aria-disabled",a.disabled&&a.disabledInteractive?!0:null)("aria-expanded",a.ariaExpanded)("aria-owns",a.ariaOwns)("name",a.name)("value",a.value),r(7),x("matRippleTrigger",i)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0),r(),x("for",a.inputId)}},dependencies:[Je,it],styles:[`.mdc-checkbox {
179
+ `],encapsulation:2,changeDetection:0})}return n})(),lt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return n})(),ht=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:wt,decls:4,vars:0,template:function(t,a){t&1&&(j(At),pe(0,"div"),v(1),ke(),v(2,1),v(3,2))},encapsulation:2,changeDetection:0})}return n})(),bt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return n})(),ut=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return n})(),pt=(()=>{class n{align="start";static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,a){t&2&&S("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return n})(),mn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:It,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,a){t&1&&(j(Tt),v(0),pe(1,"div",0),v(2,1),ke(),v(3,2))},encapsulation:2,changeDetection:0})}return n})();var ln=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]})}return n})();var kt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=W({type:n});static \u0275inj=Z({imports:[de]})}return n})();var Bt=["input"],Rt=["label"],Ft=["*"],xe={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},Ot=new O("mat-checkbox-default-options",{providedIn:"root",factory:()=>xe}),k=(function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n})(k||{}),ve=class{source;checked},me=(()=>{class n{_elementRef=d(ne);_changeDetectorRef=d(re);_ngZone=d(te);_animationsDisabled=Y();_options=d(Ot,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new ve;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new he;indeterminateChange=new he;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=k.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){d(Xe).load(et);let e=d(new Ne("tabindex"),{optional:!0});this._options=this._options||xe,this.color=this._options.color||xe.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=d(se).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let t=e!=this._indeterminate();this._indeterminate.set(e),t&&(e?this._transitionCheckState(k.Indeterminate):this._transitionCheckState(this.checked?k.Checked:k.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Re(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,a=this._getAnimationTargetElement();if(!(t===e||!a)&&(this._currentAnimationClass&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);let i=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(i)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?k.Checked:k.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationsDisabled)return"";switch(e){case k.Init:if(t===k.Checked)return this._animationClasses.uncheckedToChecked;if(t==k.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case k.Unchecked:return t===k.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case k.Checked:return t===k.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case k.Indeterminate:return t===k.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,a){if(t&1&&V(Bt,5)(Rt,5),t&2){let i;I(i=E())&&(a._inputElement=i.first),I(i=E())&&(a._labelElement=i.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,a){t&2&&(Le("id",a.id),$("tabindex",null)("aria-label",null)("aria-labelledby",null),je(a.color?"mat-"+a.color:"mat-accent"),S("_mat-animation-noopable",a._animationsDisabled)("mdc-checkbox--disabled",a.disabled)("mat-mdc-checkbox-disabled",a.disabled)("mat-mdc-checkbox-checked",a.checked)("mat-mdc-checkbox-disabled-interactive",a.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",B],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",B],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:qe(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],checked:[2,"checked","checked",B],disabled:[2,"disabled","disabled",B],indeterminate:[2,"indeterminate","indeterminate",B]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ve([{provide:tt,useExisting:Te(()=>n),multi:!0},{provide:nt,useExisting:n,multi:!0}]),Fe],ngContentSelectors:Ft,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,a){if(t&1&&(j(),o(0,"div",3),b("click",function(l){return a._preventBubblingFromLabel(l)}),o(1,"div",4,0)(3,"div",5),b("click",function(){return a._onTouchTargetClick()}),c(),o(4,"input",6,1),b("blur",function(){return a._onBlur()})("click",function(){return a._onInputClick()})("change",function(l){return a._onInteractionEvent(l)}),c(),_(6,"div",7),o(7,"div",8),Ee(),o(8,"svg",9),_(9,"path",10),c(),Se(),_(10,"div",11),c(),_(11,"div",12),c(),o(12,"label",13,2),v(14),c()()),t&2){let i=y(2);x("labelPosition",a.labelPosition),r(4),S("mdc-checkbox--selected",a.checked),x("checked",a.checked)("indeterminate",a.indeterminate)("disabled",a.disabled&&!a.disabledInteractive)("id",a.inputId)("required",a.required)("tabIndex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex),$("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby)("aria-describedby",a.ariaDescribedby)("aria-checked",a.indeterminate?"mixed":null)("aria-controls",a.ariaControls)("aria-disabled",a.disabled&&a.disabledInteractive?!0:null)("aria-expanded",a.ariaExpanded)("aria-owns",a.ariaOwns)("name",a.name)("value",a.value),r(7),x("matRippleTrigger",i)("matRippleDisabled",a.disableRipple||a.disabled)("matRippleCentered",!0),r(),x("for",a.inputId)}},dependencies:[Je,it],styles:[`.mdc-checkbox {
180
180
  display: inline-block;
181
181
  position: relative;
182
182
  flex: 0 0 18px;
@@ -657,7 +657,7 @@ import{a as it}from"./chunk-45ZTFAA5.js";import{b as ct,i as ot,j as rt,n as dt,
657
657
  max-height: 50vh;
658
658
  overflow: auto;
659
659
  }
660
- `],encapsulation:2,changeDetection:0})}return n})(),Ce="_mat-snack-bar-enter",Me="_mat-snack-bar-exit",Gt=(()=>{class n extends Xe{_ngZone=d(te);_elementRef=d(ne);_changeDetectorRef=d(re);_platform=d(Ue);_animationsDisabled=Y();snackBarConfig=d(Q);_document=d(Be);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=d(K);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new F;_onExit=new F;_onEnter=new F;_animationState="void";_live;_label;_role;_liveElementId=d(se).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),t}attachTemplatePortal(e){this._assertNotAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),t}attachDomPortal=e=>{this._assertNotAttached();let t=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),t};onAnimationEnd(e){e===Me?this._completeExit():e===Ce&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?ue(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Ce)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Ce)},200)))}exit(){return this._destroyed?Ae(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?ue(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Me)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Me),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(l=>e.classList.add(l)):e.classList.add(t)),this._exposeToModals();let a=this._label.nativeElement,i="mdc-snackbar__label";a.classList.toggle(i,!a.querySelector(`.${i}`))}_exposeToModals(){let e=this._liveElementId,t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<t.length;a++){let i=t[a],l=i.getAttribute("aria-owns");this._trackedModals.add(i),l?l.indexOf(e)===-1&&i.setAttribute("aria-owns",l+" "+e):i.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let t=e.getAttribute("aria-owns");if(t){let a=t.replace(this._liveElementId,"").trim();a.length>0?e.setAttribute("aria-owns",a):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,t=e.querySelector("[aria-hidden]"),a=e.querySelector("[aria-live]");if(t&&a){let i=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),a.appendChild(t),i?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(t,a){if(t&1&&V(fe,7)(Lt,7),t&2){let i;I(i=E())&&(a._portalOutlet=i.first),I(i=E())&&(a._label=i.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(t,a){t&1&&b("animationend",function(l){return a.onAnimationEnd(l.animationName)})("animationcancel",function(l){return a.onAnimationEnd(l.animationName)}),t&2&&S("mat-snack-bar-container-enter",a._animationState==="visible")("mat-snack-bar-container-exit",a._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!a._animationsDisabled)},features:[ze],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,a){t&1&&(o(0,"div",1)(1,"div",2,0)(3,"div",3),Pe(4,jt,0,0,"ng-template",4),c(),_(5,"div"),c()()),t&2&&(r(5),$("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[fe],styles:[`@keyframes _mat-snack-bar-enter {
660
+ `],encapsulation:2,changeDetection:0})}return n})(),Ce="_mat-snack-bar-enter",Me="_mat-snack-bar-exit",Gt=(()=>{class n extends Ze{_ngZone=d(te);_elementRef=d(ne);_changeDetectorRef=d(re);_platform=d(Ue);_animationsDisabled=Y();snackBarConfig=d(Q);_document=d(Be);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=d(K);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new F;_onExit=new F;_onEnter=new F;_animationState="void";_live;_label;_role;_liveElementId=d(se).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),t}attachTemplatePortal(e){this._assertNotAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),t}attachDomPortal=e=>{this._assertNotAttached();let t=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),t};onAnimationEnd(e){e===Me?this._completeExit():e===Ce&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?ue(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Ce)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Ce)},200)))}exit(){return this._destroyed?Ae(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?ue(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Me)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Me),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(l=>e.classList.add(l)):e.classList.add(t)),this._exposeToModals();let a=this._label.nativeElement,i="mdc-snackbar__label";a.classList.toggle(i,!a.querySelector(`.${i}`))}_exposeToModals(){let e=this._liveElementId,t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<t.length;a++){let i=t[a],l=i.getAttribute("aria-owns");this._trackedModals.add(i),l?l.indexOf(e)===-1&&i.setAttribute("aria-owns",l+" "+e):i.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let t=e.getAttribute("aria-owns");if(t){let a=t.replace(this._liveElementId,"").trim();a.length>0?e.setAttribute("aria-owns",a):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,t=e.querySelector("[aria-hidden]"),a=e.querySelector("[aria-live]");if(t&&a){let i=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),a.appendChild(t),i?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=p({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(t,a){if(t&1&&V(fe,7)(Lt,7),t&2){let i;I(i=E())&&(a._portalOutlet=i.first),I(i=E())&&(a._label=i.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(t,a){t&1&&b("animationend",function(l){return a.onAnimationEnd(l.animationName)})("animationcancel",function(l){return a.onAnimationEnd(l.animationName)}),t&2&&S("mat-snack-bar-container-enter",a._animationState==="visible")("mat-snack-bar-container-exit",a._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!a._animationsDisabled)},features:[ze],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,a){t&1&&(o(0,"div",1)(1,"div",2,0)(3,"div",3),Pe(4,jt,0,0,"ng-template",4),c(),_(5,"div"),c()()),t&2&&(r(5),$("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[fe],styles:[`@keyframes _mat-snack-bar-enter {
661
661
  from {
662
662
  transform: scale(0.8);
663
663
  opacity: 0;
@@ -773,7 +773,7 @@ import{a as it}from"./chunk-45ZTFAA5.js";import{b as ct,i as ot,j as rt,n as dt,
773
773
  .mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {
774
774
  opacity: 0.1;
775
775
  }
776
- `],encapsulation:2})}return n})(),Ht=new O("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new Q}),Qn=(()=>{class n{_live=d($e);_injector=d(K);_breakpointObserver=d(We);_parentSnackBar=d(n,{optional:!0,skipSelf:!0});_defaultConfig=d(Ht);_animationsDisabled=Y();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=Ut;snackBarContainerComponent=Gt;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",a){let i=L(L({},this._defaultConfig),a);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){let a=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=K.create({parent:a||this._injector,providers:[{provide:Q,useValue:t}]}),l=new _e(this.snackBarContainerComponent,t.viewContainerRef,i),u=e.attach(l);return u.instance.snackBarConfig=t,u.instance}_attach(e,t){let a=L(L(L({},new Q),this._defaultConfig),t),i=this._createOverlay(a),l=this._attachSnackBarContainer(i,a),u=new P(l,i);if(e instanceof Oe){let C=new He(e,null,{$implicit:a.data,snackBarRef:u});u.instance=l.attachTemplatePortal(C)}else{let C=this._createInjector(a,u),Ct=new _e(e,void 0,C),Mt=l.attachComponentPortal(Ct);u.instance=Mt.instance}return this._breakpointObserver.observe(Ye.HandsetPortrait).pipe(we(i.detachments())).subscribe(C=>{i.overlayElement.classList.toggle(this.handsetCssClass,C.matches)}),a.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(u,a),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let t=new Qe;t.direction=e.direction;let a=Ze(this._injector),i=e.direction==="rtl",l=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!i||e.horizontalPosition==="end"&&i,u=!l&&e.horizontalPosition!=="center";return l?a.left("0"):u?a.right("0"):a.centerHorizontally(),e.verticalPosition==="top"?a.top("0"):a.bottom("0"),t.positionStrategy=a,t.disableAnimations=this._animationsDisabled,Ke(this._injector,t)}_createInjector(e,t){let a=e&&e.viewContainerRef&&e.viewContainerRef.injector;return K.create({parent:a||this._injector,providers:[{provide:P,useValue:t},{provide:le,useValue:e.data}]})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Xt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Qt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Zt(n,m){if(n&1){let e=z();o(0,"div",5)(1,"mat-checkbox",8),b("change",function(a){M(e);let i=f();return D(i.checked=a.checked)}),s(2),c()()}if(n&2){let e=f();r(2),h(" ",e.data.checkText," ")}}function Kt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Wt(n,m){if(n&1){let e=z();o(0,"div",5)(1,"div",8)(2,"mat-checkbox",9),b("change",function(a){M(e);let i=f();return D(i.checked=a.checked)}),s(3),c()()()}if(n&2){let e=f();r(3),h(" ",e.data.checkText,"\xA0 ")}}function $t(n,m){if(n&1&&(o(0,"a",8),s(1,"Visit Website"),c(),s(2," \xA0 ")),n&2){let e=f();x("href",e.data.url,be)}}var Yt=["username"];function Jt(n,m){if(n&1){let e=z();s(0," \xA0 "),o(1,"button",2),b("click",function(){M(e);let a=f();return D(a.snackBarRef.dismissWithAction())}),s(2),c()}if(n&2){let e=f();r(2),h(" ",e.data.action," ")}}function en(n,m){n&1&&_(0,"audio",1),n&2&&x("autoplay",!0)}var _t=class n{msglines=[];dialogRef=d(N);data=d(q);constructor(){}ngOnInit(){this.data.buttonText=this.data.buttonText||"OK",this.msglines=this.data.message.split(`
776
+ `],encapsulation:2})}return n})(),Ht=new O("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new Q}),Qn=(()=>{class n{_live=d(Ye);_injector=d(K);_breakpointObserver=d(Ge);_parentSnackBar=d(n,{optional:!0,skipSelf:!0});_defaultConfig=d(Ht);_animationsDisabled=Y();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=Ut;snackBarContainerComponent=Gt;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",a){let i=L(L({},this._defaultConfig),a);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){let a=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=K.create({parent:a||this._injector,providers:[{provide:Q,useValue:t}]}),l=new _e(this.snackBarContainerComponent,t.viewContainerRef,i),u=e.attach(l);return u.instance.snackBarConfig=t,u.instance}_attach(e,t){let a=L(L(L({},new Q),this._defaultConfig),t),i=this._createOverlay(a),l=this._attachSnackBarContainer(i,a),u=new P(l,i);if(e instanceof Oe){let C=new Qe(e,null,{$implicit:a.data,snackBarRef:u});u.instance=l.attachTemplatePortal(C)}else{let C=this._createInjector(a,u),Ct=new _e(e,void 0,C),Mt=l.attachComponentPortal(Ct);u.instance=Mt.instance}return this._breakpointObserver.observe(He.HandsetPortrait).pipe(we(i.detachments())).subscribe(C=>{i.overlayElement.classList.toggle(this.handsetCssClass,C.matches)}),a.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(u,a),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let t=new Ke;t.direction=e.direction;let a=We(this._injector),i=e.direction==="rtl",l=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!i||e.horizontalPosition==="end"&&i,u=!l&&e.horizontalPosition!=="center";return l?a.left("0"):u?a.right("0"):a.centerHorizontally(),e.verticalPosition==="top"?a.top("0"):a.bottom("0"),t.positionStrategy=a,t.disableAnimations=this._animationsDisabled,$e(this._injector,t)}_createInjector(e,t){let a=e&&e.viewContainerRef&&e.viewContainerRef.injector;return K.create({parent:a||this._injector,providers:[{provide:P,useValue:t},{provide:le,useValue:e.data}]})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Xt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Qt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Zt(n,m){if(n&1){let e=z();o(0,"div",5)(1,"mat-checkbox",8),b("change",function(a){M(e);let i=f();return D(i.checked=a.checked)}),s(2),c()()}if(n&2){let e=f();r(2),h(" ",e.data.checkText," ")}}function Kt(n,m){if(n&1&&(o(0,"div")(1,"div"),s(2),c()()),n&2){let e=m.$implicit;r(2),h("",e,"\xA0")}}function Wt(n,m){if(n&1){let e=z();o(0,"div",5)(1,"div",8)(2,"mat-checkbox",9),b("change",function(a){M(e);let i=f();return D(i.checked=a.checked)}),s(3),c()()()}if(n&2){let e=f();r(3),h(" ",e.data.checkText,"\xA0 ")}}function $t(n,m){if(n&1&&(o(0,"a",8),s(1,"Visit Website"),c(),s(2," \xA0 ")),n&2){let e=f();x("href",e.data.url,be)}}var Yt=["username"];function Jt(n,m){if(n&1){let e=z();s(0," \xA0 "),o(1,"button",2),b("click",function(){M(e);let a=f();return D(a.snackBarRef.dismissWithAction())}),s(2),c()}if(n&2){let e=f();r(2),h(" ",e.data.action," ")}}function en(n,m){n&1&&_(0,"audio",1),n&2&&x("autoplay",!0)}var _t=class n{msglines=[];dialogRef=d(N);data=d(q);constructor(){}ngOnInit(){this.data.buttonText=this.data.buttonText||"OK",this.msglines=this.data.message.split(`
777
777
  `)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["ap-msgbox"]],decls:10,vars:2,consts:[[1,"_ap-msgbox"],["mat-dialog-title",""],["align","center"],["mat-raised-button","",3,"click"]],template:function(e,t){e&1&&(o(0,"div",0)(1,"div")(2,"h1",1),s(3),c()(),o(4,"mat-dialog-content"),ie(5,Xt,3,1,"div",null,ae),c(),o(7,"mat-dialog-actions",2)(8,"button",3),b("click",function(){return t.dialogRef.close(!0)}),s(9),c()()()),e&2&&(r(3),oe(t.data.title),r(2),ce(t.msglines),r(4),h(" ",t.data.buttonText," "))},dependencies:[G,J,ee,U,R,A],styles:["._ap-msgbox[_ngcontent-%COMP%]{font-family:Roboto;min-width:150px}"]})},ft=class n{msglines=[];image=null;checked=!1;dialogRef=d(N);data=d(q);constructor(){}ngOnInit(){this.data.buttonText=this.data.buttonText||"OK",this.msglines=this.data.message.split(`
778
778
  `)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["ap-alertdialog"]],decls:15,vars:3,consts:[[1,"_ap-alert"],["mat-dialog-title",""],[2,"color","orange"],[2,"display","flex"],[2,"padding-left","10px"],[2,"padding","10px 0 0 10px"],["align","center"],["mat-raised-button","",3,"click"],[3,"change"]],template:function(e,t){e&1&&(o(0,"div",0)(1,"div")(2,"h1",1)(3,"mat-icon",2),s(4,"warning"),c(),s(5),c()(),o(6,"mat-dialog-content")(7,"div",3)(8,"div",4),ie(9,Qt,3,1,"div",null,ae),c()(),w(11,Zt,3,1,"div",5),c(),o(12,"mat-dialog-actions",6)(13,"button",7),b("click",function(){return t.dialogRef.close(t.data.checkText?{checked:t.checked}:!0)}),s(14),c()()()),e&2&&(r(5),h(" \xA0",t.data.title," "),r(4),ce(t.msglines),r(2),T(t.data.checkText?11:-1),r(3),h(" ",t.data.buttonText," "))},dependencies:[G,J,ee,U,X,H,ye,me,R,A],styles:["._ap-alert[_ngcontent-%COMP%]{min-width:150px}"]})},gt=class n{msglines=[];checked=!1;dialogRef=d(N);data=d(q);constructor(){}ngOnInit(){this.data.button1Text=this.data.button1Text||"Yes",this.data.button2Text=this.data.button2Text||"No",this.msglines=this.data.message.split(`
779
779
  `)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["ap-confirmdialog"]],decls:18,vars:4,consts:[[1,"_ap-confirm"],["mat-dialog-title",""],[2,"color","orange"],[2,"overflow","unset"],[2,"display","flex"],[2,"padding-left","10px"],["align","center"],["mat-raised-button","",3,"click"],[2,"font-weight","500"],[3,"change"]],template:function(e,t){e&1&&(o(0,"div",0)(1,"div")(2,"h1",1)(3,"mat-icon",2),s(4,"help"),c(),s(5),c()(),o(6,"mat-dialog-content",3)(7,"div",4)(8,"div",5),ie(9,Kt,3,1,"div",null,ae),c()(),o(11,"div",4),w(12,Wt,4,1,"div",5),c()(),o(13,"mat-dialog-actions",6)(14,"button",7),b("click",function(){return t.dialogRef.close({ok:!0,checked:t.checked})}),s(15),c(),o(16,"button",7),b("click",function(){return t.dialogRef.close(null)}),s(17),c()()()),e&2&&(r(5),h(" \xA0",t.data.title," "),r(4),ce(t.msglines),r(3),T(t.data.checkText?12:-1),r(3),h(" ",t.data.button1Text," "),r(2),h(" ",t.data.button2Text," "))},dependencies:[G,J,ee,U,X,H,ye,me,R,A],styles:["._ap-confirm[_ngcontent-%COMP%]{font-family:Roboto;min-width:150px}"]})},xt=class n{dialogRef=d(N);data=d(q);constructor(){}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["ap-about-dialog"]],decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"about-row"],[1,"item"],[3,"src"],[2,"font-weight","bold"],[1,"description"],["align","center"],["mat-raised-button","",3,"click"],["mat-button","","target","_web","rel","noopener",3,"href"]],template:function(e,t){e&1&&(o(0,"div")(1,"h1",0)(2,"mat-icon"),s(3,"info"),c(),s(4,"\xA0About"),c(),o(5,"mat-dialog-content")(6,"div",1)(7,"div",2),_(8,"img",3),c(),o(9,"div",2)(10,"span",4),s(11),c(),s(12,"\xA0\xA0"),_(13,"br"),o(14,"span",5),s(15),c(),_(16,"br"),o(17,"span"),s(18),c(),_(19,"br")(20,"br"),c()()(),o(21,"mat-dialog-actions",6),w(22,$t,3,1),o(23,"button",7),b("click",function(){return t.dialogRef.close(!1)}),s(24," Close "),c()()()),e&2&&(r(8),x("src",t.data.logo,be),r(3),oe(t.data.name),r(4),h(" ",t.data.description," "),r(3),h("Version: ",t.data.version),r(4),T(t.data.url?22:-1))},dependencies:[G,J,ee,U,X,H,R,A],styles:[".about-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-content:stretch;font-family:roboto}.about-row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-left:10px}.about-row[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:42px}.about-row[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:12pt}"]})},vt=class n{username;imgSource="assets/img/success.png";result={cancel:!1,user:null,pwd:null};dialogRef=d(N);data=d(q);constructor(){}ngOnInit(){this.data.message=this.data.message||"",this.data.button1Text=this.data.button1Text||"Log in",this.data.button2Text=this.data.button2Text||"Cancel"}ngAfterViewInit(){setTimeout(()=>this.username.nativeElement.focus(),500)}keyUp(m,e,t){m.key==="Enter"&&this.login(e.value,t.value)}handleFocus(m){m.currentTarget.select(0,m.currentTarget.value.length)}cancel(){this.result.cancel=!0,this.dialogRef.close(this.result)}login(m="",e=""){this.result.cancel=!1,this.result.user=m,this.result.pwd=e,this.dialogRef.close(this.result)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["ap-login-dialog"]],viewQuery:function(e,t){if(e&1&&V(Yt,5),e&2){let a;I(a=E())&&(t.username=a.first)}},decls:27,vars:4,consts:[["username",""],["password",""],["matInput","","type","text","value","",2,"width","110px",3,"keyup","focus"],["matInput","","type","password","value","",2,"width","110px",3,"keyup","focus"],["align","end"],["default","","mat-raised-button","",3,"click","disabled"],["default","","mat-raised-button","",3,"click"]],template:function(e,t){if(e&1){let a=z();o(0,"mat-dialog-content")(1,"mat-card")(2,"mat-card-title-group")(3,"mat-icon"),s(4,"account_circle"),c(),o(5,"mat-card-title"),s(6,"Sign-In"),c(),o(7,"mat-card-subtitle"),s(8),c()(),o(9,"mat-card-content")(10,"mat-form-field")(11,"mat-label"),s(12,"User name"),c(),o(13,"input",2,0),b("keyup",function(l){M(a);let u=y(14),C=y(20);return D(t.keyUp(l,u,C))})("focus",function(l){return t.handleFocus(l)}),c()(),_(15,"br"),o(16,"mat-form-field")(17,"mat-label"),s(18,"Password"),c(),o(19,"input",3,1),b("keyup",function(l){M(a);let u=y(14),C=y(20);return D(t.keyUp(l,u,C))})("focus",function(l){return t.handleFocus(l)}),c()()(),o(21,"mat-card-actions",4)(22,"button",5),b("click",function(){M(a);let l=y(14),u=y(20);return D(t.login(l.value,u.value))}),s(23),c(),s(24," \xA0\xA0 "),o(25,"button",6),b("click",function(){return t.cancel()}),s(26),c()()()()}if(e&2){let a=y(14);r(8),oe(t.data.message),r(14),x("disabled",a.value.length===0),r(),h(" ",t.data.button1Text," "),r(3),h(" ",t.data.button2Text," ")}},dependencies:[G,U,X,H,R,A,kt,mt,pt,bt,ut,lt,ht,rt,ot,ct,st,dt,at],encapsulation:2})},yt=class n{data=d(le);snackBarRef=d(P);constructor(){}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=p({type:n,selectors:[["message-bar"]],decls:6,vars:3,consts:[[1,"message-bar"],["src","./assets/sound/ding.mp3",3,"autoplay"],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,t){e&1&&(o(0,"div",0)(1,"mat-icon"),s(2,"message"),c(),s(3),w(4,Jt,3,1),c(),w(5,en,1,1,"audio",1)),e&2&&(r(3),h("\xA0\xA0 ",t.data.message," "),r(),T(t.data.action?4:-1),r(),T(t.data.sound?5:-1))},dependencies:[X,H,R,A,De],styles:[".message-bar[_ngcontent-%COMP%]{font-family:roboto}"]})};export{Qn as a,mt as b,lt as c,ht as d,bt as e,ut as f,pt as g,mn as h,ln as i,kt as j,me as k,ye as l,_t as m,ft as n,gt as o,xt as p,vt as q,yt as r};
@@ -0,0 +1,106 @@
1
+ import{$a as O,$b as H,Ac as g,Bd as v,Cc as X,Ic as z,Id as Z,K as r,Q as _,Rc as G,S as n,Sa as f,Ta as R,Y as p,Yc as j,Z as T,_a as A,_c as F,aa as w,bd as U,c,eb as M,fb as x,fd as B,ga as h,gb as S,ld as $,mb as u,na as D,oa as m,ob as L,pb as k,qb as N,ra as P,rc as V,tc as Y,ua as C,va as I,xa as E,yd as y}from"./chunk-XHH2BWBG.js";import{a as l}from"./chunk-NCEQPEJE.js";var q=["tooltip"],K=20;var J=new _("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=n(p);return()=>F(a,{scrollThrottle:K})}}),tt=new _("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Q="tooltip-panel",et={passive:!0},it=8,ot=8,st=24,nt=200,It=(()=>{class a{_elementRef=n(h);_ngZone=n(w);_platform=n(V);_ariaDescriber=n(Z);_focusMonitor=n($);_dir=n(X);_injector=n(p);_viewContainerRef=n(C);_mediaMatcher=n(Y);_document=n(T);_renderer=n(P);_animationsDisabled=v();_defaultOptions=n(tt,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=at;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=y(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=y(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=g(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=g(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new c;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=it}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(r(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new G(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof h)return this._overlayRef;this._detach()}let e=this._injector.get(z).getAncestorScrollContainers(this._elementRef),i=`${this._cssClassPrefix}-${Q}`,o=U(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation("global");return o.positionChanges.pipe(r(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=B(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,i]:i,scrollStrategy:this._injector.get(J)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(r(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(r(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(r(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(l(l({},i.main),o.main)),this._addOffset(l(l({},i.fallback),o.fallback))])}_addOffset(t){let e=ot,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),m(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=i==="end"?"left":"right":s=i==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let d=this._overlayRef;if(d){let b=`${this._cssClassPrefix}-${Q}-`;d.removePanelClass(b+this._currentPosition),d.addPanelClass(b+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener("wheel",t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",t),this._addListener("touchcancel",t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,et))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t=="function"?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||m({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type==="keydown"?this._isTooltipVisible()&&t.keyCode===27&&!j(t):!0;static \u0275fac=function(e){return new(e||a)};static \u0275dir=E({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&u("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return a})(),at=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(h);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=v();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new c;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>st&&t.width>=nt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:i),e.classList.add(t?i:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=I({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&M(q,7),e&2){let o;x(o=S())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&A("mouseleave",function(s){return i._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){e&1&&(f(0,"div",1,0),O("animationend",function(s){return i._handleAnimationEnd(s)}),f(2,"div",2),k(3),R()()),e&2&&(L(i.tooltipClass),u("mdc-tooltip--multiline",i._isMultiline),D(3),N(i.message))},styles:[`.mat-mdc-tooltip {
2
+ position: relative;
3
+ transform: scale(0);
4
+ display: inline-flex;
5
+ }
6
+ .mat-mdc-tooltip::before {
7
+ content: "";
8
+ top: 0;
9
+ right: 0;
10
+ bottom: 0;
11
+ left: 0;
12
+ z-index: -1;
13
+ position: absolute;
14
+ }
15
+ .mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {
16
+ top: -8px;
17
+ }
18
+ .mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {
19
+ bottom: -8px;
20
+ }
21
+ .mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {
22
+ left: -8px;
23
+ }
24
+ .mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {
25
+ right: -8px;
26
+ }
27
+ .mat-mdc-tooltip._mat-animation-noopable {
28
+ animation: none;
29
+ transform: scale(1);
30
+ }
31
+
32
+ .mat-mdc-tooltip-surface {
33
+ word-break: normal;
34
+ overflow-wrap: anywhere;
35
+ padding: 4px 8px;
36
+ min-width: 40px;
37
+ max-width: 200px;
38
+ min-height: 24px;
39
+ max-height: 40vh;
40
+ box-sizing: border-box;
41
+ overflow: hidden;
42
+ text-align: center;
43
+ will-change: transform, opacity;
44
+ background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));
45
+ color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));
46
+ border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));
47
+ font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));
48
+ font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));
49
+ font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));
50
+ line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));
51
+ letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));
52
+ }
53
+ .mat-mdc-tooltip-surface::before {
54
+ position: absolute;
55
+ box-sizing: border-box;
56
+ width: 100%;
57
+ height: 100%;
58
+ top: 0;
59
+ left: 0;
60
+ border: 1px solid transparent;
61
+ border-radius: inherit;
62
+ content: "";
63
+ pointer-events: none;
64
+ }
65
+ .mdc-tooltip--multiline .mat-mdc-tooltip-surface {
66
+ text-align: left;
67
+ }
68
+ [dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {
69
+ text-align: right;
70
+ }
71
+
72
+ .mat-mdc-tooltip-panel {
73
+ line-height: normal;
74
+ }
75
+ .mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {
76
+ pointer-events: none;
77
+ }
78
+
79
+ @keyframes mat-mdc-tooltip-show {
80
+ 0% {
81
+ opacity: 0;
82
+ transform: scale(0.8);
83
+ }
84
+ 100% {
85
+ opacity: 1;
86
+ transform: scale(1);
87
+ }
88
+ }
89
+ @keyframes mat-mdc-tooltip-hide {
90
+ 0% {
91
+ opacity: 1;
92
+ transform: scale(1);
93
+ }
94
+ 100% {
95
+ opacity: 0;
96
+ transform: scale(0.8);
97
+ }
98
+ }
99
+ .mat-mdc-tooltip-show {
100
+ animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
101
+ }
102
+
103
+ .mat-mdc-tooltip-hide {
104
+ animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
105
+ }
106
+ `],encapsulation:2,changeDetection:0})}return a})();export{It as a};
@@ -1 +1 @@
1
- import{c as y,d as S,e as k,g as E,k as R,o as B}from"./chunk-PD55PKQG.js";import"./chunk-YZN4NRWW.js";import"./chunk-YSHHABBQ.js";import{$a as _,$d as T,Id as b,Jd as I,La as f,Ld as L,Ma as u,Md as C,Nd as w,Oa as e,Od as P,Pa as a,Qd as W,Rd as v,T as s,U as g,Xa as M,Za as c,ce as h,ma as l,ob as o,pb as D,qb as A,ra as r,rb as x,ua as p}from"./chunk-RG7WQ7O2.js";import"./chunk-NCEQPEJE.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}dialogRef;data;anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,h,T,v,W,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};
1
+ import{c as y,d as S,e as k,g as E,k as R,o as B}from"./chunk-5WUOKMEL.js";import"./chunk-XSBLUIEK.js";import"./chunk-5B3P22GG.js";import{Jd as b,Kd as I,Ma as f,Md as L,Na as u,Nd as C,Od as w,Pa as e,Pd as P,Qa as a,Rd as W,Sd as v,U as s,V as g,Ya as M,_a as c,ab as _,ae as T,de as h,na as l,pb as o,qb as D,rb as A,sa as r,sb as x,va as p}from"./chunk-XHH2BWBG.js";import"./chunk-NCEQPEJE.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}dialogRef;data;anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,h,T,v,W,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};
@@ -0,0 +1 @@
1
+ import{W as z}from"./chunk-NL5F2VEH.js";import"./chunk-U7APAW37.js";import"./chunk-DXAIA7TN.js";import"./chunk-CXU2QR7B.js";import"./chunk-FESHPCKG.js";import"./chunk-OMAUXPDZ.js";import"./chunk-M4D7Z434.js";import"./chunk-5WUOKMEL.js";import"./chunk-XSBLUIEK.js";import"./chunk-5B3P22GG.js";import{Ia as m,Ja as d,Jd as C,Kd as w,Md as O,Nd as S,Oa as P,Od as R,Pa as a,Pd as E,Qa as o,Ra as _,Rd as T,Sd as A,U as f,V as u,Ya as D,_a as p,_d as k,ab as g,ae as j,de as V,eb as y,fb as b,gb as x,ka as h,na as s,pb as r,qb as M,qc as I,sa as c,va as v}from"./chunk-XHH2BWBG.js";import"./chunk-NCEQPEJE.js";var U=["frame"];function Q(n,t){if(n&1&&(a(0,"mat-dialog-content",3),_(1,"iframe",6,0),o()),n&2){let e=g();s(),P("src",e.url,h)("title",e.data.panel.title)}}function B(n,t){n&1&&(a(0,"mat-dialog-content",4),r(1," This widget has no settings. "),o())}function F(n,t){if(n&1){let e=D();a(0,"mat-dialog-actions",5)(1,"button",7),p("click",function(){f(e);let l=g();return u(l.removeWidget())}),a(2,"mat-icon"),r(3,"delete"),o(),r(4," Remove widget "),o()()}}var W=class n{constructor(t,e,i,l){this.dialogRef=t;this.data=e;this.service=i;this.sanitizer=l}dialogRef;data;service;sanitizer;frame;url;detach=null;ngOnInit(){let t=this.data.panel;t&&(this.url=this.sanitizer.bypassSecurityTrustResourceUrl(t.url?this.service.resolveAssetUrl(t.url):"about:blank"))}ngAfterViewInit(){let t=this.data.panel;!t||!this.frame||(this.detach=this.service.attachPanel(this.frame.nativeElement,{extension:this.data.extension,panel:t,targetInstance:this.data.targetInstance,targetWidget:this.data.targetWidget,targetOverlay:this.data.targetOverlay,close:()=>this.dialogRef.close()}))}removeWidget(){this.data.targetInstance&&this.service.removeWidget(this.data.targetInstance),this.dialogRef.close()}ngOnDestroy(){this.detach?.(),this.detach=null}static \u0275fac=function(e){return new(e||n)(c(C),c(w),c(z),c(I))};static \u0275cmp=v({type:n,selectors:[["fb-plotterext-panel-dialog"]],viewQuery:function(e,i){if(e&1&&y(U,5),e&2){let l;b(l=x())&&(i.frame=l.first)}},decls:9,vars:3,consts:[["frame",""],["mat-dialog-title","",1,"pe-panel-header"],["mat-icon-button","","aria-label","Close",3,"click"],[1,"pe-panel-content"],[1,"pe-panel-noconfig"],[1,"pe-panel-actions"],["sandbox","allow-scripts allow-same-origin allow-forms",3,"src","title"],["mat-button","",1,"pe-remove",3,"click"]],template:function(e,i){e&1&&(a(0,"div",1)(1,"span"),r(2),o(),a(3,"button",2),p("click",function(){return i.dialogRef.close()}),a(4,"mat-icon"),r(5,"close"),o()()(),m(6,Q,3,2,"mat-dialog-content",3)(7,B,2,0,"mat-dialog-content",4),m(8,F,5,0,"mat-dialog-actions",5)),e&2&&(s(2),M(i.data.panel?i.data.panel.title:i.data.title),s(4),d(i.data.panel?6:7),s(2),d(i.data.targetInstance?8:-1))},dependencies:[E,O,R,S,V,j,k,A,T],styles:[".pe-panel-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding-right:8px}.pe-panel-content[_ngcontent-%COMP%]{padding:0;height:60vh}.pe-panel-noconfig[_ngcontent-%COMP%]{padding:16px 24px}iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:none}.pe-panel-actions[_ngcontent-%COMP%]{justify-content:flex-start}.pe-remove[_ngcontent-%COMP%]{color:#d32f2f}"]})};export{W as PlotterPanelDialog};
@@ -1,4 +1,4 @@
1
- import{$ as x,$a as F,Ad as Pe,Ba as ye,Cc as Z,F as pe,G as _e,Ga as O,Ha as m,I as be,Ia as f,K as j,Kb as Te,Mc as D,N as S,Na as T,Nb as U,O as E,Oa as u,P as b,Pa as h,Qa as P,R as r,Ra as Ce,Sa as Fe,Sd as ne,Ta as Y,Ub as B,Wb as Le,Ya as N,Za as H,_b as De,a as ce,aa as xe,ab as X,ac as te,b as me,ba as W,bb as g,c as v,ca as ge,cb as we,cc as ze,db as K,eb as s,ec as Ae,fa as C,fb as c,gb as Me,ge as Ne,h as fe,hb as Se,ib as J,ie as He,jb as ee,ke as Be,lb as y,m as ue,ma as d,nd as Oe,ob as Ee,pa as ve,pb as Re,pe as qe,qa as I,qc as L,t as he,u as V,ua as k,uc as Ie,va as R,wa as _,wd as z,xc as ie,yc as ke,za as Q,zb as w}from"./chunk-RG7WQ7O2.js";var oe=class{_box;_destroyed=new v;_resizeSubject=new v;_resizeObserver;_elementObservables=new Map;constructor(l){this._box=l,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new me(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),t.unsubscribe(),this._elementObservables.delete(l)}}).pipe(V(e=>e.some(t=>t.target===l)),_e({bufferSize:1,refCount:!0}),j(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ve=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=r(x);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let n=t?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new oe(n)),this._observers.get(n).observe(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ut=["notch"],ht=["matFormFieldNotchedOutline",""],pt=["*"],je=["iconPrefixContainer"],We=["textPrefixContainer"],Qe=["iconSuffixContainer"],Ue=["textSuffixContainer"],_t=["textField"],bt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gt(i,l){i&1&&P(0,"span",21)}function vt(i,l){if(i&1&&(u(0,"label",20),g(1,1),m(2,gt,1,0,"span",21),h()),i&2){let e=F(2);T("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),O("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),f(!e.hideRequiredMarker&&e._control.required?2:-1)}}function yt(i,l){if(i&1&&m(0,vt,3,5,"label",20),i&2){let e=F();f(e._hasFloatingLabel()?0:-1)}}function Ct(i,l){i&1&&P(0,"div",7)}function Ft(i,l){}function wt(i,l){if(i&1&&Q(0,Ft,0,0,"ng-template",13),i&2){F(2);let e=ee(1);T("ngTemplateOutlet",e)}}function Mt(i,l){if(i&1&&(u(0,"div",9),m(1,wt,1,1,null,13),h()),i&2){let e=F();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),f(e._forceDisplayInfixLabel()?-1:1)}}function St(i,l){i&1&&(u(0,"div",10,2),g(2,2),h())}function Et(i,l){i&1&&(u(0,"div",11,3),g(2,3),h())}function Rt(i,l){}function Tt(i,l){if(i&1&&Q(0,Rt,0,0,"ng-template",13),i&2){F();let e=ee(1);T("ngTemplateOutlet",e)}}function Lt(i,l){i&1&&(u(0,"div",14,4),g(2,4),h())}function Dt(i,l){i&1&&(u(0,"div",15,5),g(2,5),h())}function zt(i,l){i&1&&P(0,"div",16)}function At(i,l){i&1&&(u(0,"div",18),g(1,6),h())}function It(i,l){if(i&1&&(u(0,"mat-hint",22),Ee(1),h()),i&2){let e=F(2);T("id",e._hintLabelId),d(),Re(e.hintLabel)}}function kt(i,l){if(i&1&&(u(0,"div",19),m(1,It,2,2,"mat-hint",22),g(2,7),P(3,"div",23),g(4,8),h()),i&2){let e=F();d(),f(e.hintLabel?1:-1)}}var re=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-label"]]})}return i})(),Je=new b("MatError"),Ot=(()=>{class i{id=r(D).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){t&2&&N("id",n.id)},inputs:{id:"id"},features:[w([{provide:Je,useExisting:i}])]})}return i})(),ae=(()=>{class i{align="start";id=r(D).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){t&2&&(N("id",n.id),O("align",null),y("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),et=new b("MatPrefix"),Pt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[w([{provide:et,useExisting:i}])]})}return i})(),tt=new b("MatSuffix"),Nt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[w([{provide:tt,useExisting:i}])]})}return i})(),it=new b("FloatingLabelParent"),Ze=(()=>{class i{_elementRef=r(C);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=r(Ve);_ngZone=r(x);_parent=r(it);_resizeSubscription=new ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Ht(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Ht(i){let l=i;if(l.offsetParent!==null)return l.scrollWidth;let e=l.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Ge="mdc-line-ripple--active",G="mdc-line-ripple--deactivating",$e=(()=>{class i{_elementRef=r(C);_cleanupTransitionEnd;constructor(){let e=r(x),t=r(I);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(G),e.add(Ge)}deactivate(){this._elementRef.nativeElement.classList.add(G)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,n=t.contains(G);e.propertyName==="opacity"&&n&&t.remove(Ge,G)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),Ye=(()=>{class i{_elementRef=r(C);_ngZone=r(x);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&K(ut,5),t&2){let o;s(o=c())&&(n._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ht,ngContentSelectors:pt,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,n){t&1&&(X(),Y(0,"div",1),Ce(1,"div",2,0),g(3),Fe(),Y(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),le=(()=>{class i{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i})}return i})();var de=new b("MatFormField"),Bt=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xe="fill",qt="auto",Ke="fixed",Vt="translateY(-50%)",nt=(()=>{class i{_elementRef=r(C);_changeDetectorRef=r(De);_platform=r(L);_idGenerator=r(D);_ngZone=r(x);_defaults=r(Bt,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=B("iconPrefixContainer");_textPrefixContainerSignal=B("textPrefixContainer");_iconSuffixContainerSignal=B("iconSuffixContainer");_textSuffixContainerSignal=B("textSuffixContainer");_prefixSuffixContainers=U(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Le(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=z(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qt}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||Xe;this._appearanceSignal.set(t)}_appearanceSignal=xe(Xe);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ke}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ke}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new v;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Pe();constructor(){let e=this._defaults,t=r(ke);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),W(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=U(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,n="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(n+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(n+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(be([void 0,void 0]),ue(()=>[t.errorState,t.userAriaDescribedBy]),pe(),V(([[o,a],[p,A]])=>o!==p||a!==A)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(j(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),he(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){ze({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=U(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(p=>p.align==="start"):null,a=this._hintChildren?this._hintChildren.find(p=>p.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let t=this._control.describedByIds,n;if(t){let o=this._describedByIds||e;n=e.concat(t.filter(a=>a&&!o.includes(a)))}else n=e;this._control.setDescribedByIds(n),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,p=t?.getBoundingClientRect().width??0,A=n?.getBoundingClientRect().width??0,M=o?.getBoundingClientRect().width??0,dt=this._currentDirection==="rtl"?"-1":"1",st=`${a+p}px`,ct=`calc(${dt} * (${st} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,mt=`var(--mat-mdc-form-field-label-transform, ${Vt} translateX(${ct}))`,ft=a+p+A+M;return[mt,ft]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,n]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),n!==null&&this._notchedOutline?._setMaxWidth(n)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,n,o){if(t&1&&(Me(o,n._labelChild,re,5),we(o,le,5)(o,et,5)(o,tt,5)(o,Je,5)(o,ae,5)),t&2){J();let a;s(a=c())&&(n._formFieldControl=a.first),s(a=c())&&(n._prefixChildren=a),s(a=c())&&(n._suffixChildren=a),s(a=c())&&(n._errorChildren=a),s(a=c())&&(n._hintChildren=a)}},viewQuery:function(t,n){if(t&1&&(Se(n._iconPrefixContainerSignal,je,5)(n._textPrefixContainerSignal,We,5)(n._iconSuffixContainerSignal,Qe,5)(n._textSuffixContainerSignal,Ue,5),K(_t,5)(je,5)(We,5)(Qe,5)(Ue,5)(Ze,5)(Ye,5)($e,5)),t&2){J(4);let o;s(o=c())&&(n._textField=o.first),s(o=c())&&(n._iconPrefixContainer=o.first),s(o=c())&&(n._textPrefixContainer=o.first),s(o=c())&&(n._iconSuffixContainer=o.first),s(o=c())&&(n._textSuffixContainer=o.first),s(o=c())&&(n._floatingLabel=o.first),s(o=c())&&(n._notchedOutline=o.first),s(o=c())&&(n._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,n){t&2&&y("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[w([{provide:de,useExisting:i},{provide:it,useExisting:i}])],ngContentSelectors:xt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,n){if(t&1&&(X(bt),Q(0,yt,1,1,"ng-template",null,0,Te),u(2,"div",6,1),H("click",function(a){return n._control.onContainerClick(a)}),m(4,Ct,1,0,"div",7),u(5,"div",8),m(6,Mt,2,2,"div",9),m(7,St,3,0,"div",10),m(8,Et,3,0,"div",11),u(9,"div",12),m(10,Tt,1,1,null,13),g(11),h(),m(12,Lt,3,0,"div",14),m(13,Dt,3,0,"div",15),h(),m(14,zt,1,0,"div",16),h(),u(15,"div",17),m(16,At,2,0,"div",18)(17,kt,5,1,"div",19),h()),t&2){let o;d(2),y("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),d(2),f(!n._hasOutline()&&!n._control.disabled?4:-1),d(2),f(n._hasOutline()?6:-1),d(),f(n._hasIconPrefix?7:-1),d(),f(n._hasTextPrefix?8:-1),d(2),f(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),d(2),f(n._hasTextSuffix?12:-1),d(),f(n._hasIconSuffix?13:-1),d(),f(n._hasOutline()?-1:14),d(),y("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic");let a=n._getSubscriptMessageType();d(),f((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[Ze,Ye,Ae,$e,ae],styles:[`.mdc-text-field {
1
+ import{$b as De,Aa as Q,Ab as w,Bc as ie,Bd as Pe,Ca as ye,Cc as ke,F as pe,G as _e,Gc as Z,Ha as O,I as be,Ia as m,Ja as f,K as j,Lb as Te,O as S,Oa as T,Ob as U,P as E,Pa as u,Q as b,Qa as h,Qc as D,Ra as P,S as r,Sa as Ce,Ta as Fe,Td as ne,Ua as Y,Vb as B,Xb as Le,Za as N,_a as H,a as ce,aa as x,ab as F,b as me,ba as xe,bb as X,bc as te,c as v,ca as W,cb as g,da as ge,db as we,dc as ze,eb as K,fb as s,fc as Ae,ga as C,gb as c,h as fe,hb as Me,he as Ne,ib as Se,jb as J,je as He,kb as ee,le as Be,m as ue,mb as y,na as d,pb as Ee,pd as Oe,qa as ve,qb as Re,qe,ra as I,rc as L,t as he,u as V,va as k,wa as R,xa as _,yd as z,zc as Ie}from"./chunk-XHH2BWBG.js";var oe=class{_box;_destroyed=new v;_resizeSubject=new v;_resizeObserver;_elementObservables=new Map;constructor(l){this._box=l,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new me(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),t.unsubscribe(),this._elementObservables.delete(l)}}).pipe(V(e=>e.some(t=>t.target===l)),_e({bufferSize:1,refCount:!0}),j(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ve=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=r(x);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let n=t?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new oe(n)),this._observers.get(n).observe(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ut=["notch"],ht=["matFormFieldNotchedOutline",""],pt=["*"],je=["iconPrefixContainer"],We=["textPrefixContainer"],Qe=["iconSuffixContainer"],Ue=["textSuffixContainer"],_t=["textField"],bt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gt(i,l){i&1&&P(0,"span",21)}function vt(i,l){if(i&1&&(u(0,"label",20),g(1,1),m(2,gt,1,0,"span",21),h()),i&2){let e=F(2);T("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),O("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),f(!e.hideRequiredMarker&&e._control.required?2:-1)}}function yt(i,l){if(i&1&&m(0,vt,3,5,"label",20),i&2){let e=F();f(e._hasFloatingLabel()?0:-1)}}function Ct(i,l){i&1&&P(0,"div",7)}function Ft(i,l){}function wt(i,l){if(i&1&&Q(0,Ft,0,0,"ng-template",13),i&2){F(2);let e=ee(1);T("ngTemplateOutlet",e)}}function Mt(i,l){if(i&1&&(u(0,"div",9),m(1,wt,1,1,null,13),h()),i&2){let e=F();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),f(e._forceDisplayInfixLabel()?-1:1)}}function St(i,l){i&1&&(u(0,"div",10,2),g(2,2),h())}function Et(i,l){i&1&&(u(0,"div",11,3),g(2,3),h())}function Rt(i,l){}function Tt(i,l){if(i&1&&Q(0,Rt,0,0,"ng-template",13),i&2){F();let e=ee(1);T("ngTemplateOutlet",e)}}function Lt(i,l){i&1&&(u(0,"div",14,4),g(2,4),h())}function Dt(i,l){i&1&&(u(0,"div",15,5),g(2,5),h())}function zt(i,l){i&1&&P(0,"div",16)}function At(i,l){i&1&&(u(0,"div",18),g(1,6),h())}function It(i,l){if(i&1&&(u(0,"mat-hint",22),Ee(1),h()),i&2){let e=F(2);T("id",e._hintLabelId),d(),Re(e.hintLabel)}}function kt(i,l){if(i&1&&(u(0,"div",19),m(1,It,2,2,"mat-hint",22),g(2,7),P(3,"div",23),g(4,8),h()),i&2){let e=F();d(),f(e.hintLabel?1:-1)}}var re=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-label"]]})}return i})(),Je=new b("MatError"),Ot=(()=>{class i{id=r(D).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){t&2&&N("id",n.id)},inputs:{id:"id"},features:[w([{provide:Je,useExisting:i}])]})}return i})(),ae=(()=>{class i{align="start";id=r(D).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){t&2&&(N("id",n.id),O("align",null),y("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),et=new b("MatPrefix"),Pt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[w([{provide:et,useExisting:i}])]})}return i})(),tt=new b("MatSuffix"),Nt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[w([{provide:tt,useExisting:i}])]})}return i})(),it=new b("FloatingLabelParent"),Ze=(()=>{class i{_elementRef=r(C);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=r(Ve);_ngZone=r(x);_parent=r(it);_resizeSubscription=new ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Ht(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Ht(i){let l=i;if(l.offsetParent!==null)return l.scrollWidth;let e=l.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Ge="mdc-line-ripple--active",G="mdc-line-ripple--deactivating",$e=(()=>{class i{_elementRef=r(C);_cleanupTransitionEnd;constructor(){let e=r(x),t=r(I);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(G),e.add(Ge)}deactivate(){this._elementRef.nativeElement.classList.add(G)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,n=t.contains(G);e.propertyName==="opacity"&&n&&t.remove(Ge,G)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),Ye=(()=>{class i{_elementRef=r(C);_ngZone=r(x);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&K(ut,5),t&2){let o;s(o=c())&&(n._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ht,ngContentSelectors:pt,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,n){t&1&&(X(),Y(0,"div",1),Ce(1,"div",2,0),g(3),Fe(),Y(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),le=(()=>{class i{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i})}return i})();var de=new b("MatFormField"),Bt=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xe="fill",qt="auto",Ke="fixed",Vt="translateY(-50%)",nt=(()=>{class i{_elementRef=r(C);_changeDetectorRef=r(De);_platform=r(L);_idGenerator=r(D);_ngZone=r(x);_defaults=r(Bt,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=B("iconPrefixContainer");_textPrefixContainerSignal=B("textPrefixContainer");_iconSuffixContainerSignal=B("iconSuffixContainer");_textSuffixContainerSignal=B("textSuffixContainer");_prefixSuffixContainers=U(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Le(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=z(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qt}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||Xe;this._appearanceSignal.set(t)}_appearanceSignal=xe(Xe);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ke}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ke}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new v;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Pe();constructor(){let e=this._defaults,t=r(ke);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),W(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=U(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,n="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(n+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(n+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(be([void 0,void 0]),ue(()=>[t.errorState,t.userAriaDescribedBy]),pe(),V(([[o,a],[p,A]])=>o!==p||a!==A)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(j(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),he(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){ze({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=U(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(p=>p.align==="start"):null,a=this._hintChildren?this._hintChildren.find(p=>p.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let t=this._control.describedByIds,n;if(t){let o=this._describedByIds||e;n=e.concat(t.filter(a=>a&&!o.includes(a)))}else n=e;this._control.setDescribedByIds(n),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,p=t?.getBoundingClientRect().width??0,A=n?.getBoundingClientRect().width??0,M=o?.getBoundingClientRect().width??0,dt=this._currentDirection==="rtl"?"-1":"1",st=`${a+p}px`,ct=`calc(${dt} * (${st} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,mt=`var(--mat-mdc-form-field-label-transform, ${Vt} translateX(${ct}))`,ft=a+p+A+M;return[mt,ft]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,n]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),n!==null&&this._notchedOutline?._setMaxWidth(n)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,n,o){if(t&1&&(Me(o,n._labelChild,re,5),we(o,le,5)(o,et,5)(o,tt,5)(o,Je,5)(o,ae,5)),t&2){J();let a;s(a=c())&&(n._formFieldControl=a.first),s(a=c())&&(n._prefixChildren=a),s(a=c())&&(n._suffixChildren=a),s(a=c())&&(n._errorChildren=a),s(a=c())&&(n._hintChildren=a)}},viewQuery:function(t,n){if(t&1&&(Se(n._iconPrefixContainerSignal,je,5)(n._textPrefixContainerSignal,We,5)(n._iconSuffixContainerSignal,Qe,5)(n._textSuffixContainerSignal,Ue,5),K(_t,5)(je,5)(We,5)(Qe,5)(Ue,5)(Ze,5)(Ye,5)($e,5)),t&2){J(4);let o;s(o=c())&&(n._textField=o.first),s(o=c())&&(n._iconPrefixContainer=o.first),s(o=c())&&(n._textPrefixContainer=o.first),s(o=c())&&(n._iconSuffixContainer=o.first),s(o=c())&&(n._textSuffixContainer=o.first),s(o=c())&&(n._floatingLabel=o.first),s(o=c())&&(n._notchedOutline=o.first),s(o=c())&&(n._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,n){t&2&&y("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[w([{provide:de,useExisting:i},{provide:it,useExisting:i}])],ngContentSelectors:xt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,n){if(t&1&&(X(bt),Q(0,yt,1,1,"ng-template",null,0,Te),u(2,"div",6,1),H("click",function(a){return n._control.onContainerClick(a)}),m(4,Ct,1,0,"div",7),u(5,"div",8),m(6,Mt,2,2,"div",9),m(7,St,3,0,"div",10),m(8,Et,3,0,"div",11),u(9,"div",12),m(10,Tt,1,1,null,13),g(11),h(),m(12,Lt,3,0,"div",14),m(13,Dt,3,0,"div",15),h(),m(14,zt,1,0,"div",16),h(),u(15,"div",17),m(16,At,2,0,"div",18)(17,kt,5,1,"div",19),h()),t&2){let o;d(2),y("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),d(2),f(!n._hasOutline()&&!n._control.disabled?4:-1),d(2),f(n._hasOutline()?6:-1),d(),f(n._hasIconPrefix?7:-1),d(),f(n._hasTextPrefix?8:-1),d(2),f(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),d(2),f(n._hasTextSuffix?12:-1),d(),f(n._hasIconSuffix?13:-1),d(),f(n._hasOutline()?-1:14),d(),y("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic");let a=n._getSubscriptMessageType();d(),f((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[Ze,Ye,Ae,$e,ae],styles:[`.mdc-text-field {
2
2
  display: inline-flex;
3
3
  align-items: baseline;
4
4
  padding: 0 16px;