dealposbarcode 1.7.5 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import{G as sn,H as Me,I as Ie,K as ln,S as cn,V as dn,W as mn,X as pn,_ as un,c as nn,ga as hn,j as an,l as on,m as we,o as Ce,w as li,x as rn}from"./chunk-2LPJCMSD.js";import{$a as he,$b as ge,Aa as C,Ac as Kt,Ad as ii,Bb as bt,Bc as qt,Bd as ni,C as A,Ca as m,Cd as ai,D as Hi,Da as F,Db as Gi,E as pt,Ea as Qe,Ed as wt,Fa as Ke,Fd as Ct,Gb as be,Ha as P,Hd as oi,I as U,Ia as h,Ib as Xe,Ic as ti,Id as ri,J as Vi,Ja as E,Jb as xt,Jd as si,Kb as st,M as $t,Mb as it,N as $e,O as ce,Pb as S,Ra as Pt,Sa as tt,Sb as B,Sc as q,Ta as et,Tb as w,U as de,Ua as _t,Uc as nt,Va as qe,Vb as L,Vc as Xi,Wa as Rt,Wb as Qt,Wc as ei,Xb as Je,Yc as Ji,Z as Ui,Za as I,Zb as N,_ as Wi,_a as $,a as v,aa as me,ac as ve,b as X,bb as M,bc as _e,ca as at,cb as ft,cc as c,cd as W,d as Ia,dc as p,e as Ea,ec as T,fa as $i,gb as Ge,ha as Yi,hb as fe,hc as yt,ib as Ki,ic as lt,jc as Nt,jd as tn,l as Ft,lc as O,mc as y,n as We,na as Qi,nc as Q,nd as ye,oa as Ye,oc as Y,pa as pe,q as V,qa as ut,qc as K,r as le,ra as Yt,rc as ot,sa as J,sb as Lt,sc as j,sd as rt,ta as ht,tc as z,ub as Ze,uc as xe,ud as en,vb as qi,vc as g,wa as ue,wc as k,xa as x,xc as Zi,ya as u,yb as d,yc as ct,zb as l,zc as H}from"./chunk-UZEILQYY.js";var Pn=Ia((Ss,Fn)=>{var Fa=4,Pa=.001,Ra=1e-7,La=10,te=11,Oe=1/(te-1),Na=typeof Float32Array=="function";function Dn(i,a){return 1-3*a+3*i}function Tn(i,a){return 3*a-6*i}function On(i){return 3*i}function Ae(i,a,t){return((Dn(a,t)*i+Tn(a,t))*i+On(a))*i}function An(i,a,t){return 3*Dn(a,t)*i*i+2*Tn(a,t)*i+On(a)}function ja(i,a,t,e,n){var o,r,s=0;do r=a+(t-a)/2,o=Ae(r,e,n)-i,o>0?t=r:a=r;while(Math.abs(o)>Ra&&++s<La);return r}function za(i,a,t,e){for(var n=0;n<Fa;++n){var o=An(a,t,e);if(o===0)return a;var r=Ae(a,t,e)-i;a-=r/o}return a}function Ba(i){return i}Fn.exports=function(a,t,e,n){if(!(0<=a&&a<=1&&0<=e&&e<=1))throw new Error("bezier x values must be in [0, 1] range");if(a===t&&e===n)return Ba;for(var o=Na?new Float32Array(te):new Array(te),r=0;r<te;++r)o[r]=Ae(r*Oe,a,e);function s(f){for(var b=0,_=1,Tt=te-1;_!==Tt&&o[_]<=f;++_)b+=Oe;--_;var Wt=(f-o[_])/(o[_+1]-o[_]),Ot=b+Wt*Oe,At=An(Ot,a,e);return At>=Pa?za(f,Ot,a,e):At===0?Ot:ja(f,b,b+Oe,a,e)}return function(b){return b===0?0:b===1?1:Ae(s(b),t,n)}}});var Ee=class{constructor(a){this.icons=a}};var fn=(()=>{class i{constructor(t){if(this.icons=t,!this.icons)throw new Error(`No icon provided. Make sure to use 'FeatherModule.pick({ ... })' when importing the module
2
- Refer to documentation on https://github.com/michaelbazos/angular-feather`)}static pick(t){return{ngModule:i,providers:[{provide:Ee,multi:!0,useValue:t}]}}}return i.\u0275fac=function(t){return new(t||i)(m(Ee,8))},i.\u0275mod=h({type:i}),i.\u0275inj=u({}),i})();var jt=class{},bn=(()=>{class i extends jt{getTranslation(t){return A({})}}return i.\u0275fac=(()=>{let a;return function(e){return(a||(a=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),Gt=class{},gn=(()=>{class i{handle(t){return t.key}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})();function Mt(i){return typeof i<"u"&&i!==null}function ci(i){return i&&typeof i=="object"&&!Array.isArray(i)}function yn(i,a){let t=Object.assign({},i);return ci(i)&&ci(a)&&Object.keys(a).forEach(e=>{ci(a[e])?e in i?t[e]=yn(i[e],a[e]):Object.assign(t,{[e]:a[e]}):Object.assign(t,{[e]:a[e]})}),t}var zt=class{},vn=(()=>{class i extends zt{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return typeof t=="string"?n=this.interpolateString(t,e):typeof t=="function"?n=this.interpolateFunction(t,e):n=t,n}getValue(t,e){let n=typeof e=="string"?e.split("."):[e];e="";do e+=n.shift(),Mt(t)&&Mt(t[e])&&(typeof t[e]=="object"||!n.length)?(t=t[e],e=""):n.length?e+=".":t=void 0;while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(n,o)=>{let r=this.getValue(e,o);return Mt(r)?r:n}):t}}return i.\u0275fac=(()=>{let a;return function(e){return(a||(a=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),Bt=class{},_n=(()=>{class i extends Bt{compile(t,e){return t}compileTranslations(t,e){return t}}return i.\u0275fac=(()=>{let a;return function(e){return(a||(a=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),Se=class{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new I,this.onLangChange=new I,this.onDefaultLangChange=new I}},di=new C("USE_STORE"),mi=new C("USE_DEFAULT_LANG"),pi=new C("DEFAULT_LANGUAGE"),ui=new C("USE_EXTEND"),xn=(()=>{class i{constructor(t,e,n,o,r,s=!0,f=!1,b=!1,_){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=o,this.missingTranslationHandler=r,this.useDefaultLang=s,this.isolate=f,this.extend=b,this.pending=!1,this._onTranslationChange=new I,this._onLangChange=new I,this._onDefaultLangChange=new I,this._langs=[],this._translations={},this._translationRequests={},_&&this.setDefaultLang(_)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);typeof e<"u"?(this.defaultLang==null&&(this.defaultLang=t),e.pipe(at(1)).subscribe(n=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return A(this.translations[t]);let e=this.retrieveTranslations(t);return typeof e<"u"?(this.currentLang||(this.currentLang=t),e.pipe(at(1)).subscribe(n=>{this.changeLang(t)}),e):(this.changeLang(t),A(this.translations[t]))}retrieveTranslations(t){let e;return(typeof this.translations[t]>"u"||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;let e=this.currentLoader.getTranslation(t).pipe(Ye(1),at(1));return this.loadingTranslations=e.pipe(U(n=>this.compiler.compileTranslations(n,t)),Ye(1),at(1)),this.loadingTranslations.subscribe({next:n=>{this.translations[t]=this.extend&&this.translations[t]?v(v({},n),this.translations[t]):n,this.updateLangs(),this.pending=!1},error:n=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),(n||this.extend)&&this.translations[t]?this.translations[t]=yn(this.translations[t],e):this.translations[t]=e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(e=>{this.langs.indexOf(e)===-1&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let o;if(e instanceof Array){let r={},s=!1;for(let f of e)r[f]=this.getParsedResult(t,f,n),pt(r[f])&&(s=!0);if(s){let f=e.map(b=>pt(r[b])?r[b]:A(r[b]));return ce(f).pipe(U(b=>{let _={};return b.forEach((Tt,Wt)=>{_[e[Wt]]=Tt}),_}))}return r}if(t&&(o=this.parser.interpolate(this.parser.getValue(t,e),n)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),typeof o>"u"){let r={key:e,translateService:this};typeof n<"u"&&(r.interpolateParams=n),o=this.missingTranslationHandler.handle(r)}return typeof o<"u"?o:e}get(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Wi(n=>(n=this.getParsedResult(n,t,e),pt(n)?n:A(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return pt(n)?n:A(n)}}getStreamOnTranslationChange(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');return $t($e(()=>this.get(t,e)),this.onTranslationChange.pipe(Yt(n=>{let o=this.getParsedResult(n.translations,t,e);return typeof o.subscribe=="function"?o:A(o)})))}stream(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');return $t($e(()=>this.get(t,e)),this.onLangChange.pipe(Yt(n=>{let o=this.getParsedResult(n.translations,t,e);return pt(o)?o:A(o)})))}instant(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(pt(n)){if(t instanceof Array){let o={};return t.forEach((r,s)=>{o[t[s]]=t[s]}),o}return t}else return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang==null&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;if(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof t>"u"))return t.indexOf("-")!==-1&&(t=t.split("-")[0]),t.indexOf("_")!==-1&&(t=t.split("_")[0]),t}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return i.\u0275fac=function(t){return new(t||i)(m(Se),m(jt),m(Bt),m(zt),m(Gt),m(mi),m(di),m(ui),m(pi))},i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})();var wn=(()=>{class i{static forRoot(t={}){return{ngModule:i,providers:[t.loader||{provide:jt,useClass:bn},t.compiler||{provide:Bt,useClass:_n},t.parser||{provide:zt,useClass:vn},t.missingTranslationHandler||{provide:Gt,useClass:gn},Se,{provide:di,useValue:t.isolate},{provide:mi,useValue:t.useDefaultLang},{provide:ui,useValue:t.extend},{provide:pi,useValue:t.defaultLanguage},xn]}}static forChild(t={}){return{ngModule:i,providers:[t.loader||{provide:jt,useClass:bn},t.compiler||{provide:Bt,useClass:_n},t.parser||{provide:zt,useClass:vn},t.missingTranslationHandler||{provide:Gt,useClass:gn},{provide:di,useValue:t.isolate},{provide:mi,useValue:t.useDefaultLang},{provide:ui,useValue:t.extend},{provide:pi,useValue:t.defaultLanguage},xn]}}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=h({type:i}),i.\u0275inj=u({}),i})();var Sa=new C("cdk-dir-doc",{providedIn:"root",factory:ka});function ka(){return F(W)}var Da=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Ta(i){let a=i?.toLowerCase()||"";return a==="auto"&&typeof navigator<"u"&&navigator?.language?Da.test(navigator.language)?"rtl":"ltr":a==="rtl"?"rtl":"ltr"}var ke=(()=>{class i{constructor(t){if(this.value="ltr",this.change=new I,t){let e=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null;this.value=Ta(e||n||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(e){return new(e||i)(m(Sa,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var It=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({})}}return i})();var Zt=class{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(a){this._attachedHost=a}},hi=class extends Zt{constructor(a,t,e,n,o){super(),this.component=a,this.viewContainerRef=t,this.injector=e,this.componentFactoryResolver=n,this.projectableNodes=o}},Xt=class extends Zt{constructor(a,t,e,n){super(),this.templateRef=a,this.viewContainerRef=t,this.context=e,this.injector=n}get origin(){return this.templateRef.elementRef}attach(a,t=this.context){return this.context=t,super.attach(a)}detach(){return this.context=void 0,super.detach()}},fi=class extends Zt{constructor(a){super(),this.element=a instanceof M?a.nativeElement:a}},De=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){if(a instanceof hi)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Xt)return this._attachedPortal=a,this.attachTemplatePortal(a);if(this.attachDomPortal&&a instanceof fi)return this._attachedPortal=a,this.attachDomPortal(a)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Mn=class extends De{constructor(a,t,e,n,o){super(),this.outletElement=a,this._componentFactoryResolver=t,this._appRef=e,this._defaultInjector=n,this.attachDomPortal=r=>{this._document;let s=r.element;s.parentNode;let f=this._document.createComment("dom-portal");s.parentNode.insertBefore(f,s),this.outletElement.appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(s,f)})},this._document=o}attachComponentPortal(a){let e=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component),n;return a.viewContainerRef?(n=a.viewContainerRef.createComponent(e,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=e.create(a.injector||this._defaultInjector||Rt.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=a,n}attachTemplatePortal(a){let t=a.viewContainerRef,e=t.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return e.rootNodes.forEach(n=>this.outletElement.appendChild(n)),e.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(e);n!==-1&&t.remove(n)}),this._attachedPortal=a,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}};var In=(()=>{class i extends De{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new I,this.attachDomPortal=o=>{this._document;let r=o.element;r.parentNode;let s=this._document.createComment("dom-portal");o.setAttachedHost(this),r.parentNode.insertBefore(s,r),this._getRootNode().appendChild(r),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(r,s)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(o,e.length,t.injector||e.injector,t.projectableNodes||void 0);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(e){return new(e||i)(l(Gi),l(be),l(W))}}static{this.\u0275dir=E({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[st]})}}return i})();var Te=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({})}}return i})();var gi;try{gi=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gi=!1}var G=(()=>{class i{constructor(t){this._platformId=t,this.isBrowser=this._platformId?en(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||gi)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(e){return new(e||i)(m(Ge))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),En=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({})}}return i})();var Jt;function Oa(){if(Jt==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Jt=!0}))}finally{Jt=Jt||!1}return Jt}function Ht(i){return Oa()?i:!!i.capture}var Et;function Cs(){if(Et==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Et=!1,Et;if("scrollBehavior"in document.documentElement.style)Et=!0;else{let i=Element.prototype.scrollTo;i?Et=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Et=!1}}return Et}var bi;function Aa(){if(bi==null){let i=typeof document<"u"?document.head:null;bi=!!(i&&(i.createShadowRoot||i.attachShadow))}return bi}function Sn(i){if(Aa()){let a=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function vi(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let a=i.shadowRoot.activeElement;if(a===i)break;i=a}return i}function gt(i){return i.composedPath?i.composedPath()[0]:i.target}function kn(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function xi(i){return Array.isArray(i)?i:[i]}function Is(i){return i==null?"":typeof i=="string"?i:`${i}px`}function St(i){return i instanceof M?i.nativeElement:i}var Ha=Ea(Pn(),1);var Ps=new C("SMOOTH_SCROLL_OPTIONS");var Rn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=h({type:i}),i.\u0275inj=u({}),i})();var Va=new C("NG_SCROLLBAR_OPTIONS");var Ln=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:Va,useValue:t}]}}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=h({type:i}),i.\u0275inj=u({imports:[rt,It,Te,En,Rn]}),i})();var Nn={equal:Ua};function jn(i,a=Nn){let t=Object.keys(i),e=t.reduce((n,o)=>X(v({},n),{[o]:xt(i[o],a)}),{});return{select(n,o=Nn){return ei(()=>n(e),o)},update(n,o){let r=e[n];typeof o=="function"?r.update(o):r.set(o)},reset(){t.forEach(n=>{e[n].set(i[n])})}}}function Ua(i,a){return i===a}var ee=(()=>{class i{constructor(){this.INITIAL_STATE={stepper:{state:0,min:0,max:2},productItems:[],productItemsSelected:{},paperConfig:{},sidebarExpanded:!0,paperConfiguration:{},taxs:[],options:{theme:"light",dir:"ltr",layout:"vertical",sidebartype:"full",sidebarpos:"fixed",headerpos:"fixed",boxed:"full",navbarbg:"skin6",sidebarbg:"skin6",logobg:"skin6",active:1,tabStatus:"justify",isCollapsed:!1,innerWidth:window.innerWidth,defaultSidebar:"full",showSettings:!1,showMobileMenu:!1,expandLogo:!1},stepperRef:void 0,outlet:{},paperSource:""},this.#t=jn(this.INITIAL_STATE),this.stepper$=this.#t.select(t=>t.stepper()),this.productItems=this.#t.select(t=>t.productItems()),this.paperConfig=this.#t.select(t=>t.paperConfig()),this.sidebarExpanded=this.#t.select(t=>t.sidebarExpanded()),this.paperConfiguration=this.#t.select(t=>t.paperConfiguration()),this.taxs=this.#t.select(t=>t.taxs()),this.options=this.#t.select(t=>t.options()),this.expandProductItems=this.#t.select(t=>t.productItems().flatMap(e=>new Array(e.Quantity).fill(v(v({},e),e.Print?.[0]||null)))),this.expandProductItem=this.#t.select(t=>{if(t.productItems().length){let[e]=t.productItems();return[v(v({},e),e.Print?.[0]||null)]}return[]}),this.productItemsSelected$=this.#t.select(t=>t.productItemsSelected()),this.stepperRef=this.#t.select(t=>t.stepperRef()),this.outlet$=this.#t.select(t=>{let e=t.paperConfig().Outlets.findIndex(n=>n.ID===t.paperConfiguration().OutletID);return e!==-1?t.paperConfig().Outlets[e]:null}),this.paperSource=this.#t.select(t=>t.paperSource())}#t;onNextStep(){let t=this.stepper$().state+1;this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onPrevStep(){let t=this.stepper$().state-1;this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onGotoStepper(t){this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onChangeProductItems(t){this.#t.update("productItems",t)}onChangePaperConfig(t){this.#t.update("paperConfig",t)}onChangePaperConfiguration(t){this.#t.update("paperConfiguration",t)}onChangeTaxs(t){this.#t.update("taxs",t)}onChangeOptions(t){this.#t.update("options",v(v({},this.options()),t))}onChangeProductItemsSelected(t){this.#t.update("productItemsSelected",t)}onChangeStepperRef(t){this.#t.update("stepperRef",t)}onChangePaperSource(t){this.#t.update("paperSource",t)}onReset(){this.#t.reset()}onToggleSidebarType(){switch(this.options().sidebartype){case"full":case"iconbar":this.onChangeOptions({sidebartype:"mini-sidebar"});break;case"overlay":this.onChangeOptions({showMobileMenu:!this.options().showMobileMenu});break;case"mini-sidebar":this.options().defaultSidebar==="mini-sidebar"?this.onChangeOptions({sidebartype:"full"}):this.onChangeOptions({sidebartype:this.options().defaultSidebar});break;default:}}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var zn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({})}}return i})();function Vt(i,...a){return a.length?a.some(t=>i[t]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var $a=(()=>{class i{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Bn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({providers:[$a]})}}return i})();var Hn=new Set,kt,Ya=(()=>{class i{constructor(t,e){this._platform=t,this._nonce=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ka}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Qa(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(e){return new(e||i)(m(G),m(Ki,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Qa(i,a){if(!Hn.has(i))try{kt||(kt=document.createElement("style"),a&&kt.setAttribute("nonce",a),kt.setAttribute("type","text/css"),document.head.appendChild(kt)),kt.sheet&&(kt.sheet.insertRule(`@media ${i} {body{ }}`,0),Hn.add(i))}catch(t){console.error(t)}}function Ka(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Un=(()=>{class i{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new V}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Vn(xi(t)).some(n=>this._registerQuery(n).mql.matches)}observe(t){let n=Vn(xi(t)).map(r=>this._registerQuery(r).observable),o=Vi(n);return o=$t(o.pipe(at(1)),o.pipe(pe(1),me(0))),o.pipe(U(r=>{let s={matches:!1,breakpoints:{}};return r.forEach(({matches:f,query:b})=>{s.matches=s.matches||f,s.breakpoints[b]=f}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let e=this._mediaMatcher.matchMedia(t),o={observable:new We(r=>{let s=f=>this._zone.run(()=>r.next(f));return e.addListener(s),()=>{e.removeListener(s)}}).pipe(ut(e),U(({matches:r})=>({query:t,matches:r})),J(this._destroySubject)),mql:e};return this._queries.set(t,o),o}static{this.\u0275fac=function(e){return new(e||i)(m(Ya),m($))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Vn(i){return i.map(a=>a.split(",")).reduce((a,t)=>a.concat(t)).map(a=>a.trim())}var Al={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Qn=" ";function Zl(i,a,t){let e=Kn(i,a);t=t.trim(),!e.some(n=>n.trim()===t)&&(e.push(t),i.setAttribute(a,e.join(Qn)))}function Xl(i,a,t){let e=Kn(i,a);t=t.trim();let n=e.filter(o=>o!==t);n.length?i.setAttribute(a,n.join(Qn)):i.removeAttribute(a)}function Kn(i,a){return i.getAttribute(a)?.match(/\S+/g)??[]}var ho=200,wi=class{constructor(a,t){this._letterKeyStream=new V,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new V,this.selectedItem=this._selectedItem;let e=typeof t?.debounceInterval=="number"?t.debounceInterval:ho;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(a),this._setupKeyHandler(e)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(a){this._selectedItemIndex=a}setItems(a){this._items=a}handleKey(a){let t=a.keyCode;a.key&&a.key.length===1?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(a){this._letterKeyStream.pipe(ht(t=>this._pressedLetters.push(t)),me(a),de(()=>this._pressedLetters.length>0),U(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let e=1;e<this._items.length+1;e++){let n=(this._selectedItemIndex+e)%this._items.length,o=this._items[n];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}},Re=class{constructor(a,t){this._items=a,this._activeItemIndex=-1,this._activeItem=xt(null),this._wrap=!1,this._typeaheadSubscription=Ft.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this.tabOut=new V,this.change=new V,a instanceof ft?this._itemChangesSubscription=a.changes.subscribe(e=>this._itemsChanged(e.toArray())):Xe(a)&&(this._effectRef=Ji(()=>this._itemsChanged(a()),{injector:t}))}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new wi(t,{debounceInterval:typeof a=="number"?a:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.setActiveItem(e)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(a=!0){return this._homeAndEnd=a,this}withPageUpDown(a=!0,t=10){return this._pageUpAndDown={enabled:a,delta:t},this}setActiveItem(a){let t=this._activeItem();this.updateActiveItem(a),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(a){let t=a.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!a[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(o<r?o:r-1,-1);break}else return;default:(n||Vt(a,"shiftKey"))&&this._typeahead?.handleKey(a);return}this._typeahead?.reset(),a.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(a){let t=this._getItemsArray(),e=typeof a=="number"?a:t.indexOf(a),n=t[e];this._activeItem.set(n??null),this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){let t=this._getItemsArray();for(let e=1;e<=t.length;e++){let n=(this._activeItemIndex+a*e+t.length)%t.length,o=t[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,t){let e=this._getItemsArray();if(e[a]){for(;this._skipPredicateFn(e[a]);)if(a+=t,!e[a])return;this.setActiveItem(a)}}_getItemsArray(){return Xe(this._items)?this._items():this._items instanceof ft?this._items.toArray():this._items}_itemsChanged(a){this._typeahead?.setItems(a);let t=this._activeItem();if(t){let e=a.indexOf(t);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Wn=class extends Re{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}},Le=class extends Re{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}};function Ci(i){return i.buttons===0||i.detail===0}function Mi(i){let a=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!a&&a.identifier===-1&&(a.radiusX==null||a.radiusX===1)&&(a.radiusY==null||a.radiusY===1)}var fo=new C("cdk-input-modality-detector-options"),bo={ignoreKeys:[18,17,224,91,16]},qn=650,Ut=Ht({passive:!0,capture:!0}),go=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(t,e,n,o){this._platform=t,this._mostRecentTarget=null,this._modality=new le(null),this._lastTouchMs=0,this._onKeydown=r=>{this._options?.ignoreKeys?.some(s=>s===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=gt(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<qn||(this._modality.next(Ci(r)?"keyboard":"mouse"),this._mostRecentTarget=gt(r))},this._onTouchstart=r=>{if(Mi(r)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gt(r)},this._options=v(v({},bo),o),this.modalityDetected=this._modality.pipe(pe(1)),this.modalityChanged=this.modalityDetected.pipe($i()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Ut),n.addEventListener("mousedown",this._onMousedown,Ut),n.addEventListener("touchstart",this._onTouchstart,Ut)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ut),document.removeEventListener("mousedown",this._onMousedown,Ut),document.removeEventListener("touchstart",this._onTouchstart,Ut))}static{this.\u0275fac=function(e){return new(e||i)(m(G),m($),m(W),m(fo,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Pe=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(Pe||{}),vo=new C("cdk-focus-monitor-default-options"),Fe=Ht({passive:!0,capture:!0}),Gn=(()=>{class i{constructor(t,e,n,o,r){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new V,this._rootNodeFocusAndBlurListener=s=>{let f=gt(s);for(let b=f;b;b=b.parentElement)s.type==="focus"?this._onFocus(s,b):this._onBlur(s,b)},this._document=o,this._detectionMode=r?.detectionMode||Pe.IMMEDIATE}monitor(t,e=!1){let n=St(t);if(!this._platform.isBrowser||n.nodeType!==1)return A();let o=Sn(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;let s={checkChildren:e,subject:new V,rootNode:o};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){let e=St(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){let o=St(t),r=this._getDocument().activeElement;o===r?this._getClosestElementsInfo(o).forEach(([s,f])=>this._originChanged(s,e,f)):(this._setOrigin(e),typeof o.focus=="function"&&o.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Pe.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused",e==="touch"),t.classList.toggle("cdk-keyboard-focused",e==="keyboard"),t.classList.toggle("cdk-mouse-focused",e==="mouse"),t.classList.toggle("cdk-program-focused",e==="program")}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&e,this._detectionMode===Pe.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?qn:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(t,e){let n=this._elementInfo.get(e),o=gt(t);!n||!n.checkChildren&&e!==o||this._originChanged(e,this._getFocusOrigin(o),n)}_onBlur(t,e){let n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n,null))}_emitOrigin(t,e){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Fe),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Fe)}),this._rootNodeFocusListenerCount.set(e,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(J(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){let e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){let n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fe),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fe),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){let e=[];return this._elementInfo.forEach((n,o)=>{(o===t||n.checkChildren&&o.contains(t))&&e.push([o,n])}),e}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:e,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!e||e===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let o=t.labels;if(o){for(let r=0;r<o.length;r++)if(o[r].contains(e))return!0}return!1}static{this.\u0275fac=function(e){return new(e||i)(m($),m(G),m(go),m(W,8),m(vo,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Dt=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Dt||{}),$n="cdk-high-contrast-black-on-white",Yn="cdk-high-contrast-white-on-black",yi="cdk-high-contrast-active",Zn=(()=>{class i{constructor(t,e){this._platform=t,this._document=e,this._breakpointSubscription=F(Un).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Dt.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,o=(n&&n.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Dt.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Dt.BLACK_ON_WHITE}return Dt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(yi,$n,Yn),this._hasCheckedHighContrastMode=!0;let e=this.getHighContrastMode();e===Dt.BLACK_ON_WHITE?t.add(yi,$n):e===Dt.WHITE_ON_BLACK&&t.add(yi,Yn)}}static{this.\u0275fac=function(e){return new(e||i)(m(G),m(W))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var _o=["text"],xo=[[["mat-icon"]],"*"],yo=["mat-icon","*"];function wo(i,a){if(i&1&&T(0,"mat-pseudo-checkbox",1),i&2){let t=y();w("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function Co(i,a){if(i&1&&T(0,"mat-pseudo-checkbox",3),i&2){let t=y();w("disabled",t.disabled)}}function Mo(i,a){if(i&1&&(c(0,"span",4),g(1),p()),i&2){let t=y();d(),Zi("(",t.group.label,")")}}function Io(){return!0}var Eo=new C("mat-sanity-checks",{providedIn:"root",factory:Io}),R=(()=>{class i{constructor(t,e,n){this._sanityChecks=e,this._document=n,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return kn()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}static{this.\u0275fac=function(e){return new(e||i)(m(Zn),m(Eo,8),m(W))}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[It,It]})}}return i})();var ie=(()=>{class i{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Z=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Z||{}),Ii=class{constructor(a,t,e,n=!1){this._renderer=a,this.element=t,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=Z.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Jn=Ht({passive:!0,capture:!0}),Ei=class{constructor(){this._events=new Map,this._delegateEventHandler=a=>{let t=gt(a);t&&this._events.get(a.type)?.forEach((e,n)=>{(n===t||n.contains(t))&&e.forEach(o=>o.handleEvent(a))})}}addHandler(a,t,e,n){let o=this._events.get(t);if(o){let r=o.get(e);r?r.add(n):o.set(e,new Set([n]))}else this._events.set(t,new Map([[e,new Set([n])]])),a.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Jn)})}removeHandler(a,t,e){let n=this._events.get(a);if(!n)return;let o=n.get(t);o&&(o.delete(e),o.size===0&&n.delete(t),n.size===0&&(this._events.delete(a),document.removeEventListener(a,this._delegateEventHandler,Jn)))}},ta={enterDuration:225,exitDuration:150},So=800,ea=Ht({passive:!0,capture:!0}),ia=["mousedown","touchstart"],na=["mouseup","mouseleave","touchend","touchcancel"],Si=class i{static{this._eventManager=new Ei}constructor(a,t,e,n){this._target=a,this._ngZone=t,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=St(e))}fadeInRipple(a,t,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=v(v({},ta),e.animation);e.centered&&(a=n.left+n.width/2,t=n.top+n.height/2);let r=e.radius||ko(a,t,n),s=a-n.left,f=t-n.top,b=o.enterDuration,_=document.createElement("div");_.classList.add("mat-ripple-element"),_.style.left=`${s-r}px`,_.style.top=`${f-r}px`,_.style.height=`${r*2}px`,_.style.width=`${r*2}px`,e.color!=null&&(_.style.backgroundColor=e.color),_.style.transitionDuration=`${b}ms`,this._containerElement.appendChild(_);let Tt=window.getComputedStyle(_),Wt=Tt.transitionProperty,Ot=Tt.transitionDuration,At=Wt==="none"||Ot==="0s"||Ot==="0s, 0s"||n.width===0&&n.height===0,vt=new Ii(this,_,e,At);_.style.transform="scale3d(1, 1, 1)",vt.state=Z.FADING_IN,e.persistent||(this._mostRecentTransientRipple=vt);let se=null;return!At&&(b||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let zi=()=>{se&&(se.fallbackTimer=null),clearTimeout(Bi),this._finishRippleTransition(vt)},Ue=()=>this._destroyRipple(vt),Bi=setTimeout(Ue,b+100);_.addEventListener("transitionend",zi),_.addEventListener("transitioncancel",Ue),se={onTransitionEnd:zi,onTransitionCancel:Ue,fallbackTimer:Bi}}),this._activeRipples.set(vt,se),(At||!b)&&this._finishRippleTransition(vt),vt}fadeOutRipple(a){if(a.state===Z.FADING_OUT||a.state===Z.HIDDEN)return;let t=a.element,e=v(v({},ta),a.config.animation);t.style.transitionDuration=`${e.exitDuration}ms`,t.style.opacity="0",a.state=Z.FADING_OUT,(a._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(a)}fadeOutAll(){this._getActiveRipples().forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){let t=St(a);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,ia.forEach(e=>{i._eventManager.addHandler(this._ngZone,e,t,this)}))}handleEvent(a){a.type==="mousedown"?this._onMousedown(a):a.type==="touchstart"?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{na.forEach(t=>{this._triggerElement.addEventListener(t,this,ea)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(a){a.state===Z.FADING_IN?this._startFadeOutTransition(a):a.state===Z.FADING_OUT&&this._destroyRipple(a)}_startFadeOutTransition(a){let t=a===this._mostRecentTransientRipple,{persistent:e}=a.config;a.state=Z.VISIBLE,!e&&(!t||!this._isPointerDown)&&a.fadeOut()}_destroyRipple(a){let t=this._activeRipples.get(a)??null;this._activeRipples.delete(a),this._activeRipples.size||(this._containerRect=null),a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),a.state=Z.HIDDEN,t!==null&&(a.element.removeEventListener("transitionend",t.onTransitionEnd),a.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),a.element.remove()}_onMousedown(a){let t=Ci(a),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+So;!this._target.rippleDisabled&&!t&&!e&&(this._isPointerDown=!0,this.fadeInRipple(a.clientX,a.clientY,this._target.rippleConfig))}_onTouchStart(a){if(!this._target.rippleDisabled&&!Mi(a)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=a.changedTouches;if(t)for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(a=>{let t=a.state===Z.VISIBLE||a.config.terminateOnPointerUp&&a.state===Z.FADING_IN;!a.config.persistent&&t&&a.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let a=this._triggerElement;a&&(ia.forEach(t=>i._eventManager.removeHandler(t,a,this)),this._pointerUpEventsRegistered&&(na.forEach(t=>a.removeEventListener(t,this,ea)),this._pointerUpEventsRegistered=!1))}};function ko(i,a,t){let e=Math.max(Math.abs(i-t.left),Math.abs(i-t.right)),n=Math.max(Math.abs(a-t.top),Math.abs(a-t.bottom));return Math.sqrt(e*e+n*n)}var Do=new C("mat-ripple-global-options"),Oi=(()=>{class i{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,e,n,o,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Si(this,e,t,n)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:v(v(v({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,e,v(v({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,v(v({},this.rippleConfig),t))}static{this.\u0275fac=function(e){return new(e||i)(l(M),l($),l(G),l(Do,8),l(fe,8))}}static{this.\u0275dir=E({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){e&2&&L("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),ne=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R,R]})}}return i})(),To=(()=>{class i{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(e){return new(e||i)(l(fe,8))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){e&2&&L("mat-pseudo-checkbox-indeterminate",n.state==="indeterminate")("mat-pseudo-checkbox-checked",n.state==="checked")("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal",n.appearance==="minimal")("mat-pseudo-checkbox-full",n.appearance==="full")("_mat-animation-noopable",n._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[H],decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),Oo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R]})}}return i})(),Ao=new C("MAT_OPTION_PARENT_COMPONENT");var Fo=new C("MatOptgroup");var Po=0,ki=class{constructor(a,t=!1){this.source=a,this.isUserInput=t}},Cc=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,e,n,o){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Po++}`,this.onSelectionChange=new I,this._stateChanges=new V}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,e){let n=this._getHostElement();typeof n.focus=="function"&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Vt(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ki(this,t))}static{this.\u0275fac=function(e){return new(e||i)(l(M),l(q),l(Ao,8),l(Fo,8))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-option"]],viewQuery:function(e,n){if(e&1&&ot(_o,7),e&2){let o;j(o=z())&&(n._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,n){e&1&&O("click",function(){return n._selectViaInteraction()})("keydown",function(r){return n._handleKeydown(r)}),e&2&&(Nt("id",n.id),B("aria-selected",n.selected)("aria-disabled",n.disabled.toString()),L("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",nt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[it,H],ngContentSelectors:yo,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){e&1&&(Q(xo),S(0,wo,1,2,"mat-pseudo-checkbox",1),Y(1),c(2,"span",2,0),Y(4,1),p(),S(5,Co,1,1,"mat-pseudo-checkbox",3)(6,Mo,2,1,"span",4),T(7,"div",5)),e&2&&(N(n.multiple?0:-1),d(5),N(!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator?5:-1),d(),N(n.group&&n.group._inert?6:-1),d(),w("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[To,Oi],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Mc(i,a,t){if(t.length){let e=a.toArray(),n=t.toArray(),o=0;for(let r=0;r<i+1;r++)e[r].group&&e[r].group===n[o]&&o++;return o}return 0}function Ic(i,a,t,e){return i<t?i:i+a>t+e?Math.max(0,i-e+a):t}var Ec=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[ne,R,Oo]})}}return i})();var Lo=new C("MatFormField");var ae=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R,rt,Bn,R]})}}return i})();var aa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R,ae,ae,zn,R]})}}return i})();var No=["*"];function jo(i,a){i&1&&Y(0)}var Ai=(()=>{class i{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(e){return new(e||i)(l(M))}}static{this.\u0275dir=E({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return i})(),Fi=(()=>{class i{constructor(t){this.template=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=E({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return i})(),zo=0;var dt={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},Pi=new C("STEPPER_GLOBAL_OPTIONS"),Ne=(()=>{class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=t}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(t){this._customError=t}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new I,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(t=>t.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static{this.\u0275fac=function(e){return new(e||i)(l(ue(()=>je)),l(Pi,8))}}static{this.\u0275cmp=P({type:i,selectors:[["cdk-step"]],contentQueries:function(e,n,o){if(e&1&&(K(o,Fi,5),K(o,rn,5)),e&2){let r;j(r=z())&&(n.stepLabel=r.first),j(r=z())&&(n._childForms=r)}},viewQuery:function(e,n){if(e&1&&ot(bt,7),e&2){let o;j(o=z())&&(n.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",nt],optional:[2,"optional","optional",nt],completed:[2,"completed","completed",nt],hasError:[2,"hasError","hasError",nt]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[it,Pt,H],ngContentSelectors:No,decls:1,vars:0,template:function(e,n){e&1&&(Q(),S(0,jo,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return i})(),je=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this.steps&&this._steps?(this._isValidIndex(t),this.selected?._markAsInteracted(),this._selectedIndex!==t&&!this._anyControlsInvalidOrPending(t)&&(t>=this._selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=t}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation(t==="vertical")}constructor(t,e,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new V,this.steps=new ft,this._sortedHeaders=new ft,this.linear=!1,this._selectedIndex=0,this.selectionChange=new I,this.selectedIndexChange=new I,this._orientation="horizontal",this._groupId=zo++}ngAfterContentInit(){this._steps.changes.pipe(ut(this._steps),J(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(e=>e._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(ut(this._stepHeader),J(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((e,n)=>e._elementRef.nativeElement.compareDocumentPosition(n._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Le(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:A()).pipe(ut(this._layoutDirection()),J(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){let e=t-this._selectedIndex;return e<0?this._layoutDirection()==="rtl"?"next":"previous":e>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(t,e=dt.NUMBER){let n=this.steps.toArray()[t],o=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,o):this._getGuidelineLogic(n,o,e)}_getDefaultIndicatorLogic(t,e){return t._showError()&&t.hasError&&!e?dt.ERROR:!t.completed||e?dt.NUMBER:t.editable?dt.EDIT:dt.DONE}_getGuidelineLogic(t,e,n=dt.NUMBER){return t._showError()&&t.hasError&&!e?dt.ERROR:t.completed&&!e?dt.DONE:t.completed&&e?n:t.editable&&e?dt.EDIT:n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){let e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){let e=Vt(t),n=t.keyCode,o=this._keyManager;o.activeItemIndex!=null&&!e&&(n===32||n===13)?(this.selectedIndex=o.activeItemIndex,t.preventDefault()):o.setFocusOrigin("keyboard").onKeydown(t)}_anyControlsInvalidOrPending(t){return this.linear&&t>=0?this.steps.toArray().slice(0,t).some(e=>{let n=e.stepControl;return(n?n.invalid||n.pending||!e.interacted:!e.completed)&&!e.optional&&!e._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let t=this._elementRef.nativeElement,e=vi();return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}static{this.\u0275fac=function(e){return new(e||i)(l(ke,8),l(q),l(M))}}static{this.\u0275dir=E({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(e,n,o){if(e&1&&(K(o,Ne,5),K(o,Ai,5)),e&2){let r;j(r=z())&&(n._steps=r),j(r=z())&&(n._stepHeader=r)}},inputs:{linear:[2,"linear","linear",nt],selectedIndex:[2,"selectedIndex","selectedIndex",Xi],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[it]})}}return i})();var oa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[It]})}}return i})();var Bo=["*"],ze;function Ho(){if(ze===void 0&&(ze=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(ze=i.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return ze}function oe(i){return Ho()?.createHTML(i)||i}function ra(i){return Error(`Unable to find icon with the name "${i}"`)}function Vo(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function sa(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function la(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var mt=class{constructor(a,t,e){this.url=a,this.svgText=t,this.options=e}},Uo=(()=>{class i{constructor(t,e,n,o){this._httpClient=t,this._sanitizer=e,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,o){return this._addSvgIconConfig(t,e,new mt(n,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,o){let r=this._sanitizer.sanitize(Lt.HTML,n);if(!r)throw la(n);let s=oe(r);return this._addSvgIconConfig(t,e,new mt("",s,o))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new mt(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){let o=this._sanitizer.sanitize(Lt.HTML,e);if(!o)throw la(e);let r=oe(o);return this._addSvgIconSetConfig(t,new mt("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(Lt.RESOURCE_URL,t);if(!e)throw sa(t);let n=this._cachedIconsByUrl.get(e);return n?A(Be(n)):this._loadSvgIconFromConfig(new mt(t,null)).pipe(ht(o=>this._cachedIconsByUrl.set(e,o)),U(o=>Be(o)))}getNamedSvgIcon(t,e=""){let n=ca(e,t),o=this._svgIconConfigs.get(n);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(e,t),o)return this._svgIconConfigs.set(n,o),this._getSvgFromConfig(o);let r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Hi(ra(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?A(Be(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(U(e=>Be(e)))}_getSvgFromIconSetConfigs(t,e){let n=this._extractIconWithNameFromAnySet(t,e);if(n)return A(n);let o=e.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe(Ui(s=>{let b=`Loading icon set URL: ${this._sanitizer.sanitize(Lt.RESOURCE_URL,r.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(b)),A(null)})));return ce(o).pipe(U(()=>{let r=this._extractIconWithNameFromAnySet(t,e);if(!r)throw ra(t);return r}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){let o=e[n];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){let r=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(r,t,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ht(e=>t.svgText=e),U(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?A(null):this._fetchIcon(t).pipe(ht(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){let o=t.querySelector(`[id="${e}"]`);if(!o)return null;let r=o.cloneNode(!0);if(r.removeAttribute("id"),r.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(r,n);if(r.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(r),n);let s=this._svgElementFromString(oe("<svg></svg>"));return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString(oe("<svg></svg>")),n=t.attributes;for(let o=0;o<n.length;o++){let{name:r,value:s}=n[o];r!=="id"&&e.setAttribute(r,s)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[o].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:n}=t,o=n?.withCredentials??!1;if(!this._httpClient)throw Vo();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let r=this._sanitizer.sanitize(Lt.RESOURCE_URL,e);if(!r)throw sa(e);let s=this._inProgressUrlFetches.get(r);if(s)return s;let f=this._httpClient.get(r,{responseType:"text",withCredentials:o}).pipe(U(b=>oe(b)),Yi(()=>this._inProgressUrlFetches.delete(r)),Qi());return this._inProgressUrlFetches.set(r,f),f}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(ca(t,e),n),this}_addSvgIconSetConfig(t,e){let n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){let o=this._resolvers[n](e,t);if(o)return Wo(o)?new mt(o.url,null,o.options):new mt(o,null)}}static{this.\u0275fac=function(e){return new(e||i)(m(nn,8),m(an),m(W,8),m(he))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Be(i){return i.cloneNode(!0)}function ca(i,a){return i+":"+a}function Wo(i){return!!(i.url&&i.options)}var $o=new C("MAT_ICON_DEFAULT_OPTIONS"),Yo=new C("mat-icon-location",{providedIn:"root",factory:Qo});function Qo(){let i=F(W),a=i?i.location:null;return{getPathname:()=>a?a.pathname+a.search:""}}var da=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ko=da.map(i=>`[${i}]`).join(", "),qo=/^url\(['"]?#(.*?)['"]?\)$/,ma=(()=>{class i{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,n,o,r,s){this._elementRef=t,this._iconRegistry=e,this._location=o,this._errorHandler=r,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ft.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let n=t.childNodes[e];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),e.forEach(n=>t.classList.add(n)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((n,o)=>{n.forEach(r=>{o.setAttribute(r.name,`url('${t}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(Ko),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<e.length;o++)da.forEach(r=>{let s=e[o],f=s.getAttribute(r),b=f?f.match(qo):null;if(b){let _=n.get(s);_||(_=[],n.set(s,_)),_.push({name:r,value:b[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(at(1)).subscribe(o=>this._setSvgElement(o),o=>{let r=`Error retrieving icon ${e}:${n}! ${o.message}`;this._errorHandler.handleError(new Error(r))})}}static{this.\u0275fac=function(e){return new(e||i)(l(M),l(Uo),qe("aria-hidden"),l(Yo),l(he),l($o,8))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(e,n){e&2&&(B("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Qt(n.color?"mat-"+n.color:""),L("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",nt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[it,H],ngContentSelectors:Bo,decls:1,vars:0,template:function(e,n){e&1&&(Q(),Y(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),pa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R,R]})}}return i})();function Go(i,a){if(i&1&&yt(0,2),i&2){let t=y();w("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function Zo(i,a){if(i&1&&(c(0,"span",7),g(1),p()),i&2){let t=y(2);d(),k(t._getDefaultTextForState(t.state))}}function Xo(i,a){if(i&1&&(c(0,"span",8),g(1),p()),i&2){let t=y(3);d(),k(t._intl.completedLabel)}}function Jo(i,a){if(i&1&&(c(0,"span",8),g(1),p()),i&2){let t=y(3);d(),k(t._intl.editableLabel)}}function tr(i,a){if(i&1&&(S(0,Xo,2,1,"span",8)(1,Jo,2,1,"span",8),c(2,"mat-icon",7),g(3),p()),i&2){let t=y(2);N(t.state==="done"?0:t.state==="edit"?1:-1),d(3),k(t._getDefaultTextForState(t.state))}}function er(i,a){if(i&1&&S(0,Zo,2,1,"span",7)(1,tr,4,2,"mat-icon",7),i&2){let t,e=y();N((t=e.state)==="number"?0:1)}}function ir(i,a){i&1&&(c(0,"div",4),yt(1,9),p()),i&2&&(d(),w("ngTemplateOutlet",a.template))}function nr(i,a){if(i&1&&(c(0,"div",4),g(1),p()),i&2){let t=y();d(),k(t.label)}}function ar(i,a){if(i&1&&(c(0,"div",5),g(1),p()),i&2){let t=y();d(),k(t._intl.optionalLabel)}}function or(i,a){if(i&1&&(c(0,"div",6),g(1),p()),i&2){let t=y();d(),k(t.errorMessage)}}var ha=["*"];function rr(i,a){}function sr(i,a){if(i&1&&(Y(0),S(1,rr,0,0,"ng-template",0)),i&2){let t=y();d(),w("cdkPortalOutlet",t._portal)}}var fa=(i,a)=>({step:i,i:a}),ba=i=>({animationDuration:i}),ga=(i,a)=>({value:i,params:a});function lr(i,a){i&1&&Y(0)}function cr(i,a){i&1&&T(0,"div",6)}function dr(i,a){if(i&1&&(yt(0,5),S(1,cr,1,0,"div",6)),i&2){let t=a.$implicit,e=a.$index,n=a.$count;y(2);let o=xe(4);w("ngTemplateOutlet",o)("ngTemplateOutletContext",qt(3,fa,t,e)),d(),N(e!==n-1?1:-1)}}function mr(i,a){if(i&1){let t=lt();c(0,"div",7),O("@horizontalStepTransition.done",function(n){tt(t);let o=y(2);return et(o._animationDone.next(n))}),yt(1,8),p()}if(i&2){let t=a.$implicit,e=a.$index,n=y(2);L("mat-horizontal-stepper-content-inactive",n.selectedIndex!==e),w("@horizontalStepTransition",qt(8,ga,n._getAnimationDirection(e),Kt(6,ba,n._getAnimationDuration())))("id",n._getStepContentId(e)),B("aria-labelledby",n._getStepLabelId(e)),d(),w("ngTemplateOutlet",t.content)}}function pr(i,a){if(i&1&&(c(0,"div",1)(1,"div",2),ve(2,dr,2,6,null,null,ge),p(),c(4,"div",3),ve(5,mr,2,11,"div",4,ge),p()()),i&2){let t=y();d(2),_e(t.steps),d(3),_e(t.steps)}}function ur(i,a){if(i&1){let t=lt();c(0,"div",9),yt(1,5),c(2,"div",10)(3,"div",11),O("@verticalStepTransition.done",function(n){tt(t);let o=y(2);return et(o._animationDone.next(n))}),c(4,"div",12),yt(5,8),p()()()()}if(i&2){let t=a.$implicit,e=a.$index,n=a.$count,o=y(2),r=xe(4);d(),w("ngTemplateOutlet",r)("ngTemplateOutletContext",qt(10,fa,t,e)),d(),L("mat-stepper-vertical-line",e!==n-1),d(),L("mat-vertical-stepper-content-inactive",o.selectedIndex!==e),w("@verticalStepTransition",qt(15,ga,o._getAnimationDirection(e),Kt(13,ba,o._getAnimationDuration())))("id",o._getStepContentId(e)),B("aria-labelledby",o._getStepLabelId(e)),d(2),w("ngTemplateOutlet",t.content)}}function hr(i,a){if(i&1&&ve(0,ur,6,18,"div",9,ge),i&2){let t=y();_e(t.steps)}}function fr(i,a){if(i&1){let t=lt();c(0,"mat-step-header",13),O("click",function(){let n=tt(t).step;return et(n.select())})("keydown",function(n){tt(t);let o=y();return et(o._onKeydown(n))}),p()}if(i&2){let t=a.step,e=a.i,n=y();L("mat-horizontal-stepper-header",n.orientation==="horizontal")("mat-vertical-stepper-header",n.orientation==="vertical"),w("tabIndex",n._getFocusIndex()===e?0:-1)("id",n._getStepLabelId(e))("index",e)("state",n._getIndicatorType(e,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===e)("active",n._stepIsNavigable(e,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple||!n._stepIsNavigable(e,t))("color",t.color||n.color),B("aria-posinset",e+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(e))("aria-selected",n.selectedIndex==e)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",n._stepIsNavigable(e,t)?null:!0)}}var re=(()=>{class i extends Fi{static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=_t(i)))(n||i)}})()}static{this.\u0275dir=E({type:i,selectors:[["","matStepLabel",""]],standalone:!0,features:[st]})}}return i})(),He=(()=>{class i{constructor(){this.changes=new V,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function br(i){return i||new He}var gr={provide:He,deps:[[new Qe,new Ke,He]],useFactory:br},Ri=(()=>{class i extends Ai{constructor(t,e,n,o){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof re?null:this.label}_templateLabel(){return this.label instanceof re?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return t=="number"?`${this.index+1}`:t=="edit"?"create":t=="error"?"warning":t}static{this.\u0275fac=function(e){return new(e||i)(l(He),l(Gn),l(M),l(q))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(e,n){e&2&&Qt("mat-"+(n.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[st,H],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(e,n){if(e&1&&(T(0,"div",0),c(1,"div")(2,"div",1),S(3,Go,1,2,"ng-container",2)(4,er,2,1),p()(),c(5,"div",3),S(6,ir,2,1,"div",4)(7,nr,2,1,"div",4)(8,ar,2,1,"div",5)(9,or,2,1,"div",6),p()),e&2){let o;w("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disableRipple),d(),Je("mat-step-icon-state-",n.state," mat-step-icon"),L("mat-step-icon-selected",n.selected),d(2),N(n.iconOverrides&&n.iconOverrides[n.state]?3:4),d(2),L("mat-step-label-active",n.active)("mat-step-label-selected",n.selected)("mat-step-label-error",n.state=="error"),d(),N((o=n._templateLabel())?6:n._stringLabel()?7:-1,o),d(2),N(n.optional&&n.state!="error"?8:-1),d(),N(n.state==="error"?9:-1)}},dependencies:[Oi,ye,ma],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-app-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-app-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-app-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-app-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-app-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-app-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-app-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-app-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-app-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-app-on-primary))}'],encapsulation:2,changeDetection:0})}}return i})(),va="500ms",_a="225ms",ua={horizontalStepTransition:ii("horizontalStepTransition",[Ct("previous",wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Ct("current",wt({transform:"none",visibility:"inherit"})),Ct("next",wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),oi("* => *",ai([ni("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),si("@*",ri(),{optional:!0})]),{params:{animationDuration:va}})]),verticalStepTransition:ii("verticalStepTransition",[Ct("previous",wt({height:"0px",visibility:"hidden"})),Ct("next",wt({height:"0px",visibility:"hidden"})),Ct("current",wt({height:"*",visibility:"inherit"})),oi("* <=> current",ai([ni("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),si("@*",ri(),{optional:!0})]),{params:{animationDuration:_a}})])},Li=(()=>{class i{constructor(t){this.templateRef=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=E({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return i})(),Ni=(()=>{class i{constructor(t){this._template=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=E({type:i,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return i})(),ji=(()=>{class i extends Ne{constructor(t,e,n,o){super(t,o),this._errorStateMatcher=e,this._viewContainerRef=n,this._isSelected=Ft.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Yt(()=>this._stepper.selectionChange.pipe(U(t=>t.selectedStep===this),ut(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new Xt(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){let n=this._errorStateMatcher.isErrorState(t,e),o=!!(t&&t.invalid&&this.interacted);return n||o}static{this.\u0275fac=function(e){return new(e||i)(l(ue(()=>Ve)),l(ie,4),l(be),l(Pi,8))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-step"]],contentQueries:function(e,n,o){if(e&1&&(K(o,re,5),K(o,Ni,5)),e&2){let r;j(r=z())&&(n.stepLabel=r.first),j(r=z())&&(n._lazyContent=r.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[ct([{provide:ie,useExisting:i},{provide:Ne,useExisting:i}]),st,H],ngContentSelectors:ha,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,n){e&1&&(Q(),S(0,sr,2,1,"ng-template"))},dependencies:[In],encapsulation:2,changeDetection:0})}}return i})(),Ve=(()=>{class i extends je{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,e,n){super(t,e,n),this._stepHeader=void 0,this._steps=void 0,this.steps=new ft,this.animationDone=new I,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new V,this._animationDuration="",this._isServer=!F(G).isBrowser;let o=n.nativeElement.nodeName.toLowerCase();this.orientation=o==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(J(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(J(this._destroyed)).subscribe(t=>{t.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(t,e){return e.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?va:_a}static{this.\u0275fac=function(e){return new(e||i)(l(ke,8),l(q),l(M))}}static{this.\u0275cmp=P({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,n,o){if(e&1&&(K(o,ji,5),K(o,Li,5)),e&2){let r;j(r=z())&&(n._steps=r),j(r=z())&&(n._icons=r)}},viewQuery:function(e,n){if(e&1&&ot(Ri,5),e&2){let o;j(o=z())&&(n._stepHeader=o)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(e,n){e&2&&(B("aria-orientation",n.orientation),L("mat-stepper-horizontal",n.orientation==="horizontal")("mat-stepper-vertical",n.orientation==="vertical")("mat-stepper-label-position-end",n.orientation==="horizontal"&&n.labelPosition=="end")("mat-stepper-label-position-bottom",n.orientation==="horizontal"&&n.labelPosition=="bottom")("mat-stepper-header-position-bottom",n.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[ct([{provide:je,useExisting:i}]),st,H],ngContentSelectors:ha,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(e,n){if(e&1&&(Q(),S(0,lr,1,0)(1,pr,7,0,"div",1)(2,hr,2,0)(3,fr,1,23,"ng-template",null,0,ti)),e&2){let o;N(n._isServer?0:-1),d(),N((o=n.orientation)==="horizontal"?1:o==="vertical"?2:-1)}},dependencies:[ye,Ri],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-app-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-app-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-app-outline));top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[ua.horizontalStepTransition,ua.verticalStepTransition]},changeDetection:0})}}return i})();var xa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({providers:[gr,ie],imports:[R,rt,Te,oa,pa,ne,Ve,Ri,R]})}}return i})();var ya=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=h({type:i})}static{this.\u0275inj=u({imports:[R,ne,R]})}}return i})();var wa=[{path:"",title:"Choose Product",icon:"fas fa-shopping-cart",class:"",label:"",labelClass:"side-badge badge bg-success",extralink:!1,submenu:[]},{path:"",title:"Customize Label",icon:"fas fa-tag",class:"",label:"",labelClass:"",extralink:!1,submenu:[]},{path:"",title:"Print Preview",icon:"fas fa-print",class:"",label:"",labelClass:"",extralink:!1,submenu:[]}];var Ca=(()=>{class i{constructor(){this.collapseSidebar=!1,this.fullScreen=!1,this.MENUITEMS=wa,this.items=new le(this.MENUITEMS)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var yr=["stepper"];function wr(i,a){i&1&&(c(0,"div",2)(1,"span",18),g(2,"Barcode Apps"),p()())}function Cr(i,a){i&1&&(c(0,"div",3)(1,"span",19),g(2,"BA"),p()())}function Mr(i,a){i&1&&g(0,"Choose Product")}function Ir(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Er(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Sr(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function kr(i,a){i&1&&(c(0,"div",20)(1,"span",21),g(2,"Select the product that you want to print "),p()())}function Dr(i,a){i&1&&g(0,"Customize Label")}function Tr(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Or(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Ar(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Fr(i,a){i&1&&(c(0,"div",20)(1,"span",21),g(2,"Configure sticker label layout and visibility"),p()())}function Pr(i,a){i&1&&g(0,"Print Preview")}function Rr(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Lr(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function Nr(i,a){if(i&1&&g(0),i&2){let t=a.index;k(t+1)}}function jr(i,a){i&1&&(c(0,"div",20)(1,"span",21),g(2,"Select the paper type, "),p(),c(3,"span",21),g(4,"then configure adjust the position and margins to ensure accurate sticker placement"),p()())}function zr(i,a){if(i&1){let t=lt();c(0,"div",14)(1,"a",22),T(2,"img",23),c(3,"strong",24),g(4),p()(),c(5,"ul",25)(6,"li")(7,"a",26),g(8),p()(),c(9,"li")(10,"a",27),O("click",function(){tt(t);let n=y();return et(n.authService.logout())}),T(11,"i",28),c(12,"span"),g(13,"Sign out"),p()()()()()}if(i&2){let t=y();d(4),k(t.username),d(3),w("href","https://"+t.domain(),Ze),d(),k(t.domain())}}function Br(i,a){if(i&1){let t=lt();c(0,"div",15)(1,"a",22),T(2,"img",23),p(),c(3,"ul",25)(4,"li")(5,"a",26),g(6),p()(),c(7,"li")(8,"a",27),O("click",function(){tt(t);let n=y();return et(n.authService.logout())}),T(9,"i",28),c(10,"span"),g(11,"Sign out"),p()()()()()}if(i&2){let t=y();d(5),w("href","https://"+t.domain(),Ze),d(),k(t.domain())}}var Ma=(()=>{class i{handleNotify(){this.notify.emit(!this.showClass)}constructor(t,e){this.menuServise=t,this.router=e,this._formBuilder=F(sn),this.firstFormGroup=this._formBuilder.group({firstCtrl:["",li.required]}),this.secondFormGroup=this._formBuilder.group({secondCtrl:["",li.required]}),this.showMenu="",this.showSubMenu="",this.sidebarnavItems=[],this.path="",this.authService=F(hn),this.username="",this.domain=xt(""),this.brand=xt(""),this.showClass=!1,this.notify=new I,this.cdr=F(q),this.storeService=F(ee),this.stepperRef=null,this.injector=F(Rt),this.storeSevice=F(ee),this.menuServise.items.subscribe(n=>{this.sidebarnavItems=n,this.sidebarnavItems.filter(o=>o.submenu.filter(r=>{r.path===this.router.url&&(this.path=o.title)})),this.addExpandClass(this.path)})}addExpandClass(t){t===this.showMenu?this.showMenu="0":this.showMenu=t}ngOnInit(){ln(this.storeService.productItems,{injector:this.injector}).pipe(de(t=>t.length<=0),ht(()=>this.stepperRef?.steps.forEach(t=>t.completed=!1))).subscribe()}addActiveClass(t){t===this.showSubMenu?this.showSubMenu="0":this.showSubMenu=t,window.scroll({top:0,left:0,behavior:"smooth"})}ngAfterViewInit(){this.username=localStorage.getItem("Username"),this.brand.set(localStorage.getItem("Brand")),this.domain.set(localStorage.getItem("Domain")),this.storeService.onChangeStepperRef(this.stepperRef),this.cdr.detectChanges()}onGotoStepper(t){this.storeSevice.onGotoStepper(t)}onStepperSelectionChange(t){this.router.navigate(["/pages"]);let e=[...this.storeService.productItems()];this.storeService.onChangeProductItems(e.map(n=>X(v({},n),{isSelected:!1}))),console.log("event",t),this.storeService.onGotoStepper(t),this.stepperRef.steps.forEach((n,o)=>{o>t&&(n.completed=!1),o<=t&&(o===0&&this.storeService.productItems().length<=0?n.completed=!1:n.completed=!0)}),console.log("completed",this.stepperRef.steps.toArray().map(n=>n.completed))}static{this.\u0275fac=function(e){return new(e||i)(l(Ca),l(we))}}static{this.\u0275cmp=P({type:i,selectors:[["app-vertical-sidebar"]],viewQuery:function(e,n){if(e&1&&ot(yr,5),e&2){let o;j(o=z())&&(n.stepperRef=o.first)}},inputs:{showClass:"showClass"},outputs:{notify:"notify"},standalone:!0,features:[H],decls:32,vars:7,consts:[["stepper",""],[1,"d-flex","flex-column","h-100","position-relative"],[1,"d-flex","align-items-center",2,"height","61px","border-bottom","1px solid #ddd","padding","0 2rem"],[1,"d-flex","align-items-center","justify-content-center",2,"height","61px","border-bottom","1px solid #ddd"],[1,"sidebar-nav","flex-grow-1"],["id","sidebarnav"],["orientation","vertical",3,"selectedIndexChange","selectedIndex","linear"],[3,"completed"],["matStepLabel",""],["matStepperIcon","done"],["matStepperIcon","create"],["matStepperIcon","edit"],["matStepContent",""],[1,"d-flex","flex-column","px-2","py-2"],["ngbDropdown","",1,"dropdown",2,"margin","0 1.5rem"],["ngbDropdown","",1,"dropdown"],[1,"collapse__icon","z-1",3,"click"],[1,"fas","fa-caret-left"],[1,"hide-menu","fs-6","fw-normal","text-capitalize"],[1,"fs-6","fw-normal","text-capitalize"],[1,"d-flex","flex-column","form-text","fw-normal","fs-2","my-0"],[1,""],["aria-expanded","false","data-bs-toggle","dropdown","href","javascript:void(0)","ngbDropdownToggle","",1,"hide-menu","d-flex","align-items-center","link-body-emphasis","text-decoration-none","dropdown-toggle",2,"margin-right","0"],["alt","","height","32","src","assets/images/users/user4.jpg","width","32",1,"rounded-circle","me-2"],[1,"hide-menu","m-0"],["ngbDropdownMenu","",1,"dropdown-menu","text-small","shadow","hide-menu"],["rel","noopener noreferrer","target","_blank",1,"dropdown-item",3,"href"],["href","javascript:void(0)",1,"dropdown-item","text-dark","d-flex","gap-2","align-items-center","fs-3",3,"click"],[1,"fas","fa-sign-out-alt"]],template:function(e,n){if(e&1){let o=lt();c(0,"div",1),S(1,wr,3,0,"div",2)(2,Cr,3,0,"div",3),c(3,"nav",4)(4,"ul",5),T(5,"br"),c(6,"mat-stepper",6,0),O("selectedIndexChange",function(s){return tt(o),et(n.onStepperSelectionChange(s))}),c(8,"mat-step",7),S(9,Mr,1,0,"ng-template",8)(10,Ir,1,1,"ng-template",9)(11,Er,1,1,"ng-template",10)(12,Sr,1,1,"ng-template",11)(13,kr,3,0,"ng-template",12),p(),c(14,"mat-step",7),S(15,Dr,1,0,"ng-template",8)(16,Tr,1,1,"ng-template",9)(17,Or,1,1,"ng-template",10)(18,Ar,1,1,"ng-template",11)(19,Fr,3,0,"ng-template",12),p(),c(20,"mat-step",7),S(21,Pr,1,0,"ng-template",8)(22,Rr,1,1,"ng-template",9)(23,Lr,1,1,"ng-template",10)(24,Nr,1,1,"ng-template",11)(25,jr,5,0,"ng-template",12),p()()()(),c(26,"div",13),T(27,"hr"),S(28,zr,14,3,"div",14)(29,Br,12,2,"div",15),p(),c(30,"div",16),O("click",function(){return tt(o),et(n.storeService.onToggleSidebarType())}),T(31,"i",17),p()()}if(e&2){let o,r;d(),N((o=n.storeSevice.options().sidebartype)==="full"?1:o==="mini-sidebar"?2:-1),d(5),w("selectedIndex",n.storeSevice.stepper$().state)("linear",!0),d(2),w("completed",!1),d(6),w("completed",!1),d(6),w("completed",!1),d(8),N((r=n.storeSevice.options().sidebartype)==="full"?28:r==="mini-sidebar"?29:-1)}},dependencies:[wn,rt,Ce,fn,pn,mn,dn,ya,xa,ji,re,Ve,Li,Ni,Me,Ie,ae,aa],styles:[".collapse__icon[_ngcontent-%COMP%]{border:1px solid black;border-radius:50%;padding:.5rem;transition:all .5s ease-in-out;position:absolute;top:17px;right:-10px;opacity:0;display:flex;justify-content:center;align-items:center;width:25px;height:25px}.collapse__icon[_ngcontent-%COMP%]:hover{opacity:1}.sidebar-item[_ngcontent-%COMP%]{margin:0 1rem}.sidebar-item.active[_ngcontent-%COMP%]{background:#2075d0;border-radius:4px}.sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]{padding:.5rem;font-weight:400}.sidebar-item[_ngcontent-%COMP%], .sidebar-link.active[_ngcontent-%COMP%], .sidebar-link.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important}.sidebar-item[_ngcontent-%COMP%] .user-profile[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]{margin-left:.5rem}.sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]:hover:not(.active), .sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]:hover:not(.active) i[_ngcontent-%COMP%]{background:#ebf3f5;color:#000!important}.sidebar-item[_ngcontent-%COMP%] .sidebar-link.active[_ngcontent-%COMP%], .sidebar-item[_ngcontent-%COMP%] .sidebar-link.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background:initial;color:initial} .mat-stepper-vertical .mat-step-header{padding:15px 32px} .mat-stepper-vertical .mat-vertical-content{padding:0 24px} .mat-stepper-vertical .mat-vertical-content-container{margin-left:44px}"]})}}return i})();var Hr=i=>({"show-sidebar":i}),ep=(()=>{class i{constructor(t){this.router=t,this.storeService=F(ee)}Logo(){this.storeService.onChangeOptions({expandLogo:!this.storeService.options().expandLogo})}ngOnInit(){this.router.url==="/"&&this.router.navigate(["/dashboard/classic"]),this.storeService.onChangeOptions({defaultSidebar:this.storeService.options().sidebartype}),this.handleSidebar()}onResize(t){this.handleSidebar()}handleSidebar(){switch(this.storeService.onChangeOptions({innerWidth:window.innerWidth}),this.storeService.options().defaultSidebar){case"full":case"iconbar":this.storeService.options().innerWidth<1170?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;case"overlay":this.storeService.options().innerWidth<767?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}toggleSidebarType(){switch(this.storeService.options().sidebartype){case"full":case"iconbar":this.storeService.onChangeOptions({sidebartype:"mini-sidebar"});break;case"overlay":this.storeService.onChangeOptions({showMobileMenu:!this.storeService.options().showMobileMenu});break;case"mini-sidebar":this.storeService.options().defaultSidebar==="mini-sidebar"?this.storeService.onChangeOptions({sidebartype:"full"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}handleClick(t){this.storeService.onChangeOptions({showMobileMenu:t})}static{this.\u0275fac=function(e){return new(e||i)(l(we))}}static{this.\u0275cmp=P({type:i,selectors:[["app-full-layout"]],hostBindings:function(e,n){e&1&&O("resize",function(r){return n.onResize(r)},!1,qi)},standalone:!0,features:[H],decls:5,vars:12,consts:[["id","main-wrapper",2,"height","100vh",3,"ngClass","dir"],[1,"left-sidebar","pt-0",3,"mouseover","mouseout"],[3,"notify","showClass"],[1,"page-wrapper","flex-grow-1","pt-0","z-0",2,"height","inherit"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"aside",1),O("mouseover",function(){return n.Logo()})("mouseout",function(){return n.Logo()}),c(2,"app-vertical-sidebar",2),O("notify",function(r){return n.handleClick(r)}),p()(),c(3,"div",3),T(4,"router-outlet"),p()()),e&2&&(w("ngClass",Kt(10,Hr,n.storeService.options().showMobileMenu))("dir",n.storeService.options().dir),B("data-theme",n.storeService.options().theme)("data-layout",n.storeService.options().layout)("data-sidebartype",n.storeService.options().sidebartype)("data-sidebar-position",n.storeService.options().sidebarpos)("data-header-position",n.storeService.options().headerpos)("data-boxed-layout",n.storeService.options().boxed),d(),B("data-sidebarbg",n.storeService.options().sidebarbg),d(),w("showClass",n.storeService.options().showMobileMenu))},dependencies:[Ce,on,Ma,Ln,un,Me,Ie,rt,tn,cn]})}}return i})();export{fn as a,wn as b,ke as c,It as d,Xt as e,Mn as f,Te as g,G as h,Cs as i,gt as j,kn as k,xi as l,Is as m,St as n,Ln as o,ee as p,Vt as q,Un as r,Al as s,Zl as t,Xl as u,Wn as v,R as w,Ao as x,Fo as y,ki as z,Cc as A,Mc as B,Ic as C,Ec as D,Lo as E,Ma as F,ep as G};
1
+ import{G as dn,H as Ie,I as Ee,Q as mn,T as pn,U as un,V as hn,W as fn,Y as bn,d as an,ha as gn,k as rn,m as sn,n as Ce,p as Me,s as ln,w as oi,x as cn}from"./chunk-YO345NRT.js";import{$a as he,$b as ge,Aa as M,Ac as Kt,Bb as bt,Bc as qt,Bd as ai,C as P,Ca as p,Cd as ri,D as Ui,Da as A,Db as Ji,Dd as si,E as pt,Ea as qe,Fa as Ge,Fd as wt,Gb as be,Gd as Ct,Ha as F,I as U,Ia as f,Ib as ti,Ic as ii,Id as li,J as Wi,Ja as S,Jb as xt,Jd as ci,Kb as st,Kd as di,M as $t,Mb as it,N as Qe,O as ce,Pb as k,Ra as Pt,Sa as tt,Sb as H,Sc as q,Ta as et,Tb as w,U as de,Ua as _t,Uc as nt,Va as Ze,Vb as N,Vc as tn,Wa as Rt,Wb as Qt,Wc as ni,Xb as ei,Yc as en,Z as $i,Za as C,Zb as j,_ as Yi,_a as Q,a as v,aa as me,ac as ve,b as X,bb as I,bc as _e,ca as ot,cb as ft,cc as c,cd as Y,d as ko,dc as m,e as Do,ec as D,fa as Qi,gb as Xe,ha as Ki,hb as fe,hc as yt,ib as Gi,ic as lt,jc as Nt,jd as nn,l as Ft,lc as E,mc as y,n as Ye,na as qi,nc as $,nd as we,oa as Ke,oc as W,pa as pe,q as V,qa as ut,qc as K,r as le,ra as Yt,rc as at,sa as J,sb as Lt,sc as z,ta as ht,tc as B,td as rt,ub as Je,uc as xe,vb as Zi,vc as u,vd as on,wa as ue,wb as Xi,wc as T,xa as x,xc as ye,ya as h,yb as d,yc as ct,zb as l,zc as R}from"./chunk-E7PAZX2X.js";var Ln=ko((Ts,Rn)=>{var Lo=4,No=.001,jo=1e-7,zo=10,te=11,Fe=1/(te-1),Bo=typeof Float32Array=="function";function On(i,o){return 1-3*o+3*i}function An(i,o){return 3*o-6*i}function Fn(i){return 3*i}function Pe(i,o,t){return((On(o,t)*i+An(o,t))*i+Fn(o))*i}function Pn(i,o,t){return 3*On(o,t)*i*i+2*An(o,t)*i+Fn(o)}function Ho(i,o,t,e,n){var a,r,s=0;do r=o+(t-o)/2,a=Pe(r,e,n)-i,a>0?t=r:o=r;while(Math.abs(a)>jo&&++s<zo);return r}function Vo(i,o,t,e){for(var n=0;n<Lo;++n){var a=Pn(o,t,e);if(a===0)return o;var r=Pe(o,t,e)-i;o-=r/a}return o}function Uo(i){return i}Rn.exports=function(o,t,e,n){if(!(0<=o&&o<=1&&0<=e&&e<=1))throw new Error("bezier x values must be in [0, 1] range");if(o===t&&e===n)return Uo;for(var a=Bo?new Float32Array(te):new Array(te),r=0;r<te;++r)a[r]=Pe(r*Fe,o,e);function s(b){for(var g=0,_=1,Tt=te-1;_!==Tt&&a[_]<=b;++_)g+=Fe;--_;var Wt=(b-a[_])/(a[_+1]-a[_]),Ot=g+Wt*Fe,At=Pn(Ot,o,e);return At>=No?Vo(b,Ot,o,e):At===0?Ot:Ho(b,g,g+Fe,o,e)}return function(g){return g===0?0:g===1?1:Pe(s(g),t,n)}}});var Se=class{constructor(o){this.icons=o}};var ke=(()=>{class i{constructor(t){if(this.icons=t,!this.icons)throw new Error(`No icon provided. Make sure to use 'FeatherModule.pick({ ... })' when importing the module
2
+ Refer to documentation on https://github.com/michaelbazos/angular-feather`)}static pick(t){return{ngModule:i,providers:[{provide:Se,multi:!0,useValue:t}]}}}return i.\u0275fac=function(t){return new(t||i)(p(Se,8))},i.\u0275mod=f({type:i}),i.\u0275inj=h({}),i})();var jt=class{},vn=(()=>{class i extends jt{getTranslation(t){return P({})}}return i.\u0275fac=(()=>{let o;return function(e){return(o||(o=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),Gt=class{},_n=(()=>{class i{handle(t){return t.key}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})();function Mt(i){return typeof i<"u"&&i!==null}function mi(i){return i&&typeof i=="object"&&!Array.isArray(i)}function Cn(i,o){let t=Object.assign({},i);return mi(i)&&mi(o)&&Object.keys(o).forEach(e=>{mi(o[e])?e in i?t[e]=Cn(i[e],o[e]):Object.assign(t,{[e]:o[e]}):Object.assign(t,{[e]:o[e]})}),t}var zt=class{},xn=(()=>{class i extends zt{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return typeof t=="string"?n=this.interpolateString(t,e):typeof t=="function"?n=this.interpolateFunction(t,e):n=t,n}getValue(t,e){let n=typeof e=="string"?e.split("."):[e];e="";do e+=n.shift(),Mt(t)&&Mt(t[e])&&(typeof t[e]=="object"||!n.length)?(t=t[e],e=""):n.length?e+=".":t=void 0;while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(n,a)=>{let r=this.getValue(e,a);return Mt(r)?r:n}):t}}return i.\u0275fac=(()=>{let o;return function(e){return(o||(o=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),Bt=class{},yn=(()=>{class i extends Bt{compile(t,e){return t}compileTranslations(t,e){return t}}return i.\u0275fac=(()=>{let o;return function(e){return(o||(o=_t(i)))(e||i)}})(),i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})(),De=class{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new C,this.onLangChange=new C,this.onDefaultLangChange=new C}},pi=new M("USE_STORE"),ui=new M("USE_DEFAULT_LANG"),hi=new M("DEFAULT_LANGUAGE"),fi=new M("USE_EXTEND"),wn=(()=>{class i{constructor(t,e,n,a,r,s=!0,b=!1,g=!1,_){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=s,this.isolate=b,this.extend=g,this.pending=!1,this._onTranslationChange=new C,this._onLangChange=new C,this._onDefaultLangChange=new C,this._langs=[],this._translations={},this._translationRequests={},_&&this.setDefaultLang(_)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);typeof e<"u"?(this.defaultLang==null&&(this.defaultLang=t),e.pipe(ot(1)).subscribe(n=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return P(this.translations[t]);let e=this.retrieveTranslations(t);return typeof e<"u"?(this.currentLang||(this.currentLang=t),e.pipe(ot(1)).subscribe(n=>{this.changeLang(t)}),e):(this.changeLang(t),P(this.translations[t]))}retrieveTranslations(t){let e;return(typeof this.translations[t]>"u"||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;let e=this.currentLoader.getTranslation(t).pipe(Ke(1),ot(1));return this.loadingTranslations=e.pipe(U(n=>this.compiler.compileTranslations(n,t)),Ke(1),ot(1)),this.loadingTranslations.subscribe({next:n=>{this.translations[t]=this.extend&&this.translations[t]?v(v({},n),this.translations[t]):n,this.updateLangs(),this.pending=!1},error:n=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),(n||this.extend)&&this.translations[t]?this.translations[t]=Cn(this.translations[t],e):this.translations[t]=e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(e=>{this.langs.indexOf(e)===-1&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let a;if(e instanceof Array){let r={},s=!1;for(let b of e)r[b]=this.getParsedResult(t,b,n),pt(r[b])&&(s=!0);if(s){let b=e.map(g=>pt(r[g])?r[g]:P(r[g]));return ce(b).pipe(U(g=>{let _={};return g.forEach((Tt,Wt)=>{_[e[Wt]]=Tt}),_}))}return r}if(t&&(a=this.parser.interpolate(this.parser.getValue(t,e),n)),typeof a>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(a=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),typeof a>"u"){let r={key:e,translateService:this};typeof n<"u"&&(r.interpolateParams=n),a=this.missingTranslationHandler.handle(r)}return typeof a<"u"?a:e}get(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Yi(n=>(n=this.getParsedResult(n,t,e),pt(n)?n:P(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return pt(n)?n:P(n)}}getStreamOnTranslationChange(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');return $t(Qe(()=>this.get(t,e)),this.onTranslationChange.pipe(Yt(n=>{let a=this.getParsedResult(n.translations,t,e);return typeof a.subscribe=="function"?a:P(a)})))}stream(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');return $t(Qe(()=>this.get(t,e)),this.onLangChange.pipe(Yt(n=>{let a=this.getParsedResult(n.translations,t,e);return pt(a)?a:P(a)})))}instant(t,e){if(!Mt(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(pt(n)){if(t instanceof Array){let a={};return t.forEach((r,s)=>{a[t[s]]=t[s]}),a}return t}else return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang==null&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;if(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof t>"u"))return t.indexOf("-")!==-1&&(t=t.split("-")[0]),t.indexOf("_")!==-1&&(t=t.split("_")[0]),t}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return i.\u0275fac=function(t){return new(t||i)(p(De),p(jt),p(Bt),p(zt),p(Gt),p(ui),p(pi),p(fi),p(hi))},i.\u0275prov=x({token:i,factory:i.\u0275fac}),i})();var Mn=(()=>{class i{static forRoot(t={}){return{ngModule:i,providers:[t.loader||{provide:jt,useClass:vn},t.compiler||{provide:Bt,useClass:yn},t.parser||{provide:zt,useClass:xn},t.missingTranslationHandler||{provide:Gt,useClass:_n},De,{provide:pi,useValue:t.isolate},{provide:ui,useValue:t.useDefaultLang},{provide:fi,useValue:t.extend},{provide:hi,useValue:t.defaultLanguage},wn]}}static forChild(t={}){return{ngModule:i,providers:[t.loader||{provide:jt,useClass:vn},t.compiler||{provide:Bt,useClass:yn},t.parser||{provide:zt,useClass:xn},t.missingTranslationHandler||{provide:Gt,useClass:_n},{provide:pi,useValue:t.isolate},{provide:ui,useValue:t.useDefaultLang},{provide:fi,useValue:t.extend},{provide:hi,useValue:t.defaultLanguage},wn]}}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=f({type:i}),i.\u0275inj=h({}),i})();var To=new M("cdk-dir-doc",{providedIn:"root",factory:Oo});function Oo(){return A(Y)}var Ao=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Fo(i){let o=i?.toLowerCase()||"";return o==="auto"&&typeof navigator<"u"&&navigator?.language?Ao.test(navigator.language)?"rtl":"ltr":o==="rtl"?"rtl":"ltr"}var Te=(()=>{class i{constructor(t){if(this.value="ltr",this.change=new C,t){let e=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null;this.value=Fo(e||n||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(e){return new(e||i)(p(To,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var It=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({})}}return i})();var Zt=class{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;o!=null&&(this._attachedHost=null,o.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(o){this._attachedHost=o}},bi=class extends Zt{constructor(o,t,e,n,a){super(),this.component=o,this.viewContainerRef=t,this.injector=e,this.componentFactoryResolver=n,this.projectableNodes=a}},Xt=class extends Zt{constructor(o,t,e,n){super(),this.templateRef=o,this.viewContainerRef=t,this.context=e,this.injector=n}get origin(){return this.templateRef.elementRef}attach(o,t=this.context){return this.context=t,super.attach(o)}detach(){return this.context=void 0,super.detach()}},gi=class extends Zt{constructor(o){super(),this.element=o instanceof I?o.nativeElement:o}},Oe=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){if(o instanceof bi)return this._attachedPortal=o,this.attachComponentPortal(o);if(o instanceof Xt)return this._attachedPortal=o,this.attachTemplatePortal(o);if(this.attachDomPortal&&o instanceof gi)return this._attachedPortal=o,this.attachDomPortal(o)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var En=class extends Oe{constructor(o,t,e,n,a){super(),this.outletElement=o,this._componentFactoryResolver=t,this._appRef=e,this._defaultInjector=n,this.attachDomPortal=r=>{this._document;let s=r.element;s.parentNode;let b=this._document.createComment("dom-portal");s.parentNode.insertBefore(b,s),this.outletElement.appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{b.parentNode&&b.parentNode.replaceChild(s,b)})},this._document=a}attachComponentPortal(o){let e=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),n;return o.viewContainerRef?(n=o.viewContainerRef.createComponent(e,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector,o.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=e.create(o.injector||this._defaultInjector||Rt.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=o,n}attachTemplatePortal(o){let t=o.viewContainerRef,e=t.createEmbeddedView(o.templateRef,o.context,{injector:o.injector});return e.rootNodes.forEach(n=>this.outletElement.appendChild(n)),e.detectChanges(),this.setDisposeFn(()=>{let n=t.indexOf(e);n!==-1&&t.remove(n)}),this._attachedPortal=o,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}};var Sn=(()=>{class i extends Oe{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new C,this.attachDomPortal=a=>{this._document;let r=a.element;r.parentNode;let s=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(s,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(r,s)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,a=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(a,e.length,t.injector||e.injector,t.projectableNodes||void 0);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(e){return new(e||i)(l(Ji),l(be),l(Y))}}static{this.\u0275dir=S({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[st]})}}return i})();var Ae=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({})}}return i})();var _i;try{_i=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_i=!1}var G=(()=>{class i{constructor(t){this._platformId=t,this.isBrowser=this._platformId?on(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||_i)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(e){return new(e||i)(p(Xe))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),kn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({})}}return i})();var Jt;function Po(){if(Jt==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Jt=!0}))}finally{Jt=Jt||!1}return Jt}function Ht(i){return Po()?i:!!i.capture}var Et;function Es(){if(Et==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Et=!1,Et;if("scrollBehavior"in document.documentElement.style)Et=!0;else{let i=Element.prototype.scrollTo;i?Et=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Et=!1}}return Et}var vi;function Ro(){if(vi==null){let i=typeof document<"u"?document.head:null;vi=!!(i&&(i.createShadowRoot||i.attachShadow))}return vi}function Dn(i){if(Ro()){let o=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function xi(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let o=i.shadowRoot.activeElement;if(o===i)break;i=o}return i}function gt(i){return i.composedPath?i.composedPath()[0]:i.target}function Tn(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function wi(i){return Array.isArray(i)?i:[i]}function ks(i){return i==null?"":typeof i=="string"?i:`${i}px`}function St(i){return i instanceof I?i.nativeElement:i}var Wo=Do(Ln(),1);var Ns=new M("SMOOTH_SCROLL_OPTIONS");var Nn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=f({type:i}),i.\u0275inj=h({}),i})();var $o=new M("NG_SCROLLBAR_OPTIONS");var jn=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:$o,useValue:t}]}}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=f({type:i}),i.\u0275inj=h({imports:[rt,It,Ae,kn,Nn]}),i})();var zn={equal:Yo};function Bn(i,o=zn){let t=Object.keys(i),e=t.reduce((n,a)=>X(v({},n),{[a]:xt(i[a],o)}),{});return{select(n,a=zn){return ni(()=>n(e),a)},update(n,a){let r=e[n];typeof a=="function"?r.update(a):r.set(a)},reset(){t.forEach(n=>{e[n].set(i[n])})}}}function Yo(i,o){return i===o}var ee=(()=>{class i{constructor(){this.INITIAL_STATE={stepper:{state:0,min:0,max:2},productItems:[],productItemsSelected:{},paperConfig:{},sidebarExpanded:!0,paperConfiguration:{},taxs:[],options:{theme:"light",dir:"ltr",layout:"vertical",sidebartype:"full",sidebarpos:"fixed",headerpos:"fixed",boxed:"full",navbarbg:"skin6",sidebarbg:"skin6",logobg:"skin6",active:1,tabStatus:"justify",isCollapsed:!1,innerWidth:window.innerWidth,defaultSidebar:"full",showSettings:!1,showMobileMenu:!1,expandLogo:!1},stepperRef:void 0,outlet:{},paperSource:""},this.#t=Bn(this.INITIAL_STATE),this.stepper$=this.#t.select(t=>t.stepper()),this.productItems=this.#t.select(t=>t.productItems()),this.paperConfig=this.#t.select(t=>t.paperConfig()),this.sidebarExpanded=this.#t.select(t=>t.sidebarExpanded()),this.paperConfiguration=this.#t.select(t=>t.paperConfiguration()),this.taxs=this.#t.select(t=>t.taxs()),this.options=this.#t.select(t=>t.options()),this.expandProductItems=this.#t.select(t=>t.productItems().flatMap(e=>new Array(e.Quantity).fill(v(v({},e),e.Print?.[0]||null)))),this.expandProductItem=this.#t.select(t=>{if(t.productItems().length){let[e]=t.productItems();return[v(v({},e),e.Print?.[0]||null)]}return[]}),this.productItemsSelected$=this.#t.select(t=>t.productItemsSelected()),this.stepperRef=this.#t.select(t=>t.stepperRef()),this.outlet$=this.#t.select(t=>{let e=t.paperConfig().Outlets.findIndex(n=>n.ID===t.paperConfiguration().OutletID);return e!==-1?t.paperConfig().Outlets[e]:null}),this.paperSource=this.#t.select(t=>t.paperSource())}#t;onNextStep(){let t=this.stepper$().state+1;this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onPrevStep(){let t=this.stepper$().state-1;this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onGotoStepper(t){this.#t.update("stepper",X(v({},this.stepper$()),{state:t}))}onChangeProductItems(t){this.#t.update("productItems",t)}onChangePaperConfig(t){this.#t.update("paperConfig",t)}onChangePaperConfiguration(t){this.#t.update("paperConfiguration",t)}onChangeTaxs(t){this.#t.update("taxs",t)}onChangeOptions(t){this.#t.update("options",v(v({},this.options()),t))}onChangeProductItemsSelected(t){this.#t.update("productItemsSelected",t)}onChangeStepperRef(t){this.#t.update("stepperRef",t)}onChangePaperSource(t){this.#t.update("paperSource",t)}onReset(){this.#t.reset()}onToggleSidebarType(){switch(this.options().sidebartype){case"full":case"iconbar":this.onChangeOptions({sidebartype:"mini-sidebar"});break;case"overlay":this.onChangeOptions({showMobileMenu:!this.options().showMobileMenu});break;case"mini-sidebar":this.options().defaultSidebar==="mini-sidebar"?this.onChangeOptions({sidebartype:"full"}):this.onChangeOptions({sidebartype:this.options().defaultSidebar});break;default:}}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Hn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({})}}return i})();function Vt(i,...o){return o.length?o.some(t=>i[t]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Ko=(()=>{class i{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Vn=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({providers:[Ko]})}}return i})();var Un=new Set,kt,qo=(()=>{class i{constructor(t,e){this._platform=t,this._nonce=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Zo}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Go(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(e){return new(e||i)(p(G),p(Gi,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Go(i,o){if(!Un.has(i))try{kt||(kt=document.createElement("style"),o&&kt.setAttribute("nonce",o),kt.setAttribute("type","text/css"),document.head.appendChild(kt)),kt.sheet&&(kt.sheet.insertRule(`@media ${i} {body{ }}`,0),Un.add(i))}catch(t){console.error(t)}}function Zo(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var $n=(()=>{class i{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new V}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Wn(wi(t)).some(n=>this._registerQuery(n).mql.matches)}observe(t){let n=Wn(wi(t)).map(r=>this._registerQuery(r).observable),a=Wi(n);return a=$t(a.pipe(ot(1)),a.pipe(pe(1),me(0))),a.pipe(U(r=>{let s={matches:!1,breakpoints:{}};return r.forEach(({matches:b,query:g})=>{s.matches=s.matches||b,s.breakpoints[g]=b}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let e=this._mediaMatcher.matchMedia(t),a={observable:new Ye(r=>{let s=b=>this._zone.run(()=>r.next(b));return e.addListener(s),()=>{e.removeListener(s)}}).pipe(ut(e),U(({matches:r})=>({query:t,matches:r})),J(this._destroySubject)),mql:e};return this._queries.set(t,a),a}static{this.\u0275fac=function(e){return new(e||i)(p(qo),p(Q))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Wn(i){return i.map(o=>o.split(",")).reduce((o,t)=>o.concat(t)).map(o=>o.trim())}var Rl={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var qn=" ";function tc(i,o,t){let e=Gn(i,o);t=t.trim(),!e.some(n=>n.trim()===t)&&(e.push(t),i.setAttribute(o,e.join(qn)))}function ec(i,o,t){let e=Gn(i,o);t=t.trim();let n=e.filter(a=>a!==t);n.length?i.setAttribute(o,n.join(qn)):i.removeAttribute(o)}function Gn(i,o){return i.getAttribute(o)?.match(/\S+/g)??[]}var ba=200,Mi=class{constructor(o,t){this._letterKeyStream=new V,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new V,this.selectedItem=this._selectedItem;let e=typeof t?.debounceInterval=="number"?t.debounceInterval:ba;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(o),this._setupKeyHandler(e)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(o){this._selectedItemIndex=o}setItems(o){this._items=o}handleKey(o){let t=o.keyCode;o.key&&o.key.length===1?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(o){this._letterKeyStream.pipe(ht(t=>this._pressedLetters.push(t)),me(o),de(()=>this._pressedLetters.length>0),U(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let e=1;e<this._items.length+1;e++){let n=(this._selectedItemIndex+e)%this._items.length,a=this._items[n];if(!this._skipPredicateFn?.(a)&&a.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(a);break}}this._pressedLetters=[]})}},Ne=class{constructor(o,t){this._items=o,this._activeItemIndex=-1,this._activeItem=xt(null),this._wrap=!1,this._typeaheadSubscription=Ft.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this.tabOut=new V,this.change=new V,o instanceof ft?this._itemChangesSubscription=o.changes.subscribe(e=>this._itemsChanged(e.toArray())):ti(o)&&(this._effectRef=en(()=>this._itemsChanged(o()),{injector:t}))}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Mi(t,{debounceInterval:typeof o=="number"?o:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.setActiveItem(e)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(o=!0){return this._homeAndEnd=o,this}withPageUpDown(o=!0,t=10){return this._pageUpAndDown={enabled:o,delta:t},this}setActiveItem(o){let t=this._activeItem();this.updateActiveItem(o),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(o){let t=o.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!o[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let a=this._activeItemIndex+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(a<r?a:r-1,-1);break}else return;default:(n||Vt(o,"shiftKey"))&&this._typeahead?.handleKey(o);return}this._typeahead?.reset(),o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){let t=this._getItemsArray(),e=typeof o=="number"?o:t.indexOf(o),n=t[e];this._activeItem.set(n??null),this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){let t=this._getItemsArray();for(let e=1;e<=t.length;e++){let n=(this._activeItemIndex+o*e+t.length)%t.length,a=t[n];if(!this._skipPredicateFn(a)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,t){let e=this._getItemsArray();if(e[o]){for(;this._skipPredicateFn(e[o]);)if(o+=t,!e[o])return;this.setActiveItem(o)}}_getItemsArray(){return ti(this._items)?this._items():this._items instanceof ft?this._items.toArray():this._items}_itemsChanged(o){this._typeahead?.setItems(o);let t=this._activeItem();if(t){let e=o.indexOf(t);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Yn=class extends Ne{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}},je=class extends Ne{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}};function Ii(i){return i.buttons===0||i.detail===0}function Ei(i){let o=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!o&&o.identifier===-1&&(o.radiusX==null||o.radiusX===1)&&(o.radiusY==null||o.radiusY===1)}var ga=new M("cdk-input-modality-detector-options"),va={ignoreKeys:[18,17,224,91,16]},Zn=650,Ut=Ht({passive:!0,capture:!0}),_a=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(t,e,n,a){this._platform=t,this._mostRecentTarget=null,this._modality=new le(null),this._lastTouchMs=0,this._onKeydown=r=>{this._options?.ignoreKeys?.some(s=>s===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=gt(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<Zn||(this._modality.next(Ii(r)?"keyboard":"mouse"),this._mostRecentTarget=gt(r))},this._onTouchstart=r=>{if(Ei(r)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gt(r)},this._options=v(v({},va),a),this.modalityDetected=this._modality.pipe(pe(1)),this.modalityChanged=this.modalityDetected.pipe(Qi()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Ut),n.addEventListener("mousedown",this._onMousedown,Ut),n.addEventListener("touchstart",this._onTouchstart,Ut)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ut),document.removeEventListener("mousedown",this._onMousedown,Ut),document.removeEventListener("touchstart",this._onTouchstart,Ut))}static{this.\u0275fac=function(e){return new(e||i)(p(G),p(Q),p(Y),p(ga,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Le=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(Le||{}),xa=new M("cdk-focus-monitor-default-options"),Re=Ht({passive:!0,capture:!0}),Xn=(()=>{class i{constructor(t,e,n,a,r){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new V,this._rootNodeFocusAndBlurListener=s=>{let b=gt(s);for(let g=b;g;g=g.parentElement)s.type==="focus"?this._onFocus(s,g):this._onBlur(s,g)},this._document=a,this._detectionMode=r?.detectionMode||Le.IMMEDIATE}monitor(t,e=!1){let n=St(t);if(!this._platform.isBrowser||n.nodeType!==1)return P();let a=Dn(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;let s={checkChildren:e,subject:new V,rootNode:a};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){let e=St(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){let a=St(t),r=this._getDocument().activeElement;a===r?this._getClosestElementsInfo(a).forEach(([s,b])=>this._originChanged(s,e,b)):(this._setOrigin(e),typeof a.focus=="function"&&a.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Le.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused",e==="touch"),t.classList.toggle("cdk-keyboard-focused",e==="keyboard"),t.classList.toggle("cdk-mouse-focused",e==="mouse"),t.classList.toggle("cdk-program-focused",e==="program")}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&e,this._detectionMode===Le.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Zn:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(t,e){let n=this._elementInfo.get(e),a=gt(t);!n||!n.checkChildren&&e!==a||this._originChanged(e,this._getFocusOrigin(a),n)}_onBlur(t,e){let n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n,null))}_emitOrigin(t,e){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Re),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Re)}),this._rootNodeFocusListenerCount.set(e,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(J(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(t){let e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){let n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Re),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Re),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){let e=[];return this._elementInfo.forEach((n,a)=>{(a===t||n.checkChildren&&a.contains(t))&&e.push([a,n])}),e}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:e,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!e||e===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let a=t.labels;if(a){for(let r=0;r<a.length;r++)if(a[r].contains(e))return!0}return!1}static{this.\u0275fac=function(e){return new(e||i)(p(Q),p(G),p(_a),p(Y,8),p(xa,8))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Dt=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Dt||{}),Qn="cdk-high-contrast-black-on-white",Kn="cdk-high-contrast-white-on-black",Ci="cdk-high-contrast-active",Jn=(()=>{class i{constructor(t,e){this._platform=t,this._document=e,this._breakpointSubscription=A($n).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Dt.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,a=(n&&n.backgroundColor||"").replace(/ /g,"");switch(t.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Dt.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Dt.BLACK_ON_WHITE}return Dt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Ci,Qn,Kn),this._hasCheckedHighContrastMode=!0;let e=this.getHighContrastMode();e===Dt.BLACK_ON_WHITE?t.add(Ci,Qn):e===Dt.WHITE_ON_BLACK&&t.add(Ci,Kn)}}static{this.\u0275fac=function(e){return new(e||i)(p(G),p(Y))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ya=["text"],wa=[[["mat-icon"]],"*"],Ca=["mat-icon","*"];function Ma(i,o){if(i&1&&D(0,"mat-pseudo-checkbox",1),i&2){let t=y();w("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function Ia(i,o){if(i&1&&D(0,"mat-pseudo-checkbox",3),i&2){let t=y();w("disabled",t.disabled)}}function Ea(i,o){if(i&1&&(c(0,"span",4),u(1),m()),i&2){let t=y();d(),ye("(",t.group.label,")")}}function Sa(){return!0}var ka=new M("mat-sanity-checks",{providedIn:"root",factory:Sa}),L=(()=>{class i{constructor(t,e,n){this._sanityChecks=e,this._document=n,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Tn()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}static{this.\u0275fac=function(e){return new(e||i)(p(Jn),p(ka,8),p(Y))}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[It,It]})}}return i})();var ie=(()=>{class i{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Z=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Z||{}),Si=class{constructor(o,t,e,n=!1){this._renderer=o,this.element=t,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=Z.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},eo=Ht({passive:!0,capture:!0}),ki=class{constructor(){this._events=new Map,this._delegateEventHandler=o=>{let t=gt(o);t&&this._events.get(o.type)?.forEach((e,n)=>{(n===t||n.contains(t))&&e.forEach(a=>a.handleEvent(o))})}}addHandler(o,t,e,n){let a=this._events.get(t);if(a){let r=a.get(e);r?r.add(n):a.set(e,new Set([n]))}else this._events.set(t,new Map([[e,new Set([n])]])),o.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,eo)})}removeHandler(o,t,e){let n=this._events.get(o);if(!n)return;let a=n.get(t);a&&(a.delete(e),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(o),document.removeEventListener(o,this._delegateEventHandler,eo)))}},io={enterDuration:225,exitDuration:150},Da=800,no=Ht({passive:!0,capture:!0}),oo=["mousedown","touchstart"],ao=["mouseup","mouseleave","touchend","touchcancel"],Di=class i{static{this._eventManager=new ki}constructor(o,t,e,n){this._target=o,this._ngZone=t,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=St(e))}fadeInRipple(o,t,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=v(v({},io),e.animation);e.centered&&(o=n.left+n.width/2,t=n.top+n.height/2);let r=e.radius||Ta(o,t,n),s=o-n.left,b=t-n.top,g=a.enterDuration,_=document.createElement("div");_.classList.add("mat-ripple-element"),_.style.left=`${s-r}px`,_.style.top=`${b-r}px`,_.style.height=`${r*2}px`,_.style.width=`${r*2}px`,e.color!=null&&(_.style.backgroundColor=e.color),_.style.transitionDuration=`${g}ms`,this._containerElement.appendChild(_);let Tt=window.getComputedStyle(_),Wt=Tt.transitionProperty,Ot=Tt.transitionDuration,At=Wt==="none"||Ot==="0s"||Ot==="0s, 0s"||n.width===0&&n.height===0,vt=new Si(this,_,e,At);_.style.transform="scale3d(1, 1, 1)",vt.state=Z.FADING_IN,e.persistent||(this._mostRecentTransientRipple=vt);let se=null;return!At&&(g||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Hi=()=>{se&&(se.fallbackTimer=null),clearTimeout(Vi),this._finishRippleTransition(vt)},$e=()=>this._destroyRipple(vt),Vi=setTimeout($e,g+100);_.addEventListener("transitionend",Hi),_.addEventListener("transitioncancel",$e),se={onTransitionEnd:Hi,onTransitionCancel:$e,fallbackTimer:Vi}}),this._activeRipples.set(vt,se),(At||!g)&&this._finishRippleTransition(vt),vt}fadeOutRipple(o){if(o.state===Z.FADING_OUT||o.state===Z.HIDDEN)return;let t=o.element,e=v(v({},io),o.config.animation);t.style.transitionDuration=`${e.exitDuration}ms`,t.style.opacity="0",o.state=Z.FADING_OUT,(o._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(o)}fadeOutAll(){this._getActiveRipples().forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){let t=St(o);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,oo.forEach(e=>{i._eventManager.addHandler(this._ngZone,e,t,this)}))}handleEvent(o){o.type==="mousedown"?this._onMousedown(o):o.type==="touchstart"?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ao.forEach(t=>{this._triggerElement.addEventListener(t,this,no)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(o){o.state===Z.FADING_IN?this._startFadeOutTransition(o):o.state===Z.FADING_OUT&&this._destroyRipple(o)}_startFadeOutTransition(o){let t=o===this._mostRecentTransientRipple,{persistent:e}=o.config;o.state=Z.VISIBLE,!e&&(!t||!this._isPointerDown)&&o.fadeOut()}_destroyRipple(o){let t=this._activeRipples.get(o)??null;this._activeRipples.delete(o),this._activeRipples.size||(this._containerRect=null),o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),o.state=Z.HIDDEN,t!==null&&(o.element.removeEventListener("transitionend",t.onTransitionEnd),o.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),o.element.remove()}_onMousedown(o){let t=Ii(o),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Da;!this._target.rippleDisabled&&!t&&!e&&(this._isPointerDown=!0,this.fadeInRipple(o.clientX,o.clientY,this._target.rippleConfig))}_onTouchStart(o){if(!this._target.rippleDisabled&&!Ei(o)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=o.changedTouches;if(t)for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(o=>{let t=o.state===Z.VISIBLE||o.config.terminateOnPointerUp&&o.state===Z.FADING_IN;!o.config.persistent&&t&&o.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let o=this._triggerElement;o&&(oo.forEach(t=>i._eventManager.removeHandler(t,o,this)),this._pointerUpEventsRegistered&&(ao.forEach(t=>o.removeEventListener(t,this,no)),this._pointerUpEventsRegistered=!1))}};function Ta(i,o,t){let e=Math.max(Math.abs(i-t.left),Math.abs(i-t.right)),n=Math.max(Math.abs(o-t.top),Math.abs(o-t.bottom));return Math.sqrt(e*e+n*n)}var Oa=new M("mat-ripple-global-options"),Fi=(()=>{class i{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,e,n,a,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Di(this,e,t,n)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:v(v(v({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,e,v(v({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,v(v({},this.rippleConfig),t))}static{this.\u0275fac=function(e){return new(e||i)(l(I),l(Q),l(G),l(Oa,8),l(fe,8))}}static{this.\u0275dir=S({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){e&2&&N("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),ne=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L,L]})}}return i})(),Aa=(()=>{class i{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(e){return new(e||i)(l(fe,8))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){e&2&&N("mat-pseudo-checkbox-indeterminate",n.state==="indeterminate")("mat-pseudo-checkbox-checked",n.state==="checked")("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal",n.appearance==="minimal")("mat-pseudo-checkbox-full",n.appearance==="full")("_mat-animation-noopable",n._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[R],decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),Fa=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L]})}}return i})(),Pa=new M("MAT_OPTION_PARENT_COMPONENT");var Ra=new M("MatOptgroup");var La=0,Ti=class{constructor(o,t=!1){this.source=o,this.isUserInput=t}},Ec=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,e,n,a){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${La++}`,this.onSelectionChange=new C,this._stateChanges=new V}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,e){let n=this._getHostElement();typeof n.focus=="function"&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Vt(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Ti(this,t))}static{this.\u0275fac=function(e){return new(e||i)(l(I),l(q),l(Pa,8),l(Ra,8))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-option"]],viewQuery:function(e,n){if(e&1&&at(ya,7),e&2){let a;z(a=B())&&(n._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,n){e&1&&E("click",function(){return n._selectViaInteraction()})("keydown",function(r){return n._handleKeydown(r)}),e&2&&(Nt("id",n.id),H("aria-selected",n.selected)("aria-disabled",n.disabled.toString()),N("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",nt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[it,R],ngContentSelectors:Ca,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){e&1&&($(wa),k(0,Ma,1,2,"mat-pseudo-checkbox",1),W(1),c(2,"span",2,0),W(4,1),m(),k(5,Ia,1,1,"mat-pseudo-checkbox",3)(6,Ea,2,1,"span",4),D(7,"div",5)),e&2&&(j(n.multiple?0:-1),d(5),j(!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator?5:-1),d(),j(n.group&&n.group._inert?6:-1),d(),w("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[Aa,Fi],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Sc(i,o,t){if(t.length){let e=o.toArray(),n=t.toArray(),a=0;for(let r=0;r<i+1;r++)e[r].group&&e[r].group===n[a]&&a++;return a}return 0}function kc(i,o,t,e){return i<t?i:i+o>t+e?Math.max(0,i-e+o):t}var Dc=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[ne,L,Fa]})}}return i})();var ja=new M("MatFormField");var oe=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L,rt,Vn,L]})}}return i})();var ro=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L,oe,oe,Hn,L]})}}return i})();var za=["*"];function Ba(i,o){i&1&&W(0)}var Pi=(()=>{class i{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(e){return new(e||i)(l(I))}}static{this.\u0275dir=S({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return i})(),Ri=(()=>{class i{constructor(t){this.template=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=S({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return i})(),Ha=0;var dt={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},Li=new M("STEPPER_GLOBAL_OPTIONS"),ze=(()=>{class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=t}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(t){this._customError=t}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new C,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(t=>t.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static{this.\u0275fac=function(e){return new(e||i)(l(ue(()=>Be)),l(Li,8))}}static{this.\u0275cmp=F({type:i,selectors:[["cdk-step"]],contentQueries:function(e,n,a){if(e&1&&(K(a,Ri,5),K(a,cn,5)),e&2){let r;z(r=B())&&(n.stepLabel=r.first),z(r=B())&&(n._childForms=r)}},viewQuery:function(e,n){if(e&1&&at(bt,7),e&2){let a;z(a=B())&&(n.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",nt],optional:[2,"optional","optional",nt],completed:[2,"completed","completed",nt],hasError:[2,"hasError","hasError",nt]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[it,Pt,R],ngContentSelectors:za,decls:1,vars:0,template:function(e,n){e&1&&($(),k(0,Ba,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return i})(),Be=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this.steps&&this._steps?(this._isValidIndex(t),this.selected?._markAsInteracted(),this._selectedIndex!==t&&!this._anyControlsInvalidOrPending(t)&&(t>=this._selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=t}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation(t==="vertical")}constructor(t,e,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new V,this.steps=new ft,this._sortedHeaders=new ft,this.linear=!1,this._selectedIndex=0,this.selectionChange=new C,this.selectedIndexChange=new C,this._orientation="horizontal",this._groupId=Ha++}ngAfterContentInit(){this._steps.changes.pipe(ut(this._steps),J(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(e=>e._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(ut(this._stepHeader),J(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((e,n)=>e._elementRef.nativeElement.compareDocumentPosition(n._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new je(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:P()).pipe(ut(this._layoutDirection()),J(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){let e=t-this._selectedIndex;return e<0?this._layoutDirection()==="rtl"?"next":"previous":e>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(t,e=dt.NUMBER){let n=this.steps.toArray()[t],a=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,a):this._getGuidelineLogic(n,a,e)}_getDefaultIndicatorLogic(t,e){return t._showError()&&t.hasError&&!e?dt.ERROR:!t.completed||e?dt.NUMBER:t.editable?dt.EDIT:dt.DONE}_getGuidelineLogic(t,e,n=dt.NUMBER){return t._showError()&&t.hasError&&!e?dt.ERROR:t.completed&&!e?dt.DONE:t.completed&&e?n:t.editable&&e?dt.EDIT:n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){let e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){let e=Vt(t),n=t.keyCode,a=this._keyManager;a.activeItemIndex!=null&&!e&&(n===32||n===13)?(this.selectedIndex=a.activeItemIndex,t.preventDefault()):a.setFocusOrigin("keyboard").onKeydown(t)}_anyControlsInvalidOrPending(t){return this.linear&&t>=0?this.steps.toArray().slice(0,t).some(e=>{let n=e.stepControl;return(n?n.invalid||n.pending||!e.interacted:!e.completed)&&!e.optional&&!e._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let t=this._elementRef.nativeElement,e=xi();return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}static{this.\u0275fac=function(e){return new(e||i)(l(Te,8),l(q),l(I))}}static{this.\u0275dir=S({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(e,n,a){if(e&1&&(K(a,ze,5),K(a,Pi,5)),e&2){let r;z(r=B())&&(n._steps=r),z(r=B())&&(n._stepHeader=r)}},inputs:{linear:[2,"linear","linear",nt],selectedIndex:[2,"selectedIndex","selectedIndex",tn],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[it]})}}return i})();var so=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[It]})}}return i})();var Va=["*"],He;function Ua(){if(He===void 0&&(He=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(He=i.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return He}function ae(i){return Ua()?.createHTML(i)||i}function lo(i){return Error(`Unable to find icon with the name "${i}"`)}function Wa(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function co(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function mo(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var mt=class{constructor(o,t,e){this.url=o,this.svgText=t,this.options=e}},$a=(()=>{class i{constructor(t,e,n,a){this._httpClient=t,this._sanitizer=e,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,a){return this._addSvgIconConfig(t,e,new mt(n,null,a))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,a){let r=this._sanitizer.sanitize(Lt.HTML,n);if(!r)throw mo(n);let s=ae(r);return this._addSvgIconConfig(t,e,new mt("",s,a))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new mt(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){let a=this._sanitizer.sanitize(Lt.HTML,e);if(!a)throw mo(e);let r=ae(a);return this._addSvgIconSetConfig(t,new mt("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(Lt.RESOURCE_URL,t);if(!e)throw co(t);let n=this._cachedIconsByUrl.get(e);return n?P(Ve(n)):this._loadSvgIconFromConfig(new mt(t,null)).pipe(ht(a=>this._cachedIconsByUrl.set(e,a)),U(a=>Ve(a)))}getNamedSvgIcon(t,e=""){let n=po(e,t),a=this._svgIconConfigs.get(n);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(e,t),a)return this._svgIconConfigs.set(n,a),this._getSvgFromConfig(a);let r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Ui(lo(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?P(Ve(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(U(e=>Ve(e)))}_getSvgFromIconSetConfigs(t,e){let n=this._extractIconWithNameFromAnySet(t,e);if(n)return P(n);let a=e.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe($i(s=>{let g=`Loading icon set URL: ${this._sanitizer.sanitize(Lt.RESOURCE_URL,r.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(g)),P(null)})));return ce(a).pipe(U(()=>{let r=this._extractIconWithNameFromAnySet(t,e);if(!r)throw lo(t);return r}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){let a=e[n];if(a.svgText&&a.svgText.toString().indexOf(t)>-1){let r=this._svgElementFromConfig(a),s=this._extractSvgIconFromSet(r,t,a.options);if(s)return s}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ht(e=>t.svgText=e),U(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?P(null):this._fetchIcon(t).pipe(ht(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){let a=t.querySelector(`[id="${e}"]`);if(!a)return null;let r=a.cloneNode(!0);if(r.removeAttribute("id"),r.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(r,n);if(r.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(r),n);let s=this._svgElementFromString(ae("<svg></svg>"));return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString(ae("<svg></svg>")),n=t.attributes;for(let a=0;a<n.length;a++){let{name:r,value:s}=n[a];r!=="id"&&e.setAttribute(r,s)}for(let a=0;a<t.childNodes.length;a++)t.childNodes[a].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[a].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:n}=t,a=n?.withCredentials??!1;if(!this._httpClient)throw Wa();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let r=this._sanitizer.sanitize(Lt.RESOURCE_URL,e);if(!r)throw co(e);let s=this._inProgressUrlFetches.get(r);if(s)return s;let b=this._httpClient.get(r,{responseType:"text",withCredentials:a}).pipe(U(g=>ae(g)),Ki(()=>this._inProgressUrlFetches.delete(r)),qi());return this._inProgressUrlFetches.set(r,b),b}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(po(t,e),n),this}_addSvgIconSetConfig(t,e){let n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){let a=this._resolvers[n](e,t);if(a)return Ya(a)?new mt(a.url,null,a.options):new mt(a,null)}}static{this.\u0275fac=function(e){return new(e||i)(p(an,8),p(rn),p(Y,8),p(he))}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ve(i){return i.cloneNode(!0)}function po(i,o){return i+":"+o}function Ya(i){return!!(i.url&&i.options)}var Qa=new M("MAT_ICON_DEFAULT_OPTIONS"),Ka=new M("mat-icon-location",{providedIn:"root",factory:qa});function qa(){let i=A(Y),o=i?i.location:null;return{getPathname:()=>o?o.pathname+o.search:""}}var uo=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ga=uo.map(i=>`[${i}]`).join(", "),Za=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{class i{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,n,a,r,s){this._elementRef=t,this._iconRegistry=e,this._location=a,this._errorHandler=r,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ft.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let n=t.childNodes[e];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),e.forEach(n=>t.classList.add(n)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((n,a)=>{n.forEach(r=>{a.setAttribute(r.name,`url('${t}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(Ga),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<e.length;a++)uo.forEach(r=>{let s=e[a],b=s.getAttribute(r),g=b?b.match(Za):null;if(g){let _=n.get(s);_||(_=[],n.set(s,_)),_.push({name:r,value:g[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(ot(1)).subscribe(a=>this._setSvgElement(a),a=>{let r=`Error retrieving icon ${e}:${n}! ${a.message}`;this._errorHandler.handleError(new Error(r))})}}static{this.\u0275fac=function(e){return new(e||i)(l(I),l($a),Ze("aria-hidden"),l(Ka),l(he),l(Qa,8))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(e,n){e&2&&(H("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Qt(n.color?"mat-"+n.color:""),N("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",nt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[it,R],ngContentSelectors:Va,decls:1,vars:0,template:function(e,n){e&1&&($(),W(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),fo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L,L]})}}return i})();function Xa(i,o){if(i&1&&yt(0,2),i&2){let t=y();w("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function Ja(i,o){if(i&1&&(c(0,"span",7),u(1),m()),i&2){let t=y(2);d(),T(t._getDefaultTextForState(t.state))}}function tr(i,o){if(i&1&&(c(0,"span",8),u(1),m()),i&2){let t=y(3);d(),T(t._intl.completedLabel)}}function er(i,o){if(i&1&&(c(0,"span",8),u(1),m()),i&2){let t=y(3);d(),T(t._intl.editableLabel)}}function ir(i,o){if(i&1&&(k(0,tr,2,1,"span",8)(1,er,2,1,"span",8),c(2,"mat-icon",7),u(3),m()),i&2){let t=y(2);j(t.state==="done"?0:t.state==="edit"?1:-1),d(3),T(t._getDefaultTextForState(t.state))}}function nr(i,o){if(i&1&&k(0,Ja,2,1,"span",7)(1,ir,4,2,"mat-icon",7),i&2){let t,e=y();j((t=e.state)==="number"?0:1)}}function or(i,o){i&1&&(c(0,"div",4),yt(1,9),m()),i&2&&(d(),w("ngTemplateOutlet",o.template))}function ar(i,o){if(i&1&&(c(0,"div",4),u(1),m()),i&2){let t=y();d(),T(t.label)}}function rr(i,o){if(i&1&&(c(0,"div",5),u(1),m()),i&2){let t=y();d(),T(t._intl.optionalLabel)}}function sr(i,o){if(i&1&&(c(0,"div",6),u(1),m()),i&2){let t=y();d(),T(t.errorMessage)}}var go=["*"];function lr(i,o){}function cr(i,o){if(i&1&&(W(0),k(1,lr,0,0,"ng-template",0)),i&2){let t=y();d(),w("cdkPortalOutlet",t._portal)}}var vo=(i,o)=>({step:i,i:o}),_o=i=>({animationDuration:i}),xo=(i,o)=>({value:i,params:o});function dr(i,o){i&1&&W(0)}function mr(i,o){i&1&&D(0,"div",6)}function pr(i,o){if(i&1&&(yt(0,5),k(1,mr,1,0,"div",6)),i&2){let t=o.$implicit,e=o.$index,n=o.$count;y(2);let a=xe(4);w("ngTemplateOutlet",a)("ngTemplateOutletContext",qt(3,vo,t,e)),d(),j(e!==n-1?1:-1)}}function ur(i,o){if(i&1){let t=lt();c(0,"div",7),E("@horizontalStepTransition.done",function(n){tt(t);let a=y(2);return et(a._animationDone.next(n))}),yt(1,8),m()}if(i&2){let t=o.$implicit,e=o.$index,n=y(2);N("mat-horizontal-stepper-content-inactive",n.selectedIndex!==e),w("@horizontalStepTransition",qt(8,xo,n._getAnimationDirection(e),Kt(6,_o,n._getAnimationDuration())))("id",n._getStepContentId(e)),H("aria-labelledby",n._getStepLabelId(e)),d(),w("ngTemplateOutlet",t.content)}}function hr(i,o){if(i&1&&(c(0,"div",1)(1,"div",2),ve(2,pr,2,6,null,null,ge),m(),c(4,"div",3),ve(5,ur,2,11,"div",4,ge),m()()),i&2){let t=y();d(2),_e(t.steps),d(3),_e(t.steps)}}function fr(i,o){if(i&1){let t=lt();c(0,"div",9),yt(1,5),c(2,"div",10)(3,"div",11),E("@verticalStepTransition.done",function(n){tt(t);let a=y(2);return et(a._animationDone.next(n))}),c(4,"div",12),yt(5,8),m()()()()}if(i&2){let t=o.$implicit,e=o.$index,n=o.$count,a=y(2),r=xe(4);d(),w("ngTemplateOutlet",r)("ngTemplateOutletContext",qt(10,vo,t,e)),d(),N("mat-stepper-vertical-line",e!==n-1),d(),N("mat-vertical-stepper-content-inactive",a.selectedIndex!==e),w("@verticalStepTransition",qt(15,xo,a._getAnimationDirection(e),Kt(13,_o,a._getAnimationDuration())))("id",a._getStepContentId(e)),H("aria-labelledby",a._getStepLabelId(e)),d(2),w("ngTemplateOutlet",t.content)}}function br(i,o){if(i&1&&ve(0,fr,6,18,"div",9,ge),i&2){let t=y();_e(t.steps)}}function gr(i,o){if(i&1){let t=lt();c(0,"mat-step-header",13),E("click",function(){let n=tt(t).step;return et(n.select())})("keydown",function(n){tt(t);let a=y();return et(a._onKeydown(n))}),m()}if(i&2){let t=o.step,e=o.i,n=y();N("mat-horizontal-stepper-header",n.orientation==="horizontal")("mat-vertical-stepper-header",n.orientation==="vertical"),w("tabIndex",n._getFocusIndex()===e?0:-1)("id",n._getStepLabelId(e))("index",e)("state",n._getIndicatorType(e,t.state))("label",t.stepLabel||t.label)("selected",n.selectedIndex===e)("active",n._stepIsNavigable(e,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",n._iconOverrides)("disableRipple",n.disableRipple||!n._stepIsNavigable(e,t))("color",t.color||n.color),H("aria-posinset",e+1)("aria-setsize",n.steps.length)("aria-controls",n._getStepContentId(e))("aria-selected",n.selectedIndex==e)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",n._stepIsNavigable(e,t)?null:!0)}}var re=(()=>{class i extends Ri{static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=_t(i)))(n||i)}})()}static{this.\u0275dir=S({type:i,selectors:[["","matStepLabel",""]],standalone:!0,features:[st]})}}return i})(),Ue=(()=>{class i{constructor(){this.changes=new V,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function vr(i){return i||new Ue}var _r={provide:Ue,deps:[[new qe,new Ge,Ue]],useFactory:vr},Ni=(()=>{class i extends Pi{constructor(t,e,n,a){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof re?null:this.label}_templateLabel(){return this.label instanceof re?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return t=="number"?`${this.index+1}`:t=="edit"?"create":t=="error"?"warning":t}static{this.\u0275fac=function(e){return new(e||i)(l(Ue),l(Xn),l(I),l(q))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(e,n){e&2&&Qt("mat-"+(n.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[st,R],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(e,n){if(e&1&&(D(0,"div",0),c(1,"div")(2,"div",1),k(3,Xa,1,2,"ng-container",2)(4,nr,2,1),m()(),c(5,"div",3),k(6,or,2,1,"div",4)(7,ar,2,1,"div",4)(8,rr,2,1,"div",5)(9,sr,2,1,"div",6),m()),e&2){let a;w("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disableRipple),d(),ei("mat-step-icon-state-",n.state," mat-step-icon"),N("mat-step-icon-selected",n.selected),d(2),j(n.iconOverrides&&n.iconOverrides[n.state]?3:4),d(2),N("mat-step-label-active",n.active)("mat-step-label-selected",n.selected)("mat-step-label-error",n.state=="error"),d(),j((a=n._templateLabel())?6:n._stringLabel()?7:-1,a),d(2),j(n.optional&&n.state!="error"?8:-1),d(),j(n.state==="error"?9:-1)}},dependencies:[Fi,we,ho],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-app-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-app-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-app-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-app-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-app-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-app-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-app-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-app-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-app-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-app-on-primary))}'],encapsulation:2,changeDetection:0})}}return i})(),yo="500ms",wo="225ms",bo={horizontalStepTransition:ai("horizontalStepTransition",[Ct("previous",wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Ct("current",wt({transform:"none",visibility:"inherit"})),Ct("next",wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),li("* => *",si([ri("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),di("@*",ci(),{optional:!0})]),{params:{animationDuration:yo}})]),verticalStepTransition:ai("verticalStepTransition",[Ct("previous",wt({height:"0px",visibility:"hidden"})),Ct("next",wt({height:"0px",visibility:"hidden"})),Ct("current",wt({height:"*",visibility:"inherit"})),li("* <=> current",si([ri("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),di("@*",ci(),{optional:!0})]),{params:{animationDuration:wo}})])},ji=(()=>{class i{constructor(t){this.templateRef=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=S({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return i})(),zi=(()=>{class i{constructor(t){this._template=t}static{this.\u0275fac=function(e){return new(e||i)(l(bt))}}static{this.\u0275dir=S({type:i,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return i})(),Bi=(()=>{class i extends ze{constructor(t,e,n,a){super(t,a),this._errorStateMatcher=e,this._viewContainerRef=n,this._isSelected=Ft.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Yt(()=>this._stepper.selectionChange.pipe(U(t=>t.selectedStep===this),ut(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new Xt(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){let n=this._errorStateMatcher.isErrorState(t,e),a=!!(t&&t.invalid&&this.interacted);return n||a}static{this.\u0275fac=function(e){return new(e||i)(l(ue(()=>We)),l(ie,4),l(be),l(Li,8))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-step"]],contentQueries:function(e,n,a){if(e&1&&(K(a,re,5),K(a,zi,5)),e&2){let r;z(r=B())&&(n.stepLabel=r.first),z(r=B())&&(n._lazyContent=r.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[ct([{provide:ie,useExisting:i},{provide:ze,useExisting:i}]),st,R],ngContentSelectors:go,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,n){e&1&&($(),k(0,cr,2,1,"ng-template"))},dependencies:[Sn],encapsulation:2,changeDetection:0})}}return i})(),We=(()=>{class i extends Be{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,e,n){super(t,e,n),this._stepHeader=void 0,this._steps=void 0,this.steps=new ft,this.animationDone=new C,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new V,this._animationDuration="",this._isServer=!A(G).isBrowser;let a=n.nativeElement.nodeName.toLowerCase();this.orientation=a==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(J(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(J(this._destroyed)).subscribe(t=>{t.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(t,e){return e.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?yo:wo}static{this.\u0275fac=function(e){return new(e||i)(l(Te,8),l(q),l(I))}}static{this.\u0275cmp=F({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,n,a){if(e&1&&(K(a,Bi,5),K(a,ji,5)),e&2){let r;z(r=B())&&(n._steps=r),z(r=B())&&(n._icons=r)}},viewQuery:function(e,n){if(e&1&&at(Ni,5),e&2){let a;z(a=B())&&(n._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(e,n){e&2&&(H("aria-orientation",n.orientation),N("mat-stepper-horizontal",n.orientation==="horizontal")("mat-stepper-vertical",n.orientation==="vertical")("mat-stepper-label-position-end",n.orientation==="horizontal"&&n.labelPosition=="end")("mat-stepper-label-position-bottom",n.orientation==="horizontal"&&n.labelPosition=="bottom")("mat-stepper-header-position-bottom",n.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[ct([{provide:Be,useExisting:i}]),st,R],ngContentSelectors:go,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(e,n){if(e&1&&($(),k(0,dr,1,0)(1,hr,7,0,"div",1)(2,br,2,0)(3,gr,1,23,"ng-template",null,0,ii)),e&2){let a;j(n._isServer?0:-1),d(),j((a=n.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[we,Ni],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-app-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-app-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-app-outline));top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[bo.horizontalStepTransition,bo.verticalStepTransition]},changeDetection:0})}}return i})();var Co=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({providers:[_r,ie],imports:[L,rt,Ae,so,fo,ne,We,Ni,L]})}}return i})();var Mo=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=f({type:i})}static{this.\u0275inj=h({imports:[L,ne,L]})}}return i})();var Io=[{path:"",title:"Choose Product",icon:"fas fa-shopping-cart",class:"",label:"",labelClass:"side-badge badge bg-success",extralink:!1,submenu:[]},{path:"",title:"Customize Label",icon:"fas fa-tag",class:"",label:"",labelClass:"",extralink:!1,submenu:[]},{path:"",title:"Print Preview",icon:"fas fa-print",class:"",label:"",labelClass:"",extralink:!1,submenu:[]}];var Eo=(()=>{class i{constructor(){this.collapseSidebar=!1,this.fullScreen=!1,this.MENUITEMS=Io,this.items=new le(this.MENUITEMS)}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Cr=["stepper"];function Mr(i,o){i&1&&(c(0,"div",2)(1,"span",18),u(2,"Barcode Apps"),m()())}function Ir(i,o){i&1&&(c(0,"div",3)(1,"span",19),u(2,"BA"),m()())}function Er(i,o){i&1&&u(0,"Choose Product")}function Sr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function kr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Dr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Tr(i,o){i&1&&(c(0,"div",20)(1,"span",21),u(2,"Select the product that you want to print "),m()())}function Or(i,o){i&1&&u(0,"Customize Label")}function Ar(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Fr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Pr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Rr(i,o){i&1&&(c(0,"div",20)(1,"span",21),u(2,"Configure sticker label layout and visibility"),m()())}function Lr(i,o){i&1&&u(0,"Print Preview")}function Nr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function jr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function zr(i,o){if(i&1&&u(0),i&2){let t=o.index;T(t+1)}}function Br(i,o){i&1&&(c(0,"div",20)(1,"span",21),u(2,"Select the paper type, "),m(),c(3,"span",21),u(4,"then configure adjust the position and margins to ensure accurate sticker placement"),m()())}function Hr(i,o){if(i&1){let t=lt();c(0,"div",14)(1,"a",22),D(2,"img",23),c(3,"strong",24),u(4),m()(),c(5,"ul",25)(6,"li")(7,"a",26),u(8),m()(),c(9,"li")(10,"a",27),E("click",function(){tt(t);let n=y();return et(n.authService.logout())}),D(11,"i",28),c(12,"span"),u(13,"Sign out"),m()()()()()}if(i&2){let t=y();d(4),T(t.username),d(3),w("href","https://"+t.domain(),Je),d(),T(t.domain())}}function Vr(i,o){if(i&1){let t=lt();c(0,"div",15)(1,"a",22),D(2,"img",23),m(),c(3,"ul",25)(4,"li")(5,"a",26),u(6),m()(),c(7,"li")(8,"a",27),E("click",function(){tt(t);let n=y();return et(n.authService.logout())}),D(9,"i",28),c(10,"span"),u(11,"Sign out"),m()()()()()}if(i&2){let t=y();d(5),w("href","https://"+t.domain(),Je),d(),T(t.domain())}}var So=(()=>{class i{handleNotify(){this.notify.emit(!this.showClass)}constructor(t,e){this.menuServise=t,this.router=e,this._formBuilder=A(dn),this.firstFormGroup=this._formBuilder.group({firstCtrl:["",oi.required]}),this.secondFormGroup=this._formBuilder.group({secondCtrl:["",oi.required]}),this.showMenu="",this.showSubMenu="",this.sidebarnavItems=[],this.path="",this.authService=A(gn),this.username="",this.domain=xt(""),this.brand=xt(""),this.showClass=!1,this.notify=new C,this.cdr=A(q),this.storeService=A(ee),this.stepperRef=null,this.injector=A(Rt),this.storeSevice=A(ee),this.menuServise.items.subscribe(n=>{this.sidebarnavItems=n,this.sidebarnavItems.filter(a=>a.submenu.filter(r=>{r.path===this.router.url&&(this.path=a.title)})),this.addExpandClass(this.path)})}addExpandClass(t){t===this.showMenu?this.showMenu="0":this.showMenu=t}ngOnInit(){ln(this.storeService.productItems,{injector:this.injector}).pipe(de(t=>t.length<=0),ht(()=>this.stepperRef?.steps.forEach(t=>t.completed=!1))).subscribe()}addActiveClass(t){t===this.showSubMenu?this.showSubMenu="0":this.showSubMenu=t,window.scroll({top:0,left:0,behavior:"smooth"})}ngAfterViewInit(){this.username=localStorage.getItem("Username"),this.brand.set(localStorage.getItem("Brand")),this.domain.set(localStorage.getItem("Domain")),this.storeService.onChangeStepperRef(this.stepperRef),this.cdr.detectChanges()}onGotoStepper(t){this.storeSevice.onGotoStepper(t)}onStepperSelectionChange(t){this.router.navigate(["/pages"]);let e=[...this.storeService.productItems()];this.storeService.onChangeProductItems(e.map(n=>X(v({},n),{isSelected:!1}))),console.log("event",t),this.storeService.onGotoStepper(t),this.stepperRef.steps.forEach((n,a)=>{a>t&&(n.completed=!1),a<=t&&(a===0&&this.storeService.productItems().length<=0?n.completed=!1:n.completed=!0)}),console.log("completed",this.stepperRef.steps.toArray().map(n=>n.completed))}static{this.\u0275fac=function(e){return new(e||i)(l(Eo),l(Ce))}}static{this.\u0275cmp=F({type:i,selectors:[["app-vertical-sidebar"]],viewQuery:function(e,n){if(e&1&&at(Cr,5),e&2){let a;z(a=B())&&(n.stepperRef=a.first)}},inputs:{showClass:"showClass"},outputs:{notify:"notify"},standalone:!0,features:[R],decls:32,vars:7,consts:[["stepper",""],[1,"d-flex","flex-column","h-100","position-relative"],[1,"d-flex","align-items-center",2,"height","61px","border-bottom","1px solid #ddd","padding","0 2rem"],[1,"d-flex","align-items-center","justify-content-center",2,"height","61px","border-bottom","1px solid #ddd"],[1,"sidebar-nav","flex-grow-1"],["id","sidebarnav"],["orientation","vertical",3,"selectedIndexChange","selectedIndex","linear"],[3,"completed"],["matStepLabel",""],["matStepperIcon","done"],["matStepperIcon","create"],["matStepperIcon","edit"],["matStepContent",""],[1,"d-flex","flex-column","px-2","py-2"],["ngbDropdown","",1,"dropdown",2,"margin","0 1.5rem"],["ngbDropdown","",1,"dropdown"],[1,"collapse__icon","z-1",3,"click"],[1,"fas","fa-caret-left"],[1,"hide-menu","fs-6","fw-normal","text-capitalize"],[1,"fs-6","fw-normal","text-capitalize"],[1,"d-flex","flex-column","form-text","fw-normal","fs-2","my-0"],[1,""],["aria-expanded","false","data-bs-toggle","dropdown","href","javascript:void(0)","ngbDropdownToggle","",1,"hide-menu","d-flex","align-items-center","link-body-emphasis","text-decoration-none","dropdown-toggle",2,"margin-right","0"],["alt","","height","32","src","assets/images/users/user4.jpg","width","32",1,"rounded-circle","me-2"],[1,"hide-menu","m-0"],["ngbDropdownMenu","",1,"dropdown-menu","text-small","shadow","hide-menu"],["rel","noopener noreferrer","target","_blank",1,"dropdown-item",3,"href"],["href","javascript:void(0)",1,"dropdown-item","text-dark","d-flex","gap-2","align-items-center","fs-3",3,"click"],[1,"fas","fa-sign-out-alt"]],template:function(e,n){if(e&1){let a=lt();c(0,"div",1),k(1,Mr,3,0,"div",2)(2,Ir,3,0,"div",3),c(3,"nav",4)(4,"ul",5),D(5,"br"),c(6,"mat-stepper",6,0),E("selectedIndexChange",function(s){return tt(a),et(n.onStepperSelectionChange(s))}),c(8,"mat-step",7),k(9,Er,1,0,"ng-template",8)(10,Sr,1,1,"ng-template",9)(11,kr,1,1,"ng-template",10)(12,Dr,1,1,"ng-template",11)(13,Tr,3,0,"ng-template",12),m(),c(14,"mat-step",7),k(15,Or,1,0,"ng-template",8)(16,Ar,1,1,"ng-template",9)(17,Fr,1,1,"ng-template",10)(18,Pr,1,1,"ng-template",11)(19,Rr,3,0,"ng-template",12),m(),c(20,"mat-step",7),k(21,Lr,1,0,"ng-template",8)(22,Nr,1,1,"ng-template",9)(23,jr,1,1,"ng-template",10)(24,zr,1,1,"ng-template",11)(25,Br,5,0,"ng-template",12),m()()()(),c(26,"div",13),D(27,"hr"),k(28,Hr,14,3,"div",14)(29,Vr,12,2,"div",15),m(),c(30,"div",16),E("click",function(){return tt(a),et(n.storeService.onToggleSidebarType())}),D(31,"i",17),m()()}if(e&2){let a,r;d(),j((a=n.storeSevice.options().sidebartype)==="full"?1:a==="mini-sidebar"?2:-1),d(5),w("selectedIndex",n.storeSevice.stepper$().state)("linear",!0),d(2),w("completed",!1),d(6),w("completed",!1),d(6),w("completed",!1),d(8),j((r=n.storeSevice.options().sidebartype)==="full"?28:r==="mini-sidebar"?29:-1)}},dependencies:[Mn,rt,Me,ke,hn,un,pn,Mo,Co,Bi,re,We,ji,zi,Ie,Ee,oe,ro],styles:[".collapse__icon[_ngcontent-%COMP%]{border:1px solid black;border-radius:50%;padding:.5rem;transition:all .5s ease-in-out;position:absolute;top:17px;right:-10px;opacity:0;display:flex;justify-content:center;align-items:center;width:25px;height:25px}.collapse__icon[_ngcontent-%COMP%]:hover{opacity:1}.sidebar-item[_ngcontent-%COMP%]{margin:0 1rem}.sidebar-item.active[_ngcontent-%COMP%]{background:#2075d0;border-radius:4px}.sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]{padding:.5rem;font-weight:400}.sidebar-item[_ngcontent-%COMP%], .sidebar-link.active[_ngcontent-%COMP%], .sidebar-link.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important}.sidebar-item[_ngcontent-%COMP%] .user-profile[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]{margin-left:.5rem}.sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]:hover:not(.active), .sidebar-item[_ngcontent-%COMP%] .sidebar-link[_ngcontent-%COMP%]:hover:not(.active) i[_ngcontent-%COMP%]{background:#ebf3f5;color:#000!important}.sidebar-item[_ngcontent-%COMP%] .sidebar-link.active[_ngcontent-%COMP%], .sidebar-item[_ngcontent-%COMP%] .sidebar-link.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background:initial;color:initial} .mat-stepper-vertical .mat-step-header{padding:15px 32px} .mat-stepper-vertical .mat-vertical-content{padding:0 24px} .mat-stepper-vertical .mat-vertical-content-container{margin-left:44px}"]})}}return i})();var Ur=i=>({"show-sidebar":i}),op=(()=>{class i{constructor(t){this.router=t,this.storeService=A(ee)}Logo(){this.storeService.onChangeOptions({expandLogo:!this.storeService.options().expandLogo})}ngOnInit(){this.router.url==="/"&&this.router.navigate(["/dashboard/classic"]),this.storeService.onChangeOptions({defaultSidebar:this.storeService.options().sidebartype}),this.handleSidebar()}onResize(t){this.handleSidebar()}handleSidebar(){switch(this.storeService.onChangeOptions({innerWidth:window.innerWidth}),this.storeService.options().defaultSidebar){case"full":case"iconbar":this.storeService.options().innerWidth<1170?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;case"overlay":this.storeService.options().innerWidth<767?this.storeService.onChangeOptions({sidebartype:"mini-sidebar"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}toggleSidebarType(){switch(this.storeService.options().sidebartype){case"full":case"iconbar":this.storeService.onChangeOptions({sidebartype:"mini-sidebar"});break;case"overlay":this.storeService.onChangeOptions({showMobileMenu:!this.storeService.options().showMobileMenu});break;case"mini-sidebar":this.storeService.options().defaultSidebar==="mini-sidebar"?this.storeService.onChangeOptions({sidebartype:"full"}):this.storeService.onChangeOptions({sidebartype:this.storeService.options().defaultSidebar});break;default:}}handleClick(t){this.storeService.onChangeOptions({showMobileMenu:t})}static{this.\u0275fac=function(e){return new(e||i)(l(Ce))}}static{this.\u0275cmp=F({type:i,selectors:[["app-full-layout"]],hostBindings:function(e,n){e&1&&E("resize",function(r){return n.onResize(r)},!1,Zi)},standalone:!0,features:[R],decls:5,vars:12,consts:[["id","main-wrapper",2,"height","100vh",3,"ngClass","dir"],[1,"left-sidebar","pt-0",3,"mouseover","mouseout"],[3,"notify","showClass"],[1,"page-wrapper","flex-grow-1","pt-0","z-0",2,"height","inherit"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"aside",1),E("mouseover",function(){return n.Logo()})("mouseout",function(){return n.Logo()}),c(2,"app-vertical-sidebar",2),E("notify",function(r){return n.handleClick(r)}),m()(),c(3,"div",3),D(4,"router-outlet"),m()()),e&2&&(w("ngClass",Kt(10,Ur,n.storeService.options().showMobileMenu))("dir",n.storeService.options().dir),H("data-theme",n.storeService.options().theme)("data-layout",n.storeService.options().layout)("data-sidebartype",n.storeService.options().sidebartype)("data-sidebar-position",n.storeService.options().sidebarpos)("data-header-position",n.storeService.options().headerpos)("data-boxed-layout",n.storeService.options().boxed),d(),H("data-sidebarbg",n.storeService.options().sidebarbg),d(),w("showClass",n.storeService.options().showMobileMenu))},dependencies:[Me,sn,So,jn,bn,Ie,Ee,rt,nn,mn]})}}return i})();var Wr=["*"],up=(()=>{class i{constructor(){this.title="",this.hasValid=!1,this.onClose=new C,this.onCancel=new C,this.onOK=new C,this.activeModal=A(fn)}ngOnInit(){}onCancelHandler(){this.activeModal.close(),this.onCancel.emit()}onCloseHandler(){this.activeModal.close(),this.onClose.emit()}onOKHandler(){this.onOK.emit()}handleKeyboardEvent(t){t.key==="F2"&&this.onOKHandler()}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=F({type:i,selectors:[["app-base-modal"]],hostBindings:function(e,n){e&1&&E("keydown",function(r){return n.handleKeyboardEvent(r)},!1,Xi)},inputs:{title:"title",hasValid:"hasValid"},outputs:{onClose:"onClose",onCancel:"onCancel",onOK:"onOK"},standalone:!0,features:[R],ngContentSelectors:Wr,decls:12,vars:1,consts:[[1,"modal-header"],["id","modal-basic-title",1,"modal-title","font-robotoslab",2,"font-size","16px"],["aria-label","Close","type","button",1,"btn","btn-light-blue","text-primary","px-2","py-1",3,"click"],[1,"fas","fa-times"],[1,"modal-body"],[1,"modal-footer"],["type","button",1,"btn","btn-light-blue","btn-lg","text-primary","fw-semibold","fs-4",3,"click"]],template:function(e,n){e&1&&($(),c(0,"div",0)(1,"h4",1),u(2),m(),c(3,"button",2),E("click",function(){return n.onCloseHandler()}),D(4,"i",3),m()(),c(5,"div",4),W(6),m(),c(7,"div",5)(8,"button",6),E("click",function(){return n.onCancelHandler()}),u(9," Cancel "),m(),c(10,"button",6),E("click",function(){return n.onOKHandler()}),u(11," OK(F2) "),m()()),e&2&&(d(2),ye(" ",n.title," "))},dependencies:[ke],styles:[".modal-header[_ngcontent-%COMP%]{background:#89b03e;display:flex;justify-content:space-between}.modal-title[_ngcontent-%COMP%]{color:#fff}.modal-body[_ngcontent-%COMP%]{max-height:60vh}"]})}}return i})();export{ke as a,up as b,Mn as c,Te as d,It as e,Xt as f,En as g,Ae as h,G as i,Es as j,gt as k,Tn as l,wi as m,ks as n,St as o,jn as p,ee as q,Vt as r,$n as s,Rl as t,tc as u,ec as v,Yn as w,L as x,Pa as y,Ra as z,Ti as A,Ec as B,Sc as C,kc as D,Dc as E,ja as F,So as G,op as H};