1import{a as Ce,b as at,c as ct,d as lt,e as ae,f as dt}from"./chunk-GCUN356L.js";import{D as W,Ra as Ae,Xa as b,Ya as p,_a as Te,bb as ot,cb as st,lb as f,o as M,p as Ie,w as se}from"./chunk-XABCOCMB.js";import{A as te,D as h,E as g,Eb as rt,F as E,G as a,Ga as ye,H as z,Ha as Ee,J as $,K as _,U as Xe,W as Je,b as $e,ba as V,c as R,d as X,e as Ke,f as We,g as v,gb as A,h as y,ha as K,hb as re,ib as tt,j as N,k as qe,ka as ie,l as Ze,la as C,lb as it,ob as oe,pa as ne,pb as nt,q as J,qa as _e,s as me,t as fe,u as ge,ua as et,v as D,va as be,w as Ye,wa as ve,x as ee,y as Qe,z as U}from"./chunk-2ITU2KWG.js";import{a as m,b as B,i as T}from"./chunk-FFXK657A.js";var Ft=["*"],Ei=(()=>{class t{style;styleClass;layout="horizontal";type="solid";align;containerClass(){return{"p-divider p-component":!0,"p-divider-horizontal":this.layout==="horizontal","p-divider-vertical":this.layout==="vertical","p-divider-solid":this.type==="solid","p-divider-dashed":this.type==="dashed","p-divider-dotted":this.type==="dotted","p-divider-left":this.layout==="horizontal"&&(!this.align||this.align==="left"),"p-divider-center":this.layout==="horizontal"&&this.align==="center"||this.layout==="vertical"&&(!this.align||this.align==="center"),"p-divider-right":this.layout==="horizontal"&&this.align==="right","p-divider-top":this.layout==="vertical"&&this.align==="top","p-divider-bottom":this.layout==="vertical"&&this.align==="bottom"}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["p-divider"]],hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",layout:"layout",type:"type",align:"align"},ngContentSelectors:Ft,decls:3,vars:6,consts:[["role","separator",3,"ngClass","ngStyle"],[1,"p-divider-content"]],template:function(i,r){i&1&&(ye(),be(0,"div",0)(1,"div",1),Ee(2),ve()()),i&2&&(et(r.styleClass),_e("ngClass",r.containerClass())("ngStyle",r.style),ne("aria-orientation",r.layout)("data-pc-name","divider"))},dependencies:[tt,it],styles:[`@layer primeng{.p-divider-horizontal{display:flex;width:100%;position:relative;align-items:center}.p-divider-horizontal:before{position:absolute;display:block;top:50%;left:0;width:100%;content:""}.p-divider-horizontal.p-divider-left{justify-content:flex-start}.p-divider-horizontal.p-divider-right{justify-content:flex-end}.p-divider-horizontal.p-divider-center{justify-content:center}.p-divider-content{z-index:1}.p-divider-vertical{min-height:100%;margin:0 1rem;display:flex;position:relative;justify-content:center}.p-divider-vertical:before{position:absolute;display:block;top:0;left:50%;height:100%;content:""}.p-divider-vertical.p-divider-top{align-items:flex-start}.p-divider-vertical.p-divider-center{align-items:center}.p-divider-vertical.p-divider-bottom{align-items:flex-end}.p-divider-solid.p-divider-horizontal:before{border-top-style:solid}.p-divider-solid.p-divider-vertical:before{border-left-style:solid}.p-divider-dashed.p-divider-horizontal:before{border-top-style:dashed}.p-divider-dashed.p-divider-vertical:before{border-left-style:dashed}.p-divider-dotted.p-divider-horizontal:before{border-top-style:dotted}.p-divider-dotted.p-divider-horizontal:before{border-left-style:dotted}} 2`],encapsulation:2,changeDetection:0})}return t})(),Ii=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=_({type:t});static \u0275inj=g({imports:[oe]})}return t})();var ce=class t{static loggerCallback(e,n){switch(e){case M.Error:console.error(n);return;case M.Info:console.info(n);return;case M.Verbose:console.debug(n);return;case M.Warning:console.warn(n);return;default:console.log(n);return}}constructor(e){this.browserEnvironment=typeof window<"u",this.config=at(e,this.browserEnvironment);let n;try{n=window[Ae.SessionStorage]}catch{}let i=n?.getItem(ot),r=n?.getItem(st)?.toLowerCase(),o=r==="true"?!0:r==="false"?!1:void 0,s=m({},this.config.system.loggerOptions),c=i&&Object.keys(M).includes(i)?M[i]:void 0;c&&(s.loggerCallback=t.loggerCallback,s.logLevel=c),o!==void 0&&(s.piiLoggingEnabled=o),this.logger=new Ie(s,ct,lt),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}};var le=(()=>{class t extends ce{getModuleName(){return t.MODULE_NAME}getId(){return t.ID}initialize(){return T(this,null,function*(){return this.available=typeof window<"u",this.available})}}return t.MODULE_NAME="",t.ID="StandardOperatingContext",t})();function ut(t){return T(this,null,function*(){let e=new le(t);return yield e.initialize(),(yield import("./chunk-AQ5I6MBW.js")).StandardController.createController(e)})}var we=class t{static createPublicClientApplication(e){return T(this,null,function*(){let n=yield ut(e);return new t(e,n)})}constructor(e,n){if(n)this.controller=n;else{let i=new le(e);this.controller=new dt(i)}}initialize(){return T(this,null,function*(){return this.controller.initialize()})}acquireTokenPopup(e){return T(this,null,function*(){return this.controller.acquireTokenPopup(e)})}acquireTokenRedirect(e){return this.controller.acquireTokenRedirect(e)}acquireTokenSilent(e){return this.controller.acquireTokenSilent(e)}
2acquireTokenByCode(e){return this.controller.acquireTokenByCode(e)}addEventCallback(e){return this.controller.addEventCallback(e)}removeEventCallback(e){return this.controller.removeEventCallback(e)}addPerformanceCallback(e){return this.controller.addPerformanceCallback(e)}removePerformanceCallback(e){return this.controller.removePerformanceCallback(e)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(e){return this.controller.getAccount(e)}getAccountByHomeId(e){return this.controller.getAccountByHomeId(e)}getAccountByLocalId(e){return this.controller.getAccountByLocalId(e)}getAccountByUsername(e){return this.controller.getAccountByUsername(e)}getAllAccounts(e){return this.controller.getAllAccounts(e)}handleRedirectPromise(e){return this.controller.handleRedirectPromise(e)}loginPopup(e){return this.controller.loginPopup(e)}loginRedirect(e){return this.controller.loginRedirect(e)}logout(e){return this.controller.logout(e)}logoutRedirect(e){return this.controller.logoutRedirect(e)}logoutPopup(e){return this.controller.logoutPopup(e)}ssoSilent(e){return this.controller.ssoSilent(e)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(e){this.controller.setLogger(e)}setActiveAccount(e){this.controller.setActiveAccount(e)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(e,n){return this.controller.initializeWrapperLibrary(e,n)}setNavigationClient(e){this.controller.setNavigationClient(e)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(e,n){return T(this,null,function*(){return this.controller.hydrateCache(e,n)})}clearCache(e){return this.controller.clearCache(e)}};var q=class{static getInteractionStatusFromEvent(e,n){switch(e.eventType){case f.LOGIN_START:return p.Login;case f.SSO_SILENT_START:return p.SsoSilent;case f.ACQUIRE_TOKEN_START:if(e.interactionType===b.Redirect||e.interactionType===b.Popup)return p.AcquireToken;break;case f.HANDLE_REDIRECT_START:return p.HandleRedirect;case f.LOGOUT_START:return p.Logout;case f.SSO_SILENT_SUCCESS:case f.SSO_SILENT_FAILURE:if(n&&n!==p.SsoSilent)break;return p.None;case f.LOGOUT_END:if(n&&n!==p.Logout)break;return p.None;case f.HANDLE_REDIRECT_END:if(n&&n!==p.HandleRedirect)break;return p.None;case f.LOGIN_SUCCESS:case f.LOGIN_FAILURE:case f.ACQUIRE_TOKEN_SUCCESS:case f.ACQUIRE_TOKEN_FAILURE:case f.RESTORE_FROM_BFCACHE:if(e.interactionType===b.Redirect||e.interactionType===b.Popup){if(n&&n!==p.Login&&n!==p.AcquireToken)break;return p.None}break}return null}};var ht="@azure/msal-angular",De="3.0.13",Me=new E("MSAL_INSTANCE"),pt=new E("MSAL_GUARD_CONFIG"),mt=new E("MSAL_INTERCEPTOR_CONFIG"),Pt=new E("MSAL_BROADCAST_CONFIG"),Z=(()=>{class t{constructor(n,i){this.instance=n,this.location=i;let r=this.location.path(!0).split("#").pop();r&&(this.redirectHash=`#${r}`),this.instance.initializeWrapperLibrary(Te.Angular,De)}initialize(){return v(this.instance.initialize())}acquireTokenPopup(n){return v(this.instance.acquireTokenPopup(n))}acquireTokenRedirect(n){return v(this.instance.acquireTokenRedirect(n))}acquireTokenSilent(n){return v(this.instance.acquireTokenSilent(n))}handleRedirectObservable(n){return v(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(n||this.redirectHash)))}loginPopup(n){return v(this.instance.loginPopup(n))}loginRedirect(n){return v(this.instance.loginRedirect(n))}logout(n){return v(this.instance.logout(n))}logoutRedirect(n){return v(this.instance.logoutRedirect(n))}logoutPopup(n){return v(this.instance.logoutPopup(n))}ssoSilent(n){return v(this.instance.ssoSilent(n))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(ht,De)),this.logger}setLogger(n){this.logger=n.clone(ht,De),this.instance.setLogger(n)}}return t.\u0275fac=function(n){return new(n||t)(a(Me),a(re))},t.\u0275prov=h({token:t,factory:t.\u0275fac}),t})(),Se=(()=>{class t{constructor(n,i,r){this.msalInstance=n,this.authService=i,this.msalBroadcastConfig=r,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay}
2 events`),this._msalSubject=new Ke(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new R,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new X(p.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(o=>{this._msalSubject.next(o);let s=q.getInteractionStatusFromEvent(o,this._inProgress.value);s!==null&&(this.authService.getLogger().verbose(`BroadcastService - ${o.eventType} results in setting inProgress from ${this._inProgress.value} to ${s}`),this._inProgress.next(s))})}}return t.\u0275fac=function(n){return new(n||t)(a(Me),a(Z),a(Pt,8))},t.\u0275prov=h({token:t,factory:t.\u0275fac}),t})(),jt=(()=>{class t{constructor(n,i,r,o,s){this.msalGuardConfig=n,this.msalBroadcastService=i,this.authService=r,this.location=o,this.router=s,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(n){return this.router.parseUrl(n)}getDestinationUrl(n){this.authService.getLogger().verbose("Guard - getting destination url");let i=document.getElementsByTagName("base"),r=this.location.normalize(i.length?i[0].href:window.location.origin),o=this.location.prepareExternalUrl(n);return o.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${r}/${o}`):`${r}${n}`}loginInteractively(n){let i=typeof this.msalGuardConfig.authRequest=="function"?this.msalGuardConfig.authRequest(this.authService,n):m({},this.msalGuardConfig.authRequest);if(this.msalGuardConfig.interactionType===b.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(i).pipe(N(o=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(o.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");let r=this.getDestinationUrl(n.url);return this.authService.loginRedirect(m({redirectStartPage:r},i)).pipe(N(()=>!1))}activateHelper(n){if(this.msalGuardConfig.interactionType!==b.Popup&&this.msalGuardConfig.interactionType!==b.Redirect)throw new ae("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),typeof window<"u"){if(W.hashContainsKnownProperties(window.location.hash)&&Ce.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),y(!1)}else return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),y(!0);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));let i=this.location.path(!0);return this.authService.initialize().pipe(fe(()=>this.authService.handleRedirectObservable()),fe(()=>{if(!this.authService.instance.getAllAccounts().length)return n?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(n)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),y(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),n){let r=this.includesCode(n.url),o=!!n.root&&!!n.root.fragment&&this.includesCode(`#${n.root.fragment}`),s=this.location.prepareExternalUrl(n.url).indexOf("#")===0;if(r&&(o||s))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),i.indexOf("#")>-1?y(this.parseUrl(this.location.path())):y(this.parseUrl(""))}return y(!0)}),me(r=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${r.message}`),this.loginFailedRoute&&n?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),y(this.loginFailedRoute)):y(!1))))}includesCode(n){return n.lastIndexOf("/code")>-1&&n.lastIndexOf("/code")===n.length-5||n.indexOf("#code=")>-1||n.indexOf("&code=")>-1}canActivate(n,i){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(i)}canActivateChild(n,i){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(i)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return t.\u0275fac=function(n){return new(n||t)(a(pt),a(Se),a(Z),a(re),a(rt))},t.\u0275prov=h({token:t,factory:t.\u0275fac}),t})(),Pn=(()=>{class t{constructor(n,i,r,o,s){this.msalInterceptorConfig=n,this.authService=i,this.location=r,this.msalBroadcastService=o,this._document=s}intercept(n,i){if(this.msalInterceptorConfig.interactionType!==b.Popup&&this.msalInterceptorConfig.interactionType!==b.Redirect)throw new ae("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");let r=this.getScopesForEndpoint(n.url,n.method);if(!r||r.length===0)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),i.handle(n);let o;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),o=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),o=this.authService.instance.getAllAccounts()[0]);let s=typeof this.msalInterceptorConfig.authRequest=="function"?this.msalInterceptorConfig.authRequest(this.authService,n,{account:o}):B(m({},this.msalInterceptorConfig.authRequest),{account:o});return this.authService.getLogger().info(`Interceptor - ${r.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${r}] scopes found for ${n.url}`),this.acquireToken(s,r,o).pipe(U(c=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");let l=n.headers.set("Authorization",`Bearer ${c.accessToken}`),u=n.clone({headers:l});return i.handle(u)}))}acquireToken(n,i,r){return this.authService.acquireTokenSilent(B(m({},n),{scopes:i,account:r})).pipe(me(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe(D(1),U(o=>
2o===p.None?this.acquireTokenInteractively(n,i):this.msalBroadcastService.inProgress$.pipe(J(s=>s===p.None),D(1),U(()=>this.acquireToken(n,i,r))))))),U(o=>o.accessToken?y(o):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe(J(s=>s===p.None),D(1),U(()=>this.acquireTokenInteractively(n,i))))))}acquireTokenInteractively(n,i){if(this.msalInterceptorConfig.interactionType===b.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup(B(m({},n),{scopes:i}));this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");let r=window.location.href;return this.authService.acquireTokenRedirect(B(m({},n),{scopes:i,redirectStartPage:r})),We}getScopesForEndpoint(n,i){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");let r=this.location.normalize(n),o=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),s=this.matchResourcesToEndpoint(o,r);return s.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,s.absoluteResources,i):s.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,s.relativeResources,i):null}matchResourcesToEndpoint(n,i){let r={absoluteResources:[],relativeResources:[]};return n.forEach(o=>{let s=this.location.normalize(o);se.matchPattern(s,i)&&r.absoluteResources.push(o);let c=this.getAbsoluteUrl(o),l=new W(c).getUrlComponents(),u=this.getAbsoluteUrl(i),d=new W(u).getUrlComponents(),k=l.QueryString?`${l.AbsolutePath}?${l.QueryString}`:this.location.normalize(l.AbsolutePath);l.HostNameAndPort===d.HostNameAndPort&&se.matchPattern(k,u)&&k!==""&&k!=="/*"&&r.relativeResources.push(o)}),r}getAbsoluteUrl(n){let i=this._document.createElement("a");return i.href=n,i.href}matchScopesToEndpoint(n,i,r){let o=[];return i.forEach(s=>{let c=[],l=n.get(s);if(l===null){o.push(null);return}l.forEach(u=>{if(typeof u=="string")c.push(u);else{let d=r.toLowerCase();u.httpMethod.toLowerCase()===d&&(u.scopes===null?o.push(null):u.scopes.forEach(he=>{c.push(he)}))}}),c.length>0&&o.push(c)}),o.length>0?(o.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),o[0]):null}}return t.\u0275fac=function(n){return new(n||t)(a(mt),a(Z),a(re),a(Se),a(A))},t.\u0275prov=h({token:t,factory:t.\u0275fac}),t})(),jn=(()=>{class t{constructor(n){this.authService=n}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return t.\u0275fac=function(n){return new(n||t)(K(Z))},t.\u0275cmp=$({type:t,selectors:[["app-redirect"]],decls:0,vars:0,template:function(n,i){},encapsulation:2}),t})(),Bn=(()=>{class t{static forRoot(n,i,r){return{ngModule:t,providers:[{provide:Me,useValue:n},{provide:pt,useValue:i},{provide:mt,useValue:r},Z]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=_({type:t}),t.\u0275inj=g({providers:[jt,Se],imports:[oe]}),t})();function Bt(t,e=0){return Ut(t)?Number(t):e}function Ut(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ke(t){return Array.isArray(t)?t:[t]}function Gn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function O(t){return t instanceof V?t.nativeElement:t}var Re;try{Re=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Re=!1}var w=(()=>{let e=class e{constructor(i){this._platformId=i,this.isBrowser=this._platformId?nt(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||Re)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(a(Xe))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Y;function Vt(){if(Y==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Y=!0}))}finally{Y=Y||!1}return Y}function H(t){return Vt()?t:!!t.capture}var F;function Yn(){if(F==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return F=!1,F;
2if("scrollBehavior"in document.documentElement.style)F=!0;else{let t=Element.prototype.scrollTo;t?F=!/\{\s*\[native code\]\s*\}/.test(t.toString()):F=!1}}return F}var xe;function Ht(){if(xe==null){let t=typeof document<"u"?document.head:null;xe=!!(t&&(t.createShadowRoot||t.attachShadow))}return xe}function ft(t){if(Ht()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Gt(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function S(t){return t.composedPath?t.composedPath()[0]:t.target}function gt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Qn(t,...e){return e.length?e.some(n=>t[n]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var zt=(()=>{let e=class e{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Jn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=_({type:e}),e.\u0275inj=g({providers:[zt]});let t=e;return t})();var yt=new Set,P,$t=(()=>{let e=class e{constructor(i,r){this._platform=i,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Wt}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&Kt(i,this._nonce),this._matchMedia(i)}};e.\u0275fac=function(r){return new(r||e)(a(w),a(Je,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Kt(t,e){if(!yt.has(t))try{P||(P=document.createElement("style"),e&&(P.nonce=e),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${t} {body{ }}`,0),yt.add(t))}catch(n){console.error(n)}}function Wt(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var It=(()=>{let e=class e{constructor(i,r){this._mediaMatcher=i,this._zone=r,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return Et(ke(i)).some(o=>this._registerQuery(o).mql.matches)}observe(i){let o=Et(ke(i)).map(c=>this._registerQuery(c).observable),s=qe(o);return s=Ze(s.pipe(D(1)),s.pipe(ee(1),ge(0))),s.pipe(N(c=>{let l={matches:!1,breakpoints:{}};return c.forEach(({matches:u,query:d})=>{l.matches=l.matches||u,l.breakpoints[d]=u}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let r=this._mediaMatcher.matchMedia(i),s={observable:new $e(c=>{let l=u=>this._zone.run(()=>c.next(u));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Qe(r),N(({matches:c})=>({query:i,matches:c})),te(this._destroySubject)),mql:r};return this._queries.set(i,s),s}};e.\u0275fac=function(r){return new(r||e)(a($t),a(C))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Et(t){return t.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var Zt=(()=>{let e=class e{constructor(i){this._platform=i}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return Qt(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let r=Yt(oi(i));if(r&&(At(r)===-1||!this.isVisible(r)))return!1;let o=i.nodeName.toLowerCase(),s=At(i);return i.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!ni(i)?!1:o==="audio"?i.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,r){return ri(i)&&!this.isDisabled(i)&&(r?.ignoreVisibility||this.isVisible(i))}};e.\u0275fac=function(r){return new(r||e)(a(w))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Yt(t){try{return t.frameElement}catch{return null}}function Qt(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Xt(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function Jt(t){return ti(t)&&t.type=="hidden"}function ei(t){return ii(t)&&t.hasAttribute("href")}function ti(t){return t.nodeName.toLowerCase()=="input"}function ii(t){return t.nodeName.toLowerCase()=="a"}function wt(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function At(t){if(!wt(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function ni(t){let e=t.nodeName.toLowerCase(),n=e==="input"&&t.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function ri(t){return Jt(t)?!1:Xt(t)||ei(t)||t.hasAttribute("contenteditable")||wt(t)}function oi(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Oe=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,i,r,o=!1){this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let i=this._getFirstTabbableElement(n);return i?.focus(e),!!i}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let i=0;i<n.length;i++){let r=n[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[i]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let i=n.length-1;i>=0;i--){let r=n[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[i]):null;if(r)return r}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(D(1)).subscribe(e)}},Lr=(()=>{let e=class e{constructor(i,r,o){this._checker=i,this._ngZone=r,this._document=o}create(i,r=!1){return new Oe(i,this._checker,this._ngZone,this._document,r)}};e.\u0275fac=function(r){return new(r||e)(a(Zt),a(C),a(A))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Fe(t){return t.buttons===0||t.detail===0}function Pe(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];
2return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var si=new E("cdk-input-modality-detector-options"),ai={ignoreKeys:[18,17,224,91,16]},Dt=650,G=H({passive:!0,capture:!0}),ci=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(i,r,o,s){this._platform=i,this._mostRecentTarget=null,this._modality=new X(null),this._lastTouchMs=0,this._onKeydown=c=>{this._options?.ignoreKeys?.some(l=>l===c.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=S(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs<Dt||(this._modality.next(Fe(c)?"keyboard":"mouse"),this._mostRecentTarget=S(c))},this._onTouchstart=c=>{if(Pe(c)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=S(c)},this._options=m(m({},ai),s),this.modalityDetected=this._modality.pipe(ee(1)),this.modalityChanged=this.modalityDetected.pipe(Ye()),i.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,G),o.addEventListener("mousedown",this._onMousedown,G),o.addEventListener("touchstart",this._onTouchstart,G)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,G),document.removeEventListener("mousedown",this._onMousedown,G),document.removeEventListener("touchstart",this._onTouchstart,G))}};e.\u0275fac=function(r){return new(r||e)(a(w),a(C),a(A),a(si,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ue=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(ue||{}),li=new E("cdk-focus-monitor-default-options"),de=H({passive:!0,capture:!0}),Or=(()=>{let e=class e{constructor(i,r,o,s,c){this._ngZone=i,this._platform=r,this._inputModalityDetector=o,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 R,this._rootNodeFocusAndBlurListener=l=>{let u=S(l);for(let d=u;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=c?.detectionMode||ue.IMMEDIATE}monitor(i,r=!1){let o=O(i);if(!this._platform.isBrowser||o.nodeType!==1)return y();let s=ft(o)||this._getDocument(),c=this._elementInfo.get(o);if(c)return r&&(c.checkChildren=!0),c.subject;let l={checkChildren:r,subject:new R,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(i){let r=O(i),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(i,r,o){let s=O(i),c=this._getDocument().activeElement;s===c?this._getClosestElementsInfo(s).forEach(([l,u])=>this._originChanged(l,r,u)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((i,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===ue.EVENTUAL||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,r){i.classList.toggle("cdk-focused",!!r),i.classList.toggle("cdk-touch-focused",r==="touch"),i.classList.toggle("cdk-keyboard-focused",r==="keyboard"),i.classList.toggle("cdk-mouse-focused",r==="mouse"),i.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(i,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&r,this._detectionMode===ue.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Dt:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(i,r){let o=this._elementInfo.get(r),s=S(i);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(i,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&i.relatedTarget instanceof Node&&r.contains(i.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(i,r){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(r))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let r=i.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,de),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,de)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(te(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let r=i.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,de),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,de),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,r,o){this._setClasses(i,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(i){let r=[];return this._elementInfo.forEach((o,s)=>
2{(s===i||o.checkChildren&&s.contains(i))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let c=0;c<s.length;c++)if(s[c].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(a(C),a(w),a(ci),a(A,8),a(li,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var j=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(j||{}),Tt="cdk-high-contrast-black-on-white",Ct="cdk-high-contrast-white-on-black",Le="cdk-high-contrast-active",Mt=(()=>{let e=class e{constructor(i,r){this._platform=i,this._document=r,this._breakpointSubscription=z(It).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return j.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(i):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return j.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return j.BLACK_ON_WHITE}return j.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(Le,Tt,Ct),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===j.BLACK_ON_WHITE?i.add(Le,Tt):r===j.WHITE_ON_BLACK&&i.add(Le,Ct)}}};e.\u0275fac=function(r){return new(r||e)(a(w),a(A))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var hi=new E("cdk-dir-doc",{providedIn:"root",factory:pi});function pi(){return z(A)}var mi=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function fi(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?mi.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Kr=(()=>{let e=class e{constructor(i){if(this.value="ltr",this.change=new ie,i){let r=i.body?i.body.dir:null,o=i.documentElement?i.documentElement.dir:null;this.value=fi(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(a(hi,8))},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var je=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=_({type:e}),e.\u0275inj=g({});let t=e;return t})();function gi(){return!0}var _i=new E("mat-sanity-checks",{providedIn:"root",factory:gi}),xo=(()=>{let e=class e{constructor(i,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return gt()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[i]}};e.\u0275fac=function(r){return new(r||e)(a(Mt),a(_i,8),a(A))},e.\u0275mod=_({type:e}),e.\u0275inj=g({imports:[je,je]});let t=e;return t})();var I=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(I||{}),Be=class{constructor(e,n,i,r=!1){this._renderer=e,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=I.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},St=H({passive:!0,capture:!0}),Ue=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=S(e);n&&this._events.get(e.type)?.forEach((i,r)=>{(r===n||r.contains(n))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,i,r){let o=this._events.get(n);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,St)})}removeHandler(e,n,i){let r=this._events.get(e);if(!r)return;let o=r.get(n);o&&(o.delete(i),o.size===0&&r.delete(n),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,St)))}},kt={enterDuration:225,exitDuration:150},bi=800,xt=H({passive:!0,capture:!0}),Rt=["mousedown","touchstart"],Nt=["mouseup","mouseleave","touchend","touchcancel"],Q=class Q{constructor(e,n,i,r){this._target=e,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=O(i))}fadeInRipple(e,n,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=m(m({},kt),i.animation);
vendor: 4,048 bytes, line 2
2i.centered&&(e=r.left+r.width/2,n=r.top+r.height/2);let s=i.radius||vi(e,n,r),c=e-r.left,l=n-r.top,u=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${c-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(d);let k=window.getComputedStyle(d),he=k.transitionProperty,Ve=k.transitionDuration,pe=he==="none"||Ve==="0s"||Ve==="0s, 0s"||r.width===0&&r.height===0,x=new Be(this,d,i,pe);d.style.transform="scale3d(1, 1, 1)",x.state=I.FADING_IN,i.persistent||(this._mostRecentTransientRipple=x);let He=null;return!pe&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Ge=()=>this._finishRippleTransition(x),ze=()=>this._destroyRipple(x);d.addEventListener("transitionend",Ge),d.addEventListener("transitioncancel",ze),He={onTransitionEnd:Ge,onTransitionCancel:ze}}),this._activeRipples.set(x,He),(pe||!u)&&this._finishRippleTransition(x),x}fadeOutRipple(e){if(e.state===I.FADING_OUT||e.state===I.HIDDEN)return;let n=e.element,i=m(m({},kt),e.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",e.state=I.FADING_OUT,(e._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=O(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Rt.forEach(i=>{Q._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Nt.forEach(n=>{this._triggerElement.addEventListener(n,this,xt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===I.FADING_IN?this._startFadeOutTransition(e):e.state===I.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:i}=e.config;e.state=I.VISIBLE,!i&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=I.HIDDEN,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel)),e.element.remove()}_onMousedown(e){let n=Fe(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+bi;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Pe(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=e.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let n=e.state===I.VISIBLE||e.config.terminateOnPointerUp&&e.state===I.FADING_IN;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Rt.forEach(n=>Q._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&Nt.forEach(n=>e.removeEventListener(n,this,xt)))}};Q._eventManager=new Ue;var Lt=Q;function vi(t,e,n){let i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}export{we as a,Me as b,pt as c,mt as d,Z as e,Se as f,jt as g,Pn as h,jn as i,Bn as j,Ei as k,Ii as l,Bt as m,ke as n,Gn as o,O as p,w as q,Yn as r,Gt as s,S as t,gt as u,Qn as v,Jn as w,Zt as x,Lr as y,Or as z,Kr as A,xo as B};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.