dealposbarcode 1.7.8 → 1.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chunk-XF6NYFHE.js → chunk-BT6OUK6X.js} +3 -3
- package/{chunk-BY34KE7H.js → chunk-JICIBBA5.js} +1 -1
- package/{chunk-Q5B7O5PE.js → chunk-PY67MF7G.js} +1 -1
- package/{chunk-GDT24CSJ.js → chunk-R6SFZQFG.js} +1 -1
- package/{chunk-TS4GG226.js → chunk-V3TCV22E.js} +1 -1
- package/index.html +3 -3
- package/{main-5ZSC2QTH.js → main-YQPER324.js} +2 -2
- package/ngsw.json +16 -16
- package/package.json +1 -1
- package/{styles-J3VAN6Z4.css → styles-MX6P4AZ2.css} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-PY67MF7G.js";import{$a as he,$b as ge,Aa as M,Ac as Kt,Ad as ai,Bb as bt,Bc as qt,Bd as ri,C as P,Ca as p,Cd as si,D as Ui,Da as A,Db as Ji,E as pt,Ea as qe,Ed as wt,Fa as Ge,Fd as Ct,Gb as be,Ha as F,Hd as li,I as U,Ia as f,Ib as ti,Ic as ii,Id as ci,J as Wi,Ja as S,Jb as xt,Jd as di,Kb as st,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,sd as rt,ta as ht,tc as B,ub as Je,uc as xe,ud as on,vb as Zi,vc as u,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-UZEILQYY.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
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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as te,b as ne,c as ie}from"./chunk-BY34KE7H.js";import{A as W,D as Z,E as J,F as K,G as Q,I as X,ba as Y,ha as ee,q as I,v as G,w as S,y as B,z as $}from"./chunk-Q5B7O5PE.js";import{$b as M,Ac as T,C as V,Da as y,Ec as z,Fc as j,Ha as D,I as U,Jb as v,Pb as g,Sa as x,Ta as h,Tb as p,Zb as b,ac as L,bc as P,cc as i,dc as o,ec as d,ic as C,jd as R,lc as _,ld as H,mc as c,od as q,q as F,ra as O,sa as E,ub as k,vc as l,wc as N,xc as w,yb as a,zc as A}from"./chunk-UZEILQYY.js";var oe=n=>({"is-invalid":n});function ae(n,m){if(n&1&&(i(0,"swiper-slide")(1,"div",17),d(2,"img",18),i(3,"div",19)(4,"h4",20),l(5),o(),i(6,"div",21)(7,"p",22),l(8),o()()()()()),n&2){let e=m.$implicit;a(2),p("src",e.properties.imgSrc,k),a(3),w(" ",e.properties.title," "),a(3),w(" ",e.properties.description," ")}}function le(n,m){if(n&1&&(i(0,"ng-option",33)(1,"span",35),l(2),o()()),n&2){let e=m.$implicit;p("value",e),a(2),N(e)}}function se(n,m){if(n&1){let e=C();i(0,"div",8)(1,"div",19)(2,"h3",23),l(3," DealPOS Barcode Apps "),o(),i(4,"p",24),l(5," Print Barcode label from your product catalog "),o()(),i(6,"div",25)(7,"div",26)(8,"div",27)(9,"span",28),d(10,"i",29),o(),d(11,"input",30),i(12,"span",31)(13,"ng-select",32),L(14,le,3,2,"ng-option",33,M),o()()()()(),i(16,"button",34),_("click",function(){x(e);let r=c();return h(r.onLoginState())}),l(17," Next "),o()()}if(n&2){let e=c();a(13),p("clearable",!1),a(),P(e.domains())}}function de(n,m){n&1&&(i(0,"span"),l(1,"Username is required."),o())}function me(n,m){if(n&1&&(i(0,"div",47),g(1,de,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("username"))==null||e.errors==null?null:e.errors.required)}}function pe(n,m){if(n&1){let e=C();i(0,"i",66),_("click",function(){x(e);let r=c(3);return h(r.passwordInputType.set("text"))}),o()}}function ce(n,m){if(n&1){let e=C();i(0,"i",67),_("click",function(){x(e);let r=c(3);return h(r.passwordInputType.set("password"))}),o()}}function ue(n,m){if(n&1&&g(0,pe,1,0,"i",64)(1,ce,1,0,"i",65),n&2){let e=c(2);b(e.passwordInputType()==="password"?0:1)}}function fe(n,m){n&1&&(i(0,"span"),l(1,"Password is required."),o())}function ge(n,m){if(n&1&&(i(0,"div",47),g(1,fe,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("password"))==null||e.errors==null?null:e.errors.required)}}function _e(n,m){if(n&1){let e=C();i(0,"div",9)(1,"div",36)(2,"h3",37),l(3,"Sign in"),o(),i(4,"p",38),l(5,"to"),o(),i(6,"div",39)(7,"p",40),l(8),o(),i(9,"a",41)(10,"i",42),_("click",function(){x(e);let r=c();return h(r.onLoginState())}),o()()()(),i(11,"div",19)(12,"div",43)(13,"span",44),d(14,"i",45),o(),d(15,"input",46),o(),g(16,me,3,1,"div",47),o(),i(17,"div",19)(18,"div",48)(19,"span",44),d(20,"i",49),o(),i(21,"div",50),g(22,ue,2,1),d(23,"input",51),o()(),g(24,ge,3,1,"div",47),i(25,"div",52)(26,"a",53),l(27,"Forgot Password?"),o()()(),i(28,"button",54),l(29," Login "),o(),i(30,"div",55)(31,"div",56),d(32,"hr",57),i(33,"p",58),l(34,"or"),o(),d(35,"hr",57),o(),i(36,"button",59),_("click",function(){x(e);let r=c();return h(r.onSigninWithGoogle())}),i(37,"div",60),d(38,"i",61),i(39,"span",62),l(40,"Sign In with Google"),o()()()()()}if(n&2){let e,t,r,u,f,s=c();a(8),w(" (",s.hostFormField," ) "),a(7),p("ngClass",T(8,oe,((e=s.form.get("username"))==null?null:e.invalid)&&!((e=s.form.get("username"))!=null&&e.untouched))),a(),b((t=s.form.get("username"))!=null&&t.invalid&&!((t=s.form.get("username"))!=null&&t.untouched)?16:-1),a(6),b((r=s.form.get("password"))!=null&&r.value.length?22:-1),a(),p("ngClass",T(10,oe,((u=s.form.get("password"))==null?null:u.invalid)&&!((u=s.form.get("password"))!=null&&u.untouched)))("type",s.passwordInputType()),a(),b((f=s.form.get("password"))!=null&&f.invalid&&!((f=s.form.get("password"))!=null&&f.untouched)?24:-1),a(2),p("href","https://"+s.host+"/ForgotPassword",k)}}var re=(()=>{class n{constructor(){this.form=new W({}),this.loginState=v("FORM_DOMAIN"),this.news$=V([]),this.domains=v([".dealpos.co.id",".dealpos.net",".dealpos.com",".dealpos.app"]),this.passwordInputType=v("password"),this.onsubmit=onsubmit,this._destroy=new F,this.authService=y(ee),this.fb=y(Q),this.httpService=y(Y),this.version=v(""),this.regexSanitizeHostname=/^(https?):\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/.*)?$/}get hostFormField(){let e=this.form?.get("subDomain")?.value,t=this.form?.get("domain")?.value;if(e.match(this.regexSanitizeHostname)){let r=new URL(e);return r.origin.slice(0,r.origin.indexOf(".")).concat(t)}else return e.concat(t)}get domainStorage(){let e=this.authService.getDomain(),t=e.indexOf(".");return e.substring(t,e.length)}get host(){let{subDomain:e,domain:t}=this.form.value;return e+t}ngOnInit(){this.initForm(),this.news$=this.httpService.get("v2/content?fetch=children:barcode&sort=sortOrder:asc",void 0,"https://changelog.dealpos.app/umbraco/delivery/api/").pipe(U(e=>e.items))}initForm(){let e=this.authService.getDomain(),[t,r]=e.split("."),u=localStorage.getItem("Username")??"";this.form=this.fb.group({subDomain:[t??"",S.required],domain:[e.substring(e.indexOf(".dealpos"))||this.domains()[0],S.required],username:[u,S.required],password:["",S.required]})}isValidUrl(e){try{return!!new URL(e)}catch{return!1}}onLogin(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value,f="";e.match(this.regexSanitizeHostname)?f=e.replace(t,t):f=e.concat(t);let s={Host:this.isValidUrl(f)?new URL(f).hostname:f,Username:r,Password:u};this.authService.login(s).pipe(E(this._destroy),O(()=>this.authService.redirectUrl())).subscribe()}onSigninWithGoogle(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value;this.authService.signInWithPopup(e+t).pipe(E(this._destroy),O(()=>this.authService.redirectUrl())).subscribe()}onLoginState(){let e=this.loginState();if(e==="FORM_DOMAIN")this.loginState.set("FORM_AUTH");else if(e==="FORM_AUTH"){let t=this.form.get("subDomain").value;this.form.patchValue({subDomain:t.slice(0,t.indexOf("."))}),this.loginState.set("FORM_DOMAIN")}}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}isAppVersionUpdated(){let e=localStorage.getItem("appVersion"),t=I.version;return!!(e&&t&&e.replaceAll(".","")!==t.replaceAll(".",""))}ngAfterViewInit(){this.version.set(I.version)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=D({type:n,selectors:[["app-login"]],standalone:!0,features:[A],decls:23,vars:6,consts:[[1,"container-fluid","border","my-auto","d-flex","flex-column"],[1,"flex-grow-1","d-flex","align-items-center","justify-content-center"],[1,"row",2,"background","#ffffff","max-width","57rem","border-radius","4px"],[1,"p-0","col-12","col-md-6","border-end","d-flex","flex-column","align-items-center","py-4"],[1,"font-robotoslab","fw-normal","fs-6","text-dark"],["pagination","true","pagination-clickable","true","slides-per-view","1"],[1,"p-0","col-12","col-md-6","py-4"],[1,"h-100","d-flex","flex-column","gap-4","my-2","mx-5",3,"ngSubmit","formGroup"],[1,"d-flex","flex-column","justify-content-center","gap-3","h-100",2,"margin-top","-55px"],[1,"d-flex","flex-column","gap-3"],[1,"row","d-md-flex","py-3","px-4"],[1,"col-12","col-md-6","d-flex","align-items-center","gap-2"],[1,"m-0","h-100","d-flex","align-items-center","fs-2","fw-normal"],["alt","dealpos-logo","src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"img-fluid"],[1,"cursor-pointer","col-12","col-md-6","d-flex","justify-content-center","gap-2","justify-content-md-end","align-items-center"],["target","_blank",1,"d-flex","gap-1",3,"href"],[1,"fst-italic","m-0","fs-2","fw-normal","text-dark","cursor-pointer"],[1,"d-flex","flex-column","gap-4"],["alt","",1,"img-fluid",3,"src"],[1,"d-flex","flex-column"],[1,"text-dark",2,"font-size","16px","font-weight","700"],[1,"d-flex","flex-wrap",2,"max-width","22rem"],[1,"fw-normal","text-dark"],[1,"m-0","font-robotoslab","text-dark","fs-6"],[1,"fst-italic","fw-normal","text-secondary-emphasis",2,"font-size","11px"],[1,"row",2,"height","50px"],[1,"col-12","h-100","mb-2","mb-md-0"],[1,"input-group","mb-3","border","rounded"],[1,"input-group-text","border-0","text-dark"],[1,"fas","fa-cloud"],["id","subDomain","formControlName","subDomain","type","text","placeholder","Store Address","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",2,"border-radius","0","font-size","14px"],[1,"input-group-text","p-0",2,"z-index","99"],["formControlName","domain",1,"custom",2,"font-size","14px",3,"clearable"],[3,"value"],["type","button",1,"btn","btn-primary","btn-lg","w-100","font-robotoslab","fs-4",3,"click"],[2,"font-size","14px"],[1,"d-flex","align-baseline","gap-2"],[1,"m-0"],[1,"m-0","d-flex","align-items-end"],[1,"d-flex"],[1,"m-0","d-flex","align-items-end","fw-bold","me-2","font-robotoslab","d-inline-block","text-primary"],["href","#",1,"pe-auto","d-flex","align-items-center"],[1,"fas","fa-edit","d-flex","align-items-center","link-primary","fs-3",3,"click"],[1,"input-group","border","rounded",2,"height","50px"],[1,"input-group-text","text-dark"],[1,"fas","fa-user"],["formControlName","username","type","text","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",3,"ngClass"],[1,"invalid-feedback"],[1,"input-group","d-flex","border","rounded",2,"height","50px"],[1,"fas","fa-key"],[1,"position-relative","flex-grow-1","h-100"],["formControlName","password","placeholder","Password","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","h-100","text-dark",3,"ngClass","type"],[1,"w-100","d-flex","justify-content-end"],[1,"link-underline-light","fs-2","fw-normal",3,"href"],["type","submit",1,"btn","btn-primary","btn-lg","fs-4","font-robotoslab"],[1,"d-flex","flex-column","align-items-center","gap-2"],[1,"d-flex","justify-content-center","gap-2"],[2,"width","150px","border","1px solid rgba(0, 0, 0, 0.85)"],[1,"m-0",2,"line-height","30px"],["type","button",1,"btn","btn-outline-primary","btn-lg","w-100",3,"click"],[1,"h-100","d-flex","align-items-center","justify-content-center","gap-2"],[1,"fab","fa-google","fs-3"],[1,"fw-medium","fs-3"],[4,"ngIf"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),l(5,"New Features"),o(),i(6,"swiper-container",5),L(7,ae,9,3,"swiper-slide",null,M),z(9,"async"),o()(),i(10,"div",6)(11,"form",7),_("ngSubmit",function(){return r.onLogin()}),g(12,se,18,1,"div",8)(13,_e,41,12,"div",9),o()()()(),i(14,"div",10)(15,"div",11)(16,"p",12),l(17," Powered by: "),o(),d(18,"img",13),o(),i(19,"div",14)(20,"a",15)(21,"span",16),l(22),o()()()()()),t&2&&(a(7),P(j(9,4,r.news$)),a(4),p("formGroup",r.form),a(),b(r.loginState()==="FORM_DOMAIN"?12:13),a(8),p("href","https://changelog.dealpos.com/?categories=cat_IOl3P9ko0ayhv&view=complete&v"+r.version().replaceAll(".",""),k),a(2),w("Version ",r.version(),""))},dependencies:[H,R,X,Z,G,B,$,J,K,ie,ne,te,q],styles:[".auth-wrapper[_ngcontent-%COMP%]{min-height:100vh;position:relative}.container-fluid[_ngcontent-%COMP%]{height:100vh}.grid__container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,50%);width:50vw;height:50vh;background:#fff;box-shadow:0 10px 15px -3px #0000001a;border-radius:15px;overflow:hidden}.container[_ngcontent-%COMP%]{height:400px}swiper-container[_ngcontent-%COMP%]{height:100%;width:100%}swiper-slide[_ngcontent-%COMP%]{text-align:center;font-size:12px;background:#fff;display:flex;justify-content:center;align-items:center}swiper-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:250px;height:150px;object-fit:cover;margin:0 auto}.btn[_ngcontent-%COMP%]:hover{background:transparent;color:#337ab7;box-shadow:none}.invalid-feedback[_ngcontent-%COMP%]{display:block}.btn[_ngcontent-%COMP%]{padding:.8rem 0}input[_ngcontent-%COMP%]::placeholder{color:gray;font-size:15px;opacity:.8}input[_ngcontent-%COMP%]{font-size:15px;border-color:#dee2e6}.input-group-text[_ngcontent-%COMP%]{background:transparent;border:none!important}.ng-touched.ng-valid[_ngcontent-%COMP%]{border-color:#dee2e6!important}.form-control[_ngcontent-%COMP%]{border:none!important}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}[_nghost-%COMP%] .ng-select .ng-select-container{border:1px solid #e9edf2;border-radius:0!important}[_nghost-%COMP%] .ng-dropdown-panel.ng-select-bottom{border-radius:4px;overflow:hidden} .ng-select.custom{height:100%!important;border:none!important} .ng-select.custom .ng-select-container{height:100%!important;border-top:none!important;border-right:none!important;border-bottom:none!important;border-radius:4px!important}"]})}}return n})();var Fe=[{path:"",component:re}];export{Fe as AUTH_ROUTES};
|
|
1
|
+
import{a as te,b as ne,c as ie}from"./chunk-JICIBBA5.js";import{A as W,D as Z,E as J,F as K,G as Q,I as X,ba as Y,ha as ee,q as I,v as G,w as S,y as B,z as $}from"./chunk-PY67MF7G.js";import{$b as M,Ac as T,C as V,Da as y,Ec as z,Fc as j,Ha as D,I as U,Jb as v,Pb as g,Sa as x,Ta as h,Tb as p,Zb as b,ac as L,bc as P,cc as i,dc as o,ec as d,ic as C,jd as R,lc as _,ld as H,mc as c,od as q,q as F,ra as O,sa as E,ub as k,vc as l,wc as N,xc as w,yb as a,zc as A}from"./chunk-UZEILQYY.js";var oe=n=>({"is-invalid":n});function ae(n,m){if(n&1&&(i(0,"swiper-slide")(1,"div",17),d(2,"img",18),i(3,"div",19)(4,"h4",20),l(5),o(),i(6,"div",21)(7,"p",22),l(8),o()()()()()),n&2){let e=m.$implicit;a(2),p("src",e.properties.imgSrc,k),a(3),w(" ",e.properties.title," "),a(3),w(" ",e.properties.description," ")}}function le(n,m){if(n&1&&(i(0,"ng-option",33)(1,"span",35),l(2),o()()),n&2){let e=m.$implicit;p("value",e),a(2),N(e)}}function se(n,m){if(n&1){let e=C();i(0,"div",8)(1,"div",19)(2,"h3",23),l(3," DealPOS Barcode Apps "),o(),i(4,"p",24),l(5," Print Barcode label from your product catalog "),o()(),i(6,"div",25)(7,"div",26)(8,"div",27)(9,"span",28),d(10,"i",29),o(),d(11,"input",30),i(12,"span",31)(13,"ng-select",32),L(14,le,3,2,"ng-option",33,M),o()()()()(),i(16,"button",34),_("click",function(){x(e);let r=c();return h(r.onLoginState())}),l(17," Next "),o()()}if(n&2){let e=c();a(13),p("clearable",!1),a(),P(e.domains())}}function de(n,m){n&1&&(i(0,"span"),l(1,"Username is required."),o())}function me(n,m){if(n&1&&(i(0,"div",47),g(1,de,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("username"))==null||e.errors==null?null:e.errors.required)}}function pe(n,m){if(n&1){let e=C();i(0,"i",66),_("click",function(){x(e);let r=c(3);return h(r.passwordInputType.set("text"))}),o()}}function ce(n,m){if(n&1){let e=C();i(0,"i",67),_("click",function(){x(e);let r=c(3);return h(r.passwordInputType.set("password"))}),o()}}function ue(n,m){if(n&1&&g(0,pe,1,0,"i",64)(1,ce,1,0,"i",65),n&2){let e=c(2);b(e.passwordInputType()==="password"?0:1)}}function fe(n,m){n&1&&(i(0,"span"),l(1,"Password is required."),o())}function ge(n,m){if(n&1&&(i(0,"div",47),g(1,fe,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("password"))==null||e.errors==null?null:e.errors.required)}}function _e(n,m){if(n&1){let e=C();i(0,"div",9)(1,"div",36)(2,"h3",37),l(3,"Sign in"),o(),i(4,"p",38),l(5,"to"),o(),i(6,"div",39)(7,"p",40),l(8),o(),i(9,"a",41)(10,"i",42),_("click",function(){x(e);let r=c();return h(r.onLoginState())}),o()()()(),i(11,"div",19)(12,"div",43)(13,"span",44),d(14,"i",45),o(),d(15,"input",46),o(),g(16,me,3,1,"div",47),o(),i(17,"div",19)(18,"div",48)(19,"span",44),d(20,"i",49),o(),i(21,"div",50),g(22,ue,2,1),d(23,"input",51),o()(),g(24,ge,3,1,"div",47),i(25,"div",52)(26,"a",53),l(27,"Forgot Password?"),o()()(),i(28,"button",54),l(29," Login "),o(),i(30,"div",55)(31,"div",56),d(32,"hr",57),i(33,"p",58),l(34,"or"),o(),d(35,"hr",57),o(),i(36,"button",59),_("click",function(){x(e);let r=c();return h(r.onSigninWithGoogle())}),i(37,"div",60),d(38,"i",61),i(39,"span",62),l(40,"Sign In with Google"),o()()()()()}if(n&2){let e,t,r,u,f,s=c();a(8),w(" (",s.hostFormField," ) "),a(7),p("ngClass",T(8,oe,((e=s.form.get("username"))==null?null:e.invalid)&&!((e=s.form.get("username"))!=null&&e.untouched))),a(),b((t=s.form.get("username"))!=null&&t.invalid&&!((t=s.form.get("username"))!=null&&t.untouched)?16:-1),a(6),b((r=s.form.get("password"))!=null&&r.value.length?22:-1),a(),p("ngClass",T(10,oe,((u=s.form.get("password"))==null?null:u.invalid)&&!((u=s.form.get("password"))!=null&&u.untouched)))("type",s.passwordInputType()),a(),b((f=s.form.get("password"))!=null&&f.invalid&&!((f=s.form.get("password"))!=null&&f.untouched)?24:-1),a(2),p("href","https://"+s.host+"/ForgotPassword",k)}}var re=(()=>{class n{constructor(){this.form=new W({}),this.loginState=v("FORM_DOMAIN"),this.news$=V([]),this.domains=v([".dealpos.co.id",".dealpos.net",".dealpos.com",".dealpos.app"]),this.passwordInputType=v("password"),this.onsubmit=onsubmit,this._destroy=new F,this.authService=y(ee),this.fb=y(Q),this.httpService=y(Y),this.version=v(""),this.regexSanitizeHostname=/^(https?):\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/.*)?$/}get hostFormField(){let e=this.form?.get("subDomain")?.value,t=this.form?.get("domain")?.value;if(e.match(this.regexSanitizeHostname)){let r=new URL(e);return r.origin.slice(0,r.origin.indexOf(".")).concat(t)}else return e.concat(t)}get domainStorage(){let e=this.authService.getDomain(),t=e.indexOf(".");return e.substring(t,e.length)}get host(){let{subDomain:e,domain:t}=this.form.value;return e+t}ngOnInit(){this.initForm(),this.news$=this.httpService.get("v2/content?fetch=children:barcode&sort=sortOrder:asc",void 0,"https://changelog.dealpos.app/umbraco/delivery/api/").pipe(U(e=>e.items))}initForm(){let e=this.authService.getDomain(),[t,r]=e.split("."),u=localStorage.getItem("Username")??"";this.form=this.fb.group({subDomain:[t??"",S.required],domain:[e.substring(e.indexOf(".dealpos"))||this.domains()[0],S.required],username:[u,S.required],password:["",S.required]})}isValidUrl(e){try{return!!new URL(e)}catch{return!1}}onLogin(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value,f="";e.match(this.regexSanitizeHostname)?f=e.replace(t,t):f=e.concat(t);let s={Host:this.isValidUrl(f)?new URL(f).hostname:f,Username:r,Password:u};this.authService.login(s).pipe(E(this._destroy),O(()=>this.authService.redirectUrl())).subscribe()}onSigninWithGoogle(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value;this.authService.signInWithPopup(e+t).pipe(E(this._destroy),O(()=>this.authService.redirectUrl())).subscribe()}onLoginState(){let e=this.loginState();if(e==="FORM_DOMAIN")this.loginState.set("FORM_AUTH");else if(e==="FORM_AUTH"){let t=this.form.get("subDomain").value;this.form.patchValue({subDomain:t.slice(0,t.indexOf("."))}),this.loginState.set("FORM_DOMAIN")}}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}isAppVersionUpdated(){let e=localStorage.getItem("appVersion"),t=I.version;return!!(e&&t&&e.replaceAll(".","")!==t.replaceAll(".",""))}ngAfterViewInit(){this.version.set(I.version)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=D({type:n,selectors:[["app-login"]],standalone:!0,features:[A],decls:23,vars:6,consts:[[1,"container-fluid","border","my-auto","d-flex","flex-column"],[1,"flex-grow-1","d-flex","align-items-center","justify-content-center"],[1,"row",2,"background","#ffffff","max-width","57rem","border-radius","4px"],[1,"p-0","col-12","col-md-6","border-end","d-flex","flex-column","align-items-center","py-4"],[1,"font-robotoslab","fw-normal","fs-6","text-dark"],["pagination","true","pagination-clickable","true","slides-per-view","1"],[1,"p-0","col-12","col-md-6","py-4"],[1,"h-100","d-flex","flex-column","gap-4","my-2","mx-5",3,"ngSubmit","formGroup"],[1,"d-flex","flex-column","justify-content-center","gap-3","h-100",2,"margin-top","-55px"],[1,"d-flex","flex-column","gap-3"],[1,"row","d-md-flex","py-3","px-4"],[1,"col-12","col-md-6","d-flex","align-items-center","gap-2"],[1,"m-0","h-100","d-flex","align-items-center","fs-2","fw-normal"],["alt","dealpos-logo","src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"img-fluid"],[1,"cursor-pointer","col-12","col-md-6","d-flex","justify-content-center","gap-2","justify-content-md-end","align-items-center"],["target","_blank",1,"d-flex","gap-1",3,"href"],[1,"fst-italic","m-0","fs-2","fw-normal","text-dark","cursor-pointer"],[1,"d-flex","flex-column","gap-4"],["alt","",1,"img-fluid",3,"src"],[1,"d-flex","flex-column"],[1,"text-dark",2,"font-size","16px","font-weight","700"],[1,"d-flex","flex-wrap",2,"max-width","22rem"],[1,"fw-normal","text-dark"],[1,"m-0","font-robotoslab","text-dark","fs-6"],[1,"fst-italic","fw-normal","text-secondary-emphasis",2,"font-size","11px"],[1,"row",2,"height","50px"],[1,"col-12","h-100","mb-2","mb-md-0"],[1,"input-group","mb-3","border","rounded"],[1,"input-group-text","border-0","text-dark"],[1,"fas","fa-cloud"],["id","subDomain","formControlName","subDomain","type","text","placeholder","Store Address","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",2,"border-radius","0","font-size","14px"],[1,"input-group-text","p-0",2,"z-index","99"],["formControlName","domain",1,"custom",2,"font-size","14px",3,"clearable"],[3,"value"],["type","button",1,"btn","btn-primary","btn-lg","w-100","font-robotoslab","fs-4",3,"click"],[2,"font-size","14px"],[1,"d-flex","align-baseline","gap-2"],[1,"m-0"],[1,"m-0","d-flex","align-items-end"],[1,"d-flex"],[1,"m-0","d-flex","align-items-end","fw-bold","me-2","font-robotoslab","d-inline-block","text-primary"],["href","#",1,"pe-auto","d-flex","align-items-center"],[1,"fas","fa-edit","d-flex","align-items-center","link-primary","fs-3",3,"click"],[1,"input-group","border","rounded",2,"height","50px"],[1,"input-group-text","text-dark"],[1,"fas","fa-user"],["formControlName","username","type","text","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",3,"ngClass"],[1,"invalid-feedback"],[1,"input-group","d-flex","border","rounded",2,"height","50px"],[1,"fas","fa-key"],[1,"position-relative","flex-grow-1","h-100"],["formControlName","password","placeholder","Password","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","h-100","text-dark",3,"ngClass","type"],[1,"w-100","d-flex","justify-content-end"],[1,"link-underline-light","fs-2","fw-normal",3,"href"],["type","submit",1,"btn","btn-primary","btn-lg","fs-4","font-robotoslab"],[1,"d-flex","flex-column","align-items-center","gap-2"],[1,"d-flex","justify-content-center","gap-2"],[2,"width","150px","border","1px solid rgba(0, 0, 0, 0.85)"],[1,"m-0",2,"line-height","30px"],["type","button",1,"btn","btn-outline-primary","btn-lg","w-100",3,"click"],[1,"h-100","d-flex","align-items-center","justify-content-center","gap-2"],[1,"fab","fa-google","fs-3"],[1,"fw-medium","fs-3"],[4,"ngIf"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),l(5,"New Features"),o(),i(6,"swiper-container",5),L(7,ae,9,3,"swiper-slide",null,M),z(9,"async"),o()(),i(10,"div",6)(11,"form",7),_("ngSubmit",function(){return r.onLogin()}),g(12,se,18,1,"div",8)(13,_e,41,12,"div",9),o()()()(),i(14,"div",10)(15,"div",11)(16,"p",12),l(17," Powered by: "),o(),d(18,"img",13),o(),i(19,"div",14)(20,"a",15)(21,"span",16),l(22),o()()()()()),t&2&&(a(7),P(j(9,4,r.news$)),a(4),p("formGroup",r.form),a(),b(r.loginState()==="FORM_DOMAIN"?12:13),a(8),p("href","https://changelog.dealpos.com/?categories=cat_IOl3P9ko0ayhv&view=complete&v"+r.version().replaceAll(".",""),k),a(2),w("Version ",r.version(),""))},dependencies:[H,R,X,Z,G,B,$,J,K,ie,ne,te,q],styles:[".auth-wrapper[_ngcontent-%COMP%]{min-height:100vh;position:relative}.container-fluid[_ngcontent-%COMP%]{height:100vh}.grid__container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,50%);width:50vw;height:50vh;background:#fff;box-shadow:0 10px 15px -3px #0000001a;border-radius:15px;overflow:hidden}.container[_ngcontent-%COMP%]{height:400px}swiper-container[_ngcontent-%COMP%]{height:100%;width:100%}swiper-slide[_ngcontent-%COMP%]{text-align:center;font-size:12px;background:#fff;display:flex;justify-content:center;align-items:center}swiper-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:250px;height:150px;object-fit:cover;margin:0 auto}.btn[_ngcontent-%COMP%]:hover{background:transparent;color:#337ab7;box-shadow:none}.invalid-feedback[_ngcontent-%COMP%]{display:block}.btn[_ngcontent-%COMP%]{padding:.8rem 0}input[_ngcontent-%COMP%]::placeholder{color:gray;font-size:15px;opacity:.8}input[_ngcontent-%COMP%]{font-size:15px;border-color:#dee2e6}.input-group-text[_ngcontent-%COMP%]{background:transparent;border:none!important}.ng-touched.ng-valid[_ngcontent-%COMP%]{border-color:#dee2e6!important}.form-control[_ngcontent-%COMP%]{border:none!important}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}[_nghost-%COMP%] .ng-select .ng-select-container{border:1px solid #e9edf2;border-radius:0!important}[_nghost-%COMP%] .ng-dropdown-panel.ng-select-bottom{border-radius:4px;overflow:hidden} .ng-select.custom{height:100%!important;border:none!important} .ng-select.custom .ng-select-container{height:100%!important;border-top:none!important;border-right:none!important;border-bottom:none!important;border-radius:4px!important}"]})}}return n})();var Fe=[{path:"",component:re}];export{Fe as AUTH_ROUTES};
|