PageSourceSearch

https://www.bluecarbonactionpartnership.org/src_bootstrap_ts.89306083fcbe38aa.js

js bluecarbonactionpartnership.org collected 2026-09-28 10:17:09 UTC 2,562,199 bytes, 1 lines download raw bytes

1(self.webpackChunkinitiative_as_a_service=self.webpackChunkinitiative_as_a_service||[]).push([["src_bootstrap_ts"],{96550(Vt,Pe,d){"use strict";d.d(Pe,{Y:()=>S});class S{constructor(){this.scrollPositionRestoration="enabled"}}},24153(Vt,Pe,d){"use strict";d.d(Pe,{J$:()=>S,US:()=>E,rI:()=>M});var S=function(f){return f.APIKEY="apikey",f.TOKEN="token",f.CALLBACK="callback",f}(S||{});const E="refresh_token",M="masquerade"},4844(Vt,Pe,d){"use strict";d.d(Pe,{R:()=>E});const E=d(45312).c.hubCommunities||[]},9015(Vt,Pe,d){"use strict";d.d(Pe,{T:()=>S});var S=function(E){return E.IMAGES="images",E.VIDEOS="videos",E.FILE="file",E}(S||{})},60522(Vt,Pe,d){"use strict";d.d(Pe,{Hz:()=>M,_R:()=>E,lq:()=>f,qz:()=>b});var S=d(5558);const E="sign-up",M="self-sign-up",f="membership-activation",b={id:"signUpPage",name:"Members Sign up",path:E,site:"",type:S.g.SIGN_UP}},86906(Vt,Pe,d){"use strict";d.d(Pe,{C:()=>S});const S="light-theme"},40101(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>b,fl:()=>f,yP:()=>A});var S=d(88882);const M=(.95-.75)*Math.random()+.75,f={issuer:`${S.c.host}/api/authentication/v1/sso/iaas`,timeoutFactor:M,redirectUri:window.location.origin+"/idp",clientId:S.c.fws_auth_client_id,scope:"openid profile email api",responseType:"code",silentRefreshShowIFrame:!1,showDebugInformation:!0,useSilentRefresh:!1,clearHashAfterLogin:!1,nonceStateSeparator:"semicolon"},b={resourceServer:{allowedUrls:[`${S.c.host}/api/authentication/v1/sso/iaas`],sendAccessToken:!0}},A="refresh_token_has_failed"},70563(Vt,Pe,d){"use strict";d.d(Pe,{Yk:()=>ie,Q$:()=>B,bj:()=>ee});var S=d(29330),E=d(18810),M=d(99437),f=d(91708),b=d(1835);const A=["members","organizations","sessions","events","projects","case_studies","insights","search"];var R=d(2615),N=d(95416),q=d(49030);const ee="X-ACCESS-INTERCEPTOR-POLICY";var B=function(ve){return ve.Ignore="Ignore",ve.Intercept="Intercept",ve}(B||{});let ie=(()=>{class ve{constructor(ne,X){this.snackBar=ne,this.idpService=X}intercept(ne,X){return X.handle(ne).pipe((0,M.W)(W=>this.handleResponseError(W,ne,X)))}handleResponseError(ne,X,W){return ne.status!==S.kG.Unauthorized&&ne.status!==S.kG.Forbidden||this.hasToken()&&this.isTokenExpired()||-1!==X.url.indexOf("weforum.org/api")&&X.url.match(A.join("|"))&&X.headers.get(ee)!==B.Ignore&&this.showSnackBarError(),(0,E.$)(ne)}showSnackBarError(){this.snackBar.openFromComponent(f.Y,b.WJ)}hasToken(){return!!this.idpService.getAccessTokenExpiration()}isTokenExpired(){const ne=(new Date).getTime();return this.idpService.getAccessTokenExpiration()<ne}static{this.\u0275fac=function(X){return new(X||ve)(R.KVO(N.UG),R.KVO(q.JP))}}static{this.\u0275prov=R.jDH({token:ve,factory:ve.\u0275fac})}}return ve})()},10283(Vt,Pe,d){"use strict";d.d(Pe,{_:()=>N});var S=d(18810),E=d(99437),M=d(45312),f=d(5950),b=d(2615),A=d(49030),R=d(73878);let N=(()=>{class q{constructor(B,ie){this.idpService=B,this.apiEndpointService=ie}intercept(B,ie){if(-1===B.url.indexOf(".weforum.org/api/")&&-1===B.url.indexOf(this.apiEndpointService.getFWSEndpoint())&&-1===B.url.indexOf(`.weforum.org${M.c.ai_agent_path}`))return ie.handle(B);if(B.headers.has("no-auth")){const ve=B.headers.delete("no-auth");return ie.handle(B.clone({headers:ve}))}return B=this.addAuthHeader(B),ie.handle(B).pipe((0,E.W)(ve=>this.handleResponseError(ve,B,ie)))}addAuthHeader(B,ie=!1){const ve=["post","patch","put"].includes(B.method.toLowerCase())&&B.body instanceof FormData,U=this.getHeadersList(B,ve),ne={};return U.forEach(X=>{(!B.headers.has(X.name)||ie)&&(ne[X.name]=X.value)}),B.clone({setHeaders:ne})}getHeadersList(B,ie=!1){const ve=[],U=this.getLanguage();return ie||ve.push({name:"Content-Type",value:"application/json"}),ve.push({name:"Cache-Control",value:"no-cache"}),ve.push({name:"Pragma",value:"no-cache"}),ve.push({name:"Expires",value:"Sat, 01 Jan 2000 00:00:00 GMT"}),U&&ve.push({name:"Accept-Language",value:U}),this.isAuthorizationHeaderNeeded(B.url)&&this.idpService.masqueradingOrIdToken&&ve.push({name:"Authorization",value:"Bearer "+this.idpService.masqueradingOrIdToken}),ve}handleResponseError(B,ie,ve){return(0,S.$)(B)}getLanguage(){return localStorage.getItem("lang")}isAuthorizationHeaderNeeded(B){return!!B&&![`${this.apiEndpointService.getFWSEndpoint()}${f.i9}`].some(ie=>B.includes(ie))}static{this.\u0275fac=function(ie){return new(ie||q)(b.KVO(A.JP),b.KVO(R.J))}}static{this.\u0275prov=b.jDH({token:q,factory:q.\u0275fac})}}return q})()},70834(Vt,Pe,d){"use strict";d.d(Pe,{Yk:()=>ee.Yk,RO:()=>R,WC:()=>q,dl:()=>W,Xt:()=>ve,FZ:()=>X});var S=d(96354),E=d(99437),M=d(12257),f=d(2615),b=d(61945),A=d(91029);let R=(()=>{class Z{constructor(K,ce){this.sites=K,this.router=ce}canActivate(K,ce){return this.sites.getCommunityList().pipe((0,S.T)(ue=>!!(ue&&ue.length>0)||(this.router.navigate([M.n.PAGE_NOT_FOUND]),!1)),(0,E.W)(ue=>{throw this.router.navigate([M.n.PAGE_NOT_FOUND]),ue}))}canActivateChild(K,ce){return this.canActivate(K,ce)}static{this.\u0275fac=function(ce){return new(ce||Z)(f.KVO(b.X),f.KVO
1(A.Ix))}}static{this.\u0275prov=f.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();var N=d(49030);let q=(()=>{class Z{constructor(K,ce,ue){this.idpService=K,this.rollbar=ue,this.routeur=ce}canActivate(K,ce){return this.idpService.isAuthenticated()?Promise.resolve(!0):this.idpService.forceRefreshTokenProcess().then(ue=>!!ue||(this.idpService.login(ce.url,null,null),!1)).catch(ue=>(this.rollbar.watchdog("Invalid Refresh Token detected",{error:ue,claims:this.idpService.claims}),this.idpService.login(ce.url,null,null),!1))}canActivateChild(K,ce){return this.canActivate(K,ce)}static{this.\u0275fac=function(ce){return new(ce||Z)(f.KVO(N.JP),f.KVO(A.Ix),f.KVO(N.Pp))}}static{this.\u0275prov=f.jDH({token:Z,factory:Z.\u0275fac})}}return Z})();var ee=d(70563),B=d(10283),ie=d(29185);let ve=(()=>{class Z{constructor(K,ce){this.site=K,this.router=ce}canActivate(K,ce){const ue=K.paramMap.get("siteId")||"";return this.site.getCurrentUserPermissions(ue).pipe((0,S.T)(({isManager:ae})=>!!ae||(this.router.navigate([M.n.PAGE_NOT_FOUND]),!1)),(0,E.W)(ae=>{throw this.router.navigate([M.n.PAGE_NOT_FOUND]),ae}))}canActivateChild(K,ce){return this.canActivate(K,ce)}static{this.\u0275fac=function(ce){return new(ce||Z)(f.KVO(ie.T),f.KVO(A.Ix))}}static{this.\u0275prov=f.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})();var U=d(6744),ne=d(29330);let X=(()=>{class Z{constructor(K,ce){this.idpService=K,this.rollbar=ce}canActivate(){return(this.idpService.isAuthenticated()||this.idpService.hasIdToken())&&!this.idpService.isAuthenticated()&&this.idpService.hasIdToken()?this.idpService.forceRefreshTokenProcess().then(()=>!0).catch(K=>(this.rollbar.watchdog("Invalid Refresh Token detected",{error:K,claims:this.idpService.claims}),K?.status!==ne.kG.BadRequest&&K?.status!==ne.kG.Unauthorized||(this.idpService.logout(),!1))):Promise.resolve(!0)}canActivateChild(){return this.canActivate()}static{this.\u0275fac=function(ce){return new(ce||Z)(f.KVO(N.JP),f.KVO(N.Pp))}}static{this.\u0275prov=f.jDH({token:Z,factory:Z.\u0275fac})}}return Z})();const W=[q,B._,ee.Yk,X,ve,R,U.$]},6744(Vt,Pe,d){"use strict";d.d(Pe,{$:()=>ie});var S=d(7673),E=d(78124),M=d(67809),b=function(ve){return ve.Notification="Notification",ve}(b||{}),A=d(85928),R=d(2615),N=d(49030),q=d(91029),ee=d(5964);let B=(()=>{class ve{constructor(ne){this.router=ne,this.isFirstNavigationDone=!1,this.detectInitialNavigation()}detectInitialNavigation(){this.subscription=this.router.events.pipe((0,ee.p)(ne=>ne instanceof q.wF)).subscribe(()=>{this.isFirstNavigationDone||(this.isFirstNavigationDone=!0)})}isInitialNavigation(){return!this.isFirstNavigationDone}doneListening(){this.subscription.unsubscribe()}static{this.\u0275fac=function(X){return new(X||ve)(R.KVO(q.Ix))}}static{this.\u0275prov=R.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})(),ie=(()=>{class ve{constructor(ne,X,W,Z){this.idp=ne,this.initialNav=X,this.localStorage=W,this.sessionStorage=Z}canActivate(ne,X){const W=this.isNavigationFromEmailNotification(ne);if(!this.initialNav.isInitialNavigation()||!W)return this.initialNav.doneListening(),(0,S.of)(!0);const Z=X.url;if(!this.idp.isAuthenticated()){const re=(ve=>{const ne=new URLSearchParams(ve.split("?")[1]);ne.delete("emailType");const X=ne.toString();return ve.split("?")[0]+(X?"?"+X:"")})(Z);this.prepareForRedirectionAfterLogin(re),this.setKeyForAuthModalToBeOpenAfterRedirectToHome()}return this.initialNav.doneListening(),(0,S.of)(!0)}prepareForRedirectionAfterLogin(ne){this.sessionStorage.setItem(M.zT,ne),this.sessionStorage.setItem(A.X,"true")}setKeyForAuthModalToBeOpenAfterRedirectToHome(){this.sessionStorage.setItem(M.CE,"true")}isNavigationFromEmailNotification(ne){return ne.queryParams?.emailType===b.Notification}static{this.\u0275fac=function(X){return new(X||ve)(R.KVO(N.JP),R.KVO(B),R.KVO(E.i),R.KVO(E.h1))}}static{this.\u0275prov=R.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}}return ve})()},73878(Vt,Pe,d){"use strict";d.d(Pe,{J:()=>f});var S=d(2615),E=d(45312),M=d(92549);let f=(()=>{class b{constructor(R){this.document=R}getFWSEndpoint(){return M.pk?E.c.fws_host:`https://${this.getHost()}${E.c.fws_host}`}static getFWSEndpointStatic(){const R=location.host.split(".");let N=location.host;return"qa"==E.c.name&&4==R.length&&(N=R.slice(1).join(".")),M.pk?E.c.fws_host:`https://${N}${E.c.fws_host}`}getFWSAuthenticationEndpoint(){return M.pk?E.c.fws_auth_url:`https://${this.getHost()}${E.c.fws_auth_url}`}getFWSBenchmarkingEndpoint(){return M.pk?E.c.benchmarking_tool_url:`https://${this.getHost()}${E.c.benchmarking_tool_url}`}getHost(){const R=location.host.split(".");return"qa"==E.c.name&&4==R.length?R.slice(1).join("."):this.document.location.host}static{this.\u0275fac=function(N){return new(N||b)(S.KVO(S.qQL))}}static{this.\u0275prov=S.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},78310(Vt,Pe,d){"use strict";d.d(Pe,{W:()=>b,i:()=>A});var S=d(37918),E=d(45312),M=d(24153),f=d(92549);class b extends S.PD{setItem(N,q,ee=30){N==M.US||this.shouldStoreMasqueradeInCookie(N)?this.setCookie(this.addSuffix(N),q,ee):localStorage.setItem(N,q)}getItem(N){return N===M.US&&(!f._l||f.pk)||this.shouldStoreMasqueradeInCookie(N)?this.getCookie(this.addSuffix(N)):localStorage.getItem(N)}removeItem(N){N==M.US||this.shouldStoreMasqueradeInCookie(N)?this.removeCookie(this.addSuffix(N)):localStorage.removeItem(N)}getCookie(N){const q=document.cookie.match(new RegExp("(^| )"+N+"=([^;]+)"));return q?q[2]:null}setCookie(N,q,ee){let B="";if(ee){const ve=new Date;ve.setTime(ve.getTime()+864e5*ee),B="; expires="+ve.toUTCString()}document.cookie=`${N}=${q}; ${B}; path=/; domain=${this.getCookieDomain()}; Secure;`}removeCookie(N){document.cookie=`${N}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=${this.getCookieDomain()}; Secure;`}addSuffix(N){return`${N}_${E.c.name}`}getCookieDomain(){return"dev"===E.c.name?"localhost":"weforum.org"}shouldStoreMasqueradeInCookie(N){return N==M.rI&&!f.A9}}const A=new b},85928(Vt,Pe,d){"use strict";d.d(Pe,{J:()=>re,X:()=>Z});
1var S=d(10467),E=d(29330),M=d(37918),f=d(21413),b=d(88882),A=d(37001),R=d(94091),N=d(49413),q=d(24153),ee=d(12429),B=d(67809);class ie{static reset(){Appcues?.reset?Appcues.reset():console.warn("Appcues is not available or reset method is undefined.")}}var ve=d(92549),U=d(40101),ne=d(78310),X=d(2615),W=d(49030);const Z="navigateHomeOnNotFound";let re=(()=>{class K{constructor(ue,ae,te){this.oauthService=ue,this.http=ae,this.rollbar=te,this.loginMutex=!1,this.currentRefreshToken="",this.onTokenRefreshed$=new f.B,this.delay=de=>new Promise(_e=>setTimeout(_e,de)),this.oauthService.events.subscribe(de=>{"token_refreshed"===de.type&&(ve._l||this.setCookie(this.accessToken).subscribe(),this.onTokenRefreshed$.next()),console.debug("OAuthErrorEvent",de),de instanceof M.Wh&&"token_refresh_error"!==de.type&&this.rollbar.handleError("OAuthErrorEvent",de)}),this.oauthService.setupAutomaticSilentRefresh()}configureWithNewConfigApi(){this.oauthService.loadDiscoveryDocument()}login(ue,ae,te,de){this.loginMutex||(this.loginMutex=!0,de?.saveTargetUrl&&sessionStorage.setItem(ee.Z.LOGIN_CUSTOM_TARGET_URL,ue),this.oauthService.initCodeFlow(`targetUrl=${ue}semicoloncommunitySfid=${ae}semicolontemplate=${te}`,de?.prompt?{prompt:de.prompt}:{}),setTimeout(()=>this.loginMutex=!1,5e3))}checkIfUserIsLogged(){const ae={headers:(new E.Lr).set("Cache-Control","no-cache"),withCredentials:!0};return this.http.get(`${b.c.login_url}/ssologin/login`,ae)}ssoLogout(){const ae={headers:(new E.Lr).set("Cache-Control","no-cache"),withCredentials:!0};return this.http.get(`${b.c.login_url}/ssologin/logout`,ae)}setCookie(ue){const ae=(new E.Nl).set(q.J$.APIKEY,b.c.odf_auth_api_key).set(q.J$.TOKEN,ue),te=(new E.Lr).set("Access-Control-Allow-Credentials","true");return this.http.get(`${b.c.login_url}/ssologin/setToken`,{params:ae,headers:te,withCredentials:!0})}silentLogout(){this.oauthService.logOut(!0),ie.reset(),this.logoutCleanUp()}logout(ue=null,ae=!1){this.oauthService.logOut(!0),ie.reset();let te="";ue&&(te=0===ue.indexOf("http")?`&return_url=${ue}`:"/"===ue.substr(0,1)?`&return_url=${encodeURIComponent(window.location.protocol+"//"+window.location.host+ue)}`:`&return_url=${encodeURIComponent(window.location.protocol+"//"+window.location.host+"/"+ue)}`),sessionStorage.setItem(Z,"true"),this.logoutCleanUp();const de=`&return_url=${encodeURIComponent(window.location.href)}`,_e=ae||R.Z.isAdminSitesPanel()?te:de;window.location.href=`${b.c.login_radius_host}/auth.aspx?action=logout${_e}`}hasValidToken(){return this.oauthService.hasValidAccessToken()}forceRefreshTokenProcess(){return this.asyncforceRefreshTokenProcess()}asyncforceRefreshTokenProcess(){var ue=this;return(0,S.A)(function*(){const ae="mutex_last_refresh_token_timestamp",_e=localStorage.getItem(U.yP);if(_e&&_e===ue.oauthService.getRefreshToken())return Promise.resolve(!1);for(ue.currentRefreshToken=ue.oauthService.getRefreshToken(),_e&&_e!==ue.oauthService.getRefreshToken()&&(localStorage.removeItem(U.yP),ne.i.removeCookie(q.US));;){const we=localStorage.getItem(ae);if((!we||Date.now()-Number(we)>3e3)&&ue.currentRefreshToken===ue.oauthService.getRefreshToken())try{return localStorage.setItem(ae,Date.now().toString()),yield ue.oauthService.loadDiscoveryDocument(),yield ue.oauthService.refreshToken(),ue.currentRefreshToken!==ue.oauthService.getRefreshToken()}catch(Ie){throw 400===Ie.status&&localStorage.setItem(U.yP,ue.currentRefreshToken),Ie}if(!(Date.now()-Number(we)<=3e3))return!1;if(yield ue.delay(1e3),ue.currentRefreshToken!==ue.oauthService.getRefreshToken())return!0}})()}get accessToken(){return this.oauthService.getAccessToken()}get claims(){return this.oauthService.getIdentityClaims()}get masqueradingOrIdClaims(){return R.Z.isAdminEditorPreview()?this.oauthService.getIdentityClaims():A.V.getMasqueradingClaims()||this.oauthService.getIdentityClaims()}get idToken(){return this.oauthService.getIdToken()}get masqueradingOrIdToken(){return R.Z.isAdminEditorPreview()?this.oauthService.getIdToken():A.V.getMasqueradingToken()||this.oauthService.getIdToken()}hasIdToken(){return!!this.oauthService.getIdToken()}hasRefreshToken(){return!!this.oauthService.getRefreshToken()}isAuthenticated(){return this.oauthService.hasValidIdToken()}getAccessTokenExpiration(){return this.oauthService.getAccessTokenExpiration()}isTopLinkUser(){return!!this.claims?.user?.roles&&this.claims.user.roles.includes("toplink_user")}getProfilePermissionsSet(){return this.claims?this.claims.permissions:[]}logoutCleanUp(){localStorage.removeItem(N.f),sessionStorage.removeItem(B.mf),A.V.stopMasqueradingSession()}static{this.\u0275fac=function(ae){return new(ae||K)(X.KVO(M.TC),X.KVO(E.Qq),X.KVO(W.Pp))}}static{this.\u0275prov=X.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}}return K})()},49030(Vt,Pe,d){"use strict";d.d(Pe,{RZ:()=>ie,JP:()=>q.J,aO:()=>ve.a,Pp:()=>re,xC:()=>K,wf:()=>ee.w});var S=d(91029),E=d(96697);d(43045);var R=d(37001),N=d(2615),q=d(85928),ee=d(58352);const B=window.Appcues;let ie=(()=>{class ce{constructor(ae,te,de){this.router=ae,this.idpService=te,this.userAccountService=de}setupPageTracking(){B&&this.router.events.subscribe(ae=>{ae instanceof S.wF&&(this.identify(),B.page())})}showAppcuesUploadGuidelines(){if(B){let ae="";ae="https://initiatives-qa.weforum.org"===location.origin?"4d9bcc50-e469-4623-b3ea-235637a17310":"https://initiatives-staging.weforum.org"===location.origin?"958f1efa-4c89-4192-a64d-c09591a7f077":"https://initiatives.weforum.org"===location.origin?"ab606153-2a34-4c2c-8ff3-6dc1da02fd8a":"4d9bcc50-e469-4623-b3ea-235637a17310",B.show(ae)}}clearCurrentUserInfo(){B.reset()}identify(){this.idpService.isAuthenticated()&&B&&this.userAccountService.getUsersCommunities().pipe((0,E.s)(1)).subscribe(ae=>{const te=this.idpService.claims,de=R.V.getUserInfo(),_e={isForumStaff:te.user.forum_staff,primaryOrganizationCommunityName:te.user.primary_organization_community_name,roles:te.user.roles,commmunityMemberships:ae.map(we=>we.name).join(","),operationalContact:de?.operationalContact,topForumEngagement:de?.topForumEngagement,organizationId:de?.organizationId,categories:ae.map(we=>we.category).filter(we=>we).join(",")};B.identify(te.user.salesforce_id,_e)})}static{this.\u0275fac=function(te){return new(te||ce)(N.KVO(S.Ix),N.KVO(q.J),N.KVO(ee.w))}}static{this.\u0275prov=N.jDH({token:ce,factory:ce.\u0275fac})}}return ce})();
1var ve=d(20332),U=d(29330),ne=d(84315),X=d.n(ne),W=d(88882);const Z=["/api/notifications/v1/notification/badge-count-combined"];let re=(()=>{class ce{constructor(ae){this.injector=ae,this.rollbar=null,this.mutex=null,this.rollbar=new(X())({accessToken:W.c.rollbar_client_id,captureUncaught:!0,captureUnhandledRejections:!0,payload:{environment:W.c.name,stamp:typeof stamp<"u"?stamp:""}})}getInstance(){return this.rollbar}handleError(ae,te=void 0){if(this.mutex||"dev"===W.c.name)console.error(ae);else if(!(this.isCancelled(ae)||ae instanceof U.yz&&Z.find(de=>ae.url?.match(de)))){if(ae instanceof U.yz)return this.rollbar.debug("HttpErrorResponse: "+ae.message,ae);this.mutex=!0,this.rollbar.error(ae.originalError||ae.message||ae,te),this.mutex=!1}}watchdog(ae,te){this.rollbar.info(ae,te)}handleWarning(ae){this.rollbar.warning(ae)}isCancelled(ae){return!!(ae instanceof U.yz&&0===ae.status||ae.message&&ae.message.indexOf("0 Unknown Error")>0)}static{this.\u0275fac=function(te){return new(te||ce)(N.KVO(N.zZn))}}static{this.\u0275prov=N.jDH({token:ce,factory:ce.\u0275fac})}}return ce})();const K=[re,q.J,ve.a,ie,ee.w]},20332(Vt,Pe,d){"use strict";d.d(Pe,{a:()=>ve});var S=d(72184),E=d(5964),M=d(96354),f=d(96697),b=d(88882),A=d(94091),R=d(4810),N=d(6602),q=d(2615),ee=d(85928),B=d(61945),ie=d(37001);let ve=(()=>{class U{constructor(X,W,Z,re){this.idpService=X,this.siteUtilityService=W,this.sitesSnapshotsService=Z,this.authenticateService=re,this.platform="IaaS Web",this.ACTIONS={BROWSE_PAGE:"Browse page",LOGIN:"Login",MANAGE_EMAIL:"Manage email",LOGOUT:"Logout",DOWNLOAD:"download",SUBMIT:"Submit",SHOW_MODAL:"Show modal",EXPORT_CALENDAR_FORMAT:"Export calendar format",JOIN_ONLINE_MEETING:"Join online meeting",CREATE_CASE_STUDY:"Create case study",START_MEDIA:"Start media",FOLLOW:"Follow",REGISTER:"Register",VIEW_POINT:"View point",MAKE_POINT:"Make point",LIKE_POINT:"Like point",OPEN_ATTACHMENT:"Open attachment",CREATE_EVENT:"Create event",PRINT:"Print",ADD_DOCUMENT:"Add document",OPEN_DOCUMENT:"Open document",CHANGE_PASSWORD:"Change password",UPDATE_SETTINGS:"Update settings",ENGAGE:"Engage",CREATE_BLOG:"Create blog",ADD_PAGE:"Add page",ADD_SECTION:"Add section",SWITCH_USER:"Switch user",SEARCH:"Search"},this.SUBMIT_TYPE={SAVE_SITE:"Save site",SEND_INVITE:"Send invite",PREVIEW_SITE:"Preview site",PUBLISH_SITE:"Publish site",SITE_SETTINGS:"Site settings",CUSTOM_LOGIN:"Custom login",ADD_CONTENT:"add content",NEW_PAGE:"New page",EXIT_BUILDER:"Exit builder",PAGE_SETTINGS:"Page settings",MEMBERS_LIST:"members list",NAVIGATE_TO_SOURCE:"navigate to source",MULTI_FACTOR_AUTHENTIFICATION:"multi-factor authentification",OFFER:"offer",TOPICS:"topics",RESTORE:"Restore",EDIT:"edit",SETTINGS:"settings",BACKGROUND:"background",SAVE_SETTINGS:"save settings",FEATURED_CONTENT:"featured content",STATIC:"static",UPDATE:"update",RESET:"reset",REPORT:"report",GENERATE:"generate",EXIT:"exit",DYNAMIC:"dynamic",INITIATIVE_SOURCE:"initiative source",TOPICS_SOURCE:"topics source"};const K="PROD"!=b.c?.name.toUpperCase()?{cookie_expiration:1}:void 0;S.A.init(b.c.mixpanelToken,K),this.sessionTime="prod"!==b.c.name?2:30,this.setSuperPropsContextPlatform().subscribe(()=>{})}registerPeopleCommunitiesProperties(X){if(X){const W={Communities:X.map(Z=>Z.name).filter(Boolean),Categories:X.map(Z=>Z.category).filter(Z=>Z).join(",")};this.setUserProperties(W)}}registerPeopleClaimsProperties(X){X&&this.setUserProperties({id:X.user.salesforce_id,forumStaff:X.user.forum_staff,Roles:X.user.roles})}registerPeopleUserMeProperties(X){X&&this.setUserProperties({Profile:X.accountProfile,"SI Subscription":X.subscriptionSI.subscription,"SI Subscription Type":X.subscriptionSI.subscriptionType,isOperationalContact:X.operationalContact,"Organisation id":X.organizationId,"Organisation primary community":X.organizationPrimaryCommunity.name,"Primary community":X.primaryCommunity.name,"Top forum engagement":X?.topForumEngagement||!1})}setSessionMixPanel(){this.idpService.isAuthenticated()&&(this.userIdentify(this.idpService.claims.user.salesforce_id),this.setSuperProperties({senderId:this.idpService.claims.user.salesforce_id}))}setSuperProperties(X,W){try{S.A.register(X,W)}catch(Z){if(!(Z instanceof ReferenceError))throw Z}}
1clearSuperProperties(X){X.forEach(W=>{try{S.A.unregister(W)}catch(Z){if(!(Z instanceof ReferenceError))throw Z}})}startSession(X=null,W){X&&this.userIdentify(X),"prod"!==b.c.name&&console.log("Starting a session for user",X,"session time:",this.sessionTime,"contextData:",W),this.clearSuperProperties(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","emailType"]);try{S.A.track("Start session",W),this.setUserPropertiesOnce({"First Web Login Date":(new Date).toISOString()}),this.setSessionMixPanel(),this.incrementUserProperty("Web launches")}catch(Z){if(!(Z instanceof ReferenceError))throw Z}}stopSession(){try{S.A.reset()}catch(X){if(!(X instanceof ReferenceError))throw X}localStorage.removeItem("lastEvent")}userIdentify(X=null){try{X&&S.A.identify(X)}catch(W){if(!(W instanceof ReferenceError))throw W}}setUserProperties(X){try{S.A.people.set(X)}catch(W){if(!(W instanceof ReferenceError))throw W}}setUserPropertiesOnce(X){try{S.A.people.set_once(X)}catch(W){if(!(W instanceof ReferenceError))throw W}}isNewSession(){let W=0;const Z=(new Date).getTime(),re=this.sessionTime,K=localStorage.getItem("lastEvent");return K?(W=Z-parseInt(K,10),localStorage.removeItem("lastEvent"),localStorage.setItem("lastEvent",Z.toString()),W=Math.round(W/6e4),W>=re):(localStorage.setItem("lastEvent",Z.toString()),!0)}pageTrack(X,W){this.authenticateService.isMasqueradingWithCheck()?console.warn("Mixpanel temporarily disabled during masquerading activities"):this.setSuperPropsContextPlatform().subscribe({next:()=>{W=this.addTrackContext(W);try{if(this.idpService.isAuthenticated()&&this.isNewSession()){const Z=(0,N.Cq)(W,["contextId","contextName","contextType"]);this.startSession(null,Z)}"prod"!==b.c.name&&console.log("pageTrack",X,W),S.A.track(X,W),"Logout"===X&&this.stopSession()}catch(Z){if(!(Z instanceof ReferenceError))throw Z}}})}setSuperPropsContextPlatform(){return this.siteUtilityService.getSitePermissionsObservable().pipe((0,E.p)(X=>null!==X),(0,f.s)(1),(0,M.T)(X=>{const W=X?.isCoreMember||X?.isOperationalContact,Z=A.Z.isAdminPanel()||A.Z.isAdminSitesPanel()?R.ub.BUILDER_SPACE:this.idpService.isAuthenticated()?W?R.ub.MEMBER_SPACE:R.ub.FOLLOWER_SPACE:R.ub.PUBLIC_SPACE;this.setSuperProperties({context:Z,platform:this.platform})}))}addTrackContext(X){let W=this.siteUtilityService.getCommunityId(),Z=this.siteUtilityService.getCommunityName();return A.Z.isAdminSitesPanel()&&(W=this.sitesSnapshotsService.selectedCommunityFromList$.value?.id,Z=this.sitesSnapshotsService.selectedCommunityFromList$.value?.name),!W&&!Z||X.contextId&&X.contextName&&X.contextType?X:{...X,contextId:W,contextName:Z,contextType:R.Gz.COMMUNITY}}incrementUserProperty(X){try{S.A.people.increment(X)}catch(W){if(!(W instanceof ReferenceError))throw W}}setUserIdDataLayer(){window.dataLayer.push({userId:this.idpService.claims.user.salesforce_id})}get baseCommunityDataForTrack(){return{entityType:R.Gz.COMMUNITY,entityId:this.siteUtilityService.getCommunityId(),entityName:this.siteUtilityService.getCommunityName()}}static{this.\u0275fac=function(W){return new(W||U)(q.KVO(ee.J),q.KVO(A.Z),q.KVO(B.X),q.KVO(ie.V))}}static{this.\u0275prov=q.jDH({token:U,factory:U.\u0275fac})}}return U})()},58352(Vt,Pe,d){"use strict";d.d(Pe,{w:()=>X});
1var S=d(29330),E=d(84412),M=d(7673),f=d(25558),b=d(44668),A=d(96354),R=d(12498),N=d(88141),q=d(99437),ee=d(45312),B=d(23602);class ie{static mapUserProfileResponse(Z){const re=[B.q.LINKEDIN,B.q.FACEBOOK,B.q.TWITTER],K=Z?.socialMedias&&Z?.socialMedias.filter(({socialMedia:ce})=>re.includes(ce)).sort((ce,ue)=>re.indexOf(ce.socialMedia)-re.indexOf(ue.socialMedia))||[];return{...Z,socialMedias:K}}}var ve=d(2615),U=d(73878),ne=d(85928);let X=(()=>{class W{constructor(re,K,ce){this.http=re,this.apiEndpointService=K,this.idpService=ce,this.retryGetUserProfile$=new E.t(null),this.usersCommunities$=new E.t(null)}getUserProfileRetry(re){return this.retryGetUserProfile$.pipe((0,f.n)(()=>this.getUserProfile(re)),(0,b.t)())}retryGetUserProfile(){this.retryGetUserProfile$.next(null)}getUserProfile(re){return this.http.get(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/user/${re}/profile`).pipe((0,A.T)(ie.mapUserProfileResponse))}requestUserMeInfo(re=""){let K=new S.Lr;re&&(K=K.set("Authorization","Bearer "+re));const ce=`${this.apiEndpointService.getFWSEndpoint()}/users/v1/user/me`;return this.http.get(ce,{headers:K}).pipe((0,R.L)(3))}getUsersCommunities(){return this.usersCommunities$.value?this.usersCommunities$:this.http.get(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/appcues/communities`).pipe((0,N.M)(re=>this.usersCommunities$.next(re)))}getUserFlags(re){const K=new S.Nl({fromObject:{...re}});return this.http.get(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/user/me/flags`,{params:K})}getMultiFactorAuthSetup(){const re=(new S.Lr).set("x-requires-token-refresh","true");return this.http.get(`${ee.c.mfa.api_login_radius_host}?apiKey=${ee.c.mfa.api_key}&access_token=${this.idpService.accessToken}`,{headers:re})}getMultiFactorAuthQRCode({username:re,issuer:K,manualEntryCode:ce}){const ue=(new S.Lr).append("Accept","image/*");return this.http.get(`${this.apiEndpointService.getFWSEndpoint()}/authentication/v1/mfa/qrcode?username=${re}&issuer=${K}&code=${ce}`,{headers:ue,responseType:"blob"})}enableMultiFactorAuth(re){const K=(new S.Lr).set("x-requires-token-refresh","true");return this.http.put(`${ee.c.mfa.api_login_radius_host}/verification/googleauthenticatorcode?apikey=${ee.c.mfa.api_key}&access_token=${this.idpService.accessToken}`,{googleAuthenticatorCode:re},{headers:K})}disableMultiFactorAuth(re){return this.http.put(`${this.apiEndpointService.getFWSEndpoint()}/authentication/v1/mfa/reset`,{clientId:ee.c.fws_auth_client_id,password:re})}setUserFlags(re){return this.http.post(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/user/me/flags`,re)}changePassword(re){return this.http.put(`${this.apiEndpointService.getFWSEndpoint()}/authentication/v1/password`,re)}deleteUserFlag(re){return this.http.delete(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/user/me/flags/${re}`)}savePrivacySettings(re){return this.http.put(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/privacy_settings`,re,{observe:"response"}).pipe((0,A.T)(K=>204===K.status),(0,q.W)(()=>(0,M.of)(!1)))}getPrivacySettings(){return this.http.get(`${this.apiEndpointService.getFWSEndpoint()}/users/v1/privacy_settings`)}static{this.\u0275fac=function(K){return new(K||W)(ve.KVO(S.Qq),ve.KVO(U.J),ve.KVO(ne.J))}}static{this.\u0275prov=ve.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})()},70309(Vt,Pe,d){"use strict";d.d(Pe,{t:()=>S});var S=function(E){return E.DefaultFs="default_fs_redirection",E.FsCommunity="fs_community_details",E.PageNotFound="page_not_found",E.SignIn="default_sign_in",E.NoAccess="no_access",E}(S||{})},12257(Vt,Pe,d){"use strict";d.d(Pe,{n:()=>S});var S=function(E){return E.EMPTY="",E.HOME="home",E.ACCESS="access",E.BUILDER="admin-panel",E.SITES="sites",E.NEW="new",E.WIDGETS="widgets",E.APPS="apps",E.SETTINGS="settings",E.PAGE_PREVIEW="page-preview",E.PREVIEW="preview",E.PAGE_NOT_FOUND="page-not-found",E.GLOBAL_ERR_REDIRECTION="resource-not-found",E.ACCESS_DENIED="access-denied",E.COOKIEBOT_DECLARATION="cookie-declaration",E.WEB_VIEW="web-view",E.IDP="idp",E.HISTORY="history",E.COMMUNITY_DETAILS="community-details",E.INDUSTRY_SOLUTIONS_DETAILS="solution-detail
1s",E.COMMUNITY="community",E.PROJECT_DETAILS="project-details",E.EVENT_DETAILS="event-details",E.ORGANIZATION_DETAILS="organization-details",E.MEMBER_DETAILS="member-details",E.INITIATIVE_DETAILS="initiative-details",E.CASE_STUDY_DETAILS="case-study-details",E.BLOG_DETAILS="post-details",E.ASSESSMENT_RESULTS="assessment-results",E}(S||{})},31957(Vt,Pe,d){"use strict";d.d(Pe,{m:()=>S});var S=function(E){return E.GO="one-digital-forum-icon__go",E.REPLY="one-digital-forum-icon__reply",E.INSTAGRAM_ORIGINAL="one-digital-forum-icon__instagram_original",E.YOUTUBE="one-digital-forum-icon__youtube",E.LINKEDIN="one-digital-forum-icon__linkedin",E.X="one-digital-forum-icon__x",E.FACEBOOK="one-digital-forum-icon__facebook",E.COMMUNITY="one-digital-forum-icon__community",E.LOADING="one-digital-forum-icon__loading",E.ATTACHMENT="one-digital-forum-icon__attachment",E.MAXIMISE="one-digital-forum-icon__maximise",E.MINIMISE="one-digital-forum-icon__minimise",E.CLOSE="one-digital-forum-icon__close",E.HELP="one-digital-forum-icon__help",E.AVATAR_ADD="one-digital-forum-icon__avatar_add",E.MINUS="one-digital-forum-icon__minus",E.PLUS="one-digital-forum-icon__plus",E.FILTER="one-digital-forum-icon__filter",E.BOOKMARK="one-digital-forum-icon__bookmark",E.BOOKMARK_FILLED="one-digital-forum-icon__bookmark_filled",E.BLOCK_QUOTE="one-digital-forum-icon__block_quote",E}(S||{})},5558(Vt,Pe,d){"use strict";d.d(Pe,{g:()=>S});var S=function(E){return E.HOME="Home",E.BENCHMARKING_TOOL="Benchmarking Tool",E.COMMUNITY_DETAILS="Community Details",E.PROJECT_DETAILS="Project Details",E.ORGANIZATION_DETAILS="Organization Details",E.MEMBER_DETAILS="Member Details",E.EVENT_DETAILS="Event Details",E.INITIATIVE_DETAILS="Initiative Details",E.CASE_STUDY_DETAILS="Case Study Details",E.BLOG_DETAILS="Blog Post Details",E.RELATED_INITIATIVES="Related Initiatives",E.RELATED_COMMUNITIES="Related Communities",E.SUB_COMMUNITIES="Sub-Communities",E.GET_INVOLVED="Get Involved",E.JOIN_US="Join Us",E.INSIGHTS="Static Insights",E.ABOUT="About",E.PARTNERS="Partners",E.PROJECTS="Projects",E.PLAYBOOK="Playbook",E.EVENTS="Events",E.CASE_STUDIES="Case Studies",E.POLICY_NAVIGATOR="Policy Navigator",E.SI_INSIGHTS_PAGE="Strategic Intelligence Insights",E.PAGE_NOT_FOUND="PageNotFound",E.ACCESS_DENIED="AccessDenied",E.COOKIEBOT_DECLARATION="Cookiebot Declaration",E.REPORTS="WeForum Reports",E.LOGIN="Login",E.SIGN_UP="Sign up",E.ORGANIZATIONS="Organizations",E.OVERVIEW="Overview",E.MEMBERS="Members",E.FEED="Feed",E.CUSTOM="Custom",E.LIBRARY="Library",E.BLOG="Blog",E.STANDALONE_COMMUNITY="Standalone Community",E.INDUSTRY_SOLUTIONS="Industry Solutions",E.INDUSTRY_SOLUTIONS_DETAILS="Industry Solutions Details",E.ASSESSMENTS="Assessments",E.ASSESSMENT_RESULTS="Assessment Results",E}(S||{})},34308(Vt,Pe,d){"use strict";d.d(Pe,{u:()=>S});var S=function(E){return E.DRAFT="draft",E.PUBLISH="published",E.NEW="available",E.STANDALONE="standalone",E}(S||{})},23602(Vt,Pe,d){"use strict";d.d(Pe,{R:()=>E,q:()=>S});var S=function(M){return M.FACEBOOK="Facebook",M.LINKEDIN="LinkedIn",M.TWITTER="Twitter",M.X="X",M.YOUTUBE="YouTube",M.INSTAGRAM="Instagram",M}(S||{});const E={[S.TWITTER]:"https://x.com/",[S.X]:"https://x.com/"}},12429(Vt,Pe,d){"use strict";d.d(Pe,{Z:()=>S});var S=function(E){return E.TIER="viewEditorAs",E.INVITATION_MEMBERSHIP_TOKEN="invitationMembershipToken",E.MEMBERSHIP_PROCESSING="membershipProcessing",E.MEMBERSHIP_ACTIVATION_CHECK_NUMBER="membershipActivationCheckNumber",E.MEMBERSHIP_TOAST_MESSAGE="membershipToastMessage",E.LOGIN_CUSTOM_TARGET_URL="loginCustomTargetUrl",E.ORIGIN_URL="originUrl",E.USER_LOGGED_OUT="userLoggedOut",E.FROM_INVITE_FLOW="fromInviteFlow",E.EMPTY="_",E.MEMBERSHIP_ACTIVATION="activationToken",E.ACTIVATE_RELOAD="accReloAcc",E.ASSESSMENTS_ACTIVE_TAB="assessments-active-tab",E}(S||{})},57805(Vt,Pe,d){"use strict";d.d(Pe,{P:()=>S});var S=function(E){return E.ELECTRIC_INDIGO="electric-indigo",E.MARGUERITE="marguerite",E.FORUM_DARK="forum-dark",E.TENNE="tenne",E.FOREST="forest",E.DODGER_BLUE="dodger-blue",E.REVOLVER="revolver",E.SQUID_INK="squid-ink",E.OCEAN="ocean",E.EGYPTIAN_BLUE="egyptian-blue",E.BYZANTINE_BLUE="byzantine-blue",E.PERSIAN_BLUE="persian-blue",E.SALTPAN="saltpan",E.TURQUOISE="turquoise",E.RAW_SIENNA="raw-sie
1nna",E.SHERWOOD="sherwood",E.FORUM_LIGHT="forum-light",E.PLUM="plum",E.NEON_YELLOW="neon-yellow",E.JEWEL="jewel",E.BLIZZARD_BLUE="blizzard-blue",E.MOSQUE="mosque",E.EDEN="eden",E.SALEM="salem",E.SAFETY_ORANGE="safety-orange",E.WATERCOURSE="watercourse",E.BLUETIFUL_LIGHT="bluetiful-light",E.BLUETIFUL_DARK="bluetiful-dark",E.SEA_GREEN="sea-green",E.SAPPHIRE="sapphire",E.SUNSET="sunset",E.MINT_GREEN="mint-green",E}(S||{})},88192(Vt,Pe,d){"use strict";d.d(Pe,{$:()=>E,J:()=>S});var S=function(M){return M.PUBLIC="public",M.FOLLOWERS="followers",M.MEMBERS="members",M}(S||{});const E="everyone"},54079(Vt,Pe,d){"use strict";d.d(Pe,{f:()=>S});var S=function(E){return E.ALL="all",E.PUBLISHED="published",E.UNPUBLISHED="unpublished",E}(S||{})},89922(Vt,Pe,d){"use strict";d.d(Pe,{u:()=>S});var S=function(E){return E.AI_TRENDS_SUMMARY="aiTrendsSummary",E.ARTICLES_DYNAMIC="articles_dynamic",E.BENCHMARKING_TOOL="benchmarkingTool",E.BENCHMARKING_TOOL_HEADER="benchmarkingToolHeader",E.CALL_TO_ACTION="callToAction",E.FEATURED_CONTENT_CAROUSEL="featuredContentCarousel",E.CASE_STUDIES="caseStudies",E.CASE_STUDIES_DETAILS="caseStudiesDetails",E.CASE_STUDIES_DYNAMIC="caseStudiesDynamic",E.CASE_STUDIES_IMPACT_SUMMARY="caseStudiesImpactSummary",E.CATALOG="catalog",E.COMMUNITY_DETAILS="communityDetails",E.COMMUNITY_ABOUT="communityAbout",E.COMMUNITY_VALUE="communityValue",E.COMMUNITY_MISSION="communityMission",E.COMMUNITY_OUTCOME="communityOutcome",E.COMMUNITY_GET_INVOLVED="communityGetInvolved",E.COMMUNITY_DYNAMIC_WIDGET="communityDynamicWidget",E.CONTENT="content",E.CONTENT_2="content_2",E.COUNTER="counter",E.DATA_VISUALISATION="dataVisualisation",E.EVENT_DETAILS="eventDetails",E.EVENTS_DYNAMIC="events_dynamic",E.EVENTS_PAGE="eventsPage",E.FAQ="faq",E.FEATURE="feature",E.FEATURE_GROUP="featureGroup",E.FEED="feed",E.FEED_WIDGET="feedWidget",E.FOOTER="footer",E.HEADER="header",E.HERO="hero",E.IMAGE_VIDEO_SECTION="imageVideoSection",E.INFO="info",E.INITIATIVE_DETAILS="initiativeDetails",E.INDUSTRY_SOLUTIONS_DETAILS="industrySolutionDetails",E.FORUM_INSIGHTS="forumInsights",E.JOIN_US="joinUs",E.LIBRARY="library",E.LISTING_TAB="listingTab",E.LOGOS="logos",E.MEDIA="media",E.MEMBER_DETAILS="memberDetails",E.MEMBERS="members",E.MEMBERS_DYNAMIC="members_dynamic",E.METRICS="metrics",E.ORGANIZATION_DETAILS="organizationDetails",E.ORGANIZATIONS="organizations",E.ORGANIZATIONS_DYNAMIC="organizations_dynamic",E.PAGE_NOT_FOUND="pageNotFound",E.COOKIEBOT_DECLARATION="cookiebotDeclaration",E.PEOPLE="people",E.POLICY_NAVIGATOR="policyNavigator",E.PODCASTS="podcasts",E.PROJECT_DETAILS="projectDetails",E.PROJECTS="projects",E.PROJECTS_DYNAMIC="project_dynamic",E.QUOTE="quote",E.RELATED_COMMUNITIES="relatedCommunities",E.RELATED_INITIATIVES="relatedInitiatives",E.REPORTS="reports",E.REPORTS_DYNAMIC="reports_dynamic",E.SI_INSIGHTS_PAGE="insightsPage",E.SI_INSIGHTS_WIDGET="insights",E.SIMPLE_COUNTER="simpleCounter",E.SPACE="space",E.STATEMENT="statement",E.SUB_COMMUNITIES="relatedSubcommunities",E.STANDALONE_COMMUNITY_HERO="standaloneCommunityHero",E.TIMELINE="timeline",E.TITLE="title",E.VIDEOS="videos",E.WELCOME_STATISTICS="welcomeStatistics",E.MILESTONES_DYNAMIC="milestonesDynamic",E.BLOG="blog",E.BLOG_DETAILS="blogDetails",E.INDUSTRY_SOLUTIONS="industrySolutions",E.ASSESSMENTS="assessments",E.ASSESSMENT_RESULTS="assessmentResults",E}(S||{})},3282(Vt,Pe,d){"use strict";d.d(Pe,{q:()=>R});var S=d(2615),E=d(32591),M=d(96354),f=d(96697),b=d(97005),A=d(8101);const R=N=>{const q=(0,S.WQX)(E.bZ);if(N.canDeactivate())return!0;const ee=N?.getUnsavedChangeModalConfig?N.getUnsavedChangeModalConfig():(0,A.sC)();return q.open(b.P,ee).afterClosed().pipe((0,f.s)(1),(0,M.T)(ie=>(!ie&&N.onDiscardSnackBar&&N.onDiscardSnackBar(),!ie)))}},37009(Vt,Pe,d){"use strict";d.d(Pe,{G7:()=>B,L4:()=>N,XN:()=>M,Yx:()=>q,Zh:()=>ve,jU:()=>U,kL:()=>A,ml:()=>ee,pV:()=>f,rM:()=>R,tO:()=>b,vO:()=>ie});var S=d(31957),E=d(74971);const M=2,f=6e3,b=100,A=2e3,R=3,N="I\u2019m your AI assistant - here to help you learn, connect, and act.",q='AI can make mistakes. For important information, contact <a target="_blank" href="mailto:[email protected]">[email protected]</a>. To help us improve, share feedback via this <a target="_blank" href="https://wefglobal.eu.qualtrics.com/jfe/form/SV_6Rakvug93UwOVUO">form</a>',ee="Treeforce",B={[E.Kb.PROGRESS_INDICATOR]:"Reasoning",[E.Kb.TEXT_CHUNK]:"",[E.Kb.INFORM]:"",[E.Kb.VALIDATION_FAILURE_CHUNK]:"Let me revisit my answer",[E.Kb.INQUIRE]:"",[E.Kb.CONFIRM]:"",[E.Kb.FAILURE]:'Something went wrong, please try again. If the issue persists, please reach out to our team at <
1a target="_blank" href="mailto:[email protected]">[email protected]</a>',[E.Kb.ESCALATE]:"",[E.Kb.SESSION_ENDED]:"Your chat session has ended. If you\u2019d like to continue, please refresh the page.",[E.Kb.END_OF_TURN]:"-- end of turn --",[E.Kb.ERROR]:'Something went wrong. Please try again or refresh the page. If it keeps happening, you\'re welcome to contact our team at <a target="_blank" href="mailto:[email protected]">[email protected]</a>'},ie=[{type:E.Eo.GENERAL_FAQ,icon:S.m.AVATAR_ADD,title:"General FAQ",question:"What does Forest Future Alliance (FFA) actually do?"},{type:E.Eo.MATCHMAKING,icon:S.m.HELP,title:"Matchmaking",question:"What are your recommendations for getting started?"}],ve={id:"loading-id",sender:E.U1.SYSTEM,type:E.Go.EVENT,content:B[E.Kb.PROGRESS_INDICATOR],timestamp:""},U="Related materials:"},74971(Vt,Pe,d){"use strict";d.d(Pe,{Eo:()=>b,Go:()=>M,Kb:()=>S,LL:()=>f,U1:()=>E,Zb:()=>R,dF:()=>A});var S=function(N){return N.PROGRESS_INDICATOR="ProgressIndicator",N.TEXT_CHUNK="TextChunk",N.INFORM="Inform",N.VALIDATION_FAILURE_CHUNK="ValidationFailureChunk",N.INQUIRE="Inquire",N.CONFIRM="Confirm",N.FAILURE="Failure",N.ESCALATE="Escalate",N.SESSION_ENDED="SessionEnded",N.END_OF_TURN="EndOfTurn",N.ERROR="Error",N}(S||{}),E=function(N){return N.USER="user",N.AGENT="agent",N.SYSTEM="system",N}(E||{}),M=function(N){return N.TEXT="text",N.CARD="card",N.LINK="link",N.EVENT="event",N.LAST="last",N}(M||{}),f=function(N){return N.TEXT="Text",N.REPLY="Reply",N.CANCEL="Cancel",N.TRANSFER_FAILED="TransferFailed",N.TRANSFER_SUCCEEDED="TransferSucceeded",N.PLAN_TEMPLATE="PlanTemplate",N}(f||{}),b=function(N){return N.GENERAL_FAQ="FAQ Agent",N.MATCHMAKING="Knowledge Agent",N}(b||{}),A=function(N){return N.SYNC="Sync",N.STREAMING="Streaming",N}(A||{}),R=function(N){return N.RECORD="record",N.LINK="link",N}(R||{})},28663(Vt,Pe,d){"use strict";d.d(Pe,{H:()=>ae});var S=d(84412),E=d(5964),M=d(97647),f=d(59030),b=d(983),A=d(73557),R=d(1807),N=d(56977),q=d(57786),ee=d(96354),B=d(70980),ie=d(88141),ve=d(25558),U=d(99437),ne=d(37009),X=d(74971),W=d(2615),Z=d(45312),re=d(29330),K=d(35886),ce=d(73878);let ue=(()=>{class te{constructor(_e,we,De){this.http=_e,this.sse=we,this.apiEndpointService=De}getAgents(_e){return this.http.get(`${this.apiEndpointService.getFWSEndpoint()}${Z.c.ai_agent_path}/communities/${_e}/agents`)}startSession({agentId:_e,communityId:we}){const De=`${this.apiEndpointService.getFWSEndpoint()}${Z.c.ai_agent_path}/agents/${_e}/sessions`;return this.http.post(De,{community_id:we,type:X.dF.STREAMING})}endSession({agentId:_e,sessionId:we}){const De=`${this.apiEndpointService.getFWSEndpoint()}${Z.c.ai_agent_path}/agents/${_e}/sessions/${we}`;return this.http.delete(De)}sendSSEMessage({agentId:_e,sessionId:we,message:De}){return this.sse.stream(`${Z.c.onboarding_loading_page_host}${Z.c.ai_agent_path}/agents/${_e}/sessions/${we}/send-stream-message`,{keepAlive:!1},{body:{type:De.type,text:De.text}},"POST")}static{this.\u0275fac=function(we){return new(we||te)(W.KVO(re.Qq),W.KVO(K.z$),W.KVO(ce.J))}}static{this.\u0275prov=W.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})(),ae=(()=>{class te{constructor(_e){this.api=_e,this.userMessage$=new S.t(null),this.activeAgentId$=new S.t(""),this.activeSession$=new S.t(null),this.isLoadingStreamMessage$=new S.t(!1),this.isLoadingEndSession$=new S.t(!1)}setActiveAgentId(_e){this.activeAgentId$.next(_e)}resetActiveAgentId(){this.activeAgentId$.next("")}setActiveSession(_e){this.activeSession$.next(_e)}resetActiveSession(){this.activeSession$.next(null)}setUserMessage(_e){this.userMessage$.next(_e)}resetUserMessage(){this.userMessage$.next(null)}setLoadingStreamMessage(){this.isLoadingStreamMessage$.next(!0)}resetLoadingStreamMessage(){this.isLoadingStreamMessage$.next(!1)}getFAQAgent(_e){return this.api.getAgents(_e).pipe((0,ee.T)(we=>we.find(De=>De.type===X.Eo.GENERAL_FAQ)),(0,E.p)(we=>!!we))}startSession(_e){return this.api.startSession(_e)}endSession(_e){return this.isLoadingEndSession$.next(!0),this.api.endSession(_e).pipe((0,B.j)(()=>this.isLoadingEndSession$.next(!1)))}sendSSEMessage(_e){const De=this.api.sendSSEMessage(_e).pipe((0,E.p)(vt=>"error"!==vt.type),(0,ee.T)(vt=>vt),(0,M.u)()).pipe((0,ee.T)(vt=>this.safeParseSse(vt)),(0,E.p)(vt=>null!==vt),(0,M.u)()),Ie=(0,f.v)(()=>(this.setLoadingStreamMessage(),b.w)),Me=De.pipe((0,ie.M)(()=>this.resetLoadingStreamMessage()),(0,A.w)()),Ze=De.pipe((0,E.p)(vt=>vt.message.type!==X.Kb.PROGRESS_INDICATOR&&vt.message.type!==X.Kb.END_OF_TURN),(0,ve.n)(()=>(0,R.O)(ne.kL).pipe((0,N.Q)(De))),(0,ie.M)(()=>this.setLoadingStreamMessage()),(0,A.w)()),Ye=De.pipe((0,E.p)(vt=>vt.message.type===X.Kb.END_OF_TURN),(0,ie.M)(()=>this.resetLoadingStreamMessage()),(0,A.w)()),Je=De.pipe((0,E.p)(vt=>vt.message.type!==X.Kb.INFORM||(vt.message.citedReferences?.length??0)>0));return(0,q.h)(Ie,Me,Ze,Ye,Je).pipe((0,B.j)(()=>this.resetLoadingStreamMessage()),(0,U.W)(()=>(this.resetLoadingStreamMessage(),b.w)))}createUserMessage(_e){return{id:Date.now().toString(),sender:X.U1.USER,type:X.Go.TEXT,content:_e,timestamp:(new Date).toISOString()}}transformEventToMessage({message:_e,originEventId:we,traceId:De}){switch(_e.type){case X.Kb.TEXT_CHUNK:return{id:_e.id,sender:X.U1.AGENT,type:X.Go.TEXT,content:_e.message||ne.G7[X.Kb.TEXT_CHUNK],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.INFORM:return _e.citedReferences&&_e.citedReferences.length>0?{id:_e.id,sender:X.U1.AGENT,type:X.Go.LINK,content:_e.message||ne.G7[X.Kb.INFORM],timestamp:_e.timestamp??(new Date).toISOString(),citedReferences:_e.citedReferences,metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}}:null;case X.Kb.VALIDATION_FAILURE_CHUNK:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.EVENT,content:_e.message||ne.G7[X.Kb.VALIDATION_FAILURE_CHUNK],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.PROGRESS_INDICATOR:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.EVENT,content:_e.message||ne.G7[X.Kb.PROGRESS_INDICATOR],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.END_OF_TURN:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.LAST,content:ne.G7[X.Kb.END_OF_TURN],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.FAILURE:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.TEXT,content:ne.G7[X.Kb.FAILURE],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.ERROR:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.TEXT,content:ne.G7[X.Kb.ERROR],timestamp:(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};case X.Kb.SESSION_ENDED:return{id:_e.id,sender:X.U1.SYSTEM,type:X.Go.TEXT,content:ne.G7[X.Kb.SESSION_ENDED],timestamp:_e.timestamp??(new Date).toISOString(),metadata:{originEventId:we,traceId:De,feedbackId:_e.feedbackId,planId:_e.planId}};default:return null}}safeParseSse(_e){if(!_e.data)return null;const we=(_e.data.startsWith("data: ")?_e.data.slice(6):_e.data).trim();if(!we)return null;const De=we.split("\n").filter(Ie=>""!==Ie.trim());for(let Ie=De.length-1;Ie>=0;Ie--)try{return JSON.parse(De[Ie].trim())}catch{}return null}static{this.\u0275fac=function(we){return new(we||te)(W.KVO(ue))}}static{this.\u0275prov=W.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},79629(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>ne});
1var S=d(29330),E=d(84412),M=d(18810),f=d(96354),b=d(25558),A=d(88141),R=d(99437),N=d(5964),q=d(9015),ee=d(9617),B=d(2615),ie=d(49030),ve=d(54427),U=d(73878);let ne=(()=>{class X{constructor(Z,re,K,ce){this.http=Z,this.idpService=re,this.tierService=K,this.apiEndpointService=ce,this.blogLoading$=new E.t(!1),this.blogError$=new E.t(null),this.blog$=new E.t(null)}getBlogDetails(Z){if(this.currentSiteId!==Z&&this.resetBlogDetails(Z),!this.blogLoading$.getValue()&&this.blog$.getValue())return this.blog$.pipe((0,N.p)(Boolean));const re=this.tierService.isPublic()?`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/public/sites/${Z}/blog`:`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog`;return this.blogLoading$.next(!0),this.http.get(re).pipe((0,A.M)(K=>{this.blog$.next(K),this.blogLoading$.next(!1)}),(0,R.W)(K=>(this.blog$.next(null),this.blogLoading$.next(!1),this.blogError$.next(K),(0,M.$)(()=>K))))}resetBlogDetails(Z){this.blog$.next(null),this.blogLoading$.next(!1),this.blogError$.next(null),this.currentSiteId=Z}getPost(Z,re,K){const ce=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts/${K}`;return this.http.get(ce)}getPostDetails({siteId:Z,blogId:re,postSlug:K,headers:ce}){const ue=this.tierService.isPublic()?`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/public/sites/${Z}/blog/posts/${K}`:`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts/${K}`,ae=new S.Lr({...ce?.tier&&{"X-Preview-Tier":ce?.tier}});return this.http.get(ue,{headers:ae})}getAuthors(Z,re){const K=(new S.Nl).set("query",re),ce=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/authors`;return this.http.get(ce,{params:K})}createPost(Z,re,K){const ce=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts`;return this.http.post(ce,K)}updatePost(Z,re,K,ce){const ue=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts/${K}`;return this.http.put(ue,ce)}patchPost(Z,re,K,ce){const ue=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts/${K}`;return this.http.patch(ue,ce)}getPosts({siteId:Z,blogId:re,headers:K,options:ce}){const ue=this.tierService.isPublic()?`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/public/sites/${Z}/blog/posts`:`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts`,ae=new S.Lr({...K?.tier&&{"X-Preview-Tier":K?.tier}}),te=new S.Nl({fromObject:{...ce}});return this.http.get(ue,{headers:ae,params:te,observe:"response"})}postCover(Z,re,K,ce){const ue=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/blog/${re}/posts/${K}/images/cover`,ae=new FormData;return ae.append(q.T.FILE,ce),this.http.post(ue,ae)}uploadImageFromUrl(Z,re,K,ce){return this.http.get(ce,{responseType:"blob"}).pipe((0,f.T)(ue=>{const ae=(new ee.c).transform(ce);return new File([ue],ae,{type:ue.type})}),(0,b.n)(ue=>this.postCover(Z,re,K,ue)))}static{this.\u0275fac=function(re){return new(re||X)(B.KVO(S.Qq),B.KVO(ie.JP),B.KVO(ve.s),B.KVO(U.J))}}static{this.\u0275prov=B.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},8101(Vt,Pe,d){"use strict";d.d(Pe,{DB:()=>b,I3:()=>R,IO:()=>A,Mz:()=>M,QB:()=>N,SC:()=>U,Uz:()=>X,ZO:()=>ee,__:()=>f,cd:()=>ve,os:()=>ne,sC:()=>B,w6:()=>ie});var S=d(86906),E=d(24228);const M=()=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Delete Page",message:"Are you sure you want to delete this page?",buttons:{cancel:{title:"Cancel"},confirm:{title:"Delete",type:E.O.ERROR}}}}),f=(W="You are deleting a Homepage, please assign any other page as Homepage before deleting current page.")=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Delete Page",message:W,buttons:{confirm:{title:"Ok"}}}}),b=()=>({disableClose:!1,width:"424px",panelClass:S.C,data:{title:"Something went wrong",message:"We couldn\u2019t save your changes. Please retry later or contact technical support for assistance.",buttons:{confirm:{title:"Okay"}}}}),A=W=>({disableClose:!0,width:"720px",panelClass:["publish-dialog-wrapper",S.C],data:{site$:W}}),R=(W,Z)=>({disableClose:!0,width:"648px",panelClass:["publish-dialog-wrapper",S.C],data:{url:W,imgPath:Z}}),N=W=>{const K=W?.error.match(/'(.*?)'/g)?.join("\n")?.replace(/'/g,"")||"";return{disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Error Message",message:`The website cannot be published as one or more pages below seems to be not updated and have content from the template.\n\n      ${K}`,buttons:{confirm:{title:"Ok"}}}}},q=(W=!1)=>({...B(W)}),ee=(W=!1)=>({...q(W),data:{title:"Discard changes",message:"Are you sure you want to discard the changes you made?",buttons:{cancel:{title:"Discard"},confirm:{title:"Keep Editing"}}}}),B=(W=!1)=>({disableClose:!0,width:"424px",panelClass:W?"":S.C,data:{title:"You have unsaved changes",message:"It is advisable to regularly save your changes. \nDo you still want to leave?",buttons:{cancel:{title:"Discard changes"},confirm:{title:"Keep editing"}}}}),ie=()=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Unsaved changed",messageHTML:"Before moving to another page, please save your changes to avoid losing your progress. \n \n <strong>Tip: Save your changes regularly to avoid losing your progress.</strong>",buttons:{cancel:{title:"Discard changes"},confirm:{title:"Save & Proceed"}}}}),ve=W=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Restore Version",message:`You would restore version ${W} Live website won\u2019t change until you click \u201cPublish\u201d.`,buttons:{cancel:{title:"Cancel"},confirm:{title:"Restore"}}}}),U=()=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Saved Successfully",message:"The changes are not visible on live website. Publish to see the changes on live website",buttons:{confirm:{title:"Okay"}}}}),ne=()=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"You Want to Exit",message:"Your changes will be lost if you wont save them.",buttons:{cancel:{title:"Discard Changes"},confirm:{title:"Save"}}}}),X=W=>({disableClose:!0,width:"424px",panelClass:S.C,data:{title:"Important",template:W,buttons:{cancel:{title:"Cancel"},confirm:{title:"Continue to Upload"}}}})},75072(Vt,Pe,d){"use strict";d.d(Pe,{L:()=>S});var S=function(E){return E.WHITE="--white",E.DARK="--dark-color",E.BACKGROUND="--background-color",E.PRIMARY="--primary-color",E.SECONDARY="--secondary-color",E.TETRIARY="--tetriary-color",E}(S||{})},30509(Vt,Pe,d){"use strict";d.d(Pe,{V:()=>M});var S=d(12257),E=d(19792);const M=[S.n.ACCESS_DENIED,S.n.EMPTY,S.n.IDP,S.n.NEW,S.n.PAGE_NOT_FOUND,S.n.SITES,S.n.WEB_VIEW,...E.Zk]},19792(Vt,Pe,d){"use strict";d.d(Pe,{xd:()=>ne,QN:()=>X,Zk:()=>ve,wD:()=>U});var S=d(12257),E=d(5558);const M={name:E.g.ASSESSMENT_RESULTS,path:S.n.ASSESSMENT_RESULTS,type:E.g.ASSESSMENT_RESULTS,json:{},seo:{}},f={name:"Blog Post Details",path:S.n.BLOG_DETAILS,type:E.g.BLOG_DETAILS,json:{},seo:{}},b={name:E.g.CASE_STUDY_DETAILS,path:S.n.CASE_STUDY_DETAILS,type:E.g.CASE_STUDY_DETAILS,json:{},seo:{}},A={name:"Community Details",path:S.n.COMMUNITY_DETAILS,type:E.g.COMMUNITY_DETAILS,json:{},seo:{}},R={name:E.g.EVENT_DETAILS,path:S.n.EVENT_DETAILS,type:E.g.EVENT_DETAILS,json:{},seo:{}},N={name:E.g.INDUSTRY_SOLUTIONS_DETAILS,path:S.n.INDUSTRY_SOLUTIONS_DETAILS,type:E.g.INDUSTRY_SOLUTIONS_DETAILS,json:{},seo:{}},q={name:"Initiative Details",path:S.n.INITIATIVE_DETAILS,type:E.g.COMMUNITY_DETAILS,json:{},seo:{}},ee={name:E.g.MEMBER_DETAILS,path:S.n.MEMBER_DETAILS,type:E.g.MEMBER_DETAILS,json:{},seo:{}},B={name:E.g.ORGANIZATION_DETAILS,path:S.n.ORGANIZATION_DETAILS,type:E.g.ORGANIZATION_DETAILS,json:{},seo:{}},ie={name:"Project Details",path:S.n.PROJECT_DETAILS,type:E.g.PROJECT_DETAILS,json:{},seo:{}},ve=[S.n.COMMUNITY_DETAILS,S.n.PROJECT_DETAILS,S.n.INITIATIVE_DETAILS,S.n.EVENT_DETAILS,S.n.CASE_STUDY_DETAILS,S.n.INDUSTRY_SOLUTIONS_DETAILS,S.n.ORGANIZATION_DETAILS,S.n.MEMBER_DETAILS,S.n.BLOG_DETAILS,S.n.ASSESSMENT_RESULTS],U={[S.n.COMMUNITY_DETAILS
1]:A,[S.n.INITIATIVE_DETAILS]:q,[S.n.PROJECT_DETAILS]:ie,[S.n.EVENT_DETAILS]:R,[S.n.CASE_STUDY_DETAILS]:b,[S.n.INDUSTRY_SOLUTIONS_DETAILS]:N,[S.n.ORGANIZATION_DETAILS]:B,[S.n.MEMBER_DETAILS]:ee,[S.n.BLOG_DETAILS]:f,[S.n.ASSESSMENT_RESULTS]:M},ne={members:S.n.MEMBER_DETAILS,organizations:S.n.ORGANIZATION_DETAILS,projects:S.n.PROJECT_DETAILS,events:S.n.EVENT_DETAILS,caseStudy:S.n.CASE_STUDY_DETAILS,industrySolutions:S.n.INDUSTRY_SOLUTIONS_DETAILS,blogPosts:S.n.BLOG_DETAILS};var X=function(W){return W.MEMBER="members",W.ORGANIZATION="organizations",W.PROJECT="projects",W.EVENT="events",W.CASE_STUDY="caseStudy",W.INDUSTRY_SOLUTIONS="industrySolutions",W.BLOG_POSTS="blogPosts",W}(X||{})},67893(Vt,Pe,d){"use strict";d.d(Pe,{jV:()=>f,rA:()=>M,yU:()=>E});var S=d(4810),E=function(b){return b.CaseStudies="case-studies",b.Publications="publications",b.DataAndTools="data-and-tools",b.SkillsAndLearning="skills-and-learning",b}(E||{});const M={id:E.SkillsAndLearning,mixpanelType:S.Gz.CASE_STUDY,title:"Skills & learning",value:[]},f=[{id:E.CaseStudies,mixpanelType:S.Gz.CASE_STUDY,title:"Case studies",value:[]},{id:E.Publications,mixpanelType:S.Gz.INSIGHT,title:"Publications",value:[]},{id:E.DataAndTools,mixpanelType:S.Gz.INSIGHT,title:"Data and tools",value:[]},M]},3534(Vt,Pe,d){"use strict";d.d(Pe,{h:()=>S});var S=function(E){return E.ACCESS="access",E.ANALYTICS="analytics",E.BLOG="blog",E.OVERVIEW="overview",E.USERS="users",E.EMAILS="emails",E}(S||{})},88882(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>S.c});var S=d(45312)},13839(Vt,Pe,d){"use strict";d.d(Pe,{p:()=>R});var S=d(70309),E=d(12429),M=d(78124),f=d(84862),b=d(2615),A=d(49030);let R=(()=>{class N{constructor(ee,B,ie){this.idp=ee,this.sessionStorage=B,this.window=ie,this.INITIAL_ATTEMPT_NUMBER=0,this.FIRST_ATTEMPT_NUMBER=1,this.INITIAL_ACTIVATION_DELAY=2e3,this.SECOND_ATTEMPT_DELAY=3500,this.THIRD_ATTEMPT_DELAY=4500}initiateMembershipActivation(){const ee=new URL(this.window.location.href);ee.searchParams.set(E.Z.MEMBERSHIP_PROCESSING,`attempt-${this.INITIAL_ATTEMPT_NUMBER}`),this.sessionStorage.setItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER,this.FIRST_ATTEMPT_NUMBER.toString()),this.reloadTimeout=setTimeout(()=>{this.redirectToUrl(ee.toString())},this.INITIAL_ACTIVATION_DELAY)}handleMembershipActivationFlow(ee,B,ie){const ve=this.sessionStorage.getItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER);return ve&&ie&&(B===S.t.SignIn||B===S.t.NoAccess)?this.handleMembershipActivationRetry(ee):(ve&&this.sessionStorage.removeItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER),!1)}handleMembershipActivationRetry(ee){const B=this.sessionStorage.getItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER),ie=B?parseInt(B,10):0;if(ie<1||ie>3)return!1;if(ie>=3)return this.sessionStorage.removeItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER),this.idp.logout(ee),!0;const U=ie+1;this.sessionStorage.setItem(E.Z.MEMBERSHIP_ACTIVATION_CHECK_NUMBER,U.toString());const ne=2===U?this.SECOND_ATTEMPT_DELAY:this.THIRD_ATTEMPT_DELAY,X=new URL(this.window.location.href);return X.searchParams.set(E.Z.MEMBERSHIP_PROCESSING,"attempt-"+U.toString()),this.reloadTimeout=setTimeout(()=>{this.redirectToUrl(X.toString())},ne),!0}redirectToUrl(ee){this.window.location.href=ee}clearReloadTimeout(){this.reloadTimeout&&(clearTimeout(this.reloadTimeout),this.reloadTimeout=void 0)}static{this.\u0275fac=function(B){return new(B||N)(b.KVO(A.JP),b.KVO(M.h1),b.KVO(f.j))}}static{this.\u0275prov=b.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},37001(Vt,Pe,d){"use strict";d.d(Pe,{V:()=>ae});var S=d(10467),E=d(29330),M=d(89079),f=d(68866),b=d(96697),A=d(54843),R=d(25558),N=d(27468),q=d(96354),ee=d(7673),B=d(24153),ie=d(78310),ve=d(45312),U=d(49413);const ne=te=>te===Object(te)&&!Array.isArray(te),X=(te,...de)=>{if(!de.length)return te;const _e=te;if(ne(_e)){const we=de.length;for(let De=0;De<we;De+=1){const Ie=de[De];if(ne(Ie))for(const Me in Ie)Ie.hasOwnProperty(Me)&&(ne(Ie[Me])?((!_e[Me]||!ne(_e[Me]))&&(_e[Me]={}),X(_e[Me],Ie[Me])):_e[Me]=Array.isArray(_e[Me])&&Array.isArray(Ie[Me])?Array.from(new Set(_e[Me].concat(Ie[Me]))):Ie[Me])}}return _e};class W{constructor(){if(this.claims=null,this.userMeInfo=null,this.postLoginInfo=null,this.claims=JSON.parse(localStorage.getItem("id_token_claims_obj")),this.claims){const de=localStorage.getItem(U.f);
1if(!de)return;const{userMeInfo:_e,postLoginInfo:we,claims:De}=JSON.parse(de);this.userMeInfo=_e,this.postLoginInfo=we,De&&(this.claims=X(this.claims,De))}}getUserClaimsProperty(de,_e=null){return this.claims&&this.claims.user&&this.claims.user.hasOwnProperty(de)?this.claims.user[de]:_e}isAnonymous(){return!this.claims}hasCommunities(){return this.postLoginInfo?Number(this.postLoginInfo.has_communities||"0")>0:null}hasEvents(){return this.postLoginInfo?Number(this.postLoginInfo.has_events||"0")>0:null}get id(){return this.getUserClaimsProperty("salesforce_id")}get sfid(){return this.getUserClaimsProperty("salesforce_id")}get roles(){return this.getUserClaimsProperty("roles",[])}get tlroles(){return this.postLoginInfo?this.postLoginInfo.tlroles:[]}get forumStaff(){return this.getUserClaimsProperty("forum_staff")}get superAdmin(){return this.getUserClaimsProperty("super_admin")}get organizationId(){return this.getUserClaimsProperty("primary_organization")}get primaryOrganization(){return this.getUserClaimsProperty("primary_organization")}get organizationName(){return this.getUserClaimsProperty("organization_name")}get topLevelOrgId(){return this.getUserClaimsProperty("top_level_organization_id")}get positionTitle(){return this.userMeInfo?this.userMeInfo.positionTitle:null}get toplinkAccountStatus(){return this.userMeInfo?this.userMeInfo.toplinkAccountStatus:null}get primaryOrganizationCommunityName(){return this.getUserClaimsProperty("primary_organization_community_name")}get primaryCommunity(){return this.userMeInfo?this.userMeInfo.primaryCommunity:null}get firstName(){return this.getUserClaimsProperty("first_name")}get lastName(){return this.getUserClaimsProperty("last_name")}get fullName(){return this.getUserClaimsProperty("full_name")}get email(){return this.getUserClaimsProperty("email")}get uuid(){return this.userMeInfo?this.userMeInfo.uuid:null}get username(){return this.getUserClaimsProperty("username")}get thumbnailUrl(){return this.userMeInfo?this.userMeInfo.thumbnailUrl:null}get primaryEngagementManager(){return this.userMeInfo?this.userMeInfo.primaryEngagementManager:null}get accountProfile(){return this.userMeInfo?this.userMeInfo.accountProfile:null}get visible(){return this.userMeInfo?this.userMeInfo.visible:null}get liveChatAvailable(){return this.userMeInfo?this.userMeInfo.liveChatAvailable:null}get is_group_oc(){return this.postLoginInfo?this.postLoginInfo.is_group_oc:null}get is_org_oc(){return this.postLoginInfo?this.postLoginInfo.is_org_oc:null}get is_event_oc(){return this.postLoginInfo?this.postLoginInfo.is_event_oc:null}get messagingBlocked(){return this.userMeInfo?this.userMeInfo.toplinkMessagingBlocked:null}get operationalContact(){return this.userMeInfo?this.userMeInfo.operationalContact:null}get masqueradingUser(){return this.claims?.masquerading_user?.sfdc_user||null}get sessionSignupDate(){return this.postLoginInfo?this.postLoginInfo.session_signup_date:null}get externalToken(){return this.postLoginInfo?this.postLoginInfo.external_token:null}get covidCommunities(){return this.postLoginInfo?this.postLoginInfo.covid_communities:null}rollbarDebug(){return this.claims&&this.claims.user?{id:this.claims.user.salesforce_id,...this.claims.user}:this.userMeInfo?this.userMeInfo:null}}var Z=d(94091),re=d(2615),K=d(49030),ce=d(91029),ue=d(73878);let ae=(()=>{class te{static setLanguage(_e="en"){document.querySelector("html").setAttribute("lang",_e),localStorage.getItem("lang")!==_e&&(localStorage.setItem("lang",_e),window.location.reload())}static getLanguage(){return localStorage.getItem("lang")}static getUserData(){return new W}static getLastLoginMethod(){const _e=localStorage.getItem(U.f);if(_e){const we=JSON.parse(_e);if(we)return we.lastLoginFrom}return null}static getUserInfo(){const _e=localStorage.getItem(U.f);if(_e){const we=JSON.parse(_e)?.userMeInfo;if(we)return we}return null}static hasRole(_e){const we=te.getUserData();return!!we&&-1!==we.tlroles.indexOf(_e)}static isCurrentUser(_e){const we=te.getUserData();return!!we&&_e===we.id}static isOperationalContact(_e=null,we=null){const De=te.getUserData(),{is_group_oc:Ie,is_event_oc:Me,is_org_oc:Ze,organizationId:Ye}=De;if(Ie)return!0;let Je=!1;return _e&&(Je=Je||Me&&Me.includes(_e)),Je=we?Je||Ze&&Ze.includes(we):Je||Ze&&Ze.includes(Ye),Je}static isLocalOperationalContact(_e=null){const we=te.getUserData(),{is_org_oc:De,organizationId:Ie}=we;let Me=!1;return Me=_e?Me||De.includes(_e):Me||De.includes(Ie),Me}static isAnonymousUser(){return te.getUserData().isAnonymous()}static isPublicTMUser(){const _e=te.getUserData();return!!(_e&&_e.roles&&_e.roles.includes("tm_user"))}static isPublicTMUserOnly(){const _e=te.getUserData();if(_e&&_e.roles){const we=_e.roles.includes("tm_user"),De=_e.roles.includes("constituent")||_e.roles.includes("forum_staff");return we&&!De}return!1}static isForumStaff(){const _e=te.getUserData();return _e&&_e.forumStaff?_e.forumStaff:null}
1static isSP(){const _e=te.getUserData();return-1!==["Strategic Partnership","Strategic Partnership Unlimited","Strategic Technology Partnership","Strategic Foundation Partnership"].indexOf(_e.primaryOrganizationCommunityName)}isTopLinkUser(){const _e=te.getUserData();return!(!_e||!_e.roles)&&(_e.roles.includes("toplink_user")||this.isMasqueradingWithCheck())}getBearer(_e="Bearer "){return this.isAuthenticated()?_e+this.idpService.masqueradingOrIdToken:null}constructor(_e,we,De,Ie,Me){this.http=_e,this.idpService=we,this.router=De,this.apiEndpointService=Ie,this.userAccountService=Me,this.idpService.onTokenRefreshed$.pipe((0,M.pQ)()).subscribe(()=>{const Ze=this.isMasquerading();Ze&&this.refreshMasqueradeToken(Ze)})}runInitialLoginSequence(){var _e=this;return(0,S.A)(function*(){if(_e.idpService.hasValidToken()){try{yield _e.setUserMeInfoInStorage(),_e.userAccountService.getUsersCommunities().pipe((0,b.s)(1)).subscribe()}catch(we){401===we?.status&&(yield _e.idpService.forceRefreshTokenProcess(),yield _e.setUserMeInfoInStorage(),_e.userAccountService.getUsersCommunities().pipe((0,b.s)(1)).subscribe())}_e.canMasquerade()&&(yield _e.updateMasqueradingSession())}})()}isAuthenticated(){return!!this.idpService.isAuthenticated()}getDefaultHeaders(_e=!1){return _e?(new E.Lr).set("Content-Type","application/json"):(new E.Lr).set("Content-Type","application/json").set("no-auth","true")}isMasquerading(){return ie.i.getItem(B.rI)||!1}isMasqueradingWithCheck(){return!Z.Z.isAdminEditorPreview()&&this.isMasquerading()}static getMasqueradingToken(){const _e=localStorage.getItem(U.f);if(_e){const we=JSON.parse(_e);if(we&&we.original&&we.id_token)return we.id_token}return!1}static getMasqueradingClaims(){const _e=localStorage.getItem(U.f);if(_e){const we=JSON.parse(_e);if(we&&we.original&&we.claims)return{...we.claims,name:we.claims.user?.full_name,picture:we.claims.user?.picture}}return!1}updateMasqueradingSession(){var _e=this;return(0,S.A)(function*(){if(_e.idpService.hasValidToken())if(_e.isMasquerading())try{yield(0,A._)(_e.startMasqueradingSession(_e.isMasquerading())),console.warn("[ Masq SUCCESSFULLY STARTED ]  ",_e.isMasquerading())}
1catch{te.stopMasqueradingSession(),console.warn("[ Masq FAILED ]  ",_e.isMasquerading())}else te.stopMasqueradingSession(),console.warn("[ Masq STOPPED ]")})()}canMasquerade(){return te.getUserData()?.superAdmin}setNewUser(_e,we,De){const Ie=localStorage.getItem(U.f),Me=this.buildUserObject(_e,De),Ze=JSON.parse(Ie||"")?.original;localStorage.setItem(U.f,JSON.stringify({original:Ze??Ie,...Me,id_token:we})),this.isMasquerading()||ie.i.setItem(B.rI,Me.userMeInfo.id,1)}startMasqueradingSession(_e){return this.requestNewMasqueradingToken(_e).pipe((0,R.n)(({id_token:we})=>(0,N.p)([this.userAccountService.requestUserMeInfo(we)]).pipe((0,q.T)(([De])=>{const Ie=(0,f.s)(we);return this.setNewUser(De,we,Ie),(0,ee.of)(!0)}))))}static stopMasqueradingSession(){ie.i.removeItem(B.rI);const _e=localStorage.getItem(U.f);if(_e){const we=JSON.parse(_e);we.original&&localStorage.setItem(U.f,we.original)}}refreshMasqueradeToken(_e){const we=localStorage.getItem(U.f);if(we){const De=JSON.parse(we);this.requestNewMasqueradingToken(_e,this.idpService.idToken).subscribe(Ie=>{localStorage.setItem(U.f,JSON.stringify(Object.assign(De,Ie)))})}}requestNewMasqueradingToken(_e,we=null){const De=new E.Lr(we?{Authorization:"Bearer "+we}:void 0);return this.http.post(this.apiEndpointService.getFWSEndpoint()+"/authentication/v1/sso/masquerade",{client_id:ve.c.fws_auth_client_id,masquerade_as:_e},{headers:De})}setUserMeInfoInStorage(){var _e=this;return(0,S.A)(function*(){const we=yield(0,A._)(_e.userAccountService.requestUserMeInfo(_e.idpService.idToken)),De=_e.buildUserObject(we);return localStorage.setItem(U.f,JSON.stringify(De)),we})()}buildUserObject(_e,we){const De=Object.assign({},{userMeInfo:_e});return we?Object.assign({},De,{claims:we}):De}logout(_e="/home"){return this.idpService.logout(_e)}jumpSI(_e,we=null){const De=this.buildSILink(_e,we);window.location.replace(De)}buildSILink(_e,we=null){return`${ve.c.strategic_intelligence}/sso?token=${_e}&destination=${we?"/topics/"+we:"/"}`}buildSIpath(_e=null,we=!0){return we?[""]:[`${ve.c.strategic_intelligence}${_e?"/topics/"+_e:"/"}`]}buildAuthenticatePath(_e,we){return[""]}smartJumptoSI(_e=null,we=!0){const De=te.getUserData();if(De.id){const Ie=["tm_user"].includes(De.roles[0]),Me=this.buildSIpath(_e,!0);return Ie&&window.setTimeout(()=>{this.idpService.silentLogout()},500),Me}return this.buildSIpath(_e,!1)}static{this.\u0275fac=function(we){return new(we||te)(re.KVO(E.Qq),re.KVO(K.JP),re.KVO(ce.Ix),re.KVO(ue.J),re.KVO(K.wf))}}static{this.\u0275prov=re.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},33030(Vt,Pe,d){"use strict";d.d(Pe,{O:()=>ue});
1var S=d(29330),E=d(84412),M=d(7673),f=d(96354),b=d(99437),A=d(18810),R=d(12257),N=d(34308),q=d(12429),ee=d(88192);function B(ae,te){return!!ae.data?.data?.isCommunityDetails||!(te&&!ae.firstChild||!te&&!ae.parent)&&B(te?ae?.firstChild:ae.parent,te)}var ie=d(94091),ve=d(78124),U=d(2615),ne=d(73878),X=d(91029),W=d(49030),Z=d(29185),re=d(61945),K=d(54427),ce=d(87265);let ue=(()=>{class ae{constructor(de,_e,we,De,Ie,Me,Ze,Ye,Je,vt,$t){this.httpClient=de,this.apiEndpointService=_e,this.router=we,this.route=De,this.idp=Ie,this.site=Me,this.siteSnapshot=Ze,this.tierService=Ye,this.detailsPermission=Je,this.sitesSnapshotsService=vt,this.sessionStorage=$t,this.isFollower=!1,this.isFollowerLightOrPublic=!1,this.isHubExternalDetailPage=!1,this.currentId="",this.initialState={loading:!1,data:null,error:null,currentTier:ee.J.PUBLIC,currentCommunityId:null},this.tier=ee.J.PUBLIC,this.state$=new E.t(this.initialState),this.communityDetails$=this.state$.asObservable()}isStandalone(){return B(this.route.snapshot,!0)||B(this.route.snapshot,!1)||this.sitesSnapshotsService.currentSite$.getValue()?.isCommunityDetails}getState(){return this.state$}getPreviewedCommunityId(){return this.currentId}getDataAsync(de=!1){const _e=this.site.site$.value||this.siteSnapshot.currentSite$.value,we=_e?.id||"",De=this.router.url.includes(R.n.COMMUNITY_DETAILS),Ie=De?this.getLastSegment(this.router.url)||"":_e?.community?.id||"";return this.state$.value.currentCommunityId!==Ie||de?(this.isHubExternalDetailPage=De,this.currentId=Ie,this.setupFollowerState(_e),this.tier=this.tierService.getTier(),this.getStandaloneCommunityDetails(Ie,this.idp.isAuthenticated(),_e?.permissions.isCoreMember||_e?.permissions.isConstituent||_e?.permissions.isManager||!1,we,_e?.status===N.u.STANDALONE)):(0,M.of)()}getData(){this.getDataAsync().subscribe()}setupFollowerState(de){const _e=!!de?.permissions.isConstituent&&!de?.permissions.isCoreMember&&!de?.permissions.isManager,we=!de?.permissions.isConstituent&&!de?.permissions.isCoreMember&&!de?.permissions.isManager&&this.idp.isAuthenticated();this.isFollower=_e||ie.Z.isAdminPanel()&&this.isViewingAsTier(ee.J.FOLLOWERS),this.isFollowerLightOrPublic=!this.idp.isAuthenticated()||we||ie.Z.isAdminPanel()&&this.isViewingAsTier(ee.J.PUBLIC)}getEndpoint(de,_e,we,De){let Me="";return Me=_e?de?"public/static":"static":de?"public/initiatives":`sites/${De}`,`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/${Me}/communities/${we}`}patchStandaloneCommunityDetailsImage(de,_e,we){const De=this.getEndpoint(!1,!0,_e,de),Ie=new FormData;return Ie.append("image_cover",we),this.httpClient.patch(De,Ie)}patchStandaloneCommunityDetailsDescription(de,_e,we){const De=this.getEndpoint(!1,!0,_e,de);return this.httpClient.patch(De,{description:we})}getStandaloneCommunityDetails(de,_e,we,De,Ie=!1){this.state$.next({loading:!0,data:null,error:null,currentTier:this.tier,currentCommunityId:de});const Me=this.getEndpoint(this.shouldPerformPublicCall(_e,we),Ie,de,De);return this.httpClient.get(Me).pipe((0,f.T)(Ze=>{const Ye=ie.Z.isAdminPanel(),Je=Ze.parent?.id?Ze?.parent?.initiativeUrl:null,vt=Je?{...Ze?.parent,standaloneCommunityUrl:Je}:Ze?.parent,$t={...Ze,howToGetInvolved:Ye||this.isFollower?Ze.howToGetInvolved:null,idealProfessionalProfileOfMembers:Ye||this.isFollower?Ze.idealProfessionalProfileOfMembers:null,standaloneCommunityUrl:Ze.initiativeUrl,parent:vt};return this.state$.next({loading:!1,data:$t,error:null,currentTier:this.tier,currentCommunityId:de}),!Ie&&!ie.Z.isAdminPanel()&&this.detailsPermission.handleCommunityMissingPermissions(Ze),$t}),(0,b.W)(Ze=>(this.handleError(Ze,Ie),this.state$.next({loading:!1,data:null,error:Ze,currentTier:this.tier,currentCommunityId:null}),!Ie&&!ie.Z.isAdminPanel()&&this.detailsPermission.handleCommunityDetailPageError(Ze),(0,A.$)(()=>Ze))))}viewEditorAsFollower(){return localStorage.getItem(q.Z.TIER)===ee.J.FOLLOWERS}resetState(){this.state$.next({loading:!1,data:null,error:null,currentTier:this.tier,currentCommunityId:null})}isViewingAsTier(de){return localStorage.getItem(q.Z.TIER)===de}
1shouldPerformPublicCall(de,_e){const we=this.tierService.getTier();return!(de&&_e)||!!we&&[ee.$,ee.J.PUBLIC].includes(we)}handleError(de,_e=!1){if(de&&_e){if(de?.status===S.kG.Forbidden||de?.status===S.kG.Unauthorized)return void this.router.navigate([`/${R.n.ACCESS_DENIED}`]);this.router.navigate([`/${R.n.PAGE_NOT_FOUND}`])}}getLastSegment(de){if(ie.Z.isAdminPanel()){const De=this.route.snapshot.params||{},Ie=this.route.snapshot.queryParams||{};return De?.subpageId||Ie?.subpageId}const we=de.split("/").filter(De=>De.length>0);return we[we.length-1]}static{this.\u0275fac=function(_e){return new(_e||ae)(U.KVO(S.Qq),U.KVO(ne.J),U.KVO(X.Ix),U.KVO(X.nX),U.KVO(W.JP),U.KVO(Z.T),U.KVO(re.X),U.KVO(K.s),U.KVO(ce.o),U.KVO(re.X),U.KVO(ve.h1))}}static{this.\u0275prov=U.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})()},80633(Vt,Pe,d){"use strict";d.d(Pe,{D:()=>N});var S=d(2615),E=d(84412),M=d(86906),f=d(57805),b=d(97005),A=d(73664),R=d(32591);let N=(()=>{class q{constructor(B,ie,ve){this.document=B,this.dialog=ie,this.rendererFactory=ve,this.isDesignSettingsOpened$=new E.t(!1),this.isDesignSettingsSaved$=new E.t(!0),this.isDesignSettingsSaving$=new E.t(!1),this.selectedTheme$=new E.t(f.P.FORUM_LIGHT),this.dialogRef=null,this.renderer=this.rendererFactory.createRenderer(null,null)}applyThemeSettings(B){const ie=Object.values(f.P).includes(B.theme)?B.theme:f.P.FORUM_LIGHT;this.setDesignSettings(ie,"theme-bundle")}setDesignSettings(B,ie,ve=this.document){const U=ve.getElementById(ie);U&&!U?.href?.includes(`${B}.css`)&&(window?.ci_commit?this.renderer.setProperty(U,"href",`${B}.css?${window.ci_commit}`):this.renderer.setProperty(U,"href",`${B}.css`)),this.isDesignSettingsOpened$.value&&this.isDesignSettingsSaved$.next(!1)}changeDesignTheme(B,ie){this.setDesignSettings(ie??this.selectedTheme$.value,"theme-bundle"),this.setDesignSettings(ie??this.selectedTheme$.value,"theme-bundle",B)}openConfirmationDialog(){this.dialogRef=this.dialog.open(b.P,{maxWidth:"424px",panelClass:M.C,data:{title:"You Want to Exit Design Theme",message:"Your changes will be lost if you wont save them.",buttons:{confirm:{title:"Save"},cancel:{title:"Discard Changes"}}}})}static{this.\u0275fac=function(ie){return new(ie||q)(S.KVO(S.qQL),S.KVO(R.bZ),S.KVO(A._9s))}}static{this.\u0275prov=S.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},87265(Vt,Pe,d){"use strict";d.d(Pe,{o:()=>ne});var S=d(29330),E=d(18810),M=d(983),f=d(4844),b=d(85928),A=d(12257),R=d(67809),N=d(92549),q=d(84862),ee=d(2615),B=d(91029),ie=d(49030),ve=d(12274),U=d(29185);let ne=(()=>{class X{constructor(Z,re,K,ce,ue){this.router=Z,this.idp=re,this.pageService=K,this.siteService=ce,this.window=ue}handleDetailPageError(Z){return Z.status===S.kG.Unauthorized||Z.status===S.kG.Forbidden?(this.handleMissingPermissions(),M.w):(0,E.$)(()=>Z)}handleCommunityDetailPageError(Z){if(![A.n.COMMUNITY_DETAILS,A.n.INITIATIVE_DETAILS].includes((0,N.J6)()))return(0,E.$)(()=>Z);const K=(0,N.iP)();return this.router.navigate(Z.status===S.kG.Unauthorized||Z.status===S.kG.Forbidden?[K,A.n.ACCESS_DENIED]:[K,A.n.PAGE_NOT_FOUND],{preserveFragment:!0}),(0,E.$)(()=>Z)}handleCommunityMissingPermissions(Z){if(![A.n.COMMUNITY_DETAILS,A.n.INITIATIVE_DETAILS].includes((0,N.J6)()))return;const K=Z?.id,ce=Z?.parent?.id,ue=!!Z?.memberSpaceAccess,ae=this.siteService?.site$?.value?.community?.id||"",te=f.R.includes(ae);te&&!K||te&&ce!==ae?this.handleMissingPermissions():te&&!ue||this.handleCommunityDetailsBackwardCompatibility(Z)}handleAfterLoginRedirection(Z){sessionStorage.setItem(R.zT,Z)}markToRedirectHomeAndOpenLoginWidget(Z){Z||sessionStorage.setItem(R.Qz,"true"),sessionStorage.setItem(b.X,"true")}handleMissingPermissions(){const Z=!sessionStorage.getItem(R.zZ),re=!!sessionStorage.getItem(R.$O),K=this.window.location.href;Z&&!this.idp.isAuthenticated()&&(re||this.handleAfterLoginRedirection(K),this.markToRedirectHomeAndOpenLoginWidget(re));const ce="true"===sessionStorage.getItem(b.X),ue=(0,N.iP)();if(ce)this.router.navigate([ue,this.pageService.getHomePagePath()],{preserveFragment:!0});else{if(this.idp.isAuthenticated()||this.handleAfterLoginRedirection(K),this.idp.isAuthenticated())return void this.router.navigate([ue,A.n.ACCESS_DENIED],{preserveFragment:!0});this.router.navigate([ue,A.n.PAGE_NOT_FOUND],{preserveFragment:!0})}}handleCommunityDetailsBackwardCompatibility(Z){const re=(0,N.iP)();Z.initiativeUrl?this.window.location.replace(Z.initiativeUrl):this.router.navigate([re,A.n.PAGE_NOT_FOUND],{preserveFragment:!0,replaceUrl:!0})}static{this.\u0275fac=function(re){return new(re||X)(ee.KVO(B.Ix),ee.KVO(ie.JP),ee.KVO(ve.b),ee.KVO(U.T),ee.KVO(q.j))}}static{this.\u0275prov=ee.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},12274(Vt,Pe,d){"use strict";d.d(Pe,{b:()=>ve});var S=d(84412),E=d(67893),M=d(5558),f=d(19792);const b=["members","organizations","case-studies","projects"],A=[M.g.EVENTS,M.g.ORGANIZATIONS,M.g.CASE_STUDIES,M.g.PROJECTS,M.g.MEMBERS];var R=d(92549),N=d(5223),q=d(2615),ee=d(91029),B=d(61945),ie=d(29185);let ve=(()=>{class U{constructor(X,W,Z,re){this.route=X,this.router=W,this.sitesSnapshotsService=Z,this.siteService=re,this.currentPage$=new S.t(null)}navigate(X,W,Z,re,K=!1){if(X){const ce=this.getPageRouterUrl(Z,W);this.router.navigate(ce,{fragment:re?.fragment,queryParams:re?.queryParams,relativeTo:this.route.firstChild,replaceUrl:K})}else{const[ce,ue]=Array.isArray(Z)?Z:["",Z];window.parent.postMessage({path:W,subpageId:ue,fragment:re?.fragment},"*")}}getPageRouterUrl(X,W){return[W,...Array.isArray(X)?X:[X]].filter(K=>K)}
1navigateToDetailsByType(X,W,Z,re,K="",ce=""){if(!this.isPageAvailableByType(Z))return;const ue=this.getSlug(Z);this.navigateToDetails(X,W,ue,re,K,ce)}navigateToDetails(X,W,Z,re,K="",ce=""){if(f.xd[Z]){const{extras:ue}=this.getDetailsUrlPublic(K,Z,ce,re,W);return void this.navigate(X,f.xd[Z],[N.A.format(ce),W],ue)}if(X){const{routeUrl:ue,extras:ae}=this.getDetailsUrlPublic(K,Z,ce,re,W);this.router.navigate(ue,ae)}else window.parent.postMessage({path:Z,subpageId:W,objectType:re,fragment:K},"*")}getDetailsUrlPublic(X,W,Z,re,K){let ce;X&&(ce?ce.fragment=X:ce={fragment:X});let ue=this.router.url.split("/").slice(0,3);R.if&&!R.pk&&this.isParamObjectType(ue)&&(ue=ue.slice(0,2)),this.isSubDetails(W)&&(ue=this.sliceDetailsUrlParametars(R.if&&!R.pk,ue),ue.push(W));let ae=ue.join("/");this.router.url.includes("#")&&(ae=ae.substring(0,this.router.url.indexOf("#")),ce={fragment:X||(this.route.snapshot.fragment??void 0)});const te=this.nameHelper(Z);return{routeUrl:re?[ae+`/${re}${te}/${K}`]:[ae+`${te}/${K}`],extras:ce}}sliceDetailsUrlParametars(X,W){return W.slice(0,R.wl?2:X?1:2)}getPagesList(){return this.sitesSnapshotsService.currentSite$.value?.pages||this.siteService.site$.value?.pages}isPageAvailable(X){return!!f.xd[X]||!!this.getPagesList()?.find(re=>re.path===X||re.path===`/${X}`)}isPageAvailableByType(X){return this.getPagesList()?.some(Z=>Z.type===X)||!1}isPageDetailsAvailable(X){const W=this.getPageTypeBySlug(X);return!!W&&this.isPageAvailableByType(W)&&A.some(Z=>W===Z)}getPageTypeBySlug(X){return this.getPagesList()?.find(re=>re.path===X||re.path===`/${X}`)?.type}getSlug(X){return this.getPagesList()?.find(Z=>Z.type===X)?.path}getHomePagePath(){const X=this.getPagesList();return X?.length?X?.find(W=>W.isHome)?.path||X?.find(W=>W.type===M.g.HOME)?.path||X[0].path:""}isParamObjectType(X){return Object.values(E.yU).includes(X[2])}isSubDetails(X){return b.includes(X)||this.isPageDetailsAvailable(X)}nameHelper(X){return X?"/"+N.A.format(X):""}isOnPage(X){const W=this.getSlug(X);return!!W&&this.router.url.includes(W)}isOnFeedPage(){const X=this.getSlug(M.g.FEED);return!!X&&!!this.router.url.includes(X)}static{this.\u0275fac=function(W){return new(W||U)(q.KVO(ee.nX),q.KVO(ee.Ix),q.KVO(B.X),q.KVO(ie.T))}}static{this.\u0275prov=q.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}}return U})()},94091(Vt,Pe,d){"use strict";d.d(Pe,{Z:()=>ee});var S=d(57786),E=d(7673),M=d(96354),f=d(45312),b=d(88192),A=d(84862),R=d(2615),N=d(29185),q=d(61945);let ee=(()=>{class B{constructor(ve,U,ne){this.siteService=ve,this.siteSnapshotService=U,this.window=ne}getSiteName(){return this.siteSnapshotService.currentSite$.value?.community?.name||this.siteService.site$.value?.community.name||""}getSiteUrl(){return this.siteSnapshotService.currentSite$.value?.configuration?.path||this.siteService.site$.value?.path||""}getSiteId(){return this.siteSnapshotService.currentSite$.value?.id||this.siteService.site$.value?.id||""}getCommunityId(){return this.siteSnapshotService.currentSite$.value?.community?.id||this.siteService.site$.value?.community?.id||""}getCommunityName(){return this.siteSnapshotService.currentSite$.value?.community?.name||this.siteService.site$.value?.community?.name||""}getSitePermissions(){return this.siteSnapshotService.currentSite$.value?.permissions||this.siteService.site$.value?.permissions||null}isCentre(ve){try{return new URL(ve).origin===f.c.centres_host}catch{return!1}}isMemberTier(){const ve=new URL(this.window.location.href).searchParams.get("tier");return ve?ve===b.J.MEMBERS:this.isCoreMemberOrOperationalContact()}isCoreMember(){return!(!this.siteSnapshotService.currentSite$.value?.permissions.isCoreMember&&!this.siteService.site$.value?.permissions.isCoreMember)}isCoreMemberOrOperationalContact(){return this.isCoreMember()||this.isOperationalContact()}isEditor(){try{return new URL(this.window.location.href).pathname.startsWith("/page-preview")&&new URL(this.window.parent.location.href).pathname.startsWith("/admin-panel")}catch{return!1}}static isAdminPanel(){return window.location.pathname.includes("/admin-panel/")||window.location.pathname.includes("/page-preview")}static isAdminSitesPanel(){return window.location.pathname.includes("/sites")}
1static isPreview(){return!!new URLSearchParams(window.location.search).get("origin")}static isAdminEditorPreview(){return this.isAdminPanel()||this.isAdminSitesPanel()||this.isPreview()||window.location.pathname.includes("/preview")}inEditorGetCurrentPageSlug(){return new URLSearchParams(window.location.search).get("path")||""}getSitePermissionsObservable(){return B.isAdminSitesPanel()?(0,E.of)({}):(0,S.h)(this.siteSnapshotService.currentSite$.pipe((0,M.T)(ve=>ve?ve.permissions:null)),this.siteService.permissions$)}isMemberOrConstituent(){const U=(this.siteService.site$.value||this.siteSnapshotService.currentSite$.value)?.permissions;return!!(U?.isManager||U?.isCoreMember||U?.isConstituent)}isOperationalContact(){return!(!this.siteSnapshotService.currentSite$.value?.permissions.isOperationalContact&&!this.siteService.site$.value?.permissions.isOperationalContact)}static{this.\u0275fac=function(U){return new(U||B)(R.KVO(N.T),R.KVO(q.X),R.KVO(A.j))}}static{this.\u0275prov=R.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},29185(Vt,Pe,d){"use strict";d.d(Pe,{T:()=>ne});
1var S=d(29330),E=d(84412),M=d(7673),f=d(983),b=d(99437),A=d(96354),R=d(44668),N=d(88141),q=d(70309),ee=d(34308),B=d(88192),ie=d(2615),ve=d(49030),U=d(73878);let ne=(()=>{class X{constructor(Z,re,K){this.httpClient=Z,this.idpService=re,this.apiEndpointService=K,this.siteLoginSettingsLoading$=new E.t(!1),this.siteLoginSettingsLoaded$=new E.t(!1),this.permissions$=new E.t(null),this.currentUserPermissions$=new E.t(null),this.site$=new E.t(null),this.currentPermissionsHttpCall$=(0,M.of)(null)}isPublicOrFollowerUser(Z,re=""){if(!this.idpService.isAuthenticated())return!0;const ce=this.site$.value?.permissions,ue=this.site$.value?.isCommunityDetails;return Z&&ue?!(ce?.isCoreMember||ce?.isOperationalContact||ce?.isConstituent):Z?!(ce?.isCoreMember||ce?.isOperationalContact):[B.$,B.J.FOLLOWERS].includes(re)}getSiteByUrl(Z,re=!1,K=!1){const ce=this.getSiteEndpointBasedOnAuthenticationStatus(K);let ue=new S.Lr;return re&&(ue=ue.append("no-auth","true")),this.httpClient.get(ce,{headers:ue,params:{url:Z}}).pipe((0,A.T)(ae=>{const{configuration:te,...de}=ae;return{...te,...de}}),(0,N.M)(ae=>{this.site$.next({...ae,isCommunityDetails:ae?.redirection===q.t.FsCommunity,id:ae?.id||ae?.community?.id})}))}getSitePermission(Z){const re=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/permissions`;return this.httpClient.get(re).pipe((0,A.T)(K=>(this.permissions$.next(K),K)))}getPagePermission(Z,re){const K=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/public/initiatives/site/pages`;return this.httpClient.head(K,{params:{url:Z,path:re},observe:"response"}).pipe((0,A.T)(ce=>ce.status),(0,b.W)(ce=>(0,M.of)(ce.status)))}getCurrentUserPermissions(Z){const re=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/permissions/membership`;return this.httpClient.get(re)}setCurrentUserPermissions(Z){return this.getCurrentUserPermissions(Z).pipe((0,A.T)(re=>(this.currentUserPermissions$.next(re),re)),(0,R.t)(1))}publishSite(Z){const re=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}`;return this.httpClient.patch(re,{status:ee.u.PUBLISH})}unPublishSite(Z){const re=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}`;return this.httpClient.patch(re,{status:ee.u.DRAFT})}updateSiteLoginSettings(Z,re){const K=`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${Z}/logins`;return this.siteLoginSettingsLoading$.next(!0),this.httpClient.patch(K,re).pipe((0,N.M)(()=>{this.siteLoginSettingsLoading$.next(!1)}),(0,b.W)(()=>(this.siteLoginSettingsLoading$.next(!1),f.w)))}loadLoginSettings(Z){const re=`${this.apiEndpointService.getFWSEndpoint()}/authentication/v1/login_page_config/${Z}`;return this.httpClient.get(re).pipe((0,N.M)(()=>{this.siteLoginSettingsLoaded$.next(!0)}),(0,b.W)(()=>(this.siteLoginSettingsLoaded$.next(!1),f.w)))}getSiteEndpointBasedOnAuthenticationStatus(Z=!1){return this.idpService.isAuthenticated()&&!Z?`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/site`:`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/public/initiatives/site`}static{this.\u0275fac=function(re){return new(re||X)(ie.KVO(S.Qq),ie.KVO(ve.JP),ie.KVO(U.J))}}static{this.\u0275prov=ie.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},61945(Vt,Pe,d){"use strict";d.d(Pe,{X:()=>R});var S=d(84412),E=d(88141),M=d(34308),f=d(2615),b=d(29330),A=d(73878);let R=(()=>{class N{constructor(ee,B){this.httpClient=ee,this.apiEndpointService=B,this.communityList$=new S.t([]),this.selectedCommunityFromList$=new S.t(void 0),this.currentSite$=new S.t(null),this.isSiteSnapshotLoaded$=new S.t(!1)}getCommunityList(){return this.communityList$.getValue().length?this.communityList$.asObservable():this.httpClient.get(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites`).pipe((0,E.M)(ee=>{this.communityList$.next(ee)}))}getSiteSnapshot(ee){return this.isSiteSnapshotLoaded$.next(!1),this.httpClient.get(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${ee}`).pipe((0,E.M)(B=>{this.isSiteSnapshotLoaded$.next(!0),this.currentSite$.next(B)}))}createSite(ee){const{id:B}=ee;return this.httpClient.post(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/communities/${B}/site`,null)}updateSiteSnapshotSettings(ee,B){return this.httpClient.patch(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${ee}`,{status:M.u.DRAFT,configuration:B}).pipe((0,E.M)(ie=>{this.currentSite$.next(ie)}))}static{this.\u0275fac=function(B){return new(B||N)(f.KVO(b.Qq),f.KVO(A.J))}}static{this.\u0275prov=f.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},78124(Vt,Pe,d){"use strict";d.d(Pe,{Ui:()=>b,h1:()=>E,i:()=>M,r6:()=>f});var S=d(2615);const E=new S.nKC("SESSION_STORAGE"),M=new S.nKC("LOCAL_STORAGE"),f={provide:E,useValue:sessionStorage},b={provide:M,useValue:localStorage}},85217(Vt,Pe,d){"use strict";d.d(Pe,{n:()=>E});var S=d(2615);let E=(()=>{class M{setLocalStorageItem(b,A){try{localStorage.setItem(b,A)}catch(R){console.warn(R)}}removeLocalStorageItem(b){try{localStorage.removeItem(b)}catch(A){console.warn(A)}}removeSessionStorageItem(b){try{sessionStorage.removeItem(b)}catch(A){console.warn(A)}}getLocalStorageItem(b){let A=null;try{A=localStorage.getItem(b)}catch(R){console.warn(R)}return A}getSessionStorageItem(b){let A=null;try{A=sessionStorage.getItem(b)}catch(R){console.warn(R)}return A}setSessionStorageItem(b,A){try{sessionStorage.setItem(b,A)}catch(R){console.warn(R)}}static{this.\u0275fac=function(A){return new(A||M)}}static{this.\u0275prov=S.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},54427(Vt,Pe,d){"use strict";d.d(Pe,{s:()=>R});var S=d(88192),E=d(67809),M=d(78124),f=d(2615),b=d(49030),A=d(91029);let R=(()=>{class N{constructor(ee,B,ie){this.idpService=ee,this.route=B,this.sessionStorage=ie}
1getTier(){return this.route.snapshot.queryParams?.tier}isPublic(){return!this.idpService.isAuthenticated()||this.isPublicTier()||this.isPublicPreview()}isPublicTier(){const ee=this.getTier();return ee?ee===S.$:!this.idpService.masqueradingOrIdToken}isPublicPreview(){return!!sessionStorage.getItem(E.mf)}static{this.\u0275fac=function(B){return new(B||N)(f.KVO(b.JP),f.KVO(A.nX),f.KVO(M.h1))}}static{this.\u0275prov=f.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},80029(Vt,Pe,d){"use strict";d.d(Pe,{L:()=>q});var S=d(29330),E=d(84412),M=d(983),f=d(96354),b=d(88141),A=d(54079),R=d(2615),N=d(73878);let q=(()=>{class ee{constructor(ie,ve){this.httpClient=ie,this.apiEndpointService=ve,this.isHistoryOpened$=new E.t(!0),this.histories$=new E.t([]),this.isVersionsLoaded$=new E.t(!1),this.nextPage=""}loadVersions(ie,ve=null){if(null===this.nextPage)return M.w;let U=new S.Nl;return ve&&(U=U.append("filter",ve)),this.nextPage&&(U=U.append("page",this.nextPage)),this.httpClient.get(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${ie}/versions`,{params:U,observe:"response"}).pipe((0,f.T)(ne=>{const X=ne.body,W=this.nextPage?[...this.histories$.value,...X]:X;return this.nextPage=ve===A.f.UNPUBLISHED?null:ne.headers.get("X-Page")||null,W.sort((Z,re)=>(re.id||0)-(Z.id||0))}),(0,b.M)(ne=>{this.histories$.next(ne),this.isVersionsLoaded$.value||this.isVersionsLoaded$.next(!0)}))}loadVersion(ie,ve){return this.httpClient.get(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${ie}/versions/${ve}`).pipe((0,f.T)(U=>{const{configuration:ne,...X}=U;return{...ne,...X}}))}applyVersion(ie,ve){return this.httpClient.patch(`${this.apiEndpointService.getFWSEndpoint()}/communities/v1/sites/${ie}/versions/${ve}`,{})}resetHistories(){this.nextPage="",this.histories$.next([])}static{this.\u0275fac=function(ve){return new(ve||ee)(R.KVO(S.Qq),R.KVO(N.J))}}static{this.\u0275prov=R.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})()},46547(Vt,Pe,d){"use strict";d.d(Pe,{j:()=>N});var S=d(84412),E=d(84572),M=d(33726),f=d(70152),b=d(96354),A=d(96697),R=d(2615);let N=(()=>{class q{constructor(){this.isWeglotInitialized$=new S.t(!1),this.languagesList$=new S.t([]),this.currentLanguage$=new S.t(null),this.canShowLanguageDropdown$=(0,E.z)([this.isWeglotInitialized$,this.languagesList$]).pipe((0,b.T)(([B,ie])=>B&&!!ie.length))}initialize(B){B&&this.loadWeglotScript().then(()=>{this.addListenersForWeglotChanges(),Weglot.initialize({api_key:B,hide_switcher:!0})})}switchLanguage(B){this.isWeglotInitialized()&&Weglot.switchTo(B)}setLanguageList(){if(!this.isWeglotInitialized())return;const B=Weglot.options.languages.filter(ie=>ie.enabled).map(ie=>this.weglotOptionLanguageMapper(ie.language_to)).concat(this.weglotOptionLanguageMapper(Weglot.options.language_from));this.currentLanguage$.next(this.weglotOptionLanguageMapper(Weglot.getCurrentLang())),this.languagesList$.next(B)}isWeglotInitialized(){return this.isWeglotInitialized$.value??!1}addListenersForWeglotChanges(){(0,M.R)(Weglot,"languageChanged").subscribe(([B])=>{this.currentLanguage$.next(this.weglotOptionLanguageMapper(B))}),(0,M.R)(Weglot,"initialized").pipe((0,f.B)(0),(0,A.s)(1)).subscribe(()=>{Weglot.initialized&&(this.isWeglotInitialized$.next(!0),this.setLanguageList())})}loadWeglotScript(){return new Promise((B,ie)=>{const ve=document.createElement("script");ve.setAttribute("type","text/javascript"),ve.setAttribute("src","https://cdn.weglot.com/weglot.min.js"),ve.addEventListener("load",()=>{B(!0)}),ve.addEventListener("error",()=>{ie(!1)}),document.body.appendChild(ve)})}weglotOptionLanguageMapper(B){return{value:B,display:B.toUpperCase()}}static{this.\u0275fac=function(ie){return new(ie||q)}}static{this.\u0275prov=R.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},58609(Vt,Pe,d){"use strict";d.d(Pe,{E:()=>M,U:()=>E});const E=new(d(2615).nKC)("WINDOW_MOBILE_INJECTION_TOKEN"),M={provide:E,useValue:window}},84862(Vt,Pe,d){"use strict";d.d(Pe,{j:()=>E,r:()=>M});const E=new(d(2615).nKC)("WINDOW_INJECTION_TOKEN"),M={provide:E,useValue:window}},94679(Vt,Pe,d){"use strict";d.d(Pe,{i:()=>M});var S=d(18359),E=d(73664);let M=(()=>{class f{constructor(){this.subscription=new S.yU}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(R){return new(R||f)}}static{this.\u0275dir=E.FsC({type:f})}}return f})()},97005(Vt,Pe,d){"use strict";d.d(Pe,{P:()=>B});var S=d(72200),E=d(73664),M=d(32591),f=d(78884),b=d(84412),A=d(44668),R=d(24228);function N(ie,ve){if(1&ie&&(E.j41(0,"div"),E.EFF(1),E.k0s()),2&ie){const U=E.XpG();E.R7$(),E.SpI(" ",U.data.message," ")}}function q(ie,ve){if(1&ie&&E.nrm(0,"div",6),2&ie){const U=E.XpG();E.Y8G("innerHTML",U.data.messageHTML,E.npT)}}function ee(ie,ve){if(1&ie&&E.nrm(0,"div",7),2&ie){const U=E.XpG();E.Y8G("ngTemplateOutlet",U.data.template)}}let B=(()=>{class ie{constructor(U,ne){this.dialog=U,this.data=ne,this.primaryButtonClicked=new E.bkB,this.isLoading=new b.t(!1),this.isLoading$=this.isLoading.asObservable().pipe((0,A.t)()),this.buttonSize=f.or0,this.buttonStyle=f.inm,this.buttonType=f.VQ,this.buttonState=f.UwB,this.confirmationButtonType=R.O,this.modalType=f.q3N}onClose(U=void 0){this.dialog.close(U)}onPrimaryButtonClick(){this.data.hasLoading?this.isLoading.next(!0):this.dialog.close(!0),this.primaryButtonClicked.emit
1(!0)}static{this.\u0275fac=function(ne){return new(ne||ie)(E.rXU(M.CP),E.rXU(M.Vh))}}static{this.\u0275cmp=E.VBU({type:ie,selectors:[["app-confirmation"]],outputs:{primaryButtonClicked:"primaryButtonClicked"},decls:7,vars:12,consts:[[3,"type"],["modalContainerHeader","",3,"closeModal","alignType","headerText"],[4,"ngIf"],["class","body-regular",3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet",4,"ngIf"],["modalContainerFooter","",3,"primaryButtonClick","negativeButtonClick","secondaryButtonClick","primaryButtonLabel","negativeButtonLabel","secondaryButtonLabel","isLoading"],[1,"body-regular",3,"innerHTML"],[3,"ngTemplateOutlet"]],template:function(ne,X){1&ne&&(E.j41(0,"lib-modal-container",0)(1,"lib-modal-container-header",1),E.bIt("closeModal",function(){return X.onClose()}),E.k0s(),E.DNE(2,N,2,1,"div",2)(3,q,1,1,"div",3)(4,ee,1,1,"div",4),E.j41(5,"lib-modal-container-footer",5),E.nI1(6,"async"),E.bIt("primaryButtonClick",function(){return X.onPrimaryButtonClick()})("negativeButtonClick",function(){return X.onPrimaryButtonClick()})("secondaryButtonClick",function(){return X.onClose(!1)}),E.k0s()()),2&ne&&(E.Y8G("type",X.modalType.Confirmation),E.R7$(),E.Y8G("alignType",X.data.alignType||"")("headerText",X.data.title||""),E.R7$(),E.Y8G("ngIf",X.data.message),E.R7$(),E.Y8G("ngIf",X.data.messageHTML),E.R7$(),E.Y8G("ngIf",X.data.template),E.R7$(),E.Y8G("primaryButtonLabel",(null==X.data.buttons.confirm?null:X.data.buttons.confirm.type)!==X.confirmationButtonType.ERROR&&(null==X.data.buttons.confirm?null:X.data.buttons.confirm.title)||"")("negativeButtonLabel",(null==X.data.buttons.confirm?null:X.data.buttons.confirm.type)===X.confirmationButtonType.ERROR&&(null==X.data.buttons.confirm?null:X.data.buttons.confirm.title)||"")("secondaryButtonLabel",(null==X.data.buttons.cancel?null:X.data.buttons.cancel.title)||"")("isLoading",E.bMT(6,10,X.isLoading$)||!1))},dependencies:[M.hM,S.bT,S.T3,f.CYR,f.rxf,f.bEy,S.Jj],styles:["[_nghost-%COMP%]   .body-regular[_ngcontent-%COMP%]{white-space:pre-line}"],changeDetection:0})}}return ie})()},24228(Vt,Pe,d){"use strict";d.d(Pe,{O:()=>S});var S=function(E){return E.ERROR="error",E}(S||{})},79163(Vt,Pe,d){"use strict";d.d(Pe,{G:()=>S});var S=function(E){return E.COPYRIGHT_BOTTOM_DARK="copyright-bottom-dark",E.COPYRIGHT_CENTER_DARK="copyright-center-dark",E.COPYRIGHT_RIGHT_DARK="copyright-right-dark",E}(S||{})},26373(Vt,Pe,d){"use strict";d.d(Pe,{C:()=>S});var S=function(E){return E.SUCCESS="success",E.ERROR="error",E.WARNING="warning",E.LOADING="loading",E}(S||{})},91708(Vt,Pe,d){"use strict";d.d(Pe,{Y:()=>N});var S=d(95416),E=d(78884),M=d(26373);const f={[M.C.ERROR]:E.CkR.Negative,[M.C.SUCCESS]:E.CkR.Positive,[M.C.WARNING]:E.CkR.Warning,[M.C.LOADING]:E.CkR.Loading};var b=d(73664),A=d(2615);function R(q,ee){if(1&q){const B=b.RV6();b.j41(0,"lib-toast",1),b.bIt("buttonClick",function(ve){A.eBV(B);const U=b.XpG();return A.Njj(U.onButtonClick(ve))})("dismissClick",function(){A.eBV(B);const ve=b.XpG();return A.Njj(ve.onDismissClick())}),b.k0s()}if(2&q){const B=b.XpG();b.Y8G("message",B.data.message)("type",B.libToastType)("isIconSVG",!!B.data.isIconSVG)("iconName",B.data.iconName||"")("isDismiss",!!B.data.isDismiss)("hasButton",!!B.data.buttonName)("buttonName",B.data.buttonName)("horizontalPosition",B.horizontalPosition)("verticalPosition",B.verticalPosition)}}let N=(()=>{class q{constructor(B,ie){this.data=B,this.snackBarRef=ie,this.libToastType=E.CkR.Standard,this.horizontalPosition=E.qNj.End,this.verticalPosition=E.G0i.Top,this.toastMessageType=f}ngOnInit(){this.libToastType=this.toastMessageType[this.data.type]||this.libToastType,this.horizontalPosition=this.data.horizontalPosition||this.horizontalPosition,this.verticalPosition=this.data.verticalPosition||this.verticalPosition}onButtonClick(B){this.snackBarRef.dismissWithAction()}onDismissClick(){this.snackBarRef.dismiss()}static{this.\u0275fac=function(ie){return new(ie||q)(b.rXU(S.ht),b.rXU(S.TQ))}}static{this.\u0275cmp=b.VBU({type:q,selectors:[["app-toast-message"]],decls:1,vars:1,consts:[[3,"message","type","isIconSVG","iconName","isDismiss","hasButton","buttonName","horizontalPosition","verticalPosition"],[3,"buttonClick","dismissClick","message","type","isIconSVG","iconName","isDismiss","hasButton","buttonName","horizontalPosition","verticalPosition"]],template:function(ie,ve){1&ie&&b.nVh(0,R,1,9,"lib-toast",0),2&ie&&b.vxM(ve.data?0:-1)},dependencies:[E.d3n],encapsulation:2,changeDetection:0})}}return q})()},15548(Vt,Pe,d){"use strict";d.d(Pe,{k:()=>S});const S="[email protected]"},49413(Vt,Pe,d){"use strict";d.d(Pe,{f:()=>S});const S="user"},4810(Vt,Pe,d){"use strict";d.d(Pe,{Gz:()=>S,I0:()=>f,Jl:()=>q,Jt:()=>b,NB:()=>B,ND:()=>N,Ni:()=>A,QX:()=>ee,cb:()=>R,qP:()=>E,ub:()=>M});const S={COMMUNITY:"Community",BUILDER:"Builder",SESSION:"Session",USER:"User",CASE_STUDY:"Case Study",INSIGHT:"Insight",PROJECT:"Project",ORGANIZATION:"Organisation",YOUR_PROFILE:"Your Profile",OVERVIEW:"Overview",BLOG:"Blog",BENCHMARKING_TOOL:"Benchmarking Tool",LIBRARY:"Library",INDUSTRY_SOLUTION:"Industry Solution",BOOKMARKS:"Bookmarks",SCATTERPLOT:"Scatter plot",DATA_VISUALISATION:"Data visualization"},E={event:"Event",Events:"Event",session:"Session",sessions:"Session",Sessions:"Session",User:"User",CaseStudy:"Case Study",email:"email"},M={BUILDER_SPACE:"Builder",PUBLIC_SPACE:"Public Space",FOLLOWER_SPACE:"Follower Space",MEMBER_SPACE:"Member Space"},f={PUBLISH:"publish"},b={MY_BOOKMARKS_TOGGLE:"My bookmarks toggle",OPEN_FULL_PAGE:"Open full page",VIEW_DAY_IN_
1LIFE:"View A Day in the Life"},A={INDUSTRY_SOLUTION:"industry solution",VIEW_DAY_IN_LIFE:"View A Day in the Life"},R={DAY_IN_LIFE:"day_in_life",INDUSTRY_SOLUTION_DETAIL:"industry_solution_detail"},N="Community",q="Project",ee="Series",B="https://mixpanel.com"},5950(Vt,Pe,d){"use strict";d.d(Pe,{i9:()=>S,od:()=>E});const S="/authentication/v1/onboarding/invitee",E="/communities/v1/sites"},67809(Vt,Pe,d){"use strict";d.d(Pe,{$O:()=>A,CE:()=>M,FS:()=>E,Ot:()=>R,Qz:()=>f,bE:()=>ee,mf:()=>N,r3:()=>q,zT:()=>S,zZ:()=>b});const S="unauthorized-attempt-location",E="unauthorized-attempt",M="from-notification-open-login",f="open-login-widget",b="prevent-open-widget-on-logout",A="logout-from-details-mark",R="from-idp-flow",N="publicPreview",q="initPublicPreview",ee="managerPreview"},1835(Vt,Pe,d){"use strict";d.d(Pe,{$2:()=>ut,$k:()=>X,A5:()=>Me,Ae:()=>Lr,Bk:()=>Cn,Co:()=>eo,D1:()=>En,Dh:()=>_e,Dp:()=>Ze,GV:()=>_t,JE:()=>Z,Jz:()=>q,K1:()=>jn,KK:()=>Ut,LJ:()=>At,M1:()=>N,MZ:()=>Qn,Ns:()=>Tt,O3:()=>De,PH:()=>yi,QF:()=>Sn,UE:()=>R,U_:()=>ie,V3:()=>rt,VH:()=>U,Vg:()=>yo,W$:()=>mt,WJ:()=>ue,X:()=>Xt,_J:()=>ne,c7:()=>Jn,cF:()=>dn,cQ:()=>An,dG:()=>bi,dg:()=>tn,en:()=>ee,fq:()=>ae,g0:()=>ni,g3:()=>Je,gJ:()=>Dt,gn:()=>pt,gq:()=>Kr,hi:()=>B,hj:()=>b,j2:()=>Ci,kN:()=>Bt,lK:()=>ce,mP:()=>xt,n4:()=>xr,oD:()=>re,oI:()=>Ot,oL:()=>Ct,oy:()=>Ie,pu:()=>Pt,py:()=>K,qG:()=>lr,rk:()=>Ke,rx:()=>at,s2:()=>wt,sf:()=>W,tb:()=>Ye,wM:()=>we,wX:()=>qe,wj:()=>m,wk:()=>oo,xm:()=>Br,y:()=>te,z:()=>de,z1:()=>ve});var S=d(78884),E=d(86906),M=d(26373),f=d(15548);const b=5e3,A=E.C,R={horizontalPosition:"start",verticalPosition:"bottom",duration:b,panelClass:A,data:{message:"You are already part of Community",type:M.C.SUCCESS,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}},N=Kt=>({horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:`The ${Kt} has been successfully restored to current version. Please go back to builder menu to continue updates. Please note that the changes will not be live until Published.`,type:M.C.SUCCESS},panelClass:["custom-top-toast-position",A]}),q=(Kt,xn={})=>({horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:Kt,type:M.C.SUCCESS,horizontalPosition:xn.horizontalPosition||S.qNj.End,verticalPosition:xn.verticalPosition||S.G0i.Top},panelClass:"custom-top-toast-position",...xn}),ee=(Kt,xn={})=>({horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:Kt,type:M.C.ERROR,horizontalPosition:xn.horizontalPosition||S.qNj.End,verticalPosition:xn.verticalPosition||S.G0i.Top},panelClass:"custom-top-toast-position",...xn}),B={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Please contact technical support for further advise",type:M.C.ERROR},panelClass:["custom-top-toast-position",A]},ie={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Your changes were successfully saved",type:M.C.SUCCESS},panelClass:["custom-top-toast-position",A]},ve={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Your changes were successfully saved and will be visible after few minutes",type:M.C.SUCCESS},panelClass:["custom-top-toast-position",A]},U={horizontalPosition:"end",verticalPosition:"top",duration:0,data:{message:"Processing Request",type:M.C.LOADING},panelClass:["custom-top-toast-position",A]},ne={horizontalPosition:"end",verticalPosition:"top",duration:b,panelClass:A,data:{message:"Your changes were discarded.",type:M.C.WARNING}},X={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Couldn't load data. Please try again later.",type:M.C.WARNING},panelClass:["custom-top-toast-position",A]},W={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Changes couldn't be saved. Try again later",type:M.C.ERROR},panelClass:["custom-top-toast-position",A]},Z={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"An error occurred, please try again later",type:M.C.ERROR}},re={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Invitation link copied successfuly",type:M.C.SUCCESS}},K={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Failed to copy an invitation link",type:M.C.ERROR}},ce={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Cannot copy element. Storage limit exceeded.",type:M.C.ERROR}},ue={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:`Access denied: You don\`t have permission to view this information. Please try to re-login or else contact ${f.k}.`,type:M.C.ERROR}},ae={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"You don`t have permission to view this information.",type:M.C.ERROR}},te={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Not a virtual meeting.",type:M.C.ERROR}},de={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong, please try again later.",type:M.C.ERROR}},_e={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Please verify your input, we detected an error in the email format",type:M.C.ERROR}},we={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Email invitation failed to be sent",type:M.C.ERROR}},De={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Email invitations failed to be sent. You exceeded 100 emails.",type:M.C.ERROR}},Ie={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Invites sent successfully",type:M.C.SUCCESS}},Me={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Registration has been successful",type:M.C.SUCCESS}},Ze={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Member profile details not available. Please try again later.",type:M.C.ERROR}},Ye={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Member profile cannot be loaded",type:M.C.ERROR}},Je={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Organization details not available. Please try again later.",type:M.C.ERROR}},xt={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Case studies page is not available. Please try again later.",type:M.C.ERROR}},Ot={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"SI Insights page is not available. Please try again later.",type:M.C.ERROR}},qe={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Project details not available. Please try again later.",type:M.C.ERROR}},At={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Case study details not available. Please try again later.",type:M.C.ERROR}},Ct={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Member has been removed.",type:M.C.SUCCESS}},_t={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Member removed successfully ",type:M.C.SUCCESS}},Ke={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Organization removed successfully",type:M.C.SUCCESS}},mt={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Link copied successfully",type:M.C.SUCCESS}},rt={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Information updated. Some changes will be visible after a while",type:M.C.SUCCESS}},ut={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Information updated. Some changes will be visible after a while",type:M.C.SUCCESS}},Dt={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Offer was declined",type:M.C.SUCCESS}},Sn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Successful sign-up. It may take a few minutes before your membership is activated.",type:M.C.SUCCESS}},An={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong. Please try again",type:M.C.ERROR}},Qn={horizontalPosition:"start",verticalPosition:"bottom",duration:b,data:{message:"Couldn't upload this file. Choose another file and try again",type:M.C.ERROR,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}},lr={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"The document could not be downloaded, please contact techsupport",type:M.C.ERROR}},jn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"The link copied.",type:M.C.SUCCESS}},xr={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Document was removed successfully.",type:M.C.SUCCESS}},tn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Document was uploaded successfully.",type:M.C.SUCCESS}},dn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Document was edited successfully.",type:M.C.SUCCESS}},Cn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong, changes were not saved",type:M.C.ERROR}},En={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Side content must be at least 10 characters long",type:M.C.ERROR}},m={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Settings have been saved",type:M.C.SUCCESS}},Jn={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Post has been successfully saved",type:M.C.SUCCESS}},ni={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"File has been exported successfully. You can find it in your downloads folder.",type:M.C.SUCCESS}},Br={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong, please try again",type:M.C.ERROR}},bi={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Post has been successfully unpublished",type:M.C.SUCCESS}},Kr={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong. Please try again",type:M.C.ERROR}},Lr={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Case study was archived",type:M.C.SUCCESS}},yi={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Something went wrong. Please try again",type:M.C.ERROR}},Ci={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Widget copied to the clipboard",type:M.C.SUCCESS,duration:b}},yo={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Widget was pasted below successfully",type:M.C.SUCCESS},panelClass:A},oo={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Page was pasted successfully",type:M.C.SUCCESS},panelClass:A},eo={horizontalPosition:"end",verticalPosition:"top",duration:b,data:{message:"Page copied to the clipboard",type:M.C.SUCCESS},panelClass:A},Ut={horizontalPosition:"start",verticalPosition:"bottom",duration:b,data:{message:"Couldn't upload file",type:M.C.ERROR,duration:b,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}},pt=Kt=>({horizontalPosition:"start",verticalPosition:"bottom",duration:b,data:{buttonName:"Mail To",message:`An error has occurred, please contact initiative ${Kt}`,type:M.C.ERROR,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}}),at={horizontalPosition:"end",verticalPosition:"bottom",duration:b,data:{message:"Your changes were successfully saved",type:M.C.SUCCESS,horizontalPosition:S.qNj.End,verticalPosition:S.G0i.Bottom},panelClass:["custom-bottom-toast-position",A]},Tt={horizontalPosition:"end",verticalPosition:"bottom",duration:b,data:{message:"Filters configuration has been reset to default successfully.",type:M.C.SUCCESS,horizontalPosition:S.qNj.End,verticalPosition:S.G0i.Bottom},panelClass:["custom-bottom-toast-position",A]},Bt={horizontalPosition:"start",verticalPosition:"bottom",duration:b,data:{message:"Something went wrong. Please try again",type:M.C.ERROR,duration:b,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}},Xt={horizontalPosition:"start",verticalPosition:"bottom",duration:b,panelClass:A,data:{message:"Copied to clipboard",type:M.C.SUCCESS,duration:b,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}},Pt={horizontalPosition:"end",verticalPosition:"top",duration:5e3,data:{message:"Invitation token is invali
1d",type:M.C.ERROR}},wt={horizontalPosition:"start",verticalPosition:"bottom",duration:b,data:{message:"Something went wrong. Please try again",type:M.C.ERROR,duration:b,horizontalPosition:S.qNj.Start,verticalPosition:S.G0i.Bottom}}},71088(Vt,Pe,d){"use strict";d.d(Pe,{V:()=>S});var S=function(E){return E.RESET_PASSWORD="resetPassword",E.VERIFICATION="verification",E.PASSWORDLESS="passwordless",E}(S||{})},9617(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>E});var S=d(73664);let E=(()=>{class M{transform(b){return b&&b.substring(b.lastIndexOf("/")+1).split("?")[0]}static{this.\u0275fac=function(A){return new(A||M)}}static{this.\u0275pipe=S.EJ8({name:"urlToFilename",type:M,pure:!0})}}return M})()},92549(Vt,Pe,d){"use strict";d.d(Pe,{A9:()=>ue,D6:()=>ne,J6:()=>N,Kv:()=>ie,R_:()=>R,TE:()=>A,_l:()=>ce,bC:()=>re,cK:()=>q,gN:()=>ee,gk:()=>X,i5:()=>B,iP:()=>U,if:()=>Z,pk:()=>W,wl:()=>K});var E=d(45312),M=d(60522),b=(d(12257),d(71088));function A(ae){return ae.startsWith("http://")||ae.startsWith("https://")?ae:`//${ae}`}const R=()=>{const ae=window.location.href?.split("/")||[];if(W)return`${E.c.host}/${ae[3]}/`;if(Z&&!W){if(re){const te=location.pathname.split("/")[1];return`${E.c.centres_host}/${te}/`}if(K){const te=location.pathname.split("/")[1];return`${location.origin}/${te}/`}return`${location.origin}/`}return`${location.origin}/${ae[3]}/`},N=(ae=window.location.href,te=ce,de=W)=>{const we=new URL(ae).pathname.split("/");return de||K?we[2]||"":te?we[1]||"":we[2]||""},q=ae=>"string"==typeof ae&&ae?"/"===ae[ae.length-1]?`${ae}${M.Hz}`:`${ae}/${M.Hz}`:null,ee=ae=>`${E.c.host}/sites/${ae}/overview`,B=(ae,te)=>ae.replace(new RegExp(`^${E.c.host}/.*/`),te),ie=(ae,te,de,_e=!1)=>ae?_e?`${de}/communities/v1/public/static/communities/${te}/organizations`:`${de}/communities/v1/public/sites/${te}/organizations`:_e?`${de}/communities/v1/static/communities/${te}/organizations`:`${de}/communities/v1/sites/${te}/organizations`,U=(ae=window.location.href,te=ce,de=W)=>{if(!ae)return"";try{const we=new URL(ae).pathname.split("/");return de||K?we[1]||"":te?we[0]||"":we[1]||""}catch{return""}},ne=(ae,te)=>{try{const de=new URL(ae),_e=new URLSearchParams(de.search);te.forEach(De=>{_e.has(De)&&_e.delete(De)});const we=_e.toString();return ae.replace(de.search,we?`?${we}`:"")}catch{return ae}},X=(ae,te)=>{const de={[b.V.RESET_PASSWORD]:"forgotpassword",[b.V.VERIFICATION]:"verification",[b.V.PASSWORDLESS]:"passwordless"};return ae?`IAAS-${ae}-${de[te]}`:`IAAS-GENERIC-${de[te]}`},W=E.c.local,Z=![E.c.host,E.c.centres_host].includes(location.origin),re=location.origin===E.c.centres_host,K=location.origin===E.c.custom_domain_multi_sites_host,ce=Z&&!re,ue=ce&&!W},2613(Vt,Pe,d){"use strict";d.d(Pe,{g:()=>S});const S=()=>"true"===localStorage.getItem("_login_immediately")},6602(Vt,Pe,d){"use strict";function S(b){return Object.keys(b).filter(A=>null!==b[A]).reduce((A,R)=>({...A,[R]:b[R]}),{})}d.d(Pe,{Cq:()=>M,eR:()=>f,ru:()=>S,sr:()=>E});const E=b=>Object.entries(b||{}).filter(([A,R])=>null!=R).reduce((A,[R,N])=>({...A,[R]:N}),{}),M=(b,A)=>{const R={};return A.forEach(N=>R[N]=b[N]),R},f=b=>Object.entries(b||{}).filter(([A,R])=>null!=R&&""!==R).reduce((A,[R,N])=>({...A,[R]:N}),{})},5223(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>S});class S{static format(M){return M?M.split(" ").filter(b=>"("!==b&&")"!==b).join("-").toLowerCase():""}}},71465(Vt,Pe,d){"use strict";d.d(Pe,{N:()=>S});var S=function(E){return E.A="a",E.B="b",E}(S||{})},83664(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>M});var S=d(75072),E=d(5610);const M={title:"<h4>Forum Insights</h4>",layouts:Object.values(E.f),background:{color:S.L.BACKGROUND},isDataBasedOnCommunity:!1}},5610(Vt,Pe,d){"use strict";d.d(Pe,{f:()=>S});var S=function(E){return E.BASIC="a",E.ECOSYSTEM="b",E}(S||{})},98316(Vt,Pe,d){"use strict";var S=d(73664),E=d(2615),M=d(17705),f=d(72200),b=d(91029),A=d(57303),R=d(52512),N=d(60177);class q{_doc;constructor(v){this._doc=v}manager}let ee=(()=>{class F extends q{constructor(g){super(g)}supports(g){return!0}addEventListener(g,D,G,le){return g.addEventListener(D,G,le),()=>this.removeEventListener(g,D,G,le)}
vendor: 7,502 bytes, line 1
1removeEventListener(g,D,G,le){return g.removeEventListener(D,G,le)}static \u0275fac=function(D){return new(D||F)(E.KVO(E.qQL))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();const B=new E.nKC("");let ie=(()=>{class F{_zone;_plugins;_eventNameToPlugin=new Map;constructor(g,D){this._zone=D,g.forEach(Le=>{Le.manager=this});const G=g.filter(Le=>!(Le instanceof ee));this._plugins=G.slice().reverse();const le=g.find(Le=>Le instanceof ee);le&&this._plugins.push(le)}addEventListener(g,D,G,le){return this._findPluginFor(D).addEventListener(g,D,G,le)}getZone(){return this._zone}_findPluginFor(g){let D=this._eventNameToPlugin.get(g);if(D)return D;if(D=this._plugins.find(le=>le.supports(g)),!D)throw new E.buA(5101,!1);return this._eventNameToPlugin.set(g,D),D}static \u0275fac=function(D){return new(D||F)(E.KVO(B),E.KVO(S.SKi))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();const ve="ng-app-id";function U(F){for(const v of F)v.remove()}function ne(F,v){const g=v.createElement("style");return g.textContent=F,g}function W(F,v){const g=v.createElement("link");return g.setAttribute("rel","stylesheet"),g.setAttribute("href",F),g}let Z=(()=>{class F{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(g,D,G,le={}){this.doc=g,this.appId=D,this.nonce=G,function X(F,v,g,D){const G=F.head?.querySelectorAll(`style[${ve}="${v}"],link[${ve}="${v}"]`);if(G)for(const le of G)le.removeAttribute(ve),le instanceof HTMLLinkElement?D.set(le.href.slice(le.href.lastIndexOf("/")+1),{usage:0,elements:[le]}):le.textContent&&g.set(le.textContent,{usage:0,elements:[le]})}(g,D,this.inline,this.external),this.hosts.add(g.head)}addStyles(g,D){for(const G of g)this.addUsage(G,this.inline,ne);D?.forEach(G=>this.addUsage(G,this.external,W))}removeStyles(g,D){for(const G of g)this.removeUsage(G,this.inline);D?.forEach(G=>this.removeUsage(G,this.external))}addUsage(g,D,G){const le=D.get(g);le?le.usage++:D.set(g,{usage:1,elements:[...this.hosts].map(Le=>this.addElement(Le,G(g,this.doc)))})}removeUsage(g,D){const G=D.get(g);G&&(G.usage--,G.usage<=0&&(U(G.elements),D.delete(g)))}ngOnDestroy(){for(const[,{elements:g}]of[...this.inline,...this.external])U(g);this.hosts.clear()}addHost(g){this.hosts.add(g);for(const[D,{elements:G}]of this.inline)G.push(this.addElement(g,ne(D,this.doc)));for(const[D,{elements:G}]of this.external)G.push(this.addElement(g,W(D,this.doc)))}removeHost(g){this.hosts.delete(g)}addElement(g,D){return this.nonce&&D.setAttribute("nonce",this.nonce),g.appendChild(D)}static \u0275fac=function(D){return new(D||F)(E.KVO(E.qQL),E.KVO(S.sZ2),E.KVO(S.BIS,8),E.KVO(S.Agw))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();const re={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},K=/%COMP%/g,we=new E.nKC("",{providedIn:"root",factory:()=>!0});function Me(F,v){return v.map(g=>g.replace(K,F))}let Ye=(()=>{class F{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(g,D,G,le,Le,We,ze=null,ht=null){this.eventManager=g,this.sharedStylesHost=D,this.appId=G,this.removeStylesOnCompDestroy=le,this.doc=Le,this.ngZone=We,this.nonce=ze,this.tracingService=ht,this.platformIsServer=!1,this.defaultRenderer=new Je(g,Le,We,this.platformIsServer,this.tracingService)}createRenderer(g,D){if(!g||!D)return this.defaultRenderer;const G=this.getOrCreateRenderer(g,D);return G instanceof ke?G.applyToHost(g):G instanceof Ot&&G.applyStyles(),G}getOrCreateRenderer(g,D){const G=this.rendererByCompId;let le=G.get(D.id);if(!le){const Le=this.doc,We=this.ngZone,ze=this.eventManager,ht=this.sharedStylesHost,cn=this.removeStylesOnCompDestroy,rn=this.platformIsServer,zn=this.tracingService;switch(D.encapsulation){case S.gXe.Emulated:le=new ke(ze,ht,D,this.appId,cn,Le,We,rn,zn);break;case S.gXe.ShadowDom:return new xt(ze,ht,g,D,Le,We,this.nonce,rn,zn);default:le=new Ot(ze,ht,D,cn,Le,We,rn,zn)}G.set(D.id,le)}return le}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(g){this.rendererByCompId.delete(g)}static \u0275fac=function(D){return new(D||F)(E.KVO(ie),E.KVO(Z),E.KVO(S.sZ2),E.KVO(we),E.KVO(E.qQL),E.KVO(S.SKi),E.KVO(S.BIS),E.KVO(S.a8H,8))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();class Je{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(v,g,D,G,le){this.eventManager=v,this.doc=g,this.ngZone=D,this.platformIsServer=G,this.tracingService=le}destroy(){}destroyNode=null;createElement(v,g){return g?this.doc.createElementNS(re[g]||g,v):this.doc.createElement(v)}createComment(v){return this.doc.createComment(v)}createText(v){return this.doc.createTextNode(v)}appendChild(v,g){(Et(v)?v.content:v).appendChild(g)}insertBefore(v,g,D){v&&(Et(v)?v.content:v).insertBefore(g,D)}removeChild(v,g){g.remove()}selectRootElement(v,g){let D="string"==typeof v?this.doc.querySelector(v):v;if(!D)throw new E.buA(-5104,!1);return g||(D.textContent=""),D}parentNode(v){return v.parentNode}nextSibling(v){return v.nextSibling}setAttribute(v,g,D,G){if(G){g=G+":"+g;const le=re[G];le?v.setAttributeNS(le,g,D):v.setAttribute(g,D)}else v.setAttribute(g,D)}removeAttribute(v,g,D){if(D){const G=re[D];G?v.removeAttributeNS(G,g):v.removeAttribute(`${D}:${g}`)}else v.removeAttribute(g)}addClass(v,g){v.classList.add(g)}removeClass(v,g){v.classList.remove(g)}setStyle(v,g,D,G){G&(S.czy.DashCase|S.czy.Important)?v.style.setProperty(g,D,G&S.czy.Important?"important":""):v.style[g]=D}removeStyle(v,g,D){D&S.czy.DashCase?v.style.removeProperty(g):v.style[g]=""}setProperty(v,g,D){null!=v&&(v[g]=D)}setValue(v,g){v.nodeValue=g}listen(v,g,D,G){if("string"==typeof v&&!(v=(0,A.rb)().getGlobalEventTarget(this.doc,v)))throw new E.buA(5102,!1);let le=this.decoratePreventDefault(D);return this.tracingService?.wrapEventListener&&(le=this.tracingService.wrapEventListener(v,g,le)),this.eventManager.addEventListener(v,g,le,G)}decoratePreventDefault(v){return g=>{if("__ngUnwrap__"===g)return v;!1===v(g)&&g.preventDefault()}}}function Et(F){return"TEMPLATE"===F.tagName&&void 0!==F.content}class xt extends Je{sharedStylesHost;hostEl;shadowRoot;constructor(v,g,D,G,le,Le,We,ze,ht){super(v,le,Le,ze,ht),this.sharedStylesHost=g,this.hostEl=D,this.shadowRoot=D.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let cn=G.styles;cn=Me(G.id,cn);for(const zn of cn){const Mn=document.createElement("style");We&&Mn.setAttribute("nonce",We),Mn.textContent=zn,this.shadowRoot.appendChild(Mn)}const rn=G.getExternalStyles?.();if(rn)for(const zn of rn){const Mn=W(zn,le);We&&Mn.setAttribute("nonce",We),this.shadowRoot.appendChild(Mn)}}nodeOrShadowRoot(v){return v===this.hostEl?this.shadowRoot:v}appendChild(v,g){return super.appendChild(this.nodeOrShadowRoot(v),g)}insertBefore(v,g,D){return super.insertBefore(this.nodeOrShadowRoot(v),g,D)}removeChild(v,g){return super.removeChild(null,g)}parentNode(v){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(v)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ot extends Je{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(v,g,D,G,le,Le,We,ze,ht){super(v,le,Le,We,ze),this.sharedStylesHost=g,this.removeStylesOnCompDestroy=G;
1let cn=D.styles;this.styles=ht?Me(ht,cn):cn,this.styleUrls=D.getExternalStyles?.(ht)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===S.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class ke extends Ot{contentAttr;hostAttr;constructor(v,g,D,G,le,Le,We,ze,ht){const cn=G+"-"+D.id;super(v,g,D,le,Le,We,ze,ht,cn),this.contentAttr=function De(F){return"_ngcontent-%COMP%".replace(K,F)}(cn),this.hostAttr=function Ie(F){return"_nghost-%COMP%".replace(K,F)}(cn)}applyToHost(v){this.applyStyles(),this.setAttribute(v,this.hostAttr,"")}createElement(v,g){const D=super.createElement(v,g);return super.setAttribute(D,this.contentAttr,""),D}}class Ct extends A.qj{supportsDOMEvents=!0;static makeCurrent(){(0,A.ig)(new Ct)}onAndCancel(v,g,D,G){return v.addEventListener(g,D,G),()=>{v.removeEventListener(g,D,G)}}dispatchEvent(v,g){v.dispatchEvent(g)}remove(v){v.remove()}createElement(v,g){return(g=g||this.getDefaultDocument()).createElement(v)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(v){return v.nodeType===Node.ELEMENT_NODE}isShadowRoot(v){return v instanceof DocumentFragment}getGlobalEventTarget(v,g){return"window"===g?window:"document"===g?v:"body"===g?v.body:null}getBaseHref(v){const g=function Ke(){return _t=_t||document.head.querySelector("base"),_t?_t.getAttribute("href"):null}();return null==g?null:function mt(F){return new URL(F,document.baseURI).pathname}(g)}resetBaseElement(){_t=null}getUserAgent(){return window.navigator.userAgent}getCookie(v){return(0,R.b)(document.cookie,v)}}let _t=null,ut=(()=>{class F{build(){return new XMLHttpRequest}static \u0275fac=function(D){return new(D||F)};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();const kt=["alt","control","meta","shift"],Dt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Sn={alt:F=>F.altKey,control:F=>F.ctrlKey,meta:F=>F.metaKey,shift:F=>F.shiftKey};let An=(()=>{class F extends q{constructor(g){super(g)}supports(g){return null!=F.parseEventName(g)}addEventListener(g,D,G,le){const Le=F.parseEventName(D),We=F.eventCallback(Le.fullKey,G,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,A.rb)().onAndCancel(g,Le.domEventName,We,le))}static parseEventName(g){const D=g.toLowerCase().split("."),G=D.shift();if(0===D.length||"keydown"!==G&&"keyup"!==G)return null;const le=F._normalizeKey(D.pop());let Le="",We=D.indexOf("code");if(We>-1&&(D.splice(We,1),Le="code."),kt.forEach(ht=>{const cn=D.indexOf(ht);cn>-1&&(D.splice(cn,1),Le+=ht+".")}),Le+=le,0!=D.length||0===le.length)return null;const ze={};return ze.domEventName=G,ze.fullKey=Le,ze}static matchEventFullKeyCode(g,D){let G=Dt[g.key]||g.key,le="";return D.indexOf("code.")>-1&&(G=g.code,le="code."),!(null==G||!G)&&(G=G.toLowerCase()," "===G?G="space":"."===G&&(G="dot"),kt.forEach(Le=>{Le!==G&&(0,Sn[Le])(g)&&(le+=Le+".")}),le+=G,le===D)}static eventCallback(g,D,G){return le=>{F.matchEventFullKeyCode(le,g)&&G.runGuarded(()=>D(le))}}static _normalizeKey(g){return"esc"===g?"escape":g}static \u0275fac=function(D){return new(D||F)(E.KVO(E.qQL))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();const En=(0,M.oH4)(M.fpN,"browser",[{provide:S.Agw,useValue:N.AJ},{provide:S.PLl,useValue:function tn(){Ct.makeCurrent()},multi:!0},{provide:E.qQL,useFactory:function bn(){return(0,S._9u)(document),document}}]),Jn=[{provide:S.$Ln,useClass:class rt{addToWindow(v){E.laP.getAngularTestability=(D,G=!0)=>{const le=v.findTestabilityInTree(D,G);if(null==le)throw new E.buA(5103,!1);return le},E.laP.getAllAngularTestabilities=()=>v.getAllTestabilities(),E.laP.getAllAngularRootElements=()=>v.getAllRootElements(),E.laP.frameworkStabilizers||(E.laP.frameworkStabilizers=[]),E.laP.frameworkStabilizers.push(D=>{const G=E.laP.getAllAngularTestabilities();let le=G.length;const Le=function(){le--,0==le&&D()};G.forEach(We=>{We.whenStable(Le)})})}findTestabilityInTree(v,g,D){return null==g?null:v.getTestability(g)??(D?(0,A.rb)().isShadowRoot(g)?this.findTestabilityInTree(v,g.host,!0):this.findTestabilityInTree(v,g.parentElement,!0):null)}}},{provide:S.dOL,useClass:S.NYb,deps:[S.SKi,S.giA,S.$Ln]},{provide:S.NYb,useClass:S.NYb,deps:[S.SKi,S.giA,S.$Ln]}],ni=[{provide:E.GBX,useValue:"root"},{provide:E.zcH,useFactory:function dn(){return new E.zcH}},{provide:B,useClass:ee,multi:!0,deps:[E.qQL]},{provide:B,useClass:An,multi:!0,deps:[E.qQL]},Ye,Z,ie,{provide:S._9s,useExisting:Ye},{provide:R.N,useClass:ut},[]];let Br=(()=>{class F{constructor(){}static \u0275fac=function(D){return new(D||F)};static \u0275mod=S.$C({type:F});static \u0275inj=E.G2t({providers:[...ni,...Jn],imports:[f.MD,M.Hbi]})}return F})(),eo=(()=>{class F{static{this.\u0275fac=function(D){return new(D||F)}}static{this.\u0275mod=S.$C({type:F})}static{this.\u0275inj=E.G2t({imports:[f.MD]})}}return F})();const Ut="@angular-architects/module-federation-tools";function pt(){const F=window;return F[Ut]=F[Ut]||{},F[Ut]}function at(F){const v=pt();return F?F(v):v}function Tt(F){return Object.assign(pt(),F)}let wt=!0,Kt=!0,xn=!0;function fn(){const F=window;return F.platform=F.platform||{},F}function Ht(){return at(F=>F.platformCache)||Tt({platformCache:new Map}).platformCache}
1function bt(F){if(!Kt)return F.platformFactory();const v=F.version(),g=v===E.xvI.full?E.xvI:v,D="string"==typeof g?g:g.full;let G=Ht().get(g)||xn&&function Dn(F){const v=fn().platform[F];return v instanceof M.Tg_?v:null}(D);return G||(G=F.platformFactory(),function sn(F,v){Kt&&(xn&&function Ve(F,v){fn().platform[F]=v}(F.full,v),Ht().set(F,v))}(E.xvI,G),F.production&&(0,M.SmG)()),G}var ur=d(88882),cr=d(29330),Yr=d(12496),gi=d(32591),ji=d(95416),er=d(11514);function Ho(F){return new E.buA(3e3,!1)}function Gt(F){return new E.buA(3002,!1)}function ss(F){switch(F.length){case 0:return new er.sf;case 1:return F[0];default:return new er.PZ(F)}}function as(F,v,g=new Map,D=new Map){const G=[],le=[];let Le=-1,We=null;if(v.forEach(ze=>{const ht=ze.get("offset"),cn=ht==Le,rn=cn&&We||new Map;ze.forEach((zn,Mn)=>{let In=Mn,Un=zn;if("offset"!==Mn)switch(In=F.normalizePropertyName(In,G),Un){case er.FX:Un=g.get(Mn);break;case er.kp:Un=D.get(Mn);break;default:Un=F.normalizeStyleValue(Mn,In,Un,G)}rn.set(In,Un)}),cn||le.push(rn),We=rn,Le=ht}),G.length)throw function Vi(){return new E.buA(3502,!1)}();return le}function Go(F,v,g,D){switch(v){case"start":F.onStart(()=>D(g&&Hi(g,"start",F)));break;case"done":F.onDone(()=>D(g&&Hi(g,"done",F)));break;case"destroy":F.onDestroy(()=>D(g&&Hi(g,"destroy",F)))}}function Hi(F,v,g){const le=ao(F.element,F.triggerName,F.fromState,F.toState,v||F.phaseName,g.totalTime??F.totalTime,!!g.disabled),Le=F._data;return null!=Le&&(le._data=Le),le}function ao(F,v,g,D,G="",le=0,Le){return{element:F,triggerName:v,fromState:g,toState:D,phaseName:G,totalTime:le,disabled:!!Le}}function di(F,v,g){let D=F.get(v);return D||F.set(v,D=g),D}function Cs(F){const v=F.indexOf(":");return[F.substring(1,v),F.slice(v+1)]}const Ue=typeof document>"u"?null:document.documentElement;function jt(F){const v=F.parentNode||F.host||null;return v===Ue?null:v}let gt=null,zt=!1;function zi(F,v){for(;v;){if(v===F)return!0;v=jt(v)}return!1}function ai(F,v,g){if(g)return Array.from(F.querySelectorAll(v));const D=F.querySelector(v);return D?[D]:[]}const Si="ng-enter",ci="ng-leave",So="ng-trigger",Do=".ng-trigger",Po="ng-animating",Ds=".ng-animating";function Ao(F){if("number"==typeof F)return F;const v=F.match(/^(-?[\.\d]+)(m?s)/);return!v||v.length<2?0:ps(parseFloat(v[1]),v[2])}function ps(F,v){return"s"===v?1e3*F:F}function qo(F,v,g){return F.hasOwnProperty("duration")?F:function Di(F,v,g){let D,G=0,le="";if("string"==typeof F){const Le=F.match(es);if(null===Le)return v.push(Ho()),{duration:0,delay:0,easing:""};D=ps(parseFloat(Le[1]),Le[2]);const We=Le[3];null!=We&&(G=ps(parseFloat(We),Le[4]));const ze=Le[5];ze&&(le=ze)}else D=F;if(!g){let Le=!1,We=v.length;D<0&&(v.push(function Ei(){return new E.buA(3100,!1)}()),Le=!0),G<0&&(v.push(function _i(){return new E.buA(3101,!1)}()),Le=!0),Le&&v.splice(We,0,Ho())}return{duration:D,delay:G,easing:le}}(F,v,g)}const es=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Vo(F,v,g){v.forEach((D,G)=>{const le=Is(G);g&&!g.has(G)&&g.set(G,F.style[le]),F.style[le]=D})}function ls(F,v){v.forEach((g,D)=>{const G=Is(D);F.style[G]=""})}function Fs(F){return Array.isArray(F)?1==F.length?F[0]:(0,er.K2)(F):F}const Ca=new RegExp("{{\\s*(.+?)\\s*}}","g");function Os(F){let v=[];if("string"==typeof F){let g;for(;g=Ca.exec(F);)v.push(g[1]);Ca.lastIndex=0}return v}function Xo(F,v,g){const D=`${F}`,G=D.replace(Ca,(le,Le)=>{let We=v[Le];return null==We&&(g.push(function Uo(){return new E.buA(3003,!1)}()),We=""),We.toString()});return G==D?F:G}const Zi=/-+([a-z0-9])/g;function Is(F){return F.replace(Zi,(...v)=>v[1].toUpperCase())}function Oo(F,v,g){switch(v.type){case er.If.Trigger:return F.visitTrigger(v,g);case er.If.State:return F.visitState(v,g);case er.If.Transition:return F.visitTransition(v,g);case er.If.Sequence:return F.visitSequence(v,g);case er.If.Group:return F.visitGroup(v,g);case er.If.Animate:return F.visitAnimate(v,g);case er.If.Keyframes:return F.visitKeyframes(v,g);case er.If.Style:return F.visitStyle(v,g);case er.If.Reference:return F.visitReference(v,g);case er.If.AnimateChild:return F.visitAnimateChild(v,g);case er.If.AnimateRef:return F.visitAnimateRef(v,g);case er.If.Query:return F.visitQuery(v,g);case er.If.Stagger:return F.visitStagger(v,g);default:throw function xo(){return new E.buA(3004,!1)}()}}function sa(F,v){return window.getComputedStyle(F)[v]}let Bs=(()=>{class F{validateStyleProperty(g){return function gn(F){gt||(gt=function Xn(){return typeof document<"u"?document.body:null}()||{},zt=!!gt.style&&"WebkitAppearance"in gt.style);let v=!0;return gt.style&&!function tt(F){return"ebkit"==F.substring(1,6)}(F)&&(v=F in gt.style,!v&&zt&&(v="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in gt.style)),v}(g)}containsElement(g,D){return zi(g,D)}getParentElement(g){return jt(g)}query(g,D,G){return ai(g,D,G)}computeStyle(g,D,G){return G||""}animate(g,D,G,le,Le,We=[],ze){return new er.sf(G,le)}static \u0275fac=function(D){return new(D||F)};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})();class Es{static NOOP=new Bs}class Us{}const Ta=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Pa extends Us{normalizePropertyName(v,g){return Is(v)}normalizeStyleValue(v,g,D,G){let le="";const Le=D.toString().trim();if(Ta.has(g)&&0!==D&&"0"!==D)if("number"==typeof D)le="px";else{const We=D.match(/^[+-]?[\d\.]+([a-z]*)$/);We&&0==We[1].length&&G.push(function Zr(){return new E.buA(3005,!1)}())}return Le+le}}const Ps=new Set(["true","1"]),ki=new Set(["false","0"]);function ol(F,v){const g=Ps.has(F)||ki.has(F),D=Ps.has(v)||ki.has(v);return(G,le)=>{let Le="*"==F||F==G,We="*"==v||v==le;return!Le&&g&&"boolean"==typeof G&&(Le=G?Ps.has(F):ki.has(F)),!We&&D&&"boolean"==typeof le&&(We=le?Ps.has(v):ki.has(v)),Le&&We}}const fc=new RegExp("s*:selfs*,?","g");function ca(F,v,g,D){return new Re(F).build(v,g,D)}class Re{_driver;constructor(v){this._driver=v}build(v,g,D){const G=new st(g);return this._resetContextStyleTimingState(G),Oo(this,Fs(v),G)}_resetContextStyleTimingState(v){v.currentQuerySelector="",v.collectedStyles=new Map,v.collectedStyles.set("",new Map),v.currentTime=0}visitTrigger(v,g){let D=g.queryCount=0,G=g.depCount=0;const le=[],Le=[];return"@"==v.name.charAt(0)&&g.errors.push(function wo(){return new E.buA(3006,!1)}()),v.definitions.forEach(We=>{if(this._resetContextStyleTimingState(g),We.type==er.If.State){const ze=We,ht=ze.name;
1ht.toString().split(/\s*,\s*/).forEach(cn=>{ze.name=cn,le.push(this.visitState(ze,g))}),ze.name=ht}else if(We.type==er.If.Transition){const ze=this.visitTransition(We,g);D+=ze.queryCount,G+=ze.depCount,Le.push(ze)}else g.errors.push(function dt(){return new E.buA(3007,!1)}())}),{type:er.If.Trigger,name:v.name,states:le,transitions:Le,queryCount:D,depCount:G,options:null}}visitState(v,g){const D=this.visitStyle(v.styles,g),G=v.options&&v.options.params||null;if(D.containsDynamicStyles){const le=new Set,Le=G||{};D.styles.forEach(We=>{We instanceof Map&&We.forEach(ze=>{Os(ze).forEach(ht=>{Le.hasOwnProperty(ht)||le.add(ht)})})}),le.size&&g.errors.push(function Yt(){return new E.buA(3008,!1)}(0,le.values()))}return{type:er.If.State,name:v.name,style:D,options:G?{params:G}:null}}visitTransition(v,g){g.queryCount=0,g.depCount=0;const D=Oo(this,Fs(v.animation),g),G=function $o(F,v){const g=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(D=>function _o(F,v,g){if(":"==F[0]){const ze=function la(F,v){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(g,D)=>parseFloat(D)>parseFloat(g);case":decrement":return(g,D)=>parseFloat(D)<parseFloat(g);default:return v.push(function Yi(){return new E.buA(3016,!1)}()),"* => *"}}(F,g);if("function"==typeof ze)return void v.push(ze);F=ze}const D=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==D||D.length<4)return g.push(function Ar(){return new E.buA(3015,!1)}()),v;const G=D[1],le=D[2],Le=D[3];v.push(ol(G,Le)),"<"==le[0]&&("*"!=G||"*"!=Le)&&v.push(ol(Le,G))}(D,g,v)):g.push(F),g}(v.expr,g.errors);return{type:er.If.Transition,matchers:G,animation:D,queryCount:g.queryCount,depCount:g.depCount,options:Or(v.options)}}visitSequence(v,g){return{type:er.If.Sequence,steps:v.steps.map(D=>Oo(this,D,g)),options:Or(v.options)}}visitGroup(v,g){const D=g.currentTime;let G=0;const le=v.steps.map(Le=>{g.currentTime=D;const We=Oo(this,Le,g);return G=Math.max(G,g.currentTime),We});return g.currentTime=G,{type:er.If.Group,steps:le,options:Or(v.options)}}visitAnimate(v,g){const D=function Mr(F,v){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return wi(qo(F,v).duration,0,"");const g=F;if(g.split(/\s+/).some(le=>"{"==le.charAt(0)&&"{"==le.charAt(1))){const le=wi(0,0,"");return le.dynamic=!0,le.strValue=g,le}const G=qo(g,v);return wi(G.duration,G.delay,G.easing)}(v.timings,g.errors);g.currentAnimateTimings=D;let G,le=v.styles?v.styles:(0,er.iF)({});if(le.type==er.If.Keyframes)G=this.visitKeyframes(le,g);else{let Le=v.styles,We=!1;if(!Le){We=!0;const ht={};D.easing&&(ht.easing=D.easing),Le=(0,er.iF)(ht)}g.currentTime+=D.duration+D.delay;const ze=this.visitStyle(Le,g);ze.isEmptyStep=We,G=ze}return g.currentAnimateTimings=null,{type:er.If.Animate,timings:D,style:G,options:null}}visitStyle(v,g){const D=this._makeStyleAst(v,g);return this._validateStyleAst(D,g),D}_makeStyleAst(v,g){const D=[],G=Array.isArray(v.styles)?v.styles:[v.styles];for(let We of G)"string"==typeof We?We===er.kp?D.push(We):g.errors.push(Gt()):D.push(new Map(Object.entries(We)));let le=!1,Le=null;return D.forEach(We=>{if(We instanceof Map&&(We.has("easing")&&(Le=We.get("easing"),We.delete("easing")),!le))for(let ze of We.values())if(ze.toString().indexOf("{{")>=0){le=!0;break}}),{type:er.If.Style,styles:D,easing:Le,offset:v.offset,containsDynamicStyles:le,options:null}}_validateStyleAst(v,g){const D=g.currentAnimateTimings;let G=g.currentTime,le=g.currentTime;D&&le>0&&(le-=D.duration+D.delay),v.styles.forEach(Le=>{"string"!=typeof Le&&Le.forEach((We,ze)=>{const ht=g.collectedStyles.get(g.currentQuerySelector),cn=ht.get(ze);let rn=!0;cn&&(le!=G&&le>=cn.startTime&&G<=cn.endTime&&(g.errors.push(function Nn(){return new E.buA(3010,!1)}()),rn=!1),le=cn.startTime),rn&&ht.set(ze,{startTime:le,endTime:G}),g.options&&function ta(F,v,g){const D=v.params||{},G=Os(F);G.length&&G.forEach(le=>{D.hasOwnProperty(le)||g.push(function ti(){return new E.buA(3001,!1)}())})}(We,g.options,g.errors)})})}visitKeyframes(v,g){const D={type:er.If.Keyframes,styles:[],options:null};if(!g.currentAnimateTimings)return g.errors.push(function Yn(){return new E.buA(3011,!1)}()),D;let le=0;const Le=[];let We=!1,ze=!1,ht=0;const cn=v.steps.map(wr=>{const qn=this._makeStyleAst(wr,g);let hr=null!=qn.offset?qn.offset:function Qt(F){if("string"==typeof F)return null;let v=null;
1if(Array.isArray(F))F.forEach(g=>{if(g instanceof Map&&g.has("offset")){const D=g;v=parseFloat(D.get("offset")),D.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const g=F;v=parseFloat(g.get("offset")),g.delete("offset")}return v}(qn.styles),Ir=0;return null!=hr&&(le++,Ir=qn.offset=hr),ze=ze||Ir<0||Ir>1,We=We||Ir<ht,ht=Ir,Le.push(Ir),qn});ze&&g.errors.push(function kn(){return new E.buA(3012,!1)}()),We&&g.errors.push(function pr(){return new E.buA(3200,!1)}());const rn=v.steps.length;let zn=0;le>0&&le<rn?g.errors.push(function ri(){return new E.buA(3202,!1)}()):0==le&&(zn=1/(rn-1));const Mn=rn-1,In=g.currentTime,Un=g.currentAnimateTimings,Cr=Un.duration;return cn.forEach((wr,qn)=>{const hr=zn>0?qn==Mn?1:zn*qn:Le[qn],Ir=hr*Cr;g.currentTime=In+Un.delay+Ir,Un.duration=Ir,this._validateStyleAst(wr,g),wr.offset=hr,D.styles.push(wr)}),D}visitReference(v,g){return{type:er.If.Reference,animation:Oo(this,Fs(v.animation),g),options:Or(v.options)}}visitAnimateChild(v,g){return g.depCount++,{type:er.If.AnimateChild,options:Or(v.options)}}visitAnimateRef(v,g){return{type:er.If.AnimateRef,animation:this.visitReference(v.animation,g),options:Or(v.options)}}visitQuery(v,g){const D=g.currentQuerySelector,G=v.options||{};g.queryCount++,g.currentQuery=v;const[le,Le]=function je(F){const v=!!F.split(/\s*,\s*/).find(g=>":self"==g);return v&&(F=F.replace(fc,"")),F=F.replace(/@\*/g,Do).replace(/@\w+/g,g=>Do+"-"+g.slice(1)).replace(/:animating/g,Ds),[F,v]}(v.selector);g.currentQuerySelector=D.length?D+" "+le:le,di(g.collectedStyles,g.currentQuerySelector,new Map);const We=Oo(this,Fs(v.animation),g);return g.currentQuery=null,g.currentQuerySelector=D,{type:er.If.Query,selector:le,limit:G.limit||0,optional:!!G.optional,includeSelf:Le,animation:We,originalSelector:v.selector,options:Or(v.options)}}visitStagger(v,g){g.currentQuery||g.errors.push(function Gr(){return new E.buA(3013,!1)}());const D="full"===v.timings?{duration:0,delay:0,easing:"full"}:qo(v.timings,g.errors,!0);return{type:er.If.Stagger,animation:Oo(this,Fs(v.animation),g),timings:D,options:null}}}class st{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(v){this.errors=v}}function Or(F){return F?(F={...F}).params&&(F.params=function xe(F){return F?{...F}:null}(F.params)):F={},F}function wi(F,v,g){return{duration:F,delay:v,easing:g}}function As(F,v,g,D,G,le,Le=null,We=!1){return{type:1,element:F,keyframes:v,preStyleProps:g,postStyleProps:D,duration:G,delay:le,totalTime:G+le,easing:Le,subTimeline:We}}class na{_map=new Map;get(v){return this._map.get(v)||[]}append(v,g){let D=this._map.get(v);D||this._map.set(v,D=[]),D.push(...g)}has(v){return this._map.has(v)}clear(){this._map.clear()}}const hc=new RegExp(":enter","g"),pc=new RegExp(":leave","g");function Al(F,v,g,D,G,le=new Map,Le=new Map,We,ze,ht=[]){return(new ec).buildKeyframes(F,v,g,D,G,le,Le,We,ze,ht)}class ec{buildKeyframes(v,g,D,G,le,Le,We,ze,ht,cn=[]){ht=ht||new na;const rn=new ua(v,g,ht,G,le,cn,[]);rn.options=ze;const zn=ze.delay?Ao(ze.delay):0;rn.currentTimeline.delayNextStep(zn),rn.currentTimeline.setStyles([Le],null,rn.errors,ze),Oo(this,D,rn);const Mn=rn.timelines.filter(In=>In.containsAnimation());if(Mn.length&&We.size){let In;for(let Un=Mn.length-1;Un>=0;Un--){const Cr=Mn[Un];if(Cr.element===g){In=Cr;break}}In&&!In.allowOnlyTimelineStyles()&&In.setStyles([We],null,rn.errors,ze)}return Mn.length?Mn.map(In=>In.buildKeyframes()):[As(g,[],[],[],0,zn,"",!1)]}visitTrigger(v,g){}visitState(v,g){}visitTransition(v,g){}visitAnimateChild(v,g){const D=g.subInstructions.get(g.element);if(D){const G=g.createSubContext(v.options),le=g.currentTimeline.currentTime,Le=this._visitSubInstructions(D,G,G.options);le!=Le&&g.transformIntoNewTimeline(Le)}g.previousNode=v}visitAnimateRef(v,g){const D=g.createSubContext(v.options);D.transformIntoNewTimeline(),this._applyAnimationRefDelays([v.options,v.animation.options],g,D),this.visitReference(v.animation,D),g.transformIntoNewTimeline(D.currentTimeline.currentTime),g.previousNode=v}_applyAnimationRefDelays(v,g,D){for(const G of v){const le=G?.delay;if(le){const Le="number"==typeof le?le:Ao(Xo(le,G?.params??{},g.errors));D.delayNextStep(Le)}}}
vendor: 4,827 bytes, line 1
1_visitSubInstructions(v,g,D){let le=g.currentTimeline.currentTime;const Le=null!=D.duration?Ao(D.duration):null,We=null!=D.delay?Ao(D.delay):null;return 0!==Le&&v.forEach(ze=>{const ht=g.appendInstructionToTimeline(ze,Le,We);le=Math.max(le,ht.duration+ht.delay)}),le}visitReference(v,g){g.updateOptions(v.options,!0),Oo(this,v.animation,g),g.previousNode=v}visitSequence(v,g){const D=g.subContextCount;let G=g;const le=v.options;if(le&&(le.params||le.delay)&&(G=g.createSubContext(le),G.transformIntoNewTimeline(),null!=le.delay)){G.previousNode.type==er.If.Style&&(G.currentTimeline.snapshotCurrentStyles(),G.previousNode=Ya);const Le=Ao(le.delay);G.delayNextStep(Le)}v.steps.length&&(v.steps.forEach(Le=>Oo(this,Le,G)),G.currentTimeline.applyStylesToKeyframe(),G.subContextCount>D&&G.transformIntoNewTimeline()),g.previousNode=v}visitGroup(v,g){const D=[];let G=g.currentTimeline.currentTime;const le=v.options&&v.options.delay?Ao(v.options.delay):0;v.steps.forEach(Le=>{const We=g.createSubContext(v.options);le&&We.delayNextStep(le),Oo(this,Le,We),G=Math.max(G,We.currentTimeline.currentTime),D.push(We.currentTimeline)}),D.forEach(Le=>g.currentTimeline.mergeTimelineCollectedStyles(Le)),g.transformIntoNewTimeline(G),g.previousNode=v}_visitTiming(v,g){if(v.dynamic){const D=v.strValue;return qo(g.params?Xo(D,g.params,g.errors):D,g.errors)}return{duration:v.duration,delay:v.delay,easing:v.easing}}visitAnimate(v,g){const D=g.currentAnimateTimings=this._visitTiming(v.timings,g),G=g.currentTimeline;D.delay&&(g.incrementTime(D.delay),G.snapshotCurrentStyles());const le=v.style;le.type==er.If.Keyframes?this.visitKeyframes(le,g):(g.incrementTime(D.duration),this.visitStyle(le,g),G.applyStylesToKeyframe()),g.currentAnimateTimings=null,g.previousNode=v}visitStyle(v,g){const D=g.currentTimeline,G=g.currentAnimateTimings;!G&&D.hasCurrentStyleProperties()&&D.forwardFrame();const le=G&&G.easing||v.easing;v.isEmptyStep?D.applyEmptyStep(le):D.setStyles(v.styles,le,g.errors,g.options),g.previousNode=v}visitKeyframes(v,g){const D=g.currentAnimateTimings,G=g.currentTimeline.duration,le=D.duration,We=g.createSubContext().currentTimeline;We.easing=D.easing,v.styles.forEach(ze=>{We.forwardTime((ze.offset||0)*le),We.setStyles(ze.styles,ze.easing,g.errors,g.options),We.applyStylesToKeyframe()}),g.currentTimeline.mergeTimelineCollectedStyles(We),g.transformIntoNewTimeline(G+le),g.previousNode=v}visitQuery(v,g){const D=g.currentTimeline.currentTime,G=v.options||{},le=G.delay?Ao(G.delay):0;le&&(g.previousNode.type===er.If.Style||0==D&&g.currentTimeline.hasCurrentStyleProperties())&&(g.currentTimeline.snapshotCurrentStyles(),g.previousNode=Ya);let Le=D;const We=g.invokeQuery(v.selector,v.originalSelector,v.limit,v.includeSelf,!!G.optional,g.errors);g.currentQueryTotal=We.length;let ze=null;We.forEach((ht,cn)=>{g.currentQueryIndex=cn;const rn=g.createSubContext(v.options,ht);le&&rn.delayNextStep(le),ht===g.element&&(ze=rn.currentTimeline),Oo(this,v.animation,rn),rn.currentTimeline.applyStylesToKeyframe(),Le=Math.max(Le,rn.currentTimeline.currentTime)}),g.currentQueryIndex=0,g.currentQueryTotal=0,g.transformIntoNewTimeline(Le),ze&&(g.currentTimeline.mergeTimelineCollectedStyles(ze),g.currentTimeline.snapshotCurrentStyles()),g.previousNode=v}visitStagger(v,g){const D=g.parentContext,G=g.currentTimeline,le=v.timings,Le=Math.abs(le.duration),We=Le*(g.currentQueryTotal-1);let ze=Le*g.currentQueryIndex;switch(le.duration<0?"reverse":le.easing){case"reverse":ze=We-ze;break;case"full":ze=D.currentStaggerTime}const cn=g.currentTimeline;ze&&cn.delayNextStep(ze);const rn=cn.currentTime;Oo(this,v.animation,g),g.previousNode=v,D.currentStaggerTime=G.currentTime-rn+(G.startTime-D.currentTimeline.startTime)}}const Ya={};class ua{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ya;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(v,g,D,G,le,Le,We,ze){this._driver=v,this.element=g,this.subInstructions=D,this._enterClassName=G,this._leaveClassName=le,this.errors=Le,this.timelines=We,this.currentTimeline=ze||new da(this._driver,g,0),We.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(v,g){if(!v)return;const D=v;let G=this.options;null!=D.duration&&(G.duration=Ao(D.duration)),null!=D.delay&&(G.delay=Ao(D.delay));const le=D.params;if(le){let Le=G.params;Le||(Le=this.options.params={}),Object.keys(le).forEach(We=>{(!g||!Le.hasOwnProperty(We))&&(Le[We]=Xo(le[We],Le,this.errors))})}}_copyOptions(){const v={};if(this.options){const g=this.options.params;if(g){const D=v.params={};Object.keys(g).forEach(G=>{D[G]=g[G]})}}return v}createSubContext(v=null,g,D){const G=g||this.element,le=new ua(this._driver,G,this.subInstru
1ctions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(G,D||0));return le.previousNode=this.previousNode,le.currentAnimateTimings=this.currentAnimateTimings,le.options=this._copyOptions(),le.updateOptions(v),le.currentQueryIndex=this.currentQueryIndex,le.currentQueryTotal=this.currentQueryTotal,le.parentContext=this,this.subContextCount++,le}transformIntoNewTimeline(v){return this.previousNode=Ya,this.currentTimeline=this.currentTimeline.fork(this.element,v),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(v,g,D){const G={duration:g??v.duration,delay:this.currentTimeline.currentTime+(D??0)+v.delay,easing:""},le=new za(this._driver,v.element,v.keyframes,v.preStyleProps,v.postStyleProps,G,v.stretchStartingKeyframe);return this.timelines.push(le),G}incrementTime(v){this.currentTimeline.forwardTime(this.currentTimeline.duration+v)}delayNextStep(v){v>0&&this.currentTimeline.delayNextStep(v)}invokeQuery(v,g,D,G,le,Le){let We=[];if(G&&We.push(this.element),v.length>0){v=(v=v.replace(hc,"."+this._enterClassName)).replace(pc,"."+this._leaveClassName);let ht=this._driver.query(this.element,v,1!=D);0!==D&&(ht=D<0?ht.slice(ht.length+D,ht.length):ht.slice(0,D)),We.push(...ht)}return!le&&0==We.length&&Le.push(function bo(){return new E.buA(3014,!1)}()),We}}class da{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(v,g,D,G){this._driver=v,this.element=g,this.startTime=D,this._elementTimelineStylesLookup=G,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(g),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(g,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(v){const g=1===this._keyframes.size&&this._pendingStyles.size;this.duration||g?(this.forwardTime(this.currentTime+v),g&&this.snapshotCurrentStyles()):this.startTime+=v}fork(v,g){return this.applyStylesToKeyframe(),new da(this._driver,v,g||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(v){this.applyStylesToKeyframe(),this.duration=v,this._loadKeyframe()}_updateStyle(v,g){this._localTimelineStyles.set(v,g),this._globalTimelineStyles.set(v,g),this._styleSummary.set(v,{time:this.currentTime,value:g})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(v){v&&this._previousKeyframe.set("easing",v);for(let[g,D]of this._globalTimelineStyles)this._backFill.set(g,D||er.kp),this._currentKeyframe.set(g,er.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(v,g,D,G){g&&this._previousKeyframe.set("easing",g);const le=G&&G.params||{},Le=function Rl(F,v){const g=new Map;let D;return F.forEach(G=>{if("*"===G){D??=v.keys();for(let le of D)g.set(le,er.kp)}else for(let[le,Le]of G)g.set(le,Le)}),g}(v,this._globalTimelineStyles);for(let[We,ze]of Le){const ht=Xo(ze,le,D);this._pendingStyles.set(We,ht),this._localTimelineStyles.has(We)||this._backFill.set(We,this._globalTimelineStyles.get(We)??er.kp),this._updateStyle(We,ht)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((v,g)=>{this._currentKeyframe.set(g,v)}
1),this._pendingStyles.clear(),this._localTimelineStyles.forEach((v,g)=>{this._currentKeyframe.has(g)||this._currentKeyframe.set(g,v)}))}snapshotCurrentStyles(){for(let[v,g]of this._localTimelineStyles)this._pendingStyles.set(v,g),this._updateStyle(v,g)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const v=[];for(let g in this._currentKeyframe)v.push(g);return v}mergeTimelineCollectedStyles(v){v._styleSummary.forEach((g,D)=>{const G=this._styleSummary.get(D);(!G||g.time>G.time)&&this._updateStyle(D,g.value)})}buildKeyframes(){this.applyStylesToKeyframe();const v=new Set,g=new Set,D=1===this._keyframes.size&&0===this.duration;let G=[];this._keyframes.forEach((We,ze)=>{const ht=new Map([...this._backFill,...We]);ht.forEach((cn,rn)=>{cn===er.FX?v.add(rn):cn===er.kp&&g.add(rn)}),D||ht.set("offset",ze/this.duration),G.push(ht)});const le=[...v.values()],Le=[...g.values()];if(D){const We=G[0],ze=new Map(We);We.set("offset",0),ze.set("offset",1),G=[We,ze]}return As(this.element,G,le,Le,this.duration,this.startTime,this.easing,!1)}}class za extends da{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(v,g,D,G,le,Le,We=!1){super(v,g,Le.delay),this.keyframes=D,this.preStyleProps=G,this.postStyleProps=le,this._stretchStartingKeyframe=We,this.timings={duration:Le.duration,delay:Le.delay,easing:Le.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let v=this.keyframes,{delay:g,duration:D,easing:G}=this.timings;if(this._stretchStartingKeyframe&&g){const le=[],Le=D+g,We=g/Le,ze=new Map(v[0]);ze.set("offset",0),le.push(ze);const ht=new Map(v[0]);ht.set("offset",Za(We)),le.push(ht);const cn=v.length-1;for(let rn=1;rn<=cn;rn++){let zn=new Map(v[rn]);const Mn=zn.get("offset");zn.set("offset",Za((g+Mn*D)/Le)),le.push(zn)}D=Le,g=0,G="",v=le}return As(this.element,v,this.preStyleProps,this.postStyleProps,D,g,G,!0)}}function Za(F,v=3){const g=Math.pow(10,v-1);return Math.round(F*g)/g}function $a(F,v,g,D,G,le,Le,We,ze,ht,cn,rn,zn){return{type:0,element:F,triggerName:v,isRemovalTransition:G,fromState:g,fromStyles:le,toState:D,toStyles:Le,timelines:We,queriedElements:ze,preStyleProps:ht,postStyleProps:cn,totalTime:rn,errors:zn}}const Ra={};class Wa{_triggerName;ast;_stateStyles;constructor(v,g,D){this._triggerName=v,this.ast=g,this._stateStyles=D}match(v,g,D,G){return function kl(F,v,g,D,G){return F.some(le=>le(v,g,D,G))}(this.ast.matchers,v,g,D,G)}buildStyles(v,g,D){let G=this._stateStyles.get("*");return void 0!==v&&(G=this._stateStyles.get(v?.toString())||G),G?G.buildStyles(g,D):new Map}build(v,g,D,G,le,Le,We,ze,ht,cn){const rn=[],zn=this.ast.options&&this.ast.options.params||Ra,In=this.buildStyles(D,We&&We.params||Ra,rn),Un=ze&&ze.params||Ra,Cr=this.buildStyles(G,Un,rn),wr=new Set,qn=new Map,hr=new Map,Ir="void"===G,Vr={params:ra(Un,zn),delay:this.ast.options?.delay},Xr=cn?[]:Al(v,g,this.ast.animation,le,Le,In,Cr,Vr,ht,rn);let jr=0;return Xr.forEach(ar=>{jr=Math.max(ar.duration+ar.delay,jr)}),rn.length?$a(g,this._triggerName,D,G,Ir,In,Cr,[],[],qn,hr,jr,rn):(Xr.forEach(ar=>{const so=ar.element,Qr=di(qn,so,new Set);ar.preStyleProps.forEach(Qi=>Qr.add(Qi));const Nr=di(hr,so,new Set);ar.postStyleProps.forEach(Qi=>Nr.add(Qi)),so!==g&&wr.add(so)}),$a(g,this._triggerName,D,G,Ir,In,Cr,Xr,[...wr.values()],qn,hr,jr))}}function ra(F,v){const g={...v};return Object.entries(F).forEach(([D,G])=>{null!=G&&(g[D]=G)}),g}class ka{styles;defaultParams;normalizer;constructor(v,g,D){this.styles=v,this.defaultParams=g,this.normalizer=D}buildStyles(v,g){const D=new Map,G=ra(v,this.defaultParams);return this.styles.styles.forEach(le=>{"string"!=typeof le&&le.forEach((Le,We)=>{Le&&(Le=Xo(Le,G,g));const ze=this.normalizer.normalizePropertyName(We,g);Le=this.normalizer.normalizeStyleValue(We,ze,Le,g),D.set(We,Le)})}),D}}class Qa{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(v,g,D){this.name=v,this.ast=g,this._normalizer=D,g.states.forEach(G=>{this.states.set(G.name,new ka(G.style,G.options&&G.options.params||{},D))}),tc(this.states,"true","1"),tc(this.states,"false","0"),g.transitions.forEach(G=>{this.transitionFactories.push(new Wa(v,G,this.states))}),this.fallbackTransition=function Ja(F,v){return new Wa(F,{type:er.If.Transition,animation:{type:er.If.Sequence,steps:[],options:null},matchers:[(Le,We)=>!0],options:null,queryCount:0,depCount:0},v)}(v,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(v,g,D,G){return this.transitionFactories.find(Le=>Le.match(v,g,D,G))||null}matchStyles(v,g,D){return this.fallbackTransition.buildStyles(v,g,D)}}function tc(F,v,g){F.has(v)?F.has(g)||F.set(g,F.get(v)):F.has(g)&&F.set(v,F.get(g))}const nc=new na;class al{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(v,g,D){this.bodyNode=v,this._driver=g,this._normalizer=D}register(v,g){const D=[],le=ca(this._driver,g,D,[]);if(D.length)throw function Ti(){return new E.buA(3503,!1)}();this._animations.set(v,le)}_buildPlayer(v,g,D){const G=v.element,le=as(this._normalizer,v.keyframes,g,D);return this._driver.animate(G,le,v.duration,v.delay,v.easing,[],!0)}create(v,g,D={}){const G=[],le=this._animations.get(v);let Le;const We=new Map;if(le?(Le=Al(this._driver,g,le,Si,ci,new Map,new Map,D,nc,G),Le.forEach(cn=>{const rn=di(We,cn.element,new Map);cn.postStyleProps.forEach(zn=>rn.set(zn,null))})):(G.push(function Wt(){return new E.buA(3300,!1)}()),Le=[]),G.length)throw function yn(){return new E.buA(3504,!1)}();We.forEach((cn,rn)=>{cn.forEach((zn,Mn)=>{cn.set(Mn,this._driver.computeStyle(rn,Mn,er.kp))})});const ht=ss(Le.map(cn=>{const rn=We.get(cn.element);return this._buildPlayer(cn,new Map,rn)}));return this._playersById.set(v,ht),ht.onDestroy(()=>this.destroy(v)),this.players.push(ht),ht}destroy(v){const g=this._getPlayer(v);g.destroy(),this._playersById.delete(v);const D=this.players.indexOf(g);D>=0&&this.players.splice(D,1)}_getPlayer(v){const g=this._playersById.get(v);if(!g)throw function Bn(){return new E.buA(3301,!1)}();return g}listen(v,g,D,G){const le=ao(g,"","","");return Go(this._getPlayer(v),D,le,G),()=>{}}command(v,g,D,G){if("register"==D)return void this.register(v,G[0]);if("create"==D)return void this.create(v,g,G[0]||{});const le=this._getPlayer(v);switch(D){case"play":le.play();break;case"pause":le.pause();break;case"reset":le.reset();break;case"restart":le.restart();break;case"finish":le.finish();break;case"init":le.init();break;case"setPosition":le.setPosition(parseFloat(G[0]));break;
vendor: 19,300 bytes, line 1
1case"destroy":this.destroy(v)}}}const wa="ng-animate-queued",Ll="ng-animate-disabled",Nl=[],ll={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gs="__ng_removed";class $i{namespaceId;value;options;get params(){return this.options.params}constructor(v,g=""){this.namespaceId=g;const D=v&&v.hasOwnProperty("value");if(this.value=function js(F){return F??null}(D?v.value:v),D){const{value:le,...Le}=v;this.options=Le}else this.options={};this.options.params||(this.options.params={})}absorbOptions(v){const g=v.params;if(g){const D=this.options.params;Object.keys(g).forEach(G=>{null==D[G]&&(D[G]=g[G])})}}}const Kn="void",fi=new $i(Kn);class Kl{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(v,g,D){this.id=v,this.hostElement=g,this._engine=D,this._hostClassName="ng-tns-"+v,w(g,this._hostClassName)}listen(v,g,D,G){if(!this._triggers.has(g))throw function Gn(){return new E.buA(3302,!1)}();if(null==D||0==D.length)throw function fr(){return new E.buA(3303,!1)}();if(!function Hr(F){return"start"==F||"done"==F}(D))throw function Tr(){return new E.buA(3400,!1)}();const le=di(this._elementListeners,v,[]),Le={name:g,phase:D,callback:G};le.push(Le);const We=di(this._engine.statesByElement,v,new Map);return We.has(g)||(w(v,So),w(v,So+"-"+g),We.set(g,fi)),()=>{this._engine.afterFlush(()=>{const ze=le.indexOf(Le);ze>=0&&le.splice(ze,1),this._triggers.has(g)||We.delete(g)})}}register(v,g){return!this._triggers.has(v)&&(this._triggers.set(v,g),!0)}_getTrigger(v){const g=this._triggers.get(v);if(!g)throw function xi(){return new E.buA(3401,!1)}();return g}trigger(v,g,D,G=!0){const le=this._getTrigger(g),Le=new xa(this.id,g,v);let We=this._engine.statesByElement.get(v);We||(w(v,So),w(v,So+"-"+g),this._engine.statesByElement.set(v,We=new Map));let ze=We.get(g);const ht=new $i(D,this.id);if(!(D&&D.hasOwnProperty("value"))&&ze&&ht.absorbOptions(ze.options),We.set(g,ht),ze||(ze=fi),ht.value!==Kn&&ze.value===ht.value){if(!function se(F,v){const g=Object.keys(F),D=Object.keys(v);if(g.length!=D.length)return!1;for(let G=0;G<g.length;G++){const le=g[G];if(!v.hasOwnProperty(le)||F[le]!==v[le])return!1}return!0}(ze.params,ht.params)){const Un=[],Cr=le.matchStyles(ze.value,ze.params,Un),wr=le.matchStyles(ht.value,ht.params,Un);Un.length?this._engine.reportError(Un):this._engine.afterFlush(()=>{ls(v,Cr),Vo(v,wr)})}return}const zn=di(this._engine.playersByElement,v,[]);zn.forEach(Un=>{Un.namespaceId==this.id&&Un.triggerName==g&&Un.queued&&Un.destroy()});let Mn=le.matchTransition(ze.value,ht.value,v,ht.params),In=!1;if(!Mn){if(!G)return;Mn=le.fallbackTransition,In=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:v,triggerName:g,transition:Mn,fromState:ze,toState:ht,player:Le,isFallbackTransition:In}),In||(w(v,wa),Le.onStart(()=>{C(v,wa)})),Le.onDone(()=>{let Un=this.players.indexOf(Le);Un>=0&&this.players.splice(Un,1);const Cr=this._engine.playersByElement.get(v);if(Cr){let wr=Cr.indexOf(Le);wr>=0&&Cr.splice(wr,1)}}),this.players.push(Le),zn.push(Le),Le}deregister(v){this._triggers.delete(v),this._engine.statesByElement.forEach(g=>g.delete(v)),this._elementListeners.forEach((g,D)=>{this._elementListeners.set(D,g.filter(G=>G.name!=v))})}clearElementCache(v){this._engine.statesByElement.delete(v),this._elementListeners.delete(v);const g=this._engine.playersByElement.get(v);g&&(g.forEach(D=>D.destroy()),this._engine.playersByElement.delete(v))}_signalRemovalForInnerTriggers(v,g){const D=this._engine.driver.query(v,Do,!0);D.forEach(G=>{if(G[gs])return;const le=this._engine.fetchNamespacesByElement(G);le.size?le.forEach(Le=>Le.triggerLeaveAnimation(G,g,!1,!0)):this.clearElementCache(G)}),this._engine.afterFlushAnimationsDone(()=>D.forEach(G=>this.clearElementCache(G)))}triggerLeaveAnimation(v,g,D,G){const le=this._engine.statesByElement.get(v),Le=new Map;if(le){const We=[];if(le.forEach((ze,ht)=>{if(Le.set(ht,ze.value),this._triggers.has(ht)){const cn=this.trigger(v,ht,Kn,G);cn&&We.push(cn)}}),We.length)return this._engine.markElementAsRemoved(this.id,v,!0,g,Le),D&&ss(We).onDone(()=>this._engine.processLeaveNode(v)),!0}return!1}prepareLeaveAnimationListeners(v){const g=this._elementListeners.get(v),D=this._engine.statesByElement.get(v);if(g&&D){const G=new Set;g.forEach(le=>{const Le=le.name;if(G.has(Le))return;G.add(Le);const ze=this._triggers.get(Le).fallbackTransition,ht=D.get(Le)||fi,cn=new $i(Kn),rn=new xa(this.id,Le,v);this._engine.totalQueuedPlayers++,this._queue.push({element:v,triggerName:Le,transition:ze,fromState:ht,toState:cn,player:rn,isFallbackTransition:!0})})}}removeNode(v,g){const D=this._engine;if(v.childElementCount&&this._signalRemovalForInnerTriggers(v,g),this.triggerLeaveAnimation(v,g,!0))return;let G=!1;if(D.totalAnimations){const le=D.players.length?D.playersByQueriedElement.get(v):[];if(le&&le.length)G=!0;else{let Le=v;for(;Le=Le.parentNode;)if(D.statesByElement.get(Le)){G=!0;break}}}if(this.prepareLeaveAnimationListeners(v),G)D.markElementAsRemoved(this.id,v,!1,g);else{const le=v[gs];(!le||le===ll)&&(D.afterFlush(()=>this.clearElementCache(v)),D.destroyInnerAnimations(v),D._onRemovalComplete(v,g))}}insertNode(v,g){w(v,this._hostClassName)}drainQueuedTransitions(v){const g=[];return this._queue.forEach(D=>{const G=D.player;if(G.destroyed)return;const le=D.element,Le=this._elementListeners.get(le);Le&&Le.forEach(We=>{if(We.name==D.triggerName){const ze=ao(le,D.triggerName,D.fromState.value,D.toState.value);ze._data=v,Go(D.player,We.phase,ze,We.callback)}}),G.markedForDestroy?this._engine.afterFlush(()=>{G.destroy()}):g.push(D)}),this._queue=[],g.sort((D,G)=>{const le=D.transition.ast.depCount,Le=G.transition.ast.depCount;return 0==le||0==Le?le-Le:this._engine.driver.containsElement(D.element,G.element)?1:-1})}destroy(v){this.players.forEach(g=>g.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,v)}}class qa{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(v,g)=>{};_onRemovalComplete(v,g){this.onRemovalComplete(v,g)}constructor(v,g,D){this.bodyNode=v,this.driver=g,this._normalizer=D}get queuedPlayers(){const v=[];return this._namespaceList.forEach(g=>{g.players.forEach(D=>{D.queued&&v.push(D)})}),v}createNamespace(v,g){const D=new Kl(v,g,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,g)?this._balanceNamespaceList(D,g):(this.newHostElements.set(g,D),this.collectEnterElement(g)),this._namespaceLookup[v]=D}_balanceNamespaceList(v,g){const D=this._namespaceList,G=this.namespacesByHostElement;if(D.length-1>=0){let Le=!1,We=this.driver.getParentElement(g);for(;We;){const ze=G.get(We);if(ze){const ht=D.indexOf(ze);D.splice(ht+1,0,v),Le=!0;break}We=this.driver.getParentElement(We)}Le||D.unshift(v)}else D.push(v);return G.set(g,v),v}register(v,g){let D=this._namespaceLookup[v];return D||(D=this.createNamespace(v,g)),D}registerTrigger(v,g,D){let G=this._namespaceLookup[v];G&&G.register(g,D)&&this.totalAnimations++}destroy(v,g){v&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const D=this._fetchNamespace(v);this.namespacesByHostElement.delete(D.hostElement);const G=this._namespaceList.indexOf(D);G>=0&&this._namespaceList.splice(G,1),D.destroy(g),delete this._namespaceLookup[v]}))}_fetchNamespace(v){return this._namespaceLookup[v]}fetchNamespacesByElement(v){const g=new Set,D=this.statesByElement.get(v);if(D)for(let G of D.values())if(G.namespaceId){const le=this._fetchNamespace(G.namespaceId);le&&g.add(le)}return g}trigger(v,g,D,G){if(Bl(g)){const le=this._fetchNamespace(v);if(le)return le.trigger(g,D,G),!0}return!1}insertNode(v,g,D,G){if(!Bl(g))return;const le=g[gs];if(le&&le.setForRemoval){le.setForRemoval=!1,le.setForMove=!0;const Le=this.collectedLeaveElements.indexOf(g);Le>=0&&this.collectedLeaveElements.splice(Le,1)}if(v){const Le=this._fetchNamespace(v);Le&&Le.insertNode(g,D)}G&&this.collectEnterElement(g)}collectEnterElement(v){this.collectedEnterElements.push(v)}markElementAsDisabled(v,g){g?this.disabledNodes.has(v)||(this.disabledNodes.add(v),w(v,Ll)):this.disabledNodes.has(v)&&(this.disabledNodes.delete(v),C(v,Ll))}removeNode(v,g,D){if(Bl(g)){const G=v?this._fetchNamespace(v):null;G?G.removeNode(g,D):this.markElementAsRemoved(v,g,!1,D);const le=this.namespacesByHostElement.get(g);le&&le.id!==v&&le.removeNode(g,D)}else this._onRemovalComplete(g,D)}markElementAsRemoved(v,g,D,G,le){this.collectedLeaveElements.push(g),g[gs]={namespaceId:v,setForRemoval:G,hasAnimation:D,removedBeforeQueried:!1,previousTriggersValues:le}}listen(v,g,D,G,le){return Bl(g)?this._fetchNamespace(v).listen(g,D,G,le):()=>{}}_buildInstruction(v,g,D,G,le){return v.transition.build(this.driver,v.element,v.fromState.value,v.toState.value,D,G,v.fromState.options,v.toState.options,g,le)}destroyInnerAnimations(v){let g=this.driver.query(v,Do,!0);g.forEach(D=>this.destroyActiveAnimationsForElement(D)),0!=this.playersByQueriedElement.size&&(g=this.driver.query(v,Ds,!0),g.forEach(D=>this.finishActiveQueriedAnimationOnElement(D)))}destroyActiveAnimationsForElement(v){const g=this.playersByElement.get(v);g&&g.forEach(D=>{D.queued?D.markedForDestroy=!0:D.destroy()})}finishActiveQueriedAnimationOnElement(v){const g=this.playersByQueriedElement.get(v);g&&g.forEach(D=>D.finish())}whenRenderingDone(){return new Promise(v=>{if(this.players.length)return ss(this.players).onDone(()=>v());v()})}processLeaveNode(v){const g=v[gs];if(g&&g.setForRemoval){if(v[gs]=ll,g.namespaceId){this.destroyInnerAnimations(v);const D=this._fetchNamespace(g.namespaceId);D&&D.clearElementCache(v)}this._onRemovalComplete(v,g.setForRemoval)}v.classList?.contains(Ll)&&this.markElementAsDisabled(v,!1),this.driver.query(v,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(v=-1){let g=[];if(this.newHostElements.size&&(this.newHostElements.forEach((D,G)=>this._balanceNamespaceList(D,G)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let D=0;D<this.collectedEnterElements.length;D++)w(this.collectedEnterElements[D],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const D=[];try{g=this._flushAnimations(D,v)}finally{for(let G=0;G<D.length;G++)D[G]()}}else for(let D=0;D<this.collectedLeaveElements.length;D++)this.processLeaveNode(this.collectedLeaveElements[D]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(D=>D()),this._flushFns=[],this._whenQuietFns.length){const D=this._whenQuietFns;this._whenQuietFns=[],g.length?ss(g).onDone(()=>{D.forEach(G=>G())}):D.forEach(G=>G())}}reportError(v){throw function Jr(){return new E.buA(3402,!1)}()}_flushAnimations(v,g){const D=new na,G=[],le=new Map,Le=[],We=new Map,ze=new Map,ht=new Map,cn=new Set;this.disabledNodes.forEach(yr=>{cn.add(yr);const Fr=this.driver.query(yr,".ng-animate-queued",!0);for(let br=0;br<Fr.length;br++)cn.add(Fr[br])});const rn=this.bodyNode,zn=Array.from(this.statesByElement.keys()),Mn=l(zn,this.collectedEnterElements),In=new Map;let Un=0;Mn.forEach((yr,Fr)=>{const br=Si+Un++;In.set(Fr,br),yr.forEach(ui=>w(ui,br))});const Cr=[],wr=new Set,qn=new Set;for(let yr=0;yr<this.collectedLeaveElements.length;yr++){const Fr=this.collectedLeaveElements[yr],br=Fr[gs];br&&br.setForRemoval&&(Cr.push(Fr),wr.add(Fr),br.hasAnimation?this.driver.query(Fr,".ng-star-inserted",!0).forEach(ui=>wr.add(ui)):qn.add(Fr))}const hr=new Map,Ir=l(zn,Array.from(wr));Ir.forEach((yr,Fr)=>{const br=ci+Un++;hr.set(Fr,br),yr.forEach(ui=>w(ui,br))}),v.push(()=>{Mn.forEach((yr,Fr)=>{const br=In.get(Fr);yr.forEach(ui=>C(ui,br))}),Ir.forEach((yr,Fr)=>{const br=hr.get(Fr);yr.forEach(ui=>C(ui,br))}),Cr.forEach(yr=>{this.processLeaveNode(yr)})});const Vr=[],Xr=[];for(let yr=this._namespaceList.length-1;yr>=0;yr--)this._namespaceList[yr].drainQueuedTransitions(g).forEach(br=>{const ui=br.player,co=br.element;if(Vr.push(ui),this.collectedEnterElements.length){const sr=co[gs];if(sr&&sr.setForMove){if(sr.previousTriggersValues&&sr.previousTriggersValues.has(br.triggerName)){const Mi=sr.previousTriggersValues.get(br.triggerName),Rs=this.statesByElement.get(br.element);if(Rs&&Rs.has(br.triggerName)){const Sl=Rs.get(br.triggerName);Sl.value=Mi,Rs.set(br.triggerName,Sl)}}return void ui.destroy()}}const P=!rn||!this.driver.containsElement(rn,co),lt=hr.get(co),I=In.get(co),pe=this._buildInstruction(br,D,I,lt,P);if(pe.errors&&pe.errors.length)return void Xr.push(pe);if(P)return ui.onStart(()=>ls(co,pe.fromStyles)),ui.onDestroy(()=>Vo(co,pe.toStyles)),void G.push(ui);if(br.isFallbackTransition)return ui.onStart(()=>ls(co,pe.fromStyles)),ui.onDestroy(()=>Vo(co,pe.toStyles)),void G.push(ui);const ge=[];pe.timelines.forEach(sr=>{sr.stretchStartingKeyframe=!0,this.disabledNodes.has(sr.element)||ge.push(sr)}),pe.timelines=ge,D.append(co,pe.timelines),Le.push({instruction:pe,player:ui,element:co}),pe.queriedElements.forEach(sr=>di(We,sr,[]).push(ui)),pe.preStyleProps.forEach((sr,Mi)=>{if(sr.size){let Rs=ze.get(Mi);Rs||ze.set(Mi,Rs=new Set),sr.forEach((Sl,Zl)=>Rs.add(Zl))}}),pe.postStyleProps.forEach((sr,Mi)=>{let Rs=ht.get(Mi);Rs||ht.set(Mi,Rs=new Set),sr.forEach((Sl,Zl)=>Rs.add(Zl))})});if(Xr.length){const yr=[];Xr.forEach(Fr=>{yr.push(function Bi(){return new E.buA(3505,!1)}())}),Vr.forEach(Fr=>Fr.destroy()),this.reportError(yr)}const jr=new Map,ar=new Map;Le.forEach(yr=>{const Fr=yr.element;D.has(Fr)&&(ar.set(Fr,Fr),this._beforeAnimationBuild(yr.player.namespaceId,yr.instruction,jr))}),G.forEach(yr=>{const Fr=yr.element;this._getPreviousPlayers(Fr,!1,yr.namespaceId,yr.triggerName,null).forEach(ui=>{di(jr,Fr,[]).push(ui),ui.destroy()})});const so=Cr.filter(yr=>y(yr,ze,ht)),Qr=new Map;bl(Qr,this.driver,qn,ht,er.kp).forEach(yr=>{y(yr,ze,ht)&&so.push(yr)});const Qi=new Map;Mn.forEach((yr,Fr)=>{bl(Qi,this.driver,new Set(yr),ze,er.FX)}),so.forEach(yr=>{const Fr=Qr.get(yr),br=Qi.get(yr);Qr.set(yr,new Map([...Fr?.entries()??[],...br?.entries()??[]]))});const ys=[],Qo=[],qr={};Le.forEach(yr=>{const{element:Fr,player:br,instruction:ui}=yr;if(D.has(Fr)){if(cn.has(Fr))return br.onDestroy(()=>Vo(Fr,ui.toStyles)),br.disabled=!0,br.overrideTotalTime(ui.totalTime),void G.push(br);let co=qr;if(ar.size>1){let lt=Fr;const I=[];for(;lt=lt.parentNode;){const pe=ar.get(lt);if(pe){co=pe;break}I.push(lt)}I.forEach(pe=>ar.set(pe,co))}const P=this._buildAnimation(br.namespaceId,ui,jr,le,Qi,Qr);if(br.setRealPlayer(P),co===qr)ys.push(br);else{const lt=this.playersByElement.get(co);lt&&lt.length&&(br.parentPlayer=ss(lt)),G.push(br)}}else ls(Fr,ui.fromStyles),br.onDestroy(()=>Vo(Fr,ui.toStyles)),Qo.push(br),cn.has(Fr)&&G.push(br)}),Qo.forEach(yr=>{const Fr=le.get(yr.element);if(Fr&&Fr.length){const br=ss(Fr);yr.setRealPlayer(br)}}),G.forEach(yr=>{yr.parentPlayer?yr.syncPlayerEvents(yr.parentPlayer):yr.destroy()});for(let yr=0;yr<Cr.length;yr++){const Fr=Cr[yr],br=Fr[gs];if(C(Fr,ci),br&&br.hasAnimation)continue;let ui=[];if(We.size){let P=We.get(Fr);P&&P.length&&ui.push(...P);let lt=this.driver.query(Fr,Ds,!0);for(let I=0;I<lt.length;I++){let pe=We.get(lt[I]);pe&&pe.length&&ui.push(...pe)}}const co=ui.filter(P=>!P.destroyed);co.length?k(this,Fr,co):this.processLeaveNode(Fr)}return Cr.length=0,ys.forEach(yr=>{this.players.push(yr),yr.onDone(()=>{yr.destroy();const Fr=this.players.indexOf(yr);this.players.splice(Fr,1)}),yr.play()}),ys}afterFlush(v){this._flushFns.push(v)}afterFlushAnimationsDone(v){this._whenQuietFns.push(v)}_getPreviousPlayers(v,g,D,G,le){let Le=[];if(g){const We=this.playersByQueriedElement.get(v);We&&(Le=We)}else{const We=this.playersByElement.get(v);if(We){const ze=!le||le==Kn;We.forEach(ht=>{ht.queued||!ze&&ht.triggerName!=G||Le.push(ht)})}}return(D||G)&&(Le=Le.filter(We=>!(D&&D!=We.namespaceId||G&&G!=We.triggerName))),Le}_beforeAnimationBuild(v,g,D){const le=g.element,Le=g.isRemovalTransition?void 0:v,We=g.isRemovalTransition?void 0:g.triggerName;for(const ze of g.timelines){const ht=ze.element,cn=ht!==le,rn=di(D,ht,[]);this._getPreviousPlayers(ht,cn,Le,We,g.toState).forEach(Mn=>{const In=Mn.getRealPlayer();In.beforeDestroy&&In.beforeDestroy(),Mn.destroy(),rn.push(Mn)})}ls(le,g.fromStyles)}_buildAnimation(v,g,D,G,le,Le){const We=g.triggerName,ze=g.element,ht=[],cn=new Set,rn=new Set,zn=g.timelines.map(In=>{const Un=In.element;cn.add(Un);const Cr=Un[gs];if(Cr&&Cr.removedBeforeQueried)return new er.sf(In.duration,In.delay);const wr=Un!==ze,qn=function Q(F){const v=[];return oe(F,v),v}((D.get(Un)||Nl).map(jr=>jr.getRealPlayer())).filter(jr=>!!jr.element&&jr.element===Un),hr=le.get(Un),Ir=Le.get(Un),Vr=as(this._normalizer,In.keyframes,hr,Ir),Xr=this._buildPlayer(In,Vr,qn);if(In.subTimeline&&G&&rn.add(Un),wr){const jr=new xa(v,We,Un);jr.setRealPlayer(Xr),ht.push(jr)}return Xr});ht.forEach(In=>{di(this.playersByQueriedElement,In.element,[]).push(In),In.onDone(()=>function ha(F,v,g){let D=F.get(v);if(D){if(D.length){const G=D.indexOf(g);D.splice(G,1)}0==D.length&&F.delete(v)}return D}(this.playersByQueriedElement,In.element,In))}),cn.forEach(In=>w(In,Po));const Mn=ss(zn);return Mn.onDestroy(()=>{cn.forEach(In=>C(In,Po)),Vo(ze,g.toStyles)}),rn.forEach(In=>{di(G,In,[]).push(Mn)}),Mn}_buildPlayer(v,g,D){return g.length>0?this.driver.animate(v.element,g,v.duration,v.delay,v.easing,D):new er.sf(v.duration,v.delay)}}class xa{namespaceId;triggerName;element;_player=new er.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(v,g,D){this.namespaceId=v,this.triggerName=g,this.element=D}setRealPlayer(v){this._containsRealPlayer||(this._player=v,this._queuedCallbacks.forEach((g,D)=>{g.forEach(G=>Go(v,D,void 0,G))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(v.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(v){this.totalTime=v}syncPlayerEvents(v){const g=this._player;g.triggerCallback&&v.onStart(()=>g.triggerCallback("start")),v.onDone(()=>this.finish()),v.onDestroy(()=>this.destroy())}_queueEvent(v,g){di(this._queuedCallbacks,v,[]).push(g)}onDone(v){this.queued&&this._queueEvent("done",v),this._player.onDone(v)}onStart(v){this.queued&&this._queueEvent("start",v),this._player.onStart(v)}onDestroy(v){this.queued&&this._queueEvent("destroy",v),this._player.onDestroy(v)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(v){this.queued||this._player.setPosition(v)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(v){const g=this._player;g.triggerCallback&&g.triggerCallback(v)}}
1function Bl(F){return F&&1===F.nodeType}function Rr(F,v){const g=F.style.display;return F.style.display=v??"none",g}function bl(F,v,g,D,G){const le=[];g.forEach(ze=>le.push(Rr(ze)));const Le=[];D.forEach((ze,ht)=>{const cn=new Map;ze.forEach(rn=>{const zn=v.computeStyle(ht,rn,G);cn.set(rn,zn),(!zn||0==zn.length)&&(ht[gs]=yl,Le.push(ht))}),F.set(ht,cn)});let We=0;return g.forEach(ze=>Rr(ze,le[We++])),Le}function l(F,v){const g=new Map;if(F.forEach(We=>g.set(We,[])),0==v.length)return g;const G=new Set(v),le=new Map;function Le(We){if(!We)return 1;let ze=le.get(We);if(ze)return ze;const ht=We.parentNode;return ze=g.has(ht)?ht:G.has(ht)?1:Le(ht),le.set(We,ze),ze}return v.forEach(We=>{const ze=Le(We);1!==ze&&g.get(ze).push(We)}),g}function w(F,v){F.classList?.add(v)}function C(F,v){F.classList?.remove(v)}function k(F,v,g){ss(g).onDone(()=>F.processLeaveNode(v))}function oe(F,v){for(let g=0;g<F.length;g++){const D=F[g];D instanceof er.PZ?oe(D.players,v):v.push(D)}}function y(F,v,g){const D=g.get(F);if(!D)return!1;let G=v.get(F);return G?D.forEach(le=>G.add(le)):v.set(F,D),g.delete(F),!0}class T{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(v,g)=>{};constructor(v,g,D){this._driver=g,this._normalizer=D,this._transitionEngine=new qa(v.body,g,D),this._timelineEngine=new al(v.body,g,D),this._transitionEngine.onRemovalComplete=(G,le)=>this.onRemovalComplete(G,le)}registerTrigger(v,g,D,G,le){const Le=v+"-"+G;let We=this._triggerCache[Le];if(!We){const ze=[],cn=ca(this._driver,le,ze,[]);if(ze.length)throw function to(){return new E.buA(3404,!1)}();We=function fa(F,v,g){return new Qa(F,v,g)}(G,cn,this._normalizer),this._triggerCache[Le]=We}this._transitionEngine.registerTrigger(g,G,We)}register(v,g){this._transitionEngine.register(v,g)}destroy(v,g){this._transitionEngine.destroy(v,g)}onInsert(v,g,D,G){this._transitionEngine.insertNode(v,g,D,G)}onRemove(v,g,D){this._transitionEngine.removeNode(v,g,D)}disableAnimations(v,g){this._transitionEngine.markElementAsDisabled(v,g)}process(v,g,D,G){if("@"==D.charAt(0)){const[le,Le]=Cs(D);this._timelineEngine.command(le,g,Le,G)}else this._transitionEngine.trigger(v,g,D,G)}listen(v,g,D,G,le){if("@"==D.charAt(0)){const[Le,We]=Cs(D);return this._timelineEngine.listen(Le,g,We,le)}return this._transitionEngine.listen(v,g,D,G,le)}flush(v=-1){this._transitionEngine.flush(v)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(v){this._transitionEngine.afterFlushAnimationsDone(v)}}let V=(()=>{class F{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(g,D,G){this._element=g,this._startStyles=D,this._endStyles=G;let le=F.initialStylesByElement.get(g);le||F.initialStylesByElement.set(g,le=new Map),this._initialStyles=le}start(){this._state<1&&(this._startStyles&&Vo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vo(this._element,this._initialStyles),this._endStyles&&(Vo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(ls(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ls(this._element,this._endStyles),this._endStyles=null),Vo(this._element,this._initialStyles),this._state=3)}}return F})();function J(F){let v=null;return F.forEach((g,D)=>{(function H(F){return"display"===F||"position"===F})(D)&&(v=v||new Map,v.set(D,g))}),v}class z{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(v,g,D,G){this.element=v,this.keyframes=g,this.options=D,this._specialStyles=G,this._duration=D.duration,this._delay=D.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(v=>v()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const v=this.keyframes,g=this._triggerWebAnimation(this.element,v,this.options);if(!g)return this._onFinish(),null;this.domPlayer=g,this._finalKeyframe=v.length?v[v.length-1]:new Map;const D=()=>this._onFinish();return g.addEventListener("finish",D),this.onDestroy(()=>{g.removeEventListener("finish",D)}),g}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(v){const g=[];return v.forEach(D=>{g.push(Object.fromEntries(D))}),g}_triggerWebAnimation(v,g,D){const G=this._convertKeyframesToObject(g);try{return v.animate(G,D)}catch{return null}}onStart(v){this._originalOnStartFns.push(v),this._onStartFns.push(v)}onDone(v){this._originalOnDoneFns.push(v),this._onDoneFns.push(v)}onDestroy(v){this._onDestroyFns.push(v)}play(){const v=this._buildPlayer();v&&(this.hasStarted()||(this._onStartFns.forEach(g=>g()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),v.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(v=>v()),this._onDestroyFns=[])}setPosition(v){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=v*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const v=new Map;this.hasStarted()&&this._finalKeyframe.forEach((D,G)=>{"offset"!==G&&v.set(G,this._finished?D:sa(this.element,G))}),this.currentSnapshot=v}triggerCallback(v){const g="start"===v?this._onStartFns:this._onDoneFns;g.forEach(D=>D()),g.length=0}}
1class Ce{validateStyleProperty(v){return!0}validateAnimatableStyleProperty(v){return!0}containsElement(v,g){return zi(v,g)}getParentElement(v){return jt(v)}query(v,g,D){return ai(v,g,D)}computeStyle(v,g,D){return sa(v,g)}animate(v,g,D,G,le,Le=[]){const ze={duration:D,delay:G,fill:0==G?"both":"forwards"};le&&(ze.easing=le);const ht=new Map,cn=Le.filter(Mn=>Mn instanceof z);(function Ns(F,v){return 0===F||0===v})(D,G)&&cn.forEach(Mn=>{Mn.currentSnapshot.forEach((In,Un)=>ht.set(Un,In))});let rn=function Va(F){return F.length?F[0]instanceof Map?F:F.map(v=>new Map(Object.entries(v))):[]}(g).map(Mn=>new Map(Mn));rn=function Ws(F,v,g){if(g.size&&v.length){let D=v[0],G=[];if(g.forEach((le,Le)=>{D.has(Le)||G.push(Le),D.set(Le,le)}),G.length)for(let le=1;le<v.length;le++){let Le=v[le];G.forEach(We=>Le.set(We,sa(F,We)))}}return v}(v,rn,ht);const zn=function O(F,v){let g=null,D=null;return Array.isArray(v)&&v.length?(g=J(v[0]),v.length>1&&(D=J(v[v.length-1]))):v instanceof Map&&(g=J(v)),g||D?new V(F,g,D):null}(v,rn);return new z(v,rn,ze,zn)}}const Ge="@.disabled";class yt{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(v,g,D,G){this.namespaceId=v,this.delegate=g,this.engine=D,this._onDestroy=G}get data(){return this.delegate.data}destroyNode(v){this.delegate.destroyNode?.(v)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(v,g){return this.delegate.createElement(v,g)}createComment(v){return this.delegate.createComment(v)}createText(v){return this.delegate.createText(v)}appendChild(v,g){this.delegate.appendChild(v,g),this.engine.onInsert(this.namespaceId,g,v,!1)}insertBefore(v,g,D,G=!0){this.delegate.insertBefore(v,g,D),this.engine.onInsert(this.namespaceId,g,v,G)}removeChild(v,g,D,G){G?this.delegate.removeChild(v,g,D,G):this.parentNode(g)&&this.engine.onRemove(this.namespaceId,g,this.delegate)}selectRootElement(v,g){return this.delegate.selectRootElement(v,g)}parentNode(v){return this.delegate.parentNode(v)}nextSibling(v){return this.delegate.nextSibling(v)}setAttribute(v,g,D,G){this.delegate.setAttribute(v,g,D,G)}removeAttribute(v,g,D){this.delegate.removeAttribute(v,g,D)}addClass(v,g){this.delegate.addClass(v,g)}removeClass(v,g){this.delegate.removeClass(v,g)}setStyle(v,g,D,G){this.delegate.setStyle(v,g,D,G)}removeStyle(v,g,D){this.delegate.removeStyle(v,g,D)}setProperty(v,g,D){"@"==g.charAt(0)&&g==Ge?this.disableAnimations(v,!!D):this.delegate.setProperty(v,g,D)}setValue(v,g){this.delegate.setValue(v,g)}listen(v,g,D,G){return this.delegate.listen(v,g,D,G)}disableAnimations(v,g){this.engine.disableAnimations(v,g)}}class It extends yt{factory;constructor(v,g,D,G,le){super(g,D,G,le),this.factory=v,this.namespaceId=g}setProperty(v,g,D){"@"==g.charAt(0)?"."==g.charAt(1)&&g==Ge?this.disableAnimations(v,D=void 0===D||!!D):this.engine.process(this.namespaceId,v,g.slice(1),D):this.delegate.setProperty(v,g,D)}listen(v,g,D,G){if("@"==g.charAt(0)){const le=function St(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(v);let Le=g.slice(1),We="";return"@"!=Le.charAt(0)&&([Le,We]=function vn(F){const v=F.indexOf(".");return[F.substring(0,v),F.slice(v+1)]}(Le)),this.engine.listen(this.namespaceId,le,Le,We,ze=>{this.factory.scheduleListenerCallback(ze._data||-1,D,ze)})}return this.delegate.listen(v,g,D,G)}}class wn{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(v,g,D){this.delegate=v,this.engine=g,this._zone=D,g.onRemovalComplete=(G,le)=>{le?.removeChild(null,G)}}createRenderer(v,g){const G=this.delegate.createRenderer(v,g);if(!v||!g?.data?.animation){const ht=this._rendererCache;let cn=ht.get(G);return cn||(cn=new yt("",G,this.engine,()=>ht.delete(G)),ht.set(G,cn)),cn}const le=g.id,Le=g.id+"-"+this._currentId;this._currentId++,this.engine.register(Le,v);const We=ht=>{Array.isArray(ht)?ht.forEach(We):this.engine.registerTrigger(le,Le,v,ht.name,ht)};return g.data.animation.forEach(We),new It(this,Le,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(v,g,D){if(v>=0&&v<this._microtaskId)return void this._zone.run(()=>g(D));const G=this._animationCallbacksBuffer;0==G.length&&queueMicrotask(()=>{this._zone.run(()=>{G.forEach(le=>{const[Le,We]=le;Le(We)}),this._animationCallbacksBuffer=[]})}),G.push([g,D])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(v){this.engine.flush(),this.delegate.componentReplaced?.(v)}}const en=[{provide:Us,useFactory:function nn(){return new Pa}},{provide:T,useClass:(()=>{class F extends T{constructor(g,D,G){super(g,D,G)}ngOnDestroy(){this.flush()}static \u0275fac=function(D){return new(D||F)(E.KVO(E.qQL),E.KVO(Es),E.KVO(Us))};static \u0275prov=E.jDH({token:F,factory:F.\u0275fac})}return F})()},{provide:S._9s,useFactory:function _n(F,v,g){return new wn(F,v,g)},deps:[Ye,T,S.SKi]}],an=[{provide:Es,useClass:Bs},{provide:S.bc$,useValue:"NoopAnimations"},...en],pn=[{provide:Es,useFactory:()=>new Ce},{provide:S.bc$,useFactory:()=>"BrowserAnimations"},...en];let Rn=(()=>{class F{static withConfig(g){return{ngModule:F,providers:g.disableAnimations?an:pn}}static \u0275fac=function(D){return new(D||F)};static \u0275mod=S.$C({type:F});static \u0275inj=E.G2t({providers:pn,imports:[Br]})}return F})();var hi=d(37918),Ni=d(98684);class fo extends hi.mc{constructor(){super(...arguments),this.allowedAlgorithms=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","PS256","PS384","PS512"],this.gracePeriodInSec=600}validateSignature(v,g=!1){if(!v.idToken)throw new Error("Parameter idToken expected!");if(!v.idTokenHeader)throw new Error("Parameter idTokenHandler expected.");
1if(!v.jwks)throw new Error("Parameter jwks expected!");if(!v.jwks.keys||!Array.isArray(v.jwks.keys)||0===v.jwks.keys.length)throw new Error("Array keys in jwks missing!");let le,D=v.idTokenHeader.kid,G=v.jwks.keys,Le=v.idTokenHeader.alg;if(D)le=G.find(cn=>cn.kid===D);else{let cn=this.alg2kty(Le),rn=G.filter(zn=>zn.kty===cn&&"sig"===zn.use);if(rn.length>1){let zn="More than one matching key found. Please specify a kid in the id_token header.";return console.error(zn),Promise.reject(zn)}1===rn.length&&(le=rn[0])}if(!le&&!g&&v.loadKeys)return v.loadKeys().then(cn=>v.jwks=cn).then(cn=>this.validateSignature(v,!0));if(!le&&g&&!D){let cn="No matching key found.";return console.error(cn),Promise.reject(cn)}if(!le&&g&&D){let cn="expected key not found in property jwks. This property is most likely loaded with the discovery document. Expected key id (kid): "+D;return console.error(cn),Promise.reject(cn)}let We=Ni.ym.getKey(le);return Ni.pj.jws.JWS.verifyJWT(v.idToken,We,{alg:this.allowedAlgorithms,gracePeriod:this.gracePeriodInSec})?Promise.resolve():Promise.reject("Signature not valid")}alg2kty(v){switch(v.charAt(0)){case"R":return"RSA";case"E":return"EC";default:throw new Error("Cannot infer kty from alg: "+v)}}calcHash(v,g){let G=new Ni.pj.crypto.MessageDigest({alg:g}).digestString(v),le=this.toByteArrayAsString(G);return Promise.resolve(le)}toByteArrayAsString(v){let g="";for(let D=0;D<v.length;D+=2){let G=v.charAt(D)+v.charAt(D+1),le=parseInt(G,16);g+=String.fromCharCode(le)}return g}}var Pi=d(27606),Dr=d(84015);let ws,Yo,io;function us(){return ws||(ws=function cs(){const F=(0,Pi.a)(),v=(0,Pi.g)();return{smoothScroll:v.documentElement&&v.documentElement.style&&"scrollBehavior"in v.documentElement.style,touch:!!("ontouchstart"in F||F.DocumentTouch&&v instanceof F.DocumentTouch)}}()),ws}function jo(F={}){return Yo||(Yo=function ho({userAgent:F}={}){const v=us(),g=(0,Pi.a)(),D=g.navigator.platform,G=F||g.navigator.userAgent,le={ios:!1,android:!1},Le=g.screen.width,We=g.screen.height,ze=G.match(/(Android);?[\s\/]+([\d.]+)?/);let ht=G.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const cn=G.match(/(iPod)(.*OS\s([\d_]+))?/),rn=!ht&&G.match(/(iPhone\sOS|iOS)\s([\d_]+)/),zn="Win32"===D;let Mn="MacIntel"===D;return!ht&&Mn&&v.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${Le}x${We}`)>=0&&(ht=G.match(/(Version)\/([\d.]+)/),ht||(ht=[0,1,"13_0_0"]),Mn=!1),ze&&!zn&&(le.os="android",le.android=!0),(ht||rn||cn)&&(le.os="ios",le.ios=!0),le}(F)),Yo}function Ms(){return io||(io=function ds(){const F=(0,Pi.a)(),v=jo();let g=!1;function D(){const We=F.navigator.userAgent.toLowerCase();return We.indexOf("safari")>=0&&We.indexOf("chrome")<0&&We.indexOf("android")<0}if(D()){const We=String(F.navigator.userAgent);if(We.includes("Version/")){const[ze,ht]=We.split("Version/")[1].split(" ")[0].split(".").map(cn=>Number(cn));g=ze<16||16===ze&&ht<2}}const G=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(F.navigator.userAgent),le=D();return{isSafari:g||le,needPerspectiveFix:g,need3dFix:le||G&&v.ios,isWebView:G}}()),io}const Fe=(F,v,g)=>{v&&!F.classList.contains(g)?F.classList.add(g):!v&&F.classList.contains(g)&&F.classList.remove(g)},hn=(F,v,g)=>{v&&!F.classList.contains(g)?F.classList.add(g):!v&&F.classList.contains(g)&&F.classList.remove(g)},rr=(F,v)=>{if(!F||F.destroyed||!F.params)return;const D=v.closest(F.isElement?"swiper-slide":`.${F.params.slideClass}`);if(D){let G=D.querySelector(`.${F.params.lazyPreloaderClass}`);!G&&F.isElement&&(D.shadowRoot?G=D.shadowRoot.querySelector(`.${F.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{D.shadowRoot&&(G=D.shadowRoot.querySelector(`.${F.params.lazyPreloaderClass}`),G&&!G.lazyPreloaderManaged&&G.remove())})),G&&!G.lazyPreloaderManaged&&G.remove()}},gr=(F,v)=>{if(!F.slides[v])return;const g=F.slides[v].querySelector('[loading="lazy"]');g&&g.removeAttribute("loading")},vr=F=>{if(!F||F.destroyed||!F.params)return;let v=F.params.lazyPreloadPrevNext;const g=F.slides.length;if(!g||!v||v<0)return;v=Math.min(v,g);const D="auto"===F.params.slidesPerView?F.slidesPerViewDynamic():Math.ceil(F.params.slidesPerView),G=F.activeIndex;if(F.params.grid&&F.params.grid.rows>1){const Le=G,We=[Le-v];return We.push(...Array.from({length:v}).map((ze,ht)=>
1Le+D+ht)),void F.slides.forEach((ze,ht)=>{We.includes(ze.column)&&gr(F,ht)})}const le=G+D-1;if(F.params.rewind||F.params.loop)for(let Le=G-v;Le<=le+v;Le+=1){const We=(Le%g+g)%g;(We<G||We>le)&&gr(F,We)}else for(let Le=Math.max(G-v,0);Le<=Math.min(le+v,g-1);Le+=1)Le!==G&&(Le>le||Le<G)&&gr(F,Le)};function Dc({swiper:F,runCallbacks:v,direction:g,step:D}){const{activeIndex:G,previousIndex:le}=F;let Le=g;Le||(Le=G>le?"next":G<le?"prev":"reset"),F.emit(`transition${D}`),v&&"reset"===Le?F.emit(`slideResetTransition${D}`):v&&G!==le&&(F.emit(`slideChangeTransition${D}`),F.emit("next"===Le?`slideNextTransition${D}`:`slidePrevTransition${D}`))}function _s(F,v,g){const D=(0,Pi.a)(),{params:G}=F,le=G.edgeSwipeDetection,Le=G.edgeSwipeThreshold;return!le||!(g<=Le||g>=D.innerWidth-Le)||"prevent"===le&&(v.preventDefault(),!0)}function Hs(F){const v=this,g=(0,Pi.g)();let D=F;D.originalEvent&&(D=D.originalEvent);const G=v.touchEventsData;if("pointerdown"===D.type){if(null!==G.pointerId&&G.pointerId!==D.pointerId)return;G.pointerId=D.pointerId}else"touchstart"===D.type&&1===D.targetTouches.length&&(G.touchId=D.targetTouches[0].identifier);if("touchstart"===D.type)return void _s(v,D,D.targetTouches[0].pageX);const{params:le,touches:Le,enabled:We}=v;if(!We||!le.simulateTouch&&"mouse"===D.pointerType||v.animating&&le.preventInteractionOnTransition)return;!v.animating&&le.cssMode&&le.loop&&v.loopFix();let ze=D.target;if("wrapper"===le.touchEventsTarget&&!(0,Dr.w)(ze,v.wrapperEl)||"which"in D&&3===D.which||"button"in D&&D.button>0||G.isTouched&&G.isMoved)return;const ht=!!le.noSwipingClass&&""!==le.noSwipingClass,cn=D.composedPath?D.composedPath():D.path;ht&&D.target&&D.target.shadowRoot&&cn&&(ze=cn[0]);const rn=le.noSwipingSelector?le.noSwipingSelector:`.${le.noSwipingClass}`;if(le.noSwiping&&(D.target&&D.target.shadowRoot?function Fo(F,v=this){return function g(D){if(!D||D===(0,Pi.g)()||D===(0,Pi.a)())return null;D.assignedSlot&&(D=D.assignedSlot);const G=D.closest(F);return G||D.getRootNode?G||g(D.getRootNode().host):null}(v)}(rn,ze):ze.closest(rn)))return void(v.allowClick=!0);if(le.swipeHandler&&!ze.closest(le.swipeHandler))return;Le.currentX=D.pageX,Le.currentY=D.pageY;const Mn=Le.currentX,In=Le.currentY;if(!_s(v,D,Mn))return;Object.assign(G,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),Le.startX=Mn,Le.startY=In,G.touchStartTime=(0,Dr.h)(),v.allowClick=!0,v.updateSize(),v.swipeDirection=void 0,le.threshold>0&&(G.allowThresholdMove=!1);let Un=!0;ze.matches(G.focusableElements)&&(Un=!1,"SELECT"===ze.nodeName&&(G.isTouched=!1)),g.activeElement&&g.activeElement.matches(G.focusableElements)&&g.activeElement!==ze&&("mouse"===D.pointerType||"mouse"!==D.pointerType&&!ze.matches(G.focusableElements))&&g.activeElement.blur(),(le.touchStartForcePreventDefault||Un&&v.allowTouchMove&&le.touchStartPreventDefault)&&!ze.isContentEditable&&D.preventDefault(),le.freeMode&&le.freeMode.enabled&&v.freeMode&&v.animating&&!le.cssMode&&v.freeMode.onTouchStart(),v.emit("touchStart",D)}function vs(F){const v=(0,Pi.g)(),g=this,D=g.touchEventsData,{params:G,touches:le,rtlTranslate:Le,enabled:We}=g;if(!We||!G.simulateTouch&&"mouse"===F.pointerType)return;let ht,ze=F;if(ze.originalEvent&&(ze=ze.originalEvent),"pointermove"===ze.type&&(null!==D.touchId||ze.pointerId!==D.pointerId))return;if("touchmove"===ze.type){if(ht=[...ze.changedTouches].find(Xr=>Xr.identifier===D.touchId),!ht||ht.identifier!==D.touchId)return}else ht=ze;if(!D.isTouched)return void(D.startMoving&&D.isScrolling&&g.emit("touchMoveOpposite",ze));const cn=ht.pageX,rn=ht.pageY;if(ze.preventedByNestedSwiper)return le.startX=cn,void(le.startY=rn);if(!g.allowTouchMove)return ze.target.matches(D.focusableElements)||(g.allowClick=!1),void(D.isTouched&&(Object.assign(le,{startX:cn,startY:rn,currentX:cn,currentY:rn}),D.touchStartTime=(0,Dr.h)()));if(G.touchReleaseOnEdges&&!G.loop)if(g.isVertical()){if(rn<le.startY&&g.translate<=g.maxTranslate()||rn>le.startY&&g.translate>=g.minTranslate())return D.isTouched=!1,void(D.isMoved=!1)}else{if(Le&&(cn>le.startX&&-g.translate<=g.maxTranslate()||cn<le.startX&&-g.translate>=g.minTranslate()))return;if(!Le&&(cn<le.startX&&g.translate<=g.maxTranslate()||cn>le.startX&&g.translate>=g.minTranslate()))return}if(v.activeElement&&v.activeElement.matches(D.focusableElements)&&v.activeElement!==ze.target&&"mouse"!==ze.pointerType&&v.activeElement.blur(),v.activeElement&&ze.target===v.activeElement&&ze.target.matches(D.focusableElements))return D.isMoved=!0,void(g.allowClick=!1);D.allowTouchCallbacks&&g.emit("touchMove",ze),le.previousX=le.currentX,le.previousY=le.currentY,le.currentX=cn,le.currentY=rn;const zn=le.currentX-le.startX,Mn=le.currentY-le.startY;if(g.params.threshold&&Math.sqrt(zn**2+Mn**2)<g.params.threshold)return;if(typeof D.isScrolling>"u"){let Xr;g.isHorizontal()&&le.currentY===le.startY||g.isVertical()&&le.currentX===le.startX?D.isScrolling=!1:zn*zn+Mn*Mn>=25&&(Xr=180*Math.atan2(Math.abs(Mn),Math.abs(zn))/Math.PI,D.isScrolling=g.isHorizontal()?Xr>G.touchAngle:90-Xr>G.touchAngle)}
vendor: 3,281 bytes, line 1
1if(D.isScrolling&&g.emit("touchMoveOpposite",ze),typeof D.startMoving>"u"&&(le.currentX!==le.startX||le.currentY!==le.startY)&&(D.startMoving=!0),D.isScrolling||"touchmove"===ze.type&&D.preventTouchMoveFromPointerMove)return void(D.isTouched=!1);if(!D.startMoving)return;g.allowClick=!1,!G.cssMode&&ze.cancelable&&ze.preventDefault(),G.touchMoveStopPropagation&&!G.nested&&ze.stopPropagation();let In=g.isHorizontal()?zn:Mn,Un=g.isHorizontal()?le.currentX-le.previousX:le.currentY-le.previousY;G.oneWayMovement&&(In=Math.abs(In)*(Le?1:-1),Un=Math.abs(Un)*(Le?1:-1)),le.diff=In,In*=G.touchRatio,Le&&(In=-In,Un=-Un);const Cr=g.touchesDirection;g.swipeDirection=In>0?"prev":"next",g.touchesDirection=Un>0?"prev":"next";const wr=g.params.loop&&!G.cssMode,qn="next"===g.touchesDirection&&g.allowSlideNext||"prev"===g.touchesDirection&&g.allowSlidePrev;if(!D.isMoved){if(wr&&qn&&g.loopFix({direction:g.swipeDirection}),D.startTranslate=g.getTranslate(),g.setTransition(0),g.animating){const Xr=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});g.wrapperEl.dispatchEvent(Xr)}D.allowMomentumBounce=!1,G.grabCursor&&(!0===g.allowSlideNext||!0===g.allowSlidePrev)&&g.setGrabCursor(!0),g.emit("sliderFirstMove",ze)}if((new Date).getTime(),!1!==G._loopSwapReset&&D.isMoved&&D.allowThresholdMove&&Cr!==g.touchesDirection&&wr&&qn&&Math.abs(In)>=1)return Object.assign(le,{startX:cn,startY:rn,currentX:cn,currentY:rn,startTranslate:D.currentTranslate}),D.loopSwapReset=!0,void(D.startTranslate=D.currentTranslate);g.emit("sliderMove",ze),D.isMoved=!0,D.currentTranslate=In+D.startTranslate;let Ir=!0,Vr=G.resistanceRatio;if(G.touchReleaseOnEdges&&(Vr=0),In>0?(wr&&qn&&D.allowThresholdMove&&D.currentTranslate>(G.centeredSlides?g.minTranslate()-g.slidesSizesGrid[g.activeIndex+1]-("auto"!==G.slidesPerView&&g.slides.length-G.slidesPerView>=2?g.slidesSizesGrid[g.activeIndex+1]+g.params.spaceBetween:0)-g.params.spaceBetween:g.minTranslate())&&g.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),D.currentTranslate>g.minTranslate()&&(Ir=!1,G.resistance&&(D.currentTranslate=g.minTranslate()-1+(-g.minTranslate()+D.startTranslate+In)**Vr))):In<0&&(wr&&qn&&D.allowThresholdMove&&D.currentTranslate<(G.centeredSlides?g.maxTranslate()+g.slidesSizesGrid[g.slidesSizesGrid.length-1]+g.params.spaceBetween+("auto"!==G.slidesPerView&&g.slides.length-G.slidesPerView>=2?g.slidesSizesGrid[g.slidesSizesGrid.length-1]+g.params.spaceBetween:0):g.maxTranslate())&&g.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:g.slides.length-("auto"===G.slidesPerView?g.slidesPerViewDynamic():Math.ceil(parseFloat(G.slidesPerView,10)))}),D.currentTranslate<g.maxTranslate()&&(Ir=!1,G.resistance&&(D.currentTranslate=g.maxTranslate()+1-(g.maxTranslate()-D.startTranslate-In)**Vr))),Ir&&(ze.preventedByNestedSwiper=!0),!g.allowSlideNext&&"next"===g.swipeDirection&&D.currentTranslate<D.startTranslate&&(D.currentTranslate=D.startTranslate),!g.allowSlidePrev&&"prev"===g.swipeDirection&&D.currentTranslate>D.startTranslate&&(D.currentTranslate=D.startTranslate),!g.allowSlidePrev&&!g.allowSlideNext&&(D.currentTranslate=D.startTranslate),G.threshold>0){if(!(Math.abs(In)>G.threshold||D.allowThresholdMove))return void(D.currentTranslate=D.startTranslate);
vendor: 4,836 bytes, line 1
1if(!D.allowThresholdMove)return D.allowThresholdMove=!0,le.startX=le.currentX,le.startY=le.currentY,D.currentTranslate=D.startTranslate,void(le.diff=g.isHorizontal()?le.currentX-le.startX:le.currentY-le.startY)}!G.followFinger||G.cssMode||((G.freeMode&&G.freeMode.enabled&&g.freeMode||G.watchSlidesProgress)&&(g.updateActiveIndex(),g.updateSlidesClasses()),G.freeMode&&G.freeMode.enabled&&g.freeMode&&g.freeMode.onTouchMove(),g.updateProgress(D.currentTranslate),g.setTranslate(D.currentTranslate))}function Vl(F){const v=this,g=v.touchEventsData;let G,D=F;if(D.originalEvent&&(D=D.originalEvent),"touchend"===D.type||"touchcancel"===D.type){if(G=[...D.changedTouches].find(Vr=>Vr.identifier===g.touchId),!G||G.identifier!==g.touchId)return}else{if(null!==g.touchId||D.pointerId!==g.pointerId)return;G=D}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(D.type)&&(!["pointercancel","contextmenu"].includes(D.type)||!v.browser.isSafari&&!v.browser.isWebView))return;g.pointerId=null,g.touchId=null;const{params:Le,touches:We,rtlTranslate:ze,slidesGrid:ht,enabled:cn}=v;if(!cn||!Le.simulateTouch&&"mouse"===D.pointerType)return;if(g.allowTouchCallbacks&&v.emit("touchEnd",D),g.allowTouchCallbacks=!1,!g.isTouched)return g.isMoved&&Le.grabCursor&&v.setGrabCursor(!1),g.isMoved=!1,void(g.startMoving=!1);Le.grabCursor&&g.isMoved&&g.isTouched&&(!0===v.allowSlideNext||!0===v.allowSlidePrev)&&v.setGrabCursor(!1);const rn=(0,Dr.h)(),zn=rn-g.touchStartTime;if(v.allowClick){const Vr=D.path||D.composedPath&&D.composedPath();v.updateClickedSlide(Vr&&Vr[0]||D.target,Vr),v.emit("tap click",D),zn<300&&rn-g.lastClickTime<300&&v.emit("doubleTap doubleClick",D)}if(g.lastClickTime=(0,Dr.h)(),(0,Dr.n)(()=>{v.destroyed||(v.allowClick=!0)}),!g.isTouched||!g.isMoved||!v.swipeDirection||0===We.diff&&!g.loopSwapReset||g.currentTranslate===g.startTranslate&&!g.loopSwapReset)return g.isTouched=!1,g.isMoved=!1,void(g.startMoving=!1);let Mn;if(g.isTouched=!1,g.isMoved=!1,g.startMoving=!1,Mn=Le.followFinger?ze?v.translate:-v.translate:-g.currentTranslate,Le.cssMode)return;if(Le.freeMode&&Le.freeMode.enabled)return void v.freeMode.onTouchEnd({currentPos:Mn});const In=Mn>=-v.maxTranslate()&&!v.params.loop;let Un=0,Cr=v.slidesSizesGrid[0];for(let Vr=0;Vr<ht.length;Vr+=Vr<Le.slidesPerGroupSkip?1:Le.slidesPerGroup){const Xr=Vr<Le.slidesPerGroupSkip-1?1:Le.slidesPerGroup;typeof ht[Vr+Xr]<"u"?(In||Mn>=ht[Vr]&&Mn<ht[Vr+Xr])&&(Un=Vr,Cr=ht[Vr+Xr]-ht[Vr]):(In||Mn>=ht[Vr])&&(Un=Vr,Cr=ht[ht.length-1]-ht[ht.length-2])}let wr=null,qn=null;Le.rewind&&(v.isBeginning?qn=Le.virtual&&Le.virtual.enabled&&v.virtual?v.virtual.slides.length-1:v.slides.length-1:v.isEnd&&(wr=0));const hr=(Mn-ht[Un])/Cr,Ir=Un<Le.slidesPerGroupSkip-1?1:Le.slidesPerGroup;if(zn>Le.longSwipesMs){if(!Le.longSwipes)return void v.slideTo(v.activeIndex);"next"===v.swipeDirection&&v.slideTo(hr>=Le.longSwipesRatio?Le.rewind&&v.isEnd?wr:Un+Ir:Un),"prev"===v.swipeDirection&&(hr>1-Le.longSwipesRatio?v.slideTo(Un+Ir):null!==qn&&hr<0&&Math.abs(hr)>Le.longSwipesRatio?v.slideTo(qn):v.slideTo(Un))}else{if(!Le.shortSwipes)return void v.slideTo(v.activeIndex);!v.navigation||D.target!==v.navigation.nextEl&&D.target!==v.navigation.prevEl?("next"===v.swipeDirection&&v.slideTo(null!==wr?wr:Un+Ir),"prev"===v.swipeDirection&&v.slideTo(null!==qn?qn:Un)):v.slideTo(D.target===v.navigation.nextEl?Un+Ir:Un)}}function Gf(){const F=this,{params:v,el:g}=F;if(g&&0===g.offsetWidth)return;v.breakpoints&&F.setBreakpoint();const{allowSlideNext:D,allowSlidePrev:G,snapGrid:le}=F,Le=F.virtual&&F.params.virtual.enabled;F.allowSlideNext=!0,F.allowSlidePrev=!0,F.updateSize(),F.updateSlides(),F.updateSlidesClasses(),!("auto"===v.slidesPerView||v.slidesPerView>1)||!F.isEnd||F.isBeginning||F.params.centeredSlides||Le&&v.loop?F.params.loop&&!Le?F.slideToLoop(F.realIndex,0,!1,!0):F.slideTo(F.activeIndex,0,!1,!0):F.slideTo((Le?F.virtual.slides:F.slides).length-1,0,!1,!0),F.autoplay&&F.autoplay.running&&F.autoplay.paused&&(clearTimeout(F.autoplay.resizeTimeout),F.autoplay.resizeTimeout=setTimeout(()=>{F.autoplay&&F.autoplay.running&&F.autoplay.paused&&F.autoplay.resume()},500)),F.allowSlidePrev=G,F.allowSlideNext=D,F.params.watchOverflow&&le!==F.snapGrid&&F.checkOverflow()}function u1(F){const v=this;v.enabled&&(v.allowClick||(v.params.preventClicks&&F.preventDefault(),v.params.preventClicksPropagation&&v.animating&&(F.stopPropagation(),F.stopImmediatePropagation())))}function Xf(){const F=this,{wrapperEl:v,rtlTranslate:g,enabled:D}=F;if(!D)return;let G;F.previousTranslate=F.translate,F.translate=F.isHorizontal()?-v.scrollLeft:-v.scrollTop,0===F.translate&&(F.translate=0),F.updateActiveIndex(),F.updateSlidesClasses();const le=F.maxTranslate()-F.minTranslate();G=0===le?0:(F.translate-F.minTranslate())/le,G!==F.progress&&F.updateProgress(g?-F.translate:F.translate),F.emit
1("setTranslate",F.translate,!1)}function pp(F){const v=this;rr(v,F.target),!v.params.cssMode&&("auto"===v.params.slidesPerView||v.params.autoHeight)&&v.update()}function mp(){const F=this;F.documentTouchHandlerProceeded||(F.documentTouchHandlerProceeded=!0,F.params.touchReleaseOnEdges&&(F.el.style.touchAction="auto"))}const gp=(F,v)=>{const g=(0,Pi.g)(),{params:D,el:G,wrapperEl:le,device:Le}=F,We=!!D.nested,ze="on"===v?"addEventListener":"removeEventListener",ht=v;!G||"string"==typeof G||(g[ze]("touchstart",F.onDocumentTouchStart,{passive:!1,capture:We}),G[ze]("touchstart",F.onTouchStart,{passive:!1}),G[ze]("pointerdown",F.onTouchStart,{passive:!1}),g[ze]("touchmove",F.onTouchMove,{passive:!1,capture:We}),g[ze]("pointermove",F.onTouchMove,{passive:!1,capture:We}),g[ze]("touchend",F.onTouchEnd,{passive:!0}),g[ze]("pointerup",F.onTouchEnd,{passive:!0}),g[ze]("pointercancel",F.onTouchEnd,{passive:!0}),g[ze]("touchcancel",F.onTouchEnd,{passive:!0}),g[ze]("pointerout",F.onTouchEnd,{passive:!0}),g[ze]("pointerleave",F.onTouchEnd,{passive:!0}),g[ze]("contextmenu",F.onTouchEnd,{passive:!0}),(D.preventClicks||D.preventClicksPropagation)&&G[ze]("click",F.onClick,!0),D.cssMode&&le[ze]("scroll",F.onScroll),F[ht](D.updateOnWindowResize?Le.ios||Le.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",Gf,!0),G[ze]("load",F.onLoad,{capture:!0}))},Tc=(F,v)=>F.grid&&v.grid&&v.grid.rows>1;var ul={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Zf(F,v){return function(D={}){const G=Object.keys(D)[0],le=D[G];"object"==typeof le&&null!==le?(!0===F[G]&&(F[G]={enabled:!0}),"navigation"===G&&F[G]&&F[G].enabled&&!F[G].prevEl&&!F[G].nextEl&&(F[G].auto=!0),["pagination","scrollbar"].indexOf(G)>=0&&F[G]&&F[G].enabled&&!F[G].el&&(F[G].auto=!0),G in F&&"enabled"in le?("object"==typeof F[G]&&!("enabled"in F[G])&&(F[G].enabled=!0),F[G]||(F[G]={enabled:!1}),(0,Dr.x)(v,D)):(0,Dr.x)(v,D)):(0,Dr.x)(v,D)}}const Jc={eventsEmitter:{on(F,v,g){const D=this;if(!D.eventsListeners||D.destroyed||"function"!=typeof v)return D;const G=g?"unshift":"push";return F.split(" ").forEach(le=>{D.eventsListeners[le]||(D.eventsListeners[le]=[]),D.eventsListeners[le][G](v)}),D},once(F,v,g){const D=this;if(!D.eventsListeners||D.destroyed||"function"!=typeof v)return D;function G(...le){D.off(F,G),G.__emitterProxy&&delete G.__emitterProxy,v.apply(D,le)}return G.__emitterProxy=v,D.on(F,G,g)},onAny(F,v){const g=this;if(!g.eventsListeners||g.destroyed||"function"!=typeof F)return g;const D=v?"unshift":"push";return g.eventsAnyListeners.indexOf(F)<0&&g.eventsAnyListeners[D](F),g}
1,offAny(F){const v=this;if(!v.eventsListeners||v.destroyed||!v.eventsAnyListeners)return v;const g=v.eventsAnyListeners.indexOf(F);return g>=0&&v.eventsAnyListeners.splice(g,1),v},off(F,v){const g=this;return!g.eventsListeners||g.destroyed||!g.eventsListeners||F.split(" ").forEach(D=>{typeof v>"u"?g.eventsListeners[D]=[]:g.eventsListeners[D]&&g.eventsListeners[D].forEach((G,le)=>{(G===v||G.__emitterProxy&&G.__emitterProxy===v)&&g.eventsListeners[D].splice(le,1)})}),g},emit(...F){const v=this;if(!v.eventsListeners||v.destroyed||!v.eventsListeners)return v;let g,D,G;return"string"==typeof F[0]||Array.isArray(F[0])?(g=F[0],D=F.slice(1,F.length),G=v):(g=F[0].events,D=F[0].data,G=F[0].context||v),D.unshift(G),(Array.isArray(g)?g:g.split(" ")).forEach(Le=>{v.eventsAnyListeners&&v.eventsAnyListeners.length&&v.eventsAnyListeners.forEach(We=>{We.apply(G,[Le,...D])}),v.eventsListeners&&v.eventsListeners[Le]&&v.eventsListeners[Le].forEach(We=>{We.apply(G,D)})}),v}},update:{updateSize:function pa(){const F=this;let v,g;const D=F.el;v=typeof F.params.width<"u"&&null!==F.params.width?F.params.width:D.clientWidth,g=typeof F.params.height<"u"&&null!==F.params.height?F.params.height:D.clientHeight,!(0===v&&F.isHorizontal()||0===g&&F.isVertical())&&(v=v-parseInt((0,Dr.q)(D,"padding-left")||0,10)-parseInt((0,Dr.q)(D,"padding-right")||0,10),g=g-parseInt((0,Dr.q)(D,"padding-top")||0,10)-parseInt((0,Dr.q)(D,"padding-bottom")||0,10),Number.isNaN(v)&&(v=0),Number.isNaN(g)&&(g=0),Object.assign(F,{width:v,height:g,size:F.isHorizontal()?v:g}))},updateSlides:function Sc(){const F=this;function v(Qr,Nr){return parseFloat(Qr.getPropertyValue(F.getDirectionLabel(Nr))||0)}const g=F.params,{wrapperEl:D,slidesEl:G,rtlTranslate:le,wrongRTL:Le}=F,We=F.virtual&&g.virtual.enabled,ze=We?F.virtual.slides.length:F.slides.length,ht=(0,Dr.e)(G,`.${F.params.slideClass}, swiper-slide`),cn=We?F.virtual.slides.length:ht.length;let rn=[];const zn=[],Mn=[];let In=g.slidesOffsetBefore;"function"==typeof In&&(In=g.slidesOffsetBefore.call(F));let Un=g.slidesOffsetAfter;"function"==typeof Un&&(Un=g.slidesOffsetAfter.call(F));const Cr=F.snapGrid.length,wr=F.slidesGrid.length,qn=F.size-In-Un;let hr=g.spaceBetween,Ir=-In,Vr=0,Xr=0;if(typeof qn>"u")return;"string"==typeof hr&&hr.indexOf("%")>=0?hr=parseFloat(hr.replace("%",""))/100*qn:"string"==typeof hr&&(hr=parseFloat(hr)),F.virtualSize=-hr-In-Un,ht.forEach(Qr=>{le?Qr.style.marginLeft="":Qr.style.marginRight="",Qr.style.marginBottom="",Qr.style.marginTop=""}),g.centeredSlides&&g.cssMode&&((0,Dr.b)(D,"--swiper-centered-offset-before",""),(0,Dr.b)(D,"--swiper-centered-offset-after","")),g.cssMode&&((0,Dr.b)(D,"--swiper-slides-offset-before",`${In}px`),(0,Dr.b)(D,"--swiper-slides-offset-after",`${Un}px`));const jr=g.grid&&g.grid.rows>1&&F.grid;let ar;jr?F.grid.initSlides(ht):F.grid&&F.grid.unsetSlides();const so="auto"===g.slidesPerView&&g.breakpoints&&Object.keys(g.breakpoints).filter(Qr=>typeof g.breakpoints[Qr].slidesPerView<"u").length>0;for(let Qr=0;Qr<cn;Qr+=1){ar=0;const Nr=ht[Qr];if(!Nr||(jr&&F.grid.updateSlide(Qr,Nr,ht),"none"!==(0,Dr.q)(Nr,"display"))){if(We&&"auto"===g.slidesPerView)g.virtual.slidesPerViewAutoSlideSize&&(ar=g.virtual.slidesPerViewAutoSlideSize),ar&&Nr&&(g.roundLengths&&(ar=Math.floor(ar)),Nr.style[F.getDirectionLabel("width")]=`${ar}px`);else if("auto"===g.slidesPerView){so&&(Nr.style[F.getDirectionLabel("width")]="");const Qi=getComputedStyle(Nr),ys=Nr.style.transform,Qo=Nr.style.webkitTransform;if(ys&&(Nr.style.transform="none"),Qo&&(Nr.style.webkitTransform="none"),g.roundLengths)ar=F.isHorizontal()?(0,Dr.i)(Nr,"width",!0):(0,Dr.i)(Nr,"height",!0);else{const qr=v(Qi,"width"),yr=v(Qi,"padding-left"),Fr=v(Qi,"padding-right"),br=v(Qi,"margin-left"),ui=v(Qi,"margin-right"),co=Qi.getPropertyValue("box-sizing");if(co&&"border-box"===co)ar=qr+br+ui;else{const{clientWidth:P,offsetWidth:lt}=Nr;ar=qr+yr+Fr+br+ui+(lt-P)}}ys&&(Nr.style.transform=ys),Qo&&(Nr.style.webkitTransform=Qo),g.roundLengths&&(ar=Math.floor(ar))}else ar=(qn-(g.slidesPerView-1)*hr)/g.slidesPerView,g.roundLengths&&(ar=Math.floor(ar)),Nr&&(Nr.style[F.getDirectionLabel("width")]=`${ar}px`);Nr&&(Nr.swiperSlideSize=ar),Mn.push(ar),g.centeredSlides?(Ir=Ir+ar/2+Vr/2+hr,0===Vr&&0!==Qr&&(Ir=Ir-qn/2-hr),0===Qr&&(Ir=Ir-qn/2-hr),Math.abs(Ir)<.001&&(Ir=0),g.roundLengths&&(Ir=Math.floor(Ir)),Xr%g.slidesPerGroup===0&&rn.push(Ir),zn.push(Ir)):(g.roundLengths&&(Ir=Math.floor(Ir)),(Xr-Math.min(F.params.slidesPerGroupSkip,Xr))%F.params.slidesPerGroup===0&&rn.push(Ir),zn.push(Ir),Ir=Ir+ar+hr),F.virtualSize+=ar+hr,Vr=ar,Xr+=1}}if(F.virtualSize=Math.max(F.virtualSize,qn)+Un,le&&Le&&("slide"===g.effect||"coverflow"===g.effect)&&(D.style.width=`${F.virtualSize+hr}px`),g.setWrapperSize&&(D.style[F.getDirectionLabel("width")]=`${F.virtualSize+hr}px`),jr&&F.grid.updateWrapperSize(ar,rn),!g.centeredSlides){const Nr=g.snapToSlideEdge&&!g.loop&&("auto"===g.slidesPerView||"auto"!==g.slidesPerView&&g.slidesPerView%1!=0);let Qi=rn.length;if(Nr){let Qo;if("auto"===g.slidesPerView){Qo=1;let qr=0;for(let yr=Mn.length-1;yr>=0&&(qr+=Mn[yr]+(yr<Mn.length-1?hr:0),qr<=qn);yr-=1)Qo=Mn.length-yr}else Qo=Math.floor(g.slidesPerView);Qi=Math.max(cn-Qo,0)}const ys=[];for(let Qo=0;Qo<rn.length;Qo+=1){let qr=rn[Qo];g.roundLengths&&(qr=Math.floor(qr)),Nr?Qo<=Qi&&ys.push(qr):rn[Qo]<=F.virtualSize-qn&&ys.push(qr)}rn=ys,Math.floor(F.virtualSize-qn)-Math.floor(rn[rn.length-1])>1&&(Nr||rn.push(F.virtualSize-qn))}if(We&&g.loop){const Qr=Mn[0]+hr;if(g.slidesPerGroup>1){const Nr=Math.ceil((F.virtual.slidesBefore+F.virtual.slidesAfter)/g.slidesPerGroup),Qi=Qr*g.slidesPerGroup;for(let ys=0;ys<Nr;ys+=1)rn.push(rn[rn.length-1]+Qi)}for(let Nr=0;Nr<F.virtual.slidesBefore+F.virtual.slidesAfter;Nr+=1)1===g.slidesPerGroup&&rn.push(rn[rn.length-1]+Qr),zn.push(zn[zn.length-1]+Qr),F.virtualSize+=Qr}if(0===rn.length&&(rn=[0]),0!==hr){const Qr=F.isHorizontal()&&le?"marginLeft":F.getDirectionLabel("marginRight");ht.filter((Nr,Qi)=>
1!(g.cssMode&&!g.loop)||Qi!==ht.length-1).forEach(Nr=>{Nr.style[Qr]=`${hr}px`})}if(g.centeredSlides&&g.centeredSlidesBounds){let Qr=0;Mn.forEach(Qi=>{Qr+=Qi+(hr||0)}),Qr-=hr;const Nr=Qr>qn?Qr-qn:0;rn=rn.map(Qi=>Qi<=0?-In:Qi>Nr?Nr+Un:Qi)}if(g.centerInsufficientSlides){let Qr=0;if(Mn.forEach(Nr=>{Qr+=Nr+(hr||0)}),Qr-=hr,Qr<qn){const Nr=(qn-Qr)/2;rn.forEach((Qi,ys)=>{rn[ys]=Qi-Nr}),zn.forEach((Qi,ys)=>{zn[ys]=Qi+Nr})}}if(Object.assign(F,{slides:ht,snapGrid:rn,slidesGrid:zn,slidesSizesGrid:Mn}),g.centeredSlides&&g.cssMode&&!g.centeredSlidesBounds){(0,Dr.b)(D,"--swiper-centered-offset-before",-rn[0]+"px"),(0,Dr.b)(D,"--swiper-centered-offset-after",F.size/2-Mn[Mn.length-1]/2+"px");const Qr=-F.snapGrid[0],Nr=-F.slidesGrid[0];F.snapGrid=F.snapGrid.map(Qi=>Qi+Qr),F.slidesGrid=F.slidesGrid.map(Qi=>Qi+Nr)}if(cn!==ze&&F.emit("slidesLengthChange"),rn.length!==Cr&&(F.params.watchOverflow&&F.checkOverflow(),F.emit("snapGridLengthChange")),zn.length!==wr&&F.emit("slidesGridLengthChange"),g.watchSlidesProgress&&F.updateSlidesOffset(),F.emit("slidesUpdated"),!(We||g.cssMode||"slide"!==g.effect&&"fade"!==g.effect)){const Qr=`${g.containerModifierClass}backface-hidden`,Nr=F.el.classList.contains(Qr);cn<=g.maxBackfaceHiddenSlides?Nr||F.el.classList.add(Qr):Nr&&F.el.classList.remove(Qr)}},updateAutoHeight:function Li(F){const v=this,g=[],D=v.virtual&&v.params.virtual.enabled;let le,G=0;"number"==typeof F?v.setTransition(F):!0===F&&v.setTransition(v.params.speed);const Le=We=>D?v.slides[v.getSlideIndexByData(We)]:v.slides[We];if("auto"!==v.params.slidesPerView&&v.params.slidesPerView>1)if(v.params.centeredSlides)(v.visibleSlides||[]).forEach(We=>{g.push(We)});else for(le=0;le<Math.ceil(v.params.slidesPerView);le+=1){const We=v.activeIndex+le;if(We>v.slides.length&&!D)break;g.push(Le(We))}else g.push(Le(v.activeIndex));for(le=0;le<g.length;le+=1)if(typeof g[le]<"u"){const We=g[le].offsetHeight;G=We>G?We:G}(G||0===G)&&(v.wrapperEl.style.height=`${G}px`)},updateSlidesOffset:function ct(){const F=this,v=F.slides,g=F.isElement?F.isHorizontal()?F.wrapperEl.offsetLeft:F.wrapperEl.offsetTop:0;for(let D=0;D<v.length;D+=1)v[D].swiperSlideOffset=(F.isHorizontal()?v[D].offsetLeft:v[D].offsetTop)-g-F.cssOverflowAdjustment()},updateSlidesProgress:function ot(F=this&&this.translate||0){const v=this,g=v.params,{slides:D,rtlTranslate:G,snapGrid:le}=v;if(0===D.length)return;typeof D[0].swiperSlideOffset>"u"&&v.updateSlidesOffset();let Le=-F;G&&(Le=F),v.visibleSlidesIndexes=[],v.visibleSlides=[];let We=g.spaceBetween;"string"==typeof We&&We.indexOf("%")>=0?We=parseFloat(We.replace("%",""))/100*v.size:"string"==typeof We&&(We=parseFloat(We));for(let ze=0;ze<D.length;ze+=1){const ht=D[ze];let cn=ht.swiperSlideOffset;g.cssMode&&g.centeredSlides&&(cn-=D[0].swiperSlideOffset);const rn=(Le+(g.centeredSlides?v.minTranslate():0)-cn)/(ht.swiperSlideSize+We),zn=(Le-le[0]+(g.centeredSlides?v.minTranslate():0)-cn)/(ht.swiperSlideSize+We),Mn=-(Le-cn),In=Mn+v.slidesSizesGrid[ze],Un=Mn>=0&&Mn<=v.size-v.slidesSizesGrid[ze],Cr=Mn>=0&&Mn<v.size-1||In>1&&In<=v.size||Mn<=0&&In>=v.size;Cr&&(v.visibleSlides.push(ht),v.visibleSlidesIndexes.push(ze)),Fe(ht,Cr,g.slideVisibleClass),Fe(ht,Un,g.slideFullyVisibleClass),ht.progress=G?-rn:rn,ht.originalProgress=G?-zn:zn}},updateProgress:function Nt(F){const v=this;typeof F>"u"&&(F=v&&v.translate&&v.translate*(v.rtlTranslate?-1:1)||0);const g=v.params,D=v.maxTranslate()-v.minTranslate();let{progress:G,isBeginning:le,isEnd:Le,progressLoop:We}=v;const ze=le,ht=Le;if(0===D)G=0,le=!0,Le=!0;else{G=(F-v.minTranslate())/D;const cn=Math.abs(F-v.minTranslate())<1,rn=Math.abs(F-v.maxTranslate())<1;le=cn||G<=0,Le=rn||G>=1,cn&&(G=0),rn&&(G=1)}if(g.loop){const cn=v.getSlideIndexByData(0),rn=v.getSlideIndexByData(v.slides.length-1),zn=v.slidesGrid[cn],Mn=v.slidesGrid[rn],In=v.slidesGrid[v.slidesGrid.length-1],Un=Math.abs(F);We=Un>=zn?(Un-zn)/In:(Un+In-Mn)/In,We>1&&(We-=1)}Object.assign(v,{progress:G,progressLoop:We,isBeginning:le,isEnd:Le}),(g.watchSlidesProgress||g.centeredSlides&&g.autoHeight)&&v.updateSlidesProgress(F),le&&!ze&&v.emit("reachBeginning toEdge"),Le&&!ht&&v.emit("reachEnd toEdge"),(ze&&!le||ht&&!Le)&&v.emit("fromEdge"),v.emit("progress",G)},updateSlidesClasses:function On(){const F=this,{slides:v,params:g,
1slidesEl:D,activeIndex:G}=F,Le=F.grid&&g.grid&&g.grid.rows>1,We=rn=>(0,Dr.e)(D,`.${g.slideClass}${rn}, swiper-slide${rn}`)[0];let ze,ht,cn;if(F.virtual&&g.virtual.enabled)if(g.loop){let rn=G-F.virtual.slidesBefore;rn<0&&(rn=F.virtual.slides.length+rn),rn>=F.virtual.slides.length&&(rn-=F.virtual.slides.length),ze=We(`[data-swiper-slide-index="${rn}"]`)}else ze=We(`[data-swiper-slide-index="${G}"]`);else Le?(ze=v.find(rn=>rn.column===G),cn=v.find(rn=>rn.column===G+1),ht=v.find(rn=>rn.column===G-1)):ze=v[G];ze&&(Le||(cn=(0,Dr.r)(ze,`.${g.slideClass}, swiper-slide`)[0],g.loop&&!cn&&(cn=v[0]),ht=(0,Dr.t)(ze,`.${g.slideClass}, swiper-slide`)[0],g.loop&&0===!ht&&(ht=v[v.length-1]))),v.forEach(rn=>{hn(rn,rn===ze,g.slideActiveClass),hn(rn,rn===cn,g.slideNextClass),hn(rn,rn===ht,g.slidePrevClass)}),F.emitSlidesClasses()},updateActiveIndex:function lo(F){const v=this,g=v.rtlTranslate?v.translate:-v.translate,{snapGrid:D,params:G,activeIndex:le,realIndex:Le,snapIndex:We}=v;let ht,ze=F;const cn=Mn=>{let In=Mn-v.virtual.slidesBefore;return In<0&&(In=v.virtual.slides.length+In),In>=v.virtual.slides.length&&(In-=v.virtual.slides.length),In};if(typeof ze>"u"&&(ze=function oi(F){const{slidesGrid:v,params:g}=F,D=F.rtlTranslate?F.translate:-F.translate;let G;for(let le=0;le<v.length;le+=1)typeof v[le+1]<"u"?D>=v[le]&&D<v[le+1]-(v[le+1]-v[le])/2?G=le:D>=v[le]&&D<v[le+1]&&(G=le+1):D>=v[le]&&(G=le);return g.normalizeSlideIndex&&(G<0||typeof G>"u")&&(G=0),G}(v)),D.indexOf(g)>=0)ht=D.indexOf(g);else{const Mn=Math.min(G.slidesPerGroupSkip,ze);ht=Mn+Math.floor((ze-Mn)/G.slidesPerGroup)}if(ht>=D.length&&(ht=D.length-1),ze===le&&!v.params.loop)return void(ht!==We&&(v.snapIndex=ht,v.emit("snapIndexChange")));if(ze===le&&v.params.loop&&v.virtual&&v.params.virtual.enabled)return void(v.realIndex=cn(ze));const rn=v.grid&&G.grid&&G.grid.rows>1;let zn;if(v.virtual&&G.virtual.enabled)zn=G.loop?cn(ze):ze;else if(rn){const Mn=v.slides.find(Un=>Un.column===ze);let In=parseInt(Mn.getAttribute("data-swiper-slide-index"),10);Number.isNaN(In)&&(In=Math.max(v.slides.indexOf(Mn),0)),zn=Math.floor(In/G.grid.rows)}else if(v.slides[ze]){const Mn=v.slides[ze].getAttribute("data-swiper-slide-index");zn=Mn?parseInt(Mn,10):ze}else zn=ze;Object.assign(v,{previousSnapIndex:We,snapIndex:ht,previousRealIndex:Le,realIndex:zn,previousIndex:le,activeIndex:ze}),v.initialized&&vr(v),v.emit("activeIndexChange"),v.emit("snapIndexChange"),(v.initialized||v.params.runCallbacksOnInit)&&(Le!==zn&&v.emit("realIndexChange"),v.emit("slideChange"))},updateClickedSlide:function li(F,v){const g=this,D=g.params;let G=F.closest(`.${D.slideClass}, swiper-slide`);!G&&g.isElement&&v&&v.length>
11&&v.includes(F)&&[...v.slice(v.indexOf(F)+1,v.length)].forEach(We=>{!G&&We.matches&&We.matches(`.${D.slideClass}, swiper-slide`)&&(G=We)});let Le,le=!1;if(G)for(let We=0;We<g.slides.length;We+=1)if(g.slides[We]===G){le=!0,Le=We;break}if(!G||!le)return g.clickedSlide=void 0,void(g.clickedIndex=void 0);g.clickedSlide=G,g.clickedIndex=g.virtual&&g.params.virtual.enabled?parseInt(G.getAttribute("data-swiper-slide-index"),10):Le,D.slideToClickedSlide&&void 0!==g.clickedIndex&&g.clickedIndex!==g.activeIndex&&g.slideToClickedSlide()}},translate:{getTranslate:function Ui(F=(this.isHorizontal()?"x":"y")){const{params:g,rtlTranslate:D,translate:G,wrapperEl:le}=this;if(g.virtualTranslate)return D?-G:G;if(g.cssMode)return G;let Le=(0,Dr.l)(le,F);return Le+=this.cssOverflowAdjustment(),D&&(Le=-Le),Le||0},setTranslate:function Sa(F,v){const g=this,{rtlTranslate:D,params:G,wrapperEl:le,progress:Le}=g;let cn,We=0,ze=0;g.isHorizontal()?We=D?-F:F:ze=F,G.roundLengths&&(We=Math.floor(We),ze=Math.floor(ze)),g.previousTranslate=g.translate,g.translate=g.isHorizontal()?We:ze,G.cssMode?le[g.isHorizontal()?"scrollLeft":"scrollTop"]=g.isHorizontal()?-We:-ze:G.virtualTranslate||(g.isHorizontal()?We-=g.cssOverflowAdjustment():ze-=g.cssOverflowAdjustment(),le.style.transform=`translate3d(${We}px, ${ze}px, 0px)`);const rn=g.maxTranslate()-g.minTranslate();cn=0===rn?0:(F-g.minTranslate())/rn,cn!==Le&&g.updateProgress(F),g.emit("setTranslate",g.translate,v)},minTranslate:function ma(){return-this.snapGrid[0]},maxTranslate:function Xs(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function Ga(F=0,v=this.params.speed,g=!0,D=!0,G){const le=this,{params:Le,wrapperEl:We}=le;if(le.animating&&Le.preventInteractionOnTransition)return!1;const ze=le.minTranslate(),ht=le.maxTranslate();let cn;if(cn=D&&F>ze?ze:D&&F<ht?ht:F,le.updateProgress(cn),Le.cssMode){const rn=le.isHorizontal();if(0===v)We[rn?"scrollLeft":"scrollTop"]=-cn;else{if(!le.support.smoothScroll)return(0,Dr.u)({swiper:le,targetPosition:-cn,side:rn?"left":"top"}),!0;We.scrollTo({[rn?"left":"top"]:-cn,behavior:"smooth"})}return!0}return 0===v?(le.setTransition(0),le.setTranslate(cn),g&&(le.emit("beforeTransitionStart",v,G),le.emit("transitionEnd"))):(le.setTransition(v),le.setTranslate(cn),g&&(le.emit("beforeTransitionStart",v,G),le.emit("transitionStart")),le.animating||(le.animating=!0,le.onTranslateToWrapperTransitionEnd||(le.onTranslateToWrapperTransitionEnd=function(zn){!le||le.destroyed||zn.target===this&&(le.wrapperEl.removeEventListener("transitionend",le.onTranslateToWrapperTransitionEnd),le.onTranslateToWrapperTransitionEnd=null,delete le.onTranslateToWrapperTransitionEnd,le.animating=!1,g&&le.emit("transitionEnd"))}),le.wrapperEl.addEventListener("transitionend",le.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function cl(F,v){const g=this;g.params.cssMode||(g.wrapperEl.style.transitionDuration=`${F}ms`,g.wrapperEl.style.transitionDelay=0===F?"0ms":""),g.emit("setTransition",F,v)},transitionStart:function Gl(F=!0,v){const g=this,{params:D}=g;D.cssMode||(D.autoHeight&&g.updateAutoHeight(),Dc({swiper:g,runCallbacks:F,direction:v,step:"Start"}))},transitionEnd:function rd(F=!0,v){const g=this,{params:D}=g;g.animating=!1,!D.cssMode&&(g.setTransition(0),Dc({swiper:g,runCallbacks:F,direction:v,step:"End"}))}},slide:{slideTo:function od(F=0,v,g=!0,D,G){"string"==typeof F&&(F=parseInt(F,10));const le=this;let Le=F;Le<0&&(Le=0);const{params:We,snapGrid:ze,slidesGrid:ht,previousIndex:cn,activeIndex:rn,rtlTranslate:zn,wrapperEl:Mn,enabled:In}=le;if(!In&&!D&&!G||le.destroyed||le.animating&&We.preventInteractionOnTransition)return!1;typeof v>"u"&&(v=le.params.speed);const Un=Math.min(le.params.slidesPerGroupSkip,Le);let Cr=Un+Math.floor((Le-Un)/le.params.slidesPerGroup);Cr>=ze.length&&(Cr=ze.length-1);const wr=-ze[Cr];if(We.normalizeSlideIndex)for(let jr=0;jr<ht.length;jr+=1){const ar=-Math.floor(100*wr),so=Math.floor(100*ht[jr]),Qr=Math.floor(100*ht[jr+1]);typeof ht[jr+1]<"u"?ar>=so&&ar<Qr-(Qr-so)/2?Le=jr:ar>=so&&ar<Qr&&(Le=jr+1):ar>=so&&(Le=jr)}if(le.initialized&&Le!==rn&&(!le.allowSlideNext&&(zn?wr>le.translate&&wr>le.minTranslate():wr<le.translate&&wr<le.minTranslate())||!le.allowSlidePrev&&wr>le.translate&&wr>le.maxTranslate()&&(rn||0)!==Le))return!1;let qn;Le!==(cn||0)&&g&&le.emit("beforeSlideChangeStart"),le.updateProgress(wr),qn=Le>rn?"next":Le<rn?"prev":"reset";const hr=le.virtual&&le.params.virtual.enabled;if((!hr||!G)&&(zn&&-wr===le.translate||!zn&&wr===le.translate))return le.updateActiveIndex(Le),We.autoHeight&&le.updateAutoHeight(),le.updateSlidesClasses(),"slide"!==We.effect&&le.setTranslate(wr),"reset"!==qn&&(le.transitionStart(g,qn),le.transitionEnd(g,qn)),!1;if(We.cssMode){const jr=le.isHorizontal(),ar=zn?wr:-wr;if(0===v)hr&&(le.wrapperEl.style.scrollSnapType="none",le._immediateVirtual=!0),hr&&!le._cssModeVirtualInitialSet&&le.params.initialSlide>0?(le._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Mn[jr?"scrollLeft":"scrollTop"]=ar})):Mn[jr?"scrollLeft":"scrollTop"]=ar,hr&&requestAnimationFrame(()=>{le.wrapperEl.style.scrollSnapType="",le._immediateVirtual=!1});else{if(!le.support.smoothScroll)return(0,Dr.u)({swiper:le,targetPosition:ar,side:jr?"left":"top"}),!0;Mn.scrollTo({[jr?"left":"top"]:ar,behavior:"smooth"})}return!0}const Xr=Ms().isSafari;return hr&&!G&&Xr&&le.isElement&&le.virtual.update(!1,!1,Le),le.setTransition(v),le.setTranslate(wr),le.updateActiveIndex(Le),le.updateSlidesClasses(),le.emit("beforeTransitionStart",v,D),le.transitionStart(g,qn),0===v?le.transitionEnd(g,qn):le.animating||(le.animating=!0,le.onSlideToWrapperTransitionEnd||(le.onSlideToWrapperTransitionEnd=function(ar){!le||le.destroyed||ar.target===this&&(le.wrapperEl.removeEventListener("transitionend",le.onSlideToWrapperTransitionEnd),le.onSlideToWrapperTransitionEnd=null,delete le.onSlideToWrapperTransitionEnd,le.transitionEnd(g,qn))}),le.wrapperEl.addEventListener("transitionend",le.onSlideToWrapperTransitionEnd)),!0}
1,slideToLoop:function Oc(F=0,v,g=!0,D){"string"==typeof F&&(F=parseInt(F,10));const G=this;if(G.destroyed)return;typeof v>"u"&&(v=G.params.speed);const le=G.grid&&G.params.grid&&G.params.grid.rows>1;let Le=F;if(G.params.loop)if(G.virtual&&G.params.virtual.enabled)Le+=G.virtual.slidesBefore;else{let We;if(le){const Un=Le*G.params.grid.rows;We=G.slides.find(Cr=>1*Cr.getAttribute("data-swiper-slide-index")===Un).column}else We=G.getSlideIndexByData(Le);const ze=le?Math.ceil(G.slides.length/G.params.grid.rows):G.slides.length,{centeredSlides:ht,slidesOffsetBefore:cn,slidesOffsetAfter:rn}=G.params,zn=ht||!!cn||!!rn;let Mn=G.params.slidesPerView;"auto"===Mn?Mn=G.slidesPerViewDynamic():(Mn=Math.ceil(parseFloat(G.params.slidesPerView,10)),zn&&Mn%2==0&&(Mn+=1));let In=ze-We<Mn;if(zn&&(In=In||We<Math.ceil(Mn/2)),D&&zn&&"auto"!==G.params.slidesPerView&&!le&&(In=!1),In){const Un=zn?We<G.activeIndex?"prev":"next":We-G.activeIndex-1<G.params.slidesPerView?"next":"prev";G.loopFix({direction:Un,slideTo:!0,activeSlideIndex:"next"===Un?We+1:We-ze+1,slideRealIndex:"next"===Un?G.realIndex:void 0})}if(le){const Un=Le*G.params.grid.rows;Le=G.slides.find(Cr=>1*Cr.getAttribute("data-swiper-slide-index")===Un).column}else Le=G.getSlideIndexByData(Le)}return requestAnimationFrame(()=>{G.slideTo(Le,v,g,D)}),G},slideNext:function Yc(F,v=!0,g){const D=this,{enabled:G,params:le,animating:Le}=D;if(!G||D.destroyed)return D;typeof F>"u"&&(F=D.params.speed);let We=le.slidesPerGroup;"auto"===le.slidesPerView&&1===le.slidesPerGroup&&le.slidesPerGroupAuto&&(We=Math.max(D.slidesPerViewDynamic("current",!0),1));const ze=D.activeIndex<le.slidesPerGroupSkip?1:We;if(le.loop){if(Le&&(!D.virtual||!le.virtual.enabled)&&le.loopPreventsSliding)return!1;if(D.loopFix({direction:"next"}),D._clientLeft=D.wrapperEl.clientLeft,D.activeIndex===D.slides.length-1&&le.cssMode)return requestAnimationFrame(()=>{D.slideTo(D.activeIndex+ze,F,v,g)}),!0}return D.slideTo(le.rewind&&D.isEnd?0:D.activeIndex+ze,F,v,g)},slidePrev:function Kf(F,v=!0,g){const D=this,{params:G,snapGrid:le,slidesGrid:Le,rtlTranslate:We,enabled:ze,animating:ht}=D;if(!ze||D.destroyed)return D;if(typeof F>"u"&&(F=D.params.speed),G.loop){if(ht&&(!D.virtual||!G.virtual.enabled)&&G.loopPreventsSliding)return!1;D.loopFix({direction:"prev"}),D._clientLeft=D.wrapperEl.clientLeft}function zn(qn){return qn<0?-Math.floor(Math.abs(qn)):Math.floor(qn)}const Mn=zn(We?D.translate:-D.translate),In=le.map(qn=>zn(qn)),Un=G.freeMode&&G.freeMode.enabled;let Cr=le[In.indexOf(Mn)-1];if(typeof Cr>"u"&&(G.cssMode||Un)){let qn;le.forEach((hr,Ir)=>{Mn>=hr&&(qn=Ir)}),typeof qn<"u"&&(Cr=Un?le[qn]:le[qn>0?qn-1:qn])}let wr=0;return typeof Cr<"u"&&(wr=Le.indexOf(Cr),wr<0&&(wr=D.activeIndex-1),"auto"===G.slidesPerView&&1===G.slidesPerGroup&&G.slidesPerGroupAuto&&(wr=wr-D.slidesPerViewDynamic("previous",!0)+1,wr=Math.max(wr,0))),G.rewind&&D.isBeginning?D.slideTo(D.params.virtual&&D.params.virtual.enabled&&D.virtual?D.virtual.slides.length-1:D.slides.length-1,F,v,g):G.loop&&0===D.activeIndex&&G.cssMode?(requestAnimationFrame(()=>{D.slideTo(wr,F,v,g)}),!0):D.slideTo(wr,F,v,g)},slideReset:function sd(F,v=!0,g){const D=this;if(!D.destroyed)return typeof F>"u"&&(F=D.params.speed),D.slideTo(D.activeIndex,F,v,g)},slideToClosest:function Ud(F,v=!0,g,D=.5){const G=this;if(G.destroyed)return;typeof F>"u"&&(F=G.params.speed);let le=G.activeIndex;const Le=Math.min(G.params.slidesPerGroupSkip,le),We=Le+Math.floor((le-Le)/G.params.slidesPerGroup),ze=G.rtlTranslate?G.translate:-G.translate;if(ze>=G.snapGrid[We]){const ht=G.snapGrid[We];ze-ht>(G.snapGrid[We+1]-ht)*D&&(le+=G.params.slidesPerGroup)}else{const ht=G.snapGrid[We-1];ze-ht<=(G.snapGrid[We]-ht)*D&&(le-=G.params.slidesPerGroup)}return le=Math.max(le,0),le=Math.min(le,G.slidesGrid.length-1),G.slideTo(le,F,v,g)},slideToClickedSlide:function Vd(){const F=this;if(F.destroyed)return;const{params:v,slidesEl:g}=F,D="auto"===v.slidesPerView?F.slidesPerViewDynamic():v.slidesPerView;let le,G=F.getSlideIndexWhenGrid(F.clickedIndex);const Le=F.isElement?"swiper-slide":`.${v.slideClass}`,We=F.grid&&F.params.grid&&F.params.grid.rows>1;if(v.loop){if(F.animating)return;le=parseInt(F.clickedSlide.getAttribute("data-swiper-slide-index"),10),v.centeredSlides?F.slideToLoop(le):G>(We?(F.slides.length-D)/2-(F.params.grid.rows-1):F.slides.length-D)?(F.loopFix(),G=F.getSlideIndex((0,Dr.e)(g,`${Le}[data-swiper-slide-index="${le}"]`)[0]),(0,Dr.n)(()=>{F.slideTo(G)})):F.slideTo(G)}else F.slideTo(G)}},loop:{loopCreate:function Su(F,v){const g=this,{params:D,slidesEl:G}=g;if(!D.loop||g.virtual&&g.params.virtual.enabled)return;const le=()=>{(0,Dr.e)(G,`.${D.slideClass}, swiper-slide`).forEach((In,Un)=>{In.setAttribute("data-swiper-slide-index",Un)})},We=g.grid&&D.grid&&D.grid.rows>1;D.loopAddBlankSlides&&(D.slidesPerGroup>1||We)&&(()=>{const Mn=(0,Dr.e)(G,`.${D.slideBlankClass}`);Mn.forEach(In=>{In.remove()}),Mn.length>0&&(g.recalcSlides(),g.updateSlides())})();const ze=D.slidesPerGroup*(We?D.grid.rows:1),cn=We&&g.slides.length%D.grid.rows!==0,rn=Mn=>{for(let In=0;In<Mn;In+=1){const Un=g.isElement?(0,Dr.c)("swiper-slide",[D.slideBlankClass]):(0,Dr.c)("div",[D.slideClass,D.slideBlankClass]);g.slidesEl.append(Un)}};g.slides.length%ze!==0?(D.loopAddBlankSlides?(rn(ze-g.slides.length%ze),g.recalcSlides(),g.updateSlides()):(0,Dr.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
1not function properly. You need to add more slides (or make duplicates, or empty slides)"),le()):cn?(D.loopAddBlankSlides?(rn(D.grid.rows-g.slides.length%D.grid.rows),g.recalcSlides(),g.updateSlides()):(0,Dr.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),le()):le(),g.loopFix({slideRealIndex:F,direction:D.centeredSlides||D.slidesOffsetBefore||D.slidesOffsetAfter?void 0:"next",initial:v})},loopFix:function be({slideRealIndex:F,slideTo:v=!0,direction:g,setTranslate:D,activeSlideIndex:G,initial:le,byController:Le,byMousewheel:We}={}){const ze=this;if(!ze.params.loop)return;ze.emit("beforeLoopFix");const{slides:ht,allowSlidePrev:cn,allowSlideNext:rn,slidesEl:zn,params:Mn}=ze,{centeredSlides:In,slidesOffsetBefore:Un,slidesOffsetAfter:Cr,initialSlide:wr}=Mn,qn=In||!!Un||!!Cr;if(ze.allowSlidePrev=!0,ze.allowSlideNext=!0,ze.virtual&&Mn.virtual.enabled)return v&&(qn||0!==ze.snapIndex?qn&&ze.snapIndex<Mn.slidesPerView?ze.slideTo(ze.virtual.slides.length+ze.snapIndex,0,!1,!0):ze.snapIndex===ze.snapGrid.length-1&&ze.slideTo(ze.virtual.slidesBefore,0,!1,!0):ze.slideTo(ze.virtual.slides.length,0,!1,!0)),ze.allowSlidePrev=cn,ze.allowSlideNext=rn,void ze.emit("loopFix");let hr=Mn.slidesPerView;"auto"===hr?hr=ze.slidesPerViewDynamic():(hr=Math.ceil(parseFloat(Mn.slidesPerView,10)),qn&&hr%2==0&&(hr+=1));const Ir=Mn.slidesPerGroupAuto?hr:Mn.slidesPerGroup;let Vr=qn?Math.max(Ir,Math.ceil(hr/2)):Ir;Vr%Ir!==0&&(Vr+=Ir-Vr%Ir),Vr+=Mn.loopAdditionalSlides,ze.loopedSlides=Vr;const Xr=ze.grid&&Mn.grid&&Mn.grid.rows>1;ht.length<hr+Vr||"cards"===ze.params.effect&&ht.length<hr+2*Vr?(0,Dr.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Xr&&"row"===Mn.grid.fill&&(0,Dr.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const jr=[],ar=[],so=Xr?Math.ceil(ht.length/Mn.grid.rows):ht.length,Qr=le&&so-wr<hr&&!qn;let Nr=Qr?wr:ze.activeIndex;typeof G>"u"?G=ze.getSlideIndex(ht.find(br=>br.classList.contains(Mn.slideActiveClass))):Nr=G;const Qi="next"===g||!g,ys="prev"===g||!g;let Qo=0,qr=0;const Fr=(Xr?ht[G].column:G)+(qn&&typeof D>"u"?-hr/2+.5:0);if(Fr<Vr){Qo=Math.max(Vr-Fr,Ir);for(let br=0;br<Vr-Fr;br+=1){const ui=br-Math.floor(br/so)*so;if(Xr){const co=so-ui-1;for(let P=ht.length-1;P>=0;P-=1)ht[P].column===co&&jr.push(P)}else jr.push(so-ui-1)}}else if(Fr+hr>so-Vr){qr=Math.max(Fr-(so-2*Vr),Ir),Qr&&(qr=Math.max(qr,hr-so+wr+1));for(let br=0;br<qr;br+=1){const ui=br-Math.floor(br/so)*so;Xr?ht.forEach((co,P)=>{co.column===ui&&ar.push(P)}):ar.push(ui)}}if(ze.__preventObserver__=!0,requestAnimationFrame(()=>{ze.__preventObserver__=!1}),"cards"===ze.params.effect&&ht.length<hr+2*Vr&&(ar.includes(G)&&ar.splice(ar.indexOf(G),1),jr.includes(G)&&jr.splice(jr.indexOf(G),1)),ys&&jr.forEach(br=>{ht[br].swiperLoopMoveDOM=!0,zn.prepend(ht[br]),ht[br].swiperLoopMoveDOM=!1}),Qi&&ar.forEach(br=>{ht[br].swiperLoopMoveDOM=!0,zn.append(ht[br]),ht[br].swiperLoopMoveDOM=!1}),ze.recalcSlides(),"auto"===Mn.slidesPerView?ze.updateSlides():Xr&&(jr.length>0&&ys||ar.length>0&&Qi)&&ze.slides.forEach((br,ui)=>{ze.grid.updateSlide(ui,br,ze.slides)}),Mn.watchSlidesProgress&&ze.updateSlidesOffset(),v)if(jr.length>0&&ys)if(typeof F>"u"){const co=ze.slidesGrid[Nr+Qo]-ze.slidesGrid[Nr];We?ze.setTranslate(ze.translate-co):(ze.slideTo(Nr+Math.ceil(Qo),0,!1,!0),D&&(ze.touchEventsData.startTranslate=ze.touchEventsData.startTranslate-co,ze.touchEventsData.currentTranslate=ze.touchEventsData.currentTranslate-co))}else D&&(ze.slideTo(ze.activeIndex+(Xr?jr.length/Mn.grid.rows:jr.length),0,!1,!0),ze.touchEventsData.currentTranslate=ze.translate);else if(ar.length>0&&Qi)if(typeof F>"u"){const co=ze.slidesGrid[Nr-qr]-ze.slidesGrid[Nr];We?ze.setTranslate(ze.translate-co):(ze.slideTo(Nr-qr,0,!1,!0),D&&(ze.touchEventsData.startTranslate=ze.touchEventsData.startTranslate-co,ze.touchEventsData.currentTranslate=ze.touchEventsData.currentTranslate-co))}else ze.slideTo(ze.activeIndex-(Xr?ar.length/Mn.grid.rows:ar.length),0,!1,!0);if(ze.allowSlidePrev=cn,ze.allowSlideNext=rn,ze.controller&&ze.controller.control&&!Le){const br={slideRealIndex:F,direction:g,setTranslate:D,activeSlideIndex:G,byController:!0};Array.isArray(ze.controller.control)?ze.controller.control.forEach(ui=>{!ui.destroyed&&ui.params.loop&&ui.loopFix({...br,slideTo:ui.params.slidesPerView===Mn.slidesPerView&&v})}):ze.controller.control instanceof ze.constructor&&ze.controller.control.params.loop&&ze.controller.control.loopFix({...br,slideTo:ze.controller.control.params.slidesPerView===Mn.slidesPerView&&v})}ze.emit("loopFix")},loopDestroy:function Xe(){const F=this,{params:v,slidesEl:g}=F;if(!v.loop||!g||F.virtual&&F.params.virtual.enabled)return;F.recalcSlides();const D=[];
1F.slides.forEach(G=>{const le=typeof G.swiperSlideIndex>"u"?1*G.getAttribute("data-swiper-slide-index"):G.swiperSlideIndex;D[le]=G}),F.slides.forEach(G=>{G.removeAttribute("data-swiper-slide-index")}),D.forEach(G=>{g.append(G)}),F.recalcSlides(),F.slideTo(F.realIndex,0)}},grabCursor:{setGrabCursor:function Pn(F){const v=this;if(!v.params.simulateTouch||v.params.watchOverflow&&v.isLocked||v.params.cssMode)return;const g="container"===v.params.touchEventsTarget?v.el:v.wrapperEl;v.isElement&&(v.__preventObserver__=!0),g.style.cursor="move",g.style.cursor=F?"grabbing":"grab",v.isElement&&requestAnimationFrame(()=>{v.__preventObserver__=!1})},unsetGrabCursor:function tr(){const F=this;F.params.watchOverflow&&F.isLocked||F.params.cssMode||(F.isElement&&(F.__preventObserver__=!0),F["container"===F.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",F.isElement&&requestAnimationFrame(()=>{F.__preventObserver__=!1}))}},events:{attachEvents:function Em(){const F=this,{params:v}=F;F.onTouchStart=Hs.bind(F),F.onTouchMove=vs.bind(F),F.onTouchEnd=Vl.bind(F),F.onDocumentTouchStart=mp.bind(F),v.cssMode&&(F.onScroll=Xf.bind(F)),F.onClick=u1.bind(F),F.onLoad=pp.bind(F),gp(F,"on")},detachEvents:function _p(){gp(this,"off")}},breakpoints:{setBreakpoint:function Zc(){const F=this,{realIndex:v,initialized:g,params:D,el:G}=F,le=D.breakpoints;if(!le||le&&0===Object.keys(le).length)return;const Le=(0,Pi.g)(),We="window"!==D.breakpointsBase&&D.breakpointsBase?"container":D.breakpointsBase,ze=["window","container"].includes(D.breakpointsBase)||!D.breakpointsBase?F.el:Le.querySelector(D.breakpointsBase),ht=F.getBreakpoint(le,We,ze);if(!ht||F.currentBreakpoint===ht)return;const rn=(ht in le?le[ht]:void 0)||F.originalParams,zn=Tc(F,D),Mn=Tc(F,rn),In=F.params.grabCursor,Un=rn.grabCursor,Cr=D.enabled;zn&&!Mn?(G.classList.remove(`${D.containerModifierClass}grid`,`${D.containerModifierClass}grid-column`),F.emitContainerClasses()):!zn&&Mn&&(G.classList.add(`${D.containerModifierClass}grid`),(rn.grid.fill&&"column"===rn.grid.fill||!rn.grid.fill&&"column"===D.grid.fill)&&G.classList.add(`${D.containerModifierClass}grid-column`),F.emitContainerClasses()),In&&!Un?F.unsetGrabCursor():!In&&Un&&F.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(Xr=>{if(typeof rn[Xr]>"u")return;const jr=D[Xr]&&D[Xr].enabled,ar=rn[Xr]&&rn[Xr].enabled;jr&&!ar&&F[Xr].disable(),!jr&&ar&&F[Xr].enable()});const wr=rn.direction&&rn.direction!==D.direction,qn=D.loop&&(rn.slidesPerView!==D.slidesPerView||wr),hr=D.loop;wr&&g&&F.changeDirection(),(0,Dr.x)(F.params,rn);const Ir=F.params.enabled,Vr=F.params.loop;Object.assign(F,{allowTouchMove:F.params.allowTouchMove,allowSlideNext:F.params.allowSlideNext,allowSlidePrev:F.params.allowSlidePrev}),Cr&&!Ir?F.disable():!Cr&&Ir&&F.enable(),F.currentBreakpoint=ht,F.emit("_beforeBreakpoint",rn),g&&(qn?(F.loopDestroy(),F.loopCreate(v),F.updateSlides()):!hr&&Vr?(F.loopCreate(v),F.updateSlides()):hr&&!Vr&&F.loopDestroy()),F.emit("breakpoint",rn)},getBreakpoint:function Yf(F,v="window",g){if(!F||"container"===v&&!g)return;let D=!1;const G=(0,Pi.a)(),le="window"===v?G.innerHeight:g.clientHeight,Le=Object.keys(F).map(We=>{if("string"==typeof We&&0===We.indexOf("@")){const ze=parseFloat(We.substr(1));return{value:le*ze,point:We}}return{value:We,point:We}});Le.sort((We,ze)=>parseInt(We.value,10)-parseInt(ze.value,10));for(let We=0;We<Le.length;We+=1){const{point:ze,value:ht}=Le[We];"window"===v?G.matchMedia(`(min-width: ${ht}px)`).matches&&(D=ze):ht<=g.clientWidth&&(D=ze)}return D||"max"}},checkOverflow:{checkOverflow:function vp(){const F=this,{isLocked:v,params:g}=F,{slidesOffsetBefore:D}=g;if(D){const G=F.slides.length-1;F.isLocked=F.size>F.slidesGrid[G]+F.slidesSizesGrid[G]+2*D}else F.isLocked=1===F.snapGrid.length;!0===g.allowSlideNext&&(F.allowSlideNext=!F.isLocked),!0===g.allowSlidePrev&&(F.allowSlidePrev=!F.isLocked),v&&v!==F.isLocked&&(F.isEnd=!1),v!==F.isLocked&&F.emit(F.isLocked?"lock":"unlock")}},classes:{addClasses:function zd(){const F=this,{classNames:v,params:g,rtl:D,el:G,device:le}=F,Le=function Hd(F,v){const g=[];return F.forEach(D=>
1{"object"==typeof D?Object.keys(D).forEach(G=>{D[G]&&g.push(v+G)}):"string"==typeof D&&g.push(v+D)}),g}(["initialized",g.direction,{"free-mode":F.params.freeMode&&g.freeMode.enabled},{autoheight:g.autoHeight},{rtl:D},{grid:g.grid&&g.grid.rows>1},{"grid-column":g.grid&&g.grid.rows>1&&"column"===g.grid.fill},{android:le.android},{ios:le.ios},{"css-mode":g.cssMode},{centered:g.cssMode&&g.centeredSlides},{"watch-progress":g.watchSlidesProgress}],g.containerModifierClass);v.push(...Le),G.classList.add(...v),F.emitContainerClasses()},removeClasses:function $d(){const{el:v,classNames:g}=this;!v||"string"==typeof v||(v.classList.remove(...g),this.emitContainerClasses())}}},Pc={};class ia{constructor(...v){let g,D;1===v.length&&v[0].constructor&&"Object"===Object.prototype.toString.call(v[0]).slice(8,-1)?D=v[0]:[g,D]=v,D||(D={}),D=(0,Dr.x)({},D),g&&!D.el&&(D.el=g);const G=(0,Pi.g)();if(D.el&&"string"==typeof D.el&&G.querySelectorAll(D.el).length>1){const ze=[];return G.querySelectorAll(D.el).forEach(ht=>{const cn=(0,Dr.x)({},D,{el:ht});ze.push(new ia(cn))}),ze}const le=this;le.__swiper__=!0,le.support=us(),le.device=jo({userAgent:D.userAgent}),le.browser=Ms(),le.eventsListeners={},le.eventsAnyListeners=[],le.modules=[...le.__modules__],D.modules&&Array.isArray(D.modules)&&D.modules.forEach(ze=>{"function"==typeof ze&&le.modules.indexOf(ze)<0&&le.modules.push(ze)});const Le={};le.modules.forEach(ze=>{ze({params:D,swiper:le,extendParams:Zf(D,Le),on:le.on.bind(le),once:le.once.bind(le),off:le.off.bind(le),emit:le.emit.bind(le)})});const We=(0,Dr.x)({},ul,Le);return le.params=(0,Dr.x)({},We,Pc,D),le.originalParams=(0,Dr.x)({},le.params),le.passedParams=(0,Dr.x)({}
1,D),le.params&&le.params.on&&Object.keys(le.params.on).forEach(ze=>{le.on(ze,le.params.on[ze])}),le.params&&le.params.onAny&&le.onAny(le.params.onAny),Object.assign(le,{enabled:le.params.enabled,el:g,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===le.params.direction,isVertical:()=>"vertical"===le.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:le.params.allowSlideNext,allowSlidePrev:le.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:le.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:le.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),le.emit("_swiper"),le.params.init&&le.init(),le}getDirectionLabel(v){return this.isHorizontal()?v:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[v]}getSlideIndex(v){const{slidesEl:g,params:D}=this,G=(0,Dr.e)(g,`.${D.slideClass}, swiper-slide`),le=(0,Dr.j)(G[0]);return(0,Dr.j)(v)-le}getSlideIndexByData(v){return this.getSlideIndex(this.slides.find(g=>1*g.getAttribute("data-swiper-slide-index")===v))}getSlideIndexWhenGrid(v){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?v=Math.floor(v/this.params.grid.rows):"row"===this.params.grid.fill&&(v%=Math.ceil(this.slides.length/this.params.grid.rows))),v}recalcSlides(){const{slidesEl:g,params:D}=this;this.slides=(0,Dr.e)(g,`.${D.slideClass}, swiper-slide`)}enable(){const v=this;v.enabled||(v.enabled=!0,v.params.grabCursor&&v.setGrabCursor(),v.emit("enable"))}disable(){const v=this;v.enabled&&(v.enabled=!1,v.params.grabCursor&&v.unsetGrabCursor(),v.emit("disable"))}setProgress(v,g){const D=this;v=Math.min(Math.max(v,0),1);const G=D.minTranslate(),Le=(D.maxTranslate()-G)*v+G;D.translateTo(Le,typeof g>"u"?0:g),D.updateActiveIndex(),D.updateSlidesClasses()}emitContainerClasses(){const v=this;if(!v.params._emitClasses||!v.el)return;const g=v.el.className.split(" ").filter(D=>0===D.indexOf("swiper")||0===D.indexOf(v.params.containerModifierClass));v.emit("_containerClasses",g.join(" "))}getSlideClasses(v){const g=this;return g.destroyed?"":v.className.split(" ").filter(D=>0===D.indexOf("swiper-slide")||0===D.indexOf(g.params.slideClass)).join(" ")}emitSlidesClasses(){const v=this;if(!v.params._emitClasses||!v.el)return;const g=[];v.slides.forEach(D=>{const G=v.getSlideClasses(D);g.push({slideEl:D,classNames:G}),v.emit("_slideClass",D,G)}),v.emit("_slideClasses",g)}slidesPerViewDynamic(v="current",g=!1){const{params:G,slides:le,slidesGrid:Le,slidesSizesGrid:We,size:ze,activeIndex:ht}=this;let cn=1;if("number"==typeof G.slidesPerView)return G.slidesPerView;if(G.centeredSlides){let zn,rn=le[ht]?Math.ceil(le[ht].swiperSlideSize):0;for(let Mn=ht+1;Mn<le.length;Mn+=1)le[Mn]&&!zn&&(rn+=Math.ceil(le[Mn].swiperSlideSize),cn+=1,rn>ze&&(zn=!0));for(let Mn=ht-1;Mn>=0;Mn-=1)le[Mn]&&!zn&&(rn+=le[Mn].swiperSlideSize,cn+=1,rn>ze&&(zn=!0))}else if("current"===v)for(let rn=ht+1;rn<le.length;rn+=1)(g?Le[rn]+We[rn]-Le[ht]<ze:Le[rn]-Le[ht]<ze)&&(cn+=1);else for(let rn=ht-1;rn>=0;rn-=1)Le[ht]-Le[rn]<ze&&(cn+=1);return cn}update(){const v=this;if(!v||v.destroyed)return;const{snapGrid:g,params:D}=v;function G(){const We=Math.min(Math.max(v.rtlTranslate?-1*v.translate:v.translate,v.maxTranslate()),v.minTranslate());v.setTranslate(We),v.updateActiveIndex(),v.updateSlidesClasses()}let le;D.breakpoints&&v.setBreakpoint(),[...v.el.querySelectorAll('[loading="lazy"]')].forEach(Le=>{Le.complete&&rr(v,Le)}
1),v.updateSize(),v.updateSlides(),v.updateProgress(),v.updateSlidesClasses(),D.freeMode&&D.freeMode.enabled&&!D.cssMode?(G(),D.autoHeight&&v.updateAutoHeight()):(le=v.slideTo(("auto"===D.slidesPerView||D.slidesPerView>1)&&v.isEnd&&!D.centeredSlides?(v.virtual&&D.virtual.enabled?v.virtual.slides:v.slides).length-1:v.activeIndex,0,!1,!0),le||G()),D.watchOverflow&&g!==v.snapGrid&&v.checkOverflow(),v.emit("update")}changeDirection(v,g=!0){const D=this,G=D.params.direction;return v||(v="horizontal"===G?"vertical":"horizontal"),v===G||"horizontal"!==v&&"vertical"!==v||(D.el.classList.remove(`${D.params.containerModifierClass}${G}`),D.el.classList.add(`${D.params.containerModifierClass}${v}`),D.emitContainerClasses(),D.params.direction=v,D.slides.forEach(le=>{"vertical"===v?le.style.width="":le.style.height=""}),D.emit("changeDirection"),g&&D.update()),D}changeLanguageDirection(v){const g=this;g.rtl&&"rtl"===v||!g.rtl&&"ltr"===v||(g.rtl="rtl"===v,g.rtlTranslate="horizontal"===g.params.direction&&g.rtl,g.rtl?(g.el.classList.add(`${g.params.containerModifierClass}rtl`),g.el.dir="rtl"):(g.el.classList.remove(`${g.params.containerModifierClass}rtl`),g.el.dir="ltr"),g.update())}mount(v){const g=this;if(g.mounted)return!0;let D=v||g.params.el;if("string"==typeof D&&(D=document.querySelector(D)),!D)return!1;D.swiper=g,D.parentNode&&D.parentNode.host&&D.parentNode.host.nodeName===g.params.swiperElementNodeName.toUpperCase()&&(g.isElement=!0);const G=()=>`.${(g.params.wrapperClass||"").trim().split(" ").join(".")}`;let Le=D&&D.shadowRoot&&D.shadowRoot.querySelector?D.shadowRoot.querySelector(G()):(0,Dr.e)(D,G())[0];return!Le&&g.params.createElements&&(Le=(0,Dr.c)("div",g.params.wrapperClass),D.append(Le),(0,Dr.e)(D,`.${g.params.slideClass}`).forEach(We=>{Le.append(We)})),Object.assign(g,{el:D,wrapperEl:Le,slidesEl:g.isElement&&!D.parentNode.host.slideSlots?D.parentNode.host:Le,hostEl:g.isElement?D.parentNode.host:D,mounted:!0,rtl:"rtl"===D.dir.toLowerCase()||"rtl"===(0,Dr.q)(D,"direction"),rtlTranslate:"horizontal"===g.params.direction&&("rtl"===D.dir.toLowerCase()||"rtl"===(0,Dr.q)(D,"direction")),wrongRTL:"-webkit-box"===(0,Dr.q)(Le,"display")}),!0}init(v){const g=this;if(g.initialized||!1===g.mount(v))return g;g.emit("beforeInit"),g.params.breakpoints&&g.setBreakpoint(),g.addClasses(),g.updateSize(),g.updateSlides(),g.params.watchOverflow&&g.checkOverflow(),g.params.grabCursor&&g.enabled&&g.setGrabCursor(),g.slideTo(g.params.loop&&g.virtual&&g.params.virtual.enabled?g.params.initialSlide+g.virtual.slidesBefore:g.params.initialSlide,0,g.params.runCallbacksOnInit,!1,!0),g.params.loop&&g.loopCreate(void 0,!0),g.attachEvents();const G=[...g.el.querySelectorAll('[loading="lazy"]')];return g.isElement&&G.push(...g.hostEl.querySelectorAll('[loading="lazy"]')),G.forEach(le=>{le.complete?rr(g,le):le.addEventListener("load",Le=>{rr(g,Le.target)})}),vr(g),g.initialized=!0,vr(g),g.emit("init"),g.emit("afterInit"),g}destroy(v=!0,g=!0){const D=this,{params:G,el:le,wrapperEl:Le,slides:We}=D;return typeof D.params>"u"||D.destroyed||(D.emit("beforeDestroy"),D.initialized=!1,D.detachEvents(),G.loop&&D.loopDestroy(),g&&(D.removeClasses(),le&&"string"!=typeof le&&le.removeAttribute("style"),Le&&Le.removeAttribute("style"),We&&We.length&&We.forEach(ze=>{ze.classList.remove(G.slideVisibleClass,G.slideFullyVisibleClass,G.slideActiveClass,G.slideNextClass,G.slidePrevClass),ze.removeAttribute("style"),ze.removeAttribute("data-swiper-slide-index")})),D.emit("destroy"),Object.keys(D.eventsListeners).forEach(ze=>{D.off(ze)}),!1!==v&&(D.el&&"string"!=typeof D.el&&(D.el.swiper=null),(0,Dr.y)(D)),D.destroyed=!0),null}static extendDefaults(v){(0,Dr.x)(Pc,v)}static get extendedDefaults(){return Pc}static get defaults(){return ul}static installModule(v){ia.prototype.__modules__||(ia.prototype.__modules__=[]);const g=ia.prototype.__modules__;"function"==typeof v&&g.indexOf(v)<0&&g.push(v)}static use(v){return Array.isArray(v)?(v.forEach(g=>ia.installModule(g)),ia):(ia.installModule(v),ia)}}Object.keys(Jc).forEach(F=>{Object.keys(Jc[F]).forEach(v=>{ia.prototype[v]=Jc[F][v]})}),ia.use([function Co({swiper:F,on:v,emit:g}){const D=(0,Pi.a)();let G=null,le=null;const Le=()=>{!F||F.destroyed||!F.initialized||(g("beforeResize"),g("resize"))},ht=()=>{!F||F.destroyed||!F.initialized||g("orientationchange")};v("init",()=>{F.params.resizeObserver&&typeof D.ResizeObserver<"u"?!F||F.destroyed||!F.initialized||(G=new ResizeObserver(cn=>
1{le=D.requestAnimationFrame(()=>{const{width:rn,height:zn}=F;let Mn=rn,In=zn;cn.forEach(({contentBoxSize:Un,contentRect:Cr,target:wr})=>{wr&&wr!==F.el||(Mn=Cr?Cr.width:(Un[0]||Un).inlineSize,In=Cr?Cr.height:(Un[0]||Un).blockSize)}),(Mn!==rn||In!==zn)&&Le()})}),G.observe(F.el)):(D.addEventListener("resize",Le),D.addEventListener("orientationchange",ht))}),v("destroy",()=>{le&&D.cancelAnimationFrame(le),G&&G.unobserve&&F.el&&(G.unobserve(F.el),G=null),D.removeEventListener("resize",Le),D.removeEventListener("orientationchange",ht)})},function Gs({swiper:F,extendParams:v,on:g,emit:D}){const G=[],le=(0,Pi.a)(),Le=(ht,cn={})=>{const zn=new(le.MutationObserver||le.WebkitMutationObserver)(Mn=>{if(F.__preventObserver__)return;if(1===Mn.length)return void D("observerUpdate",Mn[0]);const In=function(){D("observerUpdate",Mn[0])};le.requestAnimationFrame?le.requestAnimationFrame(In):le.setTimeout(In,0)});zn.observe(ht,{attributes:typeof cn.attributes>"u"||cn.attributes,childList:F.isElement||(typeof cn.childList>"u"||cn).childList,characterData:typeof cn.characterData>"u"||cn.characterData}),G.push(zn)};v({observer:!1,observeParents:!1,observeSlideChildren:!1}),g("init",()=>{if(F.params.observer){if(F.params.observeParents){const ht=(0,Dr.d)(F.hostEl);for(let cn=0;cn<ht.length;cn+=1)Le(ht[cn])}Le(F.hostEl,{childList:F.params.observeSlideChildren}),Le(F.wrapperEl,{attributes:!1})}}),g("destroy",()=>{G.forEach(ht=>{ht.disconnect()}),G.splice(0,G.length)})}]);var yp=d(77149),Qf=d(91523),Jf=d(28158),Ou=d(70342),Eo=d(41792),rc=d(29514),Ii=d(60401),Iu=d(67341),Cl=d(61656),qc=d(24700),Tu=d(64832),El=d(93099),jl=d(69247),Ac=d(42007),Ai=d(91398),eu=d(57603),Pu=d(53870),Au=d(53015),Xl=d(54929),el=d(18305),Yl=d(97443),Zo=d(78033);ia.use([yp.A,Qf.A,Jf.A,Ou.A,Eo.A,rc.A,Ii.A,Iu.A,Cl.A,qc.A,Tu.A,El.A,jl.A,Ac.A,Ai.A,function La({swiper:F,extendParams:v,on:g}){let D,G,le,Le;v({grid:{rows:1,fill:"column"}});const We=()=>{let In=F.params.spaceBetween;return"string"==typeof In&&In.indexOf("%")>=0?In=parseFloat(In.replace("%",""))/100*F.size:"string"==typeof In&&(In=parseFloat(In)),In};g("init",()=>{Le=F.params.grid&&F.params.grid.rows>1}),g("update",()=>{const{params:In,el:Un}=F,Cr=In.grid&&In.grid.rows>1;Le&&!Cr?(Un.classList.remove(`${In.containerModifierClass}grid`,`${In.containerModifierClass}grid-column`),le=1,F.emitContainerClasses()):!Le&&Cr&&(Un.classList.add(`${In.containerModifierClass}grid`),"column"===In.grid.fill&&Un.classList.add(`${In.containerModifierClass}grid-column`),F.emitContainerClasses()),Le=Cr}),F.grid={initSlides:In=>{const{slidesPerView:Un}=F.params,{rows:Cr,fill:wr}=F.params.grid,qn=F.virtual&&F.params.virtual.enabled?F.virtual.slides.length:In.length;le=Math.floor(qn/Cr),D=Math.floor(qn/Cr)===qn/Cr?qn:Math.ceil(qn/Cr)*Cr,"auto"!==Un&&"row"===wr&&(D=Math.max(D,Math.floor(Un)*Cr)),G=D/Cr},unsetSlides:()=>{F.slides&&F.slides.forEach(In=>{In.swiperSlideGridSet&&(In.style.height="",In.style[F.getDirectionLabel("margin-top")]="")})},updateSlide:(In,Un,Cr)=>{const{slidesPerGroup:wr}=F.params,qn=We(),{rows:hr,fill:Ir}=F.params.grid,Vr=F.virtual&&F.params.virtual.enabled?F.virtual.slides.length:Cr.length;let Xr,jr,ar;if("row"===Ir&&wr>1){const so=Math.floor(In/(wr*hr)),Qr=In-hr*wr*so,Nr=0===so?wr:Math.min(Math.ceil((Vr-so*hr*wr)/hr),wr);ar=Math.floor(Qr/Nr),jr=Qr-ar*Nr+so*wr,Xr=jr+ar*D/hr,Un.style.order=Xr}else"column"===Ir?(jr=Math.floor(In/hr),ar=In-jr*hr,(jr>le||jr===le&&ar===hr-1)&&(ar+=1,ar>=hr&&(ar=0,jr+=1))):(ar=Math.floor(In/G),jr=In-ar*G);Un.row=ar,Un.column=jr,Un.style.height=`calc((100% - ${(hr-1)*qn}px) / ${hr})`,Un.style[F.getDirectionLabel("margin-top")]=0!==ar?qn&&`${qn}px`:"",Un.swiperSlideGridSet=!0},updateWrapperSize:(In,Un)=>{const{centeredSlides:Cr,roundLengths:wr}=F.params,qn=We(),{rows:hr}=F.params.grid;if(F.virtualSize=(In+qn)*D,F.virtualSize=Math.ceil(F.virtualSize/hr)-qn,F.params.cssMode||(F.wrapperEl.style[F.getDirectionLabel("width")]=`${F.virtualSize+qn}px`),Cr){const Ir=[];for(let Vr=0;Vr<Un.length;Vr+=1){let Xr=Un[Vr];wr&&(Xr=Math.floor(Xr)),Un[Vr]<F.virtualSize+Un[0]&&Ir.push(Xr)}Un.splice(0,Un.length),Un.push(...Ir)}}}},eu.A,Pu.A,Au.A,Xl.A,el.A,Yl.A,Zo.A]);const dl=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesB
1ounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ru(F){return"object"==typeof F&&null!==F&&F.constructor&&"Object"===Object.prototype.toString.call(F).slice(8,-1)&&!F.__swiper__}function qf(F,v){const g=["__proto__","constructor","prototype"];Object.keys(v).filter(D=>g.indexOf(D)<0).forEach(D=>{typeof F[D]>"u"?F[D]=v[D]:Ru(v[D])&&Ru(F[D])&&Object.keys(v[D]).length>0?v[D].__swiper__?F[D]=v[D]:qf(F[D],v[D]):F[D]=v[D]})}function mc(F=""){return F.replace(/-[a-z]/g,v=>v.toUpperCase().replace("-",""))}const Kd=F=>{if(parseFloat(F)===Number(F))return Number(F);if("true"===F||""===F)return!0;if("false"===F)return!1;if("null"===F)return null;if("undefined"!==F){if("string"==typeof F&&F.includes("{")&&F.includes("}")&&F.includes('"')){let v;try{v=JSON.parse(F)}catch{v=F}return v}return F}},Gd=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function Xd(F,v,g){const D={},G={};qf(D,ul);const le=[...dl,"on"],Le=le.map(ze=>ze.replace(/_/,""));le.forEach(ze=>{ze=ze.replace("_",""),typeof F[ze]<"u"&&(G[ze]=F[ze])});const We=[...F.attributes];return"string"==typeof v&&typeof g<"u"&&We.push({name:v,value:Ru(g)?{...g}:g}),We.forEach(ze=>{const ht=Gd.find(cn=>ze.name.startsWith(`${cn}-`));if(ht){const cn=mc(ht),rn=mc(ze.name.split(`${ht}-`)[1]);typeof G[cn]>"u"&&(G[cn]={}),!0===G[cn]&&(G[cn]={enabled:!0}),!1===G[cn]&&(G[cn]={enabled:!1}),G[cn][rn]=Kd(ze.value)}else{const cn=mc(ze.name);if(!Le.includes(cn))return;const rn=Kd(ze.value);G[cn]&&Gd.includes(ze.name)&&!Ru(rn)?(G[cn].constructor!==Object&&(G[cn]={}),G[cn].enabled=!!rn):G[cn]=rn}}),qf(D,G),D.navigation?D.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==D.navigation?D.navigation:{}}:!1===D.navigation&&delete D.navigation,D.scrollbar?D.scrollbar={el:".swiper-scrollbar",...!0!==D.scrollbar?D.scrollbar:{}}:!1===D.scrollbar&&delete D.scrollbar,D.pagination?D.pagination={el:".swiper-pagination",...!0!==D.pagination?D.pagination:{}}:!1===D.pagination&&delete D.pagination,{params:D,passedParams:G}}const Yd='
vendor: 8,129 bytes, line 1
1:host{--swiper-theme-color:#007aff}:host{display:block;margin-left:auto;margin-right:auto;position:relative;z-index:1}.swiper{display:block;height:100%;list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:100%;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);width:100%;z-index:1}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){display:block;flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):last-child{margin-inline-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):last-child{margin-block-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;position:absolute;width:var(--swiper-navigation-size);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next ::slotted(svg),.swiper-button-next svg,.swiper-button-prev ::slotted(svg),.swiper-button-prev svg{height:100%;object-fit:contain;transform-origin:center;width:100%;fill:currentColor;pointer-events:none}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-button-prev .swiper-navigation-icon,.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-next,.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-horizontal .swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-horizontal .swiper-button-next,.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev,.swiper-horizontal~.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl .swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-horizontal.swiper-rtl .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(0deg)}.swiper-vertical .swiper-button-next,.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-next,.swiper-vertical~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}.swiper-vertical .swiper-button-prev .swiper-navigation-icon,.swiper-vertical .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-prev .swiper-navigation-icon,.swiper-vertical~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}.swiper-vertical .swiper-button-next .swiper-navigation-icon,.swiper-vertical .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-next .swiper-navigation-icon,.swiper-vertical~.swiper-button-next ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
vendor: 8,571 bytes, line 1
1.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:var(--swiper-pagination-progressbar-size,4px)}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);position:absolute;top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);left:var(--swiper-scrollbar-left,auto);position:absolute;right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50}.swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}',
1Lu=typeof window>"u"||typeof HTMLElement>"u"?class eh{}:HTMLElement,nu=(F,v)=>{if(typeof CSSStyleSheet<"u"&&F.adoptedStyleSheets){const g=new CSSStyleSheet;g.replaceSync(v),F.adoptedStyleSheets=[g]}else{const g=document.createElement("style");g.rel="stylesheet",g.textContent=v,F.appendChild(g)}};class gc extends Lu{constructor(){super(),this.attachShadow({mode:"open"})}cssStyles(){return[Yd,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const v=this.slideSlots||0,g=[...this.querySelectorAll("[slot^=slide-]")].map(D=>parseInt(D.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=g.length?Math.max(...g)+1:0,this.rendered)if(this.slideSlots>v)for(let D=v;D<this.slideSlots;D+=1){const G=document.createElement("swiper-slide");G.setAttribute("part",`slide slide-${D+1}`);const le=document.createElement("slot");le.setAttribute("name",`slide-${D+1}`),G.appendChild(le),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(G)}else if(this.slideSlots<v){const D=this.swiper.slides;for(let G=D.length-1;G>=0;G-=1)G>this.slideSlots&&D[G].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let v=this.cssStyles();this.slideSlots>0&&(v=v.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),v.length&&nu(this.shadowRoot,v),this.cssLinks().forEach(D=>{if(this.shadowRoot.querySelector(`link[href="${D}"]`))return;const le=document.createElement("link");le.rel="stylesheet",le.href=D,this.shadowRoot.appendChild(le)});const g=document.createElement("div");g.classList.add("swiper"),g.part="container",(0,Dr.s)(g,`\n      <slot name="container-start"></slot>\n      <div class="swiper-wrapper" part="wrapper">\n        <slot></slot>\n        ${Array.from({length:this.slideSlots}).map((D,G)=>`\n        <swiper-slide part="slide slide-${G}">\n          <slot name="slide-${G}"></slot>
1\n        </swiper-slide>\n        `).join("")}\n      </div>\n      <slot name="container-end"></slot>\n      ${function tu(F={}){return F.navigation&&typeof F.navigation.nextEl>"u"&&typeof F.navigation.prevEl>"u"}(this.passedParams)?'\n        <div part="button-prev" class="swiper-button-prev"><slot name="button-prev"></slot></div>\n        <div part="button-next" class="swiper-button-next"><slot name="button-next"></slot></div>\n      ':""}\n      ${function Wd(F={}){return F.pagination&&typeof F.pagination.el>"u"}(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':""}\n      ${function wm(F={}){return F.scrollbar&&typeof F.scrollbar.el>"u"}(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':""}\n    `),this.shadowRoot.appendChild(g),this.rendered=!0}initialize(){if(this.swiper&&this.swiper.initialized)return;const{params:v,passedParams:g}=Xd(this);this.swiperParams=v,this.passedParams=g,delete this.swiperParams.init,this.render(),this.swiper=new ia(this.shadowRoot.querySelector(".swiper"),{...v.virtual?{}:{observer:!0},...v,touchEventsTarget:"container",onAny:(D,...G)=>{"observerUpdate"===D&&this.calcSlideSlots();const le=v.eventsPrefix?`${v.eventsPrefix}${D.toLowerCase()}`:D.toLowerCase(),Le=new CustomEvent(le,{detail:G,bubbles:"hashChange"!==D,cancelable:!0});this.dispatchEvent(Le)}})}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1===this.init||"false"===this.getAttribute("init")||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(v,g){const{params:D,passedParams:G}=Xd(this,v,g);this.passedParams=G,this.swiperParams=D,(!this.swiper||this.swiper.params[v]!==g)&&function Cp({swiper:F,slides:v,passedParams:g,changedParams:D,nextEl:G,prevEl:le,scrollbarEl:Le,paginationEl:We}){const ze=D.filter(ar=>"children"!==ar&&"direction"!==ar&&"wrapperClass"!==ar),{params:ht,pagination:cn,navigation:rn,scrollbar:zn,virtual:Mn,thumbs:In}=F;let Un,Cr,wr,qn,hr,Ir,Vr,Xr;D.includes("thumbs")&&g.thumbs&&g.thumbs.swiper&&!g.thumbs.swiper.destroyed&&ht.thumbs&&(!ht.thumbs.swiper||ht.thumbs.swiper.destroyed)&&(Un=!0),D.includes("controller")&&g.controller&&g.controller.control&&ht.controller&&!ht.controller.control&&(Cr=!0),D.includes("pagination")&&g.pagination&&(g.pagination.el||We)&&(ht.pagination||!1===ht.pagination)&&cn&&!cn.el&&(wr=!0),D.includes("scrollbar")&&g.scrollbar&&(g.scrollbar.el||Le)&&(ht.scrollbar||!1===ht.scrollbar)&&zn&&!zn.el&&(qn=!0),D.includes("navigation")&&g.navigation&&(g.navigation.prevEl||le)&&(g.navigation.nextEl||G)&&(ht.navigation||!1===ht.navigation)&&rn&&!rn.prevEl&&!rn.nextEl&&(hr=!0);const jr=ar=>{F[ar]&&(F[ar].destroy(),"navigation"===ar?(F.isElement&&(F[ar].prevEl.remove(),F[ar].nextEl.remove()),ht[ar].prevEl=void 0,ht[ar].nextEl=void 0,F[ar].prevEl=void 0,F[ar].nextEl=void 0):(F.isElement&&F[ar].el.remove(),ht[ar].el=void 0,F[ar].el=void 0))};D.includes("loop")&&F.isElement&&(ht.loop&&!g.loop?Ir=!0:!ht.loop&&g.loop?Vr=!0:Xr=!0),ze.forEach(ar=>{if(Ru(ht[ar])&&Ru(g[ar]))Object.assign(ht[ar],g[ar]),("navigation"===ar||"pagination"===ar||"scrollbar"===ar)&&"enabled"in g[ar]&&!g[ar].enabled&&jr(ar);else{const so=g[ar];!0!==so&&!1!==so||"navigation"!==ar&&"pagination"!==ar&&"scrollbar"!==ar?ht[ar]=g[ar]:!1===so&&jr(ar)}}),ze.includes("controller")&&!Cr&&F.controller&&F.controller.control&&ht.controller&&ht.controller.control&&(F.controller.control=ht.controller.control),D.includes("children")&&v&&Mn&&ht.virtual.enabled?(Mn.slides=v,Mn.update(!0)):D.includes("virtual")&&Mn&&ht.virtual.enabled&&(v&&(Mn.slides=v),Mn.update(!0)),D.includes("children")&&v&&ht.loop&&(Xr=!0),Un&&In.init()&&In.update(!0),Cr&&(F.controller.control=ht.controller.control),wr&&(F.isElement&&(!We||"string"==typeof We)&&((We=document.createElement("div")).classList.add("swiper-pagination"),We.part.add("pagination"),F.el.appendChild(We)),We&&(ht.pagination.el=We),
1cn.init(),cn.render(),cn.update()),qn&&(F.isElement&&(!Le||"string"==typeof Le)&&((Le=document.createElement("div")).classList.add("swiper-scrollbar"),Le.part.add("scrollbar"),F.el.appendChild(Le)),Le&&(ht.scrollbar.el=Le),zn.init(),zn.updateSize(),zn.setTranslate()),hr&&(F.isElement&&((!G||"string"==typeof G)&&((G=document.createElement("div")).classList.add("swiper-button-next"),(0,Dr.s)(G,F.navigation.arrowSvg),G.part.add("button-next"),F.el.appendChild(G)),(!le||"string"==typeof le)&&((le=document.createElement("div")).classList.add("swiper-button-prev"),(0,Dr.s)(le,F.navigation.arrowSvg),le.part.add("button-prev"),F.el.appendChild(le))),G&&(ht.navigation.nextEl=G),le&&(ht.navigation.prevEl=le),rn.init(),rn.update()),D.includes("allowSlideNext")&&(F.allowSlideNext=g.allowSlideNext),D.includes("allowSlidePrev")&&(F.allowSlidePrev=g.allowSlidePrev),D.includes("direction")&&F.changeDirection(g.direction,!1),(Ir||Xr)&&F.loopDestroy(),(Vr||Xr)&&F.loopCreate(),F.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[mc(v)],..."navigation"===v&&G[v]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===v&&G[v]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===v&&G[v]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(v,g,D){this.swiper&&this.swiper.initialized&&("true"===g&&null===D&&(D=!1),this.updateSwiperOnPropChange(v,D))}static get observedAttributes(){return dl.filter(g=>g.includes("_")).map(g=>g.replace(/[A-Z]/g,D=>`-${D}`).replace("_","").toLowerCase())}}dl.forEach(F=>{"init"!==F&&(F=F.replace("_",""),Object.defineProperty(gc.prototype,F,{configurable:!0,get(){return(this.passedParams||{})[F]},set(v){this.passedParams||(this.passedParams={}),this.passedParams[F]=v,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(F,v)}}))});typeof window<"u"&&(window.SwiperElementRegisterParams=F=>{dl.push(...F)});var Ep=d(40101),ic=d(49030),ns=d(70834),th=d(38132),_c=d(96550),Nu=d(6744),Wo=d(12257),Zd=d(3282),Rc=d(983),Ml=d(96354),Hl=d(31397),fl=d(25558),hl=d(99437),nh=d(61945),kc=d(79629),oc=d(96697),sc=d(88141),No=d(12429),ga=d(67809),_a=d(92549),Lc=d(29185),ru=d(80633),pl=d(46547),iu=d(7673),cd=d(60522),vc=d(85928),tl=d(70309),xl=d(78124),ud=d(30509),wp=d(19792),ih=d(44333),Qd=d(5558),Jd=d(57805),oh=d(89922),yc=d(79163),qd=d(75072);const ou=[{id:"home-community",name:"Home",type:Qd.g.STANDALONE_COMMUNITY,order:1,path:"overview",isHome:!0,enabled:!0,visible:!0,json:{},seo:{}}],Mp=[{id:"home-community",name:"Home",type:Qd.g.STANDALONE_COMMUNITY,order:1,path:"overview",isHome:!0,enabled:!0,visible:!0,json:ih.X,seo:{}}];var tf=d(12274),sh=d(33030);let zl=(()=>{class F{constructor(g,D,G,le,Le,We){this.pageService=g,this.siteService=D,this.idp=G,this.localStorage=le,this.sessionStorage=Le,this.communityService=We}handleSiteRedirection(g,D){const G=this.idp.isAuthenticated();if(G||g.redirection!==tl.t.SignIn||D!==cd._R){if(G&&(g.redirection===tl.t.SignIn||g.redirection===tl.t.FsCommunity)&&this.sessionStorage.getItem(ga.mf)&&(this.sessionStorage.removeItem(ga.mf),this.sessionStorage.setItem(ga.bE,"true"),this.sessionStorage.setItem(vc.X,"true"),window.location.reload()),!G&&g.redirection===tl.t.SignIn){const le=window.location.pathname+window.location.hash;return void("3"===g.community?.initiativeTier?this.idp.login(le,g.community.id,g.community.id):this.idp.login(le,null,null))}if(g.redirection===tl.t.NoAccess){const le=!!g.pages.find(ze=>ze.path===D),Le=!!wp.Zk.find(ze=>ze===D);return void(le||Le||sessionStorage.setItem(ga.FS,"true"))}}}handleStandaloneCommunity(g,D){const G=!!this.sessionStorage.getItem(ga.bE)&&g.permissions.isManager;if(g.redirection!==tl.t.FsCommunity&&!G)return(0,iu.of)(g);const le=this.idp.isAuthenticated(),Le=g.permissions.isCoreMember||g.permissions.isConstituent||g.permissions.isManager||g.permissions.isOperationalContact;return this.communityService.setupFollowerState(g),this.communityService.getStandaloneCommunityDetails(g.community.id,le,!!Le,"",!0).pipe((0,Ml.T)(We=>{const ze=((F,v)=>({globalNavigation:!0,name:F,path:v,theme:Jd.P.FORUM_LIGHT,logo:"",template:"",policyUrl:"",ui:{footer:{background:{color:qd.L.DARK,image:null,video:null},layout:yc.G.COPYRIGHT_RIGHT_DARK},header:{background:{color:qd.L.BACKGROUND,image:null,video:null}},favicon:null,socialImage:null,pageNotFoundTemplate:{widgets:[{componentKey:oh.u.PAGE_NOT_FOUND,data:{title:"<h4>This page was not found or you don\u2019t have access to it.</h1>",description:"",errorCode:"404",backButtonTxt:"Go Back",homeButtonTxt:"Go Home",backButtonUrl:"#",homeButtonUrl:"#",backButtonStyle:["btn","btn-primary","mat-flat-button"],homeButtonStyle:["btn","btn-secondary","mat-flat-button"],openLinkInNewTab:!1}},{componentKey:oh.u.FOOTER,background:{color:qd.L.DARK,image:null,video:null}}]}},socials:[]}))(g.community.name,D);return le&&Le?{...g,pages:Mp,...ze,isCommunityDetails:!0,id:g.community.id,nonCommunitySiteId:g.id}:{...g,pages:ou,...ze,isCommunityDetails:!0,id:g.community.id,nonCommunitySiteId:g.id}}))}handlePageRequiredWithLogin(g,D,G,le=!1){const Le=!!g.pages.find(zn=>zn.path===G),We=!!ud.V.find(zn=>zn===G),ze=this.idp.isAuthenticated(),ht=!!this.sessionStorage.getItem(ga.r3),cn=!!this.sessionStorage.getItem(ga.zZ),rn=!!G&&"/"!==G;return le&&ht?(this.sessionStorage.removeItem(ga.r3),this.sessionStorage.setItem(vc.X,"true"),(0,iu.of)(g)):We||cn||!rn||le||g.isCommunityDetails?(this.sessionStorage.removeItem(ga.zZ),(0,iu.of)(g)):Le?(0,iu.of)(g):this.siteService.getPagePermission(D,G).pipe((0,Ml.T)(zn=>(zn===cr.kG.Unauthorized&&ze&&this.sessionStorage.setItem(ga.FS,"true"),zn===cr.kG.Unauthorized&&!ze&&(this.sessionStorage.setItem(ga.Qz,"true"),this.sessionStorage.setItem(ga.zT,window.location.href),this.sessionStorage.setItem(vc.X,"true")),g)))}markSiteToHideContent(g){return g.redirection===tl.t.SignIn?{...g,hidden:!0}:g}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(tf.b),E.KVO(Lc.T),E.KVO(vc.J),E.KVO(xl.i),E.KVO(xl.h1),E.KVO(sh.O))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})();var xp=d(85217),Sp=d(13839);let Fc=(()=>{class F{constructor(g,D,G,le,Le,We,ze,ht){this.siteService=g,this.router=D,this.designSettingsService=G,this.weglotTranslationService=le,this.idp=Le,this.pageRequiredLogin=We,this.storageService=ze,this.accountActivationService=ht}resolve(g){const D=(0,_a.R_)(),G=!this.idp.isAuthenticated(),le=sessionStorage.getItem(ga.mf),Le=!G&&le===D;
1return this.siteService.getSiteByUrl(D,G,Le).pipe((0,oc.s)(1),(0,sc.M)(We=>{this.accountActivationService.handleMembershipActivationFlow(D,We.redirection,this.idp.isAuthenticated())}),(0,sc.M)(We=>this.pageRequiredLogin.handleSiteRedirection(We,(0,_a.J6)())),(0,sc.M)(We=>{this.siteService.permissions$.next({authenticatedSpace:We.permissions.authenticatedSpace,isCoreMember:We.permissions.isCoreMember,initiativeMemberSpace:We.permissions.initiativeMemberSpace,isOperationalContact:We.permissions.isOperationalContact}),this.siteService.site$.next(We),this.designSettingsService.applyThemeSettings(We),this.weglotTranslationService.initialize(We.community.translationAPIKey||"")}),(0,fl.n)(We=>this.pageRequiredLogin.handlePageRequiredWithLogin(We,(0,_a.R_)(),(0,_a.J6)(),Le)),(0,Ml.T)(We=>this.pageRequiredLogin.markSiteToHideContent(We)),(0,hl.W)(We=>(this.storageService.getLocalStorageItem(No.Z.INVITATION_MEMBERSHIP_TOKEN)&&(this.storageService.setLocalStorageItem(No.Z.ORIGIN_URL,D),this.storageService.setLocalStorageItem(No.Z.FROM_INVITE_FLOW,No.Z.EMPTY)),this.router.navigate([`/${Wo.n.GLOBAL_ERR_REDIRECTION}`]),Rc.w)))}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(Lc.T),E.KVO(b.Ix),E.KVO(ru.D),E.KVO(pl.j),E.KVO(ic.JP),E.KVO(zl),E.KVO(xp.n),E.KVO(Sp.p))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})();var Bu=d(5964),Uu=d(45312),Dp=d(34308),su=d(80029);let ac=(()=>{class F{constructor(g,D,G,le,Le,We,ze,ht,cn){this.siteService=g,this.versionsService=D,this.router=G,this.designSettingsService=le,this.weglotTranslationService=Le,this.idp=We,this.pageRequiredLogin=ze,this.storageService=ht,this.accountActivationService=cn}resolve(g){let D=`${location.origin}/${g.params.siteUrl}/`;_a.pk&&(D=`${Uu.c.host}/${g.params.siteUrl}/`);const G=g.queryParams.siteId,le=g.queryParams.versionId;if(G&&le)return this.versionsService.loadVersion(G,le).pipe((0,hl.W)(()=>(this.router.navigate([`/${Wo.n.PAGE_NOT_FOUND}`]),Rc.w)));const Le=!this.idp.isAuthenticated(),We=sessionStorage.getItem(ga.mf),ze=!Le&&We===D;return this.siteService.getSiteByUrl(D,Le,ze).pipe((0,sc.M)(ht=>this.pageRequiredLogin.handleSiteRedirection(ht,(0,_a.J6)())),(0,Bu.p)(ht=>ht.status===Dp.u.PUBLISH||ht.status===Dp.u.STANDALONE&&ht.redirection!==tl.t.DefaultFs||(this.router.navigate([`/${Wo.n.PAGE_NOT_FOUND}`]),!1)),(0,sc.M)(ht=>{this.accountActivationService.handleMembershipActivationFlow(D,ht.redirection,this.idp.isAuthenticated())}),(0,fl.n)(ht=>this.pageRequiredLogin.handleStandaloneCommunity(ht,D)),(0,sc.M)(ht=>{this.siteService.permissions$.next({authenticatedSpace:ht.permissions.authenticatedSpace,isCoreMember:ht.permissions.isCoreMember,initiativeMemberSpace:ht.permissions.initiativeMemberSpace,isOperationalContact:ht.permissions.isOperationalContact}),this.siteService.site$.next(ht),this.designSettingsService.applyThemeSettings(ht),this.weglotTranslationService.initialize(ht.community.translationAPIKey||"")}),(0,fl.n)(ht=>this.pageRequiredLogin.handlePageRequiredWithLogin(ht,(0,_a.R_)(),(0,_a.J6)(),ze)),(0,Ml.T)(ht=>this.pageRequiredLogin.markSiteToHideContent(ht)),(0,hl.W)(ht=>(this.storageService.getLocalStorageItem(No.Z.INVITATION_MEMBERSHIP_TOKEN)&&(this.storageService.setLocalStorageItem(No.Z.ORIGIN_URL,D),this.storageService.setLocalStorageItem(No.Z.FROM_INVITE_FLOW,No.Z.EMPTY)),ht.status===cr.kG.Forbidden||ht.status===cr.kG.Unauthorized?(this.router.navigate([`/${Wo.n.ACCESS_DENIED}`]),Rc.w):(this.router.navigate([`/${Wo.n.PAGE_NOT_FOUND}`]),Rc.w))))}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(Lc.T),E.KVO(su.L),E.KVO(b.Ix),E.KVO(ru.D),E.KVO(pl.j),E.KVO(ic.JP),E.KVO(zl),E.KVO(xp.n),E.KVO(Sp.p))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})();var Op=d(3534);const d1=[Wo.n.CASE_STUDY_DETAILS,Wo.n.ORGANIZATION_DETAILS],nf=[":pageName",":pageName/:subpageId",":pageName/:objectType/all",":pageName/:subPageName/:subpageId",":pageName/:objectType/:subpageId",":pageName/:objectType/:subPageName/:subpageId"];class Mm extends b.Gl{shouldReuseRoute(v,g){return nf.includes(v.routeConfig?.path)&&nf.includes(g.routeConfig?.path)?!d1.includes(v.params.pageName):super.shouldReuseRoute(v,g)}}const au={path:`${Wo.n.IDP}`,loadChildren:()=>d.e("src_app_features_authentication_authentication_module_ts").then(d.bind(d,14402)).then(F=>F.AuthenticationModule)},lu=[{path:`${Wo.n.WIDGETS}`,loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-src_app_shared_classes_dynamic-page-with-filters_ts-src_app_shared_patterns_filter_fi-c776a2"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_services_communities_communities_service_ts-src_app_services_members_members_-ef9745"),d.e("default-src_app_shared_components_dropdown_dropdown_component_ts-src_app_shared_components_dr-b8c751"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("default-src_app_features_page-builder_page-builder_module_ts-src_app_features_page_industry-s-5e6e4b"),d.e("default-node_modules_angular_material_fesm2022_sidenav_mjs"),d.e("default-src_app_features_page_page_module_ts"),d.e("common"),d.e("src_app_features_widgets_widgets_module_ts-src_app_services_page-snapsh
1ot_page-snapshot_service_ts")]).then(d.bind(d,8933)).then(F=>F.WidgetsModule)},{path:Wo.n.ACCESS,loadComponent:()=>Promise.all([d.e("default-src_app_features_access_container_access_component_ts"),d.e("common"),d.e("node_modules_lodash-es__baseKeys_js-node_modules_lodash-es_isArguments_js-node_modules_lodash-2cf6f8")]).then(d.bind(d,33363)).then(F=>F.AccessComponent),canDeactivate:[Zd.q]}],rf=[au,{path:Wo.n.GLOBAL_ERR_REDIRECTION,loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("src_app_fallback-pages_fallback-pages_module_ts")]).then(d.bind(d,52192)).then(F=>F.FallbackPagesModule)},{path:"",canActivate:[ns.FZ,Nu.$],resolve:{data:Fc},loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-src_app_shared_classes_dynamic-page-with-filters_ts-src_app_shared_patterns_filter_fi-c776a2"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_services_communities_communities_service_ts-src_app_services_members_members_-ef9745"),d.e("default-src_app_shared_components_dropdown_dropdown_component_ts-src_app_shared_components_dr-b8c751"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("default-src_app_features_page-builder_page-builder_module_ts-src_app_features_page_industry-s-5e6e4b"),d.e("default-src_app_features_blog_constants_post-settings_constant_ts-src_app_features_page-build-ba9a10"),d.e("default-src_app_constants_page-details-mapper_constant_ts-src_app_features_page-builder_page--6d712e"),d.e("common"),d.e("src_app_features_public-view_public-view_module_ts")]).then(d.bind(d,90710)).then(F=>F.PublicViewModule)},{path:Wo.n.PAGE_NOT_FOUND,loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("src_app_fallback-pages_fallback-pages_module_ts")]).then(d.bind(d,52192)).then(F=>F.FallbackPagesModule)},{path:Wo.n.ACCESS_DENIED,loadComponent:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("src_app_fallback-pages_access-denied_access-denied_component_ts")]).then(d.bind(d,19742)).then(F=>F.AccessDeniedComponent)}],Ip=[{path:"",loadChildren:()=>d.e("src_app_features_homepage-redirection_homepage-redirection_module_ts").then(d.bind(d,98457)).then(F=>F.HomeRedirectionModule)},au,{path:Wo.n.SITES,canActivate:[ns.WC],canActivateChild:[ns.WC],loadChildren:()=>Promise.all([d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("common"),d.e("src_app_features_sites_sites_module_ts")]).then(d.bind(d,34594)).then(F=>F.SitesModule)},{path:`${Wo.n.SITES}/${Wo.n.NEW}`,canActivate:[ns.RO,ns.WC],canActivateChild:[ns.WC],loadChildren:()=>d.e("src_app_features_new-site_new-site_module_ts").then(d.bind(d,34241)).then(F=>F.NewSiteModule)},{path:`${Wo.n.SITES}/:communityId/${Op.h.BLOG}/:postId`,canActivate:[ns.FZ,ns.RO,ns.WC],canActivateChild:[ns.WC],resolve:{data:F=>{const v=(0,E.WQX)(kc.c),g=(0,E.WQX)(b.Ix),D=(0,E.WQX)(nh.X),{communityId:G,postId:le}=F.params;return D.communityList$.pipe((0,Ml.T)(Le=>{const We=Le.find(ze=>ze.id===G);if(!We)throw new Error("Community doesn't exist");return We}),(0,Ml.T)(Le=>Le.site),(0,Hl.Z)(Le=>v.getBlogDetails(Le.id).pipe((0,fl.n)(We=>v.getPost(Le.id,We.id,le).pipe((0,Ml.T)(ze=>({blog:We,post:ze,site:Le})))))),(0,hl.W)(()=>(g.navigate([Wo.n.PAGE_NOT_FOUND],{skipLocationChange:!0}),Rc.w)))}},loadComponent:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_features_blog_constants_post-settings_constant_ts-src_app_features_page-build-ba9a10"),d.e("default-src_app_features_blog_components_post-settings_post-settings_component_ts-src_app_fea-5a2dad"),d.e("src_app_features_blog_components_post-editor_post-editor_component_ts-src_app_shared_pipes_ab-011d29")]).then(d.bind(d,59364)).then(F=>F.PostEditorComponent)},{path:"builder",redirectTo:`${Wo.n.BUILDER}`},{path:`${Wo.n.BUILDER}/:siteId`,canActivate:[ns.Xt,ns.WC],canActivateChild:[ns.WC],loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-src_app_shared_classes_dynamic-page-with-filters_ts-src_app_shared_patterns_filter_fi-c776a2"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_services_communities_communities_service_ts-src_app_services_members_members_-ef9745"),d.e("default-src_app_shared_components_dropdown_dropdown_component_ts-src_app_shared_components_dr-b8c751"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("default-src_app_features_page-builder_page-builder_module_ts-src_app_features_page_industry-s-5e6e4b"),d.e("default-src_app_features_blog_constants_post-settings_constant_ts-src_app_features_page-build-ba9a10"),d.e("default-src_app_constants_page-details-mapper_constant_ts-src_app_features_page-builder_page--6d712e"),d.e("default-src_app_features_page-preview_page-preview_module_ts"),d.e("common"),d.e("src_app_features_dashboard_dashboard_module_ts")]).then(d.bind(d,11818)).then(F=>F.DashboardModule)},{path:`${Wo.n.HISTORY}/:siteId`,canActivate:[ns.Xt,ns.WC],canActivateChild:[ns.WC],loadChildren:()=>Promise.all([d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-node_modules_angular_material_fesm2022_sidenav_mjs"),d.e("src_app_features_history_history_module_ts")]).then(d.bind(d,7458)).then(F=>F.HistoryModule)},{path:`${Wo.n.PAGE_PREVIEW}`,canActivate:[ns.WC],canActivateChild:[ns.WC],loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-src_app_shared_classes_dynamic-page-with-filters_ts-src_app_shared_patterns_filter_fi-c776a2"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_services_communities_communities_service_ts-src_app_services_members_members_-ef9745"),d.e("default-src_app_shared_components_dropdown_dropdown_component_ts-src_app_shared_components_dr-b8c751"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("default-src_app_features_page-builder_page-builder_module_ts-src_app_features_page_industry-s-5e6e4b"),d.e("default-src_app_features_blog_constants_post-settings_constant_ts-src_app_features_page-build-ba9a10"),d.e("default-src_app_constants_page-details-mapper_constant_ts-src_app_features_page-builder_page--6d712e"),d.e("default-src_app_features_page-preview_page-preview_module_ts")]).then(d.bind(d,89518)).then(F=>F.PagePreviewModule)},{path:`${Wo.n.PREVIEW}`,canActivate:[ns.WC],canActivateChild:[ns.WC],loadChildren:()=>Promise.all([d.e("common"),d.e("src_app_features_preview_preview_module_ts-src_app_services_sharable-link-helper_sharable-lin-113167")]).then(d.bind(d,91600)).then(F=>F.PreviewModule)},{path:Wo.n.ACCESS_DENIED,loadComponent:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("src_app_fallback-pages_access-denied_access-denied_component_ts")]).then(d.bind(d,19742)).then(F=>F.AccessDeniedComponent)},{path:Wo.n.PAGE_NOT_FOUND,loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("src_app_fallback-pages_fallback-pages_module_ts")]).then(d.bind(d,52192)).then(F=>F.FallbackPagesModule)},{path:":siteUrl",canActivate:[ns.FZ,Nu.$],resolve:{data:ac},loadChildren:()=>Promise.all([d.e("default-src_app_shared_froala_froala_module_ts-node_modules_froala-editor_js_plugins_align_mi-d17ec4"),d.e("default-src_app_enums_horizontal-listing-filters_enum_ts-node_modules_lodash-es_isEqual_js"),d.e("default-src_app_enums_froala-plugin_enum_ts-src_app_enums_froala-toolbar-button_enum_ts-node_-b8aba9"),d.e("default-src_app_shared_enums_screen-size-breakpoint_enum_ts-node_modules_moment_moment_js-nod-5df1f3"),d.e("default-src_app_features_page_fragment_mapper_ts-src_app_shared_classes_custom-control_ts-src-f84cf9"),d.e("default-src_app_enums_date-format_enum_ts-node_modules_ngx-infinite-scroll_fesm2022_ngx-infin-c8a9f4"),d.e("default-src_app_shared_classes_dynamic-page-with-filters_ts-src_app_shared_patterns_filter_fi-c776a2"),d.e("default-src_app_shared_widgets_page-not-found_page-not-found_component_ts"),d.e("default-src_app_services_projects_projects_service_ts-src_app_shared_components_chips-autocom-aeaf37"),d.e("default-src_app_features_page-builder_components_widget-background-configuration_widget-backg-7d0213"),d.e("default-src_app_services_communities_communities_service_ts-src_app_services_members_members_-ef9745"),d.e("default-src_app_shared_components_dropdown_dropdown_component_ts-src_app_shared_components_dr-b8c751"),d.e("default-src_app_features_ai-agent_components_ai-agent-button_ai-agent-button_component_ts"),d.e("default-src_app_features_page-builder_page-builder_module_ts-src_app_features_page_industry-s-5e6e4b"),d.e("default-src_app_features_blog_constants_post-settings_constant_ts-src_app_features_page-build-ba9a10"),d.e("default-src_app_constants_page-details-mapper_constant_ts-src_app_features_page-builder_page--6d712e"),d.e("common"),d.e("src_app_features_public-view_public-view_module_ts")]).then(d.bind(d,90710)).then(F=>F.PublicViewModule)},{path:"",redirectTo:Wo.n.SITES,pathMatch:"full"},{path:"**",redirectTo:Wo.n.PAGE_NOT_FOUND}];let sf=(()=>{class F{static{this.\u0275fac=function(D){return new(D||F)}}static{this.\u0275mod=S.$C({type:F})}static{this.\u0275inj=E.G2t({providers:[{provide:b.b,useClass:Mm},_c.Y,{provide:b.J_,useExisting:_c.Y}],imports:[th.iI.forRoot([..._a.pk?lu:[],..._a.pk||!_a.if||_a.wl?Ip:rf],new _
1c.Y),th.iI]})}}return F})();var cu=d(68866),af=d(1807);const xm=["luna-reset","ai-trends-sources","ai-trends-hide-sources","ai-trends-sparkle-large","ai-trends-sparkle-small","agenda","agenda-image","add","article","assessment-target","attach","award","award-outline","broadcast","three-dots-horizontal","arrow-up","arrow-left","arrow-left","attach-file","arrow-right","calendar-round","case-study-outline","chart","chart-bar","chart-light","chart-line","chart-line-2","chart-round","checkmark","checkmark-circle","chevron-down","chevron-right","chevron-left","chevron-up","close","cloud-face","copy","copy-to-clipboard","customize-slider","dash-neutral","document-add","duplicate","error","globe","info","insert-chart","learn-more","members-followers","info-square","image-placeholder","link-shear","linkedin","twitter","x","facebook","funding","earth","team","diagnostic-tab","recommended-tab","change-goals","document","application","drag-handler","keyboard-arrow-down","contribute-admin-panel-action","arrow-down","edit-pen","brush","hamburger-menu","hosting","camera_inline","pencil_inline","calendar","location","live","filter","partnership","expertise","organization","organization-2","organizations-icon","organizations-no-content","other","homepage","message","members","event-calendar","order-arrow","instagram","success","url","user","video-camera-pause","warning","wef","menu-dots","pending-offers","decline-offers","accept-offers","reports","project-details-member-default","protection","user-followers","user-followers-slim","user-followers-no-bg","lock","unlock","user-members","user-members-slim","global-error","retry","reload","three-dots-horizontal","lock-large","calendar-large","organization-large","copy-cross-error-large","copy-to-clipboard","members-large","north-star","mail-envelope","luggage-large","project-consortium","project-community","community","equity","privacy","security","openness","operational","clock-time","document-notes","document-news","document-file-table","square-grid","list-task-checkmark","checkmark-big-square","file-copy","file-doc","file-web","file-pdf","file-ppt","file-xls","file-download","filters-b","more-dots-horizontal","slides-windows","trumpet","archive","share-icon","podcasts","remove-icon","redirect","library-document-notes","video-play","article-play","videos","horn","arrow-diagram-left","arrow-diagram-right","milestone-session","milestone-event","milestone-community","milestone-co-organized","milestone-external","warning-triangle","tertiary","attachment-link","history","dots-menu","settings","settings-bold","pen-edit-write","globe-minus","globe-smart-home","globe-smart-home-bg","single-user-add-plus","single-user-minus-delete-remove","send-response","anchor","report-svg","topics","exit-chat-line","copy-to-clipboard","eye-slash","eye","star","search","paste","map-marker","youtube","project-organization","map-marker-multiple","page-link","map-loader-skeleton","project-loading","group","copy-filled","calendar-from","calendar-to","sort-order","bookmark","day-in-life-before-icon","day-in-life-after-icon","day-in-life-divider","list","map","file-copy","stacked-line-chart","open-details","work-processes","quality-processes","maintenance-processes","logistics-operations","connected-customer","intelligent-steering","proactive-planning","agile-supply","design","make","deliver","serve-and-return","source","people-development","performance-management","organizational-development","trusted-and-impactful-data","intelligent-software","architecture-governance","connected-machines","file-copy","stacked-line-chart","score-vertical-dash","score-vertical-solid","trophy"];var Wi=d(59810),Mo=d(31957);const Tp={[Wi.p5h.name]:Mo.m.GO,[Wi.ZvF.name]:Mo.m.REPLY,[Wi.gHw.name]:Mo.m.INSTAGRAM_ORIGINAL,[Wi.ehJ.name]:Mo.m.YOUTUBE,[Wi.$wk.name]:Mo.m.LINKEDIN,[Wi.xNA.name]:Mo.m.X,[Wi.h4W.name]:Mo.m.FACEBOOK,[Wi.gi3.name]:Mo.m.COMMUNITY,[Wi.NJ1.name]:Mo.m.LOADING,[Wi.YNG.name]:Mo.m.ATTACHMENT,[Wi.Ecv.name]:Mo.m.MAXIMISE,[Wi.a2E.name]:Mo.m.MINIMISE,[Wi.TaQ.name]:Mo.m.CLOSE,[Wi.s4.name]:Mo.m.HELP,[Wi.foz.name]:Mo.m.AVATAR_ADD,[Wi.fsG.name]:Mo.m.MINUS,[Wi.BKW.name]:Mo.m.PLUS,[Wi.rSl.name]:Mo.m.FILTER,[Wi.vBs.name]:Mo.m.BOOKMARK,[Wi.RKU.name]:Mo.m.BOOKMARK_FILLED,[Wi.MKn.name]:Mo.m.BLOCK_QUOTE},ah=[Wi.p5h,Wi.ZvF,Wi.gHw,Wi.ehJ,Wi.$wk,Wi.xNA,Wi.h4W,Wi.gi3,Wi.NJ1,Wi.YNG,Wi.Ecv,Wi.a2E,Wi.TaQ,Wi.s4,Wi.foz,Wi.fsG,Wi.BKW,Wi.rSl,Wi.vBs,Wi.RKU,Wi.MKn].map(F=>({name:Tp[F.name],data:F.data}));var uu=d(37001),Pp=d(94091),Sm=d(94679),Dm=d(2613),lh=d(28943),Ap=d(345);let fd=(()=>{class F extends Sm.i{constructor(g,D,G,le,Le,We,ze){super(),this.idpService=g,this.authenticateService=D,this.appcuesService=G,this.matIconRegistry=le,this.domSanitizer=Le,this.mixPanelService=We,this.userAccountService=ze,this.RELOAD_MARK_PARAM="signup",this.hasUserSession=!1,this.$authSessionObserver=(0,af.O)(0,5e3).pipe((0,sc.M)(()=>{const ht=this.idpService.hasRefreshToken();!ht&&this.idpService.hasIdToken()&&this.idpService.logout(),ht&&!this.idpService.isAuthenticated()&&!this.hasUserSession&&this.validateToken(),Pp.Z.isAdminEditorPreview()||this.refreshMasqueradingIfChangedFromOtherPlatforms()})),this.idpService.configureWithNewConfigApi(),G.setupPageTracking(),this.loadMaterialIcons(),this.loadOneDigitalForumIcons()}ngAfterViewInit(){this.activateCustomDomainSessionReloadHandler(),!window.location.href.includes("/idp")&&!(0,Dm.g)()&&(this.idpService.isAuthenticated()&&(this.hasUserSession=!0,this.mixPanelService.setUserIdDataLayer()),this.subscription.add(this.$authSessionObserver.subscribe()))}activateCustomDomainSessionReloadHandler(){if(_a.if){if("true"===new URLSearchParams(window.location.search).get(this.RELOAD_MARK_PARAM)&&!this.idpService.isAuthenticated()){const D=(0,_a.D6)(window.location.href,[this.RELOAD_MARK_PARAM]);
1return void this.idpService.login(D,null,null,{prompt:"none",saveTargetUrl:!0})}this.cleanUnUsedQueryParams()}}validateToken(){this.idpService.forceRefreshTokenProcess().then(g=>{g&&window.location.reload()})}refreshMasqueradingIfChangedFromOtherPlatforms(){const g=this.authenticateService.isMasquerading(),D=uu.V.getUserData(),G=this.idpService.isAuthenticated();G&&g&&D.id!==g?this.handleNewMasqueradingToken(g):G&&!g&&(D.masqueradingUser||this.idpService.claims.user.salesforce_id&&this.idpService.claims.user.salesforce_id!==D.id)&&(uu.V.stopMasqueradingSession(),window.location.reload())}handleNewMasqueradingToken(g){this.subscription.add(this.authenticateService.requestNewMasqueradingToken(g,this.idpService.idToken).subscribe(D=>{this.requestNewUser(D)}))}requestNewUser(g){this.subscription.add(this.userAccountService.requestUserMeInfo(g.id_token).subscribe(D=>{const G=(0,cu.s)(g.id_token);this.authenticateService.setNewUser(D,g.id_token,G),window.location.reload()}))}loadMaterialIcons(){xm.forEach(g=>{this.matIconRegistry.addSvgIcon(g,this.domSanitizer.bypassSecurityTrustResourceUrl(`/assets/icons/${g}.svg`))})}loadOneDigitalForumIcons(){ah.forEach(({name:g,data:D})=>{this.matIconRegistry.addSvgIconLiteral(g,this.domSanitizer.bypassSecurityTrustHtml(D))})}cleanUnUsedQueryParams(){const D=(0,_a.D6)(window.location.href,[this.RELOAD_MARK_PARAM]);D!==window.location.href&&window.history.replaceState(null,"",D)}static{this.\u0275fac=function(D){return new(D||F)(S.rXU(ic.JP),S.rXU(uu.V),S.rXU(ic.RZ),S.rXU(lh.tp),S.rXU(Ap.up),S.rXU(ic.aO),S.rXU(ic.wf))}}static{this.\u0275cmp=S.VBU({type:F,selectors:[["app-root"]],standalone:!1,features:[S.Vt3],decls:1,vars:0,template:function(D,G){1&D&&S.nrm(0,"router-outlet")},dependencies:[b.n3],styles:["[_nghost-%COMP%]{display:block;height:100%;min-height:100%}"]})}}return F})();const Rp={disabled:!0};var Ko=d(10283),ch=d(54427);let hd=(()=>{class F{constructor(g){this.tierService=g}intercept(g,D){const G=this.tierService.getTier();return g.url.includes("/v1/public/")||this.tierService.isPublicPreview()||this.tierService.isPublicTier()||G&&(g=g.clone({setHeaders:{"X-Preview-Tier":G}})),D.handle(g)}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(ch.s))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac})}}return F})();var Nc=d(84412),lc=d(18810),Om=d(86648);let uh=(()=>{class F{constructor(g){this.idpService=g,this.isRefreshing=!1,this.refreshTokenSubject=new Nc.t(!1)}intercept(g,D){if(!this.shouldApplyTokenRefresh(g))return D.handle(g);const G=g.clone({headers:g.headers.delete("x-requires-token-refresh")});if(this.idpService.hasValidToken()){const le=this.updateMFARequestWithCurrentToken(G);return D.handle(le)}return this.refreshTokenAndRetry(G,D)}shouldApplyTokenRefresh(g){return g.headers.has("x-requires-token-refresh")||g.url.includes(Uu.c.mfa?.api_login_radius_host||"")}updateMFARequestWithCurrentToken(g){if(g.url.includes(Uu.c.mfa?.api_login_radius_host||"")){const D=new URL(g.url);return D.searchParams.set("access_token",this.idpService.accessToken||""),g.clone({url:D.toString()})}return g}refreshTokenAndRetry(g,D){return this.isRefreshing?this.refreshTokenSubject.pipe((0,Bu.p)(G=>null!==G),(0,oc.s)(1),(0,fl.n)(G=>{if(G){const le=this.updateMFARequestWithCurrentToken(g);return D.handle(le)}return(0,lc.$)(()=>new Error("Token refresh failed"))})):(this.isRefreshing=!0,this.refreshTokenSubject.next(!1),(0,Om.H)(this.idpService.forceRefreshTokenProcess()).pipe((0,fl.n)(G=>{if(this.isRefreshing=!1,this.refreshTokenSubject.next(G),G){const le=this.updateMFARequestWithCurrentToken(g);return D.handle(le)}return(0,lc.$)(()=>new Error("Token refresh failed"))}),(0,hl.W)(G=>(this.isRefreshing=!1,this.refreshTokenSubject.next(!1),(0,lc.$)(()=>G)))))}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(vc.J))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac})}}return F})();var Cc=d(78310),lf=d(91708),dh=d(1835),fh=d(28663);let cf=(()=>{class F{constructor(g,D){this.snackBar=g,this.agentService=D}intercept(g,D){return g.url.includes(`${Uu.c.onboarding_loading_page_host}${Uu.c.ai_agent_path}`)?D.handle(g).pipe((0,hl.W)(le=>this.handleResponseError(le))):D.handle(g)}handleResponseError(g){return this.agentService.resetLoadingStreamMessage(),this.snackBar.openFromComponent(lf.Y,dh.kN),(0,lc.$)(()=>g)}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(ji.UG),E.KVO(fh.H))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac})}}return F})();const du={provide:new E.nKC("HISTORY_INJECTION_TOKEN"),useValue:history};var hh=d(58609),df=d(84862),ph=d(73878);function Bc(){return _a.A9?localStorage:new Cc.W}const kp=[{provide:cr.a7,useClass:Ko._,multi:!0},{provide:cr.a7,useClass:ns.Yk,multi:!0},{provide:cr.a7,useClass:uh,multi:!0},{provide:cr.a7,useClass:(()=>{class F{constructor(g,D){this.snackBar=g,this.apiEndpointService=D}intercept(g,D){return g.url.includes(this.apiEndpointService.getFWSBenchmarkingEndpoint())?D.handle(g).pipe((0,hl.W)(G=>this.handleResponseError(G))):D.handle(g)}handleResponseError(g){return this.snackBar.openFromComponent(lf.Y,dh.cQ),(0,lc.$)(()=>g)}static{this.\u0275fac=function(D){return new(D||F)(E.KVO(ji.UG),E.KVO(ph.J))}}static{this.\u0275prov=E.jDH({token:F,factory:F.\u0275fac})}}return F})(),multi:!0},{provide:cr.a7,useClass:cf,multi:!0},{provide:cr.a7,useClass:hd,multi:!0}];typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",gc),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",class ld extends Lu{constructor(){super(),this.attachShadow({mode:"open"})}render(){const v=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(nu(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}::slotted(.swiper-slide-shadow){background:#00000026}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(270deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(90deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(0deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(180deg,#00000080,#0000)}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid #0000;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-zoom-container){align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-height:100%;max-width:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),v){const g=document.createElement("div");g.classList.add("swiper-lazy-preloader"),g.part.add("preloader"),this.shadowRoot.appendChild(g)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}}));let mh=(()=>{class F{static{this.\u0275fac=function(D){return new(D||F)}}static{this.\u0275mod=S.$C({type:F,bootstrap:[fd]})}static{this.\u0275inj=E.G2t({providers:[...ic.xC,...ns.dl,df.r,du,hh.E,xl.r6,xl.Ui,{provide:hi.xW,useValue:Ep.fl},{provide:hi.C7,useValue:Ep.B},{provide:hi.Of,useClass:fo},{provide:hi.PD,useFactory:Bc},{provide:E.zcH,useClass:ic.Pp},{provide:Yr.$E,useValue:Rp},(0,S.phd)(()=>function Im(){const F=(0,E.WQX)(uu.V);return()=>F.runInitialLoginSequence()}()()),kp,(0,cr.$R)((0,cr.Sx)())],imports:[Br,sf,hi.gn.forRoot(),Rn,gi.hM,ji._T,eo]})}}return F})();ur.c.production&&(0,M.SmG)(),function Wn(F,v){wt=!1!==v.ngZoneSharing,Kt=!1!==v.platformSharing,xn=!1!==v.activeLegacyMode,v.platformFactory=v.platformFactory||(()=>En()),v.version=v.version||(()=>E.xvI),wt&&!v.compilerOptions?.ngZone&&(v.compilerOptions=v.compilerOptions||{},v.compilerOptions.ngZone=function un(){return at(F=>F.ngZone)||function He(){return window.ngZone}()}()),bt(v).bootstrapModule(F,v.compilerOptions).then(g=>("shell"===v.appType?function $n(F){const v=F.get(S.SKi,null);
1v?function Vn(F){wt&&(xn&&function p(F){window.ngZone=F}(F),Tt({ngZone:F}))}(v):console.warn("No NgZone to share found")}(g.injector):"microfrontend"===v.appType&&function _r(F){const v=F.get(b.Ix),g=location.href.includes("#");v?function Pt(F,v=!1){let g;v?(g=`${location.hash.substring(1)}${location.search}`,F.navigateByUrl(g),window.addEventListener("hashchange",()=>{F.navigateByUrl(g)})):(g=`${location.pathname.substring(1)}${location.search}`,F.navigateByUrl(g),window.addEventListener("popstate",()=>{F.navigateByUrl(g)}))}(v,g):console.warn("No router to connect found")}(g.injector),g))}(mh,{production:ur.c.production,appType:"shell"})},44333(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>q,X:()=>N});var S=d(88882),E=d(89922),M=d(75072),f=d(71465),b=d(83664);const A={componentKey:E.u.FORUM_INSIGHTS,data:b.B},R={settings:{},widgets:[{componentKey:E.u.STANDALONE_COMMUNITY_HERO},{componentKey:E.u.COMMUNITY_ABOUT,data:{title:"<h4>About us</h4>",layouts:Object.values(f.N),layout:f.N.A,background:{color:M.L.WHITE}}},{componentKey:E.u.COMMUNITY_OUTCOME,data:{title:"<h4>Outcomes</h4>",background:{color:M.L.WHITE}}},{componentKey:E.u.COMMUNITY_VALUE,data:{title:"<h4>Value for members</h4>",background:{color:M.L.WHITE}}},A,{componentKey:E.u.LISTING_TAB,data:{background:{color:M.L.BACKGROUND}}},{componentKey:E.u.JOIN_US,data:{background:{color:M.L.BACKGROUND},layout:"text-center",items:[{title:"<h4>Become a partner</h4>",description:'<p class="body-text-large">Learn about how your organization can partner with the Forum Initiative.</p>',buttonText:"Contact us",buttonUrl:"https://weforum.eu.qualtrics.com/jfe/form/SV_af38noL8hELk7ie?PageOrigin=Organizations",buttonStyle:["btn","btn-secondary"],openLinkInNewTab:!1},{title:"<h4>Join our digital community</h4>",description:'<p class="body-text-large">Become a digital member and help us shape a better a future. Become part of the Initiative now.</p>',buttonText:"Join our community",buttonUrl:`${S.c.login_url}/auth.aspx`,buttonStyle:["btn","btn-secondary"],openLinkInNewTab:!1}]}},{componentKey:E.u.FOOTER,background:{color:M.L.DARK}}]},N={widgets:[{componentKey:E.u.STANDALONE_COMMUNITY_HERO},{componentKey:E.u.COMMUNITY_ABOUT,data:{title:"<h4>About us</h4>",layouts:Object.values(f.N),layout:f.N.A,background:{color:M.L.WHITE}}},{componentKey:E.u.COMMUNITY_OUTCOME,data:{title:"<h4>Outcomes</h4>",background:{color:M.L.WHITE}}},{componentKey:E.u.COMMUNITY_VALUE,data:{title:"<h4>Value for members</h4>",background:{color:M.L.WHITE}}},{componentKey:E.u.COMMUNITY_GET_INVOLVED,data:{title:"<h4>Interested in getting involved?</h4>",background:{color:M.L.WHITE}}},A,{componentKey:E.u.LISTING_TAB,data:{background:{color:M.L.BACKGROUND}}},{componentKey:E.u.FOOTER,background:{color:M.L.DARK}}]},q=R},45312(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>E});const E={production:!0,local:!1,host:"https://initiatives.weforum.org",centres_host:"https://centres.weforum.org",custom_domain_multi_sites_host:"https://yescities.org",fws_host:"/api",fws_auth_client_id:"e71c83fc9177a181020459dcdfa4236a",rollbar_client_id:"768cdd38664e43f29565139d3d525f96",si_api_key:"65bdcf9b-9378-43ca-9e1e-15eba521c583",ci_host:"https://cdn.intelligence.weforum.org",name:"prod",strategic_intelligence:"https://intelligence.weforum.org",login_radius_host:"https://login.weforum.org",froalaLicenseKey:d(43045).z,mixpanelToken:"6232aeb08818ee1161204a011ed8ad16",google_maps_image_api_key:"AIzaSyCU-90HW0JgYmaLF1VwzRHWTfBklCaGMaA",tl_backend_host:"https://toplink.weforum.org/api/toplink/v2",login_url:"https://login.weforum.org",odf_auth_api_key:"264d689f-67ae-4894-bd19-9a95ba28c90a",odf_auth_app_name:"weforum",fws_auth_url:"/api",onboarding_loading_page_host:"https://fws.weforum.org",onboarding_init_url:"/authentication/v1/sso/initiateCommunityOnboarding",onboarding_loading_page_url:"/authentication/v1/sso/communityOnboarding",fws_passwordless_url:"/authentication/v1/sso/passwordless",fws_identity_registration:"/api/authentication/v1/identity/registration",fws_reset_password:"/api/authentication/v1/reset_password",fws_is_registered:"/api/authentication/v1/sso/isRegistered",fws_resend_email_verification:"/api/authentication/v1/identity/resendVerification",hcaptcha_key:"8d4028ec-bb92-4b92-b8d4-8722dea4fa66",mfe_feed_local_entry:"",mfe_messaging:"",benchmarking_tool_url:"/api/benchmarking/api/v1",mfe_remote_entry_url:"https://mfe.weforum.org",global_navigation:{remote:"Global Navigation",element_name:"global-nav",local_entry:"",exposed_module:"./global-nav-app",events_prefix:"GlobalNav",platformName:"FORUM_SPACES",externalPlatformName:"FORUM_SPACES_EXT
1ERNAL",assets:"https://assets.weforum.org/mfe/prod/globalnav-mf-module/assets/",images:"https://assets.weforum.org/mfe/prod/globalnav-mf-module/assets/images/"},mfa:{api_login_radius_host:"https://api.loginradius.com/identity/v2/auth/account/2FA",api_key:"264d689f-67ae-4894-bd19-9a95ba28c90a"},hubCommunities:["a0eb0000000ChLUAA0"],google_maps_api_key:"AIzaSyDOnHFB97gHlWHa7sXdWTt1XcMfwzVw7Zo",google_maps_light_map_id:"14a25b42d4ecb462",google_maps_dark_map_id:"fa8a52c6ab04e23d",ai_agent_path:"/virtual-assistant/v1",amazon_q_iframe:"https://shapersgpt.weforum.org/",amazon_q_initiative_id:"a0eb0000000ChLUAA0",luna_initiative_id:["a0eTG00000DbTd3YAF"],minds_initiative_ids:["a0eTG00000DbUHRYA3"]}},43045(Vt,Pe,d){"use strict";d.d(Pe,{z:()=>S});const S="UBB7jD5D4D3D3G3C10A7bHIMFI1EWBXIJe1BZLZFd1d1MXQLjC10D7D5F5B2B3D3E2A2C6=="},98684(Vt,Pe){var l,C,k,Q,oe,se,y,T,O,V,H,w,S={userAgent:!1},E={},b=b||(l=Math,k=(C={}).lib={},Q=k.Base=function(){function z(){}return{extend:function(Ce){z.prototype=this;var he=new z;return Ce&&he.mixIn(Ce),he.hasOwnProperty("init")||(he.init=function(){he.$super.init.apply(this,arguments)}),he.init.prototype=he,he.$super=this,he},create:function(){var Ce=this.extend();return Ce.init.apply(Ce,arguments),Ce},init:function(){},mixIn:function(Ce){for(var he in Ce)Ce.hasOwnProperty(he)&&(this[he]=Ce[he]);Ce.hasOwnProperty("toString")&&(this.toString=Ce.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),oe=k.WordArray=Q.extend({init:function(z,Ce){z=this.words=z||[],this.sigBytes=null!=Ce?Ce:4*z.length},toString:function(z){return(z||y).stringify(this)},concat:function(z){var Ce=this.words,he=z.words,Te=this.sigBytes,Oe=z.sigBytes;if(this.clamp(),Te%4)for(var Ge=0;Ge<Oe;Ge++)Ce[Te+Ge>>>2]|=(he[Ge>>>2]>>>24-Ge%4*8&255)<<24-(Te+Ge)%4*8;else for(Ge=0;Ge<Oe;Ge+=4)Ce[Te+Ge>>>2]=he[Ge>>>2];return this.sigBytes+=Oe,this},clamp:function(){var z=this.words,Ce=this.sigBytes;z[Ce>>>2]&=4294967295<<32-Ce%4*8,z.length=l.ceil(Ce/4)},clone:function(){var z=Q.clone.call(this);return z.words=this.words.slice(0),z},random:function(z){for(var Ce=[],he=0;he<z;he+=4)Ce.push(4294967296*l.random()|0);return new oe.init(Ce,z)}}),se=C.enc={},y=se.Hex={stringify:function(z){for(var Ce=z.words,he=z.sigBytes,Te=[],Oe=0;Oe<he;Oe++){var Ge=Ce[Oe>>>2]>>>24-Oe%4*8&255;Te.push((Ge>>>4).toString(16)),Te.push((15&Ge).toString(16))}return Te.join("")},parse:function(z){for(var Ce=z.length,he=[],Te=0;Te<Ce;Te+=2)he[Te>>>3]|=parseInt(z.substr(Te,2),16)<<24-Te%8*4;return new oe.init(he,Ce/2)}},T=se.Latin1={stringify:function(z){for(var Ce=z.words,he=z.sigBytes,Te=[],Oe=0;Oe<he;Oe++)Te.push(String.fromCharCode(Ce[Oe>>>2]>>>24-Oe%4*8&255));return Te.join("")},parse:function(z){for(var Ce=z.length,he=[],Te=0;Te<Ce;Te++)he[Te>>>2]|=(255&z.charCodeAt(Te))<<24-Te%4*8;return new oe.init(he,Ce)}},O=se.Utf8={stringify:function(z){try{return decodeURIComponent(escape(T.stringify(z)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(z){return T.parse(unescape(encodeURIComponent(z)))}},V=k.BufferedBlockAlgorithm=Q.extend({reset:function(){this._data=new oe.init,this._nDataBytes=0},_append:function(z){"string"==typeof z&&(z=O.parse(z)),this._data.concat(z),this._nDataBytes+=z.sigBytes},_process:function(z){var Ce=this._data,he=Ce.words,Te=Ce.sigBytes,Oe=this.blockSize,yt=Te/(4*Oe),It=(yt=z?l.ceil(yt):l.max((0|yt)-this._minBufferSize,0))*Oe,St=l.min(4*It,Te);if(It){for(var vn=0;vn<It;vn+=Oe)this._doProcessBlock(he,vn);var wn=he.splice(0,It);Ce.sigBytes-=St}return new oe.init(wn,St)},clone:function(){var z=Q.clone.call(this);return z._data=this._data.clone(),z},_minBufferSize:0}),k.Hasher=V.extend({cfg:Q.extend(),init:function(z){this.cfg=this.cfg.extend(z),this.reset()},reset:function(){V.reset.call(this),this._doReset()},update:function(z){return this._append(z),this._process(),this},finalize:function(z){return z&&this._append(z),this._doFinalize()},blockSize:16,_createHelper:function(z){return function(Ce,he){return new z.init(he).finalize(Ce)}},_createHmacHelper:function(z){return function(Ce,he){return new H.HMAC.init(z,he).finalize(Ce)}}}),H=C.algo={},C);(function(){var Q,w=(Q=b).lib,C=w.Base,k=w.WordArray;(Q=Q.x64={}).Word=C.extend({init:function(oe,se){this.high=oe,this.low=se}}),Q.WordArray=C.extend({init:function(oe,se){oe=this.words=oe||[],this.sigBytes=null!=se?se:8*oe.length},toX32:function(){for(var oe=this.words,se=oe.length,y=[],T=0;T<se;T++){var O=oe[T];y.push(O.high),y.push(O.low)}return k.create(y,this.sigBytes)},clone:function(){for(var oe=C.clone.call(this),se=oe.words=this.words.slice(0),y=se.length,T=0;T<y;T++)se[T]=se[T].clone();return oe}})})(),b.lib.Cipher||function(){var w=(z=b).lib,C=w.Base,k=w.WordArray,Q=w.BufferedBlockAlgorithm,oe=z.enc.Base64,se=z.algo.EvpKDF,y=w.Cipher=Q.extend({cfg:C.extend(),createEncryptor:function(he,Te){return this.create(this._ENC_XFORM_MODE,he,Te)},createDecryptor:function(he,Te){return this.create(this._DEC_XFORM_MODE,he,Te)},init:function(he,Te,Oe){this.cfg=this.cfg.extend(Oe),this._xformMode=he,this._key=Te,this.reset()},reset:function(){Q.reset.call(this),this._doReset()},process:function(he){return this._append(he),this._process()},finalize:function(he){return he&&this._append(he),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(he){return{encrypt:function(Te,Oe,Ge){return("string"==typeof Oe?Ce:H).encrypt
vendor: 3,853 bytes, line 1
1(he,Te,Oe,Ge)},decrypt:function(Te,Oe,Ge){return("string"==typeof Oe?Ce:H).decrypt(he,Te,Oe,Ge)}}}});w.StreamCipher=y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var J=z.mode={},T=function(he,Te,Oe){var Ge=this._iv;Ge?this._iv=void 0:Ge=this._prevBlock;for(var yt=0;yt<Oe;yt++)he[Te+yt]^=Ge[yt]},O=(w.BlockCipherMode=C.extend({createEncryptor:function(he,Te){return this.Encryptor.create(he,Te)},createDecryptor:function(he,Te){return this.Decryptor.create(he,Te)},init:function(he,Te){this._cipher=he,this._iv=Te}})).extend();O.Encryptor=O.extend({processBlock:function(he,Te){var Oe=this._cipher,Ge=Oe.blockSize;T.call(this,he,Te,Ge),Oe.encryptBlock(he,Te),this._prevBlock=he.slice(Te,Te+Ge)}}),O.Decryptor=O.extend({processBlock:function(he,Te){var Oe=this._cipher,Ge=Oe.blockSize,yt=he.slice(Te,Te+Ge);Oe.decryptBlock(he,Te),T.call(this,he,Te,Ge),this._prevBlock=yt}}),J=J.CBC=O,O=(z.pad={}).Pkcs7={pad:function(he,Te){for(var Oe,Ge=(Oe=(Oe=4*Te)-he.sigBytes%Oe)<<24|Oe<<16|Oe<<8|Oe,yt=[],It=0;It<Oe;It+=4)yt.push(Ge);Oe=k.create(yt,Oe),he.concat(Oe)},unpad:function(he){he.sigBytes-=255&he.words[he.sigBytes-1>>>2]}},w.BlockCipher=y.extend({cfg:y.cfg.extend({mode:J,padding:O}),reset:function(){y.reset.call(this);var he=(Te=this.cfg).iv,Te=Te.mode;if(this._xformMode==this._ENC_XFORM_MODE)var Oe=Te.createEncryptor;else Oe=Te.createDecryptor,this._minBufferSize=1;this._mode=Oe.call(Te,this,he&&he.words)},_doProcessBlock:function(he,Te){this._mode.processBlock(he,Te)},_doFinalize:function(){var he=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){he.pad(this._data,this.blockSize);var Te=this._process(!0)}else Te=this._process(!0),he.unpad(Te);return Te},blockSize:4});var V=w.CipherParams=C.extend({init:function(he){this.mixIn(he)},toString:function(he){return(he||this.formatter).stringify(this)}}),H=(J=(z.format={}).OpenSSL={stringify:function(he){var Te=he.ciphertext;return((he=he.salt)?k.create([1398893684,1701076831]).concat(he).concat(Te):Te).toString(oe)},parse:function(he){var Te=(he=oe.parse(he)).words;if(1398893684==Te[0]&&1701076831==Te[1]){var Oe=k.create(Te.slice(2,4));Te.splice(0,4),he.sigBytes-=16}return V.create({ciphertext:he,salt:Oe})}},w.SerializableCipher=C.extend({cfg:C.extend({format:J}),encrypt:function(he,Te,Oe,Ge){Ge=this.cfg.extend(Ge);var yt=he.createEncryptor(Oe,Ge);return Te=yt.finalize(Te),V.create({ciphertext:Te,key:Oe,iv:(yt=yt.cfg).iv,algorithm:he,mode:yt.mode,padding:yt.padding,blockSize:he.blockSize,formatter:Ge.format})},decrypt:function(he,Te,Oe,Ge){return Ge=this.cfg.extend(Ge),Te=this._parse(Te,Ge.format),he.createDecryptor(Oe,Ge).finalize(Te.ciphertext)},_parse:function(he,Te){return"string"==typeof he?Te.parse(he,this):he}})),z=(z.kdf={}).OpenSSL={execute:function(he,Te,Oe,Ge){return Ge||(Ge=k.random(8)),he=se.create({keySize:Te+Oe}).compute(he,Ge),Oe=k.create(he.words.slice(Te),4*Oe),he.sigBytes=4*Te,V.create({key:he,iv:Oe,salt:Ge})}},Ce=w.PasswordBasedCipher=H.extend({cfg:H.cfg.extend({kdf:z}),encrypt:function(he,Te,Oe,Ge){return Oe=(Ge=this.cfg.extend(Ge)).kdf.execute(Oe,he.keySize,he.ivSize),Ge.iv=Oe.iv,(he=H.encrypt.call(this,he,Te,Oe.key,Ge)).mixIn(Oe),he},decrypt:function(he,Te,Oe,Ge){return Ge=this.cfg.extend(Ge),Te=this._parse(Te,Ge.format),Oe=Ge.kdf.execute(Oe,he.keySize,he.ivSize,Te.salt),Ge.iv=Oe.iv,H.decrypt.call(this,he,Te,Oe.key,Ge)}})}(),function(){for(var l=b,w=l.lib.BlockCipher,vn=l.algo,C=[],k=[],Q=[],oe=[],se=[],y=[],T=[],O=[],V=[],J=[],H=[],z=0;256>z;z++)H[z]=128>z?z<<1:z<<1^283;var Ce=0,he=0;for(z=0;256>z;z++){var Te;C[Ce]=Te=(Te=he^he<<1^he<<2^he<<3^he<<4)>>>8^255&Te^99,k[Te]=Ce;var Oe=H[Ce],Ge=H[Oe],yt=H[Ge],It=257*H[Te]^16843008*Te;Q[Ce]=It<<24|It>>>8,oe[Ce]=It<<16|It>>>16,se[Ce]=It<<8|It>>>24,y[Ce]=It,T[Te]=(It=16843009*yt^65537*Ge^257*Oe^16843008*Ce)<<24|It>>>8,O[Te]=It<<16|It>>>16,V[Te]=It<<8|It>>>
124,J[Te]=It,Ce?(Ce=Oe^H[H[H[yt^Oe]]],he^=H[H[he]]):Ce=he=1}var St=[0,1,2,4,8,16,32,64,128,27,54];vn=vn.AES=w.extend({_doReset:function(){for(var wn=(et=this._key).words,$e=et.sigBytes/4,et=4*((this._nRounds=$e+6)+1),Lt=this._keySchedule=[],Ft=0;Ft<et;Ft++)if(Ft<$e)Lt[Ft]=wn[Ft];else{var nn=Lt[Ft-1];Ft%$e?6<$e&&Ft%$e==4&&(nn=C[nn>>>24]<<24|C[nn>>>16&255]<<16|C[nn>>>8&255]<<8|C[255&nn]):(nn=C[(nn=nn<<8|nn>>>24)>>>24]<<24|C[nn>>>16&255]<<16|C[nn>>>8&255]<<8|C[255&nn],nn^=St[Ft/$e|0]<<24),Lt[Ft]=Lt[Ft-$e]^nn}for(wn=this._invKeySchedule=[],$e=0;$e<et;$e++)Ft=et-$e,nn=$e%4?Lt[Ft]:Lt[Ft-4],wn[$e]=4>$e||4>=Ft?nn:T[C[nn>>>24]]^O[C[nn>>>16&255]]^V[C[nn>>>8&255]]^J[C[255&nn]]},encryptBlock:function(wn,$e){this._doCryptBlock(wn,$e,this._keySchedule,Q,oe,se,y,C)},decryptBlock:function(wn,$e){var et=wn[$e+1];wn[$e+1]=wn[$e+3],wn[$e+3]=et,this._doCryptBlock(wn,$e,this._invKeySchedule,T,O,V,J,k),et=wn[$e+1],wn[$e+1]=wn[$e+3],wn[$e+3]=et},_doCryptBlock:function(wn,$e,et,Lt,Ft,nn,_n,en){for(var an=this._nRounds,Ni=wn[$e]^et[0],fo=wn[$e+1]^et[1],Pi=wn[$e+2]^et[2],hi=wn[$e+3]^et[3],pn=4,Rn=1;Rn<an;Rn++){var $r=Lt[Ni>>>24]^Ft[fo>>>16&255]^nn[Pi>>>8&255]^_n[255&hi]^et[pn++],ii=Lt[fo>>>24]^Ft[Pi>>>16&255]^nn[hi>>>8&255]^_n[255&Ni]^et[pn++],Ur=Lt[Pi>>>24]^Ft[hi>>>16&255]^nn[Ni>>>8&255]^_n[255&fo]^et[pn++];hi=Lt[hi>>>24]^Ft[Ni>>>16&255]^nn[fo>>>8&255]^_n[255&Pi]^et[pn++],Ni=$r,fo=ii,Pi=Ur}$r=(en[Ni>>>24]<<24|en[fo>>>16&255]<<16|en[Pi>>>8&255]<<8|en[255&hi])^et[pn++],ii=(en[fo>>>24]<<24|en[Pi>>>16&255]<<16|en[hi>>>8&255]<<8|en[255&Ni])^et[pn++],Ur=(en[Pi>>>24]<<24|en[hi>>>16&255]<<16|en[Ni>>>8&255]<<8|en[255&fo])^et[pn++],hi=(en[hi>>>24]<<24|en[Ni>>>16&255]<<16|en[fo>>>8&255]<<8|en[255&Pi])^et[pn++],wn[$e]=$r,wn[$e+1]=ii,wn[$e+2]=Ur,wn[$e+3]=hi},keySize:8}),l.AES=w._createHelper(vn)}(),function(){function l(H,z){var Ce=(this._lBlock>>>H^this._rBlock)&z;this._rBlock^=Ce,this._lBlock^=Ce<<H}function w(H,z){var Ce=(this._rBlock>>>H^this._lBlock)&z;this._lBlock^=Ce,this._rBlock^=Ce<<H}var Q,C=b,k=(Q=C.lib).WordArray,oe=C.algo,se=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],y=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],T=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],O
vendor: 7,629 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
1V=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],J=oe.DES=(Q=Q.BlockCipher).extend({_doReset:function(){for(var H=this._key.words,z=[],Ce=0;56>Ce;Ce++){var he=se[Ce]-1;z[Ce]=H[he>>>5]>>>31-he%32&1}for(H=this._subKeys=[],he=0;16>he;he++){var Te=H[he]=[],Oe=T[he];for(Ce=0;24>Ce;Ce++)Te[Ce/6|0]|=z[(y[Ce]-1+Oe)%28]<<31-Ce%6,Te[4+(Ce/6|0)]|=z[28+(y[Ce+24]-1+Oe)%28]<<31-Ce%6;for(Te[0]=Te[0]<<1|Te[0]>>>31,Ce=1;7>Ce;Ce++)Te[Ce]>>>=4*(Ce-1)+3;Te[7]=Te[7]<<5|Te[7]>>>27}for(z=this._invSubKeys=[],Ce=0;16>Ce;Ce++)z[Ce]=H[15-Ce]},encryptBlock:function(H,z){this._doCryptBlock(H,z,this._subKeys)},decryptBlock:function(H,z){this._doCryptBlock(H,z,this._invSubKeys)},_doCryptBlock:function(H,z,Ce){this._lBlock=H[z],this._rBlock=H[z+1],l.call(this,4,252645135),l.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),l.call(this,1,1431655765);for(var he=0;16>he;he++){for(var Te=Ce[he],Oe=this._lBlock,Ge=this._rBlock,yt=0,It=0;8>It;It++)yt|=O[It][((Ge^Te[It])&V[It])>>>0];this._lBlock=Ge,this._rBlock=Oe^yt}Ce=this._lBlock,this._lBlock=this._rBlock,this._rBlock=Ce,l.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),H[z]=this._lBlock,H[z+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});C.DES=Q._createHelper(J),oe=oe.TripleDES=Q.extend({_doReset:function(){var H=this._key.words;this._des1=J.createEncryptor(k.create(H.slice(0,2))),this._des2=J.createEncryptor(k.create(H.slice(2,4))),this._des3=J.createEncryptor(k.create(H.slice(4,6)))},encryptBlock:function(H,z){this._des1.encryptBlock(H,z),this._des2.decryptBlock(H,z),this._des3.encryptBlock(H,z)},decryptBlock:function(H,z){this._des3.decryptBlock(H,z),this._des2.encryptBlock(H,z),this._des1.decryptBlock(H,z)},keySize:6,ivSize:2,blockSize:2}),C.TripleDES=Q._createHelper(oe)}(),w=b.lib.WordArray,b.enc.Base64={stringify:function(C){var k=C.words,Q=C.sigBytes,oe=this._map;C.clamp(),C=[];for(var se=0;se<Q;se+=3)for(var y=(k[se>>>2]>>>24-se%4*8&255)<<16|(k[se+1>>>2]>>>24-(se+1)%4*8&255)<<8|k[se+2>>>2]>>>24-(se+2)%4*8&255,T=0;4>T&&se+.75*T<Q;T++)C.push(oe.charAt(y>>>6*(3-T)&63));if(k=oe.charAt(64))for(;C.length%4;)C.push(k);return C.join("")},parse:function(C){var k=C.length,Q=this._map;(oe=Q.charAt(64))&&-1!=(oe=C.indexOf(oe))&&(k=oe);for(var oe=[],se=0,y=0;y<k;y++)if(y%4){var T=Q.indexOf(C.charAt(y-1))<<y%4*2,O=Q.indexOf(C.charAt(y))>>>6-y%4*2;oe[se>>>2]|=(T|O)<<24-se%4*8,se++}return w.create(oe,se)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(l){function w(J,H,z,Ce,he,Te,Oe){return((J=J+(H&z|~H&Ce)+he+Oe)<<Te|J>>>32-Te)+H}function C(J,H,z,Ce,he,Te,Oe){return((J=J+(H&Ce|z&~Ce)+he+Oe)<<Te|J>>>32-Te)+H}function k(J,H,z,Ce,he,Te,Oe){return((J=J+(H^z^Ce)+he+Oe)<<Te|J>>>32-Te)+H}function Q(J,H,z,Ce,he,Te,Oe){return((J=J+(z^(H|~Ce))+he+Oe)<<Te|J>>>32-Te)+H}for(var oe=b,se=(T=oe.lib).WordArray,y=T.Hasher,T=oe.algo,O=[],V=0;64>V;V++)O[V]=4294967296*l.abs(l.sin(V+1))|0;T=T.MD5=y.extend({_doReset:function(){this._hash=new se.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(J,H){for(var z=0;16>z;z++)J[Ce=H+z]=16711935&((he=J[Ce])<<8|he>>>24)|4278255360&(he<<24|he>>>8);var Ce,he=J[H+1],Te=J[H+2],Oe=J[H+3],Ge=J[H+4],yt=J[H+5],It=J[H+6],St=J[H+7],vn=J[H+8],wn=J[H+9],$e=J[H+10],et=J[H+11],Lt=J[H+12],Ft=J[H+13],nn=J[H+14],_n=J[H+15],en=w(en=(z=this._hash.words)[0],Rn=z[1],pn=z[2],an=z[3],Ce=J[H+0],7,O[0]),an=w(an,en,Rn,pn,he,12,O[1]),pn=w(pn,an,en,Rn,Te,17,O[2]),Rn=w(Rn,pn,an,en,Oe,22,O[3]);en=w(en,Rn,pn,an,Ge,7,O[4]),an=w(an,en,Rn,pn,yt,12,O[5]),pn=w(pn,an,en,Rn,It,17,O[6]),Rn=w(Rn,pn,an,en,St,22,O[7]),en=w(en,Rn,pn,an,vn,7,O[8]),an=w(an,en,Rn,pn,wn,12,O[9]),pn=w(pn,an,en,Rn,$e,17,O[10]),Rn=w(Rn,pn,an,en,et,22,O[11]),en=w(en,Rn,pn,an,Lt,7,O[12]),an=w(an,en,Rn,pn,Ft,12,O[13]),pn=w(pn,an,en,Rn,nn,17,O[14]),en=C(en,Rn=w(Rn,pn,an,en,_n,22,O[15]),pn,an,he,5,O[16]),an=C(an,en,Rn,pn,It,9,O[17]),pn=C(pn,an,en,Rn,et,14,O[18]),Rn=C(Rn,pn,an,en,Ce,20,O[19]),en=C(en,Rn,pn,an,yt,5,O[20]),an=C(an,en,Rn,pn,$e,9,O[21]),pn=C(pn,an,en,Rn,_n,14,O[22]),Rn=C(Rn,pn,an,en,Ge,20,O[23]),en=C(en,Rn,pn,an,wn,5,O[24]),an=C(an,en,Rn,pn,nn,9,O[25]),pn=C(pn,an,en,Rn,Oe,14,O[26]),Rn=C(Rn,pn,an,en,vn,20,O[27]),en=C(en,Rn,pn,an,Ft,5,O[28]),an=C(an,en,Rn,pn,Te,9,O[29]),pn=C(pn,an,en,Rn,St,14,O[30]),en=k(en,Rn=C(Rn,pn,an,en,Lt,20,O[31]),pn,an,yt,4,O[32]),an=k(an,en,Rn,pn,vn,11,O[33]),pn=k(pn,an,en,Rn,et,16,O[34]),Rn=k(Rn,pn,an,en,nn,23,O[35]),en=k(en,Rn,pn,an,he,4,O[36]),an=k(an,en,Rn,pn,Ge,11,O[37]),pn=k(pn,an,en,Rn,St,16,O[38]),Rn=k(Rn,pn,an,en,$e,23,O[39]),en=k(en,Rn,pn,an,Ft,4,O[40]),an=k(an,en,Rn,pn,Ce,11,O[41]),pn=k(pn,an,en,Rn,Oe,16,O[42]),Rn=k(Rn,pn,an,en,It,23,O[43]),en=k(en,Rn,pn,an,wn,4,O[44]),an=k(an,en,Rn,pn,Lt,11,O[45]),pn=k(pn,an,en,Rn,_n,16,O[46]),en=Q(en,Rn=k(Rn,pn,an,en,Te,23,O[47]),pn,an,Ce,6,O[48]),an=Q(an,en,Rn,pn,St,10,O[49]),pn=Q(pn,an,en,Rn,nn,15,O[50]),Rn=Q(Rn,pn,an,en,yt,21,O[51]),en=Q(en,Rn,pn,an,Lt,6,O[52]),an=Q(an,en,Rn,pn,Oe,10,O[53]),pn=Q(pn,an,en,Rn,$e,15,O[54]),Rn=Q(Rn,pn,an,en,he,21,O[55]),en=Q(en,Rn,pn,an,vn,6,O[56]),an=Q(an,en,Rn,pn,_n,10,O[57]),pn=Q(pn,an,en,Rn,It,15,O[58]),Rn=Q(Rn,pn,an,en,Ft,21,O[59]),en=Q(en,Rn,pn,an,Ge,6,O[60]),an=Q(an,en,Rn,pn,et,10,O[61]),pn=Q(pn,an,en,Rn,Te,15,O[62]),Rn=Q(Rn,pn,an,en,wn,21,O[63]),z[0]=z[0]+en|0,z[1]=z[1]+Rn|0,z[2]=z[2]+pn|0,z[3]=z[3]+an|0},_doFinalize:function(){var J=this._data,H=J.words,z=8*this._nDataBytes,Ce=8*J.sigBytes;H[Ce>>>5]|=128<<24-Ce%32;var he=l.floor(z/4294967296);for(H[15+(Ce+64>>>9<<4)]=16711935&(he<<8|he>>>24)|4278255360&(he<<24|he>>>8),H[14+(Ce+64>>>9<<4)]=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8),J.sigBytes=4*(H.length+1),this._process(),H=(J=this._hash).words,z=0;4>z;z++)H[z]=16711935&((Ce=H[z])<<8|Ce>>>24)|4278255360&(Ce<<24|Ce>>>8);return J},clone:function(){var J=y.clone.call(this);return J._hash=this._hash.clone(),J}}),oe.MD5=y._createHelper(T),oe.HmacMD5=y._createHmacHelper(T)}(Math),function(){var l=b,w=(Q=l.lib).WordArray,C=Q.Hasher,k=[],Q=l.algo.SHA1=C.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(oe,se){for(var y=this._hash.words,T=y[0],O=y[1],V=y[2],J=y[3],H=y[4],z=0;80>z;
1z++){if(16>z)k[z]=0|oe[se+z];else{var Ce=k[z-3]^k[z-8]^k[z-14]^k[z-16];k[z]=Ce<<1|Ce>>>31}Ce=(T<<5|T>>>27)+H+k[z],Ce=20>z?Ce+(1518500249+(O&V|~O&J)):40>z?Ce+(1859775393+(O^V^J)):60>z?Ce+((O&V|O&J|V&J)-1894007588):Ce+((O^V^J)-899497514),H=J,J=V,V=O<<30|O>>>2,O=T,T=Ce}y[0]=y[0]+T|0,y[1]=y[1]+O|0,y[2]=y[2]+V|0,y[3]=y[3]+J|0,y[4]=y[4]+H|0},_doFinalize:function(){var oe=this._data,se=oe.words,y=8*this._nDataBytes,T=8*oe.sigBytes;return se[T>>>5]|=128<<24-T%32,se[14+(T+64>>>9<<4)]=Math.floor(y/4294967296),se[15+(T+64>>>9<<4)]=y,oe.sigBytes=4*se.length,this._process(),this._hash},clone:function(){var oe=C.clone.call(this);return oe._hash=this._hash.clone(),oe}});l.SHA1=C._createHelper(Q),l.HmacSHA1=C._createHmacHelper(Q)}(),function(l){for(var w=b,C=(z=w.lib).WordArray,k=z.Hasher,z=w.algo,Q=[],oe=[],se=function(he){return 4294967296*(he-(0|he))|0},y=2,T=0;64>T;){var O;e:{for(var V=l.sqrt(O=y),J=2;J<=V;J++)if(!(O%J)){O=!1;break e}O=!0}O&&(8>T&&(Q[T]=se(l.pow(y,.5))),oe[T]=se(l.pow(y,1/3)),T++),y++}var H=[];z=z.SHA256=k.extend({_doReset:function(){this._hash=new C.init(Q.slice(0))},_doProcessBlock:function(Ce,he){for(var Te=this._hash.words,Oe=Te[0],Ge=Te[1],yt=Te[2],It=Te[3],St=Te[4],vn=Te[5],wn=Te[6],$e=Te[7],et=0;64>et;et++){if(16>et)H[et]=0|Ce[he+et];else{var Lt=H[et-15],Ft=H[et-2];H[et]=((Lt<<25|Lt>>>7)^(Lt<<14|Lt>>>18)^Lt>>>3)+H[et-7]+((Ft<<15|Ft>>>17)^(Ft<<13|Ft>>>19)^Ft>>
1>10)+H[et-16]}Lt=$e+((St<<26|St>>>6)^(St<<21|St>>>11)^(St<<7|St>>>25))+(St&vn^~St&wn)+oe[et]+H[et],Ft=((Oe<<30|Oe>>>2)^(Oe<<19|Oe>>>13)^(Oe<<10|Oe>>>22))+(Oe&Ge^Oe&yt^Ge&yt),$e=wn,wn=vn,vn=St,St=It+Lt|0,It=yt,yt=Ge,Ge=Oe,Oe=Lt+Ft|0}Te[0]=Te[0]+Oe|0,Te[1]=Te[1]+Ge|0,Te[2]=Te[2]+yt|0,Te[3]=Te[3]+It|0,Te[4]=Te[4]+St|0,Te[5]=Te[5]+vn|0,Te[6]=Te[6]+wn|0,Te[7]=Te[7]+$e|0},_doFinalize:function(){var Ce=this._data,he=Ce.words,Te=8*this._nDataBytes,Oe=8*Ce.sigBytes;return he[Oe>>>5]|=128<<24-Oe%32,he[14+(Oe+64>>>9<<4)]=l.floor(Te/4294967296),he[15+(Oe+64>>>9<<4)]=Te,Ce.sigBytes=4*he.length,this._process(),this._hash},clone:function(){var Ce=k.clone.call(this);return Ce._hash=this._hash.clone(),Ce}}),w.SHA256=k._createHelper(z),w.HmacSHA256=k._createHmacHelper(z)}(Math),function(){var l=b,w=l.lib.WordArray,C=(k=l.algo).SHA256,k=k.SHA224=C.extend({_doReset:function(){this._hash=new w.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var Q=C._doFinalize.call(this);return Q.sigBytes-=4,Q}});l.SHA224=C._createHelper(k),l.HmacSHA224=C._createHmacHelper(k)}(),function(){function l(){return k.create.apply(k,arguments)}for(var w=b,C=w.lib.Hasher,k=(oe=w.x64).Word,Q=oe.WordArray,oe=w.algo,se=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],y=[],T=0;80>T;T++)y[T]=l();oe=oe.SHA512=C.extend({_doReset:function(){this._hash=new Q.init([new k.init(1779033703,4089235720),new k.init(3144134277,2227873595),new k.init(1013904242,4271175723),new k.init(2773480762,1595750129),new k.init(1359893119,2917565137),new k.init(2600822924,725511199),new k.init(528734635,4215389547),new k.init(1541459225,327033209)])},_doProcessBlock:function(O,V){for(var Ge,J=(Ge=this._hash.words)[0],H=Ge[1],z=Ge[2],Ce=Ge[3],he=Ge[4],Te=Ge[5],Oe=Ge[6],yt=J.high,It=J.low,St=H.high,vn=H.low,wn=z.high,$e=z.low,et=Ce.high,Lt=Ce.low,Ft=he.high,nn=he.low,_n=Te.high,en=Te.low,an=Oe.high,pn=Oe.low,Rn=(Ge=Ge[7]).high,$r=Ge.low,ii=yt,Ur=It,hi=St,Ni=vn,fo=wn,Pi=$e,Dr=et,ws=Lt,cs=Ft,us=nn,Yo=_n,ho=en,jo=an,io=pn,ds=Rn,Ms=$r,Co=0;80>Co;Co++){var rr=y[Co];if(16>Co)var Gs=rr.high=0|O[V+2*Co],On=rr.low=0|O[V+2*Co+1];else{Gs=((On=(Gs=y[Co-15]).high)>>>1|(Li=Gs.low)<<31)^(On>>>8|Li<<24)^On>>>7;var Li=(Li>>>1|On<<31)^(Li>>>8|On<<24)^(Li>>>7|On<<25),ct=((On=(ct=y[Co-2]).high)>>>19|(Nt=ct.low)<<13)^(On<<3|Nt>>>29)^On>>>6,Nt=(Nt>>>19|On<<13)^(Nt<<3|On>>>29)^(Nt>>>6|On<<26);rr.high=Gs=(Gs=(Gs=Gs+(Ul=(On=y[Co-7]).high)+((On=Li+On.low)>>>0<Li>>>0?1:0))+ct+((On+=Nt)>>>0<Nt>>>0?1:0))+(hn=(pa=y[Co-16]).high)+((On+=pa=pa.low)>>>0<pa>>>0?1:0),rr.low=On}var Ul=cs&Yo^~cs&jo,pa=us&ho^~us&io,Sc=(rr=ii&hi^ii&fo^hi&fo,Ur&Ni^Ur&Pi^Ni&Pi),Fe=(Nt=se[Co]).high,ot=Nt.low,hn=ds+((cs>>>14|us<<18)^(cs>>>18|us<<14)^(cs<<23|us>>>9))+((Nt=Ms+((us>>>14|cs<<18)^(us>>>18|cs<<14)^(us<<23|cs>>>9)))>>>0<Ms>>>0?1:0);ds=jo,Ms=io,jo=Yo,io=ho,Yo=cs,ho=us,cs=Dr+(hn=(hn=(hn=hn+Ul+((Nt+=pa)>>>0<pa>>>0?1:0))+Fe+((Nt+=ot)>>>0<ot>>>0?1:0))+Gs+((Nt+=On)>>>0<On>>>0?1:0))+((us=ws+Nt|0)>>>0<ws>>>0?1:0)|0,Dr=fo,ws=Pi,fo=hi,Pi=Ni,hi=ii,Ni=Ur,ii=hn+(rr=(Li=(ii>>>28|Ur<<4)^(ii<<30|Ur>>>2)^(ii<<25|Ur>>>7))+rr+((On=(ct=(Ur>>>28|ii<<4)^(Ur<<30|ii>>>2)^(Ur<<25|ii>>>7))+Sc)>>>0<ct>>>0?1:0))+((Ur=Nt+On|0)>>>0<Nt>>>0?1:0)|0}It=J.low=It+Ur,J.high=yt+ii+(It>>>0<Ur>>>0?1:0),vn=H.low=vn+Ni,H.high=St+hi+(vn>>>0<Ni>>>0?1:0),$e=z.low=$e+Pi,z.high=wn+fo+($e>>>0<Pi>>>0?1:0),Lt=Ce.low=Lt+ws,Ce.high=et+Dr+(Lt>>>0<ws>>>0?1:0),nn=he.low=nn+us,he.high=Ft+cs+(nn>>>0<us>>>0?1:0),en=Te.low=en+ho,Te.high=_n+Yo+(en>>>0<ho>>>0?1:0),pn=Oe.low=pn+io,Oe.high=an+jo+(pn>>>0<io>>>0?1:0),$r=Ge.low=$r+Ms,Ge.high=Rn+ds+($r>>>0<Ms>>>0?1:0)},_doFinalize:function(){var O=this._data,V=O.words,J=8*this._nDataBytes,H=8*O.sigBytes;return V[H>>>5]|=128<<24-H%32,V[30+(H+128>>>10<<5)]=Math.floor(J/4294967296),V[31+(H+128>>>10<<5)]=J,O.sigBytes=4*V.length,this._process(),this._hash.toX32()},clone:function(){var O=C.clone.call(this);return O._hash=this._hash.clone(),O},blockSize:32}),w.SHA512=C._createHelper(oe),w.HmacSHA512=C._createHmacHelper(oe)}(),function(){var l=b,w=(Q=l.x64).Word,C=Q.WordArray,k=(Q=l.algo).SHA512,Q=Q.SHA384=k.extend({_doReset:function(){this._hash=new C.init([new w.init(3418070365,3238371032),new w.init(1654270250,914150663),new w.init(2438529370,812702999),new w.init(355462360,4144912697),new w.init(1731405415,4290775857),new w.init(2394180231,1750603025),new w.init(3675008525,1694076839),new w.init(1203062813,3204075428)])},_doFinalize:function(){var oe=k._doFinalize.call(this);return oe.sigBytes-=16,oe}});l.SHA384=k._createHelper(Q),l.HmacSHA384=k._createHmacHelper(Q)}(),function(){var l=b,w=(O=l.lib).WordArray,C=O.Hasher,O=l.algo,k=w.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),Q=w.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),oe=w.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),se=w.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=w.create([0,1518500249,1859775393,2400959708,2840853838]),T=w.create([1352829926,1548603684,1836072691,2053994217,0]);O=O.RIPEMD160=C.extend({_doReset:function(){this._hash=w.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(V,J){for(var H=0;16>H;H++)V[z=J+H]=16711935&((Ce=V[z])<<8|Ce>>>24)|4278255360&(Ce<<24|Ce>>>8);var z,It,St,vn,wn,$e,et,Lt,Ft,nn,_n,en,Ce=y.words,he=T.words,Te=k.words,Oe=Q.words,Ge=oe.words,yt=se.words;for(et=It=(z=this._hash.words)[0],Lt=St=z[1],Ft=vn=z[2],nn=wn=z[3],_n=$e=z[4],H=0;80>H;H+=1)en=It+V[J+Te[H]]|0,en=16>H?en+((St^vn^wn)+Ce[0]):32>H?en+((St&vn|~St&wn)+Ce[1]):48>H?en+(((St|~vn)^wn)+Ce[2]):64>H?en+((St&wn|vn&~wn)+Ce[3]):en+((St^(vn|~wn))+Ce[4]),en=(en=(en|=0)<<Ge[H]|en>>>32-Ge[H])+$e|0,It=$e,$e=wn,wn=vn<<10|vn>>>22,vn=St,St=en,en=et+V[J+Oe[H]]|0,en=16>H?en+((Lt^(Ft|~nn))+he[0]):32>H?en+((Lt&nn|Ft&~nn)+he[1]):48>H?en+(((Lt|~Ft)^nn)+he[2]):64>H?en+((Lt&Ft|~Lt&nn)+he[3]):en+((Lt^Ft^nn)+he[4]),en=(en=(en|=0)<<yt[H]|en>>>32-yt[H])+_n|0,et=_n,_n=nn,nn=Ft<<10|Ft>>>22,Ft=Lt,Lt=en;en=z[1]+vn+nn|0,z[1]=z[2]+wn+_n|0,z[2]=z[3]+$e+et|0,z[3]=z[4]+It+Lt|0,z[4]=z[0]+St+Ft|0,z[0]=en},_doFinalize:function(){var V=this._data,J=V.words,H=8*this._nDataBytes,z=8*V.sigBytes;for(J[z>>>5]|=128<<24-z%32,J[14+(z+64>>>9<<4)]=16711935&(H<<8|H>>>24)|4278255360&(H<<24|H>>>8),V.sigBytes=4*(J.length+1),this._process(),J=(V=this._hash).words,H=0;5>H;H++)J[H]=16711935&((z=J[H])<<8|z>>>24)|4278255360&(z<<24|z>>>8);return V},clone:function(){var V=C.clone.call(this);return V._hash=this._hash.clone(),V}}),l.RIPEMD160=C._createHelper(O),l.HmacRIPEMD160=C._createHmacHelper(O)}(Math),function(){var w=b.enc.Utf8;b.algo.HMAC=b.lib.Base.extend({init:function(C,k){C=this._hasher=new C.init,"string"==typeof k&&(k=w.parse(k));var Q=C.blockSize,oe=4*Q;k.sigBytes>oe&&(k=C.finalize(k)),k.clamp();for(var se=this._oKey=k.clone(),y=this._iKey=k.clone(),T=se.words,O=y.words,V=0;V<Q;V++)T[V]^=1549556828,O[V]^=909522486;se.sigBytes=y.sigBytes=oe,this.reset()},reset:function(){var C=this._hasher;C.reset(),C.update(this._iKey)},update:function(C){return this._hasher.update(C),this},finalize:function(C){var k=this._hasher;return C=k.finalize(C),k.reset(),k.finalize(this._oKey.clone().concat(C))}})}(),function(){var k,l=b,w=(k=l.lib).Base,C=k.WordArray,Q=(k=l.algo).HMAC,oe=k.PBKDF2=w.extend({cfg:w.extend({keySize:4,hasher:k.SHA1,iterations:1}),init:function(se){this.cfg=this.cfg.extend(se)},compute:function(se,y){for(var T=Q.create((Ce=this.cfg).hasher,se),O=C.create(),V=C.create([1]),J=O.words,H=V.words,z=Ce.keySize,Ce=Ce.iterations;J.length<z;){var he=T.update(y).finalize(V);T.reset();for(var Te=he.words,Oe=Te.length,Ge=he,yt=1;yt<Ce;yt++){Ge=T.finalize(Ge),T.reset();for(var It=Ge.words,St=0;St<Oe;St++)Te[St]^=It[St]}O.concat(he),H[0]++}return O.sigBytes=4*z,O}});l.PBKDF2=function(se,y,T){return oe.create(T).compute(se,y)}}();var B,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 9,006 bytes, line 1
1+/";function N(l){var w,C,k="";for(w=0;w+3<=l.length;w+=3)C=parseInt(l.substring(w,w+3),16),k+=A.charAt(C>>6)+A.charAt(63&C);for(w+1==l.length?(C=parseInt(l.substring(w,w+1),16),k+=A.charAt(C<<2)):w+2==l.length&&(C=parseInt(l.substring(w,w+2),16),k+=A.charAt(C>>2)+A.charAt((3&C)<<4));(3&k.length)>0;)k+="=";return k}function q(l){var C,Q,oe,w="",k=0;for(C=0;C<l.length&&"="!=l.charAt(C);++C)!((oe=A.indexOf(l.charAt(C)))<0)&&(0==k?(w+=te(oe>>2),Q=3&oe,k=1):1==k?(w+=te(Q<<2|oe>>4),Q=15&oe,k=2):2==k?(w+=te(Q),w+=te(oe>>2),Q=3&oe,k=3):(w+=te(Q<<2|oe>>4),w+=te(15&oe),k=0));return 1==k&&(w+=te(Q<<2)),w}function U(l,w,C){null!=l&&("number"==typeof l?this.fromNumber(l,w,C):this.fromString(l,null==w&&"string"!=typeof l?256:w))}function ne(){return new U(null)}"Microsoft Internet Explorer"==S.appName?(U.prototype.am=function W(l,w,C,k,Q,oe){for(var se=32767&w,y=w>>15;--oe>=0;){var T=32767&this[l],O=this[l++]>>15,V=y*T+O*se;Q=((T=se*T+((32767&V)<<15)+C[k]+(1073741823&Q))>>>30)+(V>>>15)+y*O+(Q>>>30),C[k++]=1073741823&T}return Q},B=30):"Netscape"!=S.appName?(U.prototype.am=function X(l,w,C,k,Q,oe){for(;--oe>=0;){var se=w*this[l++]+C[k]+Q;Q=Math.floor(se/67108864),C[k++]=67108863&se}return Q},B=26):(U.prototype.am=function Z(l,w,C,k,Q,oe){for(var se=16383&w,y=w>>14;--oe>=0;){var T=16383&this[l],O=this[l++]>>14,V=y*T+O*se;Q=((T=se*T+((16383&V)<<14)+C[k]+Q)>>28)+(V>>14)+y*O,C[k++]=268435455&T}return Q},B=28),U.prototype.DB=B,U.prototype.DM=(1<<B)-1,U.prototype.DV=1<<B,U.prototype.FV=Math.pow(2,52),U.prototype.F1=52-B,U.prototype.F2=2*B-52;var ue,ae,ce=new Array;for(ue=48,ae=0;ae<=9;++ae)ce[ue++]=ae;for(ue=97,ae=10;ae<36;++ae)ce[ue++]=ae;for(ue=65,ae=10;ae<36;++ae)ce[ue++]=ae;function te(l){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(l)}function de(l,w){return ce[l.charCodeAt(w)]??-1}function De(l){var w=ne();return w.fromInt(l),w}function $t(l){var C,w=1;return 0!=(C=l>>>16)&&(l=C,w+=16),0!=(C=l>>8)&&(l=C,w+=8),0!=(C=l>>4)&&(l=C,w+=4),0!=(C=l>>2)&&(l=C,w+=2),0!=(C=l>>1)&&(l=C,w+=1),w}function rt(l){this.m=l}function lr(l){this.m=l,this.mp=l.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<l.DB-15)-1,this.mt2=2*l.t}function Tt(l,w){return l&w}function Xt(l,w){return l|w}function wt(l,w){return l^w}function xn(l,w){return l&~w}function He(l){if(0==l)return-1;var w=0;return!(65535&l)&&(l>>=16,w+=16),!(255&l)&&(l>>=8,w+=8),!(15&l)&&(l>>=4,w+=4),!(3&l)&&(l>>=2,w+=2),!(1&l)&&++w,w}function Ht(l){for(var w=0;0!=l;)l&=l-1,++w;return w}function Ei(){}function _i(l){return l}function dt(l){this.r2=ne(),this.q3=ne(),U.ONE.dlShiftTo(2*l.t,this.r2),this.mu=this.r2.divide(l),this.m=l}rt.prototype.convert=function ut(l){return l.s<0||l.compareTo(this.m)>=0?l.mod(this.m):l},rt.prototype.revert=function kt(l){return l},rt.prototype.reduce=function Dt(l){l.divRemTo(this.m,null,l)},rt.prototype.mulTo=function Sn(l,w,C){l.multiplyTo(w,C),this.reduce(C)},rt.prototype.sqrTo=function An(l,w){l.squareTo(w),this.reduce(w)},lr.prototype.convert=function jn(l){var w=ne();return l.abs().dlShiftTo(this.m.t,w),w.divRemTo(this.m,null,w),l.s<0&&w.compareTo(U.ZERO)>0&&this.m.subTo(w,w),w},lr.prototype.revert=function xr(l){var w=ne();return l.copyTo(w),this.reduce(w),w},lr.prototype.reduce=function tn(l){for(;l.t<=this.mt2;)l[l.t++]=0;for(var w=0;w<this.m.t;++w){var C=32767&l[w],k=C*this.mpl+((C*this.mph+(l[w]>>15)*this.mpl&this.um)<<15)&l.DM;for(l[C=w+this.m.t]+=this.m.am(0,k,l,w,0,this.m.t);l[C]>=l.DV;)l[C]-=l.DV,l[++C]++}l.clamp(),l.drShiftTo(this.m.t,l),l.compareTo(this.m)>=0&&l.subTo(this.m,l)},lr.prototype.mulTo=function bn(l,w,C){l.multiplyTo(w,C),this.reduce(C)},lr.prototype.sqrTo=function dn(l,w){l.squareTo(w),this.reduce(w)},U.prototype.copyTo=function _e(l){for(var w=this.t-1;w>=0;--w)l[w]=this[w];l.t=this.t,l.s=this.s},U.prototype.fromInt=function we(l){this.t=1,this.s=l<0?-1:0,l>0?this[0]=l:l<-1?this[0]=l+this.DV:this.t=0},U.prototype.fromString=function Ie(l,w){var C;if(16==w)C=4;else if(8==w)C=3;else if(256==w)C=8;else if(2==w)C=1;else if(32==w)C=5;else{if(4!=w)return void this.fromRadix(l,w);C=2}this.t=0,this.s=0;for(var k=l.length,Q=!1,oe=0;--k>=0;){var se=8==C?255&l[k]:de(l,k);se<0?"-"==l.charAt(k)&&(Q=!0):(Q=!1,0==oe?this[this.t++]=se:oe+C>this.DB?(this[this.t-1]|=(se&(1<<this.DB-oe)-1)<<oe,this[this.t++]=se>>this.DB-oe):this[this.t-1]|=se<<oe,(oe+=C)>=this.DB&&(oe-=this.DB))}8==C&&!!(128&l[0])&&(this.s=-1,oe>0&&(this[this.t-1]|=(1<<this.DB-oe)-1<<oe)),this.clamp(),Q&&U.ZERO.subTo(this,this)},U.prototype.clamp=function Me(){for(var l=this.s&this.DM;this.t>0&&this[this.t-1]==l;)--this.t},U.prototype.dlShiftTo=function xt(l,w){var C;for(C=this.t-1;C>=0;--C)w[C+l]=this[C];for(C=l-1;C>=0;--C)w[C]=0;w.t=this.t+l,w.s=this.s},U.prototype.drShiftTo=function Ot(l,w){for(var C=l;C<this.t;++C)w[C-l]=this[C];w.t=Math.max(this.t-l,0),w.s=this.s},U.prototype.lShiftTo=function ke(l,w){var y,C=l%this.DB,k=this.DB-C,Q=(1<<k)-1,oe=Math.floor(l/this.DB),se=this.s<<C&this.DM;for(y=this.t-1;y>=0;--y)w[y+oe+1]=this[y]>>k|se,se=(this[y]&Q)<<C;for(y=oe-1;y>=0;--y)w[y]=0;w[oe]=se,w.t=this.t+oe+1,w.s=this.s,w.clamp()},U.prototype.rShiftTo=function qe(l,w){w.s=this.s;var C=Math.floor(l/this.DB);if(C>=this.t)w.t=0;else{var k=l%this.DB,Q=this.DB-k,oe=(1<<k)-1;w[0]=this[C]>>k;for(var se=C+1;se<this.t;++se)w[se-C-1]|=(this[se]&oe)<<Q,w[se-C]=this[se]>>k;k>0&&(w[this.t-C-1]|=(this.s&oe)<<Q),w.t=this.t-C,w.clamp()}},U.prototype.subTo=function At(l,w){for(var C=0,k=0,Q=Math.min(l.t,this.t);C<Q;)k+=this[C]-l[C],w[C++]=k&this.DM,k>>=this.DB;if(l.t<this.t){for(k-=l.s;C<this.t;)k+=this[C],w[C++]=k&this.DM,k>>=this.DB;k+=this.s}else{for(k+=this.s;C<l.t;)k-=l[C],w[C++]=k&this.DM,k>>=this.DB;k-=l.s}w.s=k<0?-1:0,k<-1?w[C++]=this.DV+k:k>0&&(w[C++]=k),w.t=C,w.clamp()},U.prototype.multiplyTo=function Ct(l,w){var C=this.abs(),k=l.abs(),Q=C.t;for(w.t=Q+k.t;--Q>=0;)w[Q]=0;for(Q=0;Q<k.t;++Q)w[Q+C.t]=C.am(0,k[Q],w,Q,0,C.t);w.s=0,w.clamp(),this.s!=l.s&&U.ZERO.subTo(w,w)},U.prototype.squareTo=function _t(l){for(var w=this.abs(),C=l.t=2*w.t;--C>=0;)l[C]=0;for(C=0;C<w.t-1;++C){var k=w.am(C,w[C],l,2*C,0,1);(l[C+w.t]+=w.am(C+1,2*w[C],l,2*C+1,k,w.t-C-1))>=w.DV&&(l[C+w.t]-=w.DV,l[C+w.t+1]=1)}l.t>0&&(l[l.t-1]+=w.am(C,w[C],l,2*C,0,1)),l.s=0,l.clamp()},U.prototype.divRemTo=function Ke(l,w,C){var k=l.abs();if(k.t<=0)throw"BigInteger divide by zero";var Q=this.abs();if(Q.t<k.t)return w?.fromInt(0),void(null!=C&&this.copyTo(C));null==C&&(C=ne());var oe=ne(),se=this.s,y=l.s,T=this.DB-$t(k[k.t-1]);T>0?(k.lShiftTo(T,oe),Q.lShiftTo(T,C)):(k.copyTo(oe),Q.copyTo(C));var O=oe.t,V=oe[O-1];if(0!=V){var J=V*(1<<this.F1)+(O>1?oe[O-2]>>this.F2:0),H=this.FV/J,z=(1<<this.F1)/J,Ce=1<<this.F2,he=C.t,Te=he-O,Oe=w??ne();for(oe.dlShiftTo(Te,Oe),C.compareTo(Oe)>=0&&(C[C.t++]=1,C.subTo(Oe,C)),U.ONE.dlShiftTo(O,Oe),Oe.subTo(oe,oe);oe.t<O;)oe[oe.t++]=0;for(;--Te>=0;){var Ge=C[--he]==V?this.DM:Math.floor(C[he]*H+(C[he-1]+Ce)*z);if((C[he]+=oe.am(0,Ge,C,Te,0,O))<Ge)for(oe.dlShiftTo(Te,Oe),C.subTo(Oe,C);C[he]<--Ge;)C.subTo(Oe,C)}null!=w&&(C.drShiftTo(O,w),se!=y&&U.ZERO.subTo(w,w)),C.t=O,C.clamp(),T>0&&C.rShiftTo(T,C),se<0&&U.ZERO.subTo(C,C)}},U.prototype.invDigit=function Qn(){if(this.t<1)return 0;var l=this[0];if(!(1&l))return 0;var w=3&l;return(w=(w=(w=(w=w*(2-(15&l)*w)&15)*(2-(255&l)*w)&255)*(2-((65535&l)*w&65535))&65535)*(2-l*w%this.DV)%this.DV)>0?this.DV-w:-w},U.prototype.isEven=function Cn(){return 0==(this.t>0?1&this[0]:this.s)},U.prototype.exp=function En(l,w){if(l>4294967295||l<1)return U.ONE;var C=ne(),k=ne(),Q=w.convert(this),oe=$t(l)-1;for(Q.copyTo(C);--oe>=0;)if(w.sqrTo(C,k),(l&1<<oe)>0)w.mulTo(k,Q,C);else{var se=C;C=k,k=se}return w.revert(C)},U.prototype.toString=function Ze(l){if(this.s<0)return"-"+this.negate().toString(l);var w;if(16==l)w=4;else if(8==l)w=3;else if(2==l)w=1;else if(32==l)w=5;else{if(4!=l)return this.toRadix(l);w=2}var k,C=(1<<w)-1,Q=!1,oe="",se=this.t,y=this.DB-se*this.DB%w;if(se-- >0)for(y<this.DB&&(k=this[se]>>y)>0&&(Q=!0,oe=te(k));se>=0;)y<w?(k=(this[se]&(1<<y)-1)<<w-y,k|=this[--se]>>(y+=this.DB-w)):(k=this[se]>>(y-=w)&C,y<=0&&(y+=this.DB,--se)),k>0&&(Q=!0),Q&&(oe+=te(k));return Q?oe:"0"},U.prototype.negate=function Ye(){var l=ne();return U.ZERO.subTo(this,l),l},U.prototype.abs=function Je(){return this.s<0?this.negate():this},U.prototype.compareTo=function vt(l){var w=this.s-l.s;if(0!=w)return w;var C=this.t;if(0!=(w=C-l.t))return this.s<0?-w:w;for(;--C>=0;)if(0!=(w=this[C]-l[C]))return w;return 0},U.prototype.bitLength=function Et(){return this.t<=0?0:this.DB*(this.t-1)+$t(this[this.t-1]^this.s&this.DM)},U.prototype.mod=function mt(l){var w=ne();return this.abs().divRemTo(l,null,w),this.s<0&&w.compareTo(U.ZERO)>0&&l.subTo(w,w),w},U.prototype.modPowInt=function m(l,w){var C;return C=l<256||w.isEven()?new rt(w):new lr(w),this.exp(l,C)},U.ZERO=De(0),U.ONE=De(1),Ei.prototype.convert=_i,Ei.prototype.revert=_i,Ei.prototype.mulTo=function ti(l,w,C){l.multiplyTo(w,C)},Ei.prototype.sqrTo=function Uo(l,w){l.squareTo(w)},dt.prototype.convert=function Yt(l){if(l.s<0||l.t>2*this.m.t)return l.mod(this.m);
vendor: 7,047 bytes, line 1
1if(l.compareTo(this.m)<0)return l;var w=ne();return l.copyTo(w),this.reduce(w),w},dt.prototype.revert=function Gt(l){return l},dt.prototype.reduce=function Nn(l){for(l.drShiftTo(this.m.t-1,this.r2),l.t>this.m.t+1&&(l.t=this.m.t+1,l.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);l.compareTo(this.r2)<0;)l.dAddOffset(1,this.m.t+1);for(l.subTo(this.r2,l);l.compareTo(this.m)>=0;)l.subTo(this.m,l)},dt.prototype.mulTo=function kn(l,w,C){l.multiplyTo(w,C),this.reduce(C)},dt.prototype.sqrTo=function Yn(l,w){l.squareTo(w),this.reduce(w)};var Bn,Gn,fr,Ar=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Yi=(1<<26)/Ar[Ar.length-1];function to(){this.i=0,this.j=0,this.S=new Array}function xi(){!function Tr(l){Gn[fr++]^=255&l,Gn[fr++]^=l>>8&255,Gn[fr++]^=l>>16&255,Gn[fr++]^=l>>24&255,fr>=256&&(fr-=256)}((new Date).getTime())}if(U.prototype.chunkSize=function Kr(l){return Math.floor(Math.LN2*this.DB/Math.log(l))},U.prototype.toRadix=function yi(l){if(null==l&&(l=10),0==this.signum()||l<2||l>36)return"0";var w=this.chunkSize(l),C=Math.pow(l,w),k=De(C),Q=ne(),oe=ne(),se="";for(this.divRemTo(k,Q,oe);Q.signum()>0;)se=(C+oe.intValue()).toString(l).substr(1)+se,Q.divRemTo(k,Q,oe);return oe.intValue().toString(l)+se},U.prototype.fromRadix=function Ci(l,w){this.fromInt(0),null==w&&(w=10);for(var C=this.chunkSize(w),k=Math.pow(w,C),Q=!1,oe=0,se=0,y=0;y<l.length;++y){var T=de(l,y);T<0?"-"==l.charAt(y)&&0==this.signum()&&(Q=!0):(se=w*se+T,++oe>=C&&(this.dMultiply(k),this.dAddOffset(se,0),oe=0,se=0))}oe>0&&(this.dMultiply(Math.pow(w,oe)),this.dAddOffset(se,0)),Q&&U.ZERO.subTo(this,this)},U.prototype.fromNumber=function yo(l,w,C){if("number"==typeof w)if(l<2)this.fromInt(1);else for(this.fromNumber(l,C),this.testBit(l-1)||this.bitwiseTo(U.ONE.shiftLeft(l-1),Xt,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(w);)this.dAddOffset(2,0),this.bitLength()>l&&this.subTo(U.ONE.shiftLeft(l-1),this);else{var k=new Array,Q=7&l;k.length=1+(l>>3),w.nextBytes(k),Q>0?k[0]&=(1<<Q)-1:k[0]=0,this.fromString(k,256)}},U.prototype.bitwiseTo=function at(l,w,C){var k,Q,oe=Math.min(l.t,this.t);for(k=0;k<oe;++k)C[k]=w(this[k],l[k]);if(l.t<this.t){for(Q=l.s&this.DM,k=oe;k<this.t;++k)C[k]=w(this[k],Q);C.t=this.t}else{for(Q=this.s&this.DM,k=oe;k<l.t;++k)C[k]=w(Q,l[k]);C.t=l.t}C.s=w(this.s,l.s),C.clamp()},U.prototype.changeBit=function un(l,w){var C=U.ONE.shiftLeft(l);return this.bitwiseTo(C,w,C),C},U.prototype.addTo=function _r(l,w){for(var C=0,k=0,Q=Math.min(l.t,this.t);C<Q;)k+=this[C]+l[C],w[C++]=k&this.DM,k>>=this.DB;if(l.t<this.t){for(k+=l.s;C<this.t;)k+=this[C],w[C++]=k&this.DM,k>>=this.DB;k+=this.s}else{for(k+=this.s;C<l.t;)k+=l[C],w[C++]=k&this.DM,k>>=this.DB;k+=l.s}w.s=k<0?-1:0,k>0?w[C++]=k:k<-1&&(w[C++]=this.DV+k),w.t=C,w.clamp()},U.prototype.dMultiply=function ei(l){this[this.t]=this.am(0,l-1,this,0,0,this.t),++this.t,this.clamp()},U.prototype.dAddOffset=function Ho(l,w){if(0!=l){for(;this.t<=w;)this[this.t++]=0;for(this[w]+=l;this[w]>=this.DV;)this[w]-=this.DV,++w>=this.t&&(this[this.t++]=0),++this[w]}},U.prototype.multiplyLowerTo=function Zr(l,w,C){var Q,k=Math.min(this.t+l.t,w);for(C.s=0,C.t=k;k>0;)C[--k]=0;for(Q=C.t-this.t;k<Q;++k)C[k+this.t]=this.am(0,l[k],C,k,0,this.t);for(Q=Math.min(l.t,w);k<Q;++k)this.am(0,l[k],C,k,0,w-k);C.clamp()},U.prototype.multiplyUpperTo=function wo(l,w,C){--w;var k=C.t=this.t+l.t-w;for(C.s=0;--k>=0;)C[k]=0;for(k=Math.max(w-this.t,0);k<l.t;++k)C[this.t+k-w]=this.am(w-k,l[k],C,0,0,this.t+k-w);C.clamp(),C.drShiftTo(1,C)},U.prototype.modInt=function Gr(l){if(l<=0)return 0;var w=this.DV%l,C=this.s<0?l-1:0;if(this.t>0)if(0==w)C=this[0]%l;else for(var k=this.t-1;k>=0;--k)C=(w*C+this[k])%l;return C},U.prototype.millerRabin=function To(l){if(this.signum()<=0)return!1;var w=this.subtract(U.ONE),C=w.getLowestSetBit();if(C<=0)return!1;var k=w.shiftRight(C);(l=l+1>>1)>Ar.length&&(l=Ar.length);for(var Q=ne(),oe=0;oe<l;++oe){Q.fromInt(Ar[Math.floor(Math.random()*Ar.length)]);var se=Q.modPow(k,this);if(0!=se.compareTo(U.ONE)&&0!=se.compareTo(w)){for(var y=1;y++<C&&0!=se.compareTo(w);)if(0==(se=se.modPowInt(2,this)).compareTo(U.ONE))return!1;if(0!=se.compareTo(w))return!1}}return!0},U.prototype.clone=function Jn(){var l=ne();return this.copyTo(l),l},U.prototype.intValue=function ni(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},U.prototype.byteValue=function Br(){return 0==this.t?this.s:this[0]<<24>>24},U.prototype.shortValue=function bi(){return 0==this.t?this.s:this[0]<<16>>16},U.prototype.signum=function Lr(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},U.prototype.toByteArray=function oo(){var l=this.t,w=new Array;w[0]=this.s;var k,C=this.DB-l*this.DB%8,Q=0;if(l-- >0)for(C<this.DB&&(k=this[l]>>C)!=(this.s&this.DM)>>C&&(w[Q++]=k|this.s<<this.DB-C);l>=0;)C<8?(k=(this[l]&(1<<C)-1)<<8-C,k|=this[--l]>>(C+=this.DB-8)):(k=this[l]>>(C-=8)&255,C<=0&&(C+=this.DB,--l)),!!(128&k)&&(k|=-256),0==Q&&(128&this.s)!=(128&k)&&++Q,(Q>0||k!=this.s)&&(w[Q++]=k);return w},U.prototype.equals=function eo(l){return 0==this.compareTo(l)},U.prototype.min=function Ut(l){return this.compareTo(l)<0?this:l},U.prototype.max=function pt(l){return this.compareTo(l)>0?this:l},U.prototype.and=function Bt(l){var w=ne();return this.bitwiseTo(l,Tt,w),w},U.prototype.or=function Pt(l){var w=ne();return this.bitwiseTo(l,Xt,w),w},U.prototype.xor=function Kt(l){var w=ne();return this.bitwiseTo(l,wt,w),w},U.prototype.andNot=function Fn(l){var w=ne();return this.bitwiseTo(l,xn,w),w},U.prototype.not=function fn(){for(var l=ne(),w=0;w<this.t;++w)l[w]=this.DM&~this[w];return l.t=this.t,l.s=~this.s,l},U.prototype.shiftLeft=function Dn(l){var w=ne();return l<0?this.rShiftTo(-l,w):this.lShiftTo(l,w),w},U.prototype.shiftRight=function Ve(l){var w=ne();return l<0?this.lShiftTo(-l,w):this.rShiftTo(l,w),w},U.prototype.getLowestSetBit=function p(){for(var l=0;l<this.t;++l)if(0!=this[l])return l*this.DB+He(this[l]);return this.s<0?this.t*this.DB:-1},U.prototype.bitCount=function sn(){for(var l=0,w=this.s&this.DM,C=0;C<this.t;++C)l+=Ht(this[C]^w);return l},U.prototype.testBit=function bt(l){var w=Math.floor(l/this.DB);return w>=this.t?0!=this.s:!!(this[w]&1<<l%this.DB)},U.prototype.setBit=function Vn(l){return this.changeBit(l,Xt)},U.prototype.clearBit=function Wn(l){return this.changeBit(l,xn)}
1,U.prototype.flipBit=function $n(l){return this.changeBit(l,wt)},U.prototype.add=function ur(l){var w=ne();return this.addTo(l,w),w},U.prototype.subtract=function cr(l){var w=ne();return this.subTo(l,w),w},U.prototype.multiply=function Yr(l){var w=ne();return this.multiplyTo(l,w),w},U.prototype.divide=function ji(l){var w=ne();return this.divRemTo(l,w,null),w},U.prototype.remainder=function er(l){var w=ne();return this.divRemTo(l,null,w),w},U.prototype.divideAndRemainder=function mo(l){var w=ne(),C=ne();return this.divRemTo(l,w,C),new Array(w,C)},U.prototype.modPow=function pr(l,w){if(l.signum()<0)return this.modInverse(w).modPow(l.negate(),w);var k,oe,C=l.bitLength(),Q=De(1);if(C<=0)return Q;k=C<18?1:C<48?3:C<144?4:C<768?5:6,oe=C<8?new rt(w):w.isEven()?new dt(w):new lr(w);var se=new Array,y=3,T=k-1,O=(1<<k)-1;if(se[1]=oe.convert(this),k>1){var V=ne();for(oe.sqrTo(se[1],V);y<=O;)se[y]=ne(),oe.mulTo(V,se[y-2],se[y]),y+=2}var H,he,J=l.t-1,z=!0,Ce=ne();for(C=$t(l[J])-1;J>=0;){for(C>=T?H=l[J]>>C-T&O:(H=(l[J]&(1<<C+1)-1)<<T-C,J>0&&(H|=l[J-1]>>this.DB+C-T)),y=k;!(1&H);)H>>=1,--y;if((C-=y)<0&&(C+=this.DB,--J),z)se[H].copyTo(Q),z=!1;else{for(;y>1;)oe.sqrTo(Q,Ce),oe.sqrTo(Ce,Q),y-=2;y>0?oe.sqrTo(Q,Ce):(he=Q,Q=Ce,Ce=he),oe.mulTo(Ce,se[H],Q)}for(;J>=0&&!(l[J]&1<<C);)oe.sqrTo(Q,Ce),he=Q,Q=Ce,Ce=he,--C<0&&(C=this.DB-1,--J)}return oe.revert(Q)},U.prototype.modInverse=function bo(l){if(0==l.signum())return U.ZERO;var w=this.mod(l),C=l.isEven();if(w.isEven()&&C||0==w.signum())return U.ZERO;for(var k=l.clone(),Q=w.clone(),oe=De(1),se=De(0),y=De(0),T=De(1);0!=k.signum();){for(;k.isEven();)k.rShiftTo(1,k),C?((!oe.isEven()||!se.isEven())&&(oe.addTo(w,oe),se.subTo(l,se)),oe.rShiftTo(1,oe)):se.isEven()||se.subTo(l,se),se.rShiftTo(1,se);for(;Q.isEven();)Q.rShiftTo(1,Q),C?((!y.isEven()||!T.isEven())&&(y.addTo(w,y),T.subTo(l,T)),y.rShiftTo(1,y)):T.isEven()||T.subTo(l,T),T.rShiftTo(1,T);k.compareTo(Q)>=0?(k.subTo(Q,k),C&&oe.subTo(y,oe),se.subTo(T,se)):(Q.subTo(k,Q),C&&y.subTo(oe,y),T.subTo(se,T))}return 0!=Q.compareTo(U.ONE)?U.ZERO:T.compareTo(l)>=0?T.subtract(l):T.signum()<0?(T.addTo(l,T),T.signum()<0?T.add(l):T):T},U.prototype.pow=function xo(l){return this.exp(l,new Ei)},U.prototype.gcd=function ri(l){var w=this.s<0?this.negate():this.clone(),C=l.s<0?l.negate():l.clone();if(w.compareTo(C)<0){var k=w;w=C,C=k}var Q=w.getLowestSetBit(),oe=C.getLowestSetBit();if(oe<0)return w;for(Q<oe&&(oe=Q),oe>0&&(w.rShiftTo(oe,w),C.rShiftTo(oe,C));w.signum()>0;)(Q=w.getLowestSetBit())>0&&w.rShiftTo(Q,w),(Q=C.getLowestSetBit())>0&&C.rShiftTo(Q,C),w.compareTo(C)>=0?(w.subTo(C,w),w.rShiftTo(1,w)):(C.subTo(w,C),C.rShiftTo(1,C));return oe>0&&C.lShiftTo(oe,C),C},U.prototype.isProbablePrime=function uo(l){if(this.signum()<=0)return!1;var w,C=this.abs();if(1==C.t&&C[0]<=Ar[Ar.length-1]){for(w=0;w<Ar.length;++w)if(C[0]==Ar[w])return!0;return!1}if(C.isEven())return!1;for(w=1;w<Ar.length;){for(var k=Ar[w],Q=w+1;Q<Ar.length&&k<Yi;)k*=Ar[Q++];for(k=C.modInt(k);w<Q;)if(k%Ar[w++]==0)return!1}return C.millerRabin(l)},U.prototype.square=function gi(){var l=ne();return this.squareTo(l),l},U.prototype.sqrt=function(){for(var l=U.ZERO.setBit(this.bitLength()/2),w=l;;){var C=l.add(this.divide(l)).shiftRight(1);if(C.equals(l)||C.equals(w))return C;w=l,l=C}},to.prototype.init=function Vi(l){var w,C,k;for(w=0;w<256;++w)this.S[w]=w;for(C=0,w=0;w<256;++w)k=this.S[w],this.S[w]=this.S[C=C+this.S[w]+l[w%l.length]&255],this.S[C]=k;this.i=0,this.j=0},to.prototype.next=function Ti(){var l;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,l=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=l,this.S[l+this.S[this.i]&255]},null==Gn){var Jr;if(Gn=new Array,fr=0,typeof E<"u"&&(void 0!==E.crypto||void 0!==E.msCrypto)){var Bi=E.crypto||E.msCrypto;if(Bi.getRandomValues){var no=new Uint8Array(32);for(Bi.getRandomValues(no),Jr=0;Jr<32;++Jr)Gn[fr++]=no[Jr]}else if("Netscape"==S.appName&&S.appVersion<"5"){var ss=E.crypto.random(32);for(Jr=0;Jr<ss.length;++Jr)Gn[fr++]=255&ss.charCodeAt(Jr)}}if(fr<256&&typeof globalThis<"u"&&globalThis.crypto&&globalThis.crypto.getRandomValues){var as=new Uint8Array(256-fr);for(globalThis.crypto.getRandomValues(as),Jr=0;Jr<as.length;++Jr)Gn[fr++]=as[Jr]}for(;fr<256;)Jr=Math.floor(65536*Math.random()),Gn[fr++]=Jr>>>8,Gn[fr++]=255&Jr;fr=0,xi()}function Go(){if(null==Bn){for(xi(),(Bn=function Wt(){return new to}()).init(Gn),fr=0;fr<Gn.length;++fr)Gn[fr]=0;fr=0}return Bn.next()}function ao(){}function di(l,w){return new U(l,w)}function zt(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function ci(l,w){this.x=w,this.q=l}function Di(l,w,C,k){this.curve=l,this.x=w,this.y=C,this.z=null==k?U.ONE:k,this.zinv=null}function Zi(l,w,C){this.q=l,this.a=this.fromBigInteger(w),this.b=this.fromBigInteger(C),this.infinity=new Di(this,null,null)}ao.prototype.nextBytes=function Hi(l){var w;for(w=0;w<l.length;++w)l[w]=Go()},zt.prototype.doPublic=function or(l){return l.modPowInt(this.e,this.n)},zt.prototype.setPublic=function gn(l,w){if(this.isPublic=!0,this.isPrivate=!1,"string"!=typeof l)this.n=l,this.e=w;else{if(!(null!=l&&null!=w&&l.length>0&&w.length>0))throw"Invalid RSA public key";this.n=di(l,16),this.e=parseInt(w,16)}if(null==this.n||"function"!=typeof this.n.compareTo||this.n.compareTo(U.ONE)<=0||null==this.e||isNaN(this.e)||this.e<=0)throw"Invalid RSA public key"},zt.prototype.type="RSA",zt.prototype.doPrivate=function Si(l){if(null==this.p||null==this.q)return l.modPow(this.d,this.n);for(var w=l.mod(this.p).modPow(this.dmp1,this.p),C=l.mod(this.q).modPow(this.dmq1,this.q);w.compareTo(C)<0;)w=w.add(this.p);return w.subtract(C).multiply(this.coeff).mod(this.p).multiply(this.q).add(C)},zt.prototype.setPrivate=function vi(l,w,C){if(this.isPrivate=!0,"string"!=typeof l)this.n=l,this.e=w,this.d=C;else{if(!(null!=l&&null!=w&&l.length>0&&w.length>0))throw"Invalid RSA private key";this.n=di(l,16),this.e=parseInt(w,16),this.d=di(C,16)}},zt.prototype.setPrivateEx=function Sr(l,w,C,k,Q,oe,se,y){if(this.isPrivate=!0,this.isPublic=!1,null==l)throw"RSASetPrivateEx N == null";if(null==w)throw"RSASetPrivateEx E == null";if(0==l.length)throw"RSASetPrivateEx N.length == 0";if(0==w.length)throw"RSASetPrivateEx E.length == 0";if(!(null!=l&&null!=w&&l.length>0&&w.length>0))throw"Invalid RSA private key in RSASetPrivateEx";this.n=di(l,16),this.e=parseInt(w,16),this.d=di(C,16),this.p=di(k,16),this.q=di(Q,16),this.dmp1=di(oe,16),this.dmq1=di(se,16),this.coeff=di(y,16)},zt.prototype.generate=function go(l,w){var C=new ao,k=l>>1;this.e=parseInt(w,16);for(var Q=new U(w,16),oe=l/2-100,se=U.ONE.shiftLeft(oe);;){for(;this.p=new U(l-k,1,C),0!=this.p.subtract(U.ONE).gcd(Q).compareTo(U.ONE)||!this.p.isProbablePrime(10););for(;
1this.q=new U(k,1,C),0!=this.q.subtract(U.ONE).gcd(Q).compareTo(U.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var y=this.p;this.p=this.q,this.q=y}var T=this.q.subtract(this.p).abs();if(!(T.bitLength()<oe||T.compareTo(se)<=0)){var O=this.p.subtract(U.ONE),V=this.q.subtract(U.ONE),J=O.multiply(V);if(0==J.gcd(Q).compareTo(U.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==l)){this.d=Q.modInverse(J),this.dmp1=this.d.mod(O),this.dmq1=this.d.mod(V),this.coeff=this.q.modInverse(this.p);break}}}this.isPrivate=!0},ci.prototype.equals=function So(l){return l==this||this.q.equals(l.q)&&this.x.equals(l.x)},ci.prototype.toBigInteger=function Do(){return this.x},ci.prototype.negate=function Po(){return new ci(this.q,this.x.negate().mod(this.q))},ci.prototype.add=function Ds(l){return new ci(this.q,this.x.add(l.toBigInteger()).mod(this.q))},ci.prototype.subtract=function Ao(l){return new ci(this.q,this.x.subtract(l.toBigInteger()).mod(this.q))},ci.prototype.multiply=function ps(l){return new ci(this.q,this.x.multiply(l.toBigInteger()).mod(this.q))},ci.prototype.square=function qo(){return new ci(this.q,this.x.square().mod(this.q))},ci.prototype.divide=function es(l){return new ci(this.q,this.x.multiply(l.toBigInteger().modInverse(this.q)).mod(this.q))},ci.prototype.sqrt=function(){return new ci(this.q,this.x.sqrt().mod(this.q))},Di.prototype.getX=function Va(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Di.prototype.getY=function ja(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Di.prototype.equals=function Vo(l){return l==this||(this.isInfinity()?l.isInfinity():l.isInfinity()?this.isInfinity():!!l.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(l.z)).mod(this.curve.q).equals(U.ZERO)&&l.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(l.z)).mod(this.curve.q).equals(U.ZERO))},Di.prototype.isInfinity=function ls(){return null==this.x&&null==this.y||this.z.equals(U.ZERO)&&!this.y.toBigInteger().equals(U.ZERO)},Di.prototype.negate=function Fs(){return new Di(this.curve,this.x,this.y.negate(),this.z)},Di.prototype.add=function ta(l){if(this.isInfinity())return l;if(l.isInfinity())return this;var w=l.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(l.z)).mod(this.curve.q),C=l.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(l.z)).mod(this.curve.q);if(U.ZERO.equals(C))return U.ZERO.equals(w)?this.twice():this.curve.getInfinity();var k=new U("3"),Q=this.x.toBigInteger(),oe=this.y.toBigInteger(),T=(l.x.toBigInteger(),l.y.toBigInteger(),C.square()),O=T.multiply(C),V=Q.multiply(T),J=w.square().multiply(this.z),H=J.subtract(V.shiftLeft(1)).multiply(l.z).subtract(O).multiply(C).mod(this.curve.q),z=V.multiply(k).multiply(w).subtract(oe.multiply(O)).subtract(J.multiply(w)).multiply(l.z).add(w.multiply(O)).mod(this.curve.q),Ce=O.multiply(this.z).multiply(l.z).mod(this.curve.q);return new Di(this.curve,this.curve.fromBigInteger(H),this.curve.fromBigInteger(z),Ce)},Di.prototype.twice=function Ca(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var l=new U("3"),w=this.x.toBigInteger(),C=this.y.toBigInteger(),k=C.multiply(this.z),Q=k.multiply(C).mod(this.curve.q),oe=this.curve.a.toBigInteger(),se=w.square().multiply(l);U.ZERO.equals(oe)||(se=se.add(this.z.square().multiply(oe)));var y=(se=se.mod(this.curve.q)).square().subtract(w.shiftLeft(3).multiply(Q)).shiftLeft(1).multiply(k).mod(this.curve.q),T=se.multiply(l).multiply(w).subtract(Q.shiftLeft(1)).shiftLeft(2).multiply(Q).subtract(se.square().multiply(se)).mod(this.curve.q),O=k.square().multiply(k).shiftLeft(3).mod(this.curve.q);return new Di(this.curve,this.curve.fromBigInteger(y),this.curve.fromBigInteger(T),O)},Di.prototype.multiply=function Os(l){if(this.isInfinity())return this;if(0==l.signum())return this.curve.getInfinity();var O,w=l,C=w.multiply(new U("3")),k=this.negate(),Q=this,oe=this.curve.q.subtract(l),se=oe.multiply(new U("3")),y=new Di(this.curve,this.x,this.y),T=y.negate();for(O=C.bitLength()-2;O>0;--O){Q=Q.twice();var V=C.testBit(O);V!=w.testBit(O)&&(Q=Q.add(V?this:k))}for(O=se.bitLength()-2;O>0;--O){y=y.twice();var H=se.testBit(O);H!=oe.testBit(O)&&(y=y.add(H?y:T))}return Q},Di.prototype.multiplyTwo=function Xo(l,w,C){var k;k=l.bitLength()>C.bitLength()?l.bitLength()-1:C.bitLength()-1;for(var Q=this.curve.getInfinity(),oe=this.add(w);k>=0;)Q=Q.twice(),l.testBit(k)?Q=C.testBit(k)?Q.add(oe):Q.add(this):C.testBit(k)&&(Q=Q.add(w)),--k;return Q},Zi.prototype.getQ=function Is(){return this.q},Zi.prototype.getA=function rl(){return this.a},Zi.prototype.getB=function Ns(){return this.b},Zi.prototype.equals=function Ws(l){return l==this||this.q.equals(l.q)&&this.a.equals(l.a)&&this.b.equals(l.b)},Zi.prototype.getInfinity=function Oo(){return this.infinity},Zi.prototype.fromBigInteger=function sa(l){return new ci(this.q,l)},Zi.prototype.decodePointHex=function Ha(l){switch(parseInt(l.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:var w=l.substr(0,2),k=(l.substr(2),this.fromBigInteger(new U(O,16))),Q=this.getA(),oe=this.getB(),y=k.square().add(Q).multiply(k).add(oe).sqrt();return"03"==w&&(y=y.negate()),new Di(this,k,y);case 4:case 6:case 7:var T=(l.length-2)/2,O=l.substr(2,T),V=l.substr(T+2,T);return new Di(this,this.fromBigInteger(new U(O,16)),this.fromBigInteger(new U(V,16)));default:return null}},ci.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},Di.prototype.getEncoded=function(l){var w=function(oe,se){var y=oe.toByteArrayUnsigned();if(se<y.length)y=y.slice(y.length-se);else for(;se>y.length;)y.unshift(0);return y},C=this.getX().toBigInteger(),k=this.getY().toBigInteger(),Q=w(C,32);return l?k.isEven()?Q.unshift(2):Q.unshift(3):(Q.unshift(4),Q=Q.concat(w(k,32))),Q},Di.decodeFrom=function(l,w){var k=w.length-1,Q=w.slice(1,1+k/2),oe=w.slice(1+k/2,1+k);Q.unshift(0),oe.unshift(0);var se=new U(Q),y=new U(oe);return new Di(l,l.fromBigInteger(se),l.fromBigInteger(y))},Di.decodeFromHex=function(l,w){w.substr(0,2);var k=w.length-2,Q=w.substr(2,k/2),oe=w.substr(2+k/2,k/2),se=new U(Q,16),y=new U(oe,16);return new Di(l,l.fromBigInteger(se),l.fromBigInteger(y))},Di.prototype.add2D=function(l){if(this.isInfinity())return l;if(l.isInfinity())return this;if(this.x.equals(l.x))return this.y.equals(l.y)?this.twice():this.curve.getInfinity();var w=l.x.subtract(this.x),k=l.y.subtract(this.y).divide(w),Q=k.square().subtract(this.x).subtract(l.x),oe=k.multiply(this.x.subtract(Q)).subtract(this.y);return new Di(this.curve,Q,oe)},Di.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var l=this.curve.fromBigInteger(U.valueOf(2)),w=this.curve.fromBigInteger(U.valueOf(3)),C=this.x.square().multiply(w).add(this.curve.a).divide(this.y.multiply(l)),k=C.square().subtract(this.x.multiply(l)),Q=C.multiply(this.x.subtract(k)).subtract(this.y);return new Di(this.curve,k,Q)},Di.prototype.multiply2D=function(l){if(this.isInfinity())return this;if(0==l.signum())return this.curve.getInfinity();var oe,w=l,C=w.multiply(new U("3")),k=this.negate(),Q=this;for(oe=C.bitLength()-2;oe>0;--oe){Q=Q.twice();var se=C.testBit(oe);se!=w.testBit(oe)&&(Q=Q.add2D(se?this:k))}return Q},Di.prototype.isOnCurve=function(){var l=this.getX().toBigInteger(),w=this.getY().toBigInteger(),C=this.curve.getA
1().toBigInteger(),k=this.curve.getB().toBigInteger(),Q=this.curve.getQ(),oe=w.multiply(w).mod(Q),se=l.multiply(l).multiply(l).add(C.multiply(l)).add(k).mod(Q);return oe.equals(se)},Di.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},Di.prototype.validate=function(){var l=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var w=this.getX().toBigInteger(),C=this.getY().toBigInteger();if(w.compareTo(U.ONE)<0||w.compareTo(l.subtract(U.ONE))>0)throw new Error("x coordinate out of bounds");if(C.compareTo(U.ONE)<0||C.compareTo(l.subtract(U.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(l).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var aa=function(){var k=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),Q=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),oe={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function se(J,H,z){return H?oe[H]:String.fromCharCode(parseInt(z,16))}var y=new String(""),V=Object.hasOwnProperty;return function(J,H){var Ce,z=J.match(k),he=z[0],Te=!1;"{"===he?Ce={}:"["===he?Ce=[]:(Ce=[],Te=!0);for(var Oe,Ge=[Ce],yt=1-Te,It=z.length;yt<It;++yt){var St;switch((he=z[yt]).charCodeAt(0)){default:(St=Ge[0])[Oe||St.length]=+he,Oe=void 0;break;case 34:if(-1!==(he=he.substring(1,he.length-1)).indexOf("\\")&&(he=he.replace(Q,se)),St=Ge[0],!Oe){if(!(St instanceof Array)){Oe=he||y;break}Oe=St.length}St[Oe]=he,Oe=void 0;break;case 91:Ge.unshift((St=Ge[0])[Oe||St.length]=[]),Oe=void 0;break;case 93:case 125:Ge.shift();break;case 102:(St=Ge[0])[Oe||St.length]=!1,Oe=void 0;break;case 110:(St=Ge[0])[Oe||St.length]=null,Oe=void 0;break;case 116:(St=Ge[0])[Oe||St.length]=!0,Oe=void 0;break;case 123:Ge.unshift((St=Ge[0])[Oe||St.length]={}),Oe=void 0}}if(Te){if(1!==Ge.length)throw new Error;Ce=Ce[0]}else if(Ge.length)throw new Error;if(H){var vn=function(wn,$e){var et=wn[$e];if(et&&"object"==typeof et){var Lt=null;for(var Ft in et)if(V.call(et,Ft)&&et!==wn){var nn=vn(et,Ft);void 0!==nn?et[Ft]=nn:(Lt||(Lt=[]),Lt.push(Ft))}if(Lt)for(var _n=Lt.length;--_n>=0;)delete et[Lt[_n]]}return H.call(wn,$e,et)};Ce=vn({"":Ce},"")}return Ce}}();(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),Y.asn1.ASN1Util=new function(){this.integerToByteHex=function(l){var w=l.toString(16);return w.length%2==1&&(w="0"+w),w},this.bigIntToMinTwosComplementsHex=function(l){return Ka(l)},this.getPEMStringFromHex=function(l,w){return Or(l,w)},this.newObject=function(l){var C=Y.asn1,k=C.ASN1Object,Q=C.DERBoolean,oe=C.DERInteger,se=C.DERBitString,y=C.DEROctetString,T=C.DERNull,O=C.DERObjectIdentifier,V=C.DEREnumerated,J=C.DERUTF8String,H=C.DERNumericString,z=C.DERPrintableString,Ce=C.DERTeletexString,he=C.DERIA5String,Te=C.DERUTCTime,Oe=C.DERGeneralizedTime,Ge=C.DERVisibleString,yt=C.DERBMPString,It=C.DERSequence,St=C.DERSet,vn=C.DERTaggedObject,wn=C.ASN1Util.newObject;if(l instanceof C.ASN1Object)return l;var $e=Object.keys(l);if(1!=$e.length)throw new Error("key of param shall be only one.");var et=$e[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+et+":"))throw new Error("undefined key: "+et);if("bool"==et)return new Q(l[et]);if("int"==et)return new oe(l[et]);if("bitstr"==et)return new se(l[et]);if("octstr"==et)return new y(l[et]);if("null"==et)return new T(l[et]);if("oid"==et)return new O(l[et]);if("enum"==et)return new V(l[et]);if("utf8str"==et)return new J(l[et]);if("numstr"==et)return new H(l[et]);if("prnstr"==et)return new z(l[et]);if("telstr"==et)return new Ce(l[et]);if("ia5str"==et)return new he(l[et]);if("utctime"==et)return new Te(l[et]);if("gentime"==et)return new Oe(l[et]);if("visstr"==et)return new Ge(l[et]);if("bmpstr"==et)return new yt(l[et]);if("asn1"==et)return new k(l[et]);if("seq"==et){for(var Lt=l[et],Ft=[],nn=0;nn<Lt.length;nn++){var _n=wn(Lt[nn]);Ft.push(_n)}return new It({array:Ft})}if("set"==et){for(Lt=l[et],Ft=[],nn=0;nn<Lt.length;nn++)_n=wn(Lt[nn]),Ft.push(_n);return new St({array:Ft})}if("tag"==et){var en=l[et];if("[object Array]"===Object.prototype.toString.call(en)&&3==en.length){var an=wn(en[2]);return new vn({tag:en[0],explicit:en[1],obj:an})}return new vn(en)}},this.jsonToASN1HEX=function(l){return this.newObject(l).tohex()}},Y.asn1.ASN1Util.oidHexToInt=function(l){for(var Q="",w=parseInt(l.substr(0,2),16),oe=(Q=Math.floor(w/40)+"."+w%40,""),se=2;se<l.length;se+=2){var T=("00000000"+parseInt(l.substr(se,2),16).toString(2)).slice(-8);oe+=T.substr(1,7),"0"==T.substr(0,1)&&(Q=Q+"."+new U(oe,2).toString(10),oe="")}return Q},Y.asn1.ASN1Util.oidIntToHex=function(l){var w=function(y){var T=y.toString(16);return 1==T.length&&(T="0"+T),T},C=function(y){var T="",V=new U(y,10).toString(2),J=7-V.length%7;7==J&&(J=0);for(var H="",z=0;z<J;z++)H+="0";for(V=H+V,z=0;z<V.length-1;z+=7){var Ce=V.substr(z,7);z!=V.length-7&&(Ce="1"+Ce),T+=w(parseInt(Ce,2))}return T};if(!l.match(/^[0-9.]+$/))throw"malformed oid string: "+l;var k="",Q=l.split("."),oe=40*parseInt(Q[0])+parseInt(Q[1]);k+=w(oe),Q.splice(0,2);for(var se=0;se<Q.length;se++)k+=C(Q[se]);return k},Y.asn1.ASN1Object=function(l){this.params=null,this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||null==this.hV)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n=0,v="+this.hV);var se=this.hV.length/2,y=se.toString(16);if(y.length%2==1&&(y="0"+y),se<128)return y;var T=y.length/2;if(T>15)throw new Error("ASN.1 length too long to represent by 8x: n = "+se.toString(16));return(128+T).toString(16)+y},this.tohex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.getValueHex=function(){return this.tohex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(se){this.params=se},null!=l&&null!=l.tlv&&(this.hTLV=l.tlv,this.isModified=!1)},Y.asn1.DERAbstractString=function(l){Y.asn1.DERAbstractString.superclass.constructor.call(this),this.get
1String=function(){return this.s},this.setString=function(k){this.hTLV=null,this.isModified=!0,this.s=k,this.hV=Ps(this.s).toLowerCase()},this.setStringHex=function(k){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=k},this.getFreshValueHex=function(){return this.hV},typeof l<"u"&&("string"==typeof l?this.setString(l):typeof l.str<"u"?this.setString(l.str):typeof l.hex<"u"&&this.setStringHex(l.hex))},Kn(Y.asn1.DERAbstractString,Y.asn1.ASN1Object),Y.asn1.DERAbstractTime=function(l){Y.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(k){var Q=k.getTime()+6e4*k.getTimezoneOffset();return new Date(Q)},this.formatDate=function(k,Q,oe){var se=this.zeroPadding,y=this.localDateToUTC(k),T=String(y.getFullYear());"utc"==Q&&(T=T.substr(2,2));var Ce=T+se(String(y.getMonth()+1),2)+se(String(y.getDate()),2)+se(String(y.getHours()),2)+se(String(y.getMinutes()),2)+se(String(y.getSeconds()),2);if(!0===oe){var he=y.getMilliseconds();if(0!=he){var Te=se(String(he),3);Ce=Ce+"."+(Te=Te.replace(/[0]+$/,""))}}return Ce+"Z"},this.zeroPadding=function(k,Q){return k.length>=Q?k:new Array(Q-k.length+1).join("0")+k},this.setByParam=function(k){this.hV=null,this.hTLV=null,this.params=k},this.getString=function(){},this.setString=function(k){this.hTLV=null,this.isModified=!0,null==this.params&&(this.params={}),this.params.str=k},this.setByDate=function(k){this.hTLV=null,this.isModified=!0,null==this.params&&(this.params={}),this.params.date=k},this.setByDateValue=function(k,Q,oe,se,y,T){var O=new Date(Date.UTC(k,Q-1,oe,se,y,T,0));this.setByDate(O)},this.getFreshValueHex=function(){return this.hV}},Kn(Y.asn1.DERAbstractTime,Y.asn1.ASN1Object),Y.asn1.DERAbstractStructured=function(l){Y.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(C){this.hTLV=null,this.isModified=!0,this.asn1Array=C},this.appendASN1Object=function(C){this.hTLV=null,this.isModified=!0,this.asn1Array.push(C)},this.asn1Array=new Array,typeof l<"u"&&typeof l.array<"u"&&(this.asn1Array=l.array)},Kn(Y.asn1.DERAbstractStructured,Y.asn1.ASN1Object),Y.asn1.DERBoolean=function(l){Y.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==l?"010100":"0101ff"},Kn(Y.asn1.DERBoolean,Y.asn1.ASN1Object),Y.asn1.DERInteger=function(l){Y.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.params=null;var w=Ka;this.setByBigInteger=function(C){this.isModified=!0,this.params={bigint:C}},this.setByInteger=function(C){this.isModified=!0,this.params=C},this.setValueHex=function(C){this.isModified=!0,this.params={hex:C}},this.getFreshValueHex=function(){var C=this.params,k=null;if(null==C)throw new Error("value not set");if("object"==typeof C&&null!=C.hex)return this.hV=C.hex,this.hV;if("number"==typeof C)k=new U(String(C),10);else if(null!=C.int)k=new U(String(C.int),10);else{if(null==C.bigint)throw new Error("wrong parameter");k=C.bigint}return this.hV=w(k),this.hV},null!=l&&(this.params=l)},Kn(Y.asn1.DERInteger,Y.asn1.ASN1Object),Y.asn1.DERBitString=function(l){if(void 0!==l&&typeof l.obj<"u"){var w=Y.asn1.ASN1Util.newObject(l.obj);l.hex="00"+w.tohex()}Y.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(C){this.hTLV=null,this.isModified=!0,this.hV=C},this.setUnusedBitsAndHexValue=function(C,k){if(C<0||7<C)throw"unused bits shall be from 0 to 7: u = "+C;var Q="0"+C;this.hTLV=null,this.isModified=!0,this.hV=Q+k},this.setByBinaryString=function(C){var k=8-(C=C.replace(/0+$/,"")).length%8;8==k&&(k=0),C+="0000000".substr(0,k);for(var Q="",oe=0;oe<C.length-1;oe+=8){var se=C.substr(oe,8),y=parseInt(se,2).toString(16);1==y.length&&(y="0"+y),Q+=y}this.hTLV=null,this.isModified=!0,this.hV="0"+k+Q},this.setByBooleanArray=function(C){for(var k="",Q=0;Q<C.length;Q++)k+=1==C[Q]?"1":"0";this.setByBinaryString(k)},this.newFalseArray=function(C){for(var k=new Array(C),Q=0;Q<C;Q++)k[Q]=!1;return k},this.getFreshValueHex=function(){return this.hV},typeof l<"u"&&("string"==typeof l&&l.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(l):typeof l.hex<"u"?this.setHexValueIncludingUnusedBits(l.hex):typeof l.bin<"u"?this.setByBinaryString(l.bin):typeof l.array<"u"&&this.setByBo
1oleanArray(l.array))},Kn(Y.asn1.DERBitString,Y.asn1.ASN1Object),Y.asn1.DEROctetString=function(l){if(void 0!==l&&typeof l.obj<"u"){var w=Y.asn1.ASN1Util.newObject(l.obj);l.hex=w.tohex()}Y.asn1.DEROctetString.superclass.constructor.call(this,l),this.hT="04"},Kn(Y.asn1.DEROctetString,Y.asn1.DERAbstractString),Y.asn1.DERNull=function(){Y.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Kn(Y.asn1.DERNull,Y.asn1.ASN1Object),Y.asn1.DERObjectIdentifier=function(l){Y.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(w){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=w},this.setValueOidString=function(w){var C=function wa(l){var w=function(y){var T=y.toString(16);return 1==T.length&&(T="0"+T),T},C=function(y){var T="",V=parseInt(y,10).toString(2),J=7-V.length%7;7==J&&(J=0);for(var H="",z=0;z<J;z++)H+="0";for(V=H+V,z=0;z<V.length-1;z+=7){var Ce=V.substr(z,7);z!=V.length-7&&(Ce="1"+Ce),T+=w(parseInt(Ce,2))}return T};try{if(!l.match(/^[0-9.]+$/))return null;var k="",Q=l.split("."),oe=40*parseInt(Q[0],10)+parseInt(Q[1],10);k+=w(oe),Q.splice(0,2);for(var se=0;se<Q.length;se++)k+=C(Q[se]);return k}catch{return null}}(w);if(null==C)throw new Error("malformed oid string: "+w);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=C},this.setValueName=function(w){var C=Y.asn1.x509.OID.name2oid(w);if(""===C)throw new Error("DERObjectIdentifier oidName undefined: "+w);this.setValueOidString(C)},this.setValueNameOrOid=function(w){w.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(w):this.setValueName(w)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(w){"string"==typeof w?this.setValueNameOrOid(w):void 0!==w.oid?this.setValueNameOrOid(w.oid):void 0!==w.name?this.setValueNameOrOid(w.name):void 0!==w.hex&&this.setValueHex(w.hex)},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.DERObjectIdentifier,Y.asn1.ASN1Object),Y.asn1.DEREnumerated=function(l){Y.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(w){this.hTLV=null,this.isModified=!0,this.hV=Ka(w)},this.setByInteger=function(w){var C=new U(String(w),10);this.setByBigInteger(C)},this.setValueHex=function(w){this.hV=w},this.getFreshValueHex=function(){return this.hV},typeof l<"u"&&(typeof l.int<"u"?this.setByInteger(l.int):"number"==typeof l?this.setByInteger(l):typeof l.hex<"u"&&this.setValueHex(l.hex))},Kn(Y.asn1.DEREnumerated,Y.asn1.ASN1Object),Y.asn1.DERUTF8String=function(l){Y.asn1.DERUTF8String.superclass.constructor.call(this,l),this.hT="0c"},Kn(Y.asn1.DERUTF8String,Y.asn1.DERAbstractString),Y.asn1.DERNumericString=function(l){Y.asn1.DERNumericString.superclass.constructor.call(this,l),this.hT="12"},Kn(Y.asn1.DERNumericString,Y.asn1.DERAbstractString),Y.asn1.DERPrintableString=function(l){Y.asn1.DERPrintableString.superclass.constructor.call(this,l),this.hT="13"},Kn(Y.asn1.DERPrintableString,Y.asn1.DERAbstractString),Y.asn1.DERTeletexString=function(l){Y.asn1.DERTeletexString.superclass.constructor.call(this,l),this.hT="14"},Kn(Y.asn1.DERTeletexString,Y.asn1.DERAbstractString),Y.asn1.DERIA5String=function(l){Y.asn1.DERIA5String.superclass.constructor.call(this,l),this.hT="16"},Kn(Y.asn1.DERIA5String,Y.asn1.DERAbstractString),Y.asn1.DERVisibleString=function(l){Y.asn1.DERIA5String.superclass.constructor.call(this,l),this.hT="1a"},Kn(Y.asn1.DERVisibleString,Y.asn1.DERAbstractString),Y.asn1.DERBMPString=function(l){Y.asn1.DERBMPString.superclass.constructor.call(this,l),this.hT="1e"},Kn(Y.asn1.DERBMPString,Y.asn1.DERAbstractString),Y.asn1.DERUTCTime=function(l){Y.asn1.DERUTCTime.superclass.constructor.call(this,l),this.hT="17",this.params=void 0,this.getFreshValueHex=function(){var w=this.params;if(null==this.params&&(w={date:new Date}),"string"==typeof w){if(!w.match(/^[0-9]{12}Z$/)&&!w.match(/^[0-9]{12}\.[0-9]+Z$/))throw new Error("malformed string for UTCTime: "+w);this.hV=zo(w)}else null!=w.str?this.hV=zo(w.str):null==w.date&&1==w.millis?this.hV=zo(this.formatDate(new Date,"utc",!0)):null!=w.date&&w.date instanceof Date?this.hV=zo(this.formatDate(w.date,"utc",!0===w.millis)):w instanceof Date&&(this.hV=zo(this.formatDate(w,"utc")));if(null==this.hV)throw new Error("parameter not specified properly for UTCTime");return this.hV},null!=l&&this.setByParam(l)},Kn(Y.asn1.DERUTCTime,Y.asn1.DERAbstractTime),Y.asn1.DERGeneralizedTime=function(l){Y.asn1.DERGeneralizedTime.superclass.constructor.call(this,l),this.hT="18",this.params=l,this.getFreshValueHex=function(){var w=this.params;if(null==this.params&&(w={date:new Date}),"string"==typeof w){if(!w.match(/^[0-9]{14}Z$/)&&!w.match(/^[0-9]{14}\.[0-9]+Z$/))throw new Error("malformed string for GeneralizedTime: "+w);this.hV=zo(w)}else null!=w.str?this.hV=zo(w.str):null==w.date&&1==w.millis?this.hV=zo(this.formatDate(new Date,"gen",!0)):null!=w.date&&w.date instanceof Date?this.hV=zo(this.formatDate(w.date,"gen",!0===w.millis)):w instanceof Date&&(this.hV=zo(this.formatDate(w,"gen")));if(null==this.hV)throw new Error("parameter not specified properly for GeneralizedTime");return this.hV},null!=l&&this.setByParam(l)},Kn(Y.asn1.DERGeneralizedTime,Y.asn1.DERAbstractTime),Y.asn1.DERSequence=function(l){Y.asn1.DERSequence.superclass.constructor.call(this,l),this.hT="30",this.getFreshValueHex=function(){for(var w="",C=0;C<this.asn1Array.length;C++)w+=this.asn1Array[C].tohex();return this.hV=w,this.hV}},Kn(Y.asn1.DERSequence,Y.asn1.DERAbstractStructured),Y.asn1.DERSet=function(l){Y.asn1.DERSet.superclass.constructor.call(this,l),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var w=new Array,C=0;C<this.asn1Array.length;C++)w.push(this.asn1Array[C].tohex());return 1==this.sortFlag&&w.sort(),this.hV=w.join(""),this.hV},typeof l<"u"&&typeof l.sortflag<"u"&&0==l.sortflag&&(this.sortFlag=!1)},Kn(Y.asn1.DERSet,Y.asn1.DERAbstractStructured),Y.asn1.DERTaggedObject=function(l){Y.asn1.DERTaggedObject.
1superclass.constructor.call(this);var w=Y.asn1,k=ir.getV,oe=w.ASN1Util.newObject;this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.params={tag:"a0",explicit:!0},this.setASN1Object=function(se,y,T){this.params={tag:y,explicit:se,obj:T}},this.getFreshValueHex=function(){var se=this.params;if(null==se.explicit&&(se.explicit=!0),null!=se.tage&&(se.tag=se.tage,se.explicit=!0),null!=se.tagi&&(se.tag=se.tagi,se.explicit=!1),null!=se.str)this.hV=Ps(se.str);else if(null!=se.hex)this.hV=se.hex;else{if(null==se.obj)throw new Error("str, hex nor obj not specified");var y;se.obj instanceof w.ASN1Object?y=se.obj.tohex():"object"==typeof se.obj&&(y=oe(se.obj).tohex()),this.hV=se.explicit?y:k(y,0)}return null==se.tag&&(se.tag="a0"),this.hT=se.tag,this.hTLV=null,this.isModified=!0,this.hV},this.setByParam=function(se){this.params=se},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.DERTaggedObject,Y.asn1.ASN1Object);var Y,ts,$o,ir=new function(){};function Us(l){for(var w="",C=0;C<l.length;C++){var k=l[C].toString(16);1==k.length&&(k="0"+k),w+=k}return w}function zo(l){return Us(function Bs(l){for(var w=new Array,C=0;C<l.length;C++)w[C]=l.charCodeAt(C);return w}(l))}function ms(l){return(l=(l=l.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function Ts(l){return l.length%4==2?l+="==":l.length%4==3&&(l+="="),(l=l.replace(/-/g,"+")).replace(/_/g,"/")}function Oi(l){return l.length%2==1&&(l="0"+l),ms(N(l))}function ro(l){return q(Ts(l))}function Ps(l){return Ya(Ea(l)).toLowerCase()}function ki(l){try{return decodeURIComponent(ua(l))}catch{return null}}function ol(l){return ki(function fc(l){for(var w=l.match(/.{1,2}/g),C=[],k=0;k<w.length;k++){var Q=parseInt(w[k],16);161<=Q&&Q<=191?(C.push("c2"),C.push(w[k])):192<=Q&&Q<=255?(C.push("c3"),C.push((Q-64).toString(16))):C.push(w[k])}return C.join("")}(l))}function Lo(l){for(var w="",C=0;C<l.length-1;C+=2)w+=String.fromCharCode(parseInt(l.substr(C,2),16));return w}function Re(l){for(var w="",C=0;C<l.length;C++)w+=("0"+l.charCodeAt(C).toString(16)).slice(-2);return w}function Or(l,w){return"-----BEGIN "+w+"-----\r\n"+function st(l,w){return(l=l.replace(new RegExp("(.{"+w+"})","g"),"$1\r\n")).replace(/\s+$/,"")}(function je(l){return N(l)}(l),64)+"\r\n-----END "+w+"-----\r\n"}function wi(l,w){if(-1==l.indexOf("-----BEGIN "))throw new Error("can't find PEM header");return function Qt(l){return q(l.replace(/[^0-9A-Za-z\/+=]*/g,""))}(l=void 0!==w?(l=l.replace(new RegExp("^[^]*-----BEGIN "+w+"-----"),"")).replace(new RegExp("-----END "+w+"-----[^]*$"),""):(l=l.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""))}function Pl(l){return Math.round(function sl(l){var w,C,k,Q,oe,se,y,V,J,H;if(H=(l=function ec(l){return l.match(/^[0-9]{12}Z$/)||l.match(/^[0-9]{12}[.][0-9]*Z$/)?l.match(/^[0-4]/)?"20"+l:"19"+l:l}(l)).match(/^(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return w=parseInt(H[1]),C=parseInt(H[2])-1,k=parseInt(H[3]),Q=parseInt(H[4]),oe=parseInt(H[5]),se=parseInt(H[6]),y=0,""!==(V=H[7])&&(J=(V.substr(1)+"00").substr(0,3),y=parseInt(J)),Date.UTC(w,C,k,Q,oe,se,y);throw new Error("unsupported zulu format: "+l)}(l)/1e3)}function Ya(l){return l.replace(/%/g,"")}function ua(l){return l.replace(/(..)/g,"%$1")}function da(l){var w="malformed IPv6 address";if(!l.match(/^[0-9A-Fa-f:]+$/))throw w;var C=(l=l.toLowerCase()).split(":").length-1;if(C<2)throw w;var k=":".repeat(7-C+2),Q=(l=l.replace("::",k)).split(":");if(8!=Q.length)throw w;for(var oe=0;oe<8;oe++)Q[oe]=("0000"+Q[oe]).slice(-4);return Q.join("")}function za(l){if(!l.match(/^[0-9A-Fa-f]{32}$/))throw new Error("malformed IPv6 address: "+l);var w=(l=l.toLowerCase()).match(/.{1,4}/g);w=w.map(function(Q){return Q.replace(/^0+/,"")}),w=w.map(function(Q){return""==Q?"0":Q});var C=(l=":"+w.join(":")+":").match(/:(0:){2,}/g);if(null==C)return l.slice(1,-1);var k=C.sort().slice(-1)[0];return"::"!=(l=l.replace(k.substr(0,k.length-1),":")).substr(0,2)&&(l=l.substr(1)),"::"!=l.substr(-2,2)&&(l=l.substr(0,l.length-1)),l}function Za(l){var w=new Error("malformed hex value");if(!l.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw w;if(8==l.length)try{return parseInt(l.substr(0,2),16)+"."+parseInt(l.substr(2,2),16)+"."+parseInt(l.substr(4,2),16)+"."+parseInt(l.substr(6,2),16)}catch{throw w}else if(16==l.length)try{return Za(l.substr(0,8))+"/"+Rl(l.substr(8))}catch{throw w}else{if(32==l.length)return za(l);if(64!=l.length)return l;try{return za(l.substr(0,32))+"/"+Rl(l.substr(32))}catch{throw w}}}function Rl(l){var C,w=new Error("malformed mask");try{C=new U(l,16).toString(2)}catch{throw w}if(!C.match(/^1*0*$/))throw w;return C.replace(/0+$/,"").length}function $a(l){var w=new Error("malformed IP address");if(!(l=l.toLowerCase(l)).match(/^[0-9a-f.:/]+$/))throw w;if(!l.match(/^[0-9.]+$/)){var se;if(l.match(/^[0-9.]+\/[0-9]+$/))return $a((se=l.split("/"))[0])+Ra(parseInt(se[1]),32);if(l.match(/^[0-9a-f:]+$/)&&-1!==l.indexOf(":"))return da(l);if(l.match(/^[0-9a-f:]+\/[0-9]+$/)&&-1!==l.indexOf(":"))return da((se=l.split("/"))[0])+Ra(parseInt(se[1]),128);throw w}var C=l.split(".");if(4!==C.length)throw w;var k="";try{for(var Q=0;Q<4;Q++)k+=("0"+parseInt(C[Q]).toString(16)).slice(-2);return k}catch{throw w}}function Ra(l,w){return 32==w&&0==l?"00000000":128==w&&0==l?"00000000000000000000000000000000":new U(Array(l+1).join("1")+Array(w-l+1).join("0"),2).toString(16)}function Wa(l){var k=l.match(/.{4}/g).map(function w(Q){var oe=parseInt(Q.substr(0,2),16),se=parseInt(Q.substr(2),16);if(0==oe&se<128)return String.fromCharCode(se);if(oe<8){var T=128|63&se;return ki((192|(7&oe)<<3|(192&se)>>6).toString(16)+T.toString(16))}T=128|(15&oe)<<2|(192&se)>>6;var O=128|63&se;return ki((224|(240&oe)>>4).toString(16)+T.toString(16)+O.toString(16))});return k.join("")}function Ea(l){for(var w=encodeURIComponent(l),C="",k=0;k<w.length;k++)"%"==w[k]?(C+=w.substr(k,3),k+=2):C=C+"%"+zo(w[k]);return C}function ka(l){return!(l.length%2!=0||!l.match(/^[0-9a-f]+$/)&&!l.match(/^[0-9A-F]+$/))}function fa(l){return!!l.match(/^[0-9A-Za-z-_.]+$/)}function Qa(l){return l.length%2==1?"0"+l:l.substr(0,1)>"7"?"00"+l:l}function nc(l,w){if("string"!=typeof l||"string"!=typeof w)throw new Error("arguments shall be string");if(l.length!==w.length)throw new Error("input strings must have the same length");if("function"==typeof Buffer&&typeof Bi<"u"){if(void 0!==Bi.timingSafeEqual)return Bi.timingSafeEqual(Buffer.from(l),Buffer.from(w));if(void 0!==Bi.subtle&&Bi.subtle.timingSafeEqual)return Bi.subtle.timingSafeEqual(Buffer.from(l),Buffer.from(w))}return function al(l,w){if("string"!=typeof l||"string"!=typeof w)throw new Error("arguments shall be string");if(l.length!==w.length)throw new Error("input strings must have the same length");const C=w.slice();for(var k=0,Q=0;Q<l.length;
1Q++)k|=l.charCodeAt(Q)^C.charCodeAt(Q);return 0===k}(l,w)}function Ma(l){if(!ka(l))return null;try{var w=[],C=l.substr(0,2),k=parseInt(C,16);w[0]=new String(Math.floor(k/40)),w[1]=new String(k%40);for(var Q=l.substr(2),oe=[],se=0;se<Q.length/2;se++)oe.push(parseInt(Q.substr(2*se,2),16));var y=[],T="";for(se=0;se<oe.length;se++)128&oe[se]?T+=Vs((127&oe[se]).toString(2),7):(T+=Vs((127&oe[se]).toString(2),7),y.push(new String(parseInt(T,2))),T="");var O=w.join(".");return y.length>0&&(O=O+"."+y.join(".")),O}catch{return null}}function Ll(l){return Ka(new U(String(l),10))}function Ka(l){var w=l.toString(16);if("-"!=w.substr(0,1))return w.length%2==1?w="0"+w:w.match(/^[0-7]/)||(w="00"+w),w;var k=w.substr(1).length;k%2==1?k+=1:w.match(/^[0-7]/)||(k+=2);for(var Q="",oe=0;oe<k;oe++)Q+="f";return new U(Q,16).xor(l).add(U.ONE).toString(16).replace(/^-/,"")}ir.getLblen=function(l,w){if("8"!=l.substr(w+2,1))return 1;var C=parseInt(l.substr(w+3,1));return 0==C?-1:0<C&&C<10?C+1:-2},ir.getL=function(l,w){var C=ir.getLblen(l,w);return C<1?"":l.substr(w+2,2*C)},ir.getVblen=function(l,w){var C;return""==(C=ir.getL(l,w))?-1:("8"===C.substr(0,1)?new U(C.substr(2),16):new U(C,16)).intValue()},ir.getVidx=function(l,w){var C=ir.getLblen(l,w);return C<0?C:w+2*(C+1)},ir.getV=function(l,w){var C=ir.getVidx(l,w),k=ir.getVblen(l,w);return l.substr(C,2*k)},ir.getTLV=function(l,w){return l.substr(w,2)+ir.getL(l,w)+ir.getV(l,w)},ir.getTLVblen=function(l,w){return 2+2*ir.getLblen(l,w)+2*ir.getVblen(l,w)},ir.getNextSiblingIdx=function(l,w){return ir.getVidx(l,w)+2*ir.getVblen(l,w)},ir.getChildIdx=function(l,w){var Q,oe,se,C=ir,k=[];if((Q=C.getVidx(l,w))+(oe=2*C.getVblen(l,w))>l.length)throw new Error("too short ASN.1 value");"03"==l.substr(w,2)&&(Q+=2,oe-=2),se=0;for(var y=Q;se<=oe;){var T=C.getTLVblen(l,y);if(T<=0)throw new Error("malformed ASN.1: invalid TLV length");if((se+=T)<=oe&&k.push(y),y+=T,se>=oe)break}return k},ir.getNthChildIdx=function(l,w,C){return ir.getChildIdx(l,w)[C]},ir.getIdxbyList=function(l,w,C,k){var oe,se,Q=ir;return 0==C.length?void 0!==k&&l.substr(w,2)!==k?-1:w:(oe=C.shift())>=(se=Q.getChildIdx(l,w)).length?-1:Q.getIdxbyList(l,se[oe],C,k)},ir.getIdxbyListEx=function(l,w,C,k){var oe,se,Q=ir;if(0==C.length)return void 0!==k&&l.substr(w,2)!==k?-1:w;oe=C.shift(),se=Q.getChildIdx(l,w);for(var y=0,T=0;T<se.length;T++){var O=l.substr(se[T],2);if("number"==typeof oe&&!Q.isContextTag(O)&&y==oe||"string"==typeof oe&&Q.isContextTag(O,oe))return Q.getIdxbyListEx(l,se[T],C,k);Q.isContextTag(O)||y++}return-1},ir.getTLVbyList=function(l,w,C,k){var Q=ir,oe=Q.getIdxbyList(l,w,C,k);return-1==oe||oe>=l.length?null:Q.getTLV(l,oe)},ir.getTLVbyListEx=function(l,w,C,k){var Q=ir,oe=Q.getIdxbyListEx(l,w,C,k);return-1==oe?null:Q.getTLV(l,oe)},ir.getVbyList=function(l,w,C,k,Q){var se,y,oe=ir;return-1==(se=oe.getIdxbyList(l,w,C,k))||se>=l.length?null:(y=oe.getV(l,se),!0===Q&&(y=y.substr(2)),y)},ir.getVbyListEx=function(l,w,C,k,Q){var se,T,oe=ir;return-1==(se=oe.getIdxbyListEx(l,w,C,k))?null:(T=oe.getV(l,se),"03"==l.substr(se,2)&&!1!==Q&&(T=T.substr(2)),T)},ir.getInt=function(l,w,C){null==C&&(C=-1);try{var k=l.substr(w,2);if("02"!=k&&"03"!=k)return C;var Q=ir.getV(l,w);return"02"==k?parseInt(Q,16):function Fl(l){if(l.length%2!=0||null==(l=l.toLowerCase()).match(/^[0-9a-f]+$/))return-1;try{var w=l.substr(0,2);if("00"==w)return parseInt(l.substr(2),16);
1var C=parseInt(w,16);if(C>7)return-1;var k=l.substr(2),Q=parseInt(k,16).toString(2);"0"==Q&&(Q="00000000"),Q=Q.slice(0,0-C);var oe=parseInt(Q,2);return NaN==oe?-1:oe}catch{return-1}}(Q)}catch{return C}},ir.getOID=function(l,w,C){null==C&&(C=null);try{return"06"!=l.substr(w,2)?C:Ma(ir.getV(l,w))}catch{return C}},ir.getOIDName=function(l,w,C){null==C&&(C=null);try{var k=ir.getOID(l,w,C);if(k==C)return C;var Q=Y.asn1.x509.OID.oid2name(k);return""==Q?k:Q}catch{return C}},ir.getString=function(l,w,C){null==C&&(C=null);try{return Lo(ir.getV(l,w))}catch{return C}},ir.hextooidstr=function(l){var w=function(J,H){return J.length>=H?J:new Array(H-J.length+1).join("0")+J},C=[],k=l.substr(0,2),Q=parseInt(k,16);C[0]=new String(Math.floor(Q/40)),C[1]=new String(Q%40);for(var oe=l.substr(2),se=[],y=0;y<oe.length/2;y++)se.push(parseInt(oe.substr(2*y,2),16));var T=[],O="";for(y=0;y<se.length;y++)128&se[y]?O+=w((127&se[y]).toString(2),7):(O+=w((127&se[y]).toString(2),7),T.push(new String(parseInt(O,2))),O="");var V=C.join(".");return T.length>0&&(V=V+"."+T.join(".")),V},ir.dump=function(l,w,C,k){var Q=ir,oe=Q.getV,se=Q.dump,y=Q.getChildIdx,T=l;l instanceof Y.asn1.ASN1Object&&(T=l.tohex());var O=function(wn,$e){return wn.length<=2*$e?wn:wn.substr(0,$e)+"..(total "+wn.length/2+"bytes).."+wn.substr(wn.length-$e,$e)};void 0===w&&(w={ommit_long_octet:32}),void 0===C&&(C=0),void 0===k&&(k="");var St,V=w.ommit_long_octet;if("01"==(St=T.substr(C,2)))return"00"==(J=oe(T,C))?k+"BOOLEAN FALSE\n":k+"BOOLEAN TRUE\n";if("02"==St)return k+"INTEGER "+O(J=oe(T,C),V)+"\n";if("03"==St){var J=oe(T,C);return Q.isASN1HEX(J.substr(2))?(H=k+"BITSTRING, encapsulates\n")+se(J.substr(2),w,0,k+"  "):k+"BITSTRING "+O(J,V)+"\n"}if("04"==St)return J=oe(T,C),Q.isASN1HEX(J)?(H=k+"OCTETSTRING, encapsulates\n")+se(J,w,0,k+"  "):k+"OCTETSTRING "+O(J,V)+"\n";if("05"==St)return k+"NULL\n";if("06"==St){var z=oe(T,C),Ce=Y.asn1.ASN1Util.oidHexToInt(z),he=Y.asn1.x509.OID.oid2name(Ce),Te=Ce.replace(/\./g," ");return""!=he?k+"ObjectIdentifier "+he+" ("+Te+")\n":k+"ObjectIdentifier ("+Te+")\n"}if("0a"==St)return k+"ENUMERATED "+parseInt(oe(T,C))+"\n";if("0c"==St)return k+"UTF8String '"+ki(oe(T,C))+"'\n";if("13"==St)return k+"PrintableString '"+ki(oe(T,C))+"'\n";if("14"==St)return k+"TeletexString '"+ki(oe(T,C))+"'\n";if("16"==St)return k+"IA5String '"+ki(oe(T,C))+"'\n";if("17"==St)return k+"UTCTime "+ki(oe(T,C))+"\n";if("18"==St)return k+"GeneralizedTime "+ki(oe(T,C))+"\n";if("1a"==St)return k+"VisualString '"+ki(oe(T,C))+"'\n";if("1e"==St)return k+"BMPString '"+Wa(oe(T,C))+"'\n";if("30"==St){if("3000"==T.substr(C,4))return k+"SEQUENCE {}\n";H=k+"SEQUENCE\n";var Ge=w;if((2==(Oe=y(T,C)).length||3==Oe.length)&&"06"==T.substr(Oe[0],2)&&"04"==T.substr(Oe[Oe.length-1],2)){he=Q.oidname(oe(T,Oe[0]));var yt=JSON.parse(JSON.stringify(w));yt.x509ExtName=he,Ge=yt}for(var It=0;It<Oe.length;It++)H+=se(T,Ge,Oe[It],k+"  ");return H}if("31"==St){H=k+"SET\n";var Oe=y(T,C);for(It=0;It<Oe.length;It++)H+=se(T,w,Oe[It],k+"  ");return H}if(128&(St=parseInt(St,16))){var H,vn=31&St;if(32&St){for(H=k+"["+vn+"]\n",Oe=y(T,C),It=0;It<Oe.length;It++)H+=se(T,w,Oe[It],k+"  ");return H}return J=oe(T,C),ir.isASN1HEX(J)?(H=k+"["+vn+"]\n")+se(J,w,0,k+"  "):(("68747470"==J.substr(0,8)||"subjectAltName"===w.x509ExtName&&2==vn)&&(J=ki(J)),k+"["+vn+"] "+J+"\n")}return k+"UNKNOWN("+St+") "+oe(T,C)+"\n"},ir.parse=function(l){var C=ir.parse,k=ir.isASN1HEX,Q=ir.getV,oe=ir.getTLV,se=ir.getChildIdx,y=Y.asn1,T=y.ASN1Util.oidHexToInt,O=y.x509.OID.oid2name,V=ki,J=Wa,H=ol,z={"0c":"utf8str",12:"numstr",13:"prnstr",14:"telstr",16:"ia5str",17:"utctime",18:"gentime","1a":"visstr","1e":"bmpstr",30:"seq",31:"set"},he=l.substr(0,2),Te={},Oe=Q(l,0);if("01"==he)return"0101ff"==l?{bool:!0}:{bool:!1};if("02"==he)return{int:{hex:Oe}};if("03"==he)try{if("00"!=Oe.substr(0,2))throw"not encap";var Ge=Oe.substr(2);if(!k(Ge))throw"not encap";return{bitstr:{obj:C(Ge)}}}catch{var yt=null;return Oe.length<=10&&(yt=function ll(l){if("string"!=typeof l||l.length%2!=0||!l.match(/^[0-9a-f]+$/))return null;try{var w=parseInt(l.substr(0,2),16);if(w<0||7<w)return null;for(var C=l.substr(2),k="",Q=0;Q<C.length;Q+=2){var oe=C.substr(Q,2),se=parseInt(oe,16).toString(2);k+=se=("0000000"+se).slice(-8)}return k.substr(0,k.length-w)}catch{return null}}(Oe)),null==yt?{bitstr:{hex:Oe}}:{bitstr:{bin:yt}}}else if("04"==he)try{if(!k(Oe))throw"not encap";return{octstr:{obj:C(Oe)}}}catch{return{octstr:{hex:Oe}}}else{if("05"==he)return{null:""};if("06"==he){var It=T(Oe),St=O(It);return""==St?{oid:It}:{oid:St}}if("0a"==he)return Oe.length>4?{enum:{hex:Oe}}:{enum:parseInt(Oe,16)};if("30"==he||"31"==he)return Te[z[he]]=function(et){for(var Lt=[],Ft=se(et,0),nn=0;nn<Ft.length;nn++){var en=oe(et,Ft[nn]),an=C(en);Lt.push(an)}return Lt}(l),Te;if("14"==he){var vn=H(Oe);return Te[z[he]]={str:vn},Te}if("1e"==he)return vn=J(Oe),Te[z[he]]={str:vn},Te;if(-1!=":0c:12:13:16:17:18:1a:".indexOf(he))return vn=V(Oe),Te[z[he]]={str:vn},Te;if(he.match(/^8[0-9]$/))return null==(vn=V(Oe))|""==vn||null!=vn.match(/[\x00-\x1F\x7F-\x9F]/)||null!=vn.match(/[\u0000-\u001F\u0080\u2013\u009F]/)?{tag:{tag:he,explicit:!1,hex:Oe}}:{tag:{tag:he,explicit:!1,str:vn}};if(!he.match(/^a[0-9]$/)){var wn=new Y.asn1.ASN1Object;return wn.hV=Oe,{asn1:{tlv:he+wn.getLengthHexFromValue()+Oe}}}try{if(!k(Oe))throw new Error("not encap");return{tag:{tag:he,explicit:!0,obj:C(Oe)}}}catch{return{tag:{tag:he,explicit:!0,hex:Oe}}}}},ir.isContextTag=function(l,w){var C,k;l=l.toLowerCase();try{C=parseInt(l,16)}catch{return-1}
1if(void 0===w)return 128==(192&C);try{return!(null==w.match(/^\[[0-9]+\]$/)||(k=parseInt(w.substr(1,w.length-1),10),k>31))&&128==(192&C)&&(31&C)==k}catch{return!1}},ir.isASN1HEX=function(l){var w=ir;if(l.length%2==1)return!1;var C=w.getVblen(l,0),k=l.substr(0,2),Q=w.getL(l,0);return l.length-k.length-Q.length==2*C},ir.checkStrictDER=function(l,w,C,k,Q){var oe=ir;if(void 0===C){if("string"!=typeof l)throw new Error("not hex string");if(l=l.toLowerCase(),!Y.lang.String.isHex(l))throw new Error("not hex string");C=l.length,Q=(k=l.length/2)<128?1:Math.ceil(k.toString(16))+1}if(oe.getL(l,w).length>2*Q)throw new Error("L of TLV too long: idx="+w);var y=oe.getVblen(l,w);if(y>k)throw new Error("value of L too long than hex: idx="+w);var T=oe.getTLV(l,w),O=T.length-2-oe.getL(l,w).length;if(O!==2*y)throw new Error("V string length and L's value not the same:"+O+"/"+2*y);if(0===w&&l.length!=T.length)throw new Error("total length and TLV length unmatch:"+l.length+"!="+T.length);var V=l.substr(w,2);if("02"===V){var J=oe.getVidx(l,w);if("00"==l.substr(J,2)&&l.charCodeAt(J+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(V,16)){for(var H=oe.getVblen(l,w),z=0,Ce=oe.getChildIdx(l,w),he=0;he<Ce.length;he++)z+=oe.getTLV(l,Ce[he]).length,oe.checkStrictDER(l,Ce[he],C,k,Q);if(2*H!=z)throw new Error("sum of children's TLV length and L unmatch: "+2*H+"!="+z)}},ir.oidname=function(l){var w=Y.asn1;Y.lang.String.isHex(l)&&(l=w.ASN1Util.oidHexToInt(l));var C=w.x509.OID.oid2name(l);return""===C&&(C=l),C},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),(typeof Y.asn1.x509>"u"||!Y.asn1.x509)&&(Y.asn1.x509={}),Y.asn1.x509.Certificate=function(l){Y.asn1.x509.Certificate.superclass.constructor.call(this);var C=Y.asn1,k=C.DERBitString,Q=C.DERSequence,oe=C.x509,se=oe.TBSCertificate,y=oe.AlgorithmIdentifier;this.params=void 0,this.setByParam=function(T){this.params=T},this.sign=function(){var T=this.params,O=T.sigalg;null!=T.sigalg.name&&(O=T.sigalg.name);var V=T.tbsobj.tohex(),J=new Y.crypto.Signature({alg:O});J.init(T.cakey),J.updateHex(V),T.sighex=J.sign()},this.getPEM=function(){return Or(this.tohex(),"CERTIFICATE")},this.tohex=function(){var T=this.params;if((null==T.tbsobj||null==T.tbsobj)&&(T.tbsobj=new se(T)),null==T.sighex&&null!=T.cakey&&this.sign(),null==T.sighex)throw new Error("sighex or cakey parameter not defined");var O=[];return O.push(T.tbsobj),O.push(new y({name:T.sigalg})),O.push(new k({hex:"00"+T.sighex})),new Q({array:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&(this.params=l)},Kn(Y.asn1.x509.Certificate,Y.asn1.ASN1Object),Y.asn1.x509.TBSCertificate=function(l){Y.asn1.x509.TBSCertificate.superclass.constructor.call(this);var C=Y.asn1,k=C.x509,Q=C.DERTaggedObject,oe=C.DERInteger,se=C.DERSequence,y=k.AlgorithmIdentifier,T=k.Time,O=k.X500Name,V=k.Extensions,J=k.SubjectPublicKeyInfo;this.params=null,this.setByParam=function(H){this.params=H},this.tohex=function(){var H=[],z=this.params;if(null!=z.version||1!=z.version){var Ce=2;null!=z.version&&(Ce=z.version-1);var he=new Q({obj:new oe({int:Ce})});H.push(he)}return H.push(new oe(z.serial)),H.push(new y({name:z.sigalg})),H.push(new O(z.issuer)),H.push(new se({array:[new T(z.notbefore),new T(z.
1notafter)]})),H.push(new O(z.subject)),H.push(new J(fi.getKey(z.sbjpubkey))),void 0!==z.ext&&z.ext.length>0&&H.push(new Q({tag:"a3",obj:new V(z.ext)})),new Y.asn1.DERSequence({array:H}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.TBSCertificate,Y.asn1.ASN1Object),Y.asn1.x509.Extensions=function(l){Y.asn1.x509.Extensions.superclass.constructor.call(this);var C=Y.asn1,k=C.DERSequence,Q=C.x509;this.aParam=[],this.setByParam=function(oe){this.aParam=oe},this.tohex=function(){for(var oe=[],se=0;se<this.aParam.length;se++){var y=this.aParam[se],T=y.extname,O=null;if(null!=y.extn)O=new Q.PrivateExtension(y);else if("subjectKeyIdentifier"==T)O=new Q.SubjectKeyIdentifier(y);else if("keyUsage"==T)O=new Q.KeyUsage(y);else if("subjectAltName"==T)O=new Q.SubjectAltName(y);else if("issuerAltName"==T)O=new Q.IssuerAltName(y);else if("basicConstraints"==T)O=new Q.BasicConstraints(y);else if("nameConstraints"==T)O=new Q.NameConstraints(y);else if("cRLDistributionPoints"==T)O=new Q.CRLDistributionPoints(y);else if("certificatePolicies"==T)O=new Q.CertificatePolicies(y);else if("policyMappings"==T)O=new Q.PolicyMappings(y);else if("policyConstraints"==T)O=new Q.PolicyConstraints(y);else if("inhibitAnyPolicy"==T)O=new Q.InhibitAnyPolicy(y);else if("authorityKeyIdentifier"==T)O=new Q.AuthorityKeyIdentifier(y);else if("extKeyUsage"==T)O=new Q.ExtKeyUsage(y);else if("authorityInfoAccess"==T)O=new Q.AuthorityInfoAccess(y);else if("cRLNumber"==T)O=new Q.CRLNumber(y);else if("cRLReason"==T)O=new Q.CRLReason(y);else if("ocspNonce"==T)O=new Q.OCSPNonce(y);else if("ocspNoCheck"==T)O=new Q.OCSPNoCheck(y);else if("adobeTimeStamp"==T)O=new Q.AdobeTimeStamp(y);else{if("subjectDirectoryAttributes"!=T)throw new Error("extension not supported:"+JSON.stringify(y));O=new Q.SubjectDirectoryAttributes(y)}null!=O&&oe.push(O)}return new k({array:oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.x509.Extensions,Y.asn1.ASN1Object),Y.asn1.x509.Extension=function(l){Y.asn1.x509.Extension.superclass.constructor.call(this);var k=Y.asn1,Q=k.DERObjectIdentifier,oe=k.DEROctetString,y=k.DERBoolean,T=k.DERSequence;this.tohex=function(){var O=new Q({oid:this.oid}),V=new oe({hex:this.getExtnValueHex()}),J=new Array;return J.push(O),this.critical&&J.push(new y),J.push(V),new T({array:J}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.critical=!1,void 0!==l&&void 0!==l.critical&&(this.critical=l.critical)},Kn(Y.asn1.x509.Extension,Y.asn1.ASN1Object),Y.asn1.x509.KeyUsage=function(l){Y.asn1.x509.KeyUsage.superclass.constructor.call(this,l);var w=Error,C={digitalSignature:0,nonRepudiation:1,keyEncipherment:2,dataEncipherment:3,keyAgreement:4,keyCertSign:5,cRLSign:6,encipherOnly:7,decipherOnly:8};this.getExtnValueHex=function(){var k=this.getBinValue();return this.asn1ExtnValue=new Y.asn1.DERBitString({bin:k}),this.asn1ExtnValue.tohex()},this.getBinValue=function(){var k=this.params;if("object"!=typeof k||"object"!=typeof k.names&&"string"!=typeof k.bin)throw new w("parameter not yet set");if(null!=k.names)return gs(k.names,C);if(null!=k.bin)return k.bin;throw new w("parameter not set properly")},this.oid="2.5.29.15",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.KeyUsage,Y.asn1.x509.Extension),Y.asn1.x509.BasicConstraints=function(l){Y.asn1.x509.BasicConstraints.superclass.constructor.call(this,l);var w=Y.asn1,C=w.DERBoolean,k=w.DERInteger,Q=w.DERSequence;this.getExtnValueHex=function(){var y=new Array;this.cA&&y.push(new C),this.pathLen>-1&&y.push(new k({int:this.pathLen}));var T=new Q({array:y});return this.asn1ExtnValue=T,this.asn1ExtnValue.tohex()},this.oid="2.5.29.19",this.cA=!1,this.pathLen=-1,void 0!==l&&(void 0!==l.cA&&(this.cA=l.cA),void 0!==l.pathLen&&(this.pathLen=l.pathLen))},Kn(Y.asn1.x509.BasicConstraints,Y.asn1.x509.Extension),Y.asn1.x509.CRLDistributionPoints=function(l){Y.asn1.x509.CRLDistributionPoints.superclass.constructor.call(this,l);var C=Y.asn1,k=C.x509;this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.setByDPArray=function(Q){for(var oe=[],se=0;se<Q.length;se++)if(Q[se]instanceof Y.asn1.ASN1Object)oe.push(Q[se]);else{var y=new k.DistributionPoint(Q[se]);oe.push(y)}this.asn1ExtnValue=new C.DERSequence({array:oe})},this.setByOneURI=function(Q){var oe=new k.DistributionPoint({fulluri:Q});this.setByDPArray([oe])},this.oid="2.5.29.31",void 0!==l&&(void 0!==l.array?this.setByDPArray(l.array):void 0!==l.uri&&this.setByOneURI(l.uri))},Kn(Y.asn1.x509.CRLDistributionPoints,Y.asn1.x509.Extension),Y.asn1.x509.DistributionPoint=function(l){Y.asn1.x509.DistributionPoint.superclass.constructor.call(this);var k=Y.asn1,Q=k.x509.DistributionPointName;this.tohex=function(){var oe=new k.DERSequence;if(null!=this.asn1DP){var se=new k.DERTaggedObject({explicit:!0,tag:"a0",obj:this.asn1DP});oe.appendASN1Object(se)}return this.hTLV=oe.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(void 0!==l.dpobj?this.asn1DP=l.dpobj:void 0!==l.dpname?this.asn1DP=ne
1w Q(l.dpname):void 0!==l.fulluri&&(this.asn1DP=new Q({full:[{uri:l.fulluri}]})))},Kn(Y.asn1.x509.DistributionPoint,Y.asn1.ASN1Object),Y.asn1.x509.DistributionPointName=function(l){Y.asn1.x509.DistributionPointName.superclass.constructor.call(this);var se=Y.asn1,y=se.DERTaggedObject;if(this.tohex=function(){if("full"!=this.type)throw new Error("currently type shall be 'full': "+this.type);return this.asn1Obj=new y({explicit:!1,tag:this.tag,obj:this.asn1V}),this.hTLV=this.asn1Obj.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l)if(se.x509.GeneralNames.prototype.isPrototypeOf(l))this.type="full",this.tag="a0",this.asn1V=l;else{if(void 0===l.full)throw new Error("This class supports GeneralNames only as argument");this.type="full",this.tag="a0",this.asn1V=new se.x509.GeneralNames(l.full)}},Kn(Y.asn1.x509.DistributionPointName,Y.asn1.ASN1Object),Y.asn1.x509.CertificatePolicies=function(l){Y.asn1.x509.CertificatePolicies.superclass.constructor.call(this,l);var C=Y.asn1,Q=C.DERSequence,oe=C.x509.PolicyInformation;this.params=null,this.getExtnValueHex=function(){for(var se=[],y=0;y<this.params.array.length;y++)se.push(new oe(this.params.array[y]));var T=new Q({array:se});return this.asn1ExtnValue=T,this.asn1ExtnValue.tohex()},this.oid="2.5.29.32",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.CertificatePolicies,Y.asn1.x509.Extension),Y.asn1.x509.PolicyInformation=function(l){Y.asn1.x509.PolicyInformation.superclass.constructor.call(this,l);var w=Y.asn1,C=w.DERSequence,k=w.DERObjectIdentifier,Q=w.x509.PolicyQualifierInfo;this.params=null,this.tohex=function(){if(void 0===this.params.policyoid&&void 0===this.params.array)throw new Error("parameter oid and array missing");var oe=[new k(this.params.policyoid)];if(void 0!==this.params.array){for(var se=[],y=0;y<this.params.array.length;y++)se.push(new Q(this.params.array[y]));se.length>0&&oe.push(new C({array:se}))}return new C({array:oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.PolicyInformation,Y.asn1.ASN1Object),Y.asn1.x509.PolicyQualifierInfo=function(l){Y.asn1.x509.PolicyQualifierInfo.superclass.constructor.call(this,l);var w=Y.asn1,C=w.DERSequence,k=w.DERIA5String,Q=w.DERObjectIdentifier,oe=w.x509.UserNotice;this.params=null,this.tohex=function(){return void 0!==this.params.cps?new C({array:[new Q({oid:"1.3.6.1.5.5.7.2.1"}),new k({str:this.params.cps})]}).tohex():null!=this.params.unotice?new C({array:[new Q({oid:"1.3.6.1.5.5.7.2.2"}),new oe(this.params.unotice)]}).tohex():void 0},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.PolicyQualifierInfo,Y.asn1.ASN1Object),Y.asn1.x509.UserNotice=function(l){Y.asn1.x509.UserNotice.superclass.constructor.call(this,l);var w=Y.asn1.DERSequence,k=Y.asn1.x509.DisplayText,Q=Y.asn1.x509.NoticeReference;this.params=null,this.tohex=function(){var oe=[];return void 0!==this.params.noticeref&&oe.push(new Q(this.params.noticeref)),void 0!==this.params.exptext&&oe.push(new k(this.params.exptext)),new w({array:oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.UserNotice,Y.asn1.ASN1Object),Y.asn1.x509.NoticeReference=function(l){Y.asn1.x509.NoticeReference.superclass.constructor.call(this,l);var w=Y.asn1.DERSequence,C=Y.asn1.DERInteger,k=Y.asn1.x509.DisplayText;this.params=null,this.tohex=function(){var Q=[];if(void 0!==this.params.org&&Q.push(new k(this.params.org)),void 0!==this.params.noticenum){for(var oe=[],se=this.params.noticenum,y=0;y<se.length;y++)oe.push(new C(se[y]));Q.push(new w({array:oe}))}if(0==Q.length)throw new Error("parameter is empty");return new w({array:Q}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.NoticeReference,Y.asn1.ASN1Object),Y.asn1.x509.DisplayText=function(l){Y.asn1.x509.DisplayText.superclass.constructor.call(this,l),this.hT="0c",void 0!==l&&("ia5"===l.type?this.hT="16":"vis"===l.type?this.hT="1a":"bmp"===l.type&&(this.hT="1e"))},Kn(Y.asn1.x509.DisplayText,Y.asn1.DERAbstractString),Y.asn1.x509.PolicyMappings=function(l){Y.asn1.x509.PolicyMappings.superclass.constructor.call(this,l);var Q=Y.asn1.ASN1Util.newObject;this.params=null,this.getExtnValueHex=function(){for(var oe=this.params,se=[],y=0;y<oe.array.length;y++){var T=oe.array[y];se.push({seq:[{oid:T[0]},{oid:T[1]}]})}return this.asn1ExtnValue=Q({seq:se}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.33",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.PolicyMappings,Y.asn1.x509.Extension),Y.asn1.x509.PolicyConstraints=function(l){Y.asn1.x509.PolicyConstraints.superclass.constructor.call(this,l);var Q=Y.asn1.ASN1Util.newObject;this.params=null,this.getExtnValueHex=function(){var oe=this.params,se=[];
1return null!=oe.reqexp&&se.push({tag:{tagi:"80",obj:{int:oe.reqexp}}}),null!=oe.inhibit&&se.push({tag:{tagi:"81",obj:{int:oe.inhibit}}}),this.asn1ExtnValue=Q({seq:se}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.36",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.PolicyConstraints,Y.asn1.x509.Extension),Y.asn1.x509.InhibitAnyPolicy=function(l){Y.asn1.x509.InhibitAnyPolicy.superclass.constructor.call(this,l);var Q=Y.asn1.ASN1Util.newObject;this.params=null,this.getExtnValueHex=function(){return this.asn1ExtnValue=Q({int:this.params.skip}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.54",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.InhibitAnyPolicy,Y.asn1.x509.Extension),Y.asn1.x509.NameConstraints=function(l){Y.asn1.x509.NameConstraints.superclass.constructor.call(this,l);var C=Y.asn1,Q=C.ASN1Util.newObject,oe=C.x509.GeneralSubtree;this.params=null,this.getExtnValueHex=function(){var se=this.params,y=[];if(null!=se.permit&&null!=se.permit.length){for(var T=[],O=0;O<se.permit.length;O++)T.push(new oe(se.permit[O]));y.push({tag:{tagi:"a0",obj:{seq:T}}})}if(null!=se.exclude&&null!=se.exclude.length){var V=[];for(O=0;O<se.exclude.length;O++)V.push(new oe(se.exclude[O]));y.push({tag:{tagi:"a1",obj:{seq:V}}})}return this.asn1ExtnValue=Q({seq:y}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.30",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.NameConstraints,Y.asn1.x509.Extension),Y.asn1.x509.GeneralSubtree=function(l){Y.asn1.x509.GeneralSubtree.superclass.constructor.call(this);var w=Y.asn1,k=w.x509.GeneralName,Q=w.ASN1Util.newObject;this.params=null,this.setByParam=function(oe){this.params=oe},this.tohex=function(){var oe=this.params,se=[new k(oe)];return null!=oe.min&&se.push({tag:{tagi:"80",obj:{int:oe.min}}}),null!=oe.max&&se.push({tag:{tagi:"81",obj:{int:oe.max}}}),Q({seq:se}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.GeneralSubtree,Y.asn1.ASN1Object),Y.asn1.x509.ExtKeyUsage=function(l){Y.asn1.x509.ExtKeyUsage.superclass.constructor.call(this,l);var C=Y.asn1;this.setPurposeArray=function(k){this.asn1ExtnValue=new C.DERSequence;for(var Q=0;Q<k.length;Q++){var oe=new C.DERObjectIdentifier(k[Q]);this.asn1ExtnValue.appendASN1Object(oe)}},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.37",void 0!==l&&void 0!==l.array&&this.setPurposeArray(l.array)},Kn(Y.asn1.x509.ExtKeyUsage,Y.asn1.x509.Extension),Y.asn1.x509.AuthorityKeyIdentifier=function(l){Y.asn1.x509.AuthorityKeyIdentifier.superclass.constructor.call(this,l);var C=Y.asn1,k=C.DERTaggedObject,Q=C.x509.GeneralNames;this.asn1KID=null,this.asn1CertIssuer=null,this.asn1CertSN=null,this.getExtnValueHex=function(){var se=new Array;this.asn1KID&&se.push(new k({explicit:!1,tag:"80",obj:this.asn1KID})),this.asn1CertIssuer&&se.push(new k({explicit:!1,tag:"a1",obj:new Q([{dn:this.asn1CertIssuer}])})),this.asn1CertSN&&se.push(new k({explicit:!1,tag:"82",obj:this.asn1CertSN}));var y=new C.DERSequence({array:se});return this.asn1ExtnValue=y,this.asn1ExtnValue.tohex()},this.setKIDByParam=function(se){if(void 0!==se.str||void 0!==se.hex)this.asn1KID=new Y.asn1.DEROctetString(se);else if("object"==typeof se&&Y.crypto.Util.isKey(se)||"string"==typeof se&&-1!=se.indexOf("BEGIN ")){var y=se;"string"==typeof se&&(y=fi.getKey(se));var T=fi.getKeyID(y);this.asn1KID=new Y.asn1.DEROctetString({hex:T})}},this.setCertIssuerByParam=function(se){void 0!==se.str||void 0!==se.ldapstr||void 0!==se.hex||void 0!==se.certsubject||void 0!==se.certissuer?this.asn1CertIssuer=new Y.asn1.x509.X500Name(se):"string"==typeof se&&-1!=se.indexOf("BEGIN ")&&-1!=se.indexOf("CERTIFICATE")&&(this.asn1CertIssuer=new Y.asn1.x509.X500Name({certissuer:se}))},this.setCertSNByParam=function(se){if(void 0!==se.str||void 0!==se.bigint||void 0!==se.hex)this.asn1CertSN=new Y.asn1.DERInteger(se);else if("string"==typeof se&&-1!=se.indexOf("BEGIN ")&&se.indexOf("CERTIFICATE")){var y=new Rr;y.readCertPEM(se);var T=y.getSerialNumberHex();this.asn1CertSN=new Y.asn1.DERInteger({hex:T})}},this.oid="2.5.29.35",void 0!==l&&(void 0!==l.kid&&this.setKIDByParam(l.kid),void 0!==l.issuer&&this.setCertIssuerByParam(l.issuer),void 0!==l.sn&&this.setCertSNByParam(l.sn),void 0!==l.issuersn&&"string"==typeof l.issuersn&&-1!=l.issuersn.indexOf("BEGIN ")&&l.issuersn.indexOf("CERTIFICATE")&&(this.setCertSNByParam(l.issuersn),this.setCertIssuerByParam(l.issuersn)))},Kn(Y.asn1.x509.AuthorityKeyIdentifier,Y.asn1.x509.Extension),Y.asn1.x509.SubjectKeyIdentifier=function(l){Y.asn1.x509.SubjectKeyIdentifier.superclass.constructor.call(this,l);var k=Y.asn1.DEROctetString;this.asn1KID=null,this.getExtnValueHex=function(){return this.asn1ExtnValue=this.asn1KID,this.asn1ExtnValue.tohex()},this.setKIDByParam=function(Q){if(void 0!==Q.str||void 0!==Q.hex)this.asn1KID=new k(Q);else if("object"==typeof Q&&Y.crypto.Util.isKey(Q)||"string"==typeof Q&&-1!=Q.indexOf("BEGIN")){var oe=Q;"string"==typeof Q&&(oe=fi.getKey(Q));var se=fi.getKeyID(oe);this.asn1KID=new Y.asn1.DEROctetString({hex:se})}},this.oid="2.5.29.14",void 0!==l&&void 0!==l.kid&&this.setKIDByParam(l.kid)},Kn(Y.asn1.x509.SubjectKeyIdentifier,Y.asn1.x509.Extension),Y.asn1.x509.AuthorityInfoAccess=function(l){Y.asn1.x509.AuthorityInfoAccess.superclass.constructor.call(this,l),this.setAccessDescriptionArray=function(w){for(var C=new Array,Q=Y.asn1,oe=Q.DERSequence,se=Q.DERObjectIdentifier,y=Q.x509.GeneralName,T=0;T<w.length;T++){var O,V=w[T];if(void 0!==V.ocsp)O=new oe({array:[new se({oid:"1.3.6.1.5.5.7.48.1"}),new y({uri:V.ocsp})]});else{if(void 0===V.caissuer)throw new Error("unknown AccessMethod parameter: "+JSON.stringify(V));O=new oe({array:[new se({oid:"1.3.6.1.5.5.7.48.2"}),new y({uri:V.caissuer})]})}C.push(O)}this.asn1ExtnValue=new oe({array:C})},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.1.1",void 0!==l&&void 0!==l.array&&this.setAccessDescriptionArray(l.array)},Kn(Y.asn1.x509.AuthorityInfoAccess,Y.asn1.x509.Extension),Y.asn1.x509.SubjectAltName=function(l){Y.asn1.x509.SubjectAltName.superclass.constructor.call(this,l),this.setNameArray=function(w){this.asn1ExtnValue=new Y.asn1.x509.GeneralNames(w)},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.17",void 0!==l&&void 0!==l.array&&this.setNameArray(l.array)},Kn(Y.asn1.x509.SubjectAltName,Y.asn1.x509.Extension),Y.asn1.x509.IssuerAltName=function(l){Y.asn1.x509.IssuerAltName.superclass.constructor.call(this,l),this.setNameArray=function(w){this.asn1ExtnValue=new Y.asn1.x509.GeneralNames(w)},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.18",void 0!==l&&void 0!==l.array&&this.setNameArray(l.array)},Kn(Y.asn1.x509.IssuerAltName,Y.asn1.x509.Extension),Y.asn1.x509.SubjectDirectoryAttributes=function(l){Y.asn1.x509.SubjectDirectoryAttributes.superclass.constructor.call(this,l);var w=Y.asn1,C=w.DERSequence,k=w.ASN1Util.newObject,Q=w.x509.OID.name2oid;this.params=null,this.getExtnValueHex=function(){for(var oe=[],se=0;se<this.params.array.length;se++){var y=this.params.array[se];
1if(null==y.attr||null==y.array){var O={seq:[{oid:"1.2.3.4"},{set:[{utf8str:"DE"}]}]};if("dateOfBirth"==y.attr)O.seq[0].oid=Q(y.attr),O.seq[1].set[0]={gentime:y.str};else if("placeOfBirth"==y.attr)O.seq[0].oid=Q(y.attr),O.seq[1].set[0]={utf8str:y.str};else if("gender"==y.attr)O.seq[0].oid=Q(y.attr),O.seq[1].set[0]={prnstr:y.str};else if("countryOfCitizenship"==y.attr)O.seq[0].oid=Q(y.attr),O.seq[1].set[0]={prnstr:y.str};else{if("countryOfResidence"!=y.attr)throw new Error("unsupported attribute: "+y.attr);O.seq[0].oid=Q(y.attr),O.seq[1].set[0]={prnstr:y.str}}oe.push(new k(O))}else oe.push(k({seq:[{oid:y.attr},{set:y.array}]}))}var V=new C({array:oe});return this.asn1ExtnValue=V,this.asn1ExtnValue.tohex()},this.oid="2.5.29.9",void 0!==l&&(this.params=l)},Kn(Y.asn1.x509.SubjectDirectoryAttributes,Y.asn1.x509.Extension),Y.asn1.x509.PrivateExtension=function(l){Y.asn1.x509.PrivateExtension.superclass.constructor.call(this,l);var C=Y.lang.String.isHex,k=Y.asn1,Q=k.x509.OID.name2oid,oe=k.ASN1Util.newObject;this.params=null,this.setByParam=function(se){this.oid=Q(se.extname),this.params=se},this.getExtnValueHex=function(){if(null==this.params.extname||null==this.params.extn)throw new Error("extname or extnhex not specified");var se=this.params.extn;if("string"==typeof se&&C(se))return se;if("object"==typeof se)try{return oe(se).tohex()}catch{}throw new Error("unsupported extn value")},null!=l&&this.setByParam(l)},Kn(Y.asn1.x509.PrivateExtension,Y.asn1.x509.Extension),Y.asn1.x509.CRL=function(l){Y.asn1.x509.CRL.superclass.constructor.call(this);var C=Y.asn1,k=C.DERSequence,Q=C.DERBitString,oe=C.x509,se=oe.AlgorithmIdentifier,y=oe.TBSCertList;this.params=void 0,this.setByParam=function(T){this.params=T},this.sign=function(){var T=new y(this.params).tohex(),O=new Y.crypto.Signature({alg:this.params.sigalg});O.init(this.params.cakey),O.updateHex(T);var V=O.sign();this.params.sighex=V},this.getPEM=function(){return Or(this.tohex(),"X509 CRL")},this.tohex=function(){var T=this.params;if(null==T.tbsobj&&(T.tbsobj=new y(T)),null==T.sighex&&null!=T.cakey&&this.sign(),null==T.sighex)throw new Error("sighex or cakey parameter not defined");var O=[];return O.push(T.tbsobj),O.push(new se({name:T.sigalg})),O.push(new Q({hex:"00"+T.sighex})),new k({array:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&(this.params=l)},Kn(Y.asn1.x509.CRL,Y.asn1.ASN1Object),Y.asn1.x509.TBSCertList=function(l){Y.asn1.x509.TBSCertList.superclass.constructor.call(this);var C=Y.asn1,k=C.DERInteger,Q=C.DERSequence,oe=C.DERTaggedObject,y=C.x509,T=y.AlgorithmIdentifier,O=y.Time,V=y.Extensions,J=y.X500Name;this.params=null,this.setByParam=function(H){this.params=H},this.getRevCertSequence=function(){for(var H=[],z=this.params.revcert,Ce=0;Ce<z.length;Ce++){var he=[new k(z[Ce].sn),new O(z[Ce].date)];null!=z[Ce].ext&&he.push(new V(z[Ce].ext)),H.push(new Q({array:he}))}return new Q({array:H})},this.tohex=function(){var H=[],z=this.params;if(null!=z.version){var he=new k({int:z.version-1});H.push(he)}if(H.push(new T({name:z.sigalg})),H.push(new J(z.issuer)),H.push(new O(z.thisupdate)),null!=z.nextupdate&&H.push(new O(z.nextupdate)),null!=z.revcert&&H.push(this.getRevCertSequence()),null!=z.ext){var Te=new V(z.ext);H.push(new oe({tag:"a0",explicit:!0,obj:Te}))}return new Q({array:H}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.TBSCertList,Y.asn1.ASN1Object),Y.asn1.x509.CRLEntry=function(l){Y.asn1.x509.CRLEntry.superclass.constructor.call(this);var Q=Y.asn1;this.setCertSerial=function(oe){this.sn=new Q.DERInteger(oe)},this.setRevocationDate=function(oe){this.time=new Q.x509.Time(oe)},this.tohex=function(){var oe=new Q.DERSequence({array:[this.sn,this.time]});return this.TLV=oe.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(void 0!==l.time&&this.setRevocationDate(l.time),void 0!==l.sn&&this.setCertSerial(l.sn))},Kn(Y.asn1.x509.CRLEntry,Y.asn1.ASN1Object),Y.asn1.x509.CRLNumber=function(l){Y.asn1.x509.CRLNumber.superclass.constructor.call(this,l),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new Y.asn1.DERInteger(this.params.num),this.asn1ExtnValue.tohex()},this.oid="2.5.29.20",null!=l&&(this.params=l)},Kn(Y.asn1.x509.CRLNumber,Y.asn1.x509.Extension),Y.asn1.x509.CRLReason=function(l){Y.asn1.x509.CRLReason.superclass.constructor.call(this,l),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new Y.asn1.DEREnumerated(this.params.code),this.asn1ExtnValue.tohex()},this.oid="2.5.29.21",null!=l&&(this.params=l)},Kn(Y.asn1.x509.CRLReason,Y.asn1.x509.Extension),Y.asn1.x509.OCSPNonce=function(l){Y.asn1.x509.OCSPNonce.superclass.constructor.call(this,l),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new Y.asn1.DEROctetString(this.params),this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.48.1.2",null!=l&&(this.params=l)},Kn(Y.asn1.x509.OCSPNonce,Y.asn1.x509.Extension),Y.asn1.x509.OCSPNoCheck=function(l){Y.asn1.x509.OCSPNoCheck.superclass.constructor.call(this,l),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new Y.asn1.DERNull,this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.48.1.5",null!=l&&(this.params=l)},Kn(Y.asn1.x509.OCSPNoCheck,Y.asn1.x509.Extension),Y.asn1.x509.AdobeTimeStamp=function(l){Y.asn1.x509.AdobeTimeStamp.superclass.constructor.call(this,l);var C=Y.asn1,k=C.DERInteger,Q=C.DERBoolean,oe=C.DERSequence,se=C.x509.GeneralName;this.params=null,this.getExtnValueHex=function(){var y=this.params,T=[new k(1)];return T.push(new se({uri:y.uri})),null!=y.reqauth&&T.push(new Q(y.reqauth)),this.asn1ExtnValue=new oe({array:T}),this.asn1ExtnValue.tohex()},this.oid="1.2.840.113583.1.1.9.1",void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.AdobeTimeStamp,Y.asn1.x509.Extension),Y.asn1.x509.X500Name=function(l){Y.asn1.x509.X500Name.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var C=Y.asn1,k=C.x509,Q=k.RDN;this.setByString=function(se,y){void 0!==y&&(this.sRule=y);var T=se.split("/");T.shift();for(var O=[],V=0;V<T.length;V++)if(T[V].match(/^[^=]+=.+$/))O.push(T[V]);else{var J=O.length-1;O[J]=O[J]+"/"+T[V]}for(V=0;V<O.length;V++)this.asn1Array.push(new Q({str:O[V],rule:this.sRule}))},this.setByLdapString=function(se,y){void 0!==y&&(this.sRule=y);
1var T=k.X500Name.ldapToCompat(se);this.setByString(T,y)},this.setByObject=function(se,y){for(var T in void 0!==y&&(this.sRule=y),se)if(se.hasOwnProperty(T)){var O=new Q({str:T+"="+se[T],rule:this.sRule});this.asn1Array?this.asn1Array.push(O):this.asn1Array=[O]}},this.setByParam=function(se){if(void 0!==se.rule&&(this.sRule=se.rule),void 0!==se.array)this.paramArray=se.array;else if(void 0!==se.str)this.setByString(se.str);else if(void 0!==se.ldapstr)this.setByLdapString(se.ldapstr);else if(void 0!==se.hex)this.hTLV=se.hex;else if(void 0!==se.certissuer)(y=new Rr).readCertPEM(se.certissuer),this.hTLV=y.getIssuerHex();else if(void 0!==se.certsubject){var y;(y=new Rr).readCertPEM(se.certsubject),this.hTLV=y.getSubjectHex()}else"object"==typeof se&&void 0===se.certsubject&&void 0===se.certissuer&&this.setByObject(se)},this.tohex=function(){if("string"==typeof this.hTLV)return this.hTLV;if(0==this.asn1Array.length&&this.paramArray.length>0)for(var se=0;se<this.paramArray.length;se++){var y={array:this.paramArray[se]};"utf8"!=this.sRule&&(y.rule=this.sRule);var T=new Q(y);this.asn1Array.push(T)}var O=new C.DERSequence({array:this.asn1Array});return this.hTLV=O.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.X500Name,Y.asn1.ASN1Object),Y.asn1.x509.X500Name.compatToLDAP=function(l){if("/"!==l.substr(0,1))throw"malformed input";var C=(l=l.substr(1)).split("/");return C.reverse(),C=C.map(function(k){return k.replace(/,/,"\\,")}),C.join(",")},Y.asn1.x509.X500Name.onelineToLDAP=function(l){return Y.asn1.x509.X500Name.compatToLDAP(l)},Y.asn1.x509.X500Name.ldapToCompat=function(l){for(var w=l.split(","),C=!1,k=[],Q=0;w.length>0;Q++){var oe=w.shift();if(!0===C){var y=(k.pop()+","+oe).replace(/\\,/g,",");k.push(y),C=!1}else k.push(oe);"\\"===oe.substr(-1,1)&&(C=!0)}return k=k.map(function(T){return T.replace("/","\\/")}),k.reverse(),"/"+k.join("/")},Y.asn1.x509.X500Name.ldapToOneline=function(l){return Y.asn1.x509.X500Name.ldapToCompat(l)},Y.asn1.x509.RDN=function(l){Y.asn1.x509.RDN.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var w=Y.asn1.x509.AttributeTypeAndValue;this.setByParam=function(C){void 0!==C.rule&&(this.sRule=C.rule),void 0!==C.str&&this.addByMultiValuedString(C.str),void 0!==C.array&&(this.paramArray=C.array)},this.addByString=function(C){this.asn1Array.push(new Y.asn1.x509.AttributeTypeAndValue({str:C,rule:this.sRule}))},this.addByMultiValuedString=function(C){for(var k=Y.asn1.x509.RDN.parseString(C),Q=0;Q<k.length;Q++)this.addByString(k[Q])},this.tohex=function(){if(0==this.asn1Array.length&&this.paramArray.length>0)for(var C=0;C<this.paramArray.length;C++){var k=this.paramArray[C];void 0!==k.rule&&"utf8"!=this.sRule&&(k.rule=this.sRule);var Q=new w(k);this.asn1Array.push(Q)}var oe=new Y.asn1.DERSet({array:this.asn1Array});return this.TLV=oe.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.RDN,Y.asn1.ASN1Object),Y.asn1.x509.RDN.parseString=function(l){for(var w=l.split(/\+/),C=!1,k=[],Q=0;w.length>0;Q++){var oe=w.shift();if(!0===C){var y=(k.pop()+"+"+oe).replace(/\\\+/g,"+");k.push(y),C=!1}else k.push(oe);"\\"===oe.substr(-1,1)&&(C=!0)}var T=!1,O=[];for(Q=0;k.length>0;Q++){if(oe=k.shift(),!0===T){var V=O.pop();oe.match(/"$/)?(y=(V+"+"+oe).replace(/^([^=]+)="(.*)"$/,"$1=$2"),O.push(y),T=!1):O.push(V+"+"+oe)}else O.push(oe);oe.match(/^[^=]+="/)&&(T=!0)}return O},Y.asn1.x509.AttributeTypeAndValue=function(l){Y.asn1.x509.AttributeTypeAndValue.superclass.constructor.call(this),this.sRule="utf8",this.sType=null,this.sValue=null,this.dsType=null;var C=Y.asn1,k=C.DERSequence,Q=C.DERUTF8String,oe=C.DERPrintableString,se=C.DERTeletexString,y=C.DERIA5String,T=C.DERVisibleString,O=C.DERBMPString,V=Y.lang.String.isMail,J=Y.lang.String.isPrintable;this.setByParam=function(H){if(void 0!==H.rule&&(this.sRule=H.rule),void 0!==H.ds&&(this.dsType=H.ds),void 0===H.value&&void 0!==H.str){var Ce=H.str.match(/^([^=]+)=(.+)$/);if(!Ce)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.sType=Ce[1],this.sValue=Ce[2]}else this.sType=H.type,this.sValue=H.value},this.setByString=function(H,z){void 0!==z&&(this.sRule=z);var Ce=H.match(/^([^=]+)=(.+)$/);if(!Ce)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.setByAttrTypeAndValueStr(Ce[1],Ce[2])},this._getDsType=function(){var H=this.sType,z=this.sValue,Ce=this.sRule;return"prn"===Ce?"CN"==H&&V(z)?"ia5":J(z)?"prn":"utf8":"utf8"===Ce?"CN"==H&&V(z)?"ia5":"C"==H?"prn":"utf8":"utf8"},this.setByAttrTypeAndValueStr=function(H,z,Ce){void 0!==Ce&&(this.sRule=Ce),this.sType=H,this.sValue=z},this.getValueObj=function(H,z){if("utf8"==H)return new Q({str:z});if("prn"==H)return new oe({str:z});if("tel"==H)return new se({str:z});if("ia5"==H)return new y({str:z});if("vis"==H)return new T({str:z});if("bmp"==H)return new O({str:z});throw new Error("unsupported directory string type: type="+H+" value="+z)},this.tohex=function(){null==this.dsType&&(this.dsType=this._getDsType());var H=Y.asn1.x509.OID.atype2obj(this.sType),z=this.getValueObj(this.dsType,this.sValue),Ce=new k({array:[H,z]});return this.TLV=Ce.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.AttributeTypeAndValue,Y.asn1.ASN1Object),Y.asn1.x509.SubjectPublicKeyInfo=function(l){Y.asn1.x509.SubjectPublicKeyInfo.superclass.constructor.call(this);var Q=Y.asn1,oe=Q.DERInteger,se=Q.DERBitString,y=Q.DERObjectIdentifier,T=Q.DERSequence,O=Q.ASN1Util.newObject,J=Q.x509.AlgorithmIdentifier;this.getASN1Object=function(){if(null==this.asn1AlgId||null==this.asn1SubjPKey)throw"algId and/or subjPubKey not set";return new T({array:[this.asn1AlgId,this.asn1SubjPKey]})},this.tohex=function(){var he=this.getASN1Object();return this.hTLV=he.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.setPubKey=function(he){try{if(he instanceof zt){var Oe=O({seq:[{int:{bigint:he.n}},{int:{int:he.e}}]}).tohex();
1this.asn1AlgId=new J({name:"rsaEncryption"}),this.asn1SubjPKey=new se({hex:"00"+Oe})}}catch{}try{if(he instanceof Y.crypto.ECDSA){var Ge=new y({name:he.curveName});this.asn1AlgId=new J({name:"ecPublicKey",asn1params:Ge}),this.asn1SubjPKey=new se({hex:"00"+he.pubKeyHex})}}catch{}try{if(he instanceof Y.crypto.DSA){Ge=new O({seq:[{int:{bigint:he.p}},{int:{bigint:he.q}},{int:{bigint:he.g}}]}),this.asn1AlgId=new J({name:"dsa",asn1params:Ge});var yt=new oe({bigint:he.y});this.asn1SubjPKey=new se({hex:"00"+yt.tohex()})}}catch{}},void 0!==l&&this.setPubKey(l)},Kn(Y.asn1.x509.SubjectPublicKeyInfo,Y.asn1.ASN1Object),Y.asn1.x509.Time=function(l){Y.asn1.x509.Time.superclass.constructor.call(this);var Q=Y.asn1,oe=Q.DERUTCTime,se=Q.DERGeneralizedTime;this.params=null,this.type=null,this.setTimeParams=function(y){this.timeParams=y},this.setByParam=function(y){this.params=y},this.getType=function(y){return y.match(/^[0-9]{12}Z$/)?"utc":y.match(/^[0-9]{14}Z$/)?"gen":y.match(/^[0-9]{12}\.[0-9]+Z$/)?"utc":y.match(/^[0-9]{14}\.[0-9]+Z$/)?"gen":null},this.tohex=function(){var y=this.params,T=null;if("string"==typeof y&&(y={str:y}),null!=y&&y.str&&(null==y.type||null==y.type)&&(y.type=this.getType(y.str)),null!=y&&y.str?("utc"==y.type&&(T=new oe(y.str)),"gen"==y.type&&(T=new se(y.str))):T="gen"==this.type?new se:new oe,null==T)throw new Error("wrong setting for Time");return this.TLV=T.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Y.asn1.x509.Time_bak=function(l){Y.asn1.x509.Time_bak.superclass.constructor.call(this);var Q=Y.asn1,oe=Q.DERUTCTime,se=Q.DERGeneralizedTime;this.setTimeParams=function(y){this.timeParams=y},this.tohex=function(){var y=null;return y=null!=this.timeParams?"utc"==this.type?new oe(this.timeParams):new se(this.timeParams):"utc"==this.type?new oe:new se,this.TLV=y.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},this.type="utc",void 0!==l&&(void 0!==l.type?this.type=l.type:void 0!==l.str&&(l.str.match(/^[0-9]{12}Z$/)&&(this.type="utc"),l.str.match(/^[0-9]{14}Z$/)&&(this.type="gen")),this.timeParams=l)},Kn(Y.asn1.x509.Time,Y.asn1.ASN1Object),Y.asn1.x509.AlgorithmIdentifier=function(l){Y.asn1.x509.AlgorithmIdentifier.superclass.constructor.call(this),this.nameAlg=null,this.asn1Alg=null,this.asn1Params=null,this.paramEmpty=!1;var C=Y.asn1,k=C.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;if(this.tohex=function(){if(null===this.nameAlg&&null===this.asn1Alg)throw new Error("algorithm not specified");if(null!==this.nameAlg){var oe=null;for(var se in k)se===this.nameAlg&&(oe=k[se]);if(null!==oe)return this.hTLV=oe,this.hTLV}null!==this.nameAlg&&null===this.asn1Alg&&(this.asn1Alg=C.x509.OID.name2obj(this.nameAlg));var y=[this.asn1Alg];null!==this.asn1Params&&y.push(this.asn1Params);var T=new C.DERSequence({array:y});return this.hTLV=T.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&(void 0!==l.name&&(this.nameAlg=l.name),void 0!==l.asn1params&&(this.asn1Params=l.asn1params),void 0!==l.paramempty&&(this.paramEmpty=l.paramempty)),null===this.asn1Params&&!1===this.paramEmpty&&null!==this.nameAlg){void 0!==this.nameAlg.name&&(this.nameAlg=this.nameAlg.name);var Q=this.nameAlg.toLowerCase();"withdsa"!==Q.substr(-7,7)&&"withecdsa"!==Q.substr(-9,9)&&(this.asn1Params=new C.DERNull)}},Kn(Y.asn1.x509.AlgorithmIdentifier,Y.asn1.ASN1Object),Y.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV={SHAwithRSAandMGF1:"300d06092a864886f70d01010a3000",SHA256withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040201a11a301806092a864886f70d010108300b0609608648016503040201a203020120",SHA384withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040202a11a301806092a864886f70d010108300b0609608648016503040202a203020130",SHA512withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040203a11a301806092a864886f70d010108300b0609608648016503040203a203020140"},Y.asn1.x509.GeneralName=function(l){Y.asn1.x509.GeneralName.superclass.constructor.call(this);var k=Y.asn1,Q=k.x509,oe=Q.X500Name,se=Q.OtherName,y=k.DERIA5String,O=k.DEROctetString,V=k.DERTaggedObject,J=k.ASN1Object,H=Error;this.params=null,this.setByParam=function(z){this.params=z},this.tohex=function(){var Ce,he,z=this.params,Te=!1;if(void 0!==z.other)Ce="a0",he=new se(z.other);else if(void 0!==z.rfc822)Ce="81",he=new y({str:z.rfc822});else if(void 0!==z.dns)Ce="82",he=new y({str:z.dns});
1else if(void 0!==z.dn)Ce="a4",Te=!0,he="string"==typeof z.dn?new oe({str:z.dn}):z.dn instanceof Y.asn1.x509.X500Name?z.dn:new oe(z.dn);else if(void 0!==z.ldapdn)Ce="a4",Te=!0,he=new oe({ldapstr:z.ldapdn});else if(void 0!==z.certissuer||void 0!==z.certsubj){Ce="a4",Te=!0;var Oe,Ge,yt=null;if(void 0!==z.certsubj?(Oe=!1,Ge=z.certsubj):(Oe=!0,Ge=z.certissuer),Ge.match(/^[0-9A-Fa-f]+$/),-1!=Ge.indexOf("-----BEGIN ")&&(yt=wi(Ge)),null==yt)throw new Error("certsubj/certissuer not cert");var St,It=new Rr;It.hex=yt,St=Oe?It.getIssuerHex():It.getSubjectHex(),(he=new J).hTLV=St}else if(void 0!==z.uri)Ce="86",he=new y({str:z.uri});else{if(void 0===z.ip)throw new H("improper params");Ce="87";var vn,wn=z.ip;try{if(wn.match(/^[0-9a-f]+$/)){var $e=wn.length;if(8!=$e&&16!=$e&&32!=$e&&64!=$e)throw"err";vn=wn}else vn=$a(wn)}catch(Lt){throw new H("malformed IP address: "+z.ip+":"+Lt.message)}he=new O({hex:vn})}return new V({tag:Ce,explicit:Te,obj:he}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.GeneralName,Y.asn1.ASN1Object),Y.asn1.x509.GeneralNames=function(l){Y.asn1.x509.GeneralNames.superclass.constructor.call(this);var k=Y.asn1;this.setByParamArray=function(Q){for(var oe=0;oe<Q.length;oe++){var se=new k.x509.GeneralName(Q[oe]);this.asn1Array.push(se)}},this.tohex=function(){return new k.DERSequence({array:this.asn1Array}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.asn1Array=new Array,typeof l<"u"&&this.setByParamArray(l)},Kn(Y.asn1.x509.GeneralNames,Y.asn1.ASN1Object),Y.asn1.x509.OtherName=function(l){Y.asn1.x509.OtherName.superclass.constructor.call(this);var Q=Y.asn1,oe=Q.DERObjectIdentifier,se=Q.DERSequence,y=Q.ASN1Util.newObject;this.params=null,this.setByParam=function(T){this.params=T},this.tohex=function(){var T=this.params;if(null==T.oid||null==T.value)throw new Error("oid or value not specified");var O=new oe({oid:T.oid}),V=y({tag:{tag:"a0",explicit:!0,obj:T.value}});return new se({array:[O,V]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.x509.OtherName,Y.asn1.ASN1Object),Y.asn1.x509.OID=new function(){var l=Y.asn1.DERObjectIdentifier;this.name2oidList={"aes128-CBC":"2.16.840.1.101.3.4.1.2","aes256-CBC":"2.16.840.1.101.3.4.1.42",sha1:"1.3.14.3.2.26",sha256:"2.16.840.1.101.3.4.2.1",sha384:"2.16.840.1.101.3.4.2.2",sha512:"2.16.840.1.101.3.4.2.3",sha224:"2.16.840.1.101.3.4.2.4",md5:"1.2.840.113549.2.5",md2:"1.3.14.7.2.2.1",ripemd160:"1.3.36.3.2.1",hmacWithSHA1:"1.2.840.113549.2.7",hmacWithSHA224:"1.2.840.113549.2.8",hmacWithSHA256:"1.2.840.113549.2.9",hmacWithSHA384:"1.2.840.113549.2.10",hmacWithSHA512:"1.2.840.113549.2.11",MD2withRSA:"1.2.840.113549.1.1.2",MD4withRSA:"1.2.840.113549.1.1.3",MD5withRSA:"1.2.840.113549.1.1.4",SHA1withRSA:"1.2.840.113549.1.1.5","pkcs1-MGF":"1.2.840.113549.1.1.8",rsaPSS:"1.2.840.113549.1.1.10",SHA224withRSA:"1.2.840.113549.1.1.14",SHA256withRSA:"1.2.840.113549.1.1.11",SHA384withRSA:"1.2.840.113549.1.1.12",SHA512withRSA:"1.2.840.113549.1.1.13",SHA1withECDSA:"1.2.840.10045.4.1",SHA224withECDSA:"1.2.840.10045.4.3.1",SHA256withECDSA:"1.2.840.10045.4.3.2",SHA384withECDSA:"1.2.840.10045.4.3.3",SHA512withECDSA:"1.2.840.10045.4.3.4",dsa:"1.2.840.10040.4.1",SHA1withDSA:"1.2.840.10040.4.3",SHA224withDSA:"2.16.840.1.101.3.4.3.1",SHA256withDSA:"2.16.840.1.101.3.4.3.2",rsaEncryption:"1.2.840.113549.1.1.1",commonName:"2.5.4.3",countryName:"2.5.4.6",localityName:"2.5.4.7",stateOrProvinceName:"2.5.4.8",streetAddress:"2.5.4.9",organizationName:"2.5.4.10",organizationalUnitName:"2.5.4.11",domainComponent:"0.9.2342.19200300.100.1.25",userId:"0.9.2342.19200300.100.1.1",surname:"2.5.4.4",givenName:"2.5.4.42",title:"2.5.4.12",distinguishedName:"2.5.4.49",emailAddress:"1.2.840.113549.1.9.1",description:"2.5.4.13",businessCategory:"2.5.4.15",postalCode:"2.5.4.17",uniqueIdentifier:"2.5.4.45",organizationIdentifier:"2.5.4.97",jurisdictionOfIncorporationL:"1.3.6.1.4.1.311.60.2.1.1",jurisdictionOfIncorporationSP:"1.3.6.1.4.1.311.60.2.1.2",jurisdictionOfIncorporationC:"1.3.6.1.4.1.311.60.2.1.3",subjectDirectoryAttributes:"2.5.29.9",subjectKeyIdentifier:"2.5.29.14",keyUsage:"2.5.29.15",subjectAltName:"2.5.29.17",issuerAltName:"2.5.29.18",basicConstraints:"2.5.29.19",cRLNumber:"2.5.29.20",cRLReason:"2.5.29.21",nameConstraints:"2.5.29.30",cRLDistributionPoints:"2.5.29.31",certificatePolicies:"2.5.29.32",anyPolicy:"2.5.29.32.0",policyMappings:"2.5.29.33",authorityKeyIdentifier:"2.5.29.35",policyConstraints:"2.5.29.36",extKeyUsage:"2.5.29.37",inhibitAnyPol
1icy:"2.5.29.54",authorityInfoAccess:"1.3.6.1.5.5.7.1.1",ocsp:"1.3.6.1.5.5.7.48.1",ocspBasic:"1.3.6.1.5.5.7.48.1.1",ocspNonce:"1.3.6.1.5.5.7.48.1.2",ocspNoCheck:"1.3.6.1.5.5.7.48.1.5",caIssuers:"1.3.6.1.5.5.7.48.2",anyExtendedKeyUsage:"2.5.29.37.0",serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",emailProtection:"1.3.6.1.5.5.7.3.4",timeStamping:"1.3.6.1.5.5.7.3.8",ocspSigning:"1.3.6.1.5.5.7.3.9",smtpUTF8Mailbox:"1.3.6.1.5.5.7.8.9",dateOfBirth:"1.3.6.1.5.5.7.9.1",placeOfBirth:"1.3.6.1.5.5.7.9.2",gender:"1.3.6.1.5.5.7.9.3",countryOfCitizenship:"1.3.6.1.5.5.7.9.4",countryOfResidence:"1.3.6.1.5.5.7.9.5",ecPublicKey:"1.2.840.10045.2.1","P-256":"1.2.840.10045.3.1.7",secp256r1:"1.2.840.10045.3.1.7",secp256k1:"1.3.132.0.10",secp384r1:"1.3.132.0.34",secp521r1:"1.3.132.0.35",pkcs5PBES2:"1.2.840.113549.1.5.13",pkcs5PBKDF2:"1.2.840.113549.1.5.12","des-EDE3-CBC":"1.2.840.113549.3.7",data:"1.2.840.113549.1.7.1","signed-data":"1.2.840.113549.1.7.2","enveloped-data":"1.2.840.113549.1.7.3","digested-data":"1.2.840.113549.1.7.5","encrypted-data":"1.2.840.113549.1.7.6","authenticated-data":"1.2.840.113549.1.9.16.1.2",tstinfo:"1.2.840.113549.1.9.16.1.4",signingCertificate:"1.2.840.113549.1.9.16.2.12",timeStampToken:"1.2.840.113549.1.9.16.2.14",signaturePolicyIdentifier:"1.2.840.113549.1.9.16.2.15",etsArchiveTimeStamp:"1.2.840.113549.1.9.16.2.27",signingCertificateV2:"1.2.840.113549.1.9.16.2.47",etsArchiveTimeStampV2:"1.2.840.113549.1.9.16.2.48",extensionRequest:"1.2.840.113549.1.9.14",contentType:"1.2.840.113549.1.9.3",messageDigest:"1.2.840.113549.1.9.4",signingTime:"1.2.840.113549.1.9.5",counterSignature:"1.2.840.113549.1.9.6",archiveTimeStampV3:"0.4.0.1733.2.4",pdfRevocationInfoArchival:"1.2.840.113583.1.1.8",adobeTimeStamp:"1.2.840.113583.1.1.9.1",smimeMailboxLegacy:"2.23.140.1.5.1.1",smimeMailboxMulti:"2.23.140.1.5.1.2",smimeMailboxStrict:"2.23.140.1.5.1.3",smimeOrganizationLegacy:"2.23.140.1.5.2.1",smimeOrganizationMulti:"2.23.140.1.5.2.2",smimeOrganizationStrict:"2.23.140.1.5.2.3",smimeSponsorLegacy:"2.23.140.1.5.3.1",smimeSponsorMulti:"2.23.140.1.5.3.2",smimeSponsorStrict:"2.23.140.1.5.3.3",smimeIndividualLegacy:"2.23.140.1.5.4.1",smimeIndividualMulti:"2.23.140.1.5.4.2",smimeIndividualStrict:"2.23.140.1.5.4.3"},this.atype2oidList={CN:"2.5.4.3",L:"2.5.4.7",ST:"2.5.4.8",O:"2.5.4.10",OU:"2.5.4.11",C:"2.5.4.6",STREET:"2.5.4.9",DC:"0.9.2342.19200300.100.1.25",UID:"0.9.2342.19200300.100.1.1",SN:"2.5.4.4",T:"2.5.4.12",GN:"2.5.4.42",DN:"2.5.4.49",E:"1.2.840.113549.1.9.1",description:"2.5.4.13",businessCategory:"2.5.4.15",postalCode:"2.5.4.17",serialNumber:"2.5.4.5",uniqueIdentifier:"2.5.4.45",organizationIdentifier:"2.5.4.97",jurisdictionOfIncorporationL:"1.3.6.1.4.1.311.60.2.1.1",jurisdictionOfIncorporationSP:"1.3.6.1.4.1.311.60.2.1.2",jurisdictionOfIncorporationC:"1.3.6.1.4.1.311.60.2.1.3"},this.objCache={},this.name2obj=function(w){if(typeof this.objCache[w]<"u")return this.objCache[w];if(typeof this.name2oidList[w]>"u")throw"Name of ObjectIdentifier not defined: "+w;var k=new l({oid:this.name2oidList[w]});return this.objCache[w]=k,k},this.atype2obj=function(w){if(void 0!==this.objCache[w])return this.objCache[w];var C;if(w.match(/^\d+\.\d+\.[0-9.]+$/))C=w;else if(void 0!==this.atype2oidList[w])C=this.atype2oidList[w];else{if(void 0===this.name2oidList[w])throw new Error("AttributeType name undefined: "+w);C=this.name2oidList[w]}var k=new l({oid:C});return this.objCache[w]=k,k},this.registerOIDs=function(w){if(this.checkOIDs(w))for(var C in w)this.name2oidList[C]=w[C]},this.checkOIDs=function(w){try{var C=Object.keys(w);return 0!=C.length&&(C.map(function(k,Q,oe){if(!this[k].match(/^[0-2]\.[0-9.]+$/))throw new Error("value is not OID")},w),!0)}catch{return!1}}},Y.asn1.x509.OID.oid2name=function(l){var w=Y.asn1.x509.OID.name2oidList;for(var C in w)if(w[C]==l)return C;return""},Y.asn1.x509.OID.oid2atype=function(l){var w=Y.asn1.x509.OID.atype2oidList;for(var C in w)if(w[C]==l)return C;return l},Y.asn1.x509.OID.name2oid=function(l){if(l.match(/^[0-9.]+$/))return l;var w=Y.asn1.x509.OID.name2oidList;return void 0===w[l]?"":w[l]},Y.asn1.x509.X509Util={},Y.asn1.x509.X509Util.newCertPEM=function(l){return new(0,Y.asn1.x509.Certificate)(l).getPEM()},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),(typeof Y.asn1.cms>"u"||!Y.asn1.cms)&&(Y.asn1.cms={}),Y.asn1.cms.Attribute=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.DERSet,se=k.DERObjectIdentifier;this.params=null,this.typeOid=null,this.setByParam=function(y){this.params=y},this.getValueArray=function(){throw new w("not yet implemented abstract")},this.tohex=function(){var y=new se({oid:this.typeOid}),T=new oe({array:this.getValueArray()});return new Q({array:[y,T]}).tohex()},this.getEncodedHex=function(){return this.tohex()}},Kn(Y.asn1.cms.Attribute,Y.asn1.ASN1Object),Y.asn1.cms.ContentType=function(l){var 
1C=Y.asn1;C.cms.ContentType.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.3",this.getValueArray=function(){return[new C.DERObjectIdentifier(this.params.type)]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.ContentType,Y.asn1.cms.Attribute),Y.asn1.cms.MessageDigest=function(l){var C=Y.asn1,k=C.DEROctetString;C.cms.MessageDigest.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.4",this.getValueArray=function(){return[new k(this.params)]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.MessageDigest,Y.asn1.cms.Attribute),Y.asn1.cms.SigningTime=function(l){var C=Y.asn1;C.cms.SigningTime.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.5",this.getValueArray=function(){return[new C.x509.Time(this.params)]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SigningTime,Y.asn1.cms.Attribute),Y.asn1.cms.SigningCertificate=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.cms,se=oe.ESSCertID;oe.SigningCertificate.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.12",this.getValueArray=function(){if(null==this.params||null==this.params||null==this.params.array)throw new w("parameter 'array' not specified");for(var T=this.params.array,O=[],V=0;V<T.length;V++){var J=T[V];0==l.hasis&&"string"==typeof J&&(-1!=J.indexOf("-----BEGIN")||ir.isASN1HEX(J))&&(J={cert:J}),0!=J.hasis&&0==l.hasis&&(J.hasis=!1),O.push(new se(J))}var H=new Q({array:O});return[new Q({array:[H]})]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SigningCertificate,Y.asn1.cms.Attribute),Y.asn1.cms.ESSCertID=function(l){Y.asn1.cms.ESSCertID.superclass.constructor.call(this);var w=Error,C=Y,k=C.asn1,Q=k.DEROctetString,oe=k.DERSequence,se=k.cms.IssuerSerial;this.params=null,this.getCertHash=function(y,T){if(null!=y.hash)return y.hash;if("string"==typeof y&&-1==y.indexOf("-----BEGIN")&&!ir.isASN1HEX(y))return y;var O,V,J;if("string"==typeof y)O=y;else{if(null==y.cert)throw new w("hash nor cert unspecified");O=y.cert}if(V=-1!=O.indexOf("-----BEGIN")?wi(O):O,"string"==typeof y&&(-1!=y.indexOf("-----BEGIN")?V=wi(y):ir.isASN1HEX(y)&&(V=y)),null!=y.alg)J=y.alg;else{if(null==T)throw new w("hash alg unspecified");J=T}return C.crypto.Util.hashHex(V,J)},this.tohex=function(){var y=this.params,T=this.getCertHash(y,"sha1"),O=[];return O.push(new Q({hex:T})),("string"==typeof y&&-1!=y.indexOf("-----BEGIN")||null!=y.cert&&0!=y.hasis||null!=y.issuer&&null!=y.serial)&&O.push(new se(y)),new oe({array:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.ESSCertID,Y.asn1.ASN1Object),Y.asn1.cms.SigningCertificateV2=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,se=k.cms,y=se.ESSCertIDv2;se.SigningCertificateV2.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.47",this.getValueArray=function(){if(null==this.params||null==this.params||null==this.params.array)throw new w("parameter 'array' not specified");for(var O=this.params.array,V=[],J=0;J<O.length;J++){var H=O[J];(null!=l.alg||0==l.hasis)&&"string"==typeof H&&(-1!=H.indexOf("-----BEGIN")||ir.isASN1HEX(H))&&(H={cert:H}),null==H.alg&&null!=l.alg&&(H.alg=l.alg),0!=H.hasis&&0==l.hasis&&(H.hasis=!1),V.push(new y(H))}var z=new Q({array:V});return[new Q({array:[z]})]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SigningCertificateV2,Y.asn1.cms.Attribute),Y.asn1.cms.ESSCertIDv2=function(l){Y.asn1.cms.ESSCertIDv2.superclass.constructor.call(this),Error;var k=Y.asn1,Q=k.DEROctetString,oe=k.DERSequence,se=k.cms.IssuerSerial,y=k.x509.AlgorithmIdentifier;this.params=null,this.tohex=function(){var T=this.params,O=this.getCertHash(T,"sha256"),V=[];return null!=T.alg&&"sha256"!=T.alg&&V.push(new y({name:T.alg})),V.push(new Q({hex:O})),("string"==typeof T&&-1!=T.indexOf("-----BEGIN")||null!=T.cert&&0!=T.hasis||null!=T.issuer&&null!=T.serial)&&V.push(new se(T)),new oe({array:V}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.ESSCertIDv2,Y.asn1.cms.ESSCertID),Y.asn1.cms.IssuerSerial=function(l){var w=Error,k=Y.asn1,Q=k.DERInteger,oe=k.DERSequence,T=k.x509.GeneralNames,O=Rr;k.cms.IssuerSerial.superclass.constructor.call(this),this.setByParam=function(V){this.params=V},this.tohex=function(){var J,H,V=this.params;if("string"==typeof V&&-1!=V.indexOf("-----BEGIN")||null!=V.cert){var z;z=null!=V.cert?V.cert:V;var Ce=new O;Ce.readCertPEM(z),J=Ce.getIssuer(),H={hex:Ce.getSerialNumberHex()}}else{if(null==V.issuer||!V.serial)throw new w("cert or issuer and serial parameter not specified");J=V.issuer,H=V.serial}var he=new T([{dn:J}]),Te=new Q(H);return new oe({array:[he,Te]}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.IssuerSerial,Y.asn1.ASN1Object),Y.asn1.cms.SignerIdentifier=function(l){var oe=Y.asn1.cms,se=
1oe.IssuerAndSerialNumber,y=oe.SubjectKeyIdentifier;Error,oe.SignerIdentifier.superclass.constructor.call(this),this.params=null,this.tohex=function(){var H=this.params;if("isssn"==H.type)return new se(H).tohex();if("skid"==H.type)return new y(H).tohex();throw new Error("wrong property for isssn or skid")},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SignerIdentifier,Y.asn1.ASN1Object),Y.asn1.cms.IssuerAndSerialNumber=function(l){var C=Y.asn1,k=C.DERInteger,Q=C.DERSequence,y=C.x509.X500Name,T=Rr,O=Error;C.cms.IssuerAndSerialNumber.superclass.constructor.call(this),this.params=null,this.tohex=function(){var J,H,V=this.params;if("string"==typeof V&&-1!=V.indexOf("-----BEGIN")||null!=V.cert){var z;z=null!=V.cert?V.cert:V;var Ce=new T;Ce.readCertPEM(z),J=Ce.getIssuer(),H={hex:Ce.getSerialNumberHex()}}else{if(null==V.issuer||!V.serial)throw new O("cert or issuer and serial parameter not specified");J=V.issuer,H=V.serial}var he=new y(J),Te=new k(H);return new Q({array:[he,Te]}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(V){this.params=V},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.IssuerAndSerialNumber,Y.asn1.ASN1Object),Y.asn1.cms.SubjectKeyIdentifier=function(l){var C=Y.asn1,oe=C.ASN1Util.newObject,J=Rr,H=Error;C.cms.SubjectKeyIdentifier.superclass.constructor.call(this),this.tohex=function(){var Ce,z=this.params;if(null==z.cert&&null==z.skid)throw new H("property cert nor skid undefined");return null!=z.cert?Ce=new J(z.cert).getExtSubjectKeyIdentifier().kid.hex:null!=z.skid&&(Ce=z.skid),oe({tag:{tage:"a0",obj:{octstr:{hex:Ce}}}}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SubjectKeyIdentifier,Y.asn1.ASN1Object),Y.asn1.cms.AttributeList=function(l){var w=Error,k=Y.asn1,Q=k.DERSet,oe=k.cms;oe.AttributeList.superclass.constructor.call(this),this.params=null,this.hTLV=null,this.setByParam=function(se){this.params=se},this.tohex=function(){var se=this.params;if(null!=this.hTLV)return this.hTLV;var y=!0;null!=se.sortflag&&(y=se.sortflag);for(var T=se.array,O=[],V=0;V<T.length;V++){var J=T[V],H=J.attr;if("contentType"==H)O.push(new oe.ContentType(J));else if("messageDigest"==H)O.push(new oe.MessageDigest(J));else if("signingTime"==H)O.push(new oe.SigningTime(J));else if("signingCertificate"==H)O.push(new oe.SigningCertificate(J));else if("signingCertificateV2"==H)O.push(new oe.SigningCertificateV2(J));else if("signaturePolicyIdentifier"==H)O.push(new Y.asn1.cades.SignaturePolicyIdentifier(J));else{if("signatureTimeStamp"!=H&&"timeStampToken"!=H)throw new w("unknown attr: "+H);O.push(new Y.asn1.cades.SignatureTimeStamp(J))}}var z=new Q({array:O,sortflag:y});return this.hTLV=z.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.AttributeList,Y.asn1.ASN1Object),Y.asn1.cms.SignerInfo=function(l){var w=Error,k=Y.asn1,Q=k.DERInteger,oe=k.DEROctetString,se=k.DERSequence,y=k.DERTaggedObject,T=k.cms,O=T.SignerIdentifier,V=T.AttributeList,Te=k.x509.AlgorithmIdentifier,Oe=Y.crypto,Ge=fi;T.SignerInfo.superclass.constructor.call(this),this.params=null,this.sign=function(){var yt=this.params,It=yt.sigalg,St=new V(yt.sattrs).tohex(),vn=Ge.getKey(yt.signkey),wn=new Oe.Signature({alg:It});wn.init(vn),wn.updateHex(St);var $e=wn.sign();yt.sighex=$e},this.tohex=function(){var yt=this.params,It=[];if(It.push(new Q({int:yt.version})),It.push(new O(yt.id)),It.push(new Te({name:yt.hashalg})),null!=yt.sattrs){var St=new V(yt.sattrs);try{It.push(new y({tag:"a0",explicit:!1,obj:St}))}catch(wn){throw new w("si sattr error: "+wn)}}if(It.push(new Te(null!=yt.sigalgfield?{name:yt.sigalgfield}:{name:yt.sigalg})),null==yt.sighex&&null!=yt.signkey&&this.sign(),It.push(new oe({hex:yt.sighex})),null!=yt.uattrs){St=new V(yt.uattrs);try{It.push(new y({tag:"a1",explicit:!1,obj:St}))}catch($e){throw new w("si uattr error: "+$e)}}return new se({array:It}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SignerInfo,Y.asn1.ASN1Object),Y.asn1.cms.EncapsulatedContentInfo=function(l){var 
1C=Y.asn1,k=C.DERTaggedObject,Q=C.DERSequence,oe=C.DERObjectIdentifier,se=C.DEROctetString;C.cms.EncapsulatedContentInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var T=this.params,O=[];if(O.push(new oe(T.type)),null!=T.content&&(null!=T.content.hex||null!=T.content.str)&&1!=T.isDetached){var V=new se(T.content),J=new k({tag:"a0",explicit:!0,obj:V});O.push(J)}return new Q({array:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(T){this.params=T},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.EncapsulatedContentInfo,Y.asn1.ASN1Object),Y.asn1.cms.ContentInfo=function(l){var C=Y.asn1,k=C.DERTaggedObject,Q=C.DERSequence,oe=C.DERObjectIdentifier;Y.asn1.cms.ContentInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var T=this.params,O=[];O.push(new oe(T.type));var V=new k({tag:"a0",explicit:!0,obj:T.obj});return O.push(V),new Q({array:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(T){this.params=T},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.ContentInfo,Y.asn1.ASN1Object),Y.asn1.cms.SignedData=function(l){Error;var k=Y.asn1,oe=k.DERInteger,se=k.DERSet,y=k.DERSequence,O=k.cms,V=O.EncapsulatedContentInfo,J=O.SignerInfo,H=O.ContentInfo,z=O.CertificateSet,Ce=O.RevocationInfoChoices,Te=k.x509.AlgorithmIdentifier;Y.asn1.cms.SignedData.superclass.constructor.call(this),this.params=null,this.checkAndFixParam=function(){var Oe=this.params;this._setDigestAlgs(Oe),this._setContentTypeByEContent(Oe),this._setMessageDigestByEContent(Oe),this._setSignerInfoVersion(Oe),this._setSignedDataVersion(Oe)},this._setDigestAlgs=function(Oe){for(var Ge={},yt=Oe.sinfos,It=0;It<yt.length;It++)Ge[yt[It].hashalg]=1;Oe.hashalgs=Object.keys(Ge).sort()},this._setContentTypeByEContent=function(Oe){for(var Ge=Oe.econtent.type,yt=Oe.sinfos,It=0;It<yt.length;It++)this._getAttrParamByName(yt[It],"contentType").type=Ge},this._setMessageDigestByEContent=function(Oe){var Ge=Oe.econtent,It=Ge.content.hex;null==It&&"data"==Ge.type&&null!=Ge.content.str&&(It=Re(Ge.content.str));for(var St=Oe.sinfos,vn=0;vn<St.length;vn++){var wn=St[vn],$e=wn.hashalg,et=this._getAttrParamByName(wn,"messageDigest"),Lt=Y.crypto.Util.hashHex(It,$e);et.hex=Lt}},this._getAttrParamByName=function(Oe,Ge){for(var yt=Oe.sattrs.array,It=0;It<yt.length;It++)if(yt[It].attr==Ge)return yt[It]},this._setSignerInfoVersion=function(Oe){for(var Ge=Oe.sinfos,yt=0;yt<Ge.length;yt++){var It=Ge[yt],St=1;"skid"==It.id.type&&(St=3),It.version=St}},this._setSignedDataVersion=function(Oe){var Ge=this._getSignedDataVersion(Oe);Oe.version=Ge},this._getSignedDataVersion=function(Oe){if(null!=Oe.revinfos)for(var Ge=Oe.revinfos,yt=0;yt<Ge.length;yt++)if(null!=Ge[yt].ocsp)return 5;var St=Oe.sinfos;for(yt=0;yt<St.length;yt++)if(3==Oe.sinfos[yt].version)return 3;return"data"!=Oe.econtent.type?3:1},this.tohex=function(){var Oe=this.params;null!=this.getEncodedHexPrepare&&this.getEncodedHexPrepare(),1!=Oe.fixed&&this.checkAndFixParam();var Ge=[];Ge.push(new oe({int:Oe.version}));for(var yt=[],It=0;It<Oe.hashalgs.length;It++)yt.push(new Te({name:Oe.hashalgs[It]}));Ge.push(new se({array:yt})),Ge.push(new V(Oe.econtent)),null!=Oe.certs&&Ge.push(new z(Oe.certs)),null!=Oe.revinfos&&Ge.push(new Ce(Oe.revinfos));var vn=[];for(It=0;It<Oe.sinfos.length;It++)vn.push(new J(Oe.sinfos[It]));return Ge.push(new se({array:vn})),new y({array:Ge}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.getContentInfo=function(){return new H({type:"signed-data",obj:this})},this.getContentInfoEncodedHex=function(){return this.getContentInfo().tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.SignedData,Y.asn1.ASN1Object),Y.asn1.cms.CertificateSet=function(l){Y.asn1.cms.CertificateSet.superclass.constructor.call(this);var w=Error,C=Y.asn1,k=C.DERTaggedObject,Q=C.DERSet,oe=C.ASN1Object;this.params=null,this.tohex=function(){var T,se=this.params,y=[];if(se instanceof Array)T=se;else{if(null==se.array)throw new w("cert array not specified");T=se.array}for(var O=0;O<T.length;O++){var J=wi(T[O]),H=new oe;H.hTLV=J,y.push(H)}var z={array:y};0==se.sortflag&&(z.sortflag=!1);var Ce=new Q(z);return new k({tag:"a0",explicit:!1,obj:Ce}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.CertificateSet,Y.asn1.ASN1Object),Y.asn1.cms.RevocationInfoChoices=function(l){Y.asn1.cms.RevocationInfoChoices.superclass.constructor.call(this),this.params=null,this.tohex=function(){var w=this.params;if(!w instanceof Array)throw new Error("params is not array");for(var C=[],k=0;k<w.length;k++)C.push(new Y.asn1.cms.RevocationInfoChoice(w[k]));return Y.asn1.ASN1Util.newObject({tag:{tagi:"a1",obj:{set:C}}}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.RevocationInfoChoices,Y.asn1.ASN1Object),Y.asn1.cms.RevocationInfoChoice=function(l){Y.asn1.cms.RevocationInfoChoice.superclass.constructor.call(this),this.params=null,this.tohex=function(){var w=this.params;if(null!=w.crl&&"string"==typeof w.crl){var C=w.crl;return-1!=w.crl.indexOf("-----BEGIN")&&(C=wi(w.crl)),C}if(null!=w.ocsp)return Y.asn1.ASN1Util.newObject({tag:{tagi:"a1",obj:new Y.asn1.cms.OtherRevocationFormat(w)}}).tohex();throw new Error("property crl or ocsp undefined")},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.RevocationInfoChoice,Y.asn1.ASN1Object),Y.asn1.cms.OtherRevocationFormat=function(l){Y.asn1.cms.OtherRevocationFormat.superclass.constructor.call(this);var w=Error,Q=Y.asn1.ASN1Util.newObject,oe=Y.lang.String.isHex;this.params=null,this.tohex=function(){var se=this.params;if(null==se.ocsp)throw new w("property ocsp not specified");if(!oe(se.ocsp)||!ir.isASN1HEX(se.ocsp))throw new w("ocsp value not ASN.1 hex string");return Q({seq:[{oid:"1.3.6.1.5.5.7.16.2"},{asn1:{tlv:se.ocsp}}]}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cms.OtherRevocationFormat,Y.asn1.ASN1Object),Y.asn1.cms.CMSUtil=new function(){},Y.asn1.cms.CMSUtil.newSignedData=function(l){return new Y.asn1.cms.SignedData(l)},Y.asn1.cms.CMSUtil.verifySignedData=function(l){var z=ir.getVbyList,Ce=ir.getTLVbyList,he=ir.getIdxbyList,Te=ir.getChildIdx,Oe=ir.getTLV,Ge=ir.oidname,yt=Y.crypto.Util.hashHex;void 0===l.cms&&(0,Y.lang.String.isHex)(l.cms);var It=l.cms,wn=function(an,pn){var Rn=pn.idx;pn.signerid_issuer1=Ce(an,Rn,[1,0],"30"),pn.signerid_serial1=z(an,Rn,[1,1],"02"),pn.hashalg=Ge(z(an,Rn,[2,0],"06"));var $r=he(an,Rn,[3],"a0");pn.idxSignedAttrs=$r,$e(an,pn,$r);var Ur=Te(an,Rn).length;if(Ur<6)throw"malformed SignerInfo";pn.sigalg=Ge(z(an,Rn,[Ur-2,0],"06")),pn.sigval=z(an,Rn,[Ur-1],"04")},$e=function(an,pn,Rn){var $r=Te(an,Rn);pn.signedAttrIdxList=$r;for(var ii=0;ii<$r.length;ii++){var Ni,Ur=$r[ii],hi=z(an,Ur,[0],"06");"2a864886f70d010905"===hi?(Ni=ki(z(an,Ur,[1,0])),pn.saSigningTime=Ni):"2a864886f70d010904"===hi&&(Ni=z(an,Ur,[1,0],"04"),pn.saMessageDigest=Ni)}},nn=function(an,pn,Rn,$r){Rn.verifyDetail={};var ii=Rn.verifyDetail,Ur=pn.parse.econtent,hi=Rn.hashalg,Ni=Rn.saMessageDigest;ii.validMessageDigest=!1,yt(Ur,hi)===Ni&&(ii.validMessageDigest=!0),function(an,pn,Rn){var Ur,ii=pn.parse.certsIdx;if(void 0===pn.certs){Ur=[],pn.certkeys=[];for(var hi=Te(an,ii),Ni=0;Ni<hi.length;Ni++){var fo=Oe(an,hi[Ni]),Pi=new Rr;Pi.readCertHex(fo),Ur[Ni]=Pi,pn.certkeys[Ni]=Pi.getPublicKey()}
1pn.certs=Ur}else Ur=pn.certs;for(pn.cccc=Ur.length,pn.cccci=hi.length,Ni=0;Ni<Ur.length;Ni++){var Dr=Pi.getIssuerHex(),ws=Pi.getSerialNumberHex();Rn.signerid_issuer1===Dr&&Rn.signerid_serial1===ws&&(Rn.certkey_idx=Ni)}}(an,pn,Rn),ii.validSignatureValue=!1;var fo=Rn.sigalg,Pi="31"+Oe(an,Rn.idxSignedAttrs).substr(2);Rn.signedattrshex=Pi;var Dr=pn.certs[Rn.certkey_idx].getPublicKey(),ws=new Y.crypto.Signature({alg:fo});ws.init(Dr),ws.updateHex(Pi);var cs=ws.verify(Rn.sigval);ii.validSignatureValue_isValid=cs,!0===cs&&(ii.validSignatureValue=!0),Rn.isValid=!1,ii.validMessageDigest&&ii.validSignatureValue&&(Rn.isValid=!0)},en={isValid:!1,parse:{}};return function(an,pn){if("2a864886f70d010702"!==z(an,0,[0],"06"))return pn;pn.cmsType="signedData",pn.econtent=z(an,0,[1,0,2,1,0]),function(an,pn){for(var Rn,$r=3;$r<6;$r++)if(void 0!==(Rn=he(an,0,[1,0,$r]))){var ii=an.substr(Rn,2);"a0"===ii&&(pn.certsIdx=Rn),"a1"===ii&&(pn.revinfosIdx=Rn),"31"===ii&&(pn.signerinfosIdx=Rn)}}(an,pn),pn.signerInfos=[],function(an,pn){var Rn=pn.signerinfosIdx;if(void 0!==Rn){var $r=Te(an,Rn);pn.signerInfoIdxList=$r;for(var ii=0;ii<$r.length;ii++){var hi={idx:$r[ii]};wn(an,hi),pn.signerInfos.push(hi)}}}(an,pn)}(It,en.parse),function(an,pn){for(var Rn=pn.parse.signerInfos,$r=Rn.length,ii=!0,Ur=0;Ur<$r;Ur++){var hi=Rn[Ur];nn(an,pn,hi),hi.isValid||(ii=!1)}pn.isValid=ii}(It,en),en},Y.asn1.cms.CMSParser=function(){var l=Error,w=Rr,C=new w,k=ir,Q=k.getV,oe=k.getTLV,y=k.getTLVbyList,T=k.getTLVbyListEx,O=k.getVbyList,V=k.getVbyListEx,J=k.getChildIdx;this.getCMSSignedData=function(H){var z=y(H,0,[1,0]);return this.getSignedData(z)},this.getSignedData=function(H){var z=J(H,0),Ce={},he=Q(H,z[0]),Te=parseInt(he,16);Ce.version=Te;var Oe=oe(H,z[1]);Ce.hashalgs=this.getHashAlgArray(Oe);var Ge=oe(H,z[2]);Ce.econtent=this.getEContent(Ge);var yt=T(H,0,["[0]"]);null!=yt&&(Ce.certs=this.getCertificateSet(yt)),T(H,0,["[1]"]);var St=T(H,0,[3]);return Ce.sinfos=this.getSignerInfos(St),Ce},this.getHashAlgArray=function(H){for(var z=J(H,0),Ce=new w,he=[],Te=0;Te<z.length;Te++){var Oe=oe(H,z[Te]),Ge=Ce.getAlgorithmIdentifierName(Oe);he.push(Ge)}return he},this.getEContent=function(H){var z={},Ce=O(H,0,[0]),he=O(H,0,[1,0]);return z.type=Y.asn1.x509.OID.oid2name(ir.hextooidstr(Ce)),z.content={hex:he},z},this.getSignerInfos=function(H){for(var z=[],Ce=J(H,0),he=0;he<Ce.length;he++){var Te=oe(H,Ce[he]),Oe=this.getSignerInfo(Te);z.push(Oe)}return z},this.getSignerInfo=function(H){var z={},Ce=J(H,0),he=k.getInt(H,Ce[0],-1);-1!=he&&(z.version=he);var Te=oe(H,Ce[1]),Oe=this.getIssuerAndSerialNumber(Te);z.id=Oe;var Ge=oe(H,Ce[2]),yt=C.getAlgorithmIdentifierName(Ge);z.hashalg=yt;var It=T(H,0,["[0]"]);if(null!=It){var St=this.getAttributeList(It);z.sattrs=St}var vn=T(H,0,[3]),wn=C.getAlgorithmIdentifierName(vn);z.sigalg=wn;var $e=V(H,0,[4]);z.sighex=$e;var et=T(H,0,["[1]"]);if(null!=et){var Lt=this.getAttributeList(et);z.uattrs=Lt}return z},this.getSignerIdentifier=function(H){if("30"==H.substr(0,2))return this.getIssuerAndSerialNumber(H);throw new Error("SKID of signerIdentifier not supported")},this.getIssuerAndSerialNumber=function(H){var z={type:"isssn"},Ce=J(H,0),he=oe(H,Ce[0]);z.issuer=C.getX500Name(he);var Te=Q(H,Ce[1]);return z.serial={hex:Te},z},this.getAttributeList=function(H){for(var z=[],Ce=J(H,0),he=0;he<Ce.length;he++){var Te=oe(H,Ce[he]),Oe=this.getAttribute(Te);z.push(Oe)}return{array:z}},this.getAttribute=function(H){var z={},Ce=J(H,0),he=k.getOID(H,Ce[0]),Te=Y.asn1.x509.OID.oid2name(he);z.attr=Te;var Oe=oe(H,Ce[1]),Ge=J(Oe,0);if(1==Ge.length)z.valhex=oe(Oe,Ge[0]);else{for(var yt=[],It=0;It<Ge.length;It++)yt.push(oe(Oe,Ge[It]));z.valhex=yt}return"contentType"==Te?this.setContentType(z):"messageDigest"==Te?this.setMessageDigest(z):"signingTime"==Te?this.setSigningTime(z):"signingCertificate"==Te?this.setSigningCertificate(z):"signingCertificateV2"==Te?this.setSigningCertificateV2(z):"signaturePolicyIdentifier"==Te&&this.setSignaturePolicyIdentifier(z),z},this.setContentType=function(H){var z=k.getOIDName(H.valhex,0,null);null!=z&&(H.type=z,delete H.valhex)},this.setSigningTime=function(H){var Ce=ki(Q(H.valhex,0));H.str=Ce,delete H.valhex},this.setMessageDigest=function(H){var z=Q(H.valhex,0);H.hex=z,delete H.valhex},this.setSigningCertificate=function(H){var z=J(H.valhex,0);if(z.length>0){for(var Ce=oe(H.valhex,z[0]),he=J(Ce,0),Te=[],Oe=0;Oe<he.length;Oe++){var Ge=oe(Ce,he[Oe]),yt=this.getESSCertID(Ge);Te.push(yt)}H.array=Te}if(z.length>1){var It=oe(H.valhex,z[1]);H.polhex=It}delete H.valhex},this.setSignaturePolicyIdentifier=function(H){var z=J(H.valhex,0);if(z.length>0){var Ce=k.getOID(H.valhex,z[0]);H.oid=Ce}if(z.length>1){var he=new w,Te=J(H.valhex,z[1]),Oe=oe(H.valhex,Te[0]),Ge=he.getAlgorithmIdentifierName(Oe);H.alg=Ge;var yt=Q(H.valhex,Te[1]);H.hash=yt}delete H.valhex},this.setSigningCertificateV2=function(H){var z=J(H.valhex,0);if(z.length>0){for(var Ce=oe(H.valhex,z[0]),he=J(Ce,0),Te=[],Oe=0;Oe<he.length;Oe++){var Ge=oe(Ce,he[Oe]),yt=this.getESSCertIDv2(Ge);Te.push(yt)}H.array=Te}if(z.length>1){var It=oe(H.valhex,z[1]);H.polhex=It}delete H.valhex},this.getESSCertID=function(H){var z={},Ce=J(H,0);if(Ce.length>0){var he=Q(H,Ce[0]);z.hash=he}if(Ce.length>1){var Te=oe(H,Ce[1]),Oe=this.getIssuerSerial(Te);null!=Oe.serial&&(z.serial=Oe.serial),null!=Oe.issuer&&(z.issuer=Oe.issuer)}return z},this.getESSCertIDv2=function(H){var z={},Ce=J(H,0);if(Ce.length<1||3<Ce.length)throw new l("wrong number of elements");var he=0;if("30"==H.substr(Ce[0],2)){var Te=oe(H,Ce[0]);z.alg=C.getAlgorithmIdentifierName(Te),he++}else z.alg="sha256";var Oe=Q(H,Ce[he]);if(z.hash=Oe,Ce.length>he+1){var Ge=oe(H,Ce[he+1]),yt=this.getIssuerSerial(Ge);z.issuer=yt.issuer,z.serial=yt.serial}return z},this.getIssuerSerial=function(H){var z={},Ce=J(H,0),he=oe(H,Ce[0]),Te=C.getGeneralNames(he);z.issuer=Te[0].dn;var Ge=Q(H,Ce[1]);return z.serial={hex:Ge},z},this.getCertificateSet=function(H){for(var z=J(H,0),Ce=[],he=0;he<z.length;he++){var Te=oe(H,z[he]);if("30"==Te.substr(0,2)){var Oe=Or(Te,"CERTIFICATE");
1Ce.push(Oe)}}return{array:Ce,sortflag:!1}}},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),(typeof Y.asn1.tsp>"u"||!Y.asn1.tsp)&&(Y.asn1.tsp={}),Y.asn1.tsp.TimeStampToken=function(l){var k=Y.asn1.tsp;k.TimeStampToken.superclass.constructor.call(this),this.params=null,this.getEncodedHexPrepare=function(){var Q=new k.TSTInfo(this.params.econtent.content);this.params.econtent.content.hex=Q.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.TimeStampToken,Y.asn1.cms.SignedData),Y.asn1.tsp.TSTInfo=function(l){Error;var k=Y.asn1,Q=k.DERSequence,oe=k.DERInteger,se=k.DERBoolean,y=k.DERGeneralizedTime,T=k.DERObjectIdentifier,O=k.DERTaggedObject,V=k.tsp,J=V.MessageImprint,H=V.Accuracy,Ce=k.x509.GeneralName;if(V.TSTInfo.superclass.constructor.call(this),this.dVersion=new oe({int:1}),this.dPolicy=null,this.dMessageImprint=null,this.dSerial=null,this.dGenTime=null,this.dAccuracy=null,this.dOrdering=null,this.dNonce=null,this.dTsa=null,this.tohex=function(){var he=[this.dVersion];if(null==this.dPolicy)throw new Error("policy shall be specified.");
1if(he.push(this.dPolicy),null==this.dMessageImprint)throw new Error("messageImprint shall be specified.");if(he.push(this.dMessageImprint),null==this.dSerial)throw new Error("serialNumber shall be specified.");if(he.push(this.dSerial),null==this.dGenTime)throw new Error("genTime shall be specified.");he.push(this.dGenTime),null!=this.dAccuracy&&he.push(this.dAccuracy),null!=this.dOrdering&&he.push(this.dOrdering),null!=this.dNonce&&he.push(this.dNonce),null!=this.dTsa&&he.push(this.dTsa);var Te=new Q({array:he});return this.hTLV=Te.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l){if("string"==typeof l.policy){if(!l.policy.match(/^[0-9.]+$/))throw"policy shall be oid like 0.1.4.134";this.dPolicy=new T({oid:l.policy})}void 0!==l.messageImprint&&(this.dMessageImprint=new J(l.messageImprint)),void 0!==l.serial&&(this.dSerial=new oe(l.serial)),void 0!==l.genTime&&(this.dGenTime=new y(l.genTime)),void 0!==l.accuracy&&(this.dAccuracy=new H(l.accuracy)),void 0!==l.ordering&&1==l.ordering&&(this.dOrdering=new se),void 0!==l.nonce&&(this.dNonce=new oe(l.nonce)),void 0!==l.tsa&&(this.dTsa=new O({tag:"a0",explicit:!0,obj:new Ce({dn:l.tsa})}))}},Kn(Y.asn1.tsp.TSTInfo,Y.asn1.ASN1Object),Y.asn1.tsp.Accuracy=function(l){var C=Y.asn1,k=C.ASN1Util.newObject;C.tsp.Accuracy.superclass.constructor.call(this),this.params=null,this.tohex=function(){var Q=this.params,oe=[];return null!=Q.seconds&&"number"==typeof Q.seconds&&oe.push({int:Q.seconds}),null!=Q.millis&&"number"==typeof Q.millis&&oe.push({tag:{tagi:"80",obj:{int:Q.millis}}}),null!=Q.micros&&"number"==typeof Q.micros&&oe.push({tag:{tagi:"81",obj:{int:Q.micros}}}),k({seq:oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.Accuracy,Y.asn1.ASN1Object),Y.asn1.tsp.MessageImprint=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.DEROctetString,se=C.x509.AlgorithmIdentifier;C.tsp.MessageImprint.superclass.constructor.call(this),this.params=null,this.tohex=function(){var y=this.params,T=new se({name:y.alg}),O=new Q({hex:y.hash});return new k({array:[T,O]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.tsp.MessageImprint,Y.asn1.ASN1Object),Y.asn1.tsp.TimeStampReq=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.DERInteger,oe=C.DERBoolean,y=C.DERObjectIdentifier,T=C.tsp,O=T.MessageImprint;T.TimeStampReq.superclass.constructor.call(this),this.params=null,this.tohex=function(){var V=this.params,J=[];return J.push(new Q({int:1})),J.push(V.messageImprint instanceof Y.asn1.ASN1Object?V.messageImprint:new O(V.messageImprint)),null!=V.policy&&J.push(new y(V.policy)),null!=V.nonce&&J.push(new Q(V.nonce)),1==V.certreq&&J.push(new oe),new k({array:J}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.TimeStampReq,Y.asn1.ASN1Object),Y.asn1.tsp.TimeStampResp=function(l){var C=Y.asn1,k=C.DERSequence,oe=C.tsp,se=oe.PKIStatusInfo;oe.TimeStampResp.superclass.constructor.call(this),this.params=null,this.tohex=function(){var y=this.params,T=[];
1if(null!=y.econtent||null!=y.tst)if(T.push(new se(null!=y.statusinfo?y.statusinfo:"granted")),null!=y.econtent)T.push(new oe.TimeStampToken(y).getContentInfo());else{if(!(y.tst instanceof C.ASN1Object))throw new Error("improper member tst value");T.push(y.tst)}else{if(null==y.statusinfo)throw new Error("parameter for token nor statusinfo not specified");T.push(new se(y.statusinfo))}return new k({array:T}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.TimeStampResp,Y.asn1.ASN1Object),Y.asn1.tsp.PKIStatusInfo=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.tsp,se=oe.PKIStatus,y=oe.PKIFreeText,T=oe.PKIFailureInfo;oe.PKIStatusInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var O=this.params,V=[];if("string"==typeof O)V.push(new se(O));else{if(null==O.status)throw new w("property 'status' unspecified");V.push(new se(O.status)),null!=O.statusstr&&V.push(new y(O.statusstr)),null!=O.failinfo&&V.push(new T(O.failinfo))}return new Q({array:V}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.PKIStatusInfo,Y.asn1.ASN1Object),Y.asn1.tsp.PKIStatus=function(l){var w=Error,k=Y.asn1,Q=k.DERInteger;k.tsp.PKIStatus.superclass.constructor.call(this);var se={granted:0,grantedWithMods:1,rejection:2,waiting:3,revocationWarning:4,revocationNotification:5};this.params=null,this.tohex=function(){var O,y=this.params;if("string"==typeof y)try{O=se[y]}catch{throw new w("undefined name: "+y)}else{if("number"!=typeof y)throw new w("unsupported params");O=y}return new Q({int:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.PKIStatus,Y.asn1.ASN1Object),Y.asn1.tsp.PKIFreeText=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.DERUTF8String;k.tsp.PKIFreeText.superclass.constructor.call(this),this.params=null,this.tohex=function(){var y=this.params;if(!(y instanceof Array))throw new w("wrong params: not array");for(var T=[],O=0;O<y.length;O++)T.push(new oe({str:y[O]}));return new Q({array:T}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.PKIFreeText,Y.asn1.ASN1Object),Y.asn1.tsp.PKIFailureInfo=function(l){var w=Error,k=Y.asn1,Q=k.DERBitString,y={badAlg:0,badRequest:2,badDataFormat:5,timeNotAvailable:14,unacceptedPolicy:15,unacceptedExtension:16,addInfoNotAvailable:17,systemFailure:25};k.tsp.PKIFailureInfo.superclass.constructor.call(this),this.params=null,this.getBinValue=function(){var T=this.params,O=0;if("number"==typeof T&&0<=T&&T<=25){for(var V=(O|=1<<T).toString(2),J="",H=V.length-1;H>=0;H--)J+=V[H];return J}if("string"==typeof T&&null!=y[T])return gs([T],y);if("object"==typeof T&&null!=T.length)return gs(T,y);throw new w("wrong params")},this.tohex=function(){var O=this.getBinValue();return new Q({bin:O}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.tsp.PKIFailureInfo,Y.asn1.ASN1Object),Y.asn1.tsp.AbstractTSAAdapter=function(l){this.getTSTHex=function(w,C){throw"not implemented yet"}},Y.asn1.tsp.SimpleTSAAdapter=function(l){var k=Y.asn1.tsp,Q=Y.crypto.Util.hashHex;k.SimpleTSAAdapter.superclass.constructor.call(this),this.params=null,this.serial=0,this.getTSTHex=function(oe,se){var y=Q(oe,se);this.params.econtent.content.messageImprint={alg:se,hash:y},this.params.econtent.content.serial={int:this.serial++};var T=Math.floor(1e9*Math.random());return this.params.econtent.content.nonce={int:T},new k.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.tsp.SimpleTSAAdapter,Y.asn1.tsp.AbstractTSAAdapter),Y.asn1.tsp.FixedTSAAdapter=function(l){var k=Y.asn1.tsp,Q=Y.crypto.Util.hashHex;k.FixedTSAAdapter.superclass.constructor.call(this),this.params=null,this.getTSTHex=function(oe,se){var y=Q(oe,se);return this.params.econtent.content.messageImprint={alg:se,hash:y},new k.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==l&&(this.params=l)},Kn(Y.asn1.tsp.FixedTSAAdapter,Y.asn1.tsp.AbstractTSAAdapter),Y.asn1.tsp.TSPUtil=new function(){},Y.asn1.tsp.TSPUtil.newTimeStampToken=function(l){return new Y.asn1.tsp.TimeStampToken(l)},Y.asn1.tsp.TSPUtil.parseTimeStampReq=function(l){return(new Y.asn1.tsp.TSPParser).getTimeStampReq(l)},Y.asn1.tsp.TSPUtil.parseMessageImprint=function(l){return(new Y.asn1.tsp.TSPParser).getMessageImprint(l)},Y.asn1.tsp.TSPParser=function(){Error;var C=new Rr,k=ir,Q=k.getV,oe=k.getTLV,se=k.getIdxbyList,T=k.getChildIdx,O=["granted","grantedWithMods","rejection","waiting","revocationWarning","revocationNotification"],V={0:"badAlg",2:"badRequest",5:"badDataFormat",14:"timeNotAvailable",15:"unacceptedPolicy",16:"unacceptedExtension",17:"addInfoNotAvailable",25:"systemFailure"};this.getResponse=function(J){var H=T(J,0);if(1==H.length)return this.getPKIStatusInfo(oe(J,H[0]));if(H.length>1){var z=this.getPKIStatusInfo(oe(J,H[0])),Ce=oe(J,H[1]),he=this.getToken(Ce);return he.statusinfo=z,he}},this.getToken=function(J){var z=(new Y.asn1.cms.CMSParser).getCMSSignedData(J);return this.setTSTInfo(z),z},this.setTSTInfo=function(J){var H=J.econtent;if("tstinfo"==H.type){var Ce=this.getTSTInfo(H.content.hex);H.content=Ce}},this.getTSTInfo=function(J){var H={},z=T(J,0),Ce=Q(J,z[1]);H.policy=Ma(Ce);var he=oe(J,z[2]);H.messageImprint=this.getMessageImprint(he);var Te=Q(J,z[3]);H.serial={hex:Te};var Oe=Q(J,z[4]);H.genTime={str:ki(Oe)};var Ge=0;
1if(z.length>5&&"30"==J.substr(z[5],2)){var yt=oe(J,z[5]);H.accuracy=this.getAccuracy(yt),Ge++}if(z.length>5+Ge&&"01"==J.substr(z[5+Ge],2)&&("ff"==Q(J,z[5+Ge])&&(H.ordering=!0),Ge++),z.length>5+Ge&&"02"==J.substr(z[5+Ge],2)){var St=Q(J,z[5+Ge]);H.nonce={hex:St},Ge++}if(z.length>5+Ge&&"a0"==J.substr(z[5+Ge],2)){var vn=oe(J,z[5+Ge]);vn="30"+vn.substr(2),pGeneralNames=C.getGeneralNames(vn);var wn=pGeneralNames[0].dn;H.tsa=wn,Ge++}if(z.length>5+Ge&&"a1"==J.substr(z[5+Ge],2)){var $e=oe(J,z[5+Ge]);$e="30"+$e.substr(2);var et=C.getExtParamArray($e);H.ext=et,Ge++}return H},this.getAccuracy=function(J){for(var H={},z=T(J,0),Ce=0;Ce<z.length;Ce++){var he=J.substr(z[Ce],2),Te=Q(J,z[Ce]),Oe=parseInt(Te,16);"02"==he?H.seconds=Oe:"80"==he?H.millis=Oe:"81"==he&&(H.micros=Oe)}return H},this.getMessageImprint=function(J){if("30"!=J.substr(0,2))throw new Error("head of messageImprint hex shall be x30");var H={},Ce=(T(J,0),se(J,0,[0,0])),he=Q(J,Ce),Te=k.hextooidstr(he),Oe=Y.asn1.x509.OID.oid2name(Te);if(""==Oe)throw new Error("hashAlg name undefined: "+Te);var Ge=Oe,yt=se(J,0,[1]);return H.alg=Ge,H.hash=Q(J,yt),H},this.getPKIStatusInfo=function(J){var H={},z=T(J,0),Ce=0;try{var he=Q(J,z[0]),Te=parseInt(he,16);H.status=O[Te]}catch{}if(z.length>1&&"30"==J.substr(z[1],2)){var Oe=oe(J,z[1]);H.statusstr=this.getPKIFreeText(Oe),Ce++}if(z.length>Ce&&"03"==J.substr(z[1+Ce],2)){var Ge=oe(J,z[1+Ce]);H.failinfo=this.getPKIFailureInfo(Ge)}return H},this.getPKIFreeText=function(J){for(var H=[],z=T(J,0),Ce=0;Ce<z.length;Ce++)H.push(k.getString(J,z[Ce]));return H},this.getPKIFailureInfo=function(J){var H=k.getInt(J,0);return null!=V[H]?V[H]:H},this.getTimeStampReq=function(J){var H={certreq:!1},z=T(J,0);if(z.length<2)throw new Error("TimeStampReq must have at least 2 items");var Ce=oe(J,z[1]);H.messageImprint=Y.asn1.tsp.TSPUtil.parseMessageImprint(Ce);for(var he=2;he<z.length;he++){var Te=z[he],Oe=J.substr(Te,2);if("06"==Oe){var Ge=Q(J,Te);H.policy=k.hextooidstr(Ge)}"02"==Oe&&(H.nonce=Q(J,Te)),"01"==Oe&&(H.certreq=!0)}return H}},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),(typeof Y.asn1.cades>"u"||!Y.asn1.cades)&&(Y.asn1.cades={}),Y.asn1.cades.SignaturePolicyIdentifier=function(l){var k=Y.asn1.ca
1des,Q=k.SignaturePolicyId;k.SignaturePolicyIdentifier.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.15",this.params=null,this.getValueArray=function(){return[new Q(this.params)]},this.setByParam=function(oe){this.params=oe},null!=l&&this.setByParam(l)},Kn(Y.asn1.cades.SignaturePolicyIdentifier,Y.asn1.cms.Attribute),Y.asn1.cades.SignaturePolicyId=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.DERObjectIdentifier,y=C.cades,O=y.OtherHashAlgAndValue;y.SignaturePolicyId.superclass.constructor.call(this),this.params=null,this.tohex=function(){var V=this.params,J=[];return J.push(new Q(V.oid)),J.push(new O(V)),new k({array:J}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(V){this.params=V},null!=l&&this.setByParam(l)},Kn(Y.asn1.cades.SignaturePolicyId,Y.asn1.ASN1Object),Y.asn1.cades.OtherHashAlgAndValue=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.DEROctetString,y=k.x509.AlgorithmIdentifier;k.cades.OtherHashAlgAndValue.superclass.constructor.call(this),this.params=null,this.tohex=function(){var V=this.params;if(null==V.alg)throw new w("property 'alg' not specified");if(null==V.hash&&null==V.cert)throw new w("property 'hash' nor 'cert' not specified");var J=null;if(null!=V.hash)J=V.hash;else if(null!=V.cert){if("string"!=typeof V.cert)throw new w("cert not string");var H=V.cert;-1!=V.cert.indexOf("-----BEGIN")&&(H=wi(V.cert)),J=Y.crypto.Util.hashHex(H,V.alg)}var z=[];return z.push(new y({name:V.alg})),z.push(new oe({hex:J})),new Q({array:z}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)}
1,Kn(Y.asn1.cades.OtherHashAlgAndValue,Y.asn1.ASN1Object),Y.asn1.cades.OtherHashValue=function(l){Y.asn1.cades.OtherHashValue.superclass.constructor.call(this);var w=Error,oe=Y.asn1.DEROctetString;this.params=null,this.tohex=function(){var y=this.params;if(null==y.hash&&null==y.cert)throw new w("hash or cert not specified");var T=null;if(null!=y.hash)T=y.hash;else if(null!=y.cert){if("string"!=typeof y.cert)throw new w("cert not string");var O=y.cert;-1!=y.cert.indexOf("-----BEGIN")&&(O=wi(y.cert)),T=Y.crypto.Util.hashHex(O,"sha1")}return new oe({hex:T}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cades.OtherHashValue,Y.asn1.ASN1Object),Y.asn1.cades.SignatureTimeStamp=function(l){var w=Error,k=Y.lang.String.isHex,Q=Y.asn1,oe=Q.ASN1Object;Q.cades.SignatureTimeStamp.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.14",this.params=null,this.getValueArray=function(){var T=this.params;if(null!=T.tst){if(k(T.tst))return(O=new oe).hTLV=T.tst,[O];if(T.tst instanceof oe)return[T.tst];throw new w("params.tst has wrong value")}if(null!=T.res){var O,V=T.res;if(V instanceof oe&&(V=V.tohex()),"string"!=typeof V||!k(V))throw new w("params.res has wrong value");return ir.getTLVbyList(V,0,[1]),(O=new oe).hTLV=T.tst,[O]}},null!=l&&this.setByParam(l)}
1,Kn(Y.asn1.cades.SignatureTimeStamp,Y.asn1.cms.Attribute),Y.asn1.cades.CompleteCertificateRefs=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.cades,se=oe.OtherCertID,y=Y.lang.String.isHex;oe.CompleteCertificateRefs.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.21",this.params=null,this.getValueArray=function(){for(var T=this.params,O=[],V=0;V<T.array.length;V++){var J=T.array[V];if("string"==typeof J)if(-1!=J.indexOf("-----BEGIN"))J={cert:J};else{if(!y(J))throw new w("unsupported value: "+J);J={hash:J}}null!=T.alg&&null==J.alg&&(J.alg=T.alg),null!=T.hasis&&null==J.hasis&&(J.hasis=T.hasis);var H=new se(J);O.push(H)}return[new Q({array:O})]},null!=l&&this.setByParam(l)},Kn(Y.asn1.cades.CompleteCertificateRefs,Y.asn1.cms.Attribute),Y.asn1.cades.OtherCertID=function(l){var C=Y.asn1,k=C.DERSequence,oe=C.cms.IssuerSerial,se=C.cades,y=se.OtherHashValue,T=se.OtherHashAlgAndValue;se.OtherCertID.superclass.constructor.call(this),this.params=l,this.tohex=function(){var O=this.params;"string"==typeof O&&(-1!=O.indexOf("-----BEGIN")?O={cert:O}:_isHex(O)&&(O={hash:O}));var J,V=[];if(J=null!=O.alg?new T(O):new y(O),V.push(J),null!=O.cert&&1==O.hasis||null!=O.issuer&&null!=O.serial){var H=new oe(O);V.push(H)}return new k({array:V}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)}
1,Kn(Y.asn1.cades.OtherCertID,Y.asn1.ASN1Object),Y.asn1.cades.OtherHash=function(l){Error;var oe=Y.asn1.cades,se=oe.OtherHashAlgAndValue,y=oe.OtherHashValue,O=Y.lang.String.isHex;oe.OtherHash.superclass.constructor.call(this),this.params=null,this.tohex=function(){var V=this.params;return"string"==typeof V&&(-1!=V.indexOf("-----BEGIN")?V={cert:V}:O(V)&&(V={hash:V})),(null!=V.alg?new se(V):new y(V)).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.cades.OtherHash,Y.asn1.ASN1Object),Y.asn1.cades.CAdESUtil=new function(){},Y.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned=function(l){return(new Y.asn1.cms.CMSParser).getCMSSignedData(l)},Y.asn1.cades.CAdESUtil.parseSignerInfoForAddingUnsigned=function(l,w,C){var oe=ir.getTLV,se=ir.getV,T=Y.asn1,O=T.ASN1Object,V=T.cms,J=V.AttributeList,H=V.SignerInfo,z={},Ce=(0,ir.getChildIdx)(l,w);if(6!=Ce.length)throw"not supported items for SignerInfo (!=6)";var he=Ce.shift();z.version=oe(l,he);var Te=Ce.shift();z.si=oe(l,Te);var Oe=Ce.shift();z.digalg=oe(l,Oe);var Ge=Ce.shift();z.sattrs=oe(l,Ge);var yt=Ce.shift();z.sigalg=oe(l,yt);var It=Ce.shift();z.sig=oe(l,It),z.sigval=se(l,It);var St=null;return z.obj=new H,(St=new O).hTLV=z.version,z.obj.dCMSVersion=St,(St=new O).hTLV=z.si,z.obj.dSignerIdentifier=St,(St=new O).hTLV=z.digalg,z.obj.dDigestAlgorithm=St,(St=new O).hTLV=z.sattrs,z.obj.dSignedAttrs=St,(St=new O).hTLV=z.sigalg,z.obj.dSigAlg=St,(St=new O).hTLV=z.sig,z.obj.dSig=St,z.obj.dUnsignedAttrs=new J,z},(typeof Y.asn1.csr>"u"||!Y.asn1.csr)&&(Y.asn1.csr={}),Y.asn1.csr.CertificationRequest=function(l){var C=Y.asn1,k=C.DERBitString,Q=C.DERSequence,oe=C.csr,y=oe.CertificationRequestInfo;oe.CertificationRequest.superclass.constructor.call(this),this.setByParam=function(T){this.params=T},this.sign=function(){var T=new y(this.params).tohex(),O=new Y.crypto.Signature({alg:this.params.sigalg});O.init(this.params.sbjprvkey),O.updateHex(T);var V=O.sign();this.params.sighex=V},this.getPEM=function(){return Or(this.tohex(),"CERTIFICATE REQUEST")},this.tohex=function(){var T=this.params,O=new Y.asn1.csr.CertificationRequestInfo(this.params),V=new Y.asn1.x509.AlgorithmIdentifier({name:T.sigalg});if(null==T.sighex&&null!=T.sbjprvkey&&this.sign(),null==T.sighex)throw new Error("sighex or sbjprvkey parameter not defined");var J=new k({hex:"00"+T.sighex});return new Q({array:[O,V,J]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.csr.CertificationRequest,Y.asn1.ASN1Object),Y.asn1.csr.CertificationRequestInfo=function(l){var C=Y.asn1,Q=C.DERSequence,oe=C.DERInteger,se=C.DERUTF8String,y=C.DERTaggedObject,T=C.ASN1Util.newObject,V=C.x509,J=V.X500Name,H=V.Extensions,z=V.SubjectPublicKeyInfo;C.csr.CertificationRequestInfo.superclass.constructor.call(this),this.params=null,this.setByParam=function(Te){null!=Te&&(this.params=Te)},this.tohex=function(){var Te=this.params,Oe=[];if(Oe.push(new oe({int:0})),Oe.push(new J(Te.subject)),Oe.push(new z(fi.getKey(Te.sbjpubkey))),null!=Te.attrs){var Ge=function he(Te){for(var Oe=Error,Ge=Y.asn1.x509.Extensions,yt=[],It=0;It<Te.length;It++){var St=Te[It],vn=St.attr;if("extensionRequest"==vn){var wn=new Ge(St.ext);yt.push({seq:[{oid:"1.2.840.113549.1.9.14"},{set:[wn]}]})}else if("unstructuredName"==vn)yt.push({seq:[{oid:"1.2.840.113549.1.9.2"},{set:St.names}]});else{if("challengePassword"!=vn)throw new Oe("unknown CSR attribute");yt.push({seq:[{oid:"1.2.840.113549.1.9.7"},{set:[{utf8str:St.password}]}]})}}return{set:yt}}(Te.attrs),yt=T({tag:{tage:"a0",obj:Ge}});Oe.push(yt)}else if(null!=Te.extreq){var It=new H(Te.extreq);yt=T({tag:{tage:"a0",obj:{seq:[{oid:"1.2.840.113549.1.9.14"},{set:[It]}]}}}),Oe.push(yt)}else Oe.push(new y({tag:"a0",explicit:!1,obj:new se({str:""})}));return new Q({array:Oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},null!=l&&this.setByParam(l)},Kn(Y.asn1.csr.CertificationRequestInfo,Y.asn1.ASN1Object),Y.asn1.csr.AttributeList=function(l){},Kn(Y.asn1.csr.AttributeList,Y.asn1.ASN1Object),Y.asn1.csr.CSRUtil=new function(){},Y.asn1.csr.CSRUtil.newCSRPEM=function(l){return new Y.asn1.csr.CertificationRequest(l).getPEM()},Y.asn1.csr.CSRUtil.getParam=function(l,w){var k=ir.getV,Q=ir.getIdxbyList,oe=ir.getTLVbyList,se=ir.getTLVbyListEx,y=ir.getVbyListEx,O={};if(-1==l.indexOf("-----BEGIN CERTIFICATE REQUEST"))throw new Error("argument is not PEM file");var V=wi(l,"CERTIFICATE REQUEST");w&&(O.tbs=oe(V,0,[0]));try{var J=se(V,0,[0,1]);if("3000"==J)O.subject={};else{var he=new Rr;O.subject=he.getX500Name(J)}}catch{}var H=se(V,0,[0,2]),z=fi.getKey(H,null,"pkcs8pub");O.sbjpubkey=fi.getPEM(z,"PKCS8PUB");var Ge,yt,Ce=(yt=Q(Ge=V,0,[0,3,0,0],"06"),"2a864886f70d01090e"!=k(Ge,yt)?null:oe(Ge,0,[0,3,0,1,0],"30"));he=new Rr,null!=Ce&&(O.extreq=he.getExtParamArray(Ce));try{var Te=se(V,0,[1],"30");he=new Rr,O.sigalg=he.getAlgorithmIdentifierName(Te)}catch{}try{var Oe=y(V,0,[2]);O.sighex=Oe}catch{}return O},Y.asn1.csr.CSRUtil.verifySignature=function(l){try{var w=null;if("string"==typeof l&&-1!=l.indexOf("-----BEGIN CERTIFICATE REQUEST")?w=Y.asn1.csr.CSRUtil.getParam(l,!0):"object"==typeof l&&null!=l.sbjpubkey&&null!=l.sigalg&&null!=l.sighex&&null!=l.tbs&&(w=l),null==w)return!1;var C=new Y.crypto.Signature({alg:w.sigalg});return C.init(w.sbjpubkey),C.updateHex(w.tbs),C.verify(w.sighex)}catch(k){return alert(k),!1}},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.asn1>"u"||!Y.asn1)&&(Y.asn1={}),(typeof Y.asn1.ocsp>"u"||!Y.asn1.ocsp)&&(Y.asn1.ocsp={}),Y.asn1.ocsp.DEFAULT_HASH="sha1",Y.asn1.ocsp.OCSPResponse=function(l){Y.asn1.ocsp.OCSPResponse.superclass.constructor.call(this);
1var C=Y.asn1.ASN1Util.newObject,k=Y.asn1.ocsp.ResponseBytes,Q=["successful","malformedRequest","internalError","tryLater","_not_used_","sigRequired","unauthorized"];this.params=null,this._getStatusCode=function(){var oe=this.params.resstatus;return"number"==typeof oe?oe:"string"!=typeof oe?-1:Q.indexOf(oe)},this.setByParam=function(oe){this.params=oe},this.tohex=function(){var oe=this.params,se=this._getStatusCode();if(-1==se)throw new Error("responseStatus not supported: "+oe.resstatus);if(0!=se)return C({seq:[{enum:{int:se}}]}).tohex();var y=new k(oe);return C({seq:[{enum:{int:0}},{tag:{tag:"a0",explicit:!0,obj:y}}]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.OCSPResponse,Y.asn1.ASN1Object),Y.asn1.ocsp.ResponseBytes=function(l){Y.asn1.ocsp.ResponseBytes.superclass.constructor.call(this);var w=Y.asn1,C=w.DERSequence,k=w.DERObjectIdentifier,Q=w.DEROctetString,oe=w.ocsp.BasicOCSPResponse;this.params=null,this.setByParam=function(se){this.params=se},this.tohex=function(){var se=this.params;if("ocspBasic"!=se.restype)throw new Error("not supported responseType: "+se.restype);var y=new oe(se),T=[];return T.push(new k({name:"ocspBasic"})),T.push(new Q({hex:y.tohex()})),new C({array:T}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.ResponseBytes,Y.asn1.ASN1Object),Y.asn1.ocsp.BasicOCSPResponse=function(l){Y.asn1.ocsp.BasicOCSPResponse.superclass.constructor.call(this);var w=Error,C=Y.asn1,k=C.ASN1Object,Q=C.DERSequence,se=C.DERTaggedObject,y=C.DERBitString,O=C.x509.AlgorithmIdentifier,V=C.ocsp;_SingleResponseList=V.SingleResponseList,_ResponseData=V.ResponseData,this.params=null,this.setByParam=function(H){this.params=H},this.sign=function(){var H=this.params,z=H.tbsresp.tohex(),Ce=new Y.crypto.Signature({alg:H.sigalg});Ce.init(H.reskey),Ce.updateHex(z),H.sighex=Ce.sign()},this.tohex=function(){var H=this.params;null==H.tbsresp&&(H.tbsresp=new _ResponseData(H)),null==H.sighex&&null!=H.reskey&&this.sign();var z=[];if(z.push(H.tbsresp),z.push(new O({name:H.sigalg})),z.push(new y({hex:"00"+H.sighex})),null!=H.certs&&null!=H.certs.length){for(var Ce=[],he=0;he<H.certs.length;he++){var Te=H.certs[he],Oe=null;if(ir.isASN1HEX(Te))Oe=Te;else{if(!Te.match(/-----BEGIN/))throw new w("certs["+he+"] not hex or PEM");Oe=wi(Te)}Ce.push(new k({tlv:Oe}))}var Ge=new Q({array:Ce});z.push(new se({tag:"a0",explicit:!0,obj:Ge}))}return new Q({array:z}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.BasicOCSPResponse,Y.asn1.ASN1Object),Y.asn1.ocsp.ResponseData=function(l){Y.asn1.ocsp.ResponseData.superclass.constructor.call(this);var w=Error,C=Y.asn1,k=C.DERSequence,Q=C.DERGeneralizedTime,oe=C.DERTaggedObject,se=C.x509.Extensions,y=C.ocsp,T=y.ResponderID;_SingleResponseList=y.SingleResponseList,this.params=null,this.tohex=function(){var O=this.params;null!=O.respid&&new w("respid not specified"),null!=O.prodat&&new w("prodat not specified"),null!=O.array&&new w("array not specified");var V=[];if(V.push(new T(O.respid)),V.push(new Q(O.prodat)),V.push(new _SingleResponseList(O.array)),null!=O.ext){var J=new se(O.ext);V.push(new oe({tag:"a1",explicit:!0,obj:J}))}return new k({array:V}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(O){this.params=O},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.ResponseData,Y.asn1.ASN1Object),Y.asn1.ocsp.ResponderID=function(l){Y.asn1.ocsp.ResponderID.superclass.constructor.call(this);var C=Y.asn1,k=C.ASN1Util.newObject,Q=C.x509.X500Name,oe=Y.lang.String.isHex,se=Error;this.params=null,this.tohex=function(){var y=this.params;if(null!=y.key){var T=null;if("string"==typeof y.key)oe(y.key)&&(T=y.key),y.key.match(/-----BEGIN CERTIFICATE/)&&null!=(V=new Rr(y.key).getExtSubjectKeyIdentifier())&&(T=V.kid.hex);else if(y.key instanceof Rr){var V;null!=(V=y.key.getExtSubjectKeyIdentifier())&&(T=V.kid.hex)}if(null==T)throw new se("wrong key member value");return k({tag:{tag:"a2",explicit:!0,obj:{octstr:{hex:T}}}}).tohex()}if(null!=y.name){var H=null;if("string"==typeof y.name&&y.name.match(/-----BEGIN CERTIFICATE/)?H=new Rr(y.name).getSubject():y.name instanceof Rr?H=y.name.getSubject():"object"==typeof y.name&&(null!=y.name.array||null!=y.name.str)&&(H=y.name),null==H)throw new se("wrong name member value");return k({tag:{tag:"a1",explicit:!0,obj:new Q(H)}}).tohex()}throw new se("key or name not specified")},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(y){this.params=y},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.ResponderID,Y.asn1.ASN1Object),Y.asn1.ocsp.SingleResponseList=function(l){Y.asn1.ocsp.SingleResponseList.superclass.constructor.call(this);var w=Y.asn1,C=w.DERSequence,k=w.ocsp.SingleResponse;this.params=null,this.tohex=function(){var Q=this.params;if("object"!=typeof Q||null==Q.length)throw new Error("params not specified properly");for(var oe=[],se=0;se<Q.length;se++)oe.push(new k(Q[se]));return new C({array:oe}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(Q){this.params=Q},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.SingleResponseList,Y.asn1.ASN1Object),Y.asn1.ocsp.SingleResponse=function(l){var w=Error,k=Y.asn1,Q=k.DERSequence,oe=k.DERGeneralizedTime,se=k.DERTaggedObject,y=k.ocsp,T=y.CertID,O=y.CertStatus,J=k.x509.Extensions;y.SingleResponse.superclass.constructor.call(this),this.params=null,this.tohex=function(){var H=this.params,z=[];if(null==H.certid)throw new w("certid unspecified");if(null==H.status)throw new w("status unspecified");if(null==H.thisupdate)throw new w("thisupdate unspecified");
1if(z.push(new T(H.certid)),z.push(new O(H.status)),z.push(new oe(H.thisupdate)),null!=H.nextupdate){var Ce=new oe(H.nextupdate);z.push(new se({tag:"a0",explicit:!0,obj:Ce}))}if(null!=H.ext){var he=new J(H.ext);z.push(new se({tag:"a1",explicit:!0,obj:he}))}return new Q({array:z}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(H){this.params=H},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.SingleResponse,Y.asn1.ASN1Object),Y.asn1.ocsp.CertID=function(l){var C=Y.asn1,k=C.DEROctetString,Q=C.DERInteger,oe=C.DERSequence,y=C.x509.AlgorithmIdentifier,J=Y.crypto.Util.hashHex,H=Rr,Ce=ir.getVbyList;C.ocsp.CertID.superclass.constructor.call(this),this.DEFAULT_HASH="sha1",this.params=null,this.setByValue=function(he,Te,Oe,Ge){null==Ge&&(Ge=this.DEFAULT_HASH),this.params={alg:Ge,issname:he,isskey:Te,sbjsn:Oe}},this.setByCert=function(he,Te,Oe){null==Oe&&(Oe=this.DEFAULT_HASH),this.params={alg:Oe,issuerCert:he,subjectCert:Te}},this.getParamByCerts=function(he,Te,Oe){null==Oe&&(Oe=this.DEFAULT_HASH);var Ge=new H(he),yt=new H(Te),It=J(Ge.getSubjectHex(),Oe),St=Ge.getPublicKeyHex();return{alg:Oe,issname:It,isskey:J(Ce(St,0,[1],"03",!0),Oe),sbjsn:yt.getSerialNumberHex()}},this.tohex=function(){if("object"!=typeof this.params)throw new Error("params not set");var Te,Oe,Ge,yt,he=this.params;if(yt=null==he.alg?this.DEFAULT_HASH:he.alg,null!=he.issuerCert&&null!=he.subjectCert){var It=this.getParamByCerts(he.issuerCert,he.subjectCert,yt);Te=It.issname,Oe=It.isskey,Ge=It.sbjsn}else{if(null==he.issname||null==he.isskey||null==he.sbjsn)throw new Error("required param members not defined");Te=he.issname,Oe=he.isskey,Ge=he.sbjsn}var St=new y({name:yt}),vn=new k({hex:Te}),wn=new k({hex:Oe}),$e=new Q({hex:Ge}),et=new oe({array:[St,vn,wn,$e]});return this.hTLV=et.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.CertID,Y.asn1.ASN1Object),Y.asn1.ocsp.CertStatus=function(l){Y.asn1.ocsp.CertStatus.superclass.constructor.call(this),this.params=null,this.tohex=function(){var w=this.params;if("good"==w.status)return"8000";if("unknown"==w.status)return"8200";if("revoked"==w.status){var C=[{gentime:{str:w.time}}];return null!=w.reason&&C.push({tag:{tag:"a0",explicit:!0,obj:{enum:{int:w.reason}}}}),Y.asn1.ASN1Util.newObject({tag:{tag:"a1",explicit:!1,obj:{seq:C}}}).tohex()}throw new Error("bad status")},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(w){this.params=w},void 0!==l&&this.setByParam(l)},Kn(Y.asn1.ocsp.CertStatus,Y.asn1.ASN1Object),Y.asn1.ocsp.Request=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.ocsp;if(Q.Request.superclass.constructor.call(this),this.dReqCert=null,this.dExt=null,this.tohex=function(){var se=[];if(null===this.dReqCert)throw"reqCert not set";
1se.push(this.dReqCert);var y=new k({array:se});return this.hTLV=y.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},typeof l<"u"){var oe=new Q.CertID(l);this.dReqCert=oe}},Kn(Y.asn1.ocsp.Request,Y.asn1.ASN1Object),Y.asn1.ocsp.TBSRequest=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.ocsp;Q.TBSRequest.superclass.constructor.call(this),this.version=0,this.dRequestorName=null,this.dRequestList=[],this.dRequestExt=null,this.setRequestListByParam=function(oe){for(var se=[],y=0;y<oe.length;y++){var T=new Q.Request(oe[0]);se.push(T)}this.dRequestList=se},this.tohex=function(){var oe=[];if(0!==this.version)throw"not supported version: "+this.version;if(null!==this.dRequestorName)throw"requestorName not supported";var se=new k({array:this.dRequestList});if(oe.push(se),null!==this.dRequestExt)throw"requestExtensions not supported";var y=new k({array:oe});return this.hTLV=y.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&void 0!==l.reqList&&this.setRequestListByParam(l.reqList)},Kn(Y.asn1.ocsp.TBSRequest,Y.asn1.ASN1Object),Y.asn1.ocsp.OCSPRequest=function(l){var C=Y.asn1,k=C.DERSequence,Q=C.ocsp;if(Q.OCSPRequest.superclass.constructor.call(this),this.dTbsRequest=null,this.dOptionalSignature=null,this.tohex=function(){var se=[];if(null===this.dTbsRequest)throw"tbsRequest not set";if(se.push(this.dTbsRequest),null!==this.dOptionalSignature)throw"optionalSignature not supported";var y=new k({array:se});return this.hTLV=y.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==l&&void 0!==l.reqList){var oe=new Q.TBSRequest(l);this.dTbsRequest=oe}},Kn(Y.asn1.ocsp.OCSPRequest,Y.asn1.ASN1Object),Y.asn1.ocsp.OCSPUtil={},Y.asn1.ocsp.OCSPUtil.getRequestHex=function(l,w,C){var oe=Y.asn1.ocsp;return void 0===C&&(C=oe.DEFAULT_HASH),new oe.OCSPRequest({reqList:[{alg:C,issuerCert:l,subjectCert:w}]}).tohex()},Y.asn1.ocsp.OCSPUtil.getOCSPResponseInfo=function(l){var C=ir.getVbyList,k=ir.getVbyListEx,Q=ir.getIdxbyList,se=ir.getV,y={};try{var T=k(l,0,[0],"0a");y.responseStatus=parseInt(T,16)}catch{}if(0!==y.responseStatus)return y;try{var O=Q(l,0,[1,0,1,0,0,2,0,1]);"80"===l.substr(O,2)?y.certStatus="good":"a1"===l.substr(O,2)?(y.certStatus="revoked",y.revocationTime=ki(C(l,O,[0]))):"82"===l.substr(O,2)&&(y.certStatus="unknown")}catch{}try{var V=Q(l,0,[1,0,1,0,0,2,0,2]);y.thisUpdate=ki(se(l,V))}catch{}try{var J=Q(l,0,[1,0,1,0,0,2,0,3]);"a0"===l.substr(J,2)&&(y.nextUpdate=ki(C(l,J,[0])))}catch{}return y},Y.asn1.ocsp.OCSPParser=function(){var l=Error,w=Rr,C=new w,Q=ir.getV,oe=ir.getTLV,se=ir.getIdxbyList,y=ir.getVbyList,T=ir.getTLVbyList,O=ir.getVbyListEx,V=ir.getTLVbyListEx,J=ir.getChildIdx;this.getOCSPRequest=function(H){var z=J(H,0);if(1!=z.length&&2!=z.length)throw new l("wrong number elements: "+z.length);return this.getTBSRequest(oe(H,z[0]))},this.getTBSRequest=function(H){var z={},Ce=V(H,0,[0],"30");z.array=this.getRequestList(Ce);var he=V(H,0,["[2]",0],"30");return null!=he&&(z.ext=C.getExtParamArray(he)),z},this.getRequestList=function(H){for(var z=[],Ce=J(H,0),he=0;he<Ce.length;he++)H=oe(H,Ce[he]),z.push(this.getRequest(H));return z},this.getRequest=function(H){var z=J(H,0);if(1!=z.length&&2!=z.length)throw new l("wrong number elements: "+z.length);var Ce=this.getCertID(oe(H,z[0]));if(2==z.length){var he=se(H,0,[1,0]);Ce.ext=C.getExtParamArray(oe(H,he))}return Ce},this.getCertID=function(H){var z=J(H,0);if(4!=z.length)throw new l("wrong number elements: "+z.length);var Ce=new w,he={};return he.alg=Ce.getAlgorithmIdentifierName(oe(H,z[0])),he.issname=Q(H,z[1]),he.isskey=Q(H,z[2]),he.sbjsn=Q(H,z[3]),he},this.getOCSPResponse=function(H){var Ce,z=J(H,0),he=Q(H,z[0]),Te=parseInt(he);if(1==z.length)return{resstatus:Te};var Oe=T(H,0,[1,0]);return(Ce=this.getResponseBytes(Oe)).resstatus=Te,Ce},this.getResponseBytes=function(H){var Ce,z=J(H,0),he=T(H,0,[1,0]);Ce=this.getBasicOCSPResponse(he);var Te=Q(H,z[0]);return Ce.restype=Y.asn1.x509.OID.oid2name(Ma(Te)),Ce},this.getBasicOCSPResponse=function(H){var Ce,z=J(H,0);Ce=this.getResponseData(oe(H,z[0]));var he=new Rr;Ce.alg=he.getAlgorithmIdentifierName(oe(H,z[1]));var Te=Q(H,z[2]);Ce.sighex=Te.substr(2);var Oe=O(H,0,["[0]"]);if(null!=Oe){for(var Ge=J(Oe,0),yt=[],It=0;It<Ge.length;It++){var St=oe(Oe,Ge[It]);yt.push(St)}Ce.certs=yt}return Ce},this.getResponseData=function(H){var z=J(H,0),Ce=z.length,he={},Te=0;"a0"==H.substr(z[0],2)&&Te++,he.respid=this.getResponderID(oe(H,z[Te++]));var Oe=Q(H,z[Te++]);if(he.prodat=ki(Oe),he.array=this.getSingleResponseList(oe(H,z[Te++])),"a1"==H.substr(z[Ce-1],2)){var Ge=T(H,z[Ce-1],[0]),yt=ne
1w Rr;he.ext=yt.getExtParamArray(Ge)}return he},this.getResponderID=function(H){var z={};if("a2"==H.substr(0,2)){var Ce=y(H,0,[0]);z.key=Ce}if("a1"==H.substr(0,2)){var he=T(H,0,[0]),Te=new Rr;z.name=Te.getX500Name(he)}return z},this.getSingleResponseList=function(H){for(var z=J(H,0),Ce=[],he=0;he<z.length;he++){var Te=this.getSingleResponse(oe(H,z[he]));Ce.push(Te)}return Ce},this.getSingleResponse=function(H){var z=J(H,0),Ce={},he=this.getCertID(oe(H,z[0]));Ce.certid=he;var Te=this.getCertStatus(oe(H,z[1]));if(Ce.status=Te,"18"==H.substr(z[2],2)){var Oe=Q(H,z[2]);Ce.thisupdate=ki(Oe)}for(var Ge=3;Ge<z.length;Ge++){if("a0"==H.substr(z[Ge],2)){var yt=y(H,z[Ge],[0],"18");Ce.nextupdate=ki(yt)}if("a1"==H.substr(z[Ge],2)){var It=new Rr,St=T(H,0,[Ge,0]);Ce.ext=It.getExtParamArray(St)}}return Ce},this.getCertStatus=function(H){var z={};if("8000"==H)return{status:"good"};if("8200"==H)return{status:"unknown"};if("a1"==H.substr(0,2)){z.status="revoked";var he=ki(y(H,0,[0]));z.time=he}return z}},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.lang>"u"||!Y.lang)&&(Y.lang={}),Y.lang.String=function(){},"function"==typeof Buffer?(ts=function(l){return ms(Buffer.from(l,"utf8").toString("base64"))},$o=function(l){return Buffer.from(Ts(l),"base64").toString("utf8")}):(ts=function(l){return Oi(Ya(Ea(l)))},$o=function(l){return decodeURIComponent(ua(ro(l)))}),Y.lang.String.isInteger=function(l){return!!l.match(/^[0-9]+$/)||!!l.match(/^-[0-9]+$/)},Y.lang.String.isHex=function(l){return ka(l)},Y.lang.String.isBase64=function(l){return!(!(l=l.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||l.length%4!=0)},Y.lang.String.isBase64URL=function(l){return!l.match(/[+/=]/)&&(l=Ts(l),Y.lang.String.isBase64(l))},Y.lang.String.isIntegerArray=function(l){return!!(l=l.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},Y.lang.String.isPrintable=function(l){return null!==l.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},Y.lang.String.isIA5=function(l){return null!==l.match(/^[\x20-\x21\x23-\x7f]*$/)},Y.lang.String.isMail=function(l){return null!==l.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\.[A-Za-z0-9]{1,}$/)};var Vs=function(l,w,C){return null==C&&(C="0"),l.length>=w?l:new Array(w-l.length+1).join(C)+l};function gs(l,w){for(var C=0,k=0;k<l.length;k++)C|=1<<w[l[k]];var Q=C.toString(2),oe="";for(k=Q.length-1;k>=0;k--)oe+=Q[k];return oe}function $i(l,k,C){if("object"==typeof l){k=String(k).split(".");for(var Q=0;Q<k.length&&l;Q++){var oe=k[Q];oe.match(/^[0-9]+$/)&&(oe=parseInt(oe)),l=l[oe]}return l||!1===l?l:C}}function Kn(l,w){var C=function(){};C.prototype=w.prototype,l.prototype=new C,l.prototype.constructor=l,l.superclass=w.prototype,w.prototype.constructor==Object.prototype.constructor&&(w.prototype.constructor=w)}(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.crypto>"u"||!Y.crypto)&&(Y.crypto={}),Y.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:b.algo.MD5,sha1:b.algo.SHA1,sha224:b.algo.SHA224,sha256:b.algo.SHA256,sha384:b.algo.SHA384,sha512:b.algo.SHA512,ripemd160:b.algo.RIPEMD160},this.getDigestInfoHex=function(l,w){if(typeof this.DIGESTINFOHEAD[w]>"u")throw"alg not supported in Util.DIGESTINFOHEAD: "+w;return this.DIGESTINFOHEAD[w]+l},this.getPaddedDigestInfoHex=function(l,w,C){var k=this.getDigestInfoHex(l,w),Q=C/4;if(k.length+22>Q)throw"key is too short for SigAlg: keylen="+C+","+w;for(var se="00"+k,y="",T=Q-4-se.length,O=0;O<T;O+=2)y+="ff";return"0001"+y+se},this.hashString=function(l,w){return new Y.crypto.MessageDigest({alg:w}).digestString(l)},this.hashHex=function(l,w){return new Y.crypto.MessageDigest({alg:w}).digestHex(l)},this.sha1=function(l){return this.hashString(l,"sha1")},this.sha256=function(l){return this.hashString(l,"sha256")},this.sha256Hex=function(l){return this.hashHex(l,"sha256")},this.sha512=function(l){return this.hashString(l,"sha512")},this.sha512Hex=function(l){return this.hashHex(l,"sha512")},this.isKey=function(l){return l instanceof zt||l instanceof Y.crypto.DSA||l instanceof Y.crypto.ECDSA}},Y.crypto.Util.md5=function(l){return new Y.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(l)},Y.crypto.Util.ripemd160=function(l){return new Y.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(l)}
vendor: 9,955 bytes, line 1
1,Y.crypto.Util.SECURERANDOMGEN=new ao,Y.crypto.Util.getRandomHexOfNbytes=function(l){var w=new Array(l);return Y.crypto.Util.SECURERANDOMGEN.nextBytes(w),Us(w)},Y.crypto.Util.getRandomBigIntegerOfNbytes=function(l){return new U(Y.crypto.Util.getRandomHexOfNbytes(l),16)},Y.crypto.Util.getRandomHexOfNbits=function(l){var w=l%8,k=new Array((l-w)/8+1);return Y.crypto.Util.SECURERANDOMGEN.nextBytes(k),k[0]=(255<<w&255^255)&k[0],Us(k)},Y.crypto.Util.getRandomBigIntegerOfNbits=function(l){return new U(Y.crypto.Util.getRandomHexOfNbits(l),16)},Y.crypto.Util.getRandomBigIntegerZeroToMax=function(l){for(var w=l.bitLength();;){var C=Y.crypto.Util.getRandomBigIntegerOfNbits(w);if(l.compareTo(C)>=0)return C}},Y.crypto.Util.getRandomBigIntegerMinToMax=function(l,w){var C=l.compareTo(w);if(C>0)throw"biMin is greater than biMax";if(0==C)return l;var k=w.subtract(l);return Y.crypto.Util.getRandomBigIntegerZeroToMax(k).add(l)},Y.crypto.MessageDigest=function(l){this.setAlgAndProvider=function(Q,oe){if(null!==(Q=Y.crypto.MessageDigest.getCanonicalAlgName(Q))&&void 0===oe&&(oe=Y.crypto.Util.DEFAULTPROVIDER[Q]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(Q)&&"cryptojs"==oe){try{this.md=Y.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[Q].create()}catch(se){throw"setAlgAndProvider hash alg set fail alg="+Q+"/"+se}this.updateString=function(se){this.md.update(se)},this.updateHex=function(se){var y=b.enc.Hex.parse(se);this.md.update(y)},this.digest=function(){return this.md.finalize().toString(b.enc.Hex)},this.digestString=function(se){return this.updateString(se),this.digest()},this.digestHex=function(se){return this.updateHex(se),this.digest()}}if(-1!=":sha256:".indexOf(Q)&&"sjcl"==oe){try{this.md=new sjcl.hash.sha256}catch(se){throw"setAlgAndProvider hash alg set fail alg="+Q+"/"+se}this.updateString=function(se){this.md.update(se)},this.updateHex=function(se){var y=sjcl.codec.hex.toBits(se);this.md.update(y)},this.digest=function(){var se=this.md.finalize();return sjcl.codec.hex.fromBits(se)},this.digestString=function(se){return this.updateString(se),this.digest()},this.digestHex=function(se){return this.updateHex(se),this.digest()}}},this.updateString=function(Q){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(Q){throw"updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw"digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(Q){throw"digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(Q){throw"digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==l&&void 0!==l.alg&&(this.algName=l.alg,void 0===l.prov&&(this.provName=Y.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},Y.crypto.MessageDigest.getCanonicalAlgName=function(l){return"string"==typeof l&&(l=(l=l.toLowerCase()).replace(/-/,"")),l},Y.crypto.MessageDigest.getHashLength=function(l){var w=Y.crypto.MessageDigest,C=w.getCanonicalAlgName(l);if(void 0===w.HASHLENGTH[C])throw"not supported algorithm: "+l;return w.HASHLENGTH[C]},Y.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},Y.crypto.Mac=function(l){this.setAlgAndProvider=function(se,y){if(null==(se=se.toLowerCase())&&(se="hmacsha1"),"hmac"!=(se=se.toLowerCase()).substr(0,4))throw"setAlgAndProvider unsupported HMAC alg: "+se;void 0===y&&(y=Y.crypto.Util.DEFAULTPROVIDER[se]),this.algProv=se+"/"+y;var T=se.substr(4);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(T)&&"cryptojs"==y){try{this.mac=b.algo.HMAC.create(Y.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[T],this.pass)}catch(V){throw"setAlgAndProvider hash alg set fail hashAlg="+T+"/"+V}this.updateString=function(V){this.mac.update(V)},this.updateHex=function(V){var J=b.enc.Hex.parse(V);this.mac.update(J)},this.doFinal=function(){return this.mac.finalize().toString(b.enc.Hex)},this.doFinalString=function(V){return this.updateString(V),this.doFinal()},this.doFinalHex=function(V){return this.updateHex(V),this.doFinal()}}},this.updateString=function(se){throw"updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(se){throw"updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw"digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(se){throw"digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(se){throw"digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(se){if("string"==typeof se){var y=se;return(se.length%2==1||!se.match(/^[0-9A-Fa-f]+$/))&&(y=Re(se)),void(this.pass=b.enc.Hex.parse(y))}if("object"!=typeof se)throw"KJUR.crypto.Mac unsupported password type: "+se;if(y=null,void 0!==se.hex){if(se.hex.length%2!=0||!se.hex.match(/^[0-9A-Fa-f]+$/))throw"Mac: wrong hex password: "+se.hex;y=se.hex}if(void 0!==se.utf8&&(y=Ps(se.utf8)),void 0!==se.rstr&&(y=Re(se.rstr)),void 0!==se.b64&&(y=q(se.b64)),void 0!==se.b64u&&(y=ro(se.b64u)),null==y)throw"KJUR.crypto.Mac unsupported password type: "+se;this.pass=b.enc.Hex.parse(y)},void 0!==l&&(void 0!==l.pass&&this.setPassword(l.pass),void 0!==l.alg&&(this.algName=l.alg,void 0===l.prov&&(this.provName=Y.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},Y.crypto.Signature=function(l){var w=null;if(this._setAlgNames=function(){var Oe=this.algName.match(/^(.+)with(.+)$/);Oe&&(this.mdAlgName=Oe[1].toLowerCase(),this.pubkeyAlgName=Oe[2].toLowerCase(),"rsaandmgf1"==this.pubkeyAlgName&&"sha"==this.mdAlgName&&(this.mdAlgName="sha1"))},this._zeroPaddingOfSignature=function(Oe,Ge){for(var yt="",It=Ge/4-Oe.length,St=0;St<It;St++)yt+="0";return yt+Oe},this.setAlgAndProvider=function(Oe,Ge){if(this._setAlgNames(),"cryptojs/jsrsa"!=Ge)throw new Error("provider not supported: "+Ge);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new Y.crypto.MessageDigest({alg:this.mdAlgName})}catch(yt){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+yt)}this.init=function(yt,It){var St=null;try{St=void 0===It?fi.getKey(yt):fi.getKey(yt,It)}catch(vn){throw"init failed:"+vn}if(!0===St.isPrivate)this.prvKey=St,this.state="SIGN";else{if(!0!==St.isPublic)throw"init failed.:"+St;this.pubKey=St,this.state="VERIFY"}},this.updateString=function(yt){this.md.updateString(yt)},this.updateHex=function(yt){this.md.updateHex(yt)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0===this.prvKey&&void 0!==this.ecprvhex&&void 0!==this.eccurvename&&void 0!==Y.crypto.ECDSA&&(this.prvKey=new Y.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof zt&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof zt&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof Y.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof Y.crypto.DSA))throw"Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(yt){return this.updateString(yt),this.sign()},this.signHex=function(yt){return this.updateHex(yt),this.sign()},this.verify=function(yt){if(this.sHashHex=this.md.digest(),void 0===this.pubKey&&void 0!==this.ecpubhex&&void 0!==this.eccurvename&&void 0!==Y.crypto.ECDSA&&(this.pubKey=new Y.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof zt&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,yt,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof zt&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,yt);if(void 0!==Y.crypto.ECDSA&&this.pubKey instanceof Y.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,yt);if(void 0!==Y.crypto.DSA&&this.pubKey instanceof Y.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,yt);throw"Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(Oe,Ge){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(Oe){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(Oe){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(Oe){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(Oe){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(Oe){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=l,void 0!==l&&(void 0!==l.alg&&(this.algName=l.alg,this.provName=void 0===l.prov?Y.crypto.Util.DEFAULTPROVIDER[this.algName]:l.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==l.psssaltlen&&(this.pssSaltLen=l.psssaltlen),void 0!==l.prvkeypem)){if(void 0!==l.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{w=fi.getKey(l.prvkeypem),this.init(w)}catch(Oe){throw"fatal error to load pem private key: "+Oe}}},Y.crypto.Cipher=function(l){},Y.crypto.Cipher.encrypt=function(l,w,C,k){if(null!=$i(k,"enclag")&&(C=k.encalg),"string"==typeof C&&"-CBC"==C.substr(-4)){var Q=w,oe=l;null!=$i(k,"key")&&(Q=k.key),null!=$i(k,"enc")&&(hEnc=k.enc);var O,se=b.enc.Hex.parse(Q),y=b.enc.Hex.parse(oe),T=b.enc.Hex.parse(k.iv);
1if("des-EDE3-CBC"==C)O=b.TripleDES.encrypt(y,se,{iv:T});else{if("aes128-CBC"!=C&&"aes256-CBC"!=C)throw new Error("unsupported algorithm: "+C);O=b.AES.encrypt(y,se,{iv:T})}return O+""}throw new Error("Cipher.encrypt: unsupported key or algorithm")},Y.crypto.Cipher.decrypt=function(l,w,C,k){if(null!=$i(k,"enclag")&&(C=k.encalg),"string"==typeof C&&"-CBC"==C.substr(-4)){var Q=w,oe=l;null!=$i(k,"key")&&(Q=k.key),null!=$i(k,"enc")&&(oe=k.enc);var O,se=b.enc.Hex.parse(Q),y=b.enc.Hex.parse(oe),T=b.enc.Hex.parse(k.iv);if("des-EDE3-CBC"==C)O=b.TripleDES.decrypt({ciphertext:y},se,{iv:T});else{if("aes128-CBC"!=C&&"aes256-CBC"!=C)throw new Error("unsupported algorithm: "+C);O=b.AES.decrypt({ciphertext:y},se,{iv:T})}return b.enc.Hex.stringify(O)}throw new Error("Cipher.decrypt: unsupported key or algorithm")},Y.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040022":"secp384r1","2b81040023":"secp521r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"}},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.crypto>"u"||!Y.crypto)&&(Y.crypto={}),Y.crypto.ECDSA=function(l){var oe=Error,se=U,y=Di,T=Y.crypto.ECDSA,O=Y.crypto.ECParameterDB,V=T.getName,H=ir.getVbyListEx,z=ir.isASN1HEX,Ce=new ao;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(Oe){return new se(Oe.bitLength(),Ce).mod(Oe.subtract(se.ONE)).add(se.ONE)},this.setNamedCurve=function(Oe){this.ecparams=O.getByName(Oe),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=Oe},this.setPrivateKeyHex=function(Oe){this.isPrivate=!0,this.prvKeyHex=Oe},this.setPublicKeyHex=function(Oe){this.isPublic=!0,this.pubKeyHex=Oe},this.getPublicKeyXYHex=function(){var Oe=this.pubKeyHex;if("04"!==Oe.substr(0,2))throw"this method supports uncompressed format(04) only";var Ge=this.ecparams.keycharlen;if(Oe.length!==2+2*Ge)throw"malformed public key hex length";var yt={};return yt.x=Oe.substr(2,Ge),yt.y=Oe.substr(2+Ge),yt},this.getShortNISTPCurveName=function(){var Oe=this.curveName;return"secp256r1"===Oe||"NIST P-256"===Oe||"P-256"===Oe||"prime256v1"===Oe?"P-256":"secp384r1"===Oe||"NIST P-384"===Oe||"P-384"===Oe?"P-384":"secp521r1"===Oe||"NIST P-521"===Oe||"P-521"===Oe?"P-521":null},this.generateKeyPairHex=function(){var Ge=this.getBigRandom(this.ecparams.n),yt=this.ecparams.keycharlen,It=("0000000000"+Ge.toString(16)).slice(-yt);return this.setPrivateKeyHex(It),{ecprvhex:It,ecpubhex:this.generatePublicKeyHex()}},this.generatePublicKeyHex=function(){var Oe=new se(this.prvKeyHex,16),Ge=this.ecparams.G.multiply(Oe),yt=Ge.getX().toBigInteger(),It=Ge.getY().toBigInteger(),St=this.ecparams.keycharlen,$e="04"+("0000000000"+yt.toString(16)).slice(-St)+("0000000000"+It.toString(16)).slice(-St);return this.setPublicKeyHex($e),$e},this.signWithMessageHash=function(Oe){return this.signHex(Oe,this.prvKeyHex)},this.signHex=function(Oe,Ge){var yt=new se(Ge,16),It=this.ecparams.n,St=new se(Oe.substring(0,this.ecparams.keycharlen),16);do{var vn=this.getBigRandom(It),et=this.ecparams.G.multiply(vn).getX().toBigInteger().mod(It)}while(et.compareTo(se.ZERO)<=0);var Lt=vn.modInverse(It).multiply(St.add(yt.multiply(et))).mod(It);return T.biRSSigToASN1Sig(et,Lt)},this.sign=function(Oe,Ge){var yt=Ge,It=this.ecparams.n,St=se.fromByteArrayUnsigned(Oe);do{var vn=this.getBigRandom(It),et=this.ecparams.G.multiply(vn).getX().toBigInteger().mod(It)}while(et.compareTo(U.ZERO)<=0);var Lt=vn.modInverse(It).multiply(St.add(yt.multiply(et))).mod(It);return this.serializeSig(et,Lt)},this.verifyWithMessageHash=function(Oe,Ge){return this.verifyHex(Oe,Ge,this.pubKeyHex)},this.verifyHex=function(Oe,Ge,yt){try{var It,St,vn=T.parseSigHex(Ge);It=vn.r,St=vn.s;var wn=y.decodeFromHex(this.ecparams.curve,yt),$e=new se(Oe.substring(0,this.ecparams.keycharlen),16);return this.verifyRaw($e,It,St,wn)}catch{return!1}},this.verify=function(Oe,Ge,yt){var It,St,wn;if(Bitcoin.Util.isArray(Ge)){var vn=this.parseSig(Ge);It=vn.r,St=vn.s}else{if("object"!=typeof Ge||!Ge.r||!Ge.s)throw"Invalid value for signature";It=Ge.r,St=Ge.s}if(yt instanceof Di)wn=yt;else{if(!Bitcoin.Util.isArray(yt))throw"Invalid format for pubkey value, must be byte array or ECPointFp";wn=y.decodeFrom(this.ecparams.curve,yt)}var $e=se.fromByteArrayUnsigned(Oe);return this.verifyRaw($e,It,St,wn)},this.verifyRaw=function(Oe,Ge,yt,It){var St=this.ecparams.n,vn=this.ecparams.G;if(Ge.compareTo(se.ONE)<0||Ge.compareTo(St)>=0||yt.compareTo(se.ONE)<0||yt.compareTo(St)>=0)return!1;var wn=yt.modInverse(St),$e=Oe.multiply(wn).mod(St),et=Ge.multiply(wn).mod(St);return vn.multiply($e).add(It.multiply(et)).getX().toBigInteger().mod(St).equals(Ge)},this.serializeSig=function(Oe,Ge){var yt=Oe.toByteArraySigned(),It=Ge.toByteArraySigned(),St=[];return St.push(2),St.push(yt.length),(St=St.concat(yt)).push(2),St.push(It.length),(St=St.concat(It)).unshift(St.length),St.unshift(48),St},this.parseSig=function(Oe){var Ge;if(48!=Oe[0])throw new Error("Signature not a valid DERSequence");if(2!=Oe[Ge=2])throw new Error("First element in signature must be a DERInteger");var yt=Oe.slice(Ge+2,Ge+2+Oe[Ge+1]);if(2!=Oe[Ge+=2+Oe[Ge+1]])throw new Error("Second element in signature must be a DERInteger");var It=Oe.slice(Ge+2,Ge+2+Oe[Ge+1]);return Ge+=2+Oe[Ge+1],{r:se.fromByteArrayUnsigned(yt),s:se.fromByteArrayUnsigned(It)}},this.parseSigCompact=function(Oe){if(65!==Oe.length)throw"Signature has the wrong length";var Ge=Oe[0]-27;if(Ge<0||Ge>7)throw"Invalid signature type";var yt=this.ecparams.n;return{r:se.fromByteArrayUnsigned(Oe.slice(1,33)).mod(yt),s:se.fromByteArrayUnsigned(Oe.slice(33,65)).mod(yt),i:Ge}},this.readPKCS5PrvKeyHex=function(Oe){if(!1===z(Oe))throw new Error("not ASN.1 hex string");var Ge,yt,It;try{Ge=H(Oe,0,["[0]",0],"06"),yt=H(Oe,0,[1],"04");try{It=H(Oe,0,["[1]",0],"03")}catch{}}catch{throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=V(Ge),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(It),this.setPrivateKeyHex(yt),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(Oe){if(!1===z(Oe))throw new oe("not ASN.1 hex string");var yt,It,St;try{H(Oe,0,[1,0],"06"),yt=H(Oe,0,[1,1],"06"),It=H(Oe,0,[2,0,1],"04");try{St=H(Oe,0,[2,0,"[1]",0],"03")}catch{}}catch{throw new oe("malformed PKCS#8 plain ECC private key")}if(this.curveName=V(yt),void 0===this.curveName)throw new oe("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(St),this.setPrivateKeyHex(It),this.isPublic=!1},this.readPKCS8PubKeyHex=function(Oe){if(!1===z(Oe))throw new oe("not ASN.1 hex string");var yt,It;try{H(Oe,0,[0,0],"06"),yt=H(Oe,0,[0,1],"06"),It=H(Oe,0,[1],"03")}catch{throw new oe("malformed PKCS#8 ECC public key")}if(this.curveName=V(yt),null===this.curveName)throw new oe("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(It)},this.readCertPubKeyHex=function(Oe,Ge){if(!1===z(Oe))throw new oe("not ASN.1 hex string");var yt,It;try{yt=H(Oe,0,[0,5,0,1],"06"),It=H(Oe,0,[0,5,1],"03")}catch{throw new oe("malformed X.509 certificate ECC public key")}if(this.curveName=V(yt),null===this.curveName)throw new oe("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(It)},void 0!==l&&void 0!==l.curve&&(this.curveName=l.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==l&&(void 0!==l.prv&&this.setPrivateKeyHex(l.prv),void 0!==l.pub&&this.setPublicKeyHex(l.pub))},Y.crypto.ECDSA.parseSigHex=function(l){var w=Y.crypto.ECDSA.parseSigHexInHexRS(l);return{r:new U(w.r,16),s:new U(w.s,16)}}
1,Y.crypto.ECDSA.parseSigHexInHexRS=function(l){var C=ir.getChildIdx,k=ir.getV;if(ir.checkStrictDER(l,0),"30"!=l.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var Q=C(l,0);if(2!=Q.length)throw new Error("signature shall have two elements");var oe=Q[0],se=Q[1];if("02"!=l.substr(oe,2))throw new Error("1st item not ASN.1 integer");if("02"!=l.substr(se,2))throw new Error("2nd item not ASN.1 integer");return{r:k(l,oe),s:k(l,se)}},Y.crypto.ECDSA.asn1SigToConcatSig=function(l){var w=Y.crypto.ECDSA.parseSigHexInHexRS(l),C=w.r,k=w.s;if(C.length>=130&&C.length<=134){if(C.length%2!=0)throw Error("unknown ECDSA sig r length error");if(k.length%2!=0)throw Error("unknown ECDSA sig s length error");"00"==C.substr(0,2)&&(C=C.substr(2)),"00"==k.substr(0,2)&&(k=k.substr(2));var Q=Math.max(C.length,k.length);return(C=("000000"+C).slice(-Q))+("000000"+k).slice(-Q)}if("00"==C.substr(0,2)&&C.length%32==2&&(C=C.substr(2)),"00"==k.substr(0,2)&&k.length%32==2&&(k=k.substr(2)),C.length%32==30&&(C="00"+C),k.length%32==30&&(k="00"+k),C.length%32!=0)throw Error("unknown ECDSA sig r length error");if(k.length%32!=0)throw Error("unknown ECDSA sig s length error");return C+k},Y.crypto.ECDSA.concatSigToASN1Sig=function(l){if(l.length%4!=0)throw Error("unknown ECDSA concatinated r-s sig length error");var w=l.substr(0,l.length/2),C=l.substr(l.length/2);return Y.crypto.ECDSA.hexRSSigToASN1Sig(w,C)},Y.crypto.ECDSA.hexRSSigToASN1Sig=function(l,w){var C=new U(l,16),k=new U(w,16);return Y.crypto.ECDSA.biRSSigToASN1Sig(C,k)},Y.crypto.ECDSA.biRSSigToASN1Sig=function(l,w){var C=Y.asn1,k=new C.DERInteger({bigint:l}),Q=new C.DERInteger({bigint:w});return new C.DERSequence({array:[k,Q]}).tohex()},Y.crypto.ECDSA.getName=function(l){return"2b8104001f"===l?"secp192k1":"2a8648ce3d030107"===l?"secp256r1":"2b8104000a"===l?"secp256k1":"2b81040021"===l?"secp224r1":"2b81040022"===l?"secp384r1":"2b81040023"===l?"secp521r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(l)?"secp256r1":-1!=="|secp256k1|".indexOf(l)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(l)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(l)?"secp384r1":-1!=="|secp521r1|NIST P-521|P-521|".indexOf(l)?"secp521r1":null},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.crypto>"u"||!Y.crypto)&&(Y.crypto={}),Y.crypto.ECParameterDB=new function(){var l={},w={};function C(k){return new U(k,16)}this.getByName=function(k){var Q=k;if(typeof w[Q]<"u"&&(Q=w[k]),typeof l[Q]<"u")return l[Q];throw"unregistered EC curve name: "+Q},this.regist=function(k,Q,oe,se,y,T,O,V,J,H,z,Ce){l[k]={};var he=C(oe),Te=C(se),Oe=C(y),Ge=C(T),yt=C(O),It=new Zi(he,Te,Oe),St=It.decodePointHex("04"+V+J);l[k].name=k,l[k].keylen=Q,l[k].keycharlen=2*Math.ceil(Q/8),l[k].curve=It,l[k].G=St,l[k].n=Ge,l[k].h=yt,l[k].oid=z,l[k].info=Ce;for(var vn=0;vn<H.length;vn++)w[H[vn]]=k}},Y.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),Y.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),Y.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),Y.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),Y.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),Y.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),Y.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCB
1BAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),Y.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),Y.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),Y.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","00C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]),(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.crypto>"u"||!Y.crypto)&&(Y.crypto={}),Y.crypto.DSA=function(){var C=ir.getVbyListEx,k=ir.isASN1HEX,Q=U,oe=U.ONE;this.p=null,this.q=null,this.g=null,this.y=null,this.x=null,this.type="DSA",this.isPrivate=!1,this.isPublic=!1,this.setPrivate=function(y,T,O,V,J){this.isPrivate=!0,this.p=y,this.q=T,this.g=O,this.y=V,this.x=J},this.setPrivateHex=function(y,T,O,V,J){var H,z,Ce,he,Te;H=new U(y,16),z=new U(T,16),Ce=new U(O,16),he="string"==typeof V&&V.length>1?new U(V,16):null,Te=new U(J,16),this.setPrivate(H,z,Ce,he,Te)},this.setPublic=function(y,T,O,V){(function(y,T,O,V){if(null==y||null==T||null==O||null==V)throw new Error("invalid DSA public key");if(oe.compareTo(T)>=0||T.compareTo(y)>=0)throw new Error("invalid DSA public key");if(oe.compareTo(O)>=0||O.compareTo(y)>=0)throw new Error("invalid DSA public key");if(oe.compareTo(V)>=0||V.compareTo(y)>=0)throw new Error("invalid DSA public key");if(0!=O.modPow(T,y).compareTo(oe))throw new Error("invalid DSA public key")})(y,T,O,V),this.isPublic=!0,this.p=y,this.q=T,this.g=O,this.y=V,this.x=null},this.setPublicHex=function(y,T,O,V){var J,H,z,Ce;J=new U(y,16),H=new U(T,16),z=new U(O,16),Ce=new U(V,16),this.setPublic(J,H,z,Ce)},this.signWithMessageHash=function(y){var he,Te,Oe,T=this.p,O=this.q,V=this.g,H=this.x,Ce=new U(y.substr(0,O.bitLength()/4),16);do{he=Y.crypto.Util.getRandomBigIntegerMinToMax(U.ONE.add(U.ONE),O.subtract(U.ONE)),Te=V.modPow(he,T).mod(O),Oe=he.modInverse(O).multiply(Ce.add(H.multiply(Te))).mod(O)}while(0==Te.compareTo(U.ZERO)||0==Oe.compareTo(U.ZERO));return Y.asn1.ASN1Util.jsonToASN1HEX({seq:[{int:{bigint:Te}},{int:{bigint:Oe}}]})},this.verifyWithMessageHash=function(y,T){var O=this.p,V=this.q,J=this.g,H=this.y,z=this.parseASN1Signature(T),Ce=z[0],he=z[1],Oe=new U(y.substr(0,V.bitLength()/4),16);if(U.ZERO.compareTo(Ce)>
1=0||Ce.compareTo(V)>=0||U.ZERO.compareTo(he)>=0||he.compareTo(V)>=0)throw"invalid DSA signature";var Ge=he.modInverse(V),yt=Oe.multiply(Ge).mod(V),It=Ce.multiply(Ge).mod(V);return 0==J.modPow(yt,O).multiply(H.modPow(It,O)).mod(O).mod(V).compareTo(Ce)},this.parseASN1Signature=function(y){try{return[new Q(C(y,0,[0],"02"),16),new Q(C(y,0,[1],"02"),16)]}catch{throw new Error("malformed ASN.1 DSA signature")}},this.readPKCS5PrvKeyHex=function(y){var T,O,V,J,H;if(!1===k(y))throw new Error("not ASN.1 hex string");try{T=C(y,0,[1],"02"),O=C(y,0,[2],"02"),V=C(y,0,[3],"02"),J=C(y,0,[4],"02"),H=C(y,0,[5],"02")}catch{throw new Error("malformed PKCS#1/5 plain DSA private key")}this.setPrivateHex(T,O,V,J,H)},this.readPKCS8PrvKeyHex=function(y){var T,O,V,J;if(!1===k(y))throw new Error("not ASN.1 hex string");try{T=C(y,0,[1,1,0],"02"),O=C(y,0,[1,1,1],"02"),V=C(y,0,[1,1,2],"02"),J=C(y,0,[2,0],"02")}catch{throw new Error("malformed PKCS#8 plain DSA private key")}this.setPrivateHex(T,O,V,null,J)},this.readPKCS8PubKeyHex=function(y){var T,O,V,J;if(!1===k(y))throw new Error("not ASN.1 hex string");try{T=C(y,0,[0,1,0],"02"),O=C(y,0,[0,1,1],"02"),V=C(y,0,[0,1,2],"02"),J=C(y,0,[1,0],"02")}catch{throw new Error("malformed PKCS#8 DSA public key")}this.setPublicHex(T,O,V,J)},this.readCertPubKeyHex=function(y,T){var O,V,J,H;if(!1===k(y))throw new Error("not ASN.1 hex string");try{O=C(y,0,[0,5,0,1,0],"02"),V=C(y,0,[0,5,0,1,1],"02"),J=C(y,0,[0,5,0,1,2],"02"),H=C(y,0,[0,5,1,0],"02")}catch{throw new Error("malformed X.509 certificate DSA public key")}this.setPublicHex(O,V,J,H)}};var fi=function(){var l=function(he,Te,Oe){return k(b.AES,he,Te,Oe)},k=function(he,Te,Oe,Ge){var yt=b.enc.Hex.parse(Te),It=b.enc.Hex.parse(Oe),St=b.enc.Hex.parse(Ge),vn={};vn.key=It,vn.iv=St,vn.ciphertext=yt;var wn=he.decrypt(vn,It,{iv:St});return b.enc.Hex.stringify(wn)},Q=function(he,Te,Oe){return y(b.AES,he,Te,Oe)},y=function(he,Te,Oe,Ge){var yt=b.enc.Hex.parse(Te),It=b.enc.Hex.parse(Oe),St=b.enc.Hex.parse(Ge),vn=he.encrypt(yt,It,{iv:St}),wn=b.enc.Hex.parse(vn.toString());return b.enc.Base64.stringify(wn)},T={"AES-256-CBC":{proc:l,eproc:Q,keylen:32,ivlen:16},"AES-192-CBC":{proc:l,eproc:Q,keylen:24,ivlen:16},"AES-128-CBC":{proc:l,eproc:Q,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(he,Te,Oe){return k(b.TripleDES,he,Te,Oe)},eproc:function(he,Te,Oe){return y(b.TripleDES,he,Te,Oe)},keylen:24,ivlen:8},"DES-CBC":{proc:function(he,Te,Oe){return k(b.DES,he,Te,Oe)},eproc:function(he,Te,Oe){return y(b.DES,he,Te,Oe)},keylen:8,ivlen:8}},J=function(he){var Te={},Oe=he.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));Oe&&(Te.cipher=Oe[1],Te.ivsalt=Oe[2]);var Ge=he.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));Ge&&(Te.type=Ge[1]);var yt=-1,It=0;-1!=he.indexOf("\r\n\r\n")&&(yt=he.indexOf("\r\n\r\n"),It=2),-1!=he.indexOf("\n\n")&&(yt=he.indexOf("\n\n"),It=1);var St=he.indexOf("-----END");if(-1!=yt&&-1!=St){var vn=he.substring(yt+2*It,St-It);vn=vn.replace(/\s+/g,""),Te.data=vn}return Te},H=function(he,Te,Oe){for(var Ge=Oe.substring(0,16),yt=b.enc.Hex.parse(Ge),It=b.enc.Utf8.parse(Te),St=T[he].keylen+T[he].ivlen,vn="",wn=null;;){var $e=b.algo.MD5.create();if(null!=wn&&$e.update(wn),$e.update(It),$e.update(yt),wn=$e.finalize(),(vn+=b.enc.Hex.stringify(wn)).length>=2*St)break}var et={};return et.keyhex=vn.substr(0,2*T[he].keylen),et.ivhex=vn.substr(2*T[he].keylen,2*T[he].ivlen),et},z=function(he,Te,Oe,Ge){var yt=b.enc.Base64.parse(he),It=b.enc.Hex.stringify(yt);return(0,T[Te].proc)(It,Oe,Ge)};return{version:"1.0.0",parsePKCS5PEM:function(he){return J(he)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(he,Te,Oe){return H(he,Te,Oe)},decryptKeyB64:function(he,Te,Oe,Ge){return z(he,Te,Oe,Ge)},getDecryptedKeyHex:function(he,Te){var Oe=J(he),yt=Oe.cipher,It=Oe.ivsalt,St=Oe.data,vn=H(yt,Te,It);return z(St,yt,vn.keyhex,It)},getEncryptedPKCS5PEMFromPrvKeyHex:function(he,Te,Oe,Ge,yt){var Lt="";if((typeof Ge>"u"||null==Ge)&&(Ge="AES-256-CBC"),typeof T[Ge]>"u")throw new Error("KEYUTIL unsupported algorithm: "+Ge);if(typeof yt>"u"||null==yt){var St=function(he){var Te=b.lib.WordArray.random(he);return b.enc.Hex.stringify(Te)}(T[Ge].ivlen);yt=St.toUpperCase()}var $e=function(he,Te,Oe,Ge){return(0,T[Te].eproc)(he,Oe,Ge)}(Te,Ge,H(Ge,Oe,yt).keyhex,yt);return Lt="-----BEGIN "+he+" PRIVATE KEY-----\r\n",Lt+="Proc-Type: 4,ENCRYPTED\r\n",Lt+="DEK-Info: "+Ge+","+yt+"\r\n",Lt+="\r\n",(Lt+=$e.replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+he+" PRIVATE KEY-----\r\n"},getEncryptedPKCS8PEM:function(he,Te,Oe){return Or(this.getEncryptedPKCS8Hex(he,Te,Oe),"ENCRYPTED PRIVATE KEY")},getEncryptedPKCS8Hex:function(he,Te,Oe){var Ge;(Ge=null==Oe||null==Oe?{}:JSON.parse(JSON.stringify(Oe))).plain=he,this.initPBES2Param(Ge),this.encryptPBES2Param(Ge,Te);var yt=this.generatePBES2ASN1Param(Ge);return Y.asn1.ASN1Util.newObject(yt).tohex()},initPBES2Param:function(he){var Te;null==$i(he,"encalg")&&(he.encalg="aes256-CBC"),null==$i(he,"iter")&&(he.iter=2048),null==$i(he,"prf")&&(he.prf="hmacWithSHA256"),null==$i(he,"salt")&&(he.salt=b.enc.Hex.stringify(b.lib.WordArray.random(8))),null==$i(he,"enciv")&&("des-EDE3-CBC"==he.encalg&&(Te=8),"aes128-CBC"==he.encalg&&(Te=16),"aes256-CBC"==he.encalg&&(Te=16),he.enciv=b.enc.Hex.stringify(b.lib.WordArray.random(Te)))},encryptPBES2Param:function(he,Te){var Oe=fi.getDKFromPBES2Param(he,Te);try{var Ge=Y.crypto.Cipher.encrypt(he.plain,Oe,he.encalg,{iv:he.enciv})}catch{throw new Error("encrypt error: "+he.plain+" "+Oe+" "+he.encalg+" "+he.enciv)}he.enc=Ge},generatePBES2ASN1Param:function(he){var Te={seq:[{seq:[{oid:"pkcs5PBES2"},{seq:[{seq:[{oid:"pkcs5PBKDF2"},{seq:[{octstr:{hex:he.salt}},{int:{hex:Ll(he.iter)}}]}]},{seq:[{oid:he.encalg},{octstr:{hex:he.enciv}}]}]}]},{octstr:{hex:he.enc}}]};return"hmacWithSHA1"!=he.prf&&Te.seq[0].seq[1].seq[0].seq[1].seq.push({seq:[{oid:he.prf},{null:""}]}),Te},parseHexOfEncryptedPKCS8:function(he){var Oe=ir.getChildIdx,Ge=ir.getV,yt={},It=Oe(he,0);if(2!=It.length)throw new Error("malformed format: SEQUENCE(0).items != 2: "+It.length);yt.ciphertext=Ge(he,It[1]);var St=Oe(he,It[0]);if(2!=St.length)throw new Error("malformed format: SEQUENCE(0.0).items != 2: "+St.length);if("2a864886f70d01050d"!=Ge(he,St[0]))throw new Error("this only supports pkcs5PBES2");var vn=Oe(he,St[1]);if(2!=St.length)throw new Error("malformed format: SEQUENCE(0.0.1).items != 2: "+vn.length);var wn=Oe(he,vn[1]);if(2!=wn.length)throw new Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+wn.length);if("2a864886f70d0307"!=Ge(he,wn[0]))throw"this only supports TripleDES";yt.encryptionSchemeAlg="TripleDES",yt.encryptionSchemeIV=Ge(he,wn[1]);var $e=Oe(he,vn[0]);if(2!=$e.length)throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+$e.length);if("2a864886f70d01050c"!=Ge(he,$e[0]))throw new Error("this only supports pkcs5PBKDF2");var et=Oe(he,$e[1]);if(et.length<2)throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+et.length);yt.pbkdf2Salt=Ge(he,et[0]);var Lt=Ge(he,et[1]);try{yt.pbkdf2Iter=parseInt(Lt,16)}catch{throw new Error("malformed format pbkdf2Iter: "+Lt)}return yt},getPBKDF2KeyHexFromParam:function(he,Te){var Oe=b.enc.Hex.parse(he.pbkdf2Salt),yt=b.PBKDF2(Te,Oe,{keySize:6,iterations:he.pbkdf2Iter});return b.enc.Hex.stringify(yt)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(he,Te){var Oe=wi(he,"ENCRYPTED PRIVATE KEY"),Ge=this.parseHexOfEncryptedPKCS8(Oe),yt=fi.getPBKDF2KeyHexFromParam(Ge,Te),It={};It.ciphertext=b.enc.Hex.parse(Ge.ciphertext);var St=b.enc.Hex.parse(yt),vn=b.enc.Hex.parse(Ge.encryptionSchemeIV),wn=b.TripleDES.decrypt(It,St,{iv:vn});return b.enc.Hex.stringify(wn)},parsePBES2:function(he){var Te=ir.parse(he);if("pkcs5PBES2"!=$i(Te,"seq.0.seq.0.oid")||"pkcs5PBKDF2"!=$i(Te,"seq.0.seq.1.seq.0.seq.0.oid"))throw new Error("not pkcs5PBES2 and pkcs5PBKDF2 used");var Oe=$i(Te,"seq.0.seq.1.seq.0.seq.1.seq");if(null==Oe)throw new Error("PBKDF2 parameter not found");var Ge=$i(Oe,"0.octstr.hex"),yt=$i(Oe,"1.int.hex"),It=$i(Oe,"2.seq.0.oid","hmacWithSHA1"),St=-1;try{St=parseInt(yt,16)}catch{throw new Error("iter not proper value")}var vn=$i(Te,"seq.0.seq.1.seq.1.seq.0.oid"),wn=$i(Te,"seq.0.seq.1.seq.1.seq.1.octstr.hex"),$e=$i(Te,"seq.1.octstr.hex");if(null==vn||null==wn||null==$e)throw new Error("encalg, enciv or enc is undefined");return{salt:Ge,iter:St,prf:It,encalg:vn,enciv:wn,enc:$e}},getDKFromPBES2Param:function(he,Te){var yt={hmacWithSHA1:b.algo.SHA1,hmacWithSHA224:b.algo.SHA224,hmacWithSHA256:b.algo.SHA256,hmacWithSHA384:b.algo.SHA384,hmacWithSHA512:b.algo.SHA512}[he.prf];if(null==yt)throw new Error("unsupported prf");var It={"des-EDE3-CBC":6,"aes128-CBC":4,"aes256-CBC":8}[he.encalg];if(null==It)throw new Error("unsupported encalg");var St=b.enc.Hex.parse(he.salt),vn=he.iter;try{var wn=b.PBKDF2(Te,St,{keySize:It,iterations:vn,hasher:yt});return b.enc.Hex.stringify(wn)}catch($e){throw new Error("PBKDF2 error: "+$e+" "+JSON.stringify(he)+" "+Te)}},getPlainHexFromEncryptedPKCS8PEM:function(he,Te){if(-1==he.indexOf("BEGIN ENCRYPTED PRIVATE KEY"))throw new Error("not Encrypted PKCS#8 PEM string");var Ge,Oe=wi(he);try{Ge=fi.parsePBES2(Oe)}catch(It){throw new Error("malformed PBES2 format: "+It.message)}var yt=fi.getDKFromPBES2Param(Ge,Te);return Y.crypto.Cipher.decrypt(Ge.enc,yt,Ge.encalg,{iv:Ge.enciv})},getKeyFromEncryptedPKCS8PEM:function(he,Te){var Oe=this.getPlainHexFromEncryptedPKCS8PEM(he,Te);
1return this.getKeyFromPlainPrivatePKCS8Hex(Oe)},parsePlainPrivatePKCS8Hex:function(he){var Te=ir,Oe=Te.getChildIdx,Ge=Te.getV,yt={algparam:null};if("30"!=he.substr(0,2))throw new Error("malformed plain PKCS8 private key(code:001)");var It=Oe(he,0);if(It.length<3)throw new Error("malformed plain PKCS8 private key(code:002)");if("30"!=he.substr(It[1],2))throw new Error("malformed PKCS8 private key(code:003)");var St=Oe(he,It[1]);if(2!=St.length)throw new Error("malformed PKCS8 private key(code:004)");if("06"!=he.substr(St[0],2))throw new Error("malformed PKCS8 private key(code:005)");if(yt.algoid=Ge(he,St[0]),"06"==he.substr(St[1],2)&&(yt.algparam=Ge(he,St[1])),"04"!=he.substr(It[2],2))throw new Error("malformed PKCS8 private key(code:006)");return yt.keyidx=Te.getVidx(he,It[2]),yt},getKeyFromPlainPrivatePKCS8PEM:function(he){var Te=wi(he,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(Te)},getKeyFromPlainPrivatePKCS8Hex:function(he){var Oe,Te=this.parsePlainPrivatePKCS8Hex(he);if("2a864886f70d010101"==Te.algoid)Oe=new zt;else if("2a8648ce380401"==Te.algoid)Oe=new Y.crypto.DSA;else{if("2a8648ce3d0201"!=Te.algoid)throw new Error("unsupported private key algorithm");Oe=new Y.crypto.ECDSA}return Oe.readPKCS8PrvKeyHex(he),Oe},_getKeyFromPublicPKCS8Hex:function(he){var Te,Oe=ir.getVbyList(he,0,[0,0],"06");if("2a864886f70d010101"===Oe)Te=new zt;else if("2a8648ce380401"===Oe)Te=new Y.crypto.DSA;else{if("2a8648ce3d0201"!==Oe)throw new Error("unsupported PKCS#8 public key hex");Te=new Y.crypto.ECDSA}return Te.readPKCS8PubKeyHex(he),Te},parsePublicRawRSAKeyHex:function(he){var Oe=ir.getChildIdx,Ge=ir.getV,yt={};if("30"!=he.substr(0,2))throw new Error("malformed RSA key(code:001)");var It=Oe(he,0);if(2!=It.length)throw new Error("malformed RSA key(code:002)");if("02"!=he.substr(It[0],2))throw new Error("malformed RSA key(code:003)");if(yt.n=Ge(he,It[0]),"02"!=he.substr(It[1],2))throw new Error("malformed RSA key(code:004)");return yt.e=Ge(he,It[1]),yt},parsePublicPKCS8Hex:function(he){var Te=ir,Oe=Te.getChildIdx,Ge=Te.getV,yt={algparam:null},It=Oe(he,0);if(2!=It.length)throw new Error("outer DERSequence shall have 2 elements: "+It.length);var St=It[0];if("30"!=he.substr(St,2))throw new Error("malformed PKCS8 public key(code:001)");var vn=Oe(he,St);if(2!=vn.length)throw new Error("malformed PKCS8 public key(code:002)");if("06"!=he.substr(vn[0],2))throw new Error("malformed PKCS8 public key(code:003)");if(yt.algoid=Ge(he,vn[0]),"06"==he.substr(vn[1],2)?yt.algparam=Ge(he,vn[1]):"30"==he.substr(vn[1],2)&&(yt.algparam={},yt.algparam.p=Te.getVbyList(he,vn[1],[0],"02"),yt.algparam.q=Te.getVbyList(he,vn[1],[1],"02"),yt.algparam.g=Te.getVbyList(he,vn[1],[2],"02")),"03"!=he.substr(It[1],2))throw new Error("malformed PKCS8 public key(code:004)");return yt.key=Ge(he,It[1]).substr(2),yt}}}();function xa(l,w){for(var C="",k=w/4-l.length,Q=0;Q<k;Q++)C+="0";return C+l}function ha(l,w,C){for(var k="",Q=0;k.length<w;)k+=Lo(C(Re(l+String.fromCharCode.apply(String,[(4278190080&Q)>>24,(16711680&Q)>>16,(65280&Q)>>8,255&Q])))),Q+=1;return k}function Hr(l){for(var w in Y.crypto.Util.DIGESTINFOHEAD){var C=Y.crypto.Util.DIGESTINFOHEAD[w],k=C.length;if(l.substring(0,k)==C)return[w,l.substring(k)]}return[]}function Rr(l){var yt,w=ir,C=w.getChildIdx,k=w.getV,oe=w.parse,se=w.getTLV,y=w.getVbyList,T=w.getVbyListEx,O=w.getTLVbyList,V=w.getTLVbyListEx,J=w.getIdxbyList,H=w.getIdxbyListEx,z=w.getVidx,Ce=w.getInt,he=w.oidname,Te=w.hextooidstr,Ge=wi,It=Error;try{yt=Y.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch{}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var $e=O(this.hex,0,[0,0]);if("a0"==$e.substr(0,2)){var et=O($e,0,[0]),Lt=Ce(et,0);if(Lt<0||2<Lt)throw new Error("malformed version field");return this.version=Lt+1,this.version}return this.version=1,this.foffset=-1,1},this.getSerialNumberHex=function(){return T(this.hex,0,[0,0],"02")},this.getSignatureAlgorithmField=function(){var $e=V(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName($e)},this.getAlgorithmIdentifierName=function($e){for(var et in yt)if($e===yt[et])return et;return he(T($e,0,[0],"06"))},this.getIssuer=function($e,et){return this.getX500Name(this.getIssuerHex(),$e,et)},this.getIssuerHex=function(){return O(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return this.getIssuer().str}
1,this.getSubject=function($e,et){return this.getX500Name(this.getSubjectHex(),$e,et)},this.getSubjectHex=function(){return O(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return this.getSubject().str},this.getNotBefore=function(){var $e=y(this.hex,0,[0,4+this.foffset,0]);return $e=$e.replace(/(..)/g,"%$1"),decodeURIComponent($e)},this.getNotAfter=function(){var $e=y(this.hex,0,[0,4+this.foffset,1]);return $e=$e.replace(/(..)/g,"%$1"),decodeURIComponent($e)},this.getPublicKeyHex=function(){return this.getSPKI()},this.getSPKI=function(){return O(this.hex,0,[0,6+this.foffset],"30")},this.getSPKIValue=function(){var $e=this.getSPKI();return null==$e?null:y($e,0,[1],"03",!0)},this.getPublicKeyIdx=function(){return J(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var $e=this.getPublicKeyIdx();return J(this.hex,$e,[1,0],"30")},this.getPublicKey=function(){return fi.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var $e=O(this.hex,0,[1],"30");return this.getAlgorithmIdentifierName($e)},this.getSignatureValueHex=function(){return y(this.hex,0,[2],"03",!0)},this.verifySignature=function($e){var et=this.getSignatureAlgorithmField(),Lt=this.getSignatureValueHex(),Ft=O(this.hex,0,[0],"30"),nn=new Y.crypto.Signature({alg:et});return nn.init($e),nn.updateHex(Ft),nn.verify(Lt)},this.parseExt=function($e){var et,Lt,Ft;if(void 0===$e){if(3!==this.version)return-1;et=J(Ft=this.hex,0,[0,7,0],"30"),Lt=C(Ft,et)}else{Ft=wi($e);var nn=J(Ft,0,[0,3,0,0],"06");if("2a864886f70d01090e"!=k(Ft,nn))return void(this.aExtInfo=new Array);et=J(Ft,0,[0,3,0,1,0],"30"),Lt=C(Ft,et),this.hex=Ft}this.aExtInfo=new Array;for(var _n=0;_n<Lt.length;_n++){var en={critical:!1},pn=0;3===C(Ft,Lt[_n]).length&&(en.critical=!0,pn=1),en.oid=w.hextooidstr(y(Ft,Lt[_n],[0],"06"));var Rn=J(Ft,Lt[_n],[1+pn]);en.vidx=z(Ft,Rn),this.aExtInfo.push(en)}},this.getExtInfo=function($e){var et=this.aExtInfo,Lt=$e;if($e.match(/^[0-9.]+$/)||(Lt=Y.asn1.x509.OID.name2oid($e)),""!==Lt)for(var Ft=0;Ft<et.length;Ft++)if(et[Ft].oid===Lt)return et[Ft]},this.getCriticalExtV=function($e,et,Lt){if(null!=et)return[et,Lt];var Ft=this.getExtInfo($e);return null==Ft?[null,null]:[se(this.hex,Ft.vidx),Ft.critical]},this.getExtBasicConstraints=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("basicConstraints");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"basicConstraints"};if(et&&(Ft.critical=!0),"3000"===$e)return Ft;if("30030101ff"===$e)return Ft.cA=!0,Ft;if("30060101ff02"===$e.substr(0,12)){var nn=k($e,10),_n=parseInt(nn,16);return Ft.cA=!0,Ft.pathLen=_n,Ft}throw new Error("hExtV parse error: "+$e)},this.getExtNameConstraints=function($e,et){var Lt=this.getCriticalExtV("nameConstraints",$e,et);if(et=Lt[1],null!=($e=Lt[0])){var Ft={extname:"nameConstraints"};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++){for(var en=[],an=C($e,nn[_n]),pn=0;pn<an.length;pn++){var Rn=se($e,an[pn]),$r=this.getGeneralSubtree(Rn);en.push($r)}var ii=$e.substr(nn[_n],2);"a0"==ii?Ft.permit=en:"a1"==ii&&(Ft.exclude=en)}return Ft}},this.getGeneralSubtree=function($e){var et=C($e,0),Lt=et.length;if(Lt<1||2<Lt)throw new Error("wrong num elements");for(var Ft=this.getGeneralName(se($e,et[0])),nn=1;nn<Lt;nn++){var _n=$e.substr(et[nn],2),en=k($e,et[nn]),an=parseInt(en,16);"80"==_n&&(Ft.min=an),"81"==_n&&(Ft.max=an)}return Ft},this.getExtKeyUsage=function($e,et){var Lt=this.getCriticalExtV("keyUsage",$e,et);if(et=Lt[1],null!=($e=Lt[0])){var Ft={extname:"keyUsage"};return et&&(Ft.critical=!0),Ft.names=this.getExtKeyUsageString($e).split(","),Ft}},this.getExtKeyUsageBin=function($e){if(void 0===$e){var et=this.getExtInfo("keyUsage");if(void 0===et)return"";$e=se(this.hex,et.vidx)}if(8!=$e.length&&10!=$e.length)throw new Error("malformed key usage value: "+$e);var Lt="000000000000000"+parseInt($e.substr(6),16).toString(2);return 8==$e.length&&(Lt=Lt.slice(-8)),10==$e.length&&(Lt=Lt.slice(-16)),""==(Lt=Lt.replace(/0+$/,""))&&(Lt="0"),Lt},this.getExtKeyUsageString=function($e){for(var et=this.getExtKeyUsageBin($e),Lt=ne
vendor: 2,516 bytes, line 1
1w Array,Ft=0;Ft<et.length;Ft++)"1"==et.substr(Ft,1)&&Lt.push(Rr.KEYUSAGE_NAME[Ft]);return Lt.join(",")},this.getExtSubjectKeyIdentifier=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("subjectKeyIdentifier");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"subjectKeyIdentifier"};et&&(Ft.critical=!0);var nn=k($e,0);return Ft.kid={hex:nn},Ft},this.getExtAuthorityKeyIdentifier=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("authorityKeyIdentifier");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"authorityKeyIdentifier"};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++){var en=$e.substr(nn[_n],2);if("80"===en&&(Ft.kid={hex:k($e,nn[_n])}),"a1"===en){var an=se($e,nn[_n]),pn=this.getGeneralNames(an);Ft.issuer=pn[0].dn}"82"===en&&(Ft.sn={hex:k($e,nn[_n])})}return Ft},this.getExtExtKeyUsage=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("extKeyUsage");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"extKeyUsage",array:[]};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++)Ft.array.push(he(k($e,nn[_n])));return Ft},this.getExtExtKeyUsageName=function(){var $e=this.getExtInfo("extKeyUsage");if(void 0===$e)return $e;var et=new Array,Lt=se(this.hex,$e.vidx);if(""===Lt)return et;for(var Ft=C(Lt,0),nn=0;nn<Ft.length;nn++)et.push(he(k(Lt,Ft[nn])));return et},this.getExtSubjectAltName=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("subjectAltName");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"subjectAltName",array:[]};return et&&(Ft.critical=!0),Ft.array=this.getGeneralNames($e),Ft},this.getExtIssuerAltName=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("issuerAltName");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"issuerAltName",array:[]};return et&&(Ft.critical=!0),Ft.array=this.getGeneralNames($e),Ft},this.getGeneralNames=function($e){for(var et=C($e,0),Lt=[],Ft=0;Ft<et.length;Ft++){var nn=this.getGeneralName(se($e,et[Ft]));void 0!==nn&&Lt.push(nn)}return Lt},this.getGeneralName=function($e){var et=$e.substr(0,2),Lt=k($e,0),Ft=Lo(Lt);return"81"==et?{rfc822:Ft}:"82"==et?{dns:Ft}:"86"==et?{uri:Ft}:"87"==et?{ip:Za(Lt)}:"a4"==et?{dn:this.getX500Name(Lt)}:"a0"==et?{other:this.getOtherName($e)}:void 0},this.getExtSubjectAltName2=function(){var $e,et,Lt,Ft=this.getExtInfo("subjectAltName");if(void 0===Ft)return Ft;
1for(var nn=new Array,_n=se(this.hex,Ft.vidx),en=C(_n,0),an=0;an<en.length;an++)Lt=_n.substr(en[an],2),$e=k(_n,en[an]),"81"===Lt&&(et=ki($e),nn.push(["MAIL",et])),"82"===Lt&&(et=ki($e),nn.push(["DNS",et])),"84"===Lt&&(et=Rr.hex2dn($e,0),nn.push(["DN",et])),"86"===Lt&&(et=ki($e),nn.push(["URI",et])),"87"===Lt&&(et=Za($e),nn.push(["IP",et]));return nn},this.getExtCRLDistributionPoints=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("cRLDistributionPoints");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"cRLDistributionPoints",array:[]};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++){var en=se($e,nn[_n]);Ft.array.push(this.getDistributionPoint(en))}return Ft},this.getDistributionPoint=function($e){for(var et={},Lt=C($e,0),Ft=0;Ft<Lt.length;Ft++){var nn=$e.substr(Lt[Ft],2),_n=se($e,Lt[Ft]);"a0"==nn&&(et.dpname=this.getDistributionPointName(_n))}return et},this.getDistributionPointName=function($e){for(var et={},Lt=C($e,0),Ft=0;Ft<Lt.length;Ft++){var nn=$e.substr(Lt[Ft],2),_n=se($e,Lt[Ft]);"a0"==nn&&(et.full=this.getGeneralNames(_n))}return et},this.getExtCRLDistributionPointsURI=function(){var $e=this.getExtCRLDistributionPoints();if(null==$e)return $e;for(var et=$e.array,Lt=[],Ft=0;Ft<et.length;Ft++)try{null!=et[Ft].dpname.full[0].uri&&Lt.push(et[Ft].dpname.full[0].uri)}catch{}return Lt},this.getExtAIAInfo=function(){var $e=this.getExtInfo("authorityInfoAccess");if(void 0===$e)return $e;for(var et={ocsp:[],caissuer:[]},Lt=C(this.hex,$e.vidx),Ft=0;Ft<Lt.length;Ft++){var nn=y(this.hex,Lt[Ft],[0],"06"),_n=y(this.hex,Lt[Ft],[1],"86");"2b06010505073001"===nn&&et.ocsp.push(ki(_n)),"2b06010505073002"===nn&&et.caissuer.push(ki(_n))}return et},this.getExtAuthorityInfoAccess=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("authorityInfoAccess");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"authorityInfoAccess",array:[]};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++){var en=T($e,nn[_n],[0],"06"),pn=ki(y($e,nn[_n],[1],"86"));if("2b06010505073001"==en)Ft.array.push({ocsp:pn});else{if("2b06010505073002"!=en)throw new Error("unknown method: "+en);Ft.array.push({caissuer:pn})}}return Ft},this.getExtCertificatePolicies=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("certificatePolicies");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"certificatePolicies",array:[]};et&&(Ft.critical=!0);for(var nn=C($e,0),_n=0;_n<nn.length;_n++){var en=se($e,nn[_n]),an=this.getPolicyInformation(en);Ft.array.push(an)}return Ft},this.getPolicyInformation=function($e){var et={},Lt=y($e,0,[0],"06");et.policyoid=he(Lt);var Ft=H($e,0,[1],"30");if(-1!=Ft){et.array=[];for(var nn=C($e,Ft),_n=0;_n<nn.length;_n++){var en=se($e,nn[_n]),an=this.getPolicyQualifierInfo(en);et.array.push(an)}}return et},this.getOtherName=function($e){var et={},Lt=C($e,0),Ft=y($e,Lt[0],[],"06"),nn=y($e,Lt[1],[]);return et.oid=he(Ft),et.value=oe(nn),et},this.getPolicyQualifierInfo=function($e){var et={},Lt=y($e,0,[0],"06");if("2b06010505070201"===Lt){var Ft=T($e,0,[1],"16");et.cps=Lo(Ft)}else if("2b06010505070202"===Lt){var nn=O($e,0,[1],"30");et.unotice=this.getUserNotice(nn)}return et},this.getUserNotice=function($e){var et=null;try{return et=w.parse($e),this._asn1ToUnotice(et)}catch{return}},this._asn1ToUnotice=function($e){try{for(var et={},Lt=$i($e,"seq"),Ft=0;Ft<Lt.length;Ft++){var nn=this._asn1ToNoticeRef(Lt[Ft]);null!=nn&&(et.noticeref=nn);var _n=this.asn1ToDisplayText(Lt[Ft]);null!=_n&&(et.exptext=_n)}return Object.keys(et).length>0?et:void 0}catch{return}},this._asn1ToNoticeRef=function($e){try{for(var et={},Lt=$i($e,"seq"),Ft=0;Ft<Lt.length;Ft++){var nn=this._asn1ToNoticeNum(Lt[Ft]);null!=nn&&(et.noticenum=nn);var _n=this.asn1ToDisplayText(Lt[Ft]);null!=_n&&(et.org=_n)}return Object.keys(et).length>0?et:void 0}catch{return}},this._asn1ToNoticeNum=function($e){try{for(var et=$i($e,"seq"),Lt=[],Ft=0;Ft<et.length;Ft++)Lt.push(parseInt($i(et[Ft],"int.hex"),16));return Lt}catch{return}},this.getDisplayText=function($e){var Lt={};return Lt.type={"0c":"utf8",16:"ia5","1a":"vis","1e":"bmp"}[$e.substr(0,2)],Lt.str=Lo(k($e,0)),Lt},this.asn1ToDisplayText=function($e){return null!=$e.utf8str?{type:"utf8",str:$e.utf8str.str}:null!=$e.ia5str?{type:"ia5",str:$e.ia5str.str}:null!=$e.visstr?{type:"vis",str:$e.visstr.str}:null!=$e.bmpstr?{type:"bmp",str:$e.bmpstr.str}:null!=$e.prnstr?{type:"prn",str:$e.prnstr.str}:void 0},this.getExtPolicyMappings=function($e,et){var Lt=this.getCriticalExtV("policyMappings",$e,et);if(et=Lt[1],null!=($e=Lt[0])){var Ft={extname:"policyMappings"};et&&(Ft.critical=!0);try{for(var _n=oe($e).seq,en=[],an=0;an<_n.length;an++){var pn=_n[an].seq;en.push([pn[0].oid,pn[1].oid])}Ft.array=en}catch{throw new It("malformed policyMappings")}return Ft}},this.getExtPolicyConstraints=function($e,et){var Lt=this.getCriticalExtV("policyConstraints",$e,et);if(et=Lt[1],null!=($e=Lt[0])){var Ft={extname:"policyConstraints"};et&&(Ft.critical=!0);var nn=oe($e);try{for(var _n=nn.seq,en=0;en<_n.length;en++){var an=_n[en].tag;0==an.explicit&&("80"==an.tag&&(Ft.reqexp=parseInt(an.hex,16)),"81"==an.tag&&(Ft.inhibit=parseInt(an.hex,16)))}}catch{return new It("malformed policyConstraints value")}return Ft}}
1,this.getExtInhibitAnyPolicy=function($e,et){var Lt=this.getCriticalExtV("inhibitAnyPolicy",$e,et);if(et=Lt[1],null!=($e=Lt[0])){var Ft={extname:"inhibitAnyPolicy"};et&&(Ft.critical=!0);var nn=Ce($e,0);return-1==nn?new It("wrong value"):(Ft.skip=nn,Ft)}},this.getExtCRLNumber=function($e,et){var Lt={extname:"cRLNumber"};if(et&&(Lt.critical=!0),"02"==$e.substr(0,2))return Lt.num={hex:k($e,0)},Lt;throw new It("hExtV parse error: "+$e)},this.getExtCRLReason=function($e,et){var Lt={extname:"cRLReason"};if(et&&(Lt.critical=!0),"0a"==$e.substr(0,2))return Lt.code=parseInt(k($e,0),16),Lt;throw new Error("hExtV parse error: "+$e)},this.getExtOcspNonce=function($e,et){var Lt={extname:"ocspNonce"};et&&(Lt.critical=!0);var Ft=k($e,0);return Lt.hex=Ft,Lt},this.getExtOcspNoCheck=function($e,et){var Lt={extname:"ocspNoCheck"};return et&&(Lt.critical=!0),Lt},this.getExtAdobeTimeStamp=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("adobeTimeStamp");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"adobeTimeStamp"};et&&(Ft.critical=!0);var nn=C($e,0);if(nn.length>1){var _n=se($e,nn[1]),en=this.getGeneralName(_n);null!=en.uri&&(Ft.uri=en.uri)}if(nn.length>2){var an=se($e,nn[2]);"0101ff"==an&&(Ft.reqauth=!0),"010100"==an&&(Ft.reqauth=!1)}return Ft},this.getExtSubjectDirectoryAttributes=function($e,et){if(void 0===$e&&void 0===et){var Lt=this.getExtInfo("subjectDirectoryAttributes");if(void 0===Lt)return;$e=se(this.hex,Lt.vidx),et=Lt.critical}var Ft={extname:"subjectDirectoryAttributes"};et&&(Ft.critical=!0);try{for(var nn=oe($e),_n=[],en=0;en<nn.seq.length;en++){var an=nn.seq[en],pn=$i(an,"seq.0.oid"),Rn=$i(an,"seq.1.set");if(null==pn||null==Rn)throw"error";_n.push({attr:pn,array:Rn})}return Ft.array=_n,Ft}catch{throw new Error("malformed subjectDirectoryAttributes extension value")}};var St=function($e){var et={};try{var Ft=Y.asn1.x509.OID.name2oid($e.seq[0].oid);et.type=Y.asn1.x509.OID.oid2atype(Ft);var nn=$e.seq[1];if(null!=nn.utf8str)et.ds="utf8",et.value=nn.utf8str.str;else if(null!=nn.numstr)et.ds="num",et.value=nn.numstr.str;else if(null!=nn.telstr)et.ds="tel",et.value=nn.telstr.str;else if(null!=nn.prnstr)et.ds="prn",et.value=nn.prnstr.str;else if(null!=nn.ia5str)et.ds="ia5",et.value=nn.ia5str.str;else if(null!=nn.visstr)et.ds="vis",et.value=nn.visstr.str;else{if(null==nn.bmpstr)throw"error";et.ds="bmp",et.value=nn.bmpstr.str}return et}catch{throw new Erorr("improper ASN.1 parsed AttrTypeAndValue")}},vn=function($e){try{return $e.set.map(function(et){return St(et)})}catch(et){throw new Error("improper ASN.1 parsed RDN: "+et)}};this.getX500NameRule=function($e){for(var en=null,an=[],pn=0;pn<$e.length;pn++)for(var Rn=$e[pn],$r=0;$r<Rn.length;$r++)an.push(Rn[$r]);for(pn=0;pn<an.length;pn++){var ii=an[pn],Ur=ii.ds,Ni=ii.type;if("prn"!=Ur&&"utf8"!=Ur&&"ia5"!=Ur)return"mixed";if("ia5"==Ur){if("CN"!=Ni)return"mixed";if(Y.lang.String.isMail(ii.value))continue;return"mixed"}if("C"==Ni){if("prn"==Ur)continue;return"mixed"}if(null==en)en=Ur;else if(en!==Ur)return"mixed"}return en??"prn"},this.getAttrTypeAndValue=function($e){var et=oe($e);return St(et)},this.getRDN=function($e){var et=oe($e);return vn(et)},this.getX500NameArray=function($e){return function($e){try{return $e.seq.map(function(et){return vn(et)})}catch(et){throw new Error("improper ASN.1 parsed X500Name: "+et)}}(oe($e))},this.getX500Name=function($e,et,Lt){var Ft=this.getX500NameArray($e),_n={str:this.dnarraytostr(Ft)};return _n.array=Ft,1==Lt&&(_n.hex=$e),1==et&&(_n.canon=this.c14nRDNArray(Ft)),_n},this.readCertPEM=function($e){this.readCertHex(Ge($e))},this.readCertHex=function($e){this.hex=$e,this.getVersion();try{J(this.hex,0,[0,7],"a3"),this.parseExt()}catch{}},this.getParam=function($e){var et={};return null==$e&&($e={}),et.version=this.getVersion(),et.serial={hex:this.getSerialNumberHex()},et.sigalg=this.getSignatureAlgorithmField(),et.issuer=this.getIssuer($e.dncanon,$e.dnhex),et.notbefore=this.getNotBefore(),et.notafter=this.getNotAfter(),et.subject=this.getSubject($e.dncanon,$e.dnhex),et.sbjpubkey=Or(this.getPublicKeyHex(),"PUBLIC KEY"),null!=this.aExtInfo&&this.aExtInfo.length>0&&(et.ext=this.getExtParamArray()),et.sighex=this.getSignatureValueHex(),1==$e.tbshex&&(et.tbshex=O(this.hex,0,[0])),1==$e.nodnarray&&(delete et.issuer.array,delete et.subject.array),et},this.getExtParamArray=function($e){null==$e&&-1!=H(this.hex,0,[0,"[3]"])&&($e=V(this.hex,0,[0,"[3]",0],"30"));for(var Lt=[],Ft=C($e,0),nn=0;nn<Ft.length;nn++){var _n=se($e,Ft[nn]),en=this.getExtParam(_n);null!=en&&Lt.push(en)}return Lt}
1,this.getExtParam=function($e){var Ft=C($e,0).length;if(2!=Ft&&3!=Ft)throw new Error("wrong number elements in Extension: "+Ft+" "+$e);var nn=Te(y($e,0,[0],"06")),_n=!1;3==Ft&&"0101ff"==O($e,0,[1])&&(_n=!0);var en=O($e,0,[Ft-1,0]),an=void 0;if("2.5.29.14"==nn?an=this.getExtSubjectKeyIdentifier(en,_n):"2.5.29.15"==nn?an=this.getExtKeyUsage(en,_n):"2.5.29.17"==nn?an=this.getExtSubjectAltName(en,_n):"2.5.29.18"==nn?an=this.getExtIssuerAltName(en,_n):"2.5.29.19"==nn?an=this.getExtBasicConstraints(en,_n):"2.5.29.30"==nn?an=this.getExtNameConstraints(en,_n):"2.5.29.31"==nn?an=this.getExtCRLDistributionPoints(en,_n):"2.5.29.32"==nn?an=this.getExtCertificatePolicies(en,_n):"2.5.29.33"==nn?an=this.getExtPolicyMappings(en,_n):"2.5.29.35"==nn?an=this.getExtAuthorityKeyIdentifier(en,_n):"2.5.29.36"==nn?an=this.getExtPolicyConstraints(en,_n):"2.5.29.37"==nn?an=this.getExtExtKeyUsage(en,_n):"2.5.29.54"==nn?an=this.getExtInhibitAnyPolicy(en,_n):"1.3.6.1.5.5.7.1.1"==nn?an=this.getExtAuthorityInfoAccess(en,_n):"2.5.29.20"==nn?an=this.getExtCRLNumber(en,_n):"2.5.29.21"==nn?an=this.getExtCRLReason(en,_n):"2.5.29.9"==nn?an=this.getExtSubjectDirectoryAttributes(en,_n):"1.3.6.1.5.5.7.48.1.2"==nn?an=this.getExtOcspNonce(en,_n):"1.3.6.1.5.5.7.48.1.5"==nn?an=this.getExtOcspNoCheck(en,_n):"1.2.840.113583.1.1.9.1"==nn?an=this.getExtAdobeTimeStamp(en,_n):null!=Rr.EXT_PARSER[nn]&&(an=Rr.EXT_PARSER[nn](nn,_n,en)),null!=an)return an;var pn={extname:nn,extn:en};try{pn.extn=oe(en)}catch{}return _n&&(pn.critical=!0),pn},this.findExt=function($e,et){for(var Lt=0;Lt<$e.length;Lt++)if($e[Lt].extname==et)return $e[Lt];return null},this.updateExtCDPFullURI=function($e,et){var Lt=this.findExt($e,"cRLDistributionPoints");if(null!=Lt&&null!=Lt.array)for(var Ft=Lt.array,nn=0;nn<Ft.length;nn++)if(null!=Ft[nn].dpname&&null!=Ft[nn].dpname.full)for(var _n=Ft[nn].dpname.full,en=0;en<_n.length;en++){var an=_n[nn];null!=an.uri&&(an.uri=et)}},this.updateExtAIAOCSP=function($e,et){var Lt=this.findExt($e,"authorityInfoAccess");if(null!=Lt&&null!=Lt.array)for(var Ft=Lt.array,nn=0;nn<Ft.length;nn++)null!=Ft[nn].ocsp&&(Ft[nn].ocsp=et)},this.updateExtAIACAIssuer=function($e,et){var Lt=this.findExt($e,"authorityInfoAccess");if(null!=Lt&&null!=Lt.array)for(var Ft=Lt.array,nn=0;nn<Ft.length;nn++)null!=Ft[nn].caissuer&&(Ft[nn].caissuer=et)},this.dnarraytostr=function($e){return"/"+$e.map(function(Ft){return function et(Ft){return Ft.map(function(nn){return function Lt(Ft){return Ft.type+"="+Ft.value}(nn).replace(/\+/,"\\+")}).join("+")}(Ft).replace(/\//,"\\/")}).join("/")},this.setCanonicalizedDN=function($e){var et;if(null!=$e.str&&null==$e.array){var Ft=new Y.asn1.x509.X500Name({str:$e.str}).tohex();et=this.getX500NameArray(Ft)}else et=$e.array;null==$e.canon&&($e.canon=this.c14nRDNArray(et))},this.c14nRDNArray=function($e){for(var et=[],Lt=0;Lt<$e.length;Lt++){for(var Ft=$e[Lt],nn=[],_n=0;_n<Ft.length;_n++){var en=Ft[_n],an=en.value;an=(an=(an=(an=an.replace(/^\s*/,"")).replace(/\s*$/,"")).replace(/\s+/g," ")).toLowerCase(),nn.push(en.type.toLowerCase()+"="+an)}et.push(nn.join("+"))}return"/"+et.join("/")},this.getInfo=function(){var _n,en,an,$e=function(Yo){for(var ho="",jo="    ",ds=Yo.array,Ms=0;Ms<ds.length;Ms++){var Co=ds[Ms];null!=Co.dn&&(ho+=jo+"dn: "+Co.dn.str+"\n"),null!=Co.ip&&(ho+=jo+"ip: "+Co.ip+"\n"),null!=Co.rfc822&&(ho+=jo+"rfc822: "+Co.rfc822+"\n"),null!=Co.dns&&(ho+=jo+"dns: "+Co.dns+"\n"),null!=Co.uri&&(ho+=jo+"uri: "+Co.uri+"\n"),null!=Co.other&&(ho+=jo+"other: "+Co.other.oid+"="+JSON.stringify(Co.other.value).replace(/\"/g,"")+"\n")}return ho.replace(/\n$/,"")},et=function(Yo){for(var ho="",jo=Yo.array,io=0;io<jo.length;io++){var ds=jo[io];if(ho+="    policy oid: "+ds.policyoid+"\n",void 0!==ds.array)for(var Ms=0;Ms<ds.array.length;Ms++){var Co=ds.array[Ms];void 0!==Co.cps&&(ho+="    cps: "+Co.cps+"\n")}}return ho},Lt=function(Yo){for(var ho="",jo=Yo.array,io=0;io<jo.length;io++){var ds=jo[io];try{void 0!==ds.dpname.full[0].uri&&(ho+="    "+ds.dpname.full[0].uri+"\n")}catch{}try{void 0!==ds.dname.full[0].dn.hex&&(ho+="    "+Rr.hex2dn(ds.dpname.full[0].dn.hex)+"\n")}catch{}}return ho},Ft=function(Yo){for(var ho="",jo=Yo.array,io=0;io<jo.length;io++){var ds=jo[io];void 0!==ds.caissuer&&(ho+="    caissuer: "+ds.caissuer+"\n"),void 0!==ds.ocsp&&(ho+="    ocsp: "+ds.ocsp+"\n")}return ho};if(_n="Basic Fields\n",_n+="  serial number: "+this.getSerialNumberHex()+"\n",_n+="  signature algorithm: "+this.getSignatureAlgorithmField()+"\n",_n+="  issuer: "+this.getIssuerString()+"\n",_n+="  notBefore: "+this.getNotBefore()+"\n",_n+="  notAfter: "+this.getNotAfter()+"\n",_n+="  subject: "+this.getSubjectString()+"\n",_n+="  subject public key info: \n",_n+="    key algorithm: "+(en=this.getPublicKey()).type+"\n","RSA"===en.type&&(_n+="    n="+Qa(en.n.toString(16)).substr(0,16)+"...\n",_n+="    e="+Qa(en.e.toString(16))+"\n"),null!=(an=this.aExtInfo)){_n+="X509v3 Extensions:\n";for(var pn=0;pn<an.length;pn++){var Rn=an[pn],$r=Y.asn1.x509.OID.oid2name(Rn.oid);""===$r&&($r=Rn.oid);var ii="";if(!0===Rn.critical&&(ii="CRITICAL"),_n+="  "+$r+" "+ii+":\n","basicConstraints"===$r){var Ur=this.getExtBasicConstraints();void 0===Ur.cA?_n+="    {}\n":(_n+="    cA=true",void 0!==Ur.pathLen&&(_n+=", pathLen="+Ur.pathLen),_n+="\n")}
1else if("policyMappings"==$r)_n+="    "+this.getExtPolicyMappings().array.map(function(Yo){return Yo[0]+":"+Yo[1]}).join(", ")+"\n";else if("policyConstraints"==$r)_n+="    ",null!=(fo=this.getExtPolicyConstraints()).reqexp&&(_n+=" reqexp="+fo.reqexp),null!=fo.inhibit&&(_n+=" inhibit="+fo.inhibit),_n+="\n";else if("inhibitAnyPolicy"==$r){var fo;_n+="    skip="+(fo=this.getExtInhibitAnyPolicy()).skip+"\n"}else if("keyUsage"==$r)_n+="    "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"==$r)_n+="    "+this.getExtSubjectKeyIdentifier().kid.hex+"\n";else if("authorityKeyIdentifier"==$r){var Pi=this.getExtAuthorityKeyIdentifier();void 0!==Pi.kid&&(_n+="    kid="+Pi.kid.hex+"\n")}else"extKeyUsage"==$r?_n+="    "+this.getExtExtKeyUsage().array.join(", ")+"\n":"subjectAltName"==$r?_n+=$e(this.getExtSubjectAltName())+"\n":"cRLDistributionPoints"==$r?_n+=Lt(this.getExtCRLDistributionPoints()):"authorityInfoAccess"==$r?_n+=Ft(this.getExtAuthorityInfoAccess()):"certificatePolicies"==$r&&(_n+=et(this.getExtCertificatePolicies()))}}return(_n+="signature algorithm: "+this.getSignatureAlgorithmName()+"\n")+"signature: "+this.getSignatureValueHex().substr(0,16)+"...\n"},"string"==typeof l&&(-1!=l.indexOf("-----BEGIN")?this.readCertPEM(l):Y.lang.String.isHex(l)&&this.readCertHex(l))}fi.getKey=function(l,w,C){var $e,Q=(k=ir).getChildIdx,se=k.getVbyList,y=Y.crypto,T=y.ECDSA,O=y.DSA,V=zt,J=wi,H=fi;if(typeof V<"u"&&l instanceof V||typeof T<"u"&&l instanceof T||typeof O<"u"&&l instanceof O)return l;if(void 0!==l.curve&&void 0!==l.xy&&void 0===l.d)return new T({pub:l.xy,curve:l.curve});if(void 0!==l.curve&&void 0!==l.d)return new T({prv:l.d,curve:l.curve});if(void 0===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0===l.d)return(z=new V).setPublic(l.n,l.e),z;if(void 0===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0!==l.d&&void 0!==l.p&&void 0!==l.q&&void 0!==l.dp&&void 0!==l.dq&&void 0!==l.co&&void 0===l.qi)return(z=new V).setPrivateEx(l.n,l.e,l.d,l.p,l.q,l.dp,l.dq,l.co),z;if(void 0===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0!==l.d&&void 0===l.p)return(z=new V).setPrivate(l.n,l.e,l.d),z;if(void 0!==l.p&&void 0!==l.q&&void 0!==l.g&&void 0!==l.y&&void 0===l.x)return(z=new O).setPublic(l.p,l.q,l.g,l.y),z;if(void 0!==l.p&&void 0!==l.q&&void 0!==l.g&&void 0!==l.y&&void 0!==l.x)return(z=new O).setPrivate(l.p,l.q,l.g,l.y,l.x),z;if("RSA"===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0===l.d)return(z=new V).setPublic(ro(l.n),ro(l.e)),z;if("RSA"===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0!==l.d&&void 0!==l.p&&void 0!==l.q&&void 0!==l.dp&&void 0!==l.dq&&void 0!==l.qi)return(z=new V).setPrivateEx(ro(l.n),ro(l.e),ro(l.d),ro(l.p),ro(l.q),ro(l.dp),ro(l.dq),ro(l.qi)),z;if("RSA"===l.kty&&void 0!==l.n&&void 0!==l.e&&void 0!==l.d)return(z=new V).setPrivate(ro(l.n),ro(l.e),ro(l.d)),z;if("EC"===l.kty&&void 0!==l.crv&&void 0!==l.x&&void 0!==l.y&&void 0===l.d){var he=(Ce=new T({curve:l.crv})).ecparams.keycharlen,Te=("0000000000"+ro(l.x)).slice(-he),Oe=("0000000000"+ro(l.y)).slice(-he);return Ce.setPublicKeyHex(Ge="04"+Te+Oe),Ce}if("EC"===l.kty&&void 0!==l.crv&&void 0!==l.x&&void 0!==l.y&&void 0!==l.d){he=(Ce=new T({curve:l.crv})).ecparams.keycharlen;var Ge="04"+(Te=("0000000000"+ro(l.x)).slice(-he))+(Oe=("0000000000"+ro(l.y)).slice(-he)),yt=("0000000000"+ro(l.d)).slice(-he);return Ce.setPublicKeyHex(Ge),Ce.setPrivateKeyHex(yt),Ce}if("pkcs5prv"===C){var St,It=l,k=ir;if(9===(St=Q(It,0)).length)(z=new V).readPKCS5PrvKeyHex(It);else if(6===St.length)(z=new O).readPKCS5PrvKeyHex(It);else{if(!(St.length>2&&"04"===It.substr(St[1],2)))throw new Error("unsupported PKCS#1/5 hexadecimal key");(z=new T).readPKCS5PrvKeyHex(It)}return z}if("pkcs8prv"===C)return H.getKeyFromPlainPrivatePKCS8Hex(l);if("pkcs8pub"===C)return H._getKeyFromPublicPKCS8Hex(l);if("x509pub"===C)return Rr.getPublicKeyFromCertHex(l);if(-1!=l.indexOf("-END CERTIFICATE-",0)||-1!=l.indexOf("-END X509 CERTIFICATE-",0)||-1!=l.indexOf("-END TRUSTED CERTIFICATE-",0))return Rr.getPublicKeyFromCertPEM(l);if(-1!=l.indexOf("-END PUBLIC KEY-")){var vn=wi(l,"PUBLIC KEY");return H._getKeyFromPublicPKCS8Hex(vn)}if(-1!=l.indexOf("-END RSA PRIVATE KEY-")&&-1==l.indexOf("4,ENCRYPTED")){var wn=J(l,"RSA PRIVATE KEY");return H.getKey(wn,null,"pkcs5prv")}if(-1!=l.indexOf("-END DSA PRIVATE KEY-")&&-1==l.indexOf("4,ENCRYPTED")){var et=se($e=J(l,"DSA PRIVATE KEY"),0,[1],"02"),Lt=se($e,0,[2],"02"),Ft=se($e,0,[3],"02"),nn=se($e,0,[4],"02"),_n=se($e,0,[5],"02");return(z=new O).setPrivate(new U(et,16),new U(Lt,16),new U(Ft,16),new U(nn,16),new U(_n,16)),z}if(-1!=l.indexOf("-END EC PRIVATE KEY-")&&-1==l.indexOf("4,ENCRYPTED"))return wn=J(l,"EC PRIVATE KEY"),H.getKey(wn,null,"pkcs5prv");if(-1!=l.indexOf("-END PRIVATE KEY-"))return H.getKeyFromPlainPrivateP
1KCS8PEM(l);if(-1!=l.indexOf("-END RSA PRIVATE KEY-")&&-1!=l.indexOf("4,ENCRYPTED")){var en=H.getDecryptedKeyHex(l,w),an=new zt;return an.readPKCS5PrvKeyHex(en),an}if(-1!=l.indexOf("-END EC PRIVATE KEY-")&&-1!=l.indexOf("4,ENCRYPTED")){var Ce,z=se($e=H.getDecryptedKeyHex(l,w),0,[1],"04"),pn=se($e,0,[2,0],"06"),Rn=se($e,0,[3,0],"03").substr(2);if(void 0===Y.crypto.OID.oidhex2name[pn])throw new Error("undefined OID(hex) in KJUR.crypto.OID: "+pn);return(Ce=new T({curve:Y.crypto.OID.oidhex2name[pn]})).setPublicKeyHex(Rn),Ce.setPrivateKeyHex(z),Ce.isPublic=!1,Ce}if(-1!=l.indexOf("-END DSA PRIVATE KEY-")&&-1!=l.indexOf("4,ENCRYPTED"))return et=se($e=H.getDecryptedKeyHex(l,w),0,[1],"02"),Lt=se($e,0,[2],"02"),Ft=se($e,0,[3],"02"),nn=se($e,0,[4],"02"),_n=se($e,0,[5],"02"),(z=new O).setPrivate(new U(et,16),new U(Lt,16),new U(Ft,16),new U(nn,16),new U(_n,16)),z;if(-1!=l.indexOf("-END ENCRYPTED PRIVATE KEY-"))return H.getKeyFromEncryptedPKCS8PEM(l,w);throw new Error("not supported argument")},fi.generateKeypair=function(l,w){if("RSA"==l){var C=w;(k=new zt).generate(C,"10001"),k.isPrivate=!0,k.isPublic=!0;var Q=new zt,oe=k.n.toString(16),se=k.e.toString(16);return Q.setPublic(oe,se),Q.isPrivate=!1,Q.isPublic=!0,(y={}).prvKeyObj=k,y.pubKeyObj=Q,y}if("EC"==l){var k,y,T=w,V=new Y.crypto.ECDSA({curve:T}).generateKeyPairHex();return(k=new Y.crypto.ECDSA({curve:T})).setPublicKeyHex(V.ecpubhex),k.setPrivateKeyHex(V.ecprvhex),k.isPrivate=!0,k.isPublic=!1,(Q=new Y.crypto.ECDSA({curve:T})).setPublicKeyHex(V.ecpubhex),Q.isPrivate=!1,Q.isPublic=!0,(y={}).prvKeyObj=k,y.pubKeyObj=Q,y}throw new Error("unknown algorithm: "+l)},fi.getPEM=function(l,w,C,k,Q,oe){var y=Y.asn1,T=y.DERObjectIdentifier,O=y.DERInteger,V=y.ASN1Util.newObject,z=Y.crypto,Ce=z.DSA,he=z.ECDSA,Te=zt;function Oe(an){return V({seq:[{int:0},{int:{bigint:an.n}},{int:an.e},{int:{bigint:an.d}},{int:{bigint:an.p}},{int:{bigint:an.q}},{int:{bigint:an.dmp1}},{int:{bigint:an.dmq1}},{int:{bigint:an.coeff}}]})}function Ge(an){return V({seq:[{int:1},{octstr:{hex:an.prvKeyHex}},{tag:["a0",!0,{oid:{name:an.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+an.pubKeyHex}}]}]})}function yt(an){return V({seq:[{int:0},{int:{bigint:an.p}},{int:{bigint:an.q}},{int:{bigint:an.g}},{int:{bigint:an.y}},{int:{bigint:an.x}}]})}if((void 0!==Te&&l instanceof Te||void 0!==Ce&&l instanceof Ce||void 0!==he&&l instanceof he)&&1==l.isPublic&&(void 0===w||"PKCS8PUB"==w))return Or(St=new(0,y.x509.SubjectPublicKeyInfo)(l).tohex(),"PUBLIC KEY");if("PKCS1PRV"==w&&void 0!==Te&&l instanceof Te&&(void 0===C||null==C)&&1==l.isPrivate)return Or(St=Oe(l).tohex(),"RSA PRIVATE KEY");if("PKCS1PRV"==w&&void 0!==he&&l instanceof he&&(void 0===C||null==C)&&1==l.isPrivate){var wn=new T({name:l.curveName}).tohex(),et=Ge(l).tohex(),Lt="";return(Lt+=Or(wn,"EC PARAMETERS"))+Or(et,"EC PRIVATE KEY")}if("PKCS1PRV"==w&&void 0!==Ce&&l instanceof Ce&&(void 0===C||null==C)&&1==l.isPrivate)return Or(St=yt(l).tohex(),"DSA PRIVATE KEY");if("PKCS5PRV"==w&&void 0!==Te&&l instanceof Te&&void 0!==C&&null!=C&&1==l.isPrivate){var St=Oe(l).tohex();return void 0===k&&(k="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",St,C,k,oe)}if("PKCS5PRV"==w&&void 0!==he&&l instanceof he&&void 0!==C&&null!=C&&1==l.isPrivate)return St=Ge(l).tohex(),void 0===k&&(k="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",St,C,k,oe);if("PKCS5PRV"==w&&void 0!==Ce&&l instanceof Ce&&void 0!==C&&null!=C&&1==l.isPrivate)return St=yt(l).tohex(),void 0===k&&(k="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",St,C,k,oe);var Ft=function(an,pn){if("string"==typeof pn)return fi.getEncryptedPKCS8PEM(an,pn);if("object"==typeof pn&&null!=$i(pn,"passcode")){var Rn=JSON.parse(JSON.stringify(pn)),$r=Rn.passcode;return delete Rn.passcode,fi.getEncryptedPKCS8PEM(an,$r,Rn)}};if("PKCS8PRV"==w&&null!=Te&&l instanceof Te&&1==l.isPrivate){var _n=Oe(l).tohex();return St=V({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:_n}}]}).tohex(),void 0===C||null==C?Or(St,"PRIVATE KEY"):Ft(St,C)}if("PKCS8PRV"==w&&void 0!==he&&l instanceof he&&1==l.isPrivate){var en={seq:[{int:1},{octstr:{hex:l.prvKeyHex}}]};return"string"==typeof l.pubKeyHex&&en.seq.push({tag:["a1",!0,{bitstr:{hex:"00"+l.pubKeyHex}}]}),_n=new V(en).tohex(),St=V({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:l.curveName}}]},{octstr:{hex:_n}}]}).tohex(),void 0===C||null==C?Or(St,"PRIVATE KEY"):Ft(St,C)}if("PKCS8PRV"==w&&void 0!==Ce&&l instanceof Ce&&1==l.isPrivate)return _n=new O({bigint:l.x}).tohex(),St=V({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:l.p}},{int:{bigint:l.q}},{int:{bigint:l.g}}]}]},{octstr:{hex:_n}}]}).tohex(),void 0===C||null==C?Or(St,"PRIVATE KEY"):Ft(St,C);throw new Error("unsupported object nor format")},fi.getKeyFromCSRPEM=function(l){var w=wi(l,"CERTIFICATE REQUEST");return fi.getKeyFromCSRHex(w)},fi.getKeyFromCSRHex=function(l){var w=fi.parseCSRHex(l);return fi.getKey(w.p8pubkeyhex,null,"pkcs8pub")}
1,fi.parseCSRHex=function(l){var C=ir.getChildIdx,k=ir.getTLV,Q={},oe=l;if("30"!=oe.substr(0,2))throw new Error("malformed CSR(code:001)");var se=C(oe,0);if(se.length<1)throw new Error("malformed CSR(code:002)");if("30"!=oe.substr(se[0],2))throw new Error("malformed CSR(code:003)");var y=C(oe,se[0]);if(y.length<3)throw new Error("malformed CSR(code:004)");return Q.p8pubkeyhex=k(oe,y[2]),Q},fi.getKeyID=function(l){var w=fi,C=ir;"string"==typeof l&&-1!=l.indexOf("BEGIN ")&&(l=w.getKey(l));var k=wi(w.getPEM(l)),Q=C.getIdxbyList(k,0,[1]),oe=C.getV(k,Q).substring(2);return Y.crypto.Util.hashHex(oe,"sha1")},fi.getJWK=function(l,w,C,k,Q){var oe,y,se={},T=Y.crypto.Util.hashHex;if("string"==typeof l)oe=fi.getKey(l),-1!=l.indexOf("CERTIFICATE")&&(y=wi(l));else{if("object"!=typeof l)throw new Error("unsupported keyinfo type");l instanceof Rr?(oe=l.getPublicKey(),y=l.hex):oe=l}if(oe instanceof zt&&oe.isPrivate)se.kty="RSA",se.n=Oi(oe.n.toString(16)),se.e=Oi(oe.e.toString(16)),se.d=Oi(oe.d.toString(16)),se.p=Oi(oe.p.toString(16)),se.q=Oi(oe.q.toString(16)),se.dp=Oi(oe.dmp1.toString(16)),se.dq=Oi(oe.dmq1.toString(16)),se.qi=Oi(oe.coeff.toString(16));else if(oe instanceof zt&&oe.isPublic)se.kty="RSA",se.n=Oi(oe.n.toString(16)),se.e=Oi(oe.e.toString(16));else if(oe instanceof Y.crypto.ECDSA&&oe.isPrivate){if("P-256"!==(O=oe.getShortNISTPCurveName())&&"P-384"!==O&&"P-521"!==O)throw new Error("unsupported curve name for JWT: "+O);var V=oe.getPublicKeyXYHex();se.kty="EC",se.crv=O,se.x=Oi(V.x),se.y=Oi(V.y),se.d=Oi(oe.prvKeyHex)}else if(oe instanceof Y.crypto.ECDSA&&oe.isPublic){var O;if("P-256"!==(O=oe.getShortNISTPCurveName())&&"P-384"!==O&&"P-521"!==O)throw new Error("unsupported curve name for JWT: "+O);V=oe.getPublicKeyXYHex(),se.kty="EC",se.crv=O,se.x=Oi(V.x),se.y=Oi(V.y)}if(null==se.kty)throw new Error("unsupported keyinfo");return!oe.isPrivate&&1!=w&&(se.kid=Y.jws.JWS.getJWKthumbprint(se)),null!=y&&1!=C&&(se.x5c=[N(y)]),null!=y&&1!=k&&(se.x5t=ms(N(T(y,"sha1")))),null!=y&&1!=Q&&(se["x5t#S256"]=ms(N(T(y,"sha256")))),se},fi.getJWKFromKey=function(l){return fi.getJWK(l,!0,!0,!0,!0)},zt.getPosArrayOfChildrenFromHex=function(l){return ir.getChildIdx(l,0)},zt.getHexValueArrayOfChildrenFromHex=function(l){var H,C=ir.getV,k=C(l,(H=zt.getPosArrayOfChildrenFromHex(l))[0]),Q=C(l,H[1]),oe=C(l,H[2]),se=C(l,H[3]),y=C(l,H[4]),T=C(l,H[5]),O=C(l,H[6]),V=C(l,H[7]),J=C(l,H[8]);return(H=new Array).push(k,Q,oe,se,y,T,O,V,J),H},zt.prototype.readPrivateKeyFromPEMString=function(l){var w=wi(l),C=zt.getHexValueArrayOfChildrenFromHex(w);this.setPrivateEx(C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8])},zt.prototype.readPKCS5PrvKeyHex=function(l){var w=zt.getHexValueArrayOfChildrenFromHex(l);this.setPrivateEx(w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8])},zt.prototype.readPKCS8PrvKeyHex=function(l){var w,C,k,Q,oe,se,y,T,V=ir.getVbyListEx;if(!1===ir.isASN1HEX(l))throw new Error("not ASN.1 hex string");try{w=V(l,0,[2,0,1],"02"),C=V(l,0,[2,0,2],"02"),k=V(l,0,[2,0,3],"02"),Q=V(l,0,[2,0,4],"02"),oe=V(l,0,[2,0,5],"02"),se=V(l,0,[2,0,6],"02"),y=V(l,0,[2,0,7],"02"),T=V(l,0,[2,0,8],"02")}catch{throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(w,C,k,Q,oe,se,y,T)},zt.prototype.readPKCS5PubKeyHex=function(l){var w=ir,C=w.getV;if(!1===w.isASN1HEX(l))throw new Error("keyHex is not ASN.1 hex string");var k=w.getChildIdx(l,0);if(2!==k.length||"02"!==l.substr(k[0],2)||"02"!==l.substr(k[1],2))throw new Error("wrong hex for PKCS#5 public key");var Q=C(l,k[0]),oe=C(l,k[1]);this.setPublic(Q,oe)},zt.prototype.readPKCS8PubKeyHex=function(l){var w=ir;if(!1===w.isASN1HEX(l))throw new Error("not ASN.1 hex string");if("06092a864886f70d010101"!==w.getTLVbyListEx(l,0,[0,0]))throw new Error("not PKCS8 RSA public key");var C=w.getTLVbyListEx(l,0,[1,0]);this.readPKCS5PubKeyHex(C)},zt.prototype.readCertPubKeyHex=function(l,w){var C,k;(C=new Rr).readCertHex(l),k=C.getPublicKeyHex(),this.readPKCS8PubKeyHex(k)},zt.prototype.sign=function(l,w){var k=function(Q){return Y.crypto.Util.hashString(Q,w)}(l);return this.signWithMessageHash(k,w)},zt.prototype.signWithMessageHash=function(l,w){var k=di(Y.crypto.Util.getPaddedDigestInfoHex(l,w,this.n.bitLength()),16);
1return xa(this.doPrivate(k).toString(16),this.n.bitLength())},zt.prototype.signPSS=function(l,w,C){var Q=function(oe){return Y.crypto.Util.hashHex(oe,w)}(Re(l));return void 0===C&&(C=-1),this.signWithMessageHashPSS(Q,w,C)},zt.prototype.signWithMessageHashPSS=function(l,w,C){var y,k=Lo(l),Q=k.length,oe=this.n.bitLength()-1,se=Math.ceil(oe/8),T=function(Te){return Y.crypto.Util.hashHex(Te,w)};if(-1===C||void 0===C)C=Q;else if(-2===C)C=se-Q-2;else if(C<-2)throw new Error("invalid salt length");if(se<Q+C+2)throw new Error("data too long");var O="";C>0&&(O=new Array(C),(new ao).nextBytes(O),O=String.fromCharCode.apply(String,O));var V=Lo(T(Re("\0\0\0\0\0\0\0\0"+k+O))),J=[];for(y=0;y<se-C-Q-2;y+=1)J[y]=0;var H=String.fromCharCode.apply(String,J)+"\x01"+O,z=ha(V,H.length,T),Ce=[];for(y=0;y<H.length;y+=1)Ce[y]=H.charCodeAt(y)^z.charCodeAt(y);for(Ce[0]&=~(65280>>8*se-oe&255),y=0;y<Q;y++)Ce.push(V.charCodeAt(y));return Ce.push(188),xa(this.doPrivate(new U(Ce)).toString(16),this.n.bitLength())},zt.prototype.verify=function(l,w){if(null==(w=w.toLowerCase()).match(/^[0-9a-f]+$/))return!1;var C=di(w,16),k=this.n.bitLength();if(C.bitLength()>k)return!1;var oe=this.doPublic(C).toString(16);if(oe.length+3!=k/4)return!1;var y=Hr(oe.replace(/^1f+00/,""));if(0==y.length)return!1;var T=y[0],O=y[1],J=function(H){return Y.crypto.Util.hashString(H,T)}(l);return O==J},zt.prototype.verifyWithMessageHash=function(l,w){if(w.length!=Math.ceil(this.n.bitLength()/4))return!1;var C=di(w,16);if(C.bitLength()>this.n.bitLength())return 0;var oe=Hr(this.doPublic(C).toString(16).replace(/^1f+00/,""));return 0!=oe.length&&oe[1]==l},zt.prototype.verifyPSS=function(l,w,C,k){var oe=function(se){return Y.crypto.Util.hashHex(se,C)}(Re(l));return void 0===k&&(k=-1),this.verifyWithMessageHashPSS(oe,w,C,k)},zt.prototype.verifyWithMessageHashPSS=function(l,w,C,k){if(w.length!=Math.ceil(this.n.bitLength()/4))return!1;var V,Q=new U(w,16),oe=function(Ge){return Y.crypto.Util.hashHex(Ge,C)},se=Lo(l),y=se.length,T=this.n.bitLength()-1,O=Math.ceil(T/8);if(-1===k||void 0===k)k=y;else if(-2===k)k=O-y-2;else if(k<-2)throw new Error("invalid salt length");if(O<y+k+2)throw new Error("data too long");var J=this.doPublic(Q).toByteArray();for(V=0;V<J.length;V+=1)J[V]&=255;for(;J.length<O;)J.unshift(0);if(188!==J[O-1])throw new Error("encoded message does not end in 0xbc");var H=(J=String.fromCharCode.apply(String,J)).substr(0,O-y-1),z=J.substr(H.length,y),Ce=65280>>8*O-T&255;if(0!==(H.charCodeAt(0)&Ce))throw new Error("bits beyond keysize not zero");var he=ha(z,H.length,oe),Te=[];for(V=0;V<H.length;V+=1)Te[V]=H.charCodeAt(V)^he.charCodeAt(V);Te[0]&=~Ce;var Oe=O-y-k-2;for(V=0;V<Oe;V+=1)if(0!==Te[V])throw new Error("leftmost octets not zero");if(1!==Te[Oe])throw new Error("0x01 marker not found");return z===Lo(oe(Re("\0\0\0\0\0\0\0\0"+se+String.fromCharCode.apply(String,Te.slice(-k)))))},zt.SALT_LEN_HLEN=-1,zt.SALT_LEN_MAX=-2,zt.SALT_LEN_RECOVER=-2,Rr.EXT_PARSER={},Rr.registExtParser=function(l,w){Rr.EXT_PARSER[l]=w},Rr.hex2dn=function(l,w){void 0===w&&(w=0);var C=new Rr;return ir.getTLV(l,w),C.getX500Name(l).str},Rr.hex2rdn=function(l,w){if(void 0===w&&(w=0),"31"!==l.substr(w,2))throw new Error("malformed RDN");for(var C=new Array,k=ir.getChildIdx(l,w),Q=0;Q<k.length;Q++)C.push(Rr.hex2attrTypeValue(l,k[Q]));return C=C.map(function(oe){return oe.replace("+","\\+")}),C.join("+")},Rr.hex2attrTypeValue=function(l,w){var C=ir,k=C.getV;if(void 0===w&&(w=0),"30"!==l.substr(w,2))throw new Error("malformed attribute type and value");var Q=C.getChildIdx(l,w);2!==Q.length||l.substr(Q[0],2);var oe=k(l,Q[0]),se=Y.asn1.ASN1Util.oidHexToInt(oe);return Y.asn1.x509.OID.oid2atype(se)+"="+Lo(k(l,Q[1]))},Rr.getPublicKeyFromCertHex=function(l){var w=new Rr;return w.readCertHex(l),w.getPublicKey()},Rr.getPublicKeyFromCertPEM=function(l){var w=new Rr;return w.readCertPEM(l),w.getPublicKey()},Rr.getPublicKeyInfoPropOfCertPEM=function(l){var Q,oe,C=ir.getVbyList,k={algparam:null};return(Q=new Rr).readCertPEM(l),oe=Q.getPublicKeyHex(),k.keyhex=C(oe,0,[1],"03").substr(2),k.algoid=C(oe,0,[0,0],"06"),"2a8648ce3d0201"===k.algoid&&(k.algparam=C(oe,0,[0,1],"06")),k},Rr.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.jws>"u"||!Y.jws)&&(Y.jws={}),Y.jws.JWS=function(){var C=Y.jws.JWS.isSafeJSONString;this.parseJWS=function(k,Q){if(void 0===this.parsedJWS||!Q&&void 0===this.parsedJWS.sigvalH){var oe=k.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==oe)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var se=oe[1],y=oe[2],T=oe[3],O=se+"."+y;if(this.parsedJWS={},this.parsedJWS.headB64U=se,this.parsedJWS.payloadB64U=y,this.parsedJWS.sigvalB64U=T,this.parsedJWS.si=O,!Q){var V=ro(T),J=di(V,16);this.parsedJWS.sigvalH=V,this.parsedJWS.sigvalBI=J}var H=$o(se),z=$o(y);if(this.parsedJWS.headS=H,this.parsedJWS.payloadS=z,!C(H,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+H}}},Y.jws.JWS.sign=function(l,w,C,k,Q){var he,Te,Oe,y=Y.jws.JWS,T=y.readSafeJSONString,O=y.isSafeJSONString,V=Y.crypto,H=V.Mac,z=V.Signature,Ce=JSON;if("string"!=typeof w&&"object"!=typeof w)throw"spHeader must be JSON string or object: "+w;if("object"==typeof w&&(he=Ce.stringify(Te=w)),"string"==typeof w){if(!O(he=w))throw"JWS Head is not safe JSON string: "+he;Te=T(he)}if(Oe=C,"object"==typeof C&&(Oe=Ce.stringify(C)),(""==l||null==l)&&void 0!==Te.alg&&(l=Te.alg),""!=l&&null!=l&&void 0===Te.alg&&(Te.alg=l,he=Ce.stringify(Te)),l!==Te.alg)throw"alg and sHeader.alg doesn't match: "+l+"!="+Te.alg;var Ge=null;if(void 0===y.jwsalg2sigalg[l])throw"unsupported alg name: "+l;Ge=y.jwsalg2sigalg[l];var St=ts(he)+"."+ts(Oe),vn="";if("Hmac"==Ge.substr(0,4)){if(void 0===k)throw"mac key shall be specified for HS* alg";var wn=new H({alg:Ge,prov:"cryptojs",pass:k});wn.updateString(St),vn=wn.doFinal()}else if(-1!=Ge.indexOf("withECDSA")){($e=new z({alg:Ge})).init(k,Q),$e.updateString(St);var et=$e.sign();vn=Y.crypto.ECDSA.asn1SigToConcatSig(et)}else if("none"!=Ge){var $e;($e=new z({alg:Ge})).init(k,Q),$e.updateString(St),vn=$e.sign()}return St+"."+Oi(vn)},Y.jws.JWS.verify=function(l,w,C){var J,oe=Y.jws.JWS,se=oe.readSafeJSONString,y=Y.crypto,T=y.ECDSA,O=y.Mac,V=y.Signature;if(J=zt,!fa(l))return!1;var H=l.split(".");if(3!==H.length)return!1;var yt,he=H[0]+"."+H[1],Te=ro(H[2]),Oe=se($o(H[0])),Ge=null;if(void 0===Oe.alg)throw"algorithm not specified in header";if(yt=(Ge=Oe.alg).substr(0,2),null!=C&&"[object Array]"===Object.prototype.toString.call(C)&&C.length>0&&-1==(":"+C.join(":")+":").indexOf(":"+Ge+":"))throw"algorithm '"+Ge+"' not accepted in the list";if("none"!=Ge&&null===w)throw"key shall be specified to verify.";if("string"==typeof w&&-1!=w.indexOf("-----BEGIN ")&&(w=fi.getKey(w)),!("RS"!=yt&&"PS"
1!=yt||w instanceof J))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==yt&&!(w instanceof T))throw"key shall be a ECDSA obj for ES* algs";var St=null;if(void 0===oe.jwsalg2sigalg[Oe.alg])throw new Error("unsupported alg name: "+Ge);if(St=oe.jwsalg2sigalg[Ge],void 0!==Oe.crit){if(!Array.isArray(Oe.crit)||0===Oe.crit.length)throw new Error("wrong critical header");for(var vn=0;vn<Oe.crit.length;vn++){var wn=Oe.crit[vn];if("string"!=typeof wn||0===wn.length)throw new Error("wrong critical header");if(void 0===Oe[wn])throw new Error("critical header '"+wn+"' missing")}}if("none"==St)throw new Error("not supported");if("Hmac"==St.substr(0,4)){if(void 0===w)throw new Error("hexadecimal key shall be specified for HMAC");var et=new O({alg:St,pass:w});return et.updateString(he),nc(Te,et.doFinal())}if(-1!=St.indexOf("withECDSA")){var Ft,Lt=null;try{Lt=T.concatSigToASN1Sig(Te)}catch{return!1}return(Ft=new V({alg:St})).init(w),Ft.updateString(he),Ft.verify(Lt)}return(Ft=new V({alg:St})).init(w),Ft.updateString(he),Ft.verify(Te)},Y.jws.JWS.parse=function(l){var Q,oe,w=l.split("."),C={};if(2!=w.length&&3!=w.length)throw"malformed sJWS: wrong number of '.' splitted elements";return Q=w[1],3==w.length&&(oe=w[2]),C.headerObj=Y.jws.JWS.readSafeJSONString($o(w[0])),C.payloadObj=Y.jws.JWS.readSafeJSONString($o(Q)),C.headerPP=JSON.stringify(C.headerObj,null,"  "),C.payloadPP=null==C.payloadObj?$o(Q):JSON.stringify(C.payloadObj,null,"  "),void 0!==oe&&(C.sigHex=ro(oe)),C},Y.jws.JWS.verifyJWT=function(l,w,C){var Q=Y.jws,oe=Q.JWS,se=oe.readSafeJSONString,y=oe.inArray,T=oe.includedArray;if(!fa(l))return!1;var O=l.split(".");if(3!=O.length)return!1;var V=O[0],J=O[1],Ce=(ro(O[2]),se($o(V))),he=se($o(J));if(void 0===Ce.alg)return!1;if(void 0===C.alg)throw"acceptField.alg shall be specified";if(!y(Ce.alg,C.alg)||void 0!==he.iss&&"object"==typeof C.iss&&!y(he.iss,C.iss)||void 0!==he.sub&&"object"==typeof C.sub&&!y(he.sub,C.sub))return!1;if(void 0!==he.aud&&"object"==typeof C.aud)if("string"==typeof he.aud){if(!y(he.aud,C.aud))return!1}else if("object"==typeof he.aud&&!T(he.aud,C.aud))return!1;var Te=Q.IntDate.getNow();return void 0!==C.verifyAt&&"number"==typeof C.verifyAt&&(Te=C.verifyAt),(void 0===C.gracePeriod||"number"!=typeof C.gracePeriod)&&(C.gracePeriod=0),!(void 0!==he.exp&&"number"==typeof he.exp&&he.exp+C.gracePeriod<Te||void 0!==he.nbf&&"number"==typeof he.nbf&&Te<he.nbf-C.gracePeriod||void 0!==he.iat&&"number"==typeof he.iat&&Te<he.iat-C.gracePeriod||void 0!==he.jti&&void 0!==C.jti&&he.jti!==C.jti||!oe.verify(l,w,C.alg))},Y.jws.JWS.includedArray=function(l,w){var C=Y.jws.JWS.inArray;if(null===l||"object"!=typeof l||"number"!=typeof l.length)return!1;for(var k=0;k<l.length;k++)if(!C(l[k],w))return!1;return!0},Y.jws.JWS.inArray=function(l,w){if(null===w||"object"!=typeof w||"number"!=typeof w.length)return!1;for(var C=0;C<w.length;C++)if(w[C]==l)return!0;return!1},Y.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",ES512:"SHA512withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},Y.jws.JWS.isSafeJSONString=function(l,w,C){var k=null;try{return"object"!=typeof(k=aa(l))||k.constructor===Array?0:(w&&(w[C]=k),1)}catch{return 0}},Y.jws.JWS.readSafeJSONString=function(l){var w=null;try{return"object"!=typeof(w=aa(l))||w.constructor===Array?null:w}catch{return null}},Y.jws.JWS.getEncodedSignatureValueFromJWS=function(l){var w=l.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(null==w)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return w[1]},Y.jws.JWS.getJWKthumbprint=function(l){if("RSA"!==l.kty&&"EC"!==l.kty&&"oct"!==l.kty)throw new Error("unsupported algorithm for JWK Thumprint");var w="{";if("RSA"===l.kty){if("string"!=typeof l.n||"string"!=typeof l.e)throw new Error("wrong n and e value for RSA key");w+='"e":"'+l.e+'",',w+='"kty":"'+l.kty+'",',w+='"n":"'+l.n+'"}'}else if("EC"===l.kty){if("string"!=typeof l.crv||"string"!=typeof l.x||"string"!=typeof l.y)throw new Error("wrong crv, x and y value for EC key");w+='"crv":"'+l.crv+'",',w+='"kty":"'+l.kty+'",',w+='"x":"'+l.x+'",',w+='"y":"'+l.y+'"}'}else if("oct"===l.kty){if("string"!=typeof l.k)throw new Error("wrong k value for oct(symmetric) key");w+='"k":"'+l.k+'",',w+='"kty":"'+l.kty+'"}'}var C=Re(w);return Oi(Y.crypto.Util.hashHex(C,"sha256"))},Y.jws.IntDate={},Y.jws.IntDate.get=function(l){var w=Y.jws.IntDate,C=w.getNow,k=w.getZulu;if("now"==l)return C();if("now + 1hour"==l)return C()+3600;if("now + 1day"==l)return C()+86400;if("now + 1month"==l)return C()+2592e3;if("now + 1year"==l)return C()+31536e3;if(l.match(/Z$/))return k(l);if(l.match(/^[0-9]+$/))return parseInt(l);throw"unsupported format: "+l},Y.jws.IntDate.getZulu=function(l){return Pl(l)},Y.jws.IntDate.getNow=function(){return~~(new Date/1e3)}
1,Y.jws.IntDate.intDate2UTCString=function(l){return new Date(1e3*l).toUTCString()},Y.jws.IntDate.intDate2Zulu=function(l){var w=new Date(1e3*l);return("0000"+w.getUTCFullYear()).slice(-4)+("00"+(w.getUTCMonth()+1)).slice(-2)+("00"+w.getUTCDate()).slice(-2)+("00"+w.getUTCHours()).slice(-2)+("00"+w.getUTCMinutes()).slice(-2)+("00"+w.getUTCSeconds()).slice(-2)+"Z"},(typeof Y>"u"||!Y)&&(Y={}),(typeof Y.jws>"u"||!Y.jws)&&(Y.jws={}),Y.jws.JWSJS=function(){var C=Y.jws.JWS,k=C.readSafeJSONString;this.aHeader=[],this.sPayload="",this.aSignature=[],this.init=function(){this.aHeader=[],this.sPayload=void 0,this.aSignature=[]},this.initWithJWS=function(Q){this.init();var oe=Q.split(".");if(3!=oe.length)throw"malformed input JWS";this.aHeader.push(oe[0]),this.sPayload=oe[1],this.aSignature.push(oe[2])},this.addSignature=function(Q,oe,se,y){if(null==this.sPayload)throw"there's no JSON-JS signature to add.";var T=this.aHeader.length;if(this.aHeader.length!=this.aSignature.length)throw"aHeader.length != aSignature.length";try{var V=Y.jws.JWS.sign(Q,oe,this.sPayload,se,y).split(".");this.aHeader.push(V[0]),this.aSignature.push(V[2])}catch(z){throw this.aHeader.length>T&&this.aHeader.pop(),this.aSignature.length>T&&this.aSignature.pop(),"addSignature failed: "+z}},this.verifyAll=function(Q){if(this.aHeader.length!==Q.length||this.aSignature.length!==Q.length)return!1;for(var oe=0;oe<Q.length;oe++){var se=Q[oe];if(2!==se.length)return!1;if(!1===this.verifyNth(oe,se[0],se[1]))return!1}return!0},this.verifyNth=function(Q,oe,se){if(this.aHeader.length<=Q||this.aSignature.length<=Q)return!1;var O=this.aHeader[Q]+"."+this.sPayload+"."+this.aSignature[Q],V=!1;try{V=C.verify(O,oe,se)}catch{return!1}return V},this.readJWSJS=function(Q){if("string"==typeof Q){var oe=k(Q);if(null==oe)throw"argument is not safe JSON object string";this.aHeader=oe.headers,this.sPayload=oe.payload,this.aSignature=oe.signatures}else try{if(!(Q.headers.length>0))throw"malformed header";if(this.aHeader=Q.headers,"string"!=typeof Q.payload)throw"malformed signatures";if(this.sPayload=Q.payload,!(Q.signatures.length>0))throw"malformed signatures";this.aSignature=Q.signatures}catch(se){throw"malformed JWS-JS JSON object: "+se}},this.getJSON=function(){return{headers:this.aHeader,payload:this.sPayload,signatures:this.aSignature}},this.isEmpty=function(){return 0==this.aHeader.length?1:0}},Pe.ym=fi,Pe.pj=Y},72184(Vt,Pe,d){"use strict";var S;if(d.d(Pe,{A:()=>Py}),typeof window>"u"){var E={hostname:""};S={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:E,referrer:""},screen:{width:0,height:0},location:E,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else S=window;var M={DEBUG:!1,LIB_VERSION:"2.79.0"},f="__mp_targeting",b="__mp_recorder",R="__MP_TARGETING_FILENAME__";function N(r,s){(null==s||s>r.length)&&(s=r.length);for(var c=0,n=new Array(s);c<s;c++)n[c]=r[c];return n}function q(r,s,c,n,o,u,_){try{var L=r[u](_),$=L.value}catch(me){return void c(me)}L.done?s($):Promise.resolve($).then(n,o)}function ee(r){return function(){var s=this,c=arguments;return new Promise(function(n,o){var u=r.apply(s,c);function _($){q(u,n,o,_,L,"next",$)}function L($){q(u,n,o,_,L,"throw",$)}_(void 0)})}}function B(r,s,c){return(B=te()?Reflect.construct:function(o,u,_){var L=[null];L.push.apply(L,u);var me=new(Function.bind.apply(o,L));return _&&K(me,_.prototype),me}).apply(null,arguments)}function ve(r,s,c){return s&&function ie(r,s){for(var c=0;c<s.length;c++){var n=s[c];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}(r.prototype,s),r}function U(){return U=Object.assign||function(r){for(var s=1;s<arguments.length;s++){var c=arguments[s];for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&(r[n]=c[n])}return r},U.apply(this,arguments)}function ne(r){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)})(r)}function X(r,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(s&&s.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),s&&K(r,s)}function W(r,s){return null!=s&&typeof Symbol<"u"&&s[Symbol.hasInstance]?!!s[Symbol.hasInstance](r):r instanceof s}function re(r,s){if(null==r)return{};var o,u,c={},n=Object.keys(r);for(u=0;
1u<n.length;u++)!(s.indexOf(o=n[u])>=0)&&(c[o]=r[o]);return c}function K(r,s){return(K=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n})(r,s)}function ce(r){return r&&typeof Symbol<"u"&&r.constructor===Symbol?"symbol":typeof r}function ae(r){var s="function"==typeof Map?new Map:void 0;return ae=function(n){if(null===n||!function Z(r){return-1!==Function.toString.call(r).indexOf("[native code]")}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(typeof s<"u"){if(s.has(n))return s.get(n);s.set(n,o)}function o(){return B(n,arguments,ne(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),K(o,n)},ae(r)}function te(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(te=function(){return!!r})()}function de(r,s){var c=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(c)return(c=c.call(r)).next.bind(c);if(Array.isArray(r)||(c=function ue(r,s){if(r){if("string"==typeof r)return N(r,s);var c=Object.prototype.toString.call(r).slice(8,-1);if("Object"===c&&r.constructor&&(c=r.constructor.name),"Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return N(r,s)}}(r))||s){c&&(r=c);var n=0;return function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _e(r,s){var c,n,o,u,_={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:L(0),throw:L(1),return:L(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function L(me){return function(Ee){return function $(me){if(c)throw new TypeError("Generator is already executing.");for(;_;)try{if(c=1,n&&(o=2&me[0]?n.return:me[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,me[1])).done)return o;switch(n=0,o&&(me=[2&me[0],o.value]),me[0]){case 0:case 1:o=me;break;case 4:return _.label++,{value:me[1],done:!1};case 5:_.label++,n=me[1],me=[0];continue;case 7:me=_.ops.pop(),_.trys.pop();continue;default:if(!(o=(o=_.trys).length>0&&o[o.length-1])&&(6===me[0]||2===me[0])){_=0;continue}if(3===me[0]&&(!o||me[1]>o[0]&&me[1]<o[3])){_.label=me[1];break}if(6===me[0]&&_.label<o[1]){_.label=o[1],o=me;break}if(o&&_.label<o[2]){_.label=o[2],_.ops.push(me);break}o[2]&&_.ops.pop(),_.trys.pop();continue}me=s.call(r,_)}catch(Ee){me=[6,Ee],n=0}finally{c=o=0}if(5&me[0])throw me[1];return{value:me[0]?me[1]:void 0,done:!0}}([me,Ee])}}}function we(r){var s="function"==typeof Symbol&&Symbol.iterator,c=s&&r[s],n=0;if(c)return c.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}var Ze,De=Object.defineProperty,Me=function(r,s,c){return function(r,s,c){return s in r?De(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c}(r,"symbol"!==(typeof s>"u"?"undefined":ce(s))?s+"":s,c)},Ye=Object.defineProperty,vt=function(r,s,c){return function(r,s,c){return s in r?Ye(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c}(r,"symbol"!==(typeof s>"u"?"undefined":ce(s))?s+"":s,c)},$t=function(r){return r[r.Document=0]="Document",r[r.DocumentType=1]="DocumentType",r[r.Element=2]="Element",r[r.Text=3]="Text",r[r.CDATA=4]="CDATA",r[r.Comment=5]="Comment",r}($t||{}),Et={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},xt={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ot={};function qe(r){if(Ot[r])return Ot[r];var s=globalThis[r],c=s.prototype,n=r in Et?Et[r]:void 0,o=!(!n||!n.every(function(Ee){var Se,Ae;return!(null==(Ae=null==(Se=Object.getOwnPropertyDescriptor(c,Ee))?void 0:Se.get)||!Ae.toString().includes("[native code]"))})),u=r in xt?xt[r]:void 0,_=!(!u||!u.every(function(Ee){var Se;return"function"==typeof c[Ee]&&(null==(Se=c[Ee])?void 0:Se.toString().includes("[native code]"))}));if(o&&_&&!globalThis.Zone)return Ot[r]=s.prototype,s.prototype;try{var L=document.createElement("iframe");document.body.appendChild(L);var $=L.contentWindow;if(!$)return s.prototype;var me=$[r].prototype;return document.body.removeChild(L),me?Ot[r]=me:c}catch{return c}}var At={};function Ct(r,s,c){var n,o=r+"."+String(c);if(At[o])return At[o].call(s);var u=qe(r),_=null==(n=Object.getOwnPropertyDescriptor(u,c))?void 0:n.get;return _?(At[o]=_,_.call(s)):s[c]}var bn_childNodes=function mt(r){return Ct("Node",r,"childNodes")},bn_parentNode=function rt(r){return Ct("Node",r,"parentNode")},bn_parentElement=function ut(r){return Ct("Node",r,"parentElement")},bn_textContent=function kt(r){return Ct("Node",r,"textContent")},bn_host=function An(r){return r&&"host"in r?Ct("ShadowRoot",r,"host"):null},bn_shadowRoot=function lr(r){return r&&"shadowRoot"in r?Ct("Element",r,"shadowRoot"):null};function Cn(r){return r.nodeType===r.ELEMENT_NODE}function En(r){var s=r&&"host"in r&&"mode"in r&&bn_host(r)||null;return!(!s||!("shadowRoot"in s)||bn_shadowRoot(s)!==r)}function m(r){return"[object ShadowRoot]"===Object.prototype.toString.call(r)}function Br(r){try{var s=r.rules||r.cssRules;if(!s)return null;var c=r.href;return!c&&r.ownerNode&&r.ownerNode.ownerDocument&&(c=r.ownerNode.ownerDocument.location.href),function Jn(r){return r.includes(" background-clip: text;")&&!r.includes(" -webkit-background-clip: text;")&&(r=r.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),r}(Array.from(s,function(o){return bi(o,c)}).join(""))}catch{return null}}function bi(r,s){if(function Lr(r){return"styleSheet"in r}(r)){var c;try{c=Br(r.styleSheet)||function ni(r){var s=r.cssText;if(s.split('"').length<3)return s;var c=["@import","url("+JSON.stringify(r.href)+")"];return""===r.layerName?c.push("layer"):r.layerName&&c.push("layer("+r.layerName+")"),r.supportsText&&c.push("supports("+r.supportsText+")"),r.media.length&&c.push(r.media.mediaText),c.join(" ")+";"}(r)}catch{c=r.cssText}return r.styleSheet.href?xn(c,r.styleSheet.href):c}var n=r.cssText;return function yi(r){return"selectorText"in r}(r)&&r.selectorText.includes(":")&&(n=function Kr(r){return r.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")}(n)),s?xn(n,s):n}var Ci=function(){function r(){vt(this,"idNodeMap",new Map),vt(this,"nodeMetaMap",new WeakMap)}var s=r.prototype;return s.getId=function(n){var o;return n?(null==(o=this.getMeta(n))?void 0:o.id)??-1:-1},s.getNode=function(n){return this.idNodeMap.get(n)||null},s.getIds=function(){return Array.from(this.idNodeMap.keys())},s.getMeta=function(n){return this.nodeMetaMap.get(n)||null},s.removeNodeFromMap=function(n,o){var u=this;void 0===o&&(o=!1);var _=this.getId(n);this.idNodeMap.delete(_),o&&this.nodeMetaMap.delete(n),n.childNodes&&n.childNodes.forEac
1h(function(L){return u.removeNodeFromMap(L,o)})},s.has=function(n){return this.idNodeMap.has(n)},s.hasNode=function(n){return this.nodeMetaMap.has(n)},s.add=function(n,o){this.idNodeMap.set(o.id,n),this.nodeMetaMap.set(n,o)},s.replace=function(n,o){var u=this.getNode(n);if(u){var _=this.nodeMetaMap.get(u);_&&this.nodeMetaMap.set(o,_)}this.idNodeMap.set(n,o)},s.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},r}();function oo(r){var s=r.element,c=r.maskInputOptions,n=r.tagName,o=r.type,_=r.maskInputFn,L=r.value||"",$=o&&eo(o);return(c[n.toLowerCase()]||$&&c[$])&&(L=_?_(L,s):"*".repeat(L.length)),L}function eo(r){return r.toLowerCase()}var Ut="__rrweb_original__";function at(r){var s=r.type;return r.hasAttribute("data-rr-is-password")?"password":s?eo(s):null}function Tt(r,s){var c;try{c=new URL(r,s??window.location.href)}catch{return null}var u,o=c.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(u=o?.[1])?u:null}var Xt=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Pt=/^(?:[a-z+]+:)?\/\//i,wt=/^www\..*/i,Kt=/^(data:)([^,]*),(.*)/i;function xn(r,s){return(r||"").replace(Xt,function(c,n,o,u,_,L){var $=o||_||L,me=n||u||"";if(!$)return c;if(Pt.test($)||wt.test($)||Kt.test($))return"url("+me+$+me+")";if("/"===$[0])return"url("+me+(function Bt(r){return(r.indexOf("//")>-1?r.split("/").slice(0,3).join("/"):r.split("/")[0]).split("?")[0]}(s)+$)+me+")";var Ee=s.split("/"),Se=$.split("/");Ee.pop();for(var ft,Ae=de(Se);!(ft=Ae()).done;){var it=ft.value;"."!==it&&(".."===it?Ee.pop():Ee.push(it))}return"url("+me+Ee.join("/")+me+")"})}function Fn(r,s){return void 0===s&&(s=!1),s?r.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):r.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}var Ve=1,He=new RegExp("[^a-z0-9-_:]");function Ht(){return Ve++}var bt,un,Vn=/^[^ \t\n\r\u000c]+/,Wn=/^[, \t\n\r\u000c]+/,_r=new WeakMap;function ur(r,s){return s&&""!==s.trim()?Yr(r,s):s}function cr(r){return!("svg"!==r.tagName&&!r.ownerSVGElement)}function Yr(r,s){var c=_r.get(r);if(c||(c=r.createElement("a"),_r.set(r,c)),s){if(s.startsWith("blob:")||s.startsWith("data:"))return s}else s="";return c.setAttribute("href",s),c.href}function gi(r,s,c,n){return n&&("src"===c||"href"===c&&("use"!==s||"#"!==n[0])||"xlink:href"===c&&"#"!==n[0]||"background"===c&&("table"===s||"td"===s||"th"===s)?ur(r,n):"srcset"===c?function $n(r,s){if(""===s.trim())return s;var c=0;function n(me){var Ee,Se=me.exec(s.substring(c));return Se?(c+=(Ee=Se[0]).length,Ee):""}for(var o=[];n(Wn),!(c>=s.length);){var u=n(Vn);if(","===u.slice(-1))u=ur(r,u.substring(0,u.length-1)),o.push(u);else{var _="";u=ur(r,u);for(var L=!1;;){var $=s.charAt(c);if(""===$){o.push((u+_).trim());break}if(L)")"===$&&(L=!1);else{if(","===$){c+=1,o.push((u+_).trim());break}"("===$&&(L=!0)}_+=$,c+=1}}}return o.join(", ")}(r,n):"style"===c?xn(n,Yr(r)):"object"===s&&"data"===c?ur(r,n):n)}function ji(r,s,c){return("video"===r||"audio"===r)&&"autoplay"===s}function mo(r,s,c){if(!r)return!1;if(r.nodeType!==r.ELEMENT_NODE)return!!c&&mo(bn_parentNode(r),s,c);for(var n=r.classList.length;n--;)if(s.test(r.classList[n]))return!0;return!!c&&mo(bn_parentNode(r),s,c)}function ei(r,s,c,n){var o;if(Cn(r)){if(!bn_childNodes(o=r).length)return!1}else{if(null===bn_parentElement(r))return!1;o=bn_parentElement(r)}try{if("string"==typeof s){if(n){if(o.closest("."+s))return!0}else if(o.classList.contains(s))return!0}else if(mo(o,s,n))return!0;if(c)if(n){if(o.closest(c))return!0}else if(o.matches(c))return!0}catch{}return!1}function _i(r,s){var c=s.doc,o=s.blockClass,u=s.blockSelector,_=s.needsMask,L=s.inlineStylesheet,$=s.maskInputOptions,me=void 0===$?{}:$,Ee=s.maskTextFn,Se=s.maskInputFn,Ae=s.dataURLOptions,ft=void 0===Ae?{}:Ae,it=s.inlineImages,Zt=s.recordCanvas,nt=s.keepIframeSrcFn,qt=s.newlyAddedElement,mn=void 0!==qt&&qt,Ln=s.cssCaptured,nr=void 0!==Ln&&Ln,Zn=function ti(r,s){if(s.hasNode(r)){var c=s.getId(r);return 1===c?void 0:c}}(c,s.mirror);switch(r.nodeType){case r.DOCUMENT_NODE:return"CSS1Compat"!==r.compatMode?{type:$t.Document,childNodes:[],compatMode:r.compatMode}:{type:$t.Document,childNodes:[]};case r.DOCUMENT_TYPE_NODE:return{type:$t.DocumentType,name:r.name,publicId:r.publicId,systemId:r.systemId,rootId:Zn};case r.ELEMENT_NODE:return function xo(r,s){for(var c=s.doc,u=s.inlineStylesheet,_=s.maskInputOptions,L=void 0===_?{}:_,$=s.maskInputFn,me=s.dataURLOptions,Ee=void 0===me?{}:me,Se=s.inlineImages,Ae=s.recordCanvas,ft=s.keepIframeSrcFn,it=s.newlyAddedElement,Zt=void 0!==it&&it,nt=s.rootId,qt=function er(r,s,c){try{if("string"==typeof s){if(r.classList.contains(s))return!0}else for(var n=r.classList.length;n--;)if(s.test(r.classList[n]))return!0;
1if(c)return r.matches(c)}catch{}return!1}(r,s.blockClass,s.blockSelector),mn=function sn(r){if(W(r,HTMLFormElement))return"form";var s=eo(r.tagName);return He.test(s)?"div":s}(r),Ln={},nr=r.attributes.length,Zn=0;Zn<nr;Zn++){var Er=r.attributes[Zn];ji(mn,Er.name)||(Ln[Er.name]=gi(c,mn,eo(Er.name),Er.value))}if("link"===mn&&u){var pi=Array.from(c.styleSheets).find(function(uc){return uc.href===r.href}),zr=null;pi&&(zr=Br(pi)),zr&&(delete Ln.rel,delete Ln.href,Ln._cssText=zr)}if("style"===mn&&r.sheet){var Ri=Br(r.sheet);Ri&&(r.childNodes.length>1&&(Ri=function Dn(r,s){return function fn(r,s,c){void 0===c&&(c=!1);var n=Array.from(s.childNodes),o=[],u=0;if(n.length>1&&r&&"string"==typeof r)for(var _=Fn(r,c),L=_.length/r.length,$=1;$<n.length;$++)if(n[$].textContent&&"string"==typeof n[$].textContent){for(var me=Fn(n[$].textContent,c),Se=3;Se<me.length&&(me[Se].match(/[a-zA-Z0-9]/)||-1!==me.indexOf(me.substring(0,Se),1));Se++);for(;Se<me.length;Se++){var Ae=me.substring(0,Se),ft=_.split(Ae),it=-1;if(2===ft.length)it=ft[0].length;else if(ft.length>2&&""===ft[0]&&""!==n[$-1].textContent)it=_.indexOf(Ae,1);else if(1===ft.length){if(Ae=Ae.substring(0,Ae.length-1),(ft=_.split(Ae)).length<=1)return o.push(r),o;Se=101}else Se===me.length-1&&(it=_.indexOf(Ae));if(ft.length>=2&&Se>100){var Zt=n[$-1].textContent;if(Zt&&"string"==typeof Zt){var nt=Fn(Zt).length;it=_.indexOf(Ae,nt)}-1===it&&(it=ft[0].length)}if(-1!==it){for(var qt=Math.floor(it/L);qt>0&&qt<r.length;){if((u+=1)>50*n.length)return o.push(r),o;var mn=Fn(r.substring(0,qt),c);if(mn.length===it){o.push(r.substring(0,qt)),r=r.substring(qt),_=_.substring(it);break}mn.length<it?qt+=Math.max(1,Math.floor((it-mn.length)/L)):qt-=Math.max(1,Math.floor((mn.length-it)*L))}break}}}return o.push(r),o}(r,s).join("/* rr_split */")}(Ri,r)),Ln._cssText=Ri)}if("input"===mn||"textarea"===mn||"select"===mn){var vo=r.value,Js=r.checked;"radio"!==Ln.type&&"checkbox"!==Ln.type&&"submit"!==Ln.type&&"button"!==Ln.type&&vo?Ln.value=oo({element:r,type:at(r),tagName:mn,value:vo,maskInputOptions:L,maskInputFn:$}):Js&&(Ln.checked=Js)}if("option"===mn&&(r.selected&&!L.select?Ln.selected=!0:delete Ln.selected),"dialog"===mn&&r.open&&(Ln.rr_open_mode=r.matches("dialog:modal")?"modal":"non-modal"),"canvas"===mn&&Ae)if("2d"===r.__context)(function pt(r){var s=r.getContext("2d");if(!s)return!0;for(var n=0;n<r.width;n+=50)for(var o=0;o<r.height;o+=50){var u=s.getImageData;if(new Uint32Array((Ut in u?u[Ut]:u).call(s,n,o,Math.min(50,r.width-n),Math.min(50,r.height-o)).data.buffer).some(function($){return 0!==$}))return!1}return!0})(r)||(Ln.rr_dataURL=r.toDataURL(Ee.type,Ee.quality));else if(!("__context"in r)){var Xi=r.toDataURL(Ee.type,Ee.quality),Io=c.createElement("canvas");Io.width=r.width,Io.height=r.height,Xi!==Io.toDataURL(Ee.type,Ee.quality)&&(Ln.rr_dataURL=Xi)}if("img"===mn&&Se){bt||(bt=c.createElement("canvas"),un=bt.getContext("2d"));var Bo=r,ql=Bo.currentSrc||Bo.getAttribute("src")||"<unknown-src>",gl=Bo.crossOrigin,_l=function(){Bo.removeEventListener("load",_l);try{bt.width=Bo.naturalWidth,bt.height=Bo.naturalHeight,un.drawImage(Bo,0,0),Ln.rr_dataURL=bt.toDataURL(Ee.type,Ee.quality)}catch(uc){if("anonymous"!==Bo.crossOrigin)return Bo.crossOrigin="anonymous",void(Bo.complete&&0!==Bo.naturalWidth?_l():Bo.addEventListener("load",_l));console.warn("Cannot inline img src="+ql+"! Error: "+uc)}"anonymous"===Bo.crossOrigin&&(gl?Ln.crossOrigin=gl:Bo.removeAttribute("crossorigin"))};Bo.complete&&0!==Bo.naturalWidth?_l():Bo.addEventListener("load",_l)}if("audio"===mn||"video"===mn){var ea=Ln;ea.rr_mediaState=r.paused?"paused":"played",ea.rr_mediaCurrentTime=r.currentTime,ea.rr_mediaPlaybackRate=r.playbackRate,ea.rr_mediaMuted=r.muted,ea.rr_mediaLoop=r.loop,ea.rr_mediaVolume=r.volume}if(Zt||(r.scrollLeft&&(Ln.rr_scrollLeft=r.scrollLeft),r.scrollTop&&(Ln.rr_scrollTop=r.scrollTop)),qt){var oa=r.getBoundingClientRect();Ln={class:Ln.class,rr_width:oa.width+"px",rr_height:oa.height+"px"}}var ap;"iframe"===mn&&!ft(Ln.src)&&(r.contentDocument||(Ln.rr_src=Ln.src),delete Ln.src);try{customElements.get(mn)&&(ap=!0)}catch{}return{type:$t.Element,tagName:mn,attributes:Ln,childNodes:[],isSVG:cr(r)||void 0,needBlock:qt,rootId:nt,isCustom:ap}}(r,{doc:c,blockClass:o,blockSelector:u,inlineStylesheet:L,maskInputOptions:me,maskInputFn:Se,dataURLOptions:ft,inlineImages:it,recordCanvas:Zt,keepIframeSrcFn:nt,newlyAddedElement:mn,rootId:Zn});case r.TEXT_NODE:return function Uo(r,s){var c=s.needsMask,n=s.maskTextFn,o=s.rootId,u=s.cssCaptured,_=bn_parentNode(r),L=_&&_.tagName,$="",me="STYLE"===L||void 0,Ee="SCRIPT"===L||void 0;return Ee?$="SCRIPT_PLACEHOLDER":u||($=bn_textContent(r),me&&$&&($=xn($,Yr(s.doc))
1)),!me&&!Ee&&$&&c&&($=n?n($,bn_parentElement(r)):$.replace(/[\S]/g,"*")),{type:$t.Text,textContent:$||"",rootId:o}}(r,{doc:c,needsMask:_,maskTextFn:Ee,rootId:Zn,cssCaptured:nr});case r.CDATA_SECTION_NODE:return{type:$t.CDATA,textContent:"",rootId:Zn};case r.COMMENT_NODE:return{type:$t.Comment,textContent:bn_textContent(r)||"",rootId:Zn};default:return!1}}function Zr(r){return null==r?"":r.toLowerCase()}function dt(r,s){var c=s.doc,n=s.mirror,o=s.blockClass,u=s.blockSelector,_=s.maskTextClass,L=s.maskTextSelector,$=s.skipChild,me=void 0!==$&&$,Ee=s.inlineStylesheet,Se=void 0===Ee||Ee,Ae=s.maskInputOptions,ft=void 0===Ae?{}:Ae,it=s.maskTextFn,Zt=s.maskInputFn,nt=s.slimDOMOptions,qt=s.dataURLOptions,mn=void 0===qt?{}:qt,Ln=s.inlineImages,nr=void 0!==Ln&&Ln,Zn=s.recordCanvas,Er=void 0!==Zn&&Zn,pi=s.onSerialize,zr=s.onIframeLoad,Ri=s.iframeLoadTimeout,vo=void 0===Ri?5e3:Ri,Js=s.onStylesheetLoad,Xi=s.stylesheetLoadTimeout,Io=void 0===Xi?5e3:Xi,qs=s.keepIframeSrcFn,Bo=void 0===qs?function(){return!1}:qs,ql=s.newlyAddedElement,gl=void 0!==ql&&ql,_l=s.cssCaptured,ea=void 0!==_l&&_l,oa=s.needsMask,sp=s.preserveWhiteSpace,xc=void 0===sp||sp;oa||(oa=ei(r,_,L,void 0===oa));var nd,uc=_i(r,{doc:c,mirror:n,blockClass:o,blockSelector:u,needsMask:oa,inlineStylesheet:Se,maskInputOptions:ft,maskTextFn:it,maskInputFn:Zt,dataURLOptions:mn,inlineImages:nr,recordCanvas:Er,keepIframeSrcFn:Bo,newlyAddedElement:gl,cssCaptured:ea});if(!uc)return console.warn(r,"not serialized"),null;nd=n.hasNode(r)?n.getId(r):function wo(r,s){if(s.comment&&r.type===$t.Comment)return!0;if(r.type===$t.Element){if(s.script&&("script"===r.tagName||"link"===r.tagName&&("preload"===r.attributes.rel&&"script"===r.attributes.as||"modulepreload"===r.attributes.rel)||"link"===r.tagName&&"prefetch"===r.attributes.rel&&"string"==typeof r.attributes.href&&"js"===Tt(r.attributes.href)))return!0;if(s.headFavicon&&("link"===r.tagName&&"shortcut icon"===r.attributes.rel||"meta"===r.tagName&&(Zr(r.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Zr(r.attributes.name)||"icon"===Zr(r.attributes.rel)||"apple-touch-icon"===Zr(r.attributes.rel)||"shortcut icon"===Zr(r.attributes.rel))))return!0;if("meta"===r.tagName){if(s.headMetaDescKeywords&&Zr(r.attributes.name).match(/^description|keywords$/))return!0;if(s.headMetaSocial&&(Zr(r.attributes.property).match(/^(og|twitter|fb):/)||Zr(r.attributes.name).match(/^(og|twitter):/)||"pinterest"===Zr(r.attributes.name)))return!0;if(s.headMetaRobots&&("robots"===Zr(r.attributes.name)||"googlebot"===Zr(r.attributes.name)||"bingbot"===Zr(r.attributes.name)))return!0;if(s.headMetaHttpEquiv&&void 0!==r.attributes["http-equiv"])return!0;if(s.headMetaAuthorship&&("author"===Zr(r.attributes.name)||"generator"===Zr(r.attributes.name)||"framework"===Zr(r.attributes.name)||"publisher"===Zr(r.attributes.name)||"progid"===Zr(r.attributes.name)||Zr(r.attributes.property).match(/^article:/)||Zr(r.attributes.property).match(/^product:/)))return!0;if(s.headMetaVerification&&("google-site-verification"===Zr(r.attributes.name)||"yandex-verification"===Zr(r.attributes.name)||"csrf-token"===Zr(r.attributes.name)||"p:domain_verify"===Zr(r.attributes.name)||"verify-v1"===Zr(r.attributes.name)||"verification"===Zr(r.attributes.name)||"shopify-checkout-api-token"===Zr(r.attributes.name)))return!0}}return!1}(uc,nt)||!xc&&uc.type===$t.Text&&!uc.textContent.replace(/^\s+|\s+$/gm,"").length?-2:Ht();var hs=Object.assign(uc,{id:nd});if(n.add(r,hs),-2===nd)return null;pi&&pi(r);var Gc=!me;if(hs.type===$t.Element){Gc=Gc&&!hs.needBlock,delete hs.needBlock;var lp=bn_shadowRoot(r);lp&&m(lp)&&(hs.isShadowHost=!0)}if((hs.type===$t.Document||hs.type===$t.Element)&&Gc){nt.headWhitespace&&hs.type===$t.Element&&"head"===hs.tagName&&(xc=!1);var Ld={doc:c,mirror:n,blockClass:o,blockSelector:u,needsMask:oa,maskTextClass:_,maskTextSelector:L,skipChild:me,inlineStylesheet:Se,maskInputOptions:ft,maskTextFn:it,maskInputFn:Zt,slimDOMOptions:nt,dataURLOptions:mn,inlineImages:nr,recordCanvas:Er,preserveWhiteSpace:xc,onSerialize:pi,onIframeLoad:zr,iframeLoadTimeout:vo,onStylesheetLoad:Js,stylesheetLoadTimeout:Io,keepIframeSrcFn:Bo,cssCaptured:!1};if(hs.type!==$t.Element||"textarea"!==hs.tagName||void 0===hs.attributes.value){hs.type===$t.Element&&void 0!==hs.attributes._cssText&&"string"==typeof hs.attributes._cssText&&(Ld.cssCaptured=!0);for(var Fd,n1=de(Array.from(bn_childNodes(r)));!(Fd=n1()).done;){var Uf=dt(Fd.value,Ld);Uf&&hs.childNodes.push(Uf)}}var Nd=null;if(Cn(r)&&(Nd=bn_shadowRoot(r)))for(var Bd,Ua=de(Array.from(bn_childNodes(Nd)));!(Bd=Ua()).done;){var jf=dt(Bd.value,Ld);jf&&(m(Nd)&&(jf.isShadow=!0),hs.childNodes.push(jf))}}var Xc=bn_parentNode(r);
1return Xc&&En(Xc)&&m(Xc)&&(hs.isShadow=!0),hs.type===$t.Element&&"iframe"===hs.tagName&&function Ho(r,s,c){var n=r.contentWindow;if(n){var u,o=!1;try{u=n.document.readyState}catch{return}if("complete"!==u){var _=setTimeout(function(){o||(s(),o=!0)},c);return void r.addEventListener("load",function(){clearTimeout(_),o=!0,s()})}var L="about:blank";if(n.location.href!==L||r.src===L||""===r.src)return setTimeout(s,0),r.addEventListener("load",s);r.addEventListener("load",s)}}(r,function(){var dc=r.contentDocument;if(dc&&zr){var cp=dt(dc,{doc:dc,mirror:n,blockClass:o,blockSelector:u,needsMask:oa,maskTextClass:_,maskTextSelector:L,skipChild:!1,inlineStylesheet:Se,maskInputOptions:ft,maskTextFn:it,maskInputFn:Zt,slimDOMOptions:nt,dataURLOptions:mn,inlineImages:nr,recordCanvas:Er,preserveWhiteSpace:xc,onSerialize:pi,onIframeLoad:zr,iframeLoadTimeout:vo,onStylesheetLoad:Js,stylesheetLoadTimeout:Io,keepIframeSrcFn:Bo});cp&&zr(r,cp)}},vo),hs.type===$t.Element&&"link"===hs.tagName&&"string"==typeof hs.attributes.rel&&("stylesheet"===hs.attributes.rel||"preload"===hs.attributes.rel&&"string"==typeof hs.attributes.href&&"css"===Tt(hs.attributes.href))&&function Ei(r,s,c){var o,n=!1;try{o=r.sheet}catch{return}if(!o){var u=setTimeout(function(){n||(s(),n=!0)},c);r.addEventListener("load",function(){clearTimeout(u),n=!0,s()})}}(r,function(){if(Js){var dc=dt(r,{doc:c,mirror:n,blockClass:o,blockSelector:u,needsMask:oa,maskTextClass:_,maskTextSelector:L,skipChild:!1,inlineStylesheet:Se,maskInputOptions:ft,maskTextFn:it,maskInputFn:Zt,slimDOMOptions:nt,dataURLOptions:mn,inlineImages:nr,recordCanvas:Er,preserveWhiteSpace:xc,onSerialize:pi,onIframeLoad:zr,iframeLoadTimeout:vo,onStylesheetLoad:Js,stylesheetLoadTimeout:Io,keepIframeSrcFn:Bo});dc&&Js(r,dc)}},Io),hs}function Nn(r){if(r.__esModule)return r;var s=r.default;if("function"==typeof s){var c=function n(){return W(this,n)?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};c.prototype=s.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(c,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}),c}var Yn={exports:{}},kn=String,pr=function(){return{isColorSupported:!1,reset:kn,bold:kn,dim:kn,italic:kn,underline:kn,inverse:kn,hidden:kn,strikethrough:kn,black:kn,red:kn,green:kn,yellow:kn,blue:kn,magenta:kn,cyan:kn,white:kn,gray:kn,bgBlack:kn,bgRed:kn,bgGreen:kn,bgYellow:kn,bgBlue:kn,bgMagenta:kn,bgCyan:kn,bgWhite:kn}};Yn.exports=pr(),Yn.exports.createColors=pr;var ri=Yn.exports,Ar=Nn(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Yi=ri,uo=Ar,To=function(r){function s(n,o,u,_,L,$){var me;return(me=r.call(this,n)||this).name="CssSyntaxError",me.reason=n,L&&(me.file=L),_&&(me.source=_),$&&(me.plugin=$),typeof o<"u"&&typeof u<"u"&&("number"==typeof o?(me.line=o,me.column=u):(me.line=o.line,me.column=o.column,me.endLine=u.line,me.endColumn=u.column)),me.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(me,s),me}X(s,r);var c=s.prototype;return c.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},c.showSourceCode=function(o){var u=this;if(!this.source)return"";var _=this.source;null==o&&(o=Yi.isColorSupported),uo&&o&&(_=uo(_));var Se,Ae,L=_.split(/\r?\n/),$=Math.max(this.line-3,0),me=Math.min(this.line+2,L.length),Ee=String(me).length;if(o){var ft=Yi.createColors(!0),it=ft.bold,Zt=ft.gray,nt=ft.red;Se=function(qt){return it(nt(qt))},Ae=function(qt){return Zt(qt)}}else Se=Ae=function(qt){return qt};return L.slice($,me).map(function(qt,mn){var Ln=$+1+mn,nr=" "+(" "+Ln).slice(-Ee)+" | ";if(Ln===u.line){var Zn=Ae(nr.replace(/\d/g," "))+qt.slice(0,u.column-1).replace(/[^\t]/g," ");return Se(">")+Ae(nr)+qt+"\n "+Zn+Se("^")}return" "+Ae(nr)+qt}).join("\n")},c.toString=function(){var o=this.showSourceCode();return o&&(o="\n\n"+o+"\n"),this.name+": "+this.message+o},s}(ae(Error)),to=To;To.default=To;var Vi={};Vi.isClean=Symbol("isClean"),Vi.my=Symbol("my");var Ti={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1},yn=function(){function r(c){this.builder=c}var s=r.prototype;return s.atrule=function(n,o){var u="@"+n.name,_=n.params?this.rawValue(n,"params"):"";typeof n.raws.afterName<"u"?u+=n.raws.afterName:_&&(u+=" "),n.nodes?this.block(n,u+_):this.builder(u+_+((n.raws.between||"")+(o?";":"")),n)},s.beforeAfter=function(n,o){var u;u=this.raw(n,null,"decl"===n.type?"beforeDecl":"comment"===n.type?"beforeComment":"before"===o?"beforeRule":"beforeClose");for(var _=n.parent,L=0;_&&"root"!==_.type;)L+=1,_=_.parent;if(u.includes("\n")){var $=this.raw(n,null,"indent");if($.length)for(var me=0;me<L;me++)u+=$}return u},s.block=function(n,o){var _,u=this.raw(n,"between","beforeOpen");this.builder(o+u+"{",n,"start"),n.nodes&&n.nodes.length?(this.body(n),_=this.raw(n,"after")):_=this.raw(n,"after","emptyBody"),_&&this.builder(_),this.builder("}",n,"end")},s.body=function(n){for(var o=n.nodes.length-1;o>0&&"comment"===n.nodes[o].type;)o-=1;for(var u=this.raw(n,"semicolon"),_=0;_<n.nodes.length;_++){var L=n.nodes[_],$=this.raw(L,"before");$&&this.builder($),this.stringify(L,o!==_||u)}},s.comment=function(n){var o=this.raw(n,"left","commentLeft"),u=this.raw(n,"right","commentRight");
1this.builder("/*"+o+n.text+u+"*/",n)},s.decl=function(n,o){var u=this.raw(n,"between","colon"),_=n.prop+u+this.rawValue(n,"value");n.important&&(_+=n.raws.important||" !important"),o&&(_+=";"),this.builder(_,n)},s.document=function(n){this.body(n)},s.raw=function(n,o,u){var _;if(u||(u=o),o&&typeof(_=n.raws[o])<"u")return _;var L=n.parent;if("before"===u&&(!L||"root"===L.type&&L.first===n||L&&"document"===L.type))return"";if(!L)return Ti[u];var $=n.root();if($.rawCache||($.rawCache={}),typeof $.rawCache[u]<"u")return $.rawCache[u];if("before"===u||"after"===u)return this.beforeAfter(n,u);var me="raw"+function Wt(r){return r[0].toUpperCase()+r.slice(1)}(u);return this[me]?_=this[me]($,n):$.walk(function(Ee){if(typeof(_=Ee.raws[o])<"u")return!1}),typeof _>"u"&&(_=Ti[u]),$.rawCache[u]=_,_},s.rawBeforeClose=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return(o=u.raws.after).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawBeforeComment=function(n,o){var u;return n.walkComments(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeDecl=function(n,o){var u;return n.walkDecls(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeOpen=function(n){var o;return n.walk(function(u){if("decl"!==u.type&&typeof(o=u.raws.between)<"u")return!1}),o},s.rawBeforeRule=function(n){var o;return n.walk(function(u){if(u.nodes&&(u.parent!==n||n.first!==u)&&typeof u.raws.before<"u")return(o=u.raws.before).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawColon=function(n){var o;return n.walkDecls(function(u){if(typeof u.raws.between<"u")return o=u.raws.between.replace(/[^\s:]/g,""),!1}),o},s.rawEmptyBody=function(n){var o;return n.walk(function(u){if(u.nodes&&0===u.nodes.length&&typeof(o=u.raws.after)<"u")return!1}),o},s.rawIndent=function(n){return n.raws.indent?n.raws.indent:(n.walk(function(u){var _=u.parent;if(_&&_!==n&&_.parent&&_.parent===n&&typeof u.raws.before<"u"){var L=u.raws.before.split("\n");return o=(o=L[L.length-1]).replace(/\S/g,""),!1}}),o);var o},s.rawSemicolon=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length&&"decl"===u.last.type&&typeof(o=u.raws.semicolon)<"u")return!1}),o},s.rawValue=function(n,o){var u=n[o],_=n.raws[o];return _&&_.value===u?_.raw:u},s.root=function(n){this.body(n),n.raws.after&&this.builder(n.raws.after)},s.rule=function(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")},s.stringify=function(n,o){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,o)},r}(),Bn=yn;yn.default=yn;var Gn=Bn;function fr(r,s){new Gn(s).stringify(r)}var Tr=fr;fr.default=fr;var xi=Vi.isClean,Jr=Vi.my,Bi=to,no=Bn,ss=Tr;function as(r,s){var c=new r.constructor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&"proxyCache"!==n){var o=r[n],u=typeof o>"u"?"undefined":ce(o);"parent"===n&&"object"===u?s&&(c[n]=s):"source"===n?c[n]=o:Array.isArray(o)?c[n]=o.map(function(_){return as(_,c)}):("object"===u&&null!==o&&(o=as(o)),c[n]=o)}return c}var Go=function(){function r(c){for(var n in void 0===c&&(c={}),this.raws={},this[xi]=!1,this[Jr]=!0,c)if("nodes"===n){this.nodes=[];for(var u,o=de(c[n]);!(u=o()).done;){var _=u.value;this.append("function"==typeof _.clone?_.clone():_)}}else this[n]=c[n]}var s=r.prototype;return s.addToError=function(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){var o=this.source;n.stack=n.stack.replace(/\n\s{4}at /,"$&"+o.input.from+":"+o.start.line+":"+o.start.column+"$&")}return n},s.after=function(n){return this.parent.insertAfter(this,n),this},s.assign=function(n){for(var o in void 0===n&&(n={}),n)this[o]=n[o];return this},s.before=function(n){return this.parent.insertBefore(this,n),this},s.cleanRaws=function(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between},s.clone=function(n){void 0===n&&(n={});var o=as(this);for(var u in n)o[u]=n[u];return o},s.cloneAfter=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertAfter(this,o),o},s.cloneBefore=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertBefore(this,o),o},s.error=function(n,o){if(void 0===o&&(o={}),this.source){var u=this.rangeBy(o),_=u.end,L=u.start;return this.source.input.error(n,{column:L.column,line:L.line},{column:_.column,line:_.line},o)}return new Bi(n)},s.getProxyProcessor=function(){return{get:function(o,u){return"proxyOf"===u?o:"root"===u?function(){return o.root().toProxy()}:o[u]}
1,set:function(o,u,_){return o[u]===_||(o[u]=_,("prop"===u||"value"===u||"name"===u||"params"===u||"important"===u||"text"===u)&&o.markDirty()),!0}}},s.markDirty=function(){if(this[xi]){this[xi]=!1;for(var n=this;n=n.parent;)n[xi]=!1}},s.next=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n+1]}},s.positionBy=function(n,o){var u=this.source.start;if(n.index)u=this.positionInside(n.index,o);else if(n.word){var _=(o=this.toString()).indexOf(n.word);-1!==_&&(u=this.positionInside(_,o))}return u},s.positionInside=function(n,o){for(var u=o||this.toString(),_=this.source.start.column,L=this.source.start.line,$=0;$<n;$++)"\n"===u[$]?(_=1,L+=1):_+=1;return{column:_,line:L}},s.prev=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n-1]}},s.rangeBy=function(n){var o={column:this.source.start.column,line:this.source.start.line},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:o.column+1,line:o.line};if(n.word){var _=this.toString(),L=_.indexOf(n.word);-1!==L&&(o=this.positionInside(L,_),u=this.positionInside(L+n.word.length,_))}else n.start?o={column:n.start.column,line:n.start.line}:n.index&&(o=this.positionInside(n.index)),n.end?u={column:n.end.column,line:n.end.line}:"number"==typeof n.endIndex?u=this.positionInside(n.endIndex):n.index&&(u=this.positionInside(n.index+1));return(u.line<o.line||u.line===o.line&&u.column<=o.column)&&(u={column:o.column+1,line:o.line}),{end:u,start:o}},s.raw=function(n,o){return(new no).raw(this,n,o)},s.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},s.replaceWith=function(){for(var n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];if(this.parent){for(var me,_=this,L=!1,$=de(o);!(me=$()).done;){var Ee=me.value;Ee===this?L=!0:L?(this.parent.insertAfter(_,Ee),_=Ee):this.parent.insertBefore(_,Ee)}L||this.remove()}return this},s.root=function(){for(var n=this;n.parent&&"document"!==n.parent.type;)n=n.parent;return n},s.toJSON=function(n,o){var u={},_=null==o;o=o||new Map;var L=0;for(var $ in this)if(Object.prototype.hasOwnProperty.call(this,$)&&"parent"!==$&&"proxyCache"!==$){var me=this[$];if(Array.isArray(me))u[$]=me.map(function(Se){return"object"===(typeof Se>"u"?"undefined":ce(Se))&&Se.toJSON?Se.toJSON(null,o):Se});else if("object"===(typeof me>"u"?"undefined":ce(me))&&me.toJSON)u[$]=me.toJSON(null,o);else if("source"===$){var Ee=o.get(me.input);null==Ee&&(Ee=L,o.set(me.input,L),L++),u[$]={end:me.end,inputId:Ee,start:me.start}}else u[$]=me}return _&&(u.inputs=[].concat(o.keys()).map(function(Se){return Se.toJSON()})),u},s.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},s.toString=function(n){void 0===n&&(n=ss),n.stringify&&(n=n.stringify);var o="";return n(this,function(u){o+=u}),o},s.warn=function(n,o,u){var _={node:this};for(var L in u)_[L]=u[L];return n.warn(o,_)},ve(r,[{key:"proxyOf",get:function(){return this}}]),r}(),Hi=Go;Go.default=Go;var di=function(r){function s(c){var n;return c&&typeof c.value<"u"&&"string"!=typeof c.value&&(c=U({},c,{value:String(c.value)})),(n=r.call(this,c)||this).type="decl",n}return X(s,r),ve(s,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),s}(Hi),Cs=di;di.default=di;var gt=Ar.SourceMapConsumer,zt=Ar.SourceMapGenerator,gn=Ar.existsSync,or=Ar.readFileSync,Xn=Ar.dirname,zi=Ar.join,vi=function(){function r(c,n){if(!1!==n.map){this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");var u=this.loadMap(n.from,n.map?n.map.prev:void 0);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=Xn(this.mapFile)),u&&(this.text=u)}}var s=r.prototype;return s.consumer=function(){return this.consumerCache||(this.consumerCache=new gt(this.text)),this.consumerCache},s.decodeInline=function(n){if(/^data:application\/json;charset=utf-?8,/.test(n)||/^data:application\/json,/.test(n))return decodeURIComponent(n.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(n)||/^data:application\/json;base64,/.test(n))return function ai(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}(n.substr(RegExp.lastMatch.length));var $=n.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+$)},s.getAnnotationURL=function(n){return n.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},s.isMap=function(n){return"object"===(typeof n>"u"?"undefined":ce(n))&&("string"==typeof n.mappings||"string"==typeof n._mappings||Array.isArray(n.sections))},s.loadAnnotation=function(n){var o=n.match(/\/\*\s*# sourceMappingURL=/gm);
1if(o){var u=n.lastIndexOf(o.pop()),_=n.indexOf("*/",u);u>-1&&_>-1&&(this.annotation=this.getAnnotationURL(n.substring(u,_)))}},s.loadFile=function(n){if(this.root=Xn(n),gn(n))return this.mapFile=n,or(n,"utf-8").toString().trim()},s.loadMap=function(n,o){if(!1===o)return!1;if(o){if("string"==typeof o)return o;if("function"!=typeof o){if(W(o,gt))return zt.fromSourceMap(o).toString();if(W(o,zt))return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}var u=o(n);if(u){var _=this.loadFile(u);if(!_)throw new Error("Unable to load previous source map: "+u.toString());return _}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var L=this.annotation;return n&&(L=zi(Xn(n),L)),this.loadFile(L)}}},s.startWith=function(n,o){return!!n&&n.substr(0,o.length)===o},s.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},r}(),Sr=vi;vi.default=vi;var go=Ar.SourceMapConsumer,Si=Ar.SourceMapGenerator,ci=Ar.fileURLToPath,So=Ar.pathToFileURL,Do=Ar.isAbsolute,Po=Ar.resolve,Ds=function(r){void 0===r&&(r=21);for(var s="",c=r;c--;)s+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return s}
1,Ao=Ar,ps=to,qo=Sr,es=Symbol("fromOffsetCache"),Di=!(!go||!Si),Va=!(!Po||!Do),ja=function(){function r(c,n){if(void 0===n&&(n={}),null===c||typeof c>"u"||"object"===(typeof c>"u"?"undefined":ce(c))&&!c.toString)throw new Error("PostCSS received "+c+" instead of CSS string");if(this.css=c.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(this.file=!Va||/^\w+:\/\//.test(n.from)||Do(n.from)?n.from:Po(n.from)),Va&&Di){var o=new qo(this.css,n);if(o.text){this.map=o;var u=o.consumer().file;!this.file&&u&&(this.file=this.mapResolve(u))}}this.file||(this.id="<input css "+Ds(6)+">"),this.map&&(this.map.file=this.from)}var s=r.prototype;return s.error=function(n,o,u,_){var L,$,me;if(void 0===_&&(_={}),o&&"object"===(typeof o>"u"?"undefined":ce(o))){var Ee=o,Se=u;if("number"==typeof Ee.offset){var Ae=this.fromOffset(Ee.offset);o=Ae.line,u=Ae.col}else o=Ee.line,u=Ee.column;if("number"==typeof Se.offset){var ft=this.fromOffset(Se.offset);$=ft.line,me=ft.col}else $=Se.line,me=Se.column}else if(!u){var it=this.fromOffset(o);o=it.line,u=it.col}var Zt=this.origin(o,u,$,me);return(L=Zt?new ps(n,void 0===Zt.endLine?Zt.line:{column:Zt.column,line:Zt.line},void 0===Zt.endLine?Zt.column:{column:Zt.endColumn,line:Zt.endLine},Zt.source,Zt.file,_.plugin):new ps(n,void 0===$?o:{column:u,line:o},void 0===$?u:{column:me,line:$},this.css,this.file,_.plugin)).input={column:u,endColumn:me,endLine:$,line:o,source:this.css},this.file&&(So&&(L.input.url=So(this.file).toString()),L.input.file=this.file),L},s.fromOffset=function(n){var u;if(this[es])u=this[es];else{var _=this.css.split("\n");u=new Array(_.length);for(var L=0,$=0,me=_.length;$<me;$++)u[$]=L,L+=_[$].length+1;this[es]=u}var Ee=0;if(n>=u[u.length-1])Ee=u.length-1;else for(var Ae,Se=u.length-2;Ee<Se;)if(n<u[Ae=Ee+(Se-Ee>>1)])Se=Ae-1;else{if(!(n>=u[Ae+1])){Ee=Ae;break}Ee=Ae+1}return{col:n-u[Ee]+1,line:Ee+1}},s.mapResolve=function(n){return/^\w+:\/\//.test(n)?n:Po(this.map.consumer().sourceRoot||this.map.root||".",n)},s.origin=function(n,o,u,_){if(!this.map)return!1;var me,Ee,L=this.map.consumer(),$=L.originalPositionFor({column:o,line:n});if(!$.source)return!1;"number"==typeof u&&(me=L.originalPositionFor({column:_,line:u})),Ee=Do($.source)?So($.source):new URL($.source,this.map.consumer().sourceRoot||So(this.map.mapFile));var Se={column:$.column,endColumn:me&&me.column,endLine:me&&me.line,line:$.line,url:Ee.toString()};if("file:"===Ee.protocol){if(!ci)throw new Error("file: protocol is not available in this PostCSS build");Se.file=ci(Ee)}var Ae=L.sourceContentFor($.source);return Ae&&(Se.source=Ae),Se},s.toJSON=function(){for(var n={},o=0,u=["hasBOM","css","file","id"];o<u.length;o++){var _=u[o];null!=this[_]&&(n[_]=this[_])}return this.map&&(n.map=U({},this.map),n.map.consumerCache&&(n.map.consumerCache=void 0)),n},ve(r,[{key:"from",get:function(){return this.file||this.id}}]),r}(),Vo=ja;ja.default=ja,Ao&&Ao.registerInput&&Ao.registerInput(ja);var ls=Ar.SourceMapConsumer,Fs=Ar.SourceMapGenerator,ta=Ar.dirname,Ca=Ar.relative,Os=Ar.resolve,Xo=Ar.sep,Zi=Ar.pathToFileURL,Is=Vo,rl=!(!ls||!Fs),Ns=!!(ta&&Os&&Ca&&Xo),Ws=function(){function r(c,n,o,u){this.stringify=c,this.mapOpts=o.map||{},this.root=n,this.opts=o,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var s=r.prototype;return s.addAnnotation=function(){var n;n=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var o="\n";this.css.includes("\r\n")&&(o="\r\n"),this.css+=o+"/*# sourceMappingURL="+n+" */"},s.applyPrevMaps=function(){for(var o,n=de(this.previous());!(o=n()).done;){var u=o.value,_=this.toUrl(this.path(u.file)),L=u.root||ta(u.file),$=void 0;!1===this.mapOpts.sourcesContent?($=new ls(u.text)).sourcesContent&&($.sourcesContent=null):$=u.consumer(),this.map.applySourceMap($,_,this.toUrl(this.path(L)))}},s.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var n,o=this.root.nodes.length-1;o>=0;o--)"comment"===(n=this.root.nodes[o]).type&&0===n.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(o);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},s.generate=function(){if(this.clearAnnotation(),Ns&&rl&&this.isMap())return this.generateMap();var n="";return this.stringify(this.root,function(o){n+=o}),[n]},s.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var n=this.previous()[0].consumer();n.file=this.outputFile(),this.map=Fs.fromSourceMap(n,{ignoreInvalidMapping:!0})}else this.map=new Fs({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},s.generateString=function(){var n=this;this.css="",this.map=new Fs({file:this.outputFile(),ignoreInvalidMapping:!0});var $,me,o=1,u=1,_="<no source>",L={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(Ee,Se,Ae){if(n.css+=Ee,Se&&"end"!==Ae&&(L.generated.line=o,L.generated.column=u-1,Se.source&&Se.source.start?(L.source=n.sourcePath(Se),L.original.line=Se.source.start.line,L.original.column=Se.s
1ource.start.column-1,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,n.map.addMapping(L))),($=Ee.match(/\n/g))?(o+=$.length,me=Ee.lastIndexOf("\n"),u=Ee.length-me):u+=Ee.length,Se&&"start"!==Ae){var ft=Se.parent||{raws:{}};("decl"!==Se.type&&("atrule"!==Se.type||Se.nodes)||Se!==ft.last||ft.raws.semicolon)&&(Se.source&&Se.source.end?(L.source=n.sourcePath(Se),L.original.line=Se.source.end.line,L.original.column=Se.source.end.column-1,L.generated.line=o,L.generated.column=u-2,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,L.generated.line=o,L.generated.column=u-1,n.map.addMapping(L)))}})},s.isAnnotation=function(){return!!this.isInline()||(typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(n){return n.annotation}))},s.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var n=this.mapOpts.annotation;return!(typeof n<"u"&&!0!==n)&&(!this.previous().length||this.previous().some(function(o){return o.inline}))},s.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},s.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(n){return n.withContent()})},s.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},s.path=function(n){if(this.mapOpts.absolute||60===n.charCodeAt(0)||/^\w+:\/\//.test(n))return n;var o=this.memoizedPaths.get(n);if(o)return o;var u=this.opts.to?ta(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(u=ta(Os(u,this.mapOpts.annotation)));var _=Ca(u,n);return this.memoizedPaths.set(n,_),_},s.previous=function(){var n=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(u){if(u.source&&u.source.input.map){var _=u.source.input.map;n.previousMaps.includes(_)||n.previousMaps.push(_)}});else{var o=new Is(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps},s.setSourcesContent=function(){var n=this,o={};if(this.root)this.root.walk(function(_){if(_.source){var L=_.source.input.from;if(L&&!o[L]){o[L]=!0;var $=n.usesFileUrls?n.toFileUrl(L):n.toUrl(n.path(L));n.map.setSourceContent($,_.source.input.css)}}});else if(this.css){var u=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(u,this.css)}},s.sourcePath=function(n){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(n.source.input.from):this.toUrl(this.path(n.source.input.from))},s.toBase64=function(n){return Buffer?Buffer.from(n).toString("base64"):window.btoa(unescape(encodeURIComponent(n)))},s.toFileUrl=function(n){var o=this.memoizedFileURLs.get(n);if(o)return o;if(Zi){var u=Zi(n).toString();return this.memoizedFileURLs.set(n,u),u}throw new Error("`map.absolute` option is not available in this PostCSS build")},s.toUrl=function(n){var o=this.memoizedURLs.get(n);if(o)return o;"\\"===Xo&&(n=n.replace(/\\/g,"/"));var u=encodeURI(n).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(n,u),u},r}(),Oo=Ws,Ha=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="comment",n}return X(s,r),s}(Hi),aa=Ha;Ha.default=Ha;var Us,zo,Ta,Pa,ir=Vi.isClean,Y=Vi.my,il=Cs,Bs=aa;function Ks(r){return r.map(function(s){return s.nodes&&(s.nodes=Ks(s.nodes)),delete s.source,s})}function ms(r){if(r[ir]=!1,r.proxyOf.nodes)for(var c,s=de(r.proxyOf.nodes);!(c=s()).done;)ms(c.value)}var Ts=function(r){function s(){return r.apply(this,arguments)||this}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u);!($=L()).done;)for(var Ae,Se=de(this.normalize($.value,this.last));!(Ae=Se()).done;)this.proxyOf.nodes.push(Ae.value);return this.markDirty(),this},c.cleanRaws=function(o){if(r.prototype.cleanRaws.call(this,o),this.nodes)for(var _,u=de(this.nodes);!(_=u()).done;)_.value.cleanRaws(o)}
1,c.each=function(o){if(this.proxyOf.nodes){for(var _,L,u=this.getIterator();this.indexes[u]<this.proxyOf.nodes.length&&!1!==(L=o(this.proxyOf.nodes[_=this.indexes[u]],_));)this.indexes[u]+=1;return delete this.indexes[u],L}},c.every=function(o){return this.nodes.every(o)},c.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var o=this.lastEach;return this.indexes[o]=0,o},c.getProxyProcessor=function(){return{get:function(u,_){return"proxyOf"===_?u:u[_]?"each"===_||"string"==typeof _&&_.startsWith("walk")?function(){for(var L=arguments.length,$=new Array(L),me=0;me<L;me++)$[me]=arguments[me];var Ee;return(Ee=u)[_].apply(Ee,[].concat($.map(function(Se){return"function"==typeof Se?function(Ae,ft){return Se(Ae.toProxy(),ft)}:Se})))}:"every"===_||"some"===_?function(L){return u[_](function($){for(var me=arguments.length,Ee=new Array(me>1?me-1:0),Se=1;Se<me;Se++)Ee[Se-1]=arguments[Se];return L.apply(void 0,[].concat([$.toProxy()],Ee))})}:"root"===_?function(){return u.root().toProxy()}:"nodes"===_?u.nodes.map(function(L){return L.toProxy()}):"first"===_||"last"===_?u[_].toProxy():u[_]:u[_]},set:function(u,_,L){return u[_]===L||(u[_]=L,("name"===_||"params"===_||"selector"===_)&&u.markDirty()),!0}}},c.index=function(o){return"number"==typeof o?o:(o.proxyOf&&(o=o.proxyOf),this.proxyOf.nodes.indexOf(o))},c.insertAfter=function(o,u){var Se,_=this.index(o),L=this.normalize(u,this.proxyOf.nodes[_]).reverse();_=this.index(o);for(var me,$=de(L);!(me=$()).done;)this.proxyOf.nodes.splice(_+1,0,me.value);for(var Ae in this.indexes)_<(Se=this.indexes[Ae])&&(this.indexes[Ae]=Se+L.length);return this.markDirty(),this},c.insertBefore=function(o,u){var Ae,_=this.index(o),$=this.normalize(u,this.proxyOf.nodes[_],0===_&&"prepend").reverse();_=this.index(o);for(var Ee,me=de($);!(Ee=me()).done;)this.proxyOf.nodes.splice(_,0,Ee.value);for(var ft in this.indexes)_<=(Ae=this.indexes[ft])&&(this.indexes[ft]=Ae+$.length);return this.markDirty(),this},c.normalize=function(o,u){var _=this;if("string"==typeof o)o=Ks(Us(o).nodes);else if(typeof o>"u")o=[];else if(Array.isArray(o))for(var $,L=de(o=o.slice(0));!($=L()).done;){var me=$.value;me.parent&&me.parent.removeChild(me,"ignore")}else if("root"===o.type&&"document"!==this.type)for(var Se,Ee=de(o=o.nodes.slice(0));!(Se=Ee()).done;){var Ae=Se.value;Ae.parent&&Ae.parent.removeChild(Ae,"ignore")}else if(o.type)o=[o];else if(o.prop){if(typeof o.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof o.value&&(o.value=String(o.value)),o=[new il(o)]}else if(o.selector)o=[new zo(o)];else if(o.name)o=[new Ta(o)];else{if(!o.text)throw new Error("Unknown node type in node creation");o=[new Bs(o)]}return o.map(function(it){return it[Y]||s.rebuild(it),(it=it.proxyOf).parent&&it.parent.removeChild(it),it[ir]&&ms(it),typeof it.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(it.raws.before=u.raws.before.replace(/\S/g,"")),it.parent=_.proxyOf,it})},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u=u.reverse());!($=L()).done;){for(var Ae,Ee=this.normalize($.value,this.first,"prepend").reverse(),Se=de(Ee);!(Ae=Se()).done;)this.proxyOf.nodes.unshift(Ae.value);for(var it in this.indexes)this.indexes[it]=this.indexes[it]+Ee.length}return this.markDirty(),this},c.push=function(o){return o.parent=this,this.proxyOf.nodes.push(o),this},c.removeAll=function(){for(var u,o=de(this.proxyOf.nodes);!(u=o()).done;)u.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},c.removeChild=function(o){var u;for(var _ in o=this.index(o),this.proxyOf.nodes[o].parent=void 0,this.proxyOf.nodes.splice(o,1),this.indexes)(u=this.indexes[_])>=o&&(this.indexes[_]=u-1);return this.markDirty(),this},c.replaceValues=function(o,u,_){return _||(_=u,u={}),this.walkDecls(function(L){u.props&&!u.props.includes(L.prop)||u.fast&&!L.value.includes(u.fast)||(L.value=L.value.replace(o,_))}),this.markDirty(),this},c.some=function(o){return this.nodes.some(o)},c.walk=function(o){return this.each(function(u,_){var L;try{L=o(u,_)}catch($){throw u.addToError($)}return!1!==L&&u.walk&&(L=u.walk(o)),L})},c.walkAtRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("atrule"===_.type&&o.test(_.name))return u(_,L)}):this.walk(function(_,L){if("atrule"===_.type&&_.name===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("atrule"===_.type)return u(_,L)}))},c.walkComments=function(o){return this.walk(function(u,_){if("comment"===u.type)return o(u,_)})},c.walkDecls=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("decl"===_.type&&o.test(_.prop))return u(_,L)}):this.walk(function(_,L){if("decl"===_.type&&_.prop===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("decl"===_.type)return u(_,L)}))},c.walkRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("rule"===_.type&&o.test(_.selector))return u(_,L)}):this.walk(function(_,L){if("rule"===_.type&&_.selector===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("rule"===_.type)return u(_,L)}))},ve(s,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),s}(Hi);Ts.registerParse=function(r){Us=r},Ts.registerRule=function(r){zo=r},Ts.registerAtRule=function(r){Ta=r},Ts.registerRoot=function(r){Pa=r};var Oi=Ts;Ts.default=Ts,Ts.rebuild=function(r){"atrule"===r.type?Object.setPrototypeOf(r,Ta.prototype):"rule"===r.type?Object.setPrototypeOf(r,zo.prototype):"decl"===r.type?Object.setPrototypeOf(r,il.prototype):"comment"===r.type?Object.setPrototypeOf(r,Bs.prototype):"root"===r.type&&Object.setPrototypeOf(r,Pa.prototype),r[Y]=!0,r.nodes&&r.nodes.forEac
1h(function(s){Ts.rebuild(s)})};var ts,$o,_o=function(r){function s(n){var o;return(o=r.call(this,U({type:"document"},n))||this).nodes||(o.nodes=[]),o}return X(s,r),s.prototype.toResult=function(o){return void 0===o&&(o={}),new ts(new $o,this,o).stringify()},s}(Oi);_o.registerLazyResult=function(r){ts=r},_o.registerProcessor=function(r){$o=r};var la=_o;_o.default=_o;var ol=function(){function r(c,n){if(void 0===n&&(n={}),this.type="warning",this.text=c,n.node&&n.node.source){var o=n.node.rangeBy(n);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(var u in n)this[u]=n[u]}return r.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},r}(),Aa=ol;ol.default=ol;var fc=Aa,ca=function(){function r(c,n,o){this.processor=c,this.messages=[],this.root=n,this.opts=o,this.css=void 0,this.map=void 0}var s=r.prototype;return s.toString=function(){return this.css},s.warn=function(n,o){void 0===o&&(o={}),o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);var u=new fc(n,o);return this.messages.push(u),u},s.warnings=function(){return this.messages.filter(function(n){return"warning"===n.type})},ve(r,[{key:"content",get:function(){return this.css}}]),r}(),Lo=ca;ca.default=ca;var da=/[\t\n\f\r "#'()/;[\\\]{}]/g,za=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Za=/.[\r\n"'(/\\]/,Rl=/[\da-f]/i,Ra=Oi,Wa=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="atrule",o}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.append).call.apply(L,[].concat([this],u))},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.prepend).call.apply(L,[].concat([this],u))},s}(Ra),Ea=Wa;Wa.default=Wa,Ra.registerAtRule(Wa);var ra,ka,kl=Oi,fa=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="root",o.nodes||(o.nodes=[]),o}X(s,r);var c=s.prototype;return c.normalize=function(o,u,_){var L=r.prototype.normalize.call(this,o);if(u)if("prepend"===_)this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(var me,$=de(L);!(me=$()).done;)me.value.raws.before=u.raws.before;return L},c.removeChild=function(o,u){var _=this.index(o);return!u&&0===_&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[_].raws.before),r.prototype.removeChild.call(this,o)},c.toResult=function(o){return void 0===o&&(o={}),new ra(new ka,this,o).stringify()},s}(kl);fa.registerLazyResult=function(r){ra=r},fa.registerProcessor=function(r){ka=r};var Qa=fa;fa.default=fa,kl.registerRoot(fa);var Ja={comma:function(s){return Ja.split(s,[","],!0)},space:function(s){return Ja.split(s,[" ","\n","\t"])},split:function(s,c,n){for(var Ae,o=[],u="",_=!1,L=0,$=!1,me="",Ee=!1,Se=de(s);!(Ae=Se()).done;){var ft=Ae.value;Ee?Ee=!1:"\\"===ft?Ee=!0:$?ft===me&&($=!1):'"'===ft||"'"===ft?($=!0,me=ft):"("===ft?L+=1:")"===ft?L>0&&(L-=1):0===L&&c.includes(ft)&&(_=!0),_?(""!==u&&o.push(u.trim()),u="",_=!1):u+=ft}return(n||""!==u)&&o.push(u.trim()),o}},tc=Ja;Ja.default=Ja;var nc=Oi,al=tc,wa=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="rule",n.nodes||(n.nodes=[]),n}return X(s,r),ve(s,[{key:"selectors",get:function(){return al.comma(this.selector)},set:function(n){var o=this.selector?this.selector.match(/,\s*/):null,u=o?o[0]:","+this.raw("between","beforeOpen");this.selector=n.join(u)}}]),s}(nc),Ma=wa;wa.default=wa,nc.registerRule(wa);var Ll=Cs,Vs=aa,Fl=Ea,Nl=Qa,ll=Ma,yl={empty:!0,space:!0},$i=function(){function r(c){this.input=c,this.root=new Nl,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}var s=r.prototype;return s.atrule=function(n){var o=new Fl;o.name=n[1].slice(1),""===o.name&&this.unnamedAtrule(o,n),this.init(o,n[2]);for(var u,_,L,$=!1,me=!1,Ee=[],Se=[];!this.tokenizer.endOfFile();){if("("===(u=(n=this.tokenizer.nextToken())[0])||"["===u?Se.push("("===u?")":"]"):"{"===u&&Se.length>0?Se.push("}"):u===Se[Se.length-1]&&Se.pop(),0===Se.length){if(";"===u){o.source.end=this.getPosition(n[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===u){me=!0;break}if("}"===u){if(Ee.length>0){for(_=Ee[L=Ee.length-1];_&&"space"===_[0];)_=Ee[--L];_&&(o.source.end=this.getPosition(_[3]||_[2]),o.source.end.offset++)}this.end(n);break}Ee.push(n)}
1else Ee.push(n);if(this.tokenizer.endOfFile()){$=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(Ee),Ee.length?(o.raws.afterName=this.spacesAndCommentsFromStart(Ee),this.raw(o,"params",Ee),$&&(o.source.end=this.getPosition((n=Ee[Ee.length-1])[3]||n[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),me&&(o.nodes=[],this.current=o)},s.checkMissedSemicolon=function(n){var o=this.colon(n);if(!1!==o){for(var _,u=0,L=o-1;L>=0&&("space"===(_=n[L])[0]||2!==(u+=1));L--);throw this.input.error("Missed semicolon","word"===_[0]?_[3]+1:_[2])}},s.colon=function(n){for(var u,_,L,me,o=0,$=de(n.entries());!(me=$()).done;){var Ee=me.value,Se=Ee[0];if("("===(_=(u=Ee[1])[0])&&(o+=1),")"===_&&(o-=1),0===o&&":"===_){if(L){if("word"===L[0]&&"progid"===L[1])continue;return Se}this.doubleColon(u)}L=u}return!1},s.comment=function(n){var o=new Vs;this.init(o,n[2]),o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++;var u=n[1].slice(2,-2);if(/^\s*$/.test(u))o.text="",o.raws.left=u,o.raws.right="";else{var _=u.match(/^(\s*)([^]*\S)(\s*)$/);o.text=_[2],o.raws.left=_[1],o.raws.right=_[3]}},s.createTokenizer=function(){this.tokenizer=function(s,c){void 0===c&&(c={});var u,_,L,$,me,Ee,Se,Ae,ft,it,n=s.css.valueOf(),o=c.ignoreErrors,Zt=n.length,nt=0,qt=[],mn=[];function nr(zr){throw s.error("Unclosed "+zr,nt)}return{back:function pi(zr){mn.push(zr)},endOfFile:function Zn(){return 0===mn.length&&nt>=Zt},nextToken:function Er(zr){if(mn.length)return mn.pop();if(!(nt>=Zt)){var Ri=!!zr&&zr.ignoreUnclosed;switch(u=n.charCodeAt(nt)){case 10:case 32:case 9:case 13:case 12:_=nt;do{u=n.charCodeAt(_+=1)}while(32===u||10===u||9===u||13===u||12===u);it=["space",n.slice(nt,_)],nt=_-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var vo=String.fromCharCode(u);it=[vo,vo,nt];break;case 40:if(Ae=qt.length?qt.pop()[1]:"",ft=n.charCodeAt(nt+1),"url"===Ae&&39!==ft&&34!==ft&&32!==ft&&10!==ft&&9!==ft&&12!==ft&&13!==ft){_=nt;do{if(Ee=!1,-1===(_=n.indexOf(")",_+1))){if(o||Ri){_=nt;break}nr("bracket")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["brackets",n.slice(nt,_+1),nt,_],nt=_}else _=n.indexOf(")",nt+1),$=n.slice(nt,_+1),-1===_||Za.test($)?it=["(","(",nt]:(it=["brackets",$,nt,_],nt=_);break;case 39:case 34:L=39===u?"'":'"',_=nt;do{if(Ee=!1,-1===(_=n.indexOf(L,_+1))){if(o||Ri){_=nt+1;break}nr("string")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["string",n.slice(nt,_+1),nt,_],nt=_;break;case 64:da.lastIndex=nt+1,da.test(n),it=["at-word",n.slice(nt,1+(_=0===da.lastIndex?n.length-1:da.lastIndex-2)),nt,_],nt=_;break;case 92:for(_=nt,me=!0;92===n.charCodeAt(_+1);)_+=1,me=!me;if(u=n.charCodeAt(_+1),me&&47!==u&&32!==u&&10!==u&&9!==u&&13!==u&&12!==u&&Rl.test(n.charAt(_+=1))){for(;Rl.test(n.charAt(_+1));)_+=1;32===n.charCodeAt(_+1)&&(_+=1)}it=["word",n.slice(nt,_+1),nt,_],nt=_;break;default:47===u&&42===n.charCodeAt(nt+1)?(0===(_=n.indexOf("*/",nt+2)+1)&&(o||Ri?_=n.length:nr("comment")),it=["comment",n.slice(nt,_+1),nt,_],nt=_):(za.lastIndex=nt+1,za.test(n),it=["word",n.slice(nt,1+(_=0===za.lastIndex?n.length-1:za.lastIndex-2)),nt,_],qt.push(it),nt=_)}return nt++,it}},position:function Ln(){return nt}}}(this.input)},s.decl=function(n,o){var u=new Ll;this.init(u,n[0][2]);var $,_=n[n.length-1];for(";"===_[0]&&(this.semicolon=!0,n.pop()),u.source.end=this.getPosition(_[3]||_[2]||function gs(r){for(var s=r.length-1;s>=0;s--){var c=r[s],n=c[3]||c[2];if(n)return n}}(n)),u.source.end.offset++;"word"!==n[0][0];)1===n.length&&this.unknownWord(n),u.raws.before+=n.shift()[1];for(u.source.start=this.getPosition(n[0][2]),u.prop="";n.length;){var L=n[0][0];if(":"===L||"space"===L||"comment"===L)break;u.prop+=n.shift()[1]}for(u.raws.between="";n.length;){if(":"===($=n.shift())[0]){u.raws.between+=$[1];break}"word"===$[0]&&/\w/.test($[1])&&this.unknownWord([$]),u.raws.between+=$[1]}("_"===u.prop[0]||"*"===u.prop[0])&&(u.raws.before+=u.prop[0],u.prop=u.prop.slice(1));for(var Ee,me=[];n.length&&("space"===(Ee=n[0][0])||"comment"===Ee);)me.push(n.shift());this.precheckMissedSemicolon(n);for(var Se=n.length-1;Se>=0;Se--){if("!important"===($=n[Se])[1].toLowerCase()){u.important=!0;var Ae=this.stringFrom(n,Se);" !important"!==(Ae=this.spacesFromEnd(n)+Ae)&&(u.raws.important=Ae);break}if("important"===$[1].toLowerCase()){for(var ft=n.slice(0),it="",Zt=Se;Zt>0;Zt--){var nt=ft[Zt][0];if(0===it.trim().indexOf("!")&&"space"!==nt)break;
1it=ft.pop()[1]+it}0===it.trim().indexOf("!")&&(u.important=!0,u.raws.important=it,n=ft)}if("space"!==$[0]&&"comment"!==$[0])break}n.some(function(mn){return"space"!==mn[0]&&"comment"!==mn[0]})&&(u.raws.between+=me.map(function(mn){return mn[1]}).join(""),me=[]),this.raw(u,"value",me.concat(n),o),u.value.includes(":")&&!o&&this.checkMissedSemicolon(n)},s.doubleColon=function(n){throw this.input.error("Double colon",{offset:n[2]},{offset:n[2]+n[1].length})},s.emptyRule=function(n){var o=new ll;this.init(o,n[2]),o.selector="",o.raws.between="",this.current=o},s.end=function(n){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(n[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(n)},s.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},s.freeSemicolon=function(n){if(this.spaces+=n[1],this.current.nodes){var o=this.current.nodes[this.current.nodes.length-1];o&&"rule"===o.type&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}},s.getPosition=function(n){var o=this.input.fromOffset(n);return{column:o.col,line:o.line,offset:n}},s.init=function(n,o){this.current.push(n),n.source={input:this.input,start:this.getPosition(o)},n.raws.before=this.spaces,this.spaces="","comment"!==n.type&&(this.semicolon=!1)},s.other=function(n){for(var o=!1,u=null,_=!1,L=null,$=[],me=n[1].startsWith("--"),Ee=[],Se=n;Se;){if(u=Se[0],Ee.push(Se),"("===u||"["===u)L||(L=Se),$.push("("===u?")":"]");else if(me&&_&&"{"===u)L||(L=Se),$.push("}");else if(0===$.length){if(";"===u){if(_)return void this.decl(Ee,me);break}if("{"===u)return void this.rule(Ee);if("}"===u){this.tokenizer.back(Ee.pop()),o=!0;break}":"===u&&(_=!0)}else u===$[$.length-1]&&($.pop(),0===$.length&&(L=null));Se=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),$.length>0&&this.unclosedBracket(L),o&&_){if(!me)for(;Ee.length&&("space"===(Se=Ee[Ee.length-1][0])||"comment"===Se);)this.tokenizer.back(Ee.pop());this.decl(Ee,me)}else this.unknownWord(Ee)},s.parse=function(){for(var n;!this.tokenizer.endOfFile();)switch(n=this.tokenizer.nextToken(),n[0]){case"space":this.spaces+=n[1];break;case";":this.freeSemicolon(n);break;case"}":this.end(n);break;case"comment":this.comment(n);break;case"at-word":this.atrule(n);break;case"{":this.emptyRule(n);break;default:this.other(n)}this.endFile()},s.precheckMissedSemicolon=function(){},s.raw=function(n,o,u,_){for(var L,$,me=u.length,Ee="",Se=!0,it=0;it<me;it+=1)"space"!==($=(L=u[it])[0])||it!==me-1||_?"comment"===$&&(yl[u[it-1]?u[it-1][0]:"empty"]||yl[u[it+1]?u[it+1][0]:"empty"]||","===Ee.slice(-1))?Se=!1:Ee+=L[1]:Se=!1;if(!Se){var Zt=u.reduce(function(nt,qt){return nt+qt[1]},"");n.raws[o]={raw:Zt,value:Ee}}n[o]=Ee},s.rule=function(n){n.pop();var o=new ll;this.init(o,n[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(n),this.raw(o,"selector",n),this.current=o},s.spacesAndCommentsFromEnd=function(n){for(var o,u="";n.length&&("space"===(o=n[n.length-1][0])||"comment"===o);)u=n.pop()[1]+u;return u},s.spacesAndCommentsFromStart=function(n){for(var o,u="";n.length&&("space"===(o=n[0][0])||"comment"===o);)u+=n.shift()[1];return u},s.spacesFromEnd=function(n){for(var u="";n.length&&"space"===n[n.length-1][0];)u=n.pop()[1]+u;return u},s.stringFrom=function(n,o){for(var u="",_=o;_<n.length;_++)u+=n[_][1];return n.splice(o,n.length-o),u},s.unclosedBlock=function(){var n=this.current.source.start;throw this.input.error("Unclosed block",n.line,n.column)},s.unclosedBracket=function(n){throw this.input.error("Unclosed bracket",{offset:n[2]},{offset:n[2]+1})},s.unexpectedClose=function(n){throw this.input.error("Unexpected }",{offset:n[2]},{offset:n[2]+1})},s.unknownWord=function(n){throw this.input.error("Unknown word",{offset:n[0][2]},{offset:n[0][2]+n[0][1].length})},s.unnamedAtrule=function(n,o){throw this.input.error("At-rule without name",{offset:o[2]},{offset:o[2]+o[1].length})},r}(),fi=Oi,Kl=$i,qa=Vo;function xa(r,s){var c=new qa(r,s),n=new Kl(c);try{n.parse()}catch(o){throw o}return n.root}var ha=xa;xa.default=xa,fi.registerParse(xa);var js=Vi.isClean,Bl=Vi.my,Hr=Oo,Rr=Tr,bl=Oi,l=la,C=Lo,k=ha,Q=Qa,oe={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},se={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},y={Once:!0,postcssPlugin:!0,prepare:!0};function O(r){return"object"===(typeof r>"u"?"undefined":ce(r))&&"function"==typeof r.then}function V(r){var s=!1,c=oe[r.type];return"decl"===r.type?s=r.prop.toLowerCase():"atrule"===r.type&&(s=r.name.toLowerCase()),s&&r.append?[c,c+"-"+s,0,c+"Exit",c+"Exit-"+s]:s?[c,c+"-"+s,c+"Exit",c+"Exit-"+s]:r.append?[c,0,c+"Exit"]:[c,c+"Exit"]}function J(r){return{eventIndex:0,events:"document"===r.type?["Document",0,"DocumentExit"]:"root"===r.type?["Root",0,"RootExit"]:V(r),iterator:0,node:r,visitorIndex:0,visitors:[]}}
1function H(r){return r[js]=!1,r.nodes&&r.nodes.forEach(function(s){return H(s)}),r}var z={},Ce=function(){function r(c,n,o){var _,u=this;if(this.stringified=!1,this.processed=!1,"object"!==(typeof n>"u"?"undefined":ce(n))||null===n||"root"!==n.type&&"document"!==n.type)if(W(n,r)||W(n,C))_=H(n.root),n.map&&(typeof o.map>"u"&&(o.map={}),o.map.inline||(o.map.inline=!1),o.map.prev=n.map);else{var L=k;o.syntax&&(L=o.syntax.parse),o.parser&&(L=o.parser),L.parse&&(L=L.parse);try{_=L(n,o)}catch($){this.processed=!0,this.error=$}_&&!_[Bl]&&bl.rebuild(_)}else _=H(n);this.result=new C(c,_,o),this.helpers=U({},z,{postcss:z,result:this.result}),this.plugins=this.processor.plugins.map(function($){return"object"===(typeof $>"u"?"undefined":ce($))&&$.prepare?U({},$,$.prepare(u.result)):$})}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},s.handleError=function(n,o){var u=this.result.lastPlugin;try{o&&o.addToError(n),this.error=n,"CssSyntaxError"!==n.name||n.plugin||(n.plugin=u.postcssPlugin,n.setMessage())}catch(Se){console&&console.error&&console.error(Se)}return n},s.prepareVisitors=function(){var n=this;this.listeners={};for(var _,o=function(Ee,Se,Ae){n.listeners[Se]||(n.listeners[Se]=[]),n.listeners[Se].push([Ee,Ae])},u=de(this.plugins);!(_=u()).done;){var L=_.value;if("object"===(typeof L>"u"?"undefined":ce(L)))for(var $ in L){if(!se[$]&&/^[A-Z]/.test($))throw new Error("Unknown event "+$+" in "+L.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!y[$])if("object"===ce(L[$]))for(var me in L[$])o(L,"*"===me?$:$+"-"+me.toLowerCase(),L[$][me]);else"function"==typeof L[$]&&o(L,$,L[$])}}this.hasListener=Object.keys(this.listeners).length>0},s.runAsync=function(){var n=this;return ee(function(){var o,_,L,$,me,Ee,Se,ft,it,Zt;return _e(this,function(nt){switch(nt.label){case 0:n.plugin=0,o=0,nt.label=1;case 1:if(!(o<n.plugins.length))return[3,6];if(!O(_=n.runOnRoot(n.plugins[o])))return[3,5];nt.label=2;case 2:return nt.trys.push([2,4,,5]),[4,_];case 3:return nt.sent(),[3,5];case 4:throw L=nt.sent(),n.handleError(L);case 5:return o++,[3,1];case 6:if(n.prepareVisitors(),!n.hasListener)return[3,18];$=n.result.root,nt.label=7;case 7:if($[js])return[3,14];$[js]=!0,me=[J($)],nt.label=8;case 8:if(!(me.length>0))return[3,13];if(!O(Ee=n.visitTick(me)))return[3,12];nt.label=9;case 9:return nt.trys.push([9,11,,12]),[4,Ee];case 10:return nt.sent(),[3,12];case 11:throw Se=nt.sent(),n.handleError(Se,me[me.length-1].node);case 12:return[3,8];case 13:return[3,7];case 14:if(!n.listeners.OnceExit)return[3,18];ft=function(){var qt,Ln,nr,Zn;return _e(this,function(Er){switch(Er.label){case 0:Ln=(qt=Zt.value)[1],n.result.lastPlugin=qt[0],Er.label=1;case 1:return Er.trys.push([1,6,,7]),"document"!==$.type?[3,3]:(nr=$.nodes.map(function(pi){return Ln(pi,n.helpers)}),[4,Promise.all(nr)]);case 2:return Er.sent(),[3,5];case 3:return[4,Ln($,n.helpers)];case 4:Er.sent(),Er.label=5;case 5:return[3,7];case 6:throw Zn=Er.sent(),n.handleError(Zn);case 7:return[2]}})},it=de(n.listeners.OnceExit),nt.label=15;case 15:return(Zt=it()).done?[3,18]:[5,we(ft())];case 16:nt.sent(),nt.label=17;case 17:return[3,15];case 18:return n.processed=!0,[2,n.stringify()]}})})()},s.runOnRoot=function(n){var o=this;this.result.lastPlugin=n;try{if("object"===(typeof n>"u"?"undefined":ce(n))&&n.Once){if("document"===this.result.root.type){var u=this.result.root.nodes.map(function(_){return n.Once(_,o.helpers)});return O(u[0])?Promise.all(u):u}return n.Once(this.result.root,this.helpers)}if("function"==typeof n)return n(this.result.root,this.result)}catch(_){throw this.handleError(_)}},s.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var n=this.result.opts,o=Rr;n.syntax&&(o=n.syntax.stringify),n.stringifier&&(o=n.stringifier),o.stringify&&(o=o.stringify);var _=new Hr(o,this.result.root,this.result.opts).generate();return this.result.css=_[0],this.result.map=_[1],this.result},s.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var o,n=de(this.plugins);!(o=n()).done;)if(O(this.runOnRoot(o.value)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){for(var L=this.result.root;!L[js];)L[js]=!0,this.walkSync(L);if(this.listeners.OnceExit)if("document"===L.type)for(var me,$=de(L.nodes);!(me=$()).done;)this.visitSync(this.listeners.OnceExit,me.value);else this.visitSync(this.listeners.OnceExit,L)}return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this.css},s.visitSync=function(n,o){for(var _,u=de(n);!(_=u()).done;){var L=_.value,me=L[1];this.result.lastPlugin=L[0];var Ee=void 0;try{Ee=me(o,this.helpers)}catch(Se){throw this.handleError(Se,o.proxyOf)}if("root"!==o.type&&"document"!==o.type&&!o.parent)return!0;
1if(O(Ee))throw this.getAsyncError()}},s.visitTick=function(n){var o=n[n.length-1],u=o.node,_=o.visitors;if("root"===u.type||"document"===u.type||u.parent){if(_.length>0&&o.visitorIndex<_.length){var L=_[o.visitorIndex],$=L[0],me=L[1];o.visitorIndex+=1,o.visitorIndex===_.length&&(o.visitors=[],o.visitorIndex=0),this.result.lastPlugin=$;try{return me(u.toProxy(),this.helpers)}catch(it){throw this.handleError(it,u)}}if(0!==o.iterator){for(var Se,Ee=o.iterator;Se=u.nodes[u.indexes[Ee]];)if(u.indexes[Ee]+=1,!Se[js])return Se[js]=!0,void n.push(J(Se));o.iterator=0,delete u.indexes[Ee]}for(var Ae=o.events;o.eventIndex<Ae.length;){var ft=Ae[o.eventIndex];if(o.eventIndex+=1,0===ft)return void(u.nodes&&u.nodes.length&&(u[js]=!0,o.iterator=u.getIterator()));if(this.listeners[ft])return void(o.visitors=this.listeners[ft])}n.pop()}else n.pop()},s.walkSync=function(n){var o=this;n[js]=!0;for(var L,_=de(V(n));!(L=_()).done;){var $=L.value;if(0===$)n.nodes&&n.each(function(Ee){Ee[js]||o.walkSync(Ee)});else{var me=this.listeners[$];if(me&&this.visitSync(me,n.toProxy()))return}}},s.warnings=function(){return this.sync().warnings()},ve(r,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),r}();Ce.registerPostcss=function(r){z=r};var he=Ce;Ce.default=Ce,Q.registerLazyResult(Ce),l.registerLazyResult(Ce);var Te=Oo,Oe=Tr,yt=ha,It=Lo,St=function(){function r(c,n,o){n=n.toString(),this.stringified=!1,this._processor=c,this._css=n,this._opts=o,this._map=void 0;var u,_=Oe;this.result=new It(this._processor,u,this._opts),this.result.css=n;var L=this;Object.defineProperty(this.result,"root",{get:function(){return L.root}});var $=new Te(_,u,this._opts,n);if($.isMap()){var me=$.generate(),Ee=me[0],Se=me[1];Ee&&(this.result.css=Ee),Se&&(this.result.map=Se)}else $.clearAnnotation(),this.result.css=$.css}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.sync=function(){if(this.error)throw this.error;return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this._css},s.warnings=function(){return[]},ve(r,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var n,o=yt;try{n=o(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=n,n}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),r}(),vn=St;St.default=St;var wn=vn,$e=he,et=la,Lt=Qa,Ft=function(){function r(c){void 0===c&&(c=[]),this.version="8.4.38",this.plugins=this.normalize(c)}var s=r.prototype;return s.normalize=function(n){for(var _,o=[],u=de(n);!(_=u()).done;){var L=_.value;if(!0===L.postcss?L=L():L.postcss&&(L=L.postcss),"object"===(typeof L>"u"?"undefined":ce(L))&&Array.isArray(L.plugins))o=o.concat(L.plugins);else if("object"===(typeof L>"u"?"undefined":ce(L))&&L.postcssPlugin)o.push(L);else if("function"==typeof L)o.push(L);else if("object"!==(typeof L>"u"?"undefined":ce(L))||!L.parse&&!L.stringify)throw new Error(L+" is not a PostCSS plugin")}return o},s.process=function(n,o){return void 0===o&&(o={}),this.plugins.length||o.parser||o.stringifier||o.syntax?new $e(this,n,o):new wn(this,n,o)},s.use=function(n){return this.plugins=this.plugins.concat(this.normalize([n])),this},r}(),nn=Ft;Ft.default=Ft,Lt.registerProcessor(Ft),et.registerProcessor(Ft);var _n=Cs,en=Sr,an=aa,pn=Ea,Rn=Vo,$r=Qa,ii=Ma;function Ur(r,s){if(Array.isArray(r))return r.map(function(Se){return Ur(Se)});var c=r.inputs,n=re(r,["inputs"]);if(c){s=[];for(var u,o=de(c);!(u=o()).done;){var L=U({},u.value,{__proto__:Rn.prototype});L.map&&(L.map=U({},L.map,{__proto__:en.prototype})),s.push(L)}}if(n.nodes&&(n.nodes=r.nodes.map(function(Se){return Ur(Se,s)})),n.source){var $=n.source,me=$.inputId,Ee=re($,["inputId"]);n.source=Ee,null!=me&&(n.source.input=s[me])}if("root"===n.type)return new $r(n);if("decl"===n.type)return new _n(n);if("rule"===n.type)return new ii(n);if("comment"===n.type)return new an(n);if("atrule"===n.type)return new pn(n);throw new Error("Unknown node type: "+r.type)}var hi=Ur;Ur.default=Ur;var Ni=to,fo=Cs,Pi=he,Dr=Oi,ws=nn,cs=Tr,us=hi,Yo=la,ho=Aa,jo=aa,io=Ea,ds=Lo,Ms=Vo,Co=ha,Gs=tc,Ul=Ma,pa=Qa,Sc=Hi;function Li(){for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return 1===s.length&&Array.isArray(s[0])&&(s=s[0]),new ws(s)}Li.plugin=function(s,c){var u,n=!1;function o(){for(var _=arguments.length,L=new Array(_),$=0;$<_;$++)L[$]=arguments[$];console&&console.warn&&!n&&(n=!0,console.warn(s+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(s+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var me=c.apply(void 0,[].concat(L));return me.postcssPlugin=s,me.postcssVersion=(new ws).version,me}return Object.defineProperty(o,"postcss",{get:function(){return u||(u=o()),u}}),o.process=function(_,L,$){return Li([o($)]).process(_,L)},o},Li.stringify=cs,Li.parse=Co,Li.fromJSON=us,Li.list=Gs,Li.comment=function(r){return new jo(r)},Li.atRule=function(r){return new io(r)},Li.decl=function(r){return new fo(r)},Li.rule=function(r){return new Ul(r)},Li.root=function(r){return new pa(r)},Li.document=function(r){return new Yo(r)},Li.CssSyntaxError=Ni,Li.Declaration=fo,Li.Container=Dr,Li.Processor=ws,Li.Document=Yo,Li.Comment=jo,Li.Warning=ho,Li.AtRule=io,Li.Result=ds,Li.Input=Ms,Li.Rule=Ul,Li.Root=pa,Li.Node=Sc,Pi.registerPostcss(Li),Li.default=Li;var ot=Object.defineProperty,hn=function(r,s,c){return function(r,s,c){return s in r?ot(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c}(r,"symbol"!==(typeof s>"u"?"undefined":ce(s))?s+"":s,c)};
1function rr(r){if(r.__esModule)return r;var s=r.default;if("function"==typeof s){var c=function n(){return W(this,n)?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};c.prototype=s.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(c,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}),c}var gr={exports:{}},vr=String,oi=function(){return{isColorSupported:!1,reset:vr,bold:vr,dim:vr,italic:vr,underline:vr,inverse:vr,hidden:vr,strikethrough:vr,black:vr,red:vr,green:vr,yellow:vr,blue:vr,magenta:vr,cyan:vr,white:vr,gray:vr,bgBlack:vr,bgRed:vr,bgGreen:vr,bgYellow:vr,bgBlue:vr,bgMagenta:vr,bgCyan:vr,bgWhite:vr}};gr.exports=oi(),gr.exports.createColors=oi;var lo=gr.exports,Ui=rr(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Sa=lo,ma=Ui,Xs=function(r){function s(n,o,u,_,L,$){var me;return(me=r.call(this,n)||this).name="CssSyntaxError",me.reason=n,L&&(me.file=L),_&&(me.source=_),$&&(me.plugin=$),typeof o<"u"&&typeof u<"u"&&("number"==typeof o?(me.line=o,me.column=u):(me.line=o.line,me.column=o.column,me.endLine=u.line,me.endColumn=u.column)),me.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(me,s),me}X(s,r);var c=s.prototype;return c.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},c.showSourceCode=function(o){var u=this;if(!this.source)return"";var _=this.source;null==o&&(o=Sa.isColorSupported),ma&&o&&(_=ma(_));var Se,Ae,L=_.split(/\r?\n/),$=Math.max(this.line-3,0),me=Math.min(this.line+2,L.length),Ee=String(me).length;if(o){var ft=Sa.createColors(!0),it=ft.bold,Zt=ft.gray,nt=ft.red;Se=function(qt){return it(nt(qt))},Ae=function(qt){return Zt(qt)}}else Se=Ae=function(qt){return qt};return L.slice($,me).map(function(qt,mn){var Ln=$+1+mn,nr=" "+(" "+Ln).slice(-Ee)+" | ";if(Ln===u.line){var Zn=Ae(nr.replace(/\d/g," "))+qt.slice(0,u.column-1).replace(/[^\t]/g," ");return Se(">")+Ae(nr)+qt+"\n "+Zn+Se("^")}return" "+Ae(nr)+qt}).join("\n")},c.toString=function(){var o=this.showSourceCode();return o&&(o="\n\n"+o+"\n"),this.name+": "+this.message+o},s}(ae(Error)),Ga=Xs;Xs.default=Xs;var Ys={};Ys.isClean=Symbol("isClean"),Ys.my=Symbol("my");var cl={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1},Gl=function(){function r(c){this.builder=c}var s=r.prototype;return s.atrule=function(n,o){var u="@"+n.name,_=n.params?this.rawValue(n,"params"):"";typeof n.raws.afterName<"u"?u+=n.raws.afterName:_&&(u+=" "),n.nodes?this.block(n,u+_):this.builder(u+_+((n.raws.between||"")+(o?";":"")),n)},s.beforeAfter=function(n,o){var u;u=this.raw(n,null,"decl"===n.type?"beforeDecl":"comment"===n.type?"beforeComment":"before"===o?"beforeRule":"beforeClose");for(var _=n.parent,L=0;_&&"root"!==_.type;)L+=1,_=_.parent;if(u.includes("\n")){var $=this.raw(n,null,"indent");if($.length)for(var me=0;me<L;me++)u+=$}return u},s.block=function(n,o){var _,u=this.raw(n,"between","beforeOpen");this.builder(o+u+"{",n,"start"),n.nodes&&n.nodes.length?(this.body(n),_=this.raw(n,"after")):_=this.raw(n,"after","emptyBody"),_&&this.builder(_),this.builder("}",n,"end")},s.body=function(n){for(var o=n.nodes.length-1;o>0&&"comment"===n.nodes[o].type;)o-=1;for(var u=this.raw(n,"semicolon"),_=0;_<n.nodes.length;_++){var L=n.nodes[_],$=this.raw(L,"before");$&&this.builder($),this.stringify(L,o!==_||u)}},s.comment=function(n){var o=this.raw(n,"left","commentLeft"),u=this.raw(n,"right","commentRight");
1this.builder("/*"+o+n.text+u+"*/",n)},s.decl=function(n,o){var u=this.raw(n,"between","colon"),_=n.prop+u+this.rawValue(n,"value");n.important&&(_+=n.raws.important||" !important"),o&&(_+=";"),this.builder(_,n)},s.document=function(n){this.body(n)},s.raw=function(n,o,u){var _;if(u||(u=o),o&&typeof(_=n.raws[o])<"u")return _;var L=n.parent;if("before"===u&&(!L||"root"===L.type&&L.first===n||L&&"document"===L.type))return"";if(!L)return cl[u];var $=n.root();if($.rawCache||($.rawCache={}),typeof $.rawCache[u]<"u")return $.rawCache[u];if("before"===u||"after"===u)return this.beforeAfter(n,u);var me="raw"+function Dc(r){return r[0].toUpperCase()+r.slice(1)}(u);return this[me]?_=this[me]($,n):$.walk(function(Ee){if(typeof(_=Ee.raws[o])<"u")return!1}),typeof _>"u"&&(_=cl[u]),$.rawCache[u]=_,_},s.rawBeforeClose=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return(o=u.raws.after).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawBeforeComment=function(n,o){var u;return n.walkComments(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeDecl=function(n,o){var u;return n.walkDecls(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeOpen=function(n){var o;return n.walk(function(u){if("decl"!==u.type&&typeof(o=u.raws.between)<"u")return!1}),o},s.rawBeforeRule=function(n){var o;return n.walk(function(u){if(u.nodes&&(u.parent!==n||n.first!==u)&&typeof u.raws.before<"u")return(o=u.raws.before).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawColon=function(n){var o;return n.walkDecls(function(u){if(typeof u.raws.between<"u")return o=u.raws.between.replace(/[^\s:]/g,""),!1}),o},s.rawEmptyBody=function(n){var o;return n.walk(function(u){if(u.nodes&&0===u.nodes.length&&typeof(o=u.raws.after)<"u")return!1}),o},s.rawIndent=function(n){return n.raws.indent?n.raws.indent:(n.walk(function(u){var _=u.parent;if(_&&_!==n&&_.parent&&_.parent===n&&typeof u.raws.before<"u"){var L=u.raws.before.split("\n");return o=(o=L[L.length-1]).replace(/\S/g,""),!1}}),o);var o},s.rawSemicolon=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length&&"decl"===u.last.type&&typeof(o=u.raws.semicolon)<"u")return!1}),o},s.rawValue=function(n,o){var u=n[o],_=n.raws[o];return _&&_.value===u?_.raw:u},s.root=function(n){this.body(n),n.raws.after&&this.builder(n.raws.after)},s.rule=function(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")},s.stringify=function(n,o){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,o)},r}(),rd=Gl;Gl.default=Gl;var id=rd;function od(r,s){new id(s).stringify(r)}var Oc=od;od.default=od;var Yc=Ys.isClean,Kf=Ys.my,sd=Ga,Ud=rd,Vd=Oc;function Ic(r,s){var c=new r.constructor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&"proxyCache"!==n){var o=r[n],u=typeof o>"u"?"undefined":ce(o);"parent"===n&&"object"===u?s&&(c[n]=s):"source"===n?c[n]=o:Array.isArray(o)?c[n]=o.map(function(_){return Ic(_,c)}):("object"===u&&null!==o&&(o=Ic(o)),c[n]=o)}return c}var Su=function(){function r(c){for(var n in void 0===c&&(c={}),this.raws={},this[Yc]=!1,this[Kf]=!0,c)if("nodes"===n){this.nodes=[];for(var u,o=de(c[n]);!(u=o()).done;){var _=u.value;this.append("function"==typeof _.clone?_.clone():_)}}else this[n]=c[n]}var s=r.prototype;return s.addToError=function(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){var o=this.source;n.stack=n.stack.replace(/\n\s{4}at /,"$&"+o.input.from+":"+o.start.line+":"+o.start.column+"$&")}return n},s.after=function(n){return this.parent.insertAfter(this,n),this},s.assign=function(n){for(var o in void 0===n&&(n={}),n)this[o]=n[o];return this},s.before=function(n){return this.parent.insertBefore(this,n),this},s.cleanRaws=function(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between},s.clone=function(n){void 0===n&&(n={});var o=Ic(this);for(var u in n)o[u]=n[u];return o},s.cloneAfter=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertAfter(this,o),o},s.cloneBefore=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertBefore(this,o),o},s.error=function(n,o){if(void 0===o&&(o={}),this.source){var u=this.rangeBy(o),_=u.end,L=u.start;return this.source.input.error(n,{column:L.column,line:L.line},{column:_.column,line:_.line},o)}return new sd(n)},s.getProxyProcessor=function(){return{get:function(o,u){return"proxyOf"===u?o:"root"===u?function(){return o.root().toProxy()}:o[u]}
1,set:function(o,u,_){return o[u]===_||(o[u]=_,("prop"===u||"value"===u||"name"===u||"params"===u||"important"===u||"text"===u)&&o.markDirty()),!0}}},s.markDirty=function(){if(this[Yc]){this[Yc]=!1;for(var n=this;n=n.parent;)n[Yc]=!1}},s.next=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n+1]}},s.positionBy=function(n,o){var u=this.source.start;if(n.index)u=this.positionInside(n.index,o);else if(n.word){var _=(o=this.toString()).indexOf(n.word);-1!==_&&(u=this.positionInside(_,o))}return u},s.positionInside=function(n,o){for(var u=o||this.toString(),_=this.source.start.column,L=this.source.start.line,$=0;$<n;$++)"\n"===u[$]?(_=1,L+=1):_+=1;return{column:_,line:L}},s.prev=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n-1]}},s.rangeBy=function(n){var o={column:this.source.start.column,line:this.source.start.line},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:o.column+1,line:o.line};if(n.word){var _=this.toString(),L=_.indexOf(n.word);-1!==L&&(o=this.positionInside(L,_),u=this.positionInside(L+n.word.length,_))}else n.start?o={column:n.start.column,line:n.start.line}:n.index&&(o=this.positionInside(n.index)),n.end?u={column:n.end.column,line:n.end.line}:"number"==typeof n.endIndex?u=this.positionInside(n.endIndex):n.index&&(u=this.positionInside(n.index+1));return(u.line<o.line||u.line===o.line&&u.column<=o.column)&&(u={column:o.column+1,line:o.line}),{end:u,start:o}},s.raw=function(n,o){return(new Ud).raw(this,n,o)},s.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},s.replaceWith=function(){for(var n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];if(this.parent){for(var me,_=this,L=!1,$=de(o);!(me=$()).done;){var Ee=me.value;Ee===this?L=!0:L?(this.parent.insertAfter(_,Ee),_=Ee):this.parent.insertBefore(_,Ee)}L||this.remove()}return this},s.root=function(){for(var n=this;n.parent&&"document"!==n.parent.type;)n=n.parent;return n},s.toJSON=function(n,o){var u={},_=null==o;o=o||new Map;var L=0;for(var $ in this)if(Object.prototype.hasOwnProperty.call(this,$)&&"parent"!==$&&"proxyCache"!==$){var me=this[$];if(Array.isArray(me))u[$]=me.map(function(Se){return"object"===(typeof Se>"u"?"undefined":ce(Se))&&Se.toJSON?Se.toJSON(null,o):Se});else if("object"===(typeof me>"u"?"undefined":ce(me))&&me.toJSON)u[$]=me.toJSON(null,o);else if("source"===$){var Ee=o.get(me.input);null==Ee&&(Ee=L,o.set(me.input,L),L++),u[$]={end:me.end,inputId:Ee,start:me.start}}else u[$]=me}return _&&(u.inputs=[].concat(o.keys()).map(function(Se){return Se.toJSON()})),u},s.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},s.toString=function(n){void 0===n&&(n=Vd),n.stringify&&(n=n.stringify);var o="";return n(this,function(u){o+=u}),o},s.warn=function(n,o,u){var _={node:this};for(var L in u)_[L]=u[L];return n.warn(o,_)},ve(r,[{key:"proxyOf",get:function(){return this}}]),r}(),be=Su;Su.default=Su;var Rt=function(r){function s(c){var n;return c&&typeof c.value<"u"&&"string"!=typeof c.value&&(c=U({},c,{value:String(c.value)})),(n=r.call(this,c)||this).type="decl",n}return X(s,r),ve(s,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),s}(be),Pn=Rt;Rt.default=Rt;var _s=Ui.SourceMapConsumer,Hs=Ui.SourceMapGenerator,vs=Ui.existsSync,Vl=Ui.readFileSync,Gf=Ui.dirname,u1=Ui.join,pp=function(){function r(c,n){if(!1!==n.map){this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");var u=this.loadMap(n.from,n.map?n.map.prev:void 0);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=Gf(this.mapFile)),u&&(this.text=u)}}var s=r.prototype;return s.consumer=function(){return this.consumerCache||(this.consumerCache=new _s(this.text)),this.consumerCache},s.decodeInline=function(n){if(/^data:application\/json;charset=utf-?8,/.test(n)||/^data:application\/json,/.test(n))return decodeURIComponent(n.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(n)||/^data:application\/json;base64,/.test(n))return function Xf(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}(n.substr(RegExp.lastMatch.length));var $=n.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+$)},s.getAnnotationURL=function(n){return n.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},s.isMap=function(n){return"object"===(typeof n>"u"?"undefined":ce(n))&&("string"==typeof n.mappings||"string"==typeof n._mappings||Array.isArray(n.sections))},s.loadAnnotation=function(n){var o=n.match(/\/\*\s*# sourceMappingURL=/gm);
1if(o){var u=n.lastIndexOf(o.pop()),_=n.indexOf("*/",u);u>-1&&_>-1&&(this.annotation=this.getAnnotationURL(n.substring(u,_)))}},s.loadFile=function(n){if(this.root=Gf(n),vs(n))return this.mapFile=n,Vl(n,"utf-8").toString().trim()},s.loadMap=function(n,o){if(!1===o)return!1;if(o){if("string"==typeof o)return o;if("function"!=typeof o){if(W(o,_s))return Hs.fromSourceMap(o).toString();if(W(o,Hs))return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}var u=o(n);if(u){var _=this.loadFile(u);if(!_)throw new Error("Unable to load previous source map: "+u.toString());return _}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var L=this.annotation;return n&&(L=u1(Gf(n),L)),this.loadFile(L)}}},s.startWith=function(n,o){return!!n&&n.substr(0,o.length)===o},s.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},r}(),mp=pp;pp.default=pp;var gp=Ui.SourceMapConsumer,Em=Ui.SourceMapGenerator,_p=Ui.fileURLToPath,ad=Ui.pathToFileURL,Tc=Ui.isAbsolute,Zc=Ui.resolve,Yf=function(r){void 0===r&&(r=21);for(var s="",c=r;c--;)s+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return s}
1,jd=Ui,Hd=Ga,zd=mp,$d=Symbol("fromOffsetCache"),Du=!(!gp||!Em),vp=!(!Zc||!Tc),Qc=function(){function r(c,n){if(void 0===n&&(n={}),null===c||typeof c>"u"||"object"===(typeof c>"u"?"undefined":ce(c))&&!c.toString)throw new Error("PostCSS received "+c+" instead of CSS string");if(this.css=c.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(this.file=!vp||/^\w+:\/\//.test(n.from)||Tc(n.from)?n.from:Zc(n.from)),vp&&Du){var o=new zd(this.css,n);if(o.text){this.map=o;var u=o.consumer().file;!this.file&&u&&(this.file=this.mapResolve(u))}}this.file||(this.id="<input css "+Yf(6)+">"),this.map&&(this.map.file=this.from)}var s=r.prototype;return s.error=function(n,o,u,_){var L,$,me;if(void 0===_&&(_={}),o&&"object"===(typeof o>"u"?"undefined":ce(o))){var Ee=o,Se=u;if("number"==typeof Ee.offset){var Ae=this.fromOffset(Ee.offset);o=Ae.line,u=Ae.col}else o=Ee.line,u=Ee.column;if("number"==typeof Se.offset){var ft=this.fromOffset(Se.offset);$=ft.line,me=ft.col}else $=Se.line,me=Se.column}else if(!u){var it=this.fromOffset(o);o=it.line,u=it.col}var Zt=this.origin(o,u,$,me);return(L=Zt?new Hd(n,void 0===Zt.endLine?Zt.line:{column:Zt.column,line:Zt.line},void 0===Zt.endLine?Zt.column:{column:Zt.endColumn,line:Zt.endLine},Zt.source,Zt.file,_.plugin):new Hd(n,void 0===$?o:{column:u,line:o},void 0===$?u:{column:me,line:$},this.css,this.file,_.plugin)).input={column:u,endColumn:me,endLine:$,line:o,source:this.css},this.file&&(ad&&(L.input.url=ad(this.file).toString()),L.input.file=this.file),L},s.fromOffset=function(n){var u;if(this[$d])u=this[$d];else{var _=this.css.split("\n");u=new Array(_.length);for(var L=0,$=0,me=_.length;$<me;$++)u[$]=L,L+=_[$].length+1;this[$d]=u}var Ee=0;if(n>=u[u.length-1])Ee=u.length-1;else for(var Ae,Se=u.length-2;Ee<Se;)if(n<u[Ae=Ee+(Se-Ee>>1)])Se=Ae-1;else{if(!(n>=u[Ae+1])){Ee=Ae;break}Ee=Ae+1}return{col:n-u[Ee]+1,line:Ee+1}},s.mapResolve=function(n){return/^\w+:\/\//.test(n)?n:Zc(this.map.consumer().sourceRoot||this.map.root||".",n)},s.origin=function(n,o,u,_){if(!this.map)return!1;var me,Ee,L=this.map.consumer(),$=L.originalPositionFor({column:o,line:n});if(!$.source)return!1;"number"==typeof u&&(me=L.originalPositionFor({column:_,line:u})),Ee=Tc($.source)?ad($.source):new URL($.source,this.map.consumer().sourceRoot||ad(this.map.mapFile));var Se={column:$.column,endColumn:me&&me.column,endLine:me&&me.line,line:$.line,url:Ee.toString()};if("file:"===Ee.protocol){if(!_p)throw new Error("file: protocol is not available in this PostCSS build");Se.file=_p(Ee)}var Ae=L.sourceContentFor($.source);return Ae&&(Se.source=Ae),Se},s.toJSON=function(){for(var n={},o=0,u=["hasBOM","css","file","id"];o<u.length;o++){var _=u[o];null!=this[_]&&(n[_]=this[_])}return this.map&&(n.map=U({},this.map),n.map.consumerCache&&(n.map.consumerCache=void 0)),n},ve(r,[{key:"from",get:function(){return this.file||this.id}}]),r}(),ul=Qc;Qc.default=Qc,jd&&jd.registerInput&&jd.registerInput(Qc);var Zf=Ui.SourceMapConsumer,Jc=Ui.SourceMapGenerator,Pc=Ui.dirname,ia=Ui.relative,yp=Ui.resolve,Qf=Ui.sep,Jf=Ui.pathToFileURL,Ou=ul,Eo=!(!Zf||!Jc),rc=!!(Pc&&yp&&ia&&Qf),Ii=function(){function r(c,n,o,u){this.stringify=c,this.mapOpts=o.map||{},this.root=n,this.opts=o,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var s=r.prototype;return s.addAnnotation=function(){var n;n=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var o="\n";this.css.includes("\r\n")&&(o="\r\n"),this.css+=o+"/*# sourceMappingURL="+n+" */"},s.applyPrevMaps=function(){for(var o,n=de(this.previous());!(o=n()).done;){var u=o.value,_=this.toUrl(this.path(u.file)),L=u.root||Pc(u.file),$=void 0;!1===this.mapOpts.sourcesContent?($=new Zf(u.text)).sourcesContent&&($.sourcesContent=null):$=u.consumer(),this.map.applySourceMap($,_,this.toUrl(this.path(L)))}},s.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var n,o=this.root.nodes.length-1;o>=0;o--)"comment"===(n=this.root.nodes[o]).type&&0===n.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(o);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},s.generate=function(){if(this.clearAnnotation(),rc&&Eo&&this.isMap())return this.generateMap();var n="";return this.stringify(this.root,function(o){n+=o}),[n]},s.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var n=this.previous()[0].consumer();n.file=this.outputFile(),this.map=Jc.fromSourceMap(n,{ignoreInvalidMapping:!0})}else this.map=new Jc({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},s.generateString=function(){var n=this;this.css="",this.map=new Jc({file:this.outputFile(),ignoreInvalidMapping:!0});var $,me,o=1,u=1,_="<no source>",L={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(Ee,Se,Ae){if(n.css+=Ee,Se&&"end"!==Ae&&(L.generated.line=o,L.generated.column=u-1,Se.source&&Se.source.start?(L.source=n.sourcePath(Se),L.original.line=Se.source.start.line,L.original.column=Se.s
1ource.start.column-1,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,n.map.addMapping(L))),($=Ee.match(/\n/g))?(o+=$.length,me=Ee.lastIndexOf("\n"),u=Ee.length-me):u+=Ee.length,Se&&"start"!==Ae){var ft=Se.parent||{raws:{}};("decl"!==Se.type&&("atrule"!==Se.type||Se.nodes)||Se!==ft.last||ft.raws.semicolon)&&(Se.source&&Se.source.end?(L.source=n.sourcePath(Se),L.original.line=Se.source.end.line,L.original.column=Se.source.end.column-1,L.generated.line=o,L.generated.column=u-2,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,L.generated.line=o,L.generated.column=u-1,n.map.addMapping(L)))}})},s.isAnnotation=function(){return!!this.isInline()||(typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(n){return n.annotation}))},s.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var n=this.mapOpts.annotation;return!(typeof n<"u"&&!0!==n)&&(!this.previous().length||this.previous().some(function(o){return o.inline}))},s.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},s.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(n){return n.withContent()})},s.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},s.path=function(n){if(this.mapOpts.absolute||60===n.charCodeAt(0)||/^\w+:\/\//.test(n))return n;var o=this.memoizedPaths.get(n);if(o)return o;var u=this.opts.to?Pc(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(u=Pc(yp(u,this.mapOpts.annotation)));var _=ia(u,n);return this.memoizedPaths.set(n,_),_},s.previous=function(){var n=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(u){if(u.source&&u.source.input.map){var _=u.source.input.map;n.previousMaps.includes(_)||n.previousMaps.push(_)}});else{var o=new Ou(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps},s.setSourcesContent=function(){var n=this,o={};if(this.root)this.root.walk(function(_){if(_.source){var L=_.source.input.from;if(L&&!o[L]){o[L]=!0;var $=n.usesFileUrls?n.toFileUrl(L):n.toUrl(n.path(L));n.map.setSourceContent($,_.source.input.css)}}});else if(this.css){var u=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(u,this.css)}},s.sourcePath=function(n){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(n.source.input.from):this.toUrl(this.path(n.source.input.from))},s.toBase64=function(n){return Buffer?Buffer.from(n).toString("base64"):window.btoa(unescape(encodeURIComponent(n)))},s.toFileUrl=function(n){var o=this.memoizedFileURLs.get(n);if(o)return o;if(Jf){var u=Jf(n).toString();return this.memoizedFileURLs.set(n,u),u}throw new Error("`map.absolute` option is not available in this PostCSS build")},s.toUrl=function(n){var o=this.memoizedURLs.get(n);if(o)return o;"\\"===Qf&&(n=n.replace(/\\/g,"/"));var u=encodeURI(n).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(n,u),u},r}(),Iu=Ii,qc=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="comment",n}return X(s,r),s}(be),Tu=qc;qc.default=qc;var eu,Pu,Au,Xl,El=Ys.isClean,jl=Ys.my,Ac=Pn,Ai=Tu;function el(r){return r.map(function(s){return s.nodes&&(s.nodes=el(s.nodes)),delete s.source,s})}function Yl(r){if(r[El]=!1,r.proxyOf.nodes)for(var c,s=de(r.proxyOf.nodes);!(c=s()).done;)Yl(c.value)}var Zo=function(r){function s(){return r.apply(this,arguments)||this}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u);!($=L()).done;)for(var Ae,Se=de(this.normalize($.value,this.last));!(Ae=Se()).done;)this.proxyOf.nodes.push(Ae.value);return this.markDirty(),this},c.cleanRaws=function(o){if(r.prototype.cleanRaws.call(this,o),this.nodes)for(var _,u=de(this.nodes);!(_=u()).done;)_.value.cleanRaws(o)}
1,c.each=function(o){if(this.proxyOf.nodes){for(var _,L,u=this.getIterator();this.indexes[u]<this.proxyOf.nodes.length&&!1!==(L=o(this.proxyOf.nodes[_=this.indexes[u]],_));)this.indexes[u]+=1;return delete this.indexes[u],L}},c.every=function(o){return this.nodes.every(o)},c.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var o=this.lastEach;return this.indexes[o]=0,o},c.getProxyProcessor=function(){return{get:function(u,_){return"proxyOf"===_?u:u[_]?"each"===_||"string"==typeof _&&_.startsWith("walk")?function(){for(var L=arguments.length,$=new Array(L),me=0;me<L;me++)$[me]=arguments[me];var Ee;return(Ee=u)[_].apply(Ee,[].concat($.map(function(Se){return"function"==typeof Se?function(Ae,ft){return Se(Ae.toProxy(),ft)}:Se})))}:"every"===_||"some"===_?function(L){return u[_](function($){for(var me=arguments.length,Ee=new Array(me>1?me-1:0),Se=1;Se<me;Se++)Ee[Se-1]=arguments[Se];return L.apply(void 0,[].concat([$.toProxy()],Ee))})}:"root"===_?function(){return u.root().toProxy()}:"nodes"===_?u.nodes.map(function(L){return L.toProxy()}):"first"===_||"last"===_?u[_].toProxy():u[_]:u[_]},set:function(u,_,L){return u[_]===L||(u[_]=L,("name"===_||"params"===_||"selector"===_)&&u.markDirty()),!0}}},c.index=function(o){return"number"==typeof o?o:(o.proxyOf&&(o=o.proxyOf),this.proxyOf.nodes.indexOf(o))},c.insertAfter=function(o,u){var Se,_=this.index(o),L=this.normalize(u,this.proxyOf.nodes[_]).reverse();_=this.index(o);for(var me,$=de(L);!(me=$()).done;)this.proxyOf.nodes.splice(_+1,0,me.value);for(var Ae in this.indexes)_<(Se=this.indexes[Ae])&&(this.indexes[Ae]=Se+L.length);return this.markDirty(),this},c.insertBefore=function(o,u){var Ae,_=this.index(o),$=this.normalize(u,this.proxyOf.nodes[_],0===_&&"prepend").reverse();_=this.index(o);for(var Ee,me=de($);!(Ee=me()).done;)this.proxyOf.nodes.splice(_,0,Ee.value);for(var ft in this.indexes)_<=(Ae=this.indexes[ft])&&(this.indexes[ft]=Ae+$.length);return this.markDirty(),this},c.normalize=function(o,u){var _=this;if("string"==typeof o)o=el(eu(o).nodes);else if(typeof o>"u")o=[];else if(Array.isArray(o))for(var $,L=de(o=o.slice(0));!($=L()).done;){var me=$.value;me.parent&&me.parent.removeChild(me,"ignore")}else if("root"===o.type&&"document"!==this.type)for(var Se,Ee=de(o=o.nodes.slice(0));!(Se=Ee()).done;){var Ae=Se.value;Ae.parent&&Ae.parent.removeChild(Ae,"ignore")}else if(o.type)o=[o];else if(o.prop){if(typeof o.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof o.value&&(o.value=String(o.value)),o=[new Ac(o)]}else if(o.selector)o=[new Pu(o)];else if(o.name)o=[new Au(o)];else{if(!o.text)throw new Error("Unknown node type in node creation");o=[new Ai(o)]}return o.map(function(it){return it[jl]||s.rebuild(it),(it=it.proxyOf).parent&&it.parent.removeChild(it),it[El]&&Yl(it),typeof it.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(it.raws.before=u.raws.before.replace(/\S/g,"")),it.parent=_.proxyOf,it})},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u=u.reverse());!($=L()).done;){for(var Ae,Ee=this.normalize($.value,this.first,"prepend").reverse(),Se=de(Ee);!(Ae=Se()).done;)this.proxyOf.nodes.unshift(Ae.value);for(var it in this.indexes)this.indexes[it]=this.indexes[it]+Ee.length}return this.markDirty(),this},c.push=function(o){return o.parent=this,this.proxyOf.nodes.push(o),this},c.removeAll=function(){for(var u,o=de(this.proxyOf.nodes);!(u=o()).done;)u.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},c.removeChild=function(o){var u;for(var _ in o=this.index(o),this.proxyOf.nodes[o].parent=void 0,this.proxyOf.nodes.splice(o,1),this.indexes)(u=this.indexes[_])>=o&&(this.indexes[_]=u-1);return this.markDirty(),this},c.replaceValues=function(o,u,_){return _||(_=u,u={}),this.walkDecls(function(L){u.props&&!u.props.includes(L.prop)||u.fast&&!L.value.includes(u.fast)||(L.value=L.value.replace(o,_))}),this.markDirty(),this},c.some=function(o){return this.nodes.some(o)},c.walk=function(o){return this.each(function(u,_){var L;try{L=o(u,_)}catch($){throw u.addToError($)}return!1!==L&&u.walk&&(L=u.walk(o)),L})},c.walkAtRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("atrule"===_.type&&o.test(_.name))return u(_,L)}):this.walk(function(_,L){if("atrule"===_.type&&_.name===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("atrule"===_.type)return u(_,L)}))},c.walkComments=function(o){return this.walk(function(u,_){if("comment"===u.type)return o(u,_)})},c.walkDecls=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("decl"===_.type&&o.test(_.prop))return u(_,L)}):this.walk(function(_,L){if("decl"===_.type&&_.prop===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("decl"===_.type)return u(_,L)}))},c.walkRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("rule"===_.type&&o.test(_.selector))return u(_,L)}):this.walk(function(_,L){if("rule"===_.type&&_.selector===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("rule"===_.type)return u(_,L)}))},ve(s,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),s}(be);Zo.registerParse=function(r){eu=r},Zo.registerRule=function(r){Pu=r},Zo.registerAtRule=function(r){Au=r},Zo.registerRoot=function(r){Xl=r};var wl=Zo;Zo.default=Zo,Zo.rebuild=function(r){"atrule"===r.type?Object.setPrototypeOf(r,Au.prototype):"rule"===r.type?Object.setPrototypeOf(r,Pu.prototype):"decl"===r.type?Object.setPrototypeOf(r,Ac.prototype):"comment"===r.type?Object.setPrototypeOf(r,Ai.prototype):"root"===r.type&&Object.setPrototypeOf(r,Xl.prototype),r[jl]=!0,r.nodes&&r.nodes.forEac
1h(function(s){Zo.rebuild(s)})};var Ru,qf,tu=function(r){function s(n){var o;return(o=r.call(this,U({type:"document"},n))||this).nodes||(o.nodes=[]),o}return X(s,r),s.prototype.toResult=function(o){return void 0===o&&(o={}),new Ru(new qf,this,o).stringify()},s}(wl);tu.registerLazyResult=function(r){Ru=r},tu.registerProcessor=function(r){qf=r};var Wd=tu;tu.default=tu;var mc=function(){function r(c,n){if(void 0===n&&(n={}),this.type="warning",this.text=c,n.node&&n.node.source){var o=n.node.rangeBy(n);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(var u in n)this[u]=n[u]}return r.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},r}(),bp=mc;mc.default=mc;var Cp=bp,Kd=function(){function r(c,n,o){this.processor=c,this.messages=[],this.root=n,this.opts=o,this.css=void 0,this.map=void 0}var s=r.prototype;return s.toString=function(){return this.css},s.warn=function(n,o){void 0===o&&(o={}),o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);var u=new Cp(n,o);return this.messages.push(u),u},s.warnings=function(){return this.messages.filter(function(n){return"warning"===n.type})},ve(r,[{key:"content",get:function(){return this.css}}]),r}(),Gd=Kd;Kd.default=Kd;var Hl=/[\t\n\f\r "#'()/;[\\\]{}]/g,fl=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,hl=/.[\r\n"'(/\\]/,nh=/[\da-f]/i,rh=wl,oc=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="atrule",o}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.append).call.apply(L,[].concat([this],u))},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.prepend).call.apply(L,[].concat([this],u))},s}(rh),sc=oc;oc.default=oc,rh.registerAtRule(oc);var ga,_a,No=wl,Lc=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="root",o.nodes||(o.nodes=[]),o}X(s,r);var c=s.prototype;return c.normalize=function(o,u,_){var L=r.prototype.normalize.call(this,o);if(u)if("prepend"===_)this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(var me,$=de(L);!(me=$()).done;)me.value.raws.before=u.raws.before;return L},c.removeChild=function(o,u){var _=this.index(o);return!u&&0===_&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[_].raws.before),r.prototype.removeChild.call(this,o)},c.toResult=function(o){return void 0===o&&(o={}),new ga(new _a,this,o).stringify()},s}(No);Lc.registerLazyResult=function(r){ga=r},Lc.registerProcessor=function(r){_a=r};var ru=Lc;Lc.default=Lc,No.registerRoot(Lc);var pl={comma:function(s){return pl.split(s,[","],!0)},space:function(s){return pl.split(s,[" ","\n","\t"])},split:function(s,c,n){for(var Ae,o=[],u="",_=!1,L=0,$=!1,me="",Ee=!1,Se=de(s);!(Ae=Se()).done;){var ft=Ae.value;Ee?Ee=!1:"\\"===ft?Ee=!0:$?ft===me&&($=!1):'"'===ft||"'"===ft?($=!0,me=ft):"("===ft?L+=1:")"===ft?L>0&&(L-=1):0===L&&c.includes(ft)&&(_=!0),_?(""!==u&&o.push(u.trim()),u="",_=!1):u+=ft}return(n||""!==u)&&o.push(u.trim()),o}},iu=pl;pl.default=pl;var cd=wl,vc=iu,tl=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="rule",n.nodes||(n.nodes=[]),n}return X(s,r),ve(s,[{key:"selectors",get:function(){return vc.comma(this.selector)},set:function(n){var o=this.selector?this.selector.match(/,\s*/):null,u=o?o[0]:","+this.raw("between","beforeOpen");this.selector=n.join(u)}}]),s}(cd),xl=tl;tl.default=tl,cd.registerRule(tl);var ud=Pn,ih=Tu,Qd=sc,Jd=ru,oh=xl,yc={empty:!0,space:!0},bc=function(){function r(c){this.input=c,this.root=new Jd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}var s=r.prototype;return s.atrule=function(n){var o=new Qd;o.name=n[1].slice(1),""===o.name&&this.unnamedAtrule(o,n),this.init(o,n[2]);for(var u,_,L,$=!1,me=!1,Ee=[],Se=[];!this.tokenizer.endOfFile();){if("("===(u=(n=this.tokenizer.nextToken())[0])||"["===u?Se.push("("===u?")":"]"):"{"===u&&Se.length>0?Se.push("}"):u===Se[Se.length-1]&&Se.pop(),0===Se.length){if(";"===u){o.source.end=this.getPosition(n[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===u){me=!0;break}if("}"===u){if(Ee.length>0){for(_=Ee[L=Ee.length-1];_&&"space"===_[0];)_=Ee[--L];_&&(o.source.end=this.getPosition(_[3]||_[2]),o.source.end.offset++)}this.end(n);break}Ee.push(n)}
1else Ee.push(n);if(this.tokenizer.endOfFile()){$=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(Ee),Ee.length?(o.raws.afterName=this.spacesAndCommentsFromStart(Ee),this.raw(o,"params",Ee),$&&(o.source.end=this.getPosition((n=Ee[Ee.length-1])[3]||n[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),me&&(o.nodes=[],this.current=o)},s.checkMissedSemicolon=function(n){var o=this.colon(n);if(!1!==o){for(var _,u=0,L=o-1;L>=0&&("space"===(_=n[L])[0]||2!==(u+=1));L--);throw this.input.error("Missed semicolon","word"===_[0]?_[3]+1:_[2])}},s.colon=function(n){for(var u,_,L,me,o=0,$=de(n.entries());!(me=$()).done;){var Ee=me.value,Se=Ee[0];if("("===(_=(u=Ee[1])[0])&&(o+=1),")"===_&&(o-=1),0===o&&":"===_){if(L){if("word"===L[0]&&"progid"===L[1])continue;return Se}this.doubleColon(u)}L=u}return!1},s.comment=function(n){var o=new ih;this.init(o,n[2]),o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++;var u=n[1].slice(2,-2);if(/^\s*$/.test(u))o.text="",o.raws.left=u,o.raws.right="";else{var _=u.match(/^(\s*)([^]*\S)(\s*)$/);o.text=_[2],o.raws.left=_[1],o.raws.right=_[3]}},s.createTokenizer=function(){this.tokenizer=function(s,c){void 0===c&&(c={});var u,_,L,$,me,Ee,Se,Ae,ft,it,n=s.css.valueOf(),o=c.ignoreErrors,Zt=n.length,nt=0,qt=[],mn=[];function nr(zr){throw s.error("Unclosed "+zr,nt)}return{back:function pi(zr){mn.push(zr)},endOfFile:function Zn(){return 0===mn.length&&nt>=Zt},nextToken:function Er(zr){if(mn.length)return mn.pop();if(!(nt>=Zt)){var Ri=!!zr&&zr.ignoreUnclosed;switch(u=n.charCodeAt(nt)){case 10:case 32:case 9:case 13:case 12:_=nt;do{u=n.charCodeAt(_+=1)}while(32===u||10===u||9===u||13===u||12===u);it=["space",n.slice(nt,_)],nt=_-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var vo=String.fromCharCode(u);it=[vo,vo,nt];break;case 40:if(Ae=qt.length?qt.pop()[1]:"",ft=n.charCodeAt(nt+1),"url"===Ae&&39!==ft&&34!==ft&&32!==ft&&10!==ft&&9!==ft&&12!==ft&&13!==ft){_=nt;do{if(Ee=!1,-1===(_=n.indexOf(")",_+1))){if(o||Ri){_=nt;break}nr("bracket")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["brackets",n.slice(nt,_+1),nt,_],nt=_}else _=n.indexOf(")",nt+1),$=n.slice(nt,_+1),-1===_||hl.test($)?it=["(","(",nt]:(it=["brackets",$,nt,_],nt=_);break;case 39:case 34:L=39===u?"'":'"',_=nt;do{if(Ee=!1,-1===(_=n.indexOf(L,_+1))){if(o||Ri){_=nt+1;break}nr("string")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["string",n.slice(nt,_+1),nt,_],nt=_;break;case 64:Hl.lastIndex=nt+1,Hl.test(n),it=["at-word",n.slice(nt,1+(_=0===Hl.lastIndex?n.length-1:Hl.lastIndex-2)),nt,_],nt=_;break;case 92:for(_=nt,me=!0;92===n.charCodeAt(_+1);)_+=1,me=!me;if(u=n.charCodeAt(_+1),me&&47!==u&&32!==u&&10!==u&&9!==u&&13!==u&&12!==u&&nh.test(n.charAt(_+=1))){for(;nh.test(n.charAt(_+1));)_+=1;32===n.charCodeAt(_+1)&&(_+=1)}it=["word",n.slice(nt,_+1),nt,_],nt=_;break;default:47===u&&42===n.charCodeAt(nt+1)?(0===(_=n.indexOf("*/",nt+2)+1)&&(o||Ri?_=n.length:nr("comment")),it=["comment",n.slice(nt,_+1),nt,_],nt=_):(fl.lastIndex=nt+1,fl.test(n),it=["word",n.slice(nt,1+(_=0===fl.lastIndex?n.length-1:fl.lastIndex-2)),nt,_],qt.push(it),nt=_)}return nt++,it}},position:function Ln(){return nt}}}(this.input)},s.decl=function(n,o){var u=new ud;this.init(u,n[0][2]);var $,_=n[n.length-1];for(";"===_[0]&&(this.semicolon=!0,n.pop()),u.source.end=this.getPosition(_[3]||_[2]||function qd(r){for(var s=r.length-1;s>=0;s--){var c=r[s],n=c[3]||c[2];if(n)return n}}(n)),u.source.end.offset++;"word"!==n[0][0];)1===n.length&&this.unknownWord(n),u.raws.before+=n.shift()[1];for(u.source.start=this.getPosition(n[0][2]),u.prop="";n.length;){var L=n[0][0];if(":"===L||"space"===L||"comment"===L)break;u.prop+=n.shift()[1]}for(u.raws.between="";n.length;){if(":"===($=n.shift())[0]){u.raws.between+=$[1];break}"word"===$[0]&&/\w/.test($[1])&&this.unknownWord([$]),u.raws.between+=$[1]}("_"===u.prop[0]||"*"===u.prop[0])&&(u.raws.before+=u.prop[0],u.prop=u.prop.slice(1));for(var Ee,me=[];n.length&&("space"===(Ee=n[0][0])||"comment"===Ee);)me.push(n.shift());this.precheckMissedSemicolon(n);for(var Se=n.length-1;Se>=0;Se--){if("!important"===($=n[Se])[1].toLowerCase()){u.important=!0;var Ae=this.stringFrom(n,Se);" !important"!==(Ae=this.spacesFromEnd(n)+Ae)&&(u.raws.important=Ae);break}if("important"===$[1].toLowerCase()){for(var ft=n.slice(0),it="",Zt=Se;Zt>0;Zt--){var nt=ft[Zt][0];if(0===it.trim().indexOf("!")&&"space"!==nt)break;
1it=ft.pop()[1]+it}0===it.trim().indexOf("!")&&(u.important=!0,u.raws.important=it,n=ft)}if("space"!==$[0]&&"comment"!==$[0])break}n.some(function(mn){return"space"!==mn[0]&&"comment"!==mn[0]})&&(u.raws.between+=me.map(function(mn){return mn[1]}).join(""),me=[]),this.raw(u,"value",me.concat(n),o),u.value.includes(":")&&!o&&this.checkMissedSemicolon(n)},s.doubleColon=function(n){throw this.input.error("Double colon",{offset:n[2]},{offset:n[2]+n[1].length})},s.emptyRule=function(n){var o=new oh;this.init(o,n[2]),o.selector="",o.raws.between="",this.current=o},s.end=function(n){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(n[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(n)},s.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},s.freeSemicolon=function(n){if(this.spaces+=n[1],this.current.nodes){var o=this.current.nodes[this.current.nodes.length-1];o&&"rule"===o.type&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}},s.getPosition=function(n){var o=this.input.fromOffset(n);return{column:o.col,line:o.line,offset:n}},s.init=function(n,o){this.current.push(n),n.source={input:this.input,start:this.getPosition(o)},n.raws.before=this.spaces,this.spaces="","comment"!==n.type&&(this.semicolon=!1)},s.other=function(n){for(var o=!1,u=null,_=!1,L=null,$=[],me=n[1].startsWith("--"),Ee=[],Se=n;Se;){if(u=Se[0],Ee.push(Se),"("===u||"["===u)L||(L=Se),$.push("("===u?")":"]");else if(me&&_&&"{"===u)L||(L=Se),$.push("}");else if(0===$.length){if(";"===u){if(_)return void this.decl(Ee,me);break}if("{"===u)return void this.rule(Ee);if("}"===u){this.tokenizer.back(Ee.pop()),o=!0;break}":"===u&&(_=!0)}else u===$[$.length-1]&&($.pop(),0===$.length&&(L=null));Se=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),$.length>0&&this.unclosedBracket(L),o&&_){if(!me)for(;Ee.length&&("space"===(Se=Ee[Ee.length-1][0])||"comment"===Se);)this.tokenizer.back(Ee.pop());this.decl(Ee,me)}else this.unknownWord(Ee)},s.parse=function(){for(var n;!this.tokenizer.endOfFile();)switch(n=this.tokenizer.nextToken(),n[0]){case"space":this.spaces+=n[1];break;case";":this.freeSemicolon(n);break;case"}":this.end(n);break;case"comment":this.comment(n);break;case"at-word":this.atrule(n);break;case"{":this.emptyRule(n);break;default:this.other(n)}this.endFile()},s.precheckMissedSemicolon=function(){},s.raw=function(n,o,u,_){for(var L,$,me=u.length,Ee="",Se=!0,it=0;it<me;it+=1)"space"!==($=(L=u[it])[0])||it!==me-1||_?"comment"===$&&(yc[u[it-1]?u[it-1][0]:"empty"]||yc[u[it+1]?u[it+1][0]:"empty"]||","===Ee.slice(-1))?Se=!1:Ee+=L[1]:Se=!1;if(!Se){var Zt=u.reduce(function(nt,qt){return nt+qt[1]},"");n.raws[o]={raw:Zt,value:Ee}}n[o]=Ee},s.rule=function(n){n.pop();var o=new oh;this.init(o,n[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(n),this.raw(o,"selector",n),this.current=o},s.spacesAndCommentsFromEnd=function(n){for(var o,u="";n.length&&("space"===(o=n[n.length-1][0])||"comment"===o);)u=n.pop()[1]+u;return u},s.spacesAndCommentsFromStart=function(n){for(var o,u="";n.length&&("space"===(o=n[0][0])||"comment"===o);)u+=n.shift()[1];return u},s.spacesFromEnd=function(n){for(var u="";n.length&&"space"===n[n.length-1][0];)u=n.pop()[1]+u;return u},s.stringFrom=function(n,o){for(var u="",_=o;_<n.length;_++)u+=n[_][1];return n.splice(o,n.length-o),u},s.unclosedBlock=function(){var n=this.current.source.start;throw this.input.error("Unclosed block",n.line,n.column)},s.unclosedBracket=function(n){throw this.input.error("Unclosed bracket",{offset:n[2]},{offset:n[2]+1})},s.unexpectedClose=function(n){throw this.input.error("Unexpected }",{offset:n[2]},{offset:n[2]+1})},s.unknownWord=function(n){throw this.input.error("Unknown word",{offset:n[0][2]},{offset:n[0][2]+n[0][1].length})},s.unnamedAtrule=function(n,o){throw this.input.error("At-rule without name",{offset:o[2]},{offset:o[2]+o[1].length})},r}(),ou=wl,Mp=bc,ef=ul;function tf(r,s){var c=new ef(r,s),n=new Mp(c);try{n.parse()}catch(o){throw o}return n.root}var sh=tf;tf.default=tf,ou.registerParse(tf);var zl=Ys.isClean,xp=Ys.my,Sp=Iu,Fc=Oc,Bu=wl,Uu=Wd,su=Gd,ac=sh,Op=ru,d1={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},nf={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Mm={Once:!0,postcssPlugin:!0,prepare:!0};function lu(r){return"object"===(typeof r>"u"?"undefined":ce(r))&&"function"==typeof r.then}function rf(r){var s=!1,c=d1[r.type];return"decl"===r.type?s=r.prop.toLowerCase():"atrule"===r.type&&(s=r.name.toLowerCase()),s&&r.append?[c,c+"-"+s,0,c+"Exit",c+"Exit-"+s]:s?[c,c+"-"+s,c+"Exit",c+"Exit-"+s]:r.append?[c,0,c+"Exit"]:[c,c+"Exit"]}function Ip(r){return{eventIndex:0,events:"document"===r.type?["Document",0,"DocumentExit"]:"root"===r.type?["Root",0,"RootExit"]:rf(r),iterator:0,node:r,visitorIndex:0,visitors:[]}}
1function of(r){return r[zl]=!1,r.nodes&&r.nodes.forEach(function(s){return of(s)}),r}var sf={},cu=function(){function r(c,n,o){var _,u=this;if(this.stringified=!1,this.processed=!1,"object"!==(typeof n>"u"?"undefined":ce(n))||null===n||"root"!==n.type&&"document"!==n.type)if(W(n,r)||W(n,su))_=of(n.root),n.map&&(typeof o.map>"u"&&(o.map={}),o.map.inline||(o.map.inline=!1),o.map.prev=n.map);else{var L=ac;o.syntax&&(L=o.syntax.parse),o.parser&&(L=o.parser),L.parse&&(L=L.parse);try{_=L(n,o)}catch($){this.processed=!0,this.error=$}_&&!_[xp]&&Bu.rebuild(_)}else _=of(n);this.result=new su(c,_,o),this.helpers=U({},sf,{postcss:sf,result:this.result}),this.plugins=this.processor.plugins.map(function($){return"object"===(typeof $>"u"?"undefined":ce($))&&$.prepare?U({},$,$.prepare(u.result)):$})}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},s.handleError=function(n,o){var u=this.result.lastPlugin;try{o&&o.addToError(n),this.error=n,"CssSyntaxError"!==n.name||n.plugin||(n.plugin=u.postcssPlugin,n.setMessage())}catch(Se){console&&console.error&&console.error(Se)}return n},s.prepareVisitors=function(){var n=this;this.listeners={};for(var _,o=function(Ee,Se,Ae){n.listeners[Se]||(n.listeners[Se]=[]),n.listeners[Se].push([Ee,Ae])},u=de(this.plugins);!(_=u()).done;){var L=_.value;if("object"===(typeof L>"u"?"undefined":ce(L)))for(var $ in L){if(!nf[$]&&/^[A-Z]/.test($))throw new Error("Unknown event "+$+" in "+L.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Mm[$])if("object"===ce(L[$]))for(var me in L[$])o(L,"*"===me?$:$+"-"+me.toLowerCase(),L[$][me]);else"function"==typeof L[$]&&o(L,$,L[$])}}this.hasListener=Object.keys(this.listeners).length>0},s.runAsync=function(){var n=this;return ee(function(){var o,_,L,$,me,Ee,Se,ft,it,Zt;return _e(this,function(nt){switch(nt.label){case 0:n.plugin=0,o=0,nt.label=1;case 1:if(!(o<n.plugins.length))return[3,6];if(!lu(_=n.runOnRoot(n.plugins[o])))return[3,5];nt.label=2;case 2:return nt.trys.push([2,4,,5]),[4,_];case 3:return nt.sent(),[3,5];case 4:throw L=nt.sent(),n.handleError(L);case 5:return o++,[3,1];case 6:if(n.prepareVisitors(),!n.hasListener)return[3,18];$=n.result.root,nt.label=7;case 7:if($[zl])return[3,14];$[zl]=!0,me=[Ip($)],nt.label=8;case 8:if(!(me.length>0))return[3,13];if(!lu(Ee=n.visitTick(me)))return[3,12];nt.label=9;case 9:return nt.trys.push([9,11,,12]),[4,Ee];case 10:return nt.sent(),[3,12];case 11:throw Se=nt.sent(),n.handleError(Se,me[me.length-1].node);case 12:return[3,8];case 13:return[3,7];case 14:if(!n.listeners.OnceExit)return[3,18];ft=function(){var qt,Ln,nr,Zn;return _e(this,function(Er){switch(Er.label){case 0:Ln=(qt=Zt.value)[1],n.result.lastPlugin=qt[0],Er.label=1;case 1:return Er.trys.push([1,6,,7]),"document"!==$.type?[3,3]:(nr=$.nodes.map(function(pi){return Ln(pi,n.helpers)}),[4,Promise.all(nr)]);case 2:return Er.sent(),[3,5];case 3:return[4,Ln($,n.helpers)];case 4:Er.sent(),Er.label=5;case 5:return[3,7];case 6:throw Zn=Er.sent(),n.handleError(Zn);case 7:return[2]}})},it=de(n.listeners.OnceExit),nt.label=15;case 15:return(Zt=it()).done?[3,18]:[5,we(ft())];case 16:nt.sent(),nt.label=17;case 17:return[3,15];case 18:return n.processed=!0,[2,n.stringify()]}})})()},s.runOnRoot=function(n){var o=this;this.result.lastPlugin=n;try{if("object"===(typeof n>"u"?"undefined":ce(n))&&n.Once){if("document"===this.result.root.type){var u=this.result.root.nodes.map(function(_){return n.Once(_,o.helpers)});return lu(u[0])?Promise.all(u):u}return n.Once(this.result.root,this.helpers)}if("function"==typeof n)return n(this.result.root,this.result)}catch(_){throw this.handleError(_)}},s.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var n=this.result.opts,o=Fc;n.syntax&&(o=n.syntax.stringify),n.stringifier&&(o=n.stringifier),o.stringify&&(o=o.stringify);var _=new Sp(o,this.result.root,this.result.opts).generate();return this.result.css=_[0],this.result.map=_[1],this.result},s.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var o,n=de(this.plugins);!(o=n()).done;)if(lu(this.runOnRoot(o.value)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){for(var L=this.result.root;!L[zl];)L[zl]=!0,this.walkSync(L);if(this.listeners.OnceExit)if("document"===L.type)for(var me,$=de(L.nodes);!(me=$()).done;)this.visitSync(this.listeners.OnceExit,me.value);else this.visitSync(this.listeners.OnceExit,L)}return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this.css},s.visitSync=function(n,o){for(var _,u=de(n);!(_=u()).done;){var L=_.value,me=L[1];this.result.lastPlugin=L[0];var Ee=void 0;try{Ee=me(o,this.helpers)}catch(Se){throw this.handleError(Se,o.proxyOf)}if("root"!==o.type&&"document"!==o.type&&!o.parent)return!0;
1if(lu(Ee))throw this.getAsyncError()}},s.visitTick=function(n){var o=n[n.length-1],u=o.node,_=o.visitors;if("root"===u.type||"document"===u.type||u.parent){if(_.length>0&&o.visitorIndex<_.length){var L=_[o.visitorIndex],$=L[0],me=L[1];o.visitorIndex+=1,o.visitorIndex===_.length&&(o.visitors=[],o.visitorIndex=0),this.result.lastPlugin=$;try{return me(u.toProxy(),this.helpers)}catch(it){throw this.handleError(it,u)}}if(0!==o.iterator){for(var Se,Ee=o.iterator;Se=u.nodes[u.indexes[Ee]];)if(u.indexes[Ee]+=1,!Se[zl])return Se[zl]=!0,void n.push(Ip(Se));o.iterator=0,delete u.indexes[Ee]}for(var Ae=o.events;o.eventIndex<Ae.length;){var ft=Ae[o.eventIndex];if(o.eventIndex+=1,0===ft)return void(u.nodes&&u.nodes.length&&(u[zl]=!0,o.iterator=u.getIterator()));if(this.listeners[ft])return void(o.visitors=this.listeners[ft])}n.pop()}else n.pop()},s.walkSync=function(n){var o=this;n[zl]=!0;for(var L,_=de(rf(n));!(L=_()).done;){var $=L.value;if(0===$)n.nodes&&n.each(function(Ee){Ee[zl]||o.walkSync(Ee)});else{var me=this.listeners[$];if(me&&this.visitSync(me,n.toProxy()))return}}},s.warnings=function(){return this.sync().warnings()},ve(r,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),r}();cu.registerPostcss=function(r){sf=r};var af=cu;cu.default=cu,Op.registerLazyResult(cu),Uu.registerLazyResult(cu);var xm=Iu,Wi=Oc,Tp=sh,ah=Gd,uu=function(){function r(c,n,o){n=n.toString(),this.stringified=!1,this._processor=c,this._css=n,this._opts=o,this._map=void 0;var u,_=Wi;this.result=new ah(this._processor,u,this._opts),this.result.css=n;var L=this;Object.defineProperty(this.result,"root",{get:function(){return L.root}});var $=new xm(_,u,this._opts,n);if($.isMap()){var me=$.generate(),Ee=me[0],Se=me[1];Ee&&(this.result.css=Ee),Se&&(this.result.map=Se)}else $.clearAnnotation(),this.result.css=$.css}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.sync=function(){if(this.error)throw this.error;return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this._css},s.warnings=function(){return[]},ve(r,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var n,o=Tp;try{n=o(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=n,n}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),r}(),Pp=uu;uu.default=uu;var Sm=Pp,Dm=af,lh=Wd,Ap=ru,fd=function(){function r(c){void 0===c&&(c=[]),this.version="8.4.38",this.plugins=this.normalize(c)}var s=r.prototype;return s.normalize=function(n){for(var _,o=[],u=de(n);!(_=u()).done;){var L=_.value;if(!0===L.postcss?L=L():L.postcss&&(L=L.postcss),"object"===(typeof L>"u"?"undefined":ce(L))&&Array.isArray(L.plugins))o=o.concat(L.plugins);else if("object"===(typeof L>"u"?"undefined":ce(L))&&L.postcssPlugin)o.push(L);else if("function"==typeof L)o.push(L);else if("object"!==(typeof L>"u"?"undefined":ce(L))||!L.parse&&!L.stringify)throw new Error(L+" is not a PostCSS plugin")}return o},s.process=function(n,o){return void 0===o&&(o={}),this.plugins.length||o.parser||o.stringifier||o.syntax?new Dm(this,n,o):new Sm(this,n,o)},s.use=function(n){return this.plugins=this.plugins.concat(this.normalize([n])),this},r}(),Rp=fd;fd.default=fd,Ap.registerProcessor(fd),lh.registerProcessor(fd);var Ko=Pn,ch=mp,hd=Tu,Nc=sc,lc=ul,Om=ru,uh=xl;function Cc(r,s){if(Array.isArray(r))return r.map(function(Se){return Cc(Se)});var c=r.inputs,n=re(r,["inputs"]);if(c){s=[];for(var u,o=de(c);!(u=o()).done;){var L=U({},u.value,{__proto__:lc.prototype});L.map&&(L.map=U({},L.map,{__proto__:ch.prototype})),s.push(L)}}
1if(n.nodes&&(n.nodes=r.nodes.map(function(Se){return Cc(Se,s)})),n.source){var $=n.source,me=$.inputId,Ee=re($,["inputId"]);n.source=Ee,null!=me&&(n.source.input=s[me])}if("root"===n.type)return new Om(n);if("decl"===n.type)return new Ko(n);if("rule"===n.type)return new uh(n);if("comment"===n.type)return new hd(n);if("atrule"===n.type)return new Nc(n);throw new Error("Unknown node type: "+r.type)}var lf=Cc;Cc.default=Cc;var dh=Ga,fh=Pn,cf=af,uf=wl,du=Rp,hh=Oc,df=lf,ph=Wd,pd=bp,Bc=Tu,kp=sc,Im=Gd,mh=ul,F=sh,v=iu,g=xl,D=ru,G=be;function le(){for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return 1===s.length&&Array.isArray(s[0])&&(s=s[0]),new du(s)}le.plugin=function(s,c){var u,n=!1;function o(){for(var _=arguments.length,L=new Array(_),$=0;$<_;$++)L[$]=arguments[$];console&&console.warn&&!n&&(n=!0,console.warn(s+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(s+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var me=c.apply(void 0,[].concat(L));return me.postcssPlugin=s,me.postcssVersion=(new du).version,me}return Object.defineProperty(o,"postcss",{get:function(){return u||(u=o()),u}}),o.process=function(_,L,$){return le([o($)]).process(_,L)},o},le.stringify=hh,le.parse=F,le.fromJSON=df,le.list=v,le.comment=function(r){return new Bc(r)},le.atRule=function(r){return new kp(r)},le.decl=function(r){return new fh(r)},le.rule=function(r){return new g(r)},le.root=function(r){return new D(r)},le.document=function(r){return new ph(r)},le.CssSyntaxError=dh,le.Declaration=fh,le.Container=uf,le.Processor=du,le.Document=ph,le.Comment=Bc,le.Warning=pd,le.AtRule=kp,le.Result=Im,le.Input=mh,le.Rule=g,le.Root=D,le.Node=G,cf.registerPostcss(le),le.default=le;var ze=function(){function r(){for(var c=arguments.length,n=new Array(c),o=0;o<c;o++)n[o]=arguments[o];hn(this,"parentElement",null),hn(this,"parentNode",null),hn(this,"ownerDocument"),hn(this,"firstChild",null),hn(this,"lastChild",null),hn(this,"previousSibling",null),hn(this,"nextSibling",null),hn(this,"ELEMENT_NODE",1),hn(this,"TEXT_NODE",3),hn(this,"nodeType"),hn(this,"nodeName"),hn(this,"RRNodeType")}var s=r.prototype;return s.contains=function(n){if(!W(n,r))return!1;if(n.ownerDocument!==this.ownerDocument)return!1;if(n===this)return!0;for(;n.parentNode;){if(n.parentNode===this)return!0;n=n.parentNode}return!1},s.appendChild=function(n){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},s.insertBefore=function(n,o){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},s.removeChild=function(n){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},s.toString=function(){return"RRNode"},ve(r,[{key:"childNodes",get:function(){for(var n=[],o=this.firstChild;o;)n.push(o),o=o.nextSibling;return n}}]),r}(),ht={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},cn={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},rn={};function Mn(r){if(rn[r])return rn[r];var s=globalThis[r],c=s.prototype,n=r in ht?ht[r]:void 0,o=!(!n||!n.every(function(Ee){var Se,Ae;return!(null==(Ae=null==(Se=Object.getOwnPropertyDescriptor(c,Ee))?void 0:Se.get)||!Ae.toString().includes("[native code]"))})),u=r in cn?cn[r]:void 0,_=!(!u||!u.every(function(Ee){var Se;return"function"==typeof c[Ee]&&(null==(Se=c[Ee])?void 0:Se.toString().includes("[native code]"))}));if(o&&_&&!globalThis.Zone)return rn[r]=s.prototype,s.prototype;try{var L=document.createElement("iframe");document.body.appendChild(L);var $=L.contentWindow;if(!$)return s.prototype;var me=$[r].prototype;return document.body.removeChild(L),me?rn[r]=me:c}catch{return c}}var In={};function Un(r,s,c){var n,o=r+"."+String(c);if(In[o])return In[o].call(s);var u=Mn(r),_=null==(n=Object.getOwnPropertyDescriptor(u,c))?void 0:n.get;return _?(In[o]=_,_.call(s)):s[c]}var Cr={};function wr(r,s,c){var n=r+"."+String(c);if(Cr[n])return Cr[n].bind(s);var u=Mn(r)[c];return"function"!=typeof u?s[c]:(Cr[n]=u,u.bind(s))}function ys(){return Mn("MutationObserver").constructor}function Qo(r,s,c){try{if(!(s in r))return function(){};var n=r[s],o=c(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),r[s]=o,function(){r[s]=n}}catch{return function(){}}}var qr_childNodes=function qn(r){return Un("Node",r,"childNodes")},qr_parentNode=function hr(r){return Un("Node",r,"parentNode")},qr_parentElement=function Ir(r){return Un("Node",r,"parentElement")},qr_textContent=function Vr(r){return Un("Node",r,"textContent")},qr_contains=function Xr(r,s){return wr("Node",r,"contains")(s)},qr_getRootNode=function jr(r){return wr("Node",r,"getRootNode")()},qr_host=function ar(r){return r&&"host"in r?Un("ShadowRoot",r,"host"):null},qr_shadowRoot=function Qr(r){return r&&"shadowRoot"in r?Un("Element",r,"shadowRoot"):null};
1function yr(r,s,c){void 0===c&&(c=document);var n={capture:!0,passive:!0};return c.addEventListener(r,s,n),function(){return c.removeEventListener(r,s,n)}}var Fr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",br={map:{},getId:function(){return console.error(Fr),-1},getNode:function(){return console.error(Fr),null},removeNodeFromMap:function(){console.error(Fr)},has:function(){return console.error(Fr),!1},reset:function(){console.error(Fr)}};function ui(r,s,c){void 0===c&&(c={});var n=null,o=0;return function(){for(var u=arguments.length,_=new Array(u),L=0;L<u;L++)_[L]=arguments[L];var $=Date.now();!o&&!1===c.leading&&(o=$);var me=s-($-o),Ee=this;me<=0||me>s?(n&&(clearTimeout(n),n=null),o=$,r.apply(Ee,_)):!n&&!1!==c.trailing&&(n=setTimeout(function(){o=!1===c.leading?0:Date.now(),n=null,r.apply(Ee,_)},me))}}function co(r,s,c,n,o){void 0===o&&(o=window);var u=o.Object.getOwnPropertyDescriptor(r,s);return o.Object.defineProperty(r,s,n?c:{set:function(L){var $=this;setTimeout(function(){c.set.call($,L)},0),u&&u.set&&u.set.call(this,L)}}),function(){return co(r,s,u||{},!0)}}typeof window<"u"&&window.Proxy&&window.Reflect&&(br=new Proxy(br,{get:function(s,c,n){return"map"===c&&console.error(Fr),Reflect.get(s,c,n)}}));var P=Date.now;function lt(r){var s,c,n,o,u=r.document;return{left:u.scrollingElement?u.scrollingElement.scrollLeft:void 0!==r.pageXOffset?r.pageXOffset:u.documentElement.scrollLeft||u?.body&&(null==(s=qr_parentElement(u.body))?void 0:s.scrollLeft)||(null==(c=u?.body)?void 0:c.scrollLeft)||0,top:u.scrollingElement?u.scrollingElement.scrollTop:void 0!==r.pageYOffset?r.pageYOffset:u?.documentElement.scrollTop||u?.body&&(null==(n=qr_parentElement(u.body))?void 0:n.scrollTop)||(null==(o=u?.body)?void 0:o.scrollTop)||0}}function I(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function pe(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ge(r){return r?r.nodeType===r.ELEMENT_NODE?r:qr_parentElement(r):null}function Jt(r,s,c,n){if(!r)return!1;var o=ge(r);if(!o)return!1;try{if("string"==typeof s){if(o.classList.contains(s)||n&&null!==o.closest("."+s))return!0}else if(mo(o,s,n))return!0}catch{}return!(!c||!(o.matches(c)||n&&null!==o.closest(c)))}function Mi(r,s,c){return!("TITLE"!==r.tagName||!c.headTitleMutations)||-2===s.getId(r)}function Rs(r,s){if(En(r))return!1;var c=s.getId(r);if(!s.has(c))return!0;var n=qr_parentNode(r);return(!n||n.nodeType!==r.DOCUMENT_NODE)&&(!n||Rs(n,s))}function Sl(r){return!!r.changedTouches}function fu(r,s){return!("IFRAME"!==r.nodeName||!s.getMeta(r))}function Tm(r,s){return!("LINK"!==r.nodeName||r.nodeType!==r.ELEMENT_NODE||!r.getAttribute||"stylesheet"!==r.getAttribute("rel")||!s.getMeta(r))}function ff(r){return!!r&&(W(r,ze)&&"shadowRoot"in r?!!r.shadowRoot:!!qr_shadowRoot(r))}/[1-9][0-9]{12}/.test(Date.now().toString())||(P=function(){return(new Date).getTime()});var f1=function(){function r(){Me(this,"id",1),Me(this,"styleIDMap",new WeakMap),Me(this,"idStyleMap",new Map)}var s=r.prototype;return s.getId=function(n){var o;return null!=(o=this.styleIDMap.get(n))?o:-1},s.has=function(n){return this.styleIDMap.has(n)},s.add=function(n,o){return this.has(n)?this.getId(n):(u=void 0===o?this.id++:o,this.styleIDMap.set(n,u),this.idStyleMap.set(u,n),u);var u},s.getStyle=function(n){return this.idStyleMap.get(n)||null},s.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},s.generateId=function(){return this.id++},s.remove=function(n){var o=this.styleIDMap.get(n);return void 0!==o&&(this.styleIDMap.delete(n),this.idStyleMap.delete(o),!0)},r}();function gh(r){var s,c=null;return"getRootNode"in r&&(null==(s=qr_getRootNode(r))?void 0:s.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&qr_host(qr_getRootNode(r))&&(c=qr_host(qr_getRootNode(r))),c}function p1(r){var s=r.ownerDocument;return!!s&&(qr_contains(s,r)||function h1(r){var s=r.ownerDocument;if(!s)return!1;var c=function md(r){for(var c,s=r;c=gh(s);)s=c;return s}(r);return qr_contains(s,c)}(r))}var Ro=function(r){return r[r.DomContentLoaded=0]="DomContentLoaded",r[r.Load=1]="Load",r[r.FullSnapshot=2]="FullSnapshot",r[r.IncrementalSnapshot=3]="IncrementalSnapshot",r[r.Meta=4]="Meta",r[r.Custom=5]="Custom",r[r.Plugin=6]="Plugin",r}(Ro||{}),Ji=function(r){return r[r.Mutation=0]="Mutation",r[r.MouseMove=1]="MouseMove",r[r.MouseInteraction=2]="MouseInteraction",r[r.Scroll=3]="Scroll",r[r.ViewportResize=4]="ViewportResize",r[r.Input=5]="Input",r[r.TouchMove=6]="TouchMove",r[r.MediaInteraction=7]="MediaInteraction",r[r.StyleSheetRule=8]="StyleSheetRule",r[r.CanvasMutation=9]="CanvasMutation",r[r.Font=10]="Font",r[r.Log=11]="Log",r[r.Drag=12]="Drag",r[r.StyleDeclaration=13]="StyleDeclaration",r[r.Selection=14]="Selection",r[r.AdoptedStyleSheet=15]="AdoptedStyleSheet",r[r.CustomElement=16]="CustomElement",r}(Ji||{}),Ql=function(r){return r[r.MouseUp=0]="MouseUp",r[r.MouseDown=1]="MouseDown",r[r.Click=2]="Click",r[r.ContextMenu=3]="ContextMenu",r[r.DblClick=4]="DblClick",r[r.Focus=5]="Focus",r[r.Blur=6]="Blur",r[r.TouchStart=7]="TouchStart",r[r.TouchMove_Departed=8]="TouchMove_Departed",r[r.TouchEnd=9]="TouchEnd",r[r.TouchCancel=10]="TouchCancel",r}(Ql||{}),Uc=function(r){return r[r.Mouse=0]="Mouse",r[r.Pen=1]="Pen",r[r.Touch=2]="Touch",r}(Uc||{}),hf=function(r){return r[r["2D"]=0]="2D",r[r.WebGL=1]="WebGL",r[r.WebGL2=2]="WebGL2",r}(hf||{}),pf=function(r){return r[r.Play=0]="Play",r[r.Pause=1]="Pause",r[r.Seeked=2]="Seeked",r[r.VolumeChange=3]="VolumeChange",r[r.RateChange=4]="RateChange",r}(pf||{}),m1=function(r){return r[r.Document=0]="Document",r[r.DocumentType=1]="DocumentType",r[r.Element=2]="Element",r[r.Text=3]="Text",r[r.CDATA=4]="CDATA",r[r.Comment=5]="Comment",r}(m1||{});function g1(r){return"__ln"in r}var _h,_1=function(){function r(){Me(this,"length",0),Me(this,"head",null),Me(this,"tail",null)}var s=r.prototype;return s.get=function(n){if(n>=this.length)throw new Error("Position outside of list range");for(var o=this.head,u=0;u<n;u++)o=o?.next||null;return o},s.addNode=function(n){var o={value:n,previous:null,next:null};if(n.__ln=o,n.previousSibling&&g1(n.previousSibling)){var u=n.previousSibling.__ln.next;o.next=u,o.previous=n.previousSibling.__ln,n.previousSibling.__ln.next=o,u&&(u.previous=o)}else if(n.nextSibling&&g1(n.nextSibling)&&n.nextSibling.__ln.previous){var _=n.nextSibling.__ln.previous;o.previous=_,o.next=n.nextSibling.__ln,n.nextSibling.__ln.previous=o,_&&(_.next=o)}else this.head&&(this.head.previous=o),o.next=this.head,this.head=o;null===o.next&&(this.tail=o),this.length++},s.removeNode=function(n){var o=n.__ln;this.head&&(o.previous?(o.previous.next=o.next,o.next?o.next.previous=o.previous:this.tail=o.previous):(this.head=o.next,this.head?this.head.previous=null:this.tail=null),n.__ln&&delete n.__ln,this.length--)},r}(),v1=function(r,s){return r+"@"+s},y1=function(){function r(){var c=this;Me(this,"frozen",!1),Me(this,"locked",!1),Me(this,"texts",[]),Me(this,"attributes",[]),Me(this,"attributeMap",new WeakMap),Me(this,"removes",[]),Me(this,"mapRemoves",[]),Me(this,"movedMap",{}),Me(this,"addedSet",new Set),Me(this,"movedSet",new Set),Me(this,"droppedSet",new Set),Me(this,"removesSubTreeCache",new Set),Me(this,"mutationCb"),Me(this,"blockClass"),Me(this,"blockSelector"),Me(this,"maskTextClass"),Me(this,"maskTextSelector"),Me(this,"inlineStylesheet"),Me(this,"maskInputOptions"),Me(this,"maskTextFn"),Me(this,"maskInputFn"),Me(this,"keepIframeSrcFn"),Me(this,"recordCanvas"),Me(this,"inlineImages"),Me(this,"slimDOMOptions"),Me(this,"dataURLOptions"),Me(this,"doc"),Me(this,"mirror"),Me(this,"iframeManager"),Me(this,"stylesheetManager"),Me(this,"shadowDomManager"),Me(this,"canvasManager"),Me(this,"processedNodeManager"),Me(this,"unattachedDoc"),Me(this,"processMutations",function(n){n.forEac
1h(c.processMutation),c.emit()}),Me(this,"emit",function(){if(!c.frozen&&!c.locked){for(var n=[],o=new Set,u=new _1,_=function(Xi){for(var Io=Xi,qs=-2;-2===qs;)qs=(Io=Io&&Io.nextSibling)&&c.mirror.getId(Io);return qs},L=function(Xi){var Io=qr_parentNode(Xi);if(Io&&p1(Xi)){var qs=!1;if(Xi.nodeType===Node.TEXT_NODE){var Bo=Io.tagName;if("TEXTAREA"===Bo)return;"STYLE"===Bo&&c.addedSet.has(Io)&&(qs=!0)}var ql=En(Io)?c.mirror.getId(gh(Xi)):c.mirror.getId(Io),gl=_(Xi);if(-1===ql||-1===gl)return u.addNode(Xi);var _l=dt(Xi,{doc:c.doc,mirror:c.mirror,blockClass:c.blockClass,blockSelector:c.blockSelector,maskTextClass:c.maskTextClass,maskTextSelector:c.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:c.inlineStylesheet,maskInputOptions:c.maskInputOptions,maskTextFn:c.maskTextFn,maskInputFn:c.maskInputFn,slimDOMOptions:c.slimDOMOptions,dataURLOptions:c.dataURLOptions,recordCanvas:c.recordCanvas,inlineImages:c.inlineImages,onSerialize:function(ea){fu(ea,c.mirror)&&c.iframeManager.addIframe(ea),Tm(ea,c.mirror)&&c.stylesheetManager.trackLinkElement(ea),ff(Xi)&&c.shadowDomManager.addShadowRoot(qr_shadowRoot(Xi),c.doc)},onIframeLoad:function(ea,oa){c.iframeManager.attachIframe(ea,oa),c.shadowDomManager.observeAttachShadow(ea)},onStylesheetLoad:function(ea,oa){c.stylesheetManager.attachLinkElement(ea,oa)},cssCaptured:qs});_l&&(n.push({parentId:ql,nextId:gl,node:_l}),o.add(_l.id))}};c.mapRemoves.length;){var $=c.mapRemoves.shift();c.cleanupRemovedNode($),c.mirror.removeNodeFromMap($)}for(var Ee,me=de(c.movedSet);!(Ee=me()).done;){var Se=Ee.value;Lp(c.removesSubTreeCache,Se)&&!c.movedSet.has(qr_parentNode(Se))||L(Se)}for(var ft,Ae=de(c.addedSet);!(ft=Ae()).done;){var it=ft.value;!Fp(c.droppedSet,it)&&!Lp(c.removesSubTreeCache,it)||Fp(c.movedSet,it)?L(it):c.droppedSet.add(it)}for(var Zt=null;u.length;){var nt=null;if(Zt){var qt=c.mirror.getId(qr_parentNode(Zt.value)),mn=_(Zt.value);-1!==qt&&-1!==mn&&(nt=Zt)}if(!nt)for(var Ln=u.tail;Ln;){var nr=Ln;
1if(Ln=Ln.previous,nr){var Zn=c.mirror.getId(qr_parentNode(nr.value));if(-1===_(nr.value))continue;if(-1!==Zn){nt=nr;break}var zr=qr_parentNode(nr.value);if(zr&&zr.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var Ri=qr_host(zr);if(-1!==c.mirror.getId(Ri)){nt=nr;break}}}}if(!nt){for(;u.head;)u.removeNode(u.head.value);break}Zt=nt.previous,u.removeNode(nt.value),L(nt.value)}var Js={texts:c.texts.map(function(Xi){var Io=Xi.node,qs=qr_parentNode(Io);return qs&&"TEXTAREA"===qs.tagName&&c.genTextAreaValueMutation(qs),{id:c.mirror.getId(Io),value:Xi.value}}).filter(function(Xi){return!o.has(Xi.id)}).filter(function(Xi){return c.mirror.has(Xi.id)}),attributes:c.attributes.map(function(Xi){var Io=Xi.attributes;if("string"==typeof Io.style){var qs=JSON.stringify(Xi.styleDiff),Bo=JSON.stringify(Xi._unchangedStyles);qs.length<Io.style.length&&(qs+Bo).split("var(").length===Io.style.split("var(").length&&(Io.style=Xi.styleDiff)}return{id:c.mirror.getId(Xi.node),attributes:Io}}).filter(function(Xi){return!o.has(Xi.id)}).filter(function(Xi){return c.mirror.has(Xi.id)}),removes:c.removes,adds:n};!Js.texts.length&&!Js.attributes.length&&!Js.removes.length&&!Js.adds.length||(c.texts=[],c.attributes=[],c.attributeMap=new WeakMap,c.removes=[],c.addedSet=new Set,c.movedSet=new Set,c.droppedSet=new Set,c.removesSubTreeCache=new Set,c.movedMap={},c.mutationCb(Js))}}),Me(this,"genTextAreaValueMutation",function(n){var o=c.attributeMap.get(n);o||(c.attributes.push(o={node:n,attributes:{},styleDiff:{},_unchangedStyles:{}}),c.attributeMap.set(n,o));var u=Array.from(qr_childNodes(n),function(_){return qr_textContent(_)||""}).join("");o.attributes.value=oo({element:n,maskInputOptions:c.maskInputOptions,tagName:n.tagName,type:at(n),value:u,maskInputFn:c.maskInputFn})}),Me(this,"processMutation",function(n){if(!Mi(n.target,c.mirror,c.slimDOMOptions))switch(n.type){case"characterData":var o=qr_textContent(n.target);!Jt(n.target,c.blockClass,c.blockSelector,!1)&&o!==n.oldValue&&c.texts.push({value:ei(n.target,c.maskTextClass,c.maskTextSelector,!0)&&o?c.maskTextFn?c.maskTextFn(o,ge(n.target)):o.replace(/[\S]/g,"*"):o,node:n.target});break;case"attributes":var u=n.target,_=n.attributeName,L=n.target.getAttribute(_);if("value"===_){var $=at(u);L=oo({element:u,maskInputOptions:c.maskInputOptions,tagName:u.tagName,type:$,value:L,maskInputFn:c.maskInputFn})}if(Jt(n.target,c.blockClass,c.blockSelector,!1)||L===n.oldValue)return;var me=c.attributeMap.get(n.target);if("IFRAME"===u.tagName&&"src"===_&&!c.keepIframeSrcFn(L)){if(u.contentDocument)return;_="rr_src"}if(me||(c.attributes.push(me={node:n.target,attributes:{},styleDiff:{},_unchangedStyles:{}}),c.attributeMap.set(n.target,me)),"type"===_&&"INPUT"===u.tagName&&"password"===(n.oldValue||"").toLowerCase()&&u.setAttribute("data-rr-is-password","true"),!ji(u.tagName,_))if(me.attributes[_]=gi(c.doc,eo(u.tagName),eo(_),L),"style"===_){if(!c.unattachedDoc)try{c.unattachedDoc=document.implementation.createHTMLDocument()}catch{c.unattachedDoc=c.doc}var Ee=c.unattachedDoc.createElement("span");n.oldValue&&Ee.setAttribute("style",n.oldValue);for(var Ae,Se=de(Array.from(u.style));!(Ae=Se()).done;){var ft=Ae.value,it=u.style.getPropertyValue(ft),Zt=u.style.getPropertyPriority(ft);it!==Ee.style.getPropertyValue(ft)||Zt!==Ee.style.getPropertyPriority(ft)?me.styleDiff[ft]=""===Zt?it:[it,Zt]:me._unchangedStyles[ft]=[it,Zt]}for(var qt,nt=de(Array.from(Ee.style));!(qt=nt()).done;){var mn=qt.value;""===u.style.getPropertyValue(mn)&&(me.styleDiff[mn]=!1)}}else"open"===_&&"DIALOG"===u.tagName&&(me.attributes.rr_open_mode=u.matches("dialog:modal")?"modal":"non-modal");break;case"childList":if(Jt(n.target,c.blockClass,c.blockSelector,!0))return;if("TEXTAREA"===n.target.tagName)return void c.genTextAreaValueMutation(n.target);n.addedNodes.forEach(function(Ln){return c.genAdds(Ln,n.target)}),n.removedNodes.forEach(function(Ln){var nr=c.mirror.getId(Ln),Zn=En(n.target)?c.mirror.getId(qr_host(n.target)):c.mirror.getId(n.target);Jt(n.target,c.blockClass,c.blockSelector,!1)||Mi(Ln,c.mirror,c.slimDOMOptions)||!function sr(r,s){return-1!==s.getId(r)}(Ln,c.mirror)||(c.addedSet.has(Ln)?(Vu(c.addedSet,Ln),c.droppedSet.add(Ln)):c.addedSet.has(n.target)&&-1===nr||Rs(n.target,c.mirror)||(c.movedSet.has(Ln)&&c.movedMap[v1(nr,Zn)]?Vu(c.movedSet,Ln):(c.removes.push({parentId:Zn,id:nr,isShadow:!(!En(n.target)||!m(n.target))||void 0}),function a_(r,s){for(var c=[r];c.length;){var n=c.pop();
1s.has(n)||(s.add(n),qr_childNodes(n).forEach(function(o){return c.push(o)}))}}(Ln,c.removesSubTreeCache))),c.mapRemoves.push(Ln))})}}),Me(this,"genAdds",function(n,o){if(!c.processedNodeManager.inOtherBuffer(n,c)&&!c.addedSet.has(n)&&!c.movedSet.has(n)){if(c.mirror.hasNode(n)){if(Mi(n,c.mirror,c.slimDOMOptions))return;c.movedSet.add(n);var u=null;o&&c.mirror.hasNode(o)&&(u=c.mirror.getId(o)),u&&-1!==u&&(c.movedMap[v1(c.mirror.getId(n),u)]=!0)}else c.addedSet.add(n),c.droppedSet.delete(n);Jt(n,c.blockClass,c.blockSelector,!1)||(qr_childNodes(n).forEach(function(_){return c.genAdds(_)}),ff(n)&&qr_childNodes(qr_shadowRoot(n)).forEach(function(_){c.processedNodeManager.add(_,c),c.genAdds(_,n)}))}}),Me(this,"cleanupRemovedNode",function(n){if("IFRAME"===n.nodeName)try{c.iframeManager.removeIframe(n)}catch{}else try{c.stylesheetManager.cleanupStylesheetsForRemovedNode(n)}catch{}n.childNodes.forEach(function(o){c.cleanupRemovedNode(o)})})}var s=r.prototype;return s.init=function(n){var o=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(u){o[u]=n[u]})},s.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},s.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},s.isFrozen=function(){return this.frozen},s.lock=function(){this.locked=!0,this.canvasManager.lock()},s.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},s.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},s.getDoc=function(){return this.doc},r}();function Vu(r,s){r.delete(s),qr_childNodes(s).forEach(function(c){return Vu(r,c)})}function Lp(r,s,c){return 0!==r.size&&function b1(r,s){var n=qr_parentNode(s);return!!n&&r.has(n)}(r,s)}function Fp(r,s){return 0!==r.size&&l_(r,s)}function l_(r,s){var c=qr_parentNode(s);return!!c&&(!!r.has(c)||l_(r,c))}var ko=function(r){return _h?function(){for(var c=arguments.length,n=new Array(c),o=0;o<c;o++)n[o]=arguments[o];try{return r.apply(void 0,[].concat(n))}catch(u){if(_h&&!0===_h(u))return;throw u}}:r},cc=[];function hu(r){try{if("composedPath"in r){var s=r.composedPath();if(s.length)return s[0]}else if("path"in r&&r.path.length)return r.path[0]}catch{}return r&&r.target}function c_(r,s){var c=new y1;cc.push(c),c.init(r);var n=new(ys())(ko(c.processMutations.bind(c)));return n.observe(s,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Qy(r){var s=r.scrollCb,c=r.doc,n=r.mirror,o=r.blockClass,u=r.blockSelector,_=r.sampling;return yr("scroll",ko(ui(ko(function($){var me=hu($);if(me&&!Jt(me,o,u,!0)){var Ee=n.getId(me);if(me===c&&c.defaultView){var Se=lt(c.defaultView);s({id:Ee,x:Se.left,y:Se.top})}else s({id:Ee,x:me.scrollLeft,y:me.scrollTop})}}),_.scroll||100)),c)}var C1=["INPUT","TEXTAREA","SELECT"],Pm=new WeakMap;function Np(r){return function c(n,o){if(w1("CSSGroupingRule")&&W(n.parentRule,CSSGroupingRule)||w1("CSSMediaRule")&&W(n.parentRule,CSSMediaRule)||w1("CSSSupportsRule")&&W(n.parentRule,CSSSupportsRule)||w1("CSSConditionRule")&&W(n.parentRule,CSSConditionRule)){var _=Array.from(n.parentRule.cssRules).indexOf(n);o.unshift(_)}else if(n.parentStyleSheet){var $=Array.from(n.parentStyleSheet.cssRules).indexOf(n);o.unshift($)}return o}(r,[])}function mf(r,s,c){var n,o;return r?(r.ownerNode?n=s.getId(r.ownerNode):o=c.getId(r),{styleId:o,id:n}):{}}function f_(r,s){var o,u,_,L,n=r.stylesheetManager;L=r.mirror.getId("#document"===s.nodeName?s:qr_host(s));var $="#document"===s.nodeName?null==(o=s.defaultView)?void 0:o.Document:null==(_=null==(u=s.ownerDocument)?void 0:u.defaultView)?void 0:_.ShadowRoot,me=$?.prototype?Object.getOwnPropertyDescriptor($?.prototype,"adoptedStyleSheets"):void 0;return null!==L&&-1!==L&&$&&me?(Object.defineProperty(s,"adoptedStyleSheets",{configurable:me.configurable,enumerable:me.enumerable,get:function(){var Se;return null==(Se=me.get)?void 0:Se.call(this)},set:function(Se){var Ae,ft=null==(Ae=me.set)?void 0:Ae.call(this,Se);if(null!==L&&-1!==L)try{n.adoptStyleSheets(Se,L)}catch{}return ft}}),ko(function(){Object.defineProperty(s,"adoptedStyleSheets",{configurable:me.configurable,enumerable:me.enumerable,get:me.get,set:me.set})})):function(){}}function km(r,s){void 0===s&&(s={});var n,c=r.doc.defaultView;if(!c)return function(){};!function Rm(r,s){var c=r.mutationCb,n=r.mousemoveCb,o=r.mouseInteractionCb,u=r.scrollCb,_=r.viewportResizeCb,L=r.inputCb,$=r.mediaInteractionCb,me=r.styleSheetRuleCb,Ee=r.styleDeclarationCb,Se=r.canvasMutationCb,Ae=r.fontCb,ft=r.selectionCb,it=r.customElementCb;
1r.mutationCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.mutation&&(mn=s).mutation.apply(mn,[].concat(nt)),c.apply(void 0,[].concat(nt))},r.mousemoveCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.mousemove&&(mn=s).mousemove.apply(mn,[].concat(nt)),n.apply(void 0,[].concat(nt))},r.mouseInteractionCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.mouseInteraction&&(mn=s).mouseInteraction.apply(mn,[].concat(nt)),o.apply(void 0,[].concat(nt))},r.scrollCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.scroll&&(mn=s).scroll.apply(mn,[].concat(nt)),u.apply(void 0,[].concat(nt))},r.viewportResizeCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.viewportResize&&(mn=s).viewportResize.apply(mn,[].concat(nt)),_.apply(void 0,[].concat(nt))},r.inputCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.input&&(mn=s).input.apply(mn,[].concat(nt)),L.apply(void 0,[].concat(nt))},r.mediaInteractionCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.mediaInteaction&&(mn=s).mediaInteaction.apply(mn,[].concat(nt)),$.apply(void 0,[].concat(nt))},r.styleSheetRuleCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.styleSheetRule&&(mn=s).styleSheetRule.apply(mn,[].concat(nt)),me.apply(void 0,[].concat(nt))},r.styleDeclarationCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.styleDeclaration&&(mn=s).styleDeclaration.apply(mn,[].concat(nt)),Ee.apply(void 0,[].concat(nt))},r.canvasMutationCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.canvasMutation&&(mn=s).canvasMutation.apply(mn,[].concat(nt)),Se.apply(void 0,[].concat(nt))},r.fontCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.font&&(mn=s).font.apply(mn,[].concat(nt)),Ae.apply(void 0,[].concat(nt))},r.selectionCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.selection&&(mn=s).selection.apply(mn,[].concat(nt)),ft.apply(void 0,[].concat(nt))},r.customElementCb=function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn;s.customElement&&(mn=s).customElement.apply(mn,[].concat(nt)),it.apply(void 0,[].concat(nt))}}(r,s),r.recordDOM&&(n=c_(r,r.doc));var o=function u_(r){var s=r.mousemoveCb,c=r.sampling,n=r.doc,o=r.mirror;if(!1===c.mousemove)return function(){};var $,u="number"==typeof c.mousemove?c.mousemove:50,_="number"==typeof c.mousemoveCallback?c.mousemoveCallback:500,L=[],me=ui(ko(function(Ae){var ft=Date.now()-$;s(L.map(function(it){return it.timeOffset-=ft,it}),Ae),L=[],$=null}),_),Ee=ko(ui(ko(function(Ae){var ft=hu(Ae),it=Sl(Ae)?Ae.changedTouches[0]:Ae,Zt=it.clientX,nt=it.clientY;
1$||($=P()),L.push({x:Zt,y:nt,id:o.getId(ft),timeOffset:P()-$}),me(typeof DragEvent<"u"&&W(Ae,DragEvent)?Ji.Drag:W(Ae,MouseEvent)?Ji.MouseMove:Ji.TouchMove)}),u,{trailing:!1})),Se=[yr("mousemove",Ee,n),yr("touchmove",Ee,n),yr("drag",Ee,n)];return ko(function(){Se.forEach(function(Ae){return Ae()})})}(r),u=function Zy(r){var s=r.mouseInteractionCb,c=r.doc,n=r.mirror,o=r.blockClass,u=r.blockSelector,_=r.sampling;if(!1===_.mouseInteraction)return function(){};var L=!0===_.mouseInteraction||void 0===_.mouseInteraction?{}:_.mouseInteraction,$=[],me=null;return Object.keys(Ql).filter(function(Se){return Number.isNaN(Number(Se))&&!Se.endsWith("_Departed")&&!1!==L[Se]}).forEach(function(Se){var Ae=eo(Se),ft=function(Se){return function(Ae){var ft=hu(Ae);if(!Jt(ft,o,u,!0)){var it=null,Zt=Se;if("pointerType"in Ae){switch(Ae.pointerType){case"mouse":it=Uc.Mouse;break;case"touch":it=Uc.Touch;break;case"pen":it=Uc.Pen}it===Uc.Touch&&(Ql[Se]===Ql.MouseDown?Zt="TouchStart":Ql[Se]===Ql.MouseUp&&(Zt="TouchEnd"))}else Sl(Ae)&&(it=Uc.Touch);null!==it?(me=it,(Zt.startsWith("Touch")&&it===Uc.Touch||Zt.startsWith("Mouse")&&it===Uc.Mouse)&&(it=null)):Ql[Se]===Ql.Click&&(it=me,me=null);var nt=Sl(Ae)?Ae.changedTouches[0]:Ae;if(nt){var qt=n.getId(ft),mn=nt.clientX,Ln=nt.clientY;ko(s)(U({type:Ql[Zt],id:qt,x:mn,y:Ln},null!==it&&{pointerType:it}))}}}}(Se);if(window.PointerEvent)switch(Ql[Se]){case Ql.MouseDown:case Ql.MouseUp:Ae=Ae.replace("mouse","pointer");break;case Ql.TouchStart:case Ql.TouchEnd:return}$.push(yr(Ae,ft,c))}),ko(function(){$.forEach(function(Se){return Se()})})}(r),_=Qy(r),L=function Jy(r,s){var c=r.viewportResizeCb,n=s.win,o=-1,u=-1;return yr("resize",ko(ui(ko(function(){var L=I(),$=pe();(o!==L||u!==$)&&(c({width:Number($),height:Number(L)}),o=L,u=$)}),200)),n)}(r,{win:c}),$=function d_(r){var s=r.inputCb,c=r.doc,n=r.mirror,o=r.blockClass,u=r.blockSelector,_=r.ignoreClass,L=r.ignoreSelector,$=r.maskInputOptions,me=r.maskInputFn,Se=r.userTriggeredOnInput;function Ae(nr){var Zn=hu(nr),Er=nr.isTrusted,pi=Zn&&Zn.tagName;if(Zn&&"OPTION"===pi&&(Zn=qr_parentElement(Zn)),Zn&&pi&&!(C1.indexOf(pi)<0)&&!Jt(Zn,o,u,!0)&&!(Zn.classList.contains(_)||L&&Zn.matches(L))){var zr=Zn.value,Ri=!1,vo=at(Zn)||"";"radio"===vo||"checkbox"===vo?Ri=Zn.checked:($[pi.toLowerCase()]||$[vo])&&(zr=oo({element:Zn,maskInputOptions:$,tagName:pi,type:vo,value:zr,maskInputFn:me})),ft(Zn,Se?{text:zr,isChecked:Ri,userTriggered:Er}:{text:zr,isChecked:Ri});var Js=Zn.name;"radio"===vo&&Js&&Ri&&c.querySelectorAll('input[type="radio"][name="'+Js+'"]').forEach(function(Xi){if(Xi!==Zn){var Io=Xi.value;ft(Xi,Se?{text:Io,isChecked:!Ri,userTriggered:!1}:{text:Io,isChecked:!Ri})}})}}function ft(nr,Zn){var Er=Pm.get(nr);if(!Er||Er.text!==Zn.text||Er.isChecked!==Zn.isChecked){Pm.set(nr,Zn);var pi=n.getId(nr);ko(s)(U({},Zn,{id:pi}))}}var Zt=("last"===r.sampling.input?["change"]:["input","change"]).map(function(nr){return yr(nr,ko(Ae),c)}),nt=c.defaultView;if(!nt)return function(){Zt.forEach(function(nr){return nr()})};var Ln,qt=nt.Object.getOwnPropertyDescriptor(nt.HTMLInputElement.prototype,"value");return qt&&qt.set&&(Ln=Zt).push.apply(Ln,[].concat([[nt.HTMLInputElement.prototype,"value"],[nt.HTMLInputElement.prototype,"checked"],[nt.HTMLSelectElement.prototype,"value"],[nt.HTMLTextAreaElement.prototype,"value"],[nt.HTMLSelectElement.prototype,"selectedIndex"],[nt.HTMLOptionElement.prototype,"selected"]].map(function(nr){return co(nr[0],nr[1],{set:function(){ko(Ae)({target:this,isTrusted:!1})}},!1,nt)}))),ko(function(){Zt.forEach(function(nr){return nr()})})}(r),me=function E1(r){var s=r.mediaInteractionCb,c=r.blockClass,n=r.blockSelector,o=r.mirror,u=r.sampling,_=r.doc,L=ko(function(me){return ui(ko(function(Ee){var Se=hu(Ee);if(Se&&!Jt(Se,c,n,!0)){var Ae=Se.currentTime,ft=Se.volume,it=Se.muted,Zt=Se.playbackRate,nt=Se.loop;s({type:me,id:o.getId(Se),currentTime:Ae,volume:ft,muted:it,playbackRate:Zt,loop:nt})}}),u.media||500)}),$=[yr("play",L(pf.Play),_),yr("pause",L(pf.Pause),_),yr("seeked",L(pf.Seeked),_),yr("volumechange",L(pf.VolumeChange),_),yr("ratechange",L(pf.RateChange),_)];return ko(function(){$.forEach(function(me){return me()})})}(r),Ee=function(){},Se=function(){},Ae=function(){},ft=function(){};r.recordDOM&&(Ee=function qy(r,s){var c=r.styleSheetRuleCb,n=r.mirror,o=r.
1stylesheetManager,u=s.win;if(!u.CSSStyleSheet||!u.CSSStyleSheet.prototype)return function(){};var _=u.CSSStyleSheet.prototype.insertRule;u.CSSStyleSheet.prototype.insertRule=new Proxy(_,{apply:ko(function(Ae,ft,it){var Zt=it[0],nt=it[1],qt=mf(ft,n,o.styleMirror),mn=qt.id,Ln=qt.styleId;return(mn&&-1!==mn||Ln&&-1!==Ln)&&c({id:mn,styleId:Ln,adds:[{rule:Zt,index:nt}]}),Ae.apply(ft,it)})}),u.CSSStyleSheet.prototype.addRule=function(Ae,ft,it){return void 0===it&&(it=this.cssRules.length),u.CSSStyleSheet.prototype.insertRule.apply(this,[Ae+" { "+ft+" }",it])};var $,me,L=u.CSSStyleSheet.prototype.deleteRule;u.CSSStyleSheet.prototype.deleteRule=new Proxy(L,{apply:ko(function(Ae,ft,it){var Zt=it[0],nt=mf(ft,n,o.styleMirror),qt=nt.id,mn=nt.styleId;return(qt&&-1!==qt||mn&&-1!==mn)&&c({id:qt,styleId:mn,removes:[{index:Zt}]}),Ae.apply(ft,it)})}),u.CSSStyleSheet.prototype.removeRule=function(Ae){return u.CSSStyleSheet.prototype.deleteRule.apply(this,[Ae])},u.CSSStyleSheet.prototype.replace&&($=u.CSSStyleSheet.prototype.replace,u.CSSStyleSheet.prototype.replace=new Proxy($,{apply:ko(function(Ae,ft,it){var Zt=it[0],nt=mf(ft,n,o.styleMirror),qt=nt.id,mn=nt.styleId;return(qt&&-1!==qt||mn&&-1!==mn)&&c({id:qt,styleId:mn,replace:Zt}),Ae.apply(ft,it)})})),u.CSSStyleSheet.prototype.replaceSync&&(me=u.CSSStyleSheet.prototype.replaceSync,u.CSSStyleSheet.prototype.replaceSync=new Proxy(me,{apply:ko(function(Ae,ft,it){var Zt=it[0],nt=mf(ft,n,o.styleMirror),qt=nt.id,mn=nt.styleId;return(qt&&-1!==qt||mn&&-1!==mn)&&c({id:qt,styleId:mn,replaceSync:Zt}),Ae.apply(ft,it)})}));var Ee={};Bp("CSSGroupingRule")?Ee.CSSGroupingRule=u.CSSGroupingRule:(Bp("CSSMediaRule")&&(Ee.CSSMediaRule=u.CSSMediaRule),Bp("CSSConditionRule")&&(Ee.CSSConditionRule=u.CSSConditionRule),Bp("CSSSupportsRule")&&(Ee.CSSSupportsRule=u.CSSSupportsRule));var Se={};return Object.entries(Ee).forEach(function(Ae){var ft=Ae[0],it=Ae[1];Se[ft]={insertRule:it.prototype.insertRule,deleteRule:it.prototype.deleteRule},it.prototype.insertRule=new Proxy(Se[ft].insertRule,{apply:ko(function(Zt,nt,qt){var mn=qt[0],Ln=qt[1],nr=mf(nt.parentStyleSheet,n,o.styleMirror),Zn=nr.id,Er=nr.styleId;return(Zn&&-1!==Zn||Er&&-1!==Er)&&c({id:Zn,styleId:Er,adds:[{rule:mn,index:[].concat(Np(nt),[Ln||0])}]}),Zt.apply(nt,qt)})}),it.prototype.deleteRule=new Proxy(Se[ft].deleteRule,{apply:ko(function(Zt,nt,qt){var mn=qt[0],Ln=mf(nt.parentStyleSheet,n,o.styleMirror),nr=Ln.id,Zn=Ln.styleId;return(nr&&-1!==nr||Zn&&-1!==Zn)&&c({id:nr,styleId:Zn,removes:[{index:[].concat(Np(nt),[mn])}]}),Zt.apply(nt,qt)})})}),ko(function(){u.CSSStyleSheet.prototype.insertRule=_,u.CSSStyleSheet.prototype.deleteRule=L,$&&(u.CSSStyleSheet.prototype.replace=$),me&&(u.CSSStyleSheet.prototype.replaceSync=me),Object.entries(Ee).forEach(function(Ae){var ft=Ae[0],it=Ae[1];it.prototype.insertRule=Se[ft].insertRule,it.prototype.deleteRule=Se[ft].deleteRule})})}(r,{win:c}),Se=f_(r,r.doc),Ae=function e3(r,s){var c=r.styleDeclarationCb,n=r.mirror,o=r.ignoreCSSAttributes,u=r.stylesheetManager,_=s.win,L=_.CSSStyleDeclaration.prototype.setProperty;_.CSSStyleDeclaration.prototype.setProperty=new Proxy(L,{apply:ko(function(me,Ee,Se){var Ae,ft=Se[0],it=Se[1],Zt=Se[2];if(o.has(ft))return L.apply(Ee,[ft,it,Zt]);var nt=mf(null==(Ae=Ee.parentRule)?void 0:Ae.parentStyleSheet,n,u.styleMirror),qt=nt.id,mn=nt.styleId;return(qt&&-1!==qt||mn&&-1!==mn)&&c({id:qt,styleId:mn,set:{property:ft,value:it,priority:Zt},index:Np(Ee.parentRule)}),me.apply(Ee,Se)})});var $=_.CSSStyleDeclaration.prototype.removeProperty;return _.CSSStyleDeclaration.prototype.removeProperty=new Proxy($,{apply:ko(function(me,Ee,Se){var Ae,ft=Se[0];if(o.has(ft))return $.apply(Ee,[ft]);var it=mf(null==(Ae=Ee.parentRule)?void 0:Ae.parentStyleSheet,n,u.styleMirror),Zt=it.id,nt=it.styleId;return(Zt&&-1!==Zt||nt&&-1!==nt)&&c({id:Zt,styleId:nt,remove:{property:ft},index:Np(Ee.parentRule)}),me.apply(Ee,Se)})}),ko(function(){_.CSSStyleDeclaration.prototype.setProperty=L,_.CSSStyleDeclaration.prototype.removeProperty=$})}(r,{win:c}),r.collectFonts&&(ft=function t3(r){var s=r.fontCb,c=r.doc,n=c.defaultView;if(!n)return function(){};var o=[],u=new WeakMap,_=n.FontFace;n.FontFace=function(me,Ee,Se){var Ae=new _(me,Ee,Se);return u.set(Ae,{family:me,buffer:"string"!=typeof Ee,descriptors:Se,fontSource:"string"==typeof Ee?Ee:JSON.stringify(Array.from(new Uint8Array(Ee)))}),Ae};var L=Qo(c.fonts,"add",function($){return function(me){return setTimeout(ko(function(){var Ee=u.get(me);Ee&&(s(Ee),u.delete(me))}),0),$.apply(this,[me])}});return o.push(function(){n.FontFace=_}),o.push(L),ko(function(){o.forEach(function($){return $()})})}(r)));for(var mn,it=function Am(r){var s=r.doc,c=r.mirror,n=r.blockClass,o=r.blockSelector,u=r.selectionCb,_=!0,L=ko(function(){var $=s.getSelection();if(!(!$||_&&$?.isCollapsed)){_=$.isCollapsed||!1;for(var me=[],Ee=$.rangeCount||0,Se=0;Se<Ee;Se++){var Ae=$.getRangeAt(Se),ft=Ae.startContainer,it=Ae.startOffset,Zt=Ae.endContainer,nt=Ae.endOffset;Jt(ft,n,o,!0)||Jt(Zt,n,o,!0)||me.push({start:c.getId(ft),startOffset:it,end:c.getId(Zt),endOffset:nt})}u({ranges:me})}});return L(),yr("selectionchange",L)}(r),Zt=function n3(r){var c=r.customElementCb,n=r.doc.defaultView;return n&&n.customElements?Qo(n.customElements,"define",function(u){return function(_,L,$){try{c({define:{name:_}})}catch{console.warn("Custom element callback failed for "+_)}return u.apply(this,[_,L,$])}}):function(){}}(r),nt=[],qt=de(r.plugins);!(mn=qt()).done;){var Ln=mn.value;nt.push(Ln.observer(Ln.callback,c,Ln.options))}return ko(function(){cc.forEach(function(nr){return nr.reset()}),n?.disconnect(),o(),u(),_(),L(),$(),me(),Ee(),Se(),Ae(),ft(),it(),Zt(),nt.forEach(function(nr){return nr()})})}function w1(r){return typeof window[r]<"u"}function Bp(r){return!!(typeof window[r]<"u"&&window[r].prototype&&"insertRule"in window[r].prototype&&"deleteRule"in window[r].prototype)}for(var Lm=function(){function r(c){Me(this,"iframeIdToRemoteIdMap",new WeakMap),Me(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=c}var s=r.prototype;return s.getId=function(n,o,u,_){var L=u||this.getIdToRemoteIdMap(n),$=_||this.getRemoteIdToIdMap(n),me=L.get(o);return me||(me=this.generateIdFn(),L.set(o,me),$.set(me,o)),me},s.getIds=function(n,o){var u=this,_=this.getIdToRemoteIdMap(n),L=this.getRemoteIdToIdMap(n);return o.map(function($){return u.getId(n,$,_,L)})},s.getRemoteId=function(n,o,u){var _=u||this.getRemoteIdToIdMap(n);return"number"!=typeof o?o:_.get(o)||-1},s.getRemoteIds=function(n,o){var u=this,_=this.getRemoteIdToIdMap(n);return o.map(function(L){return u.getRemoteId(n,L,_)})},s.reset=function(n){if(!n)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(n),this.iframeRemoteIdToIdMap.delete(n)},s.getIdToRemoteIdMap=function(n){var o=this.iframeIdToRemoteIdMap.get(n);return o||this.iframeIdToRemoteIdMap.set(n,o=new Map),o},s.getRemoteIdToIdMap=function(n){var o=this.iframeRemoteIdToIdMap.get(n);return o||this.iframeRemoteIdToIdMap.set(n,o=new Map),o},r}(),Fm=function(){function r(c){Me(this,"iframes",new WeakMap),Me(this,"crossOriginIframeMap",new WeakMap),Me(this,"crossOriginIframeMirror",new Lm(Ht)),Me(this,"crossOriginIframeStyleMirror"),Me(this,"crossOriginIframeRootIdMap",new WeakMap),Me(this,"iframeContentDocumentMap",new WeakMap),Me(this,"iframeObserverCleanupMap",new WeakMap),Me(this,"mirror"),Me(this,"mutationCb"),Me(this,"wrappedEmit"),Me(this,"loadListener"),Me(this,"stylesheetManager"),Me(this,"recordCrossOriginIframes"),this.mutationCb=c.mutationCb,this.wrappedEmit=c.wrappedEmit,this.stylesheetManager=c.stylesheetManager,this.recordCrossOriginIframes=c.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=ne
vendor: 1,140 bytes, line 1
1w Lm(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=c.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var s=r.prototype;return s.addIframe=function(n){this.iframes.set(n,!0),n.contentWindow&&this.crossOriginIframeMap.set(n.contentWindow,n)},s.getIframeContentDocument=function(n){return this.iframeContentDocumentMap.get(n)},s.setObserverCleanup=function(n,o){this.iframeObserverCleanupMap.set(n,o)},s.getObserverCleanup=function(n){return this.iframeObserverCleanupMap.get(n)},s.removeIframe=function(n){var o=this.iframeContentDocumentMap.get(n);o&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(o),this.mirror.removeNodeFromMap(o,!0)),this.iframes.delete(n),this.iframeContentDocumentMap.delete(n);var u=this.iframeObserverCleanupMap.get(n);if(u){try{u()}catch{}this.iframeObserverCleanupMap.delete(n)}},s.addLoadListener=function(n){this.loadListener=n},s.attachIframe=function(n,o){var u,_;this.mutationCb({adds:[{parentId:this.mirror.getId(n),nextId:null,node:o}],removes:[],texts:[],attributes:[],isAttachIframe:!0}
1),n.contentDocument&&this.iframeContentDocumentMap.set(n,n.contentDocument),this.recordCrossOriginIframes&&(null==(u=n.contentWindow)||u.addEventListener("message",this.handleMessage.bind(this))),null==(_=this.loadListener)||_.call(this,n),n.contentDocument&&n.contentDocument.adoptedStyleSheets&&n.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.contentDocument.adoptedStyleSheets,this.mirror.getId(n.contentDocument))},s.handleMessage=function(n){var o=n;if("rrweb"===o.data.type&&o.origin===o.data.origin&&n.source){var _=this.crossOriginIframeMap.get(n.source);if(_){var L=this.transformCrossOriginEvent(_,o.data.event);L&&this.wrappedEmit(L,o.data.isCheckout)}}},s.transformCrossOriginEvent=function(n,o){var _,u=this;switch(o.type){case Ro.FullSnapshot:this.crossOriginIframeMirror.reset(n),this.crossOriginIframeStyleMirror.reset(n),this.replaceIdOnNode(o.data.node,n);var L=o.data.node.id;return this.crossOriginIframeRootIdMap.set(n,L),this.patchRootIdOnNode(o.data.node,L),{timestamp:o.timestamp,type:Ro.IncrementalSnapshot,data:{source:Ji.Mutation,adds:[{parentId:this.mirror.getId(n),nextId:null,node:o.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Ro.Meta:case Ro.Load:case Ro.DomContentLoaded:return!1;case Ro.Plugin:return o;case Ro.Custom:return this.replaceIds(o.data.payload,n,["id","parentId","previousId","nextId"]),o;case Ro.IncrementalSnapshot:switch(o.data.source){case Ji.Mutation:return o.data.adds.forEach(function($){u.replaceIds($,n,["parentId","nextId","previousId"]),u.replaceIdOnNode($.node,n);var me=u.crossOriginIframeRootIdMap.get(n);me&&u.patchRootIdOnNode($.node,me)}),o.data.removes.forEach(function($){u.replaceIds($,n,["parentId","id"])}),o.data.attributes.forEach(function($){u.replaceIds($,n,["id"])}),o.data.texts.forEach(function($){u.replaceIds($,n,["id"])}),o;case Ji.Drag:case Ji.TouchMove:case Ji.MouseMove:return o.data.positions.forEach(function($){u.replaceIds($,n,["id"])}),o;case Ji.ViewportResize:return!1;case Ji.MediaInteraction:case Ji.MouseInteraction:case Ji.Scroll:case Ji.CanvasMutation:case Ji.Input:return this.replaceIds(o.data,n,["id"]),o;case Ji.StyleSheetRule:case Ji.StyleDeclaration:return this.replaceIds(o.data,n,["id"]),this.replaceStyleIds(o.data,n,["styleId"]),o;case Ji.Font:return o;case Ji.Selection:return o.data.ranges.forEach(function($){u.replaceIds($,n,["start","end"])}),o;case Ji.AdoptedStyleSheet:return this.replaceIds(o.data,n,["id"]),this.replaceStyleIds(o.data,n,["styleIds"]),null==(_=o.data.styles)||_.forEach(function($){u.replaceStyleIds($,n,["styleId"])}),o}}return!1},s.replace=function(n,o,u,_){for(var $,L=de(_);!($=L()).done;){var me=$.value;!Array.isArray(o[me])&&"number"!=typeof o[me]||(o[me]=Array.isArray(o[me])?n.getIds(u,o[me]):n.getId(u,o[me]))}return o},s.replaceIds=function(n,o,u){return this.replace(this.crossOriginIframeMirror,n,o,u)},s.replaceStyleIds=function(n,o,u){return this.replace(this.crossOriginIframeStyleMirror,n,o,u)},s.replaceIdOnNode=function(n,o){var u=this;this.replaceIds(n,o,["id","rootId"]),"childNodes"in n&&n.childNodes.forEach(function(_){u.replaceIdOnNode(_,o)})},s.patchRootIdOnNode=function(n,o){var u=this;n.type!==m1.Document&&!n.rootId&&(n.rootId=o),"childNodes"in n&&n.childNodes.forEach(function(_){u.patchRootIdOnNode(_,o)})},r}(),r3=function(){function r(c){Me(this,"shadowDoms",new WeakSet),Me(this,"mutationCb"),Me(this,"scrollCb"),Me(this,"bypassOptions"),Me(this,"mirror"),Me(this,"restoreHandlers",[]),this.mutationCb=c.mutationCb,this.scrollCb=c.scrollCb,this.bypassOptions=c.bypassOptions,this.mirror=c.mirror,this.init()}var s=r.prototype;return s.init=function(){this.reset(),this.patchAttachShadow(Element,document)},s.addShadowRoot=function(n,o){var u=this;if(m(n)&&!this.shadowDoms.has(n)){this.shadowDoms.add(n);var _=c_(U({},this.bypassOptions,{doc:o,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),n);this.restoreHandlers.push(function(){return _.disconnect()}),this.restoreHandlers.push(Qy(U({},this.bypassOptions,{scrollCb:this.scrollCb,doc:n,mirror:this.mirror}))),setTimeout(function(){n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&u.bypassOptions.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,u.mirror.getId(qr_host(n))),u.restoreHandlers.push(f_({mirror:u.mirror,stylesheetManager:u.bypassOptions.stylesheetManager},n))},0)}},s.observeAttachShadow=function(n){!n.contentWindow||!n.contentDocument||this.patchAttachShadow(n.
1contentWindow.Element,n.contentDocument)},s.patchAttachShadow=function(n,o){var u=this;this.restoreHandlers.push(Qo(n.prototype,"attachShadow",function(_){return function(L){var $=_.call(this,L),me=qr_shadowRoot(this);return me&&p1(this)&&u.addShadowRoot(me,o),$}}))},s.reset=function(){this.restoreHandlers.forEach(function(n){try{n()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},r}(),vh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i3=typeof Uint8Array>"u"?[]:new Uint8Array(256),gf=0;gf<64;gf++)i3[vh.charCodeAt(gf)]=gf;var _f=new Map,s3=function(r,s,c){if(r&&(h_(r,s)||"object"===(typeof r>"u"?"undefined":ce(r)))){var o=function vf(r,s){var c=_f.get(r);return c||_f.set(r,c=new Map),c.has(s)||c.set(s,[]),c.get(s)}(c,r.constructor.name),u=o.indexOf(r);return-1===u&&(u=o.length,o.push(r)),u}};function M1(r,s,c){if(W(r,Array))return r.map(function(it){return M1(it,s,c)});if(null===r)return r;if(W(r,Float32Array)||W(r,Float64Array)||W(r,Int32Array)||W(r,Uint32Array)||W(r,Uint8Array)||W(r,Uint16Array)||W(r,Int16Array)||W(r,Int8Array)||W(r,Uint8ClampedArray))return{rr_type:r.constructor.name,args:[Object.values(r)]};if(W(r,ArrayBuffer)){var o=r.constructor.name,u=function(s){var n,c=new Uint8Array(s),o=c.length,u="";for(n=0;n<o;n+=3)u+=vh[c[n]>>2],u+=vh[(3&c[n])<<4|c[n+1]>>4],u+=vh[(15&c[n+1])<<2|c[n+2]>>6],u+=vh[63&c[n+2]];return o%3==2?u=u.substring(0,u.length-1)+"=":o%3==1&&(u=u.substring(0,u.length-2)+"=="),u}(r);return{rr_type:o,base64:u}}return W(r,DataView)?{rr_type:r.constructor.name,args:[M1(r.buffer,s,c),r.byteOffset,r.byteLength]}:W(r,HTMLImageElement)?{rr_type:r.constructor.name,src:r.src}:W(r,HTMLCanvasElement)?{rr_type:"HTMLImageElement",src:r.toDataURL()}:W(r,ImageData)?{rr_type:r.constructor.name,args:[M1(r.data,s,c),r.width,r.height]}:h_(r,s)||"object"===(typeof r>"u"?"undefined":ce(r))?{rr_type:r.constructor.name,index:s3(r,s,c)}:r}var yh=function(r,s,c){return r.map(function(n){return M1(n,s,c)})},h_=function(r,s){return!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(o){return"function"==typeof s[o]}).find(function(o){return W(r,s[o])})};function g_(r,s,c,n){var o=[];try{var u=Qo(r.HTMLCanvasElement.prototype,"getContext",function(_){return function(L){for(var $=arguments.length,me=new Array($>1?$-1:0),Ee=1;Ee<$;Ee++)me[Ee-1]=arguments[Ee];if(!Jt(this,s,c,!0)){var Se=function m_(r){return"experimental-webgl"===r?"webgl":r}(L);if("__context"in this||(this.__context=Se),n&&["webgl","webgl2"].includes(Se))if(me[0]&&"object"===ce(me[0])){var Ae=me[0];Ae.preserveDrawingBuffer||(Ae.preserveDrawingBuffer=!0)}else me.splice(0,1,{preserveDrawingBuffer:!0})}return _.apply(this,[].concat([L],me))}});o.push(u)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach(function(_){return _()})}}function __(r,s,c,n,o,u){for(var Ee,_=function(){var Se=Ee.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(Se))return"continue";try{if("function"!=typeof r[Se])return"continue";var Ae=Qo(r,Se,function(it){return function(){for(var Zt=arguments.length,nt=new Array(Zt),qt=0;qt<Zt;qt++)nt[qt]=arguments[qt];var mn=it.apply(this,nt);if(s3(mn,u,this),"tagName"in this.canvas&&!Jt(this.canvas,n,o,!0)){var Ln=yh(nt,u,this);c(this.canvas,{type:s,property:Se,args:Ln})}return mn}});L.push(Ae)}catch{var ft=co(r,Se,{set:function(nt){c(this.canvas,{type:s,property:Se,args:[nt],setter:!0})}});L.push(ft)}},L=[],me=de(Object.getOwnPropertyNames(r));!(Ee=me()).done;)_();return L}var r,v_="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
1yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",y_=typeof window<"u"&&window.Blob&&new Blob([(r=v_,Uint8Array.from(atob(r),function(s){return s.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function b_(r){var s;try{if(!(s=y_&&(window.URL||window.webkitURL).createObjectURL(y_)))throw"";var c=new Worker(s,{name:r?.name});return c.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(s)}),c}catch{return new Worker("data:text/javascript;base64,"+v_,{name:r?.name})}finally{s&&(window.URL||window.webkitURL).revokeObjectURL(s)}}var Q2=function(){function r(c){var n=this;Me(this,"pendingCanvasMutations",new Map),Me(this,"rafStamps",{latestId:0,invokeId:null}),Me(this,"mirror"),Me(this,"mutationCb"),Me(this,"resetObservers"),Me(this,"frozen",!1),Me(this,"locked",!1),Me(this,"processMutation",function(Se,Ae){(n.rafStamps.invokeId&&n.rafStamps.latestId!==n.rafStamps.invokeId||!n.rafStamps.invokeId)&&(n.rafStamps.invokeId=n.rafStamps.latestId),n.pendingCanvasMutations.has(Se)||n.pendingCanvasMutations.set(Se,[]),n.pendingCanvasMutations.get(Se).push(Ae)});var o=c.sampling,u=void 0===o?"all":o,_=c.win,L=c.blockClass,$=c.blockSelector,me=c.recordCanvas,Ee=c.dataURLOptions;this.mutationCb=c.mutationCb,this.mirror=c.mirror,me&&"all"===u&&this.initCanvasMutationObserver(_,L,$),me&&"number"==typeof u&&this.initCanvasFPSObserver(u,_,L,$,{dataURLOptions:Ee})}var s=r.prototype;return s.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},s.freeze=function(){this.frozen=!0},s.unfreeze=function(){this.frozen=!1},s.lock=function(){this.locked=!0},s.unlock=function(){this.locked=!1},s.initCanvasFPSObserver=function(n,o,u,_,L){var $=this,me=g_(o,u,_,!0),Ee=new Map,Se=new b_;Se.onmessage=function(qt){var mn=qt.data.id;if(Ee.set(mn,!1),"base64"in qt.data){var Ln=qt.data;$.mutationCb({id:mn,type:hf["2D"],commands:[{property:"clearRect",args:[0,0,Ln.width,Ln.height]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:Ln.base64}],type:Ln.type}]},0,0]}]})}};var it,Ae=1e3/n,ft=0,nt=function(qt){if(ft&&qt-ft<Ae)it=requestAnimationFrame(nt);else{ft=qt;var mn=$;(function(){var qt=[];
1return o.document.querySelectorAll("canvas").forEach(function(mn){Jt(mn,u,_,!0)||qt.push(mn)}),qt})().forEach(ee(function(Ln){var nr,Zn,Er,pi;return _e(this,function(zr){switch(zr.label){case 0:return Zn=mn.mirror.getId(Ln),Ee.get(Zn)||0===Ln.width||0===Ln.height?[2]:(Ee.set(Zn,!0),["webgl","webgl2"].includes(Ln.__context)&&(Er=Ln.getContext(Ln.__context),!1===(null==(nr=Er?.getContextAttributes())?void 0:nr.preserveDrawingBuffer)&&Er.clear(Er.COLOR_BUFFER_BIT)),[4,createImageBitmap(Ln)]);case 1:return pi=zr.sent(),Se.postMessage({id:Zn,bitmap:pi,width:Ln.width,height:Ln.height,dataURLOptions:L.dataURLOptions},[pi]),[2]}})})),it=requestAnimationFrame(nt)}};it=requestAnimationFrame(nt),this.resetObservers=function(){me(),cancelAnimationFrame(it)}},s.initCanvasMutationObserver=function(n,o,u){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var _=g_(n,o,u,!1),L=function p_(r,s,c,n){for(var $,o=function(){var me=$.value;try{if("function"!=typeof s.CanvasRenderingContext2D.prototype[me])return"continue";var Ee=Qo(s.CanvasRenderingContext2D.prototype,me,function(Ae){return function(){for(var ft=this,it=arguments.length,Zt=new Array(it),nt=0;nt<it;nt++)Zt[nt]=arguments[nt];return Jt(this.canvas,c,n,!0)||setTimeout(function(){var qt=yh(Zt,s,ft);r(ft.canvas,{type:hf["2D"],property:me,args:qt})},0),Ae.apply(this,Zt)}});u.push(Ee)}catch{var Se=co(s.CanvasRenderingContext2D.prototype,me,{set:function(it){r(this.canvas,{type:hf["2D"],property:me,args:[it],setter:!0})}});u.push(Se)}},u=[],L=de(Object.getOwnPropertyNames(s.CanvasRenderingContext2D.prototype));!($=L()).done;)o();return function(){u.forEach(function(me){return me()})}}(this.processMutation.bind(this),n,o,u),$=function a3(r,s,c,n){var o,_,u=[];return(o=u).push.apply(o,[].concat(__(s.WebGLRenderingContext.prototype,hf.WebGL,r,c,n,s))),typeof s.WebGL2RenderingContext<"u"&&(_=u).push.apply(_,[].concat(__(s.WebGL2RenderingContext.prototype,hf.WebGL2,r,c,n,s))),function(){u.forEach(function(L){return L()})}}(this.processMutation.bind(this),n,o,u);this.resetObservers=function(){_(),L(),$()}},s.startPendingCanvasMutationFlusher=function(){var n=this;requestAnimationFrame(function(){return n.flushPendingCanvasMutations()})},s.startRAFTimestamping=function(){var n=this,o=function(u){n.rafStamps.latestId=u,requestAnimationFrame(o)};requestAnimationFrame(o)},s.flushPendingCanvasMutations=function(){var n=this;this.pendingCanvasMutations.forEach(function(o,u){var _=n.mirror.getId(u);n.flushPendingCanvasMutationFor(u,_)}),requestAnimationFrame(function(){return n.flushPendingCanvasMutations()})},s.flushPendingCanvasMutationFor=function(n,o){if(!this.frozen&&!this.locked){var u=this.pendingCanvasMutations.get(n);if(u&&-1!==o){var _=u.map(function($){return re($,["type"])});this.mutationCb({id:o,type:u[0].type,commands:_}),this.pendingCanvasMutations.delete(n)}}},r}(),C_=function(){function r(c){Me(this,"trackedLinkElements",new WeakSet),Me(this,"mutationCb"),Me(this,"adoptedStyleSheetCb"),Me(this,"styleMirror",new f1),this.mutationCb=c.mutationCb,this.adoptedStyleSheetCb=c.adoptedStyleSheetCb}var s=r.prototype;return s.attachLinkElement=function(n,o){"_cssText"in o.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:o.id,attributes:o.attributes}]}),this.trackLinkElement(n)},s.trackLinkElement=function(n){this.trackedLinkElements.has(n)||(this.trackedLinkElements.add(n),this.trackStylesheetInLinkElement(n))},s.adoptStyleSheets=function(n,o){var u,_=function(){var Se=Ee.value,Ae=void 0;u.styleMirror.has(Se)?Ae=u.styleMirror.getId(Se):(Ae=u.styleMirror.add(Se),$.push({styleId:Ae,rules:Array.from(Se.rules||CSSRule,function(ft,it){return{rule:bi(ft,Se.href),index:it}})})),L.styleIds.push(Ae)};if(0!==n.length){for(var Ee,L={id:o,styleIds:[]},$=[],me=de(n);!(Ee=me()).done;)u=this,_();$.length>0&&(L.styles=$),this.adoptedStyleSheetCb(L)}},s.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},s.cleanupStylesheetsForRemovedNode=function(n){var o=this;try{if(n.nodeType===Node.DOCUMENT_NODE&&n.adoptedStyleSheets)for(var L,_=de(n.adoptedStyleSheets);!(L=_()).done;)this.styleMirror.remove(L.value);"STYLE"===n.nodeName&&n.sheet&&this.styleMirror.remove(n.sheet),"LINK"===n.nodeName&&"stylesheet"===n.rel&&n.sheet&&this.styleMirror.remove(n.sheet),n.childNodes&&n.childNodes.forEac
1h(function(Se){o.cleanupStylesheetsForRemovedNode(Se)})}catch{}},s.trackStylesheetInLinkElement=function(n){},r}(),c3=function(){function r(){Me(this,"nodeMap",new WeakMap),Me(this,"active",!1)}var s=r.prototype;return s.inOtherBuffer=function(n,o){var u=this.nodeMap.get(n);return u&&Array.from(u).some(function(_){return _!==o})},s.add=function(n,o){var u=this;this.active||(this.active=!0,requestAnimationFrame(function(){u.nodeMap=new WeakMap,u.active=!1})),this.nodeMap.set(n,(this.nodeMap.get(n)||new Set).add(o))},s.destroy=function(){},r}();function Nm(r){try{var s=new URL(r).origin;return"null"!==s?s:null}catch{return null}}var Da,Up,Bm,Um=!1;try{if(2!==Array.from([1],function(r){return 2*r})[0]){var x1=document.createElement("iframe");document.body.appendChild(x1),Array.from=(null==(Ze=x1.contentWindow)?void 0:Ze.Array.from)||Array.from,document.body.removeChild(x1)}}catch(r){console.debug("Unable to override Array.from",r)}var S1,Ec=function yo(){return new Ci}();function pu(r){void 0===r&&(r={});var Ua,s=r.emit,c=r.checkoutEveryNms,n=r.checkoutEveryNth,o=r.blockClass,u=void 0===o?"rr-block":o,_=r.blockSelector,L=void 0===_?null:_,$=r.ignoreClass,me=void 0===$?"rr-ignore":$,Ee=r.ignoreSelector,Se=void 0===Ee?null:Ee,Ae=r.maskTextClass,ft=void 0===Ae?"rr-mask":Ae,it=r.maskTextSelector,Zt=void 0===it?null:it,nt=r.inlineStylesheet,qt=void 0===nt||nt,mn=r.maskAllInputs,Ln=r.maskInputOptions,nr=r.slimDOMOptions,Zn=r.maskInputFn,Er=r.maskTextFn,pi=r.hooks,zr=r.packFn,Ri=r.sampling,vo=void 0===Ri?{}:Ri,Js=r.dataURLOptions,Xi=void 0===Js?{}:Js,Io=r.mousemoveWait,qs=r.recordDOM,Bo=void 0===qs||qs,ql=r.recordCanvas,gl=void 0!==ql&&ql,_l=r.recordCrossOriginIframes,ea=void 0!==_l&&_l,oa=r.allowedIframeOrigins,sp=r.recordAfter,xc=void 0===sp?"DOMContentLoaded"===r.recordAfter?r.recordAfter:"load":sp,ap=r.userTriggeredOnInput,uc=void 0!==ap&&ap,nd=r.collectFonts,hs=void 0!==nd&&nd,Gc=r.inlineImages,lp=void 0!==Gc&&Gc,Ld=r.plugins,n1=r.keepIframeSrcFn,Fd=void 0===n1?function(){return!1}:n1,r1=r.ignoreCSSAttributes,Uf=void 0===r1?new Set([]):r1;!function Gy(r){_h=r}(r.errorHandler),ea&&oa&&oa.length>0&&(Ua=function u3(r){if(!Array.isArray(r)||0===r.length)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var s=new Set,c=0;c<r.length;c++){var n=r[c];if("string"!=typeof n)throw new Error("[rrweb] allowedIframeOrigins["+c+"] must be a string, got "+(typeof n>"u"?"undefined":ce(n))+".");var o=Nm(n);o&&s.add(o)}return Object.freeze(s)}(oa),0===Ua.size&&(Ua=void 0));var Bd=!ea||window.parent===window,Vf=!1;if(!Bd)try{window.parent.document&&(Vf=!1)}catch{Vf=!0}if(Bd&&!s)throw new Error("emit function is required");if(!Bd&&!Vf)return function(){};void 0!==Io&&void 0===vo.mousemove&&(vo.mousemove=Io),Ec.reset();var jf=!0===mn?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:void 0!==Ln?Ln:{password:!0},Xc=!0===nr||"all"===nr?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===nr,headMetaDescKeywords:"all"===nr,headTitleMutations:"all"===nr}:nr||{};!function Zl(r){void 0===r&&(r=window),"NodeList"in r&&!r.NodeList.prototype.forEach&&(r.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in r&&!r.DOMTokenList.prototype.forEach&&(r.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var dc,cp=0,Ay=function(os){for(var mi,Il=de(Ld||[]);!(mi=Il()).done;){var Ls=mi.value;Ls.eventProcessor&&(os=Ls.eventProcessor(os))}return zr&&!Vf&&(os=zr(os)),os};Da=function(os,Il){var mi,Ls=os;if(Ls.timestamp=P(),null!=(mi=cc[0])&&mi.isFrozen()&&Ls.type!==Ro.FullSnapshot&&!(Ls.type===Ro.IncrementalSnapshot&&Ls.data.source===Ji.Mutation)&&cc.forEach(function(y2){return y2.unfreeze()}),Bd)s?.(Ay(Ls),Il);else if(Vf){var zf={type:"rrweb",event:Ay(Ls),origin:window.location.origin,isCheckout:Il};if(Ua)for(var fp,s1=de(Ua);!(fp=s1()).done;)window.parent.postMessage(zf,fp.value);else window.parent.postMessage(zf,"*")}if(Ls.type===Ro.FullSnapshot)dc=Ls,cp=0;else if(Ls.type===Ro.IncrementalSnapshot){if(Ls.data.source===Ji.Mutation&&Ls.data.isAttachIframe)return;cp++,(n&&cp>=n||c&&Ls.timestamp-dc.timestamp>c)&&Up(!0)}};for(var t_,vm=function(os){Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.Mutation},os)})},up=function(os){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.Scroll},os)})},Ry=function(os){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.CanvasMutation},os)})},Hf=new C_({mutationCb:vm,adoptedStyleSheetCb:function(os){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.AdoptedStyleSheet},os)})}}),xu=new Fm({mirror:Ec,mutationCb:vm,stylesheetManager:Hf,recordCrossOriginIframes:ea,wrappedEmit:Da}),ky=de(Ld||[]);!(t_=ky()).done;){var Ly=t_.value;Ly.getMirror&&Ly.getMirror({nodeMirror:Ec,crossOriginIframeMirror:xu.crossOriginIframeMirror,crossOriginIframeStyleMirror:xu.crossOriginIframeStyleMirror})}var i1=new c3;
1Bm=new Q2({recordCanvas:gl,mutationCb:Ry,win:window,blockClass:u,blockSelector:L,mirror:Ec,sampling:vo.canvas,dataURLOptions:Xi});var o1=new r3({mutationCb:vm,scrollCb:up,bypassOptions:{blockClass:u,blockSelector:L,maskTextClass:ft,maskTextSelector:Zt,inlineStylesheet:qt,maskInputOptions:jf,dataURLOptions:Xi,maskTextFn:Er,maskInputFn:Zn,recordCanvas:gl,inlineImages:lp,sampling:vo,slimDOMOptions:Xc,iframeManager:xu,stylesheetManager:Hf,canvasManager:Bm,keepIframeSrcFn:Fd,processedNodeManager:i1},mirror:Ec});Up=function(os){if(void 0===os&&(os=!1),Bo){Da({type:Ro.Meta,data:{href:window.location.href,width:pe(),height:I()}},os),Hf.reset(),o1.init(),cc.forEach(function(mi){return mi.lock()});var Il=function Yt(r,s){var c=s||{},n=c.mirror,o=void 0===n?new Ci:n,u=c.blockClass,L=c.blockSelector,me=c.maskTextClass,Se=c.maskTextSelector,ft=c.inlineStylesheet,Zt=c.inlineImages,qt=c.recordCanvas,Ln=c.maskAllInputs,nr=void 0!==Ln&&Ln,pi=c.slimDOM,zr=void 0!==pi&&pi,ql=c.keepIframeSrcFn;return dt(r,{doc:r,mirror:o,blockClass:void 0===u?"rr-block":u,blockSelector:void 0===L?null:L,maskTextClass:void 0===me?"rr-mask":me,maskTextSelector:void 0===Se?null:Se,skipChild:!1,inlineStylesheet:void 0===ft||ft,maskInputOptions:!0===nr?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:!1===nr?{password:!0}:nr,maskTextFn:c.maskTextFn,maskInputFn:c.maskInputFn,slimDOMOptions:!0===zr||"all"===zr?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===zr,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===zr?{}:zr,dataURLOptions:c.dataURLOptions,inlineImages:void 0!==Zt&&Zt,recordCanvas:void 0!==qt&&qt,preserveWhiteSpace:c.preserveWhiteSpace,onSerialize:c.onSerialize,onIframeLoad:c.onIframeLoad,iframeLoadTimeout:c.iframeLoadTimeout,onStylesheetLoad:c.onStylesheetLoad,stylesheetLoadTimeout:c.stylesheetLoadTimeout,keepIframeSrcFn:void 0===ql?function(){return!1}:ql,newlyAddedElement:!1})}(document,{mirror:Ec,blockClass:u,blockSelector:L,maskTextClass:ft,maskTextSelector:Zt,inlineStylesheet:qt,maskAllInputs:jf,maskTextFn:Er,maskInputFn:Zn,slimDOM:Xc,dataURLOptions:Xi,recordCanvas:gl,inlineImages:lp,onSerialize:function(mi){fu(mi,Ec)&&xu.addIframe(mi),Tm(mi,Ec)&&Hf.trackLinkElement(mi),ff(mi)&&o1.addShadowRoot(qr_shadowRoot(mi),document)},onIframeLoad:function(mi,Ls){xu.attachIframe(mi,Ls),o1.observeAttachShadow(mi)},onStylesheetLoad:function(mi,Ls){Hf.attachLinkElement(mi,Ls)},keepIframeSrcFn:Fd});if(!Il)return console.warn("Failed to snapshot the document");Da({type:Ro.FullSnapshot,data:{node:Il,initialOffset:lt(window)}},os),cc.forEach(function(mi){return mi.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Hf.adoptStyleSheets(document.adoptedStyleSheets,Ec.getId(document))}};try{var dp=[],m2=function(os){var Il;return ko(km)({mutationCb:vm,mousemoveCb:function(mi,Ls){return Da({type:Ro.IncrementalSnapshot,data:{source:Ls,positions:mi}})},mouseInteractionCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.MouseInteraction},mi)})},scrollCb:up,viewportResizeCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.ViewportResize},mi)})},inputCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.Input},mi)})},mediaInteractionCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.MediaInteraction},mi)})},styleSheetRuleCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.StyleSheetRule},mi)})},styleDeclarationCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.StyleDeclaration},mi)})},canvasMutationCb:Ry,fontCb:function(mi){return Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.Font},mi)})},selectionCb:function(mi){Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.Selection},mi)})},customElementCb:function(mi){Da({type:Ro.IncrementalSnapshot,data:U({source:Ji.CustomElement},mi)})},blockClass:u,ignoreClass:me,ignoreSelector:Se,maskTextClass:ft,maskTextSelector:Zt,maskInputOptions:jf,inlineStylesheet:qt,sampling:vo,recordDOM:Bo,recordCanvas:gl,inlineImages:lp,userTriggeredOnInput:uc,collectFonts:hs,doc:os,maskInputFn:Zn,maskTextFn:Er,keepIframeSrcFn:Fd,blockSelector:L,slimDOMOptions:Xc,dataURLOptions:Xi,mirror:Ec,iframeManager:xu,stylesheetManager:Hf,shadowDomManager:o1,processedNodeManager:i1,canvasManager:Bm,ignoreCSSAttributes:Uf,plugins:(null==(Il=Ld?.filter(function(mi){return mi.observer}))?void 0:Il.map(function(mi){return{observer:mi.observer,options:mi.options,callback:function(Ls){return Da({type:Ro.Plugin,data:{plugin:mi.name,payload:Ls}})}}}))||[]},pi)};xu.addLoadListener(function(os){try{var Il=os.contentDocument,mi=m2(Il);dp.push(mi);var Ls=xu.getObserverCleanup(os);xu.setObserverCleanup(os,function(){if(Ls)try{Ls()}catch{}try{mi();var zf=dp.indexOf(mi);-1!==zf&&dp.splice(zf,1),function Yy(r){for(var s=cc.length-1;s>=0;s--)cc[s].getDoc()===r&&cc.splice(s,1)}(Il)}catch{}})}catch(zf){console.warn(zf)}});var Fy=function(){Up(),dp.push(m2(document)),Um=!0};return"interactive"===document.readyState||"complete"===document.readyState?Fy():(dp.push(yr("DOMContentLoaded",function(){Da({type:Ro.DomContentLoaded,data:{}}),"DOMContentLoaded"===xc&&Fy()})),dp.push(yr("load",function(){Da({type:Ro.Load,data:{}}),"load"===xc&&Fy()}
1,window))),function(){dp.forEach(function(os){try{os()}catch(mi){String(mi).toLowerCase().includes("cross-origin")||console.warn(mi)}}),i1.destroy(),Um=!1,function Xy(){_h=void 0}()}}catch(os){console.warn(os)}}pu.addCustomEvent=function(r,s){if(!Um)throw new Error("please add custom event after start recording");Da({type:Ro.Custom,data:{tag:r,payload:s}})},pu.freezePage=function(){cc.forEach(function(r){return r.freeze()})},pu.takeFullSnapshot=function(r){if(!Um)throw new Error("please take full snapshot after start recording");Up(r)},pu.mirror=Ec,function(r){r[r.NotStarted=0]="NotStarted",r[r.Running=1]="Running",r[r.Stopped=2]="Stopped"}(S1||(S1={}));var E_={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},yf={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Vp={};function gd(r){if(Vp[r])return Vp[r];var s=globalThis[r],c=s.prototype,n=r in E_?E_[r]:void 0,o=!(!n||!n.every(function(Ee){var Se,Ae;return!(null==(Ae=null==(Se=Object.getOwnPropertyDescriptor(c,Ee))?void 0:Se.get)||!Ae.toString().includes("[native code]"))})),u=r in yf?yf[r]:void 0,_=!(!u||!u.every(function(Ee){var Se;return"function"==typeof c[Ee]&&(null==(Se=c[Ee])?void 0:Se.toString().includes("[native code]"))}));if(o&&_&&!globalThis.Zone)return Vp[r]=s.prototype,s.prototype;try{var L=document.createElement("iframe");document.body.appendChild(L);var $=L.contentWindow;if(!$)return s.prototype;var me=$[r].prototype;return document.body.removeChild(L),me?Vp[r]=me:c}catch{return c}}var jp={};function wc(r,s,c){var n,o=r+"."+String(c);if(jp[o])return jp[o].call(s);var u=gd(r),_=null==(n=Object.getOwnPropertyDescriptor(u,c))?void 0:n.get;return _?(jp[o]=_,_.call(s)):s[c]}var m3_parentNode=function J2(r){return wc("Node",r,"parentNode")};function M_(r,s,c){if(!r)return!1;if(r.nodeType!==r.ELEMENT_NODE)return M_(m3_parentNode(r),s);for(var n=r.classList.length;n--;)if(s.test(r.classList[n]))return!0;return M_(m3_parentNode(r),s)}function _3(r){if(r.__esModule)return r;var s=r.default;if("function"==typeof s){var c=function n(){return W(this,n)?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};c.prototype=s.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(c,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}),c}var T1={exports:{}},Ss=String,bh=function(){return{isColorSupported:!1,reset:Ss,bold:Ss,dim:Ss,italic:Ss,underline:Ss,inverse:Ss,hidden:Ss,strikethrough:Ss,black:Ss,red:Ss,green:Ss,yellow:Ss,blue:Ss,magenta:Ss,cyan:Ss,white:Ss,gray:Ss,bgBlack:Ss,bgRed:Ss,bgGreen:Ss,bgYellow:Ss,bgBlue:Ss,bgMagenta:Ss,bgCyan:Ss,bgWhite:Ss}};T1.exports=bh(),T1.exports.createColors=bh;var P1=T1.exports,zs=_3(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),A1=P1,S_=zs,bf=function(r){function s(n,o,u,_,L,$){var me;return(me=r.call(this,n)||this).name="CssSyntaxError",me.reason=n,L&&(me.file=L),_&&(me.source=_),$&&(me.plugin=$),typeof o<"u"&&typeof u<"u"&&("number"==typeof o?(me.line=o,me.column=u):(me.line=o.line,me.column=o.column,me.endLine=u.line,me.endColumn=u.column)),me.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(me,s),me}X(s,r);var c=s.prototype;return c.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},c.showSourceCode=function(o){var u=this;if(!this.source)return"";var _=this.source;null==o&&(o=A1.isColorSupported),S_&&o&&(_=S_(_));var Se,Ae,L=_.split(/\r?\n/),$=Math.max(this.line-3,0),me=Math.min(this.line+2,L.length),Ee=String(me).length;if(o){var ft=A1.createColors(!0),it=ft.bold,Zt=ft.gray,nt=ft.red;Se=function(qt){return it(nt(qt))},Ae=function(qt){return Zt(qt)}}else Se=Ae=function(qt){return qt};return L.slice($,me).map(function(qt,mn){var Ln=$+1+mn,nr=" "+(" "+Ln).slice(-Ee)+" | ";if(Ln===u.line){var Zn=Ae(nr.replace(/\d/g," "))+qt.slice(0,u.column-1).replace(/[^\t]/g," ");return Se(">")+Ae(nr)+qt+"\n "+Zn+Se("^")}return" "+Ae(nr)+qt}).join("\n")},c.toString=function(){var o=this.showSourceCode();return o&&(o="\n\n"+o+"\n"),this.name+": "+this.message+o},s}(ae(Error)),zm=bf;bf.default=bf;var ju={};ju.isClean=Symbol("isClean"),ju.my=Symbol("my");var _d={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1},k1=function(){function r(c){this.builder=c}var s=r.prototype;return s.atrule=function(n,o){var u="@"+n.name,_=n.params?this.rawValue(n,"params"):"";typeof n.raws.afterName<"u"?u+=n.raws.afterName:_&&(u+=" "),n.nodes?this.block(n,u+_):this.builder(u+_+((n.raws.between||"")+(o?";":"")),n)},s.beforeAfter=function(n,o){var u;u=this.raw(n,null,"decl"===n.type?"beforeDecl":"comment"===n.type?"beforeComment":"before"===o?"beforeRule":"beforeClose");for(var _=n.parent,L=0;_&&"root"!==_.type;)L+=1,_=_.parent;if(u.includes("\n")){var $=this.raw(n,null,"indent");if($.length)for(var me=0;me<L;me++)u+=$}return u},s.block=function(n,o){var _,u=this.raw(n,"between","beforeOpen");this.builder(o+u+"{",n,"start"),n.nodes&&n.nodes.length?(this.body(n),_=this.raw(n,"after")):_=this.raw(n,"after","emptyBody"),_&&this.builder(_),this.builder("}",n,"end")},s.body=function(n){for(var o=n.nodes.length-1;o>0&&"comment"===n.nodes[o].type;)o-=1;for(var u=this.raw(n,"semicolon"),_=0;_<n.nodes.length;_++){var L=n.nodes[_],$=this.raw(L,"before");$&&this.builder($),this.stringify(L,o!==_||u)}},s.comment=function(n){var o=this.raw(n,"left","commentLeft"),u=this.raw(n,"right","commentRight");
1this.builder("/*"+o+n.text+u+"*/",n)},s.decl=function(n,o){var u=this.raw(n,"between","colon"),_=n.prop+u+this.rawValue(n,"value");n.important&&(_+=n.raws.important||" !important"),o&&(_+=";"),this.builder(_,n)},s.document=function(n){this.body(n)},s.raw=function(n,o,u){var _;if(u||(u=o),o&&typeof(_=n.raws[o])<"u")return _;var L=n.parent;if("before"===u&&(!L||"root"===L.type&&L.first===n||L&&"document"===L.type))return"";if(!L)return _d[u];var $=n.root();if($.rawCache||($.rawCache={}),typeof $.rawCache[u]<"u")return $.rawCache[u];if("before"===u||"after"===u)return this.beforeAfter(n,u);var me="raw"+function R1(r){return r[0].toUpperCase()+r.slice(1)}(u);return this[me]?_=this[me]($,n):$.walk(function(Ee){if(typeof(_=Ee.raws[o])<"u")return!1}),typeof _>"u"&&(_=_d[u]),$.rawCache[u]=_,_},s.rawBeforeClose=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return(o=u.raws.after).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawBeforeComment=function(n,o){var u;return n.walkComments(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeDecl=function(n,o){var u;return n.walkDecls(function(_){if(typeof _.raws.before<"u")return(u=_.raws.before).includes("\n")&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(o,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u},s.rawBeforeOpen=function(n){var o;return n.walk(function(u){if("decl"!==u.type&&typeof(o=u.raws.between)<"u")return!1}),o},s.rawBeforeRule=function(n){var o;return n.walk(function(u){if(u.nodes&&(u.parent!==n||n.first!==u)&&typeof u.raws.before<"u")return(o=u.raws.before).includes("\n")&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o},s.rawColon=function(n){var o;return n.walkDecls(function(u){if(typeof u.raws.between<"u")return o=u.raws.between.replace(/[^\s:]/g,""),!1}),o},s.rawEmptyBody=function(n){var o;return n.walk(function(u){if(u.nodes&&0===u.nodes.length&&typeof(o=u.raws.after)<"u")return!1}),o},s.rawIndent=function(n){return n.raws.indent?n.raws.indent:(n.walk(function(u){var _=u.parent;if(_&&_!==n&&_.parent&&_.parent===n&&typeof u.raws.before<"u"){var L=u.raws.before.split("\n");return o=(o=L[L.length-1]).replace(/\S/g,""),!1}}),o);var o},s.rawSemicolon=function(n){var o;return n.walk(function(u){if(u.nodes&&u.nodes.length&&"decl"===u.last.type&&typeof(o=u.raws.semicolon)<"u")return!1}),o},s.rawValue=function(n,o){var u=n[o],_=n.raws[o];return _&&_.value===u?_.raw:u},s.root=function(n){this.body(n),n.raws.after&&this.builder(n.raws.after)},s.rule=function(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")},s.stringify=function(n,o){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,o)},r}(),D_=k1;k1.default=k1;var O_=D_;function $m(r,s){new O_(s).stringify(r)}var Wm=$m;$m.default=$m;var Km=ju.isClean,v3=ju.my,zp=zm,y3=D_,b3=Wm;function L1(r,s){var c=new r.constructor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&"proxyCache"!==n){var o=r[n],u=typeof o>"u"?"undefined":ce(o);"parent"===n&&"object"===u?s&&(c[n]=s):"source"===n?c[n]=o:Array.isArray(o)?c[n]=o.map(function(_){return L1(_,c)}):("object"===u&&null!==o&&(o=L1(o)),c[n]=o)}return c}var Ch=function(){function r(c){for(var n in void 0===c&&(c={}),this.raws={},this[Km]=!1,this[v3]=!0,c)if("nodes"===n){this.nodes=[];for(var u,o=de(c[n]);!(u=o()).done;){var _=u.value;this.append("function"==typeof _.clone?_.clone():_)}}else this[n]=c[n]}var s=r.prototype;return s.addToError=function(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){var o=this.source;n.stack=n.stack.replace(/\n\s{4}at /,"$&"+o.input.from+":"+o.start.line+":"+o.start.column+"$&")}return n},s.after=function(n){return this.parent.insertAfter(this,n),this},s.assign=function(n){for(var o in void 0===n&&(n={}),n)this[o]=n[o];return this},s.before=function(n){return this.parent.insertBefore(this,n),this},s.cleanRaws=function(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between},s.clone=function(n){void 0===n&&(n={});var o=L1(this);for(var u in n)o[u]=n[u];return o},s.cloneAfter=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertAfter(this,o),o},s.cloneBefore=function(n){void 0===n&&(n={});var o=this.clone(n);return this.parent.insertBefore(this,o),o},s.error=function(n,o){if(void 0===o&&(o={}),this.source){var u=this.rangeBy(o),_=u.end,L=u.start;return this.source.input.error(n,{column:L.column,line:L.line},{column:_.column,line:_.line},o)}return new zp(n)},s.getProxyProcessor=function(){return{get:function(o,u){return"proxyOf"===u?o:"root"===u?function(){return o.root().toProxy()}:o[u]}
1,set:function(o,u,_){return o[u]===_||(o[u]=_,("prop"===u||"value"===u||"name"===u||"params"===u||"important"===u||"text"===u)&&o.markDirty()),!0}}},s.markDirty=function(){if(this[Km]){this[Km]=!1;for(var n=this;n=n.parent;)n[Km]=!1}},s.next=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n+1]}},s.positionBy=function(n,o){var u=this.source.start;if(n.index)u=this.positionInside(n.index,o);else if(n.word){var _=(o=this.toString()).indexOf(n.word);-1!==_&&(u=this.positionInside(_,o))}return u},s.positionInside=function(n,o){for(var u=o||this.toString(),_=this.source.start.column,L=this.source.start.line,$=0;$<n;$++)"\n"===u[$]?(_=1,L+=1):_+=1;return{column:_,line:L}},s.prev=function(){if(this.parent){var n=this.parent.index(this);return this.parent.nodes[n-1]}},s.rangeBy=function(n){var o={column:this.source.start.column,line:this.source.start.line},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:o.column+1,line:o.line};if(n.word){var _=this.toString(),L=_.indexOf(n.word);-1!==L&&(o=this.positionInside(L,_),u=this.positionInside(L+n.word.length,_))}else n.start?o={column:n.start.column,line:n.start.line}:n.index&&(o=this.positionInside(n.index)),n.end?u={column:n.end.column,line:n.end.line}:"number"==typeof n.endIndex?u=this.positionInside(n.endIndex):n.index&&(u=this.positionInside(n.index+1));return(u.line<o.line||u.line===o.line&&u.column<=o.column)&&(u={column:o.column+1,line:o.line}),{end:u,start:o}},s.raw=function(n,o){return(new y3).raw(this,n,o)},s.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},s.replaceWith=function(){for(var n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];if(this.parent){for(var me,_=this,L=!1,$=de(o);!(me=$()).done;){var Ee=me.value;Ee===this?L=!0:L?(this.parent.insertAfter(_,Ee),_=Ee):this.parent.insertBefore(_,Ee)}L||this.remove()}return this},s.root=function(){for(var n=this;n.parent&&"document"!==n.parent.type;)n=n.parent;return n},s.toJSON=function(n,o){var u={},_=null==o;o=o||new Map;var L=0;for(var $ in this)if(Object.prototype.hasOwnProperty.call(this,$)&&"parent"!==$&&"proxyCache"!==$){var me=this[$];if(Array.isArray(me))u[$]=me.map(function(Se){return"object"===(typeof Se>"u"?"undefined":ce(Se))&&Se.toJSON?Se.toJSON(null,o):Se});else if("object"===(typeof me>"u"?"undefined":ce(me))&&me.toJSON)u[$]=me.toJSON(null,o);else if("source"===$){var Ee=o.get(me.input);null==Ee&&(Ee=L,o.set(me.input,L),L++),u[$]={end:me.end,inputId:Ee,start:me.start}}else u[$]=me}return _&&(u.inputs=[].concat(o.keys()).map(function(Se){return Se.toJSON()})),u},s.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},s.toString=function(n){void 0===n&&(n=b3),n.stringify&&(n=n.stringify);var o="";return n(this,function(u){o+=u}),o},s.warn=function(n,o,u){var _={node:this};for(var L in u)_[L]=u[L];return n.warn(o,_)},ve(r,[{key:"proxyOf",get:function(){return this}}]),r}(),$p=Ch;Ch.default=Ch;var Gm=function(r){function s(c){var n;return c&&typeof c.value<"u"&&"string"!=typeof c.value&&(c=U({},c,{value:String(c.value)})),(n=r.call(this,c)||this).type="decl",n}return X(s,r),ve(s,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),s}($p),Xm=Gm;Gm.default=Gm;var P_=zs.SourceMapConsumer,A_=zs.SourceMapGenerator,C3=zs.existsSync,E3=zs.readFileSync,N1=zs.dirname,w3=zs.join,U1=function(){function r(c,n){if(!1!==n.map){this.loadAnnotation(c),this.inline=this.startWith(this.annotation,"data:");var u=this.loadMap(n.from,n.map?n.map.prev:void 0);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=N1(this.mapFile)),u&&(this.text=u)}}var s=r.prototype;return s.consumer=function(){return this.consumerCache||(this.consumerCache=new P_(this.text)),this.consumerCache},s.decodeInline=function(n){if(/^data:application\/json;charset=utf-?8,/.test(n)||/^data:application\/json,/.test(n))return decodeURIComponent(n.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(n)||/^data:application\/json;base64,/.test(n))return function B1(r){return Buffer?Buffer.from(r,"base64").toString():window.atob(r)}(n.substr(RegExp.lastMatch.length));var $=n.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+$)},s.getAnnotationURL=function(n){return n.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},s.isMap=function(n){return"object"===(typeof n>"u"?"undefined":ce(n))&&("string"==typeof n.mappings||"string"==typeof n._mappings||Array.isArray(n.sections))},s.loadAnnotation=function(n){var o=n.match(/\/\*\s*# sourceMappingURL=/gm);
1if(o){var u=n.lastIndexOf(o.pop()),_=n.indexOf("*/",u);u>-1&&_>-1&&(this.annotation=this.getAnnotationURL(n.substring(u,_)))}},s.loadFile=function(n){if(this.root=N1(n),C3(n))return this.mapFile=n,E3(n,"utf-8").toString().trim()},s.loadMap=function(n,o){if(!1===o)return!1;if(o){if("string"==typeof o)return o;if("function"!=typeof o){if(W(o,P_))return A_.fromSourceMap(o).toString();if(W(o,A_))return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}var u=o(n);if(u){var _=this.loadFile(u);if(!_)throw new Error("Unable to load previous source map: "+u.toString());return _}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var L=this.annotation;return n&&(L=w3(N1(n),L)),this.loadFile(L)}}},s.startWith=function(n,o){return!!n&&n.substr(0,o.length)===o},s.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},r}(),V1=U1;U1.default=U1;var R_=zs.SourceMapConsumer,M3=zs.SourceMapGenerator,Eh=zs.fileURLToPath,Cf=zs.pathToFileURL,k_=zs.isAbsolute,j1=zs.resolve,L_=function(r){void 0===r&&(r=21);for(var s="",c=r;c--;)s+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return s}
1,Wp=zs,F_=zm,N_=V1,B_=Symbol("fromOffsetCache"),rC=!(!R_||!M3),U_=!(!j1||!k_),Kp=function(){function r(c,n){if(void 0===n&&(n={}),null===c||typeof c>"u"||"object"===(typeof c>"u"?"undefined":ce(c))&&!c.toString)throw new Error("PostCSS received "+c+" instead of CSS string");if(this.css=c.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(this.file=!U_||/^\w+:\/\//.test(n.from)||k_(n.from)?n.from:j1(n.from)),U_&&rC){var o=new N_(this.css,n);if(o.text){this.map=o;var u=o.consumer().file;!this.file&&u&&(this.file=this.mapResolve(u))}}this.file||(this.id="<input css "+L_(6)+">"),this.map&&(this.map.file=this.from)}var s=r.prototype;return s.error=function(n,o,u,_){var L,$,me;if(void 0===_&&(_={}),o&&"object"===(typeof o>"u"?"undefined":ce(o))){var Ee=o,Se=u;if("number"==typeof Ee.offset){var Ae=this.fromOffset(Ee.offset);o=Ae.line,u=Ae.col}else o=Ee.line,u=Ee.column;if("number"==typeof Se.offset){var ft=this.fromOffset(Se.offset);$=ft.line,me=ft.col}else $=Se.line,me=Se.column}else if(!u){var it=this.fromOffset(o);o=it.line,u=it.col}var Zt=this.origin(o,u,$,me);return(L=Zt?new F_(n,void 0===Zt.endLine?Zt.line:{column:Zt.column,line:Zt.line},void 0===Zt.endLine?Zt.column:{column:Zt.endColumn,line:Zt.endLine},Zt.source,Zt.file,_.plugin):new F_(n,void 0===$?o:{column:u,line:o},void 0===$?u:{column:me,line:$},this.css,this.file,_.plugin)).input={column:u,endColumn:me,endLine:$,line:o,source:this.css},this.file&&(Cf&&(L.input.url=Cf(this.file).toString()),L.input.file=this.file),L},s.fromOffset=function(n){var u;if(this[B_])u=this[B_];else{var _=this.css.split("\n");u=new Array(_.length);for(var L=0,$=0,me=_.length;$<me;$++)u[$]=L,L+=_[$].length+1;this[B_]=u}var Ee=0;if(n>=u[u.length-1])Ee=u.length-1;else for(var Ae,Se=u.length-2;Ee<Se;)if(n<u[Ae=Ee+(Se-Ee>>1)])Se=Ae-1;else{if(!(n>=u[Ae+1])){Ee=Ae;break}Ee=Ae+1}return{col:n-u[Ee]+1,line:Ee+1}},s.mapResolve=function(n){return/^\w+:\/\//.test(n)?n:j1(this.map.consumer().sourceRoot||this.map.root||".",n)},s.origin=function(n,o,u,_){if(!this.map)return!1;var me,Ee,L=this.map.consumer(),$=L.originalPositionFor({column:o,line:n});if(!$.source)return!1;"number"==typeof u&&(me=L.originalPositionFor({column:_,line:u})),Ee=k_($.source)?Cf($.source):new URL($.source,this.map.consumer().sourceRoot||Cf(this.map.mapFile));var Se={column:$.column,endColumn:me&&me.column,endLine:me&&me.line,line:$.line,url:Ee.toString()};if("file:"===Ee.protocol){if(!Eh)throw new Error("file: protocol is not available in this PostCSS build");Se.file=Eh(Ee)}var Ae=L.sourceContentFor($.source);return Ae&&(Se.source=Ae),Se},s.toJSON=function(){for(var n={},o=0,u=["hasBOM","css","file","id"];o<u.length;o++){var _=u[o];null!=this[_]&&(n[_]=this[_])}return this.map&&(n.map=U({},this.map),n.map.consumerCache&&(n.map.consumerCache=void 0)),n},ve(r,[{key:"from",get:function(){return this.file||this.id}}]),r}(),Gp=Kp;Kp.default=Kp,Wp&&Wp.registerInput&&Wp.registerInput(Kp);var x3=zs.SourceMapConsumer,Xp=zs.SourceMapGenerator,Zm=zs.dirname,S3=zs.relative,D3=zs.resolve,O3=zs.sep,V_=zs.pathToFileURL,iC=Gp,H1=!(!x3||!Xp),I3=!!(Zm&&D3&&S3&&O3),T3=function(){function r(c,n,o,u){this.stringify=c,this.mapOpts=o.map||{},this.root=n,this.opts=o,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var s=r.prototype;return s.addAnnotation=function(){var n;n=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var o="\n";this.css.includes("\r\n")&&(o="\r\n"),this.css+=o+"/*# sourceMappingURL="+n+" */"},s.applyPrevMaps=function(){for(var o,n=de(this.previous());!(o=n()).done;){var u=o.value,_=this.toUrl(this.path(u.file)),L=u.root||Zm(u.file),$=void 0;!1===this.mapOpts.sourcesContent?($=new x3(u.text)).sourcesContent&&($.sourcesContent=null):$=u.consumer(),this.map.applySourceMap($,_,this.toUrl(this.path(L)))}},s.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var n,o=this.root.nodes.length-1;o>=0;o--)"comment"===(n=this.root.nodes[o]).type&&0===n.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(o);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},s.generate=function(){if(this.clearAnnotation(),I3&&H1&&this.isMap())return this.generateMap();var n="";return this.stringify(this.root,function(o){n+=o}),[n]},s.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var n=this.previous()[0].consumer();n.file=this.outputFile(),this.map=Xp.fromSourceMap(n,{ignoreInvalidMapping:!0})}else this.map=new Xp({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},s.generateString=function(){var n=this;this.css="",this.map=new Xp({file:this.outputFile(),ignoreInvalidMapping:!0});var $,me,o=1,u=1,_="<no source>",L={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(Ee,Se,Ae){if(n.css+=Ee,Se&&"end"!==Ae&&(L.generated.line=o,L.generated.column=u-1,Se.source&&Se.source.start?(L.source=n.sourcePath(Se),L.original.line=Se.source.start.line,L.original.column=Se.s
1ource.start.column-1,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,n.map.addMapping(L))),($=Ee.match(/\n/g))?(o+=$.length,me=Ee.lastIndexOf("\n"),u=Ee.length-me):u+=Ee.length,Se&&"start"!==Ae){var ft=Se.parent||{raws:{}};("decl"!==Se.type&&("atrule"!==Se.type||Se.nodes)||Se!==ft.last||ft.raws.semicolon)&&(Se.source&&Se.source.end?(L.source=n.sourcePath(Se),L.original.line=Se.source.end.line,L.original.column=Se.source.end.column-1,L.generated.line=o,L.generated.column=u-2,n.map.addMapping(L)):(L.source=_,L.original.line=1,L.original.column=0,L.generated.line=o,L.generated.column=u-1,n.map.addMapping(L)))}})},s.isAnnotation=function(){return!!this.isInline()||(typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(n){return n.annotation}))},s.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var n=this.mapOpts.annotation;return!(typeof n<"u"&&!0!==n)&&(!this.previous().length||this.previous().some(function(o){return o.inline}))},s.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},s.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(n){return n.withContent()})},s.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},s.path=function(n){if(this.mapOpts.absolute||60===n.charCodeAt(0)||/^\w+:\/\//.test(n))return n;var o=this.memoizedPaths.get(n);if(o)return o;var u=this.opts.to?Zm(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(u=Zm(D3(u,this.mapOpts.annotation)));var _=S3(u,n);return this.memoizedPaths.set(n,_),_},s.previous=function(){var n=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(u){if(u.source&&u.source.input.map){var _=u.source.input.map;n.previousMaps.includes(_)||n.previousMaps.push(_)}});else{var o=new iC(this.originalCSS,this.opts);o.map&&this.previousMaps.push(o.map)}return this.previousMaps},s.setSourcesContent=function(){var n=this,o={};if(this.root)this.root.walk(function(_){if(_.source){var L=_.source.input.from;if(L&&!o[L]){o[L]=!0;var $=n.usesFileUrls?n.toFileUrl(L):n.toUrl(n.path(L));n.map.setSourceContent($,_.source.input.css)}}});else if(this.css){var u=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(u,this.css)}},s.sourcePath=function(n){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(n.source.input.from):this.toUrl(this.path(n.source.input.from))},s.toBase64=function(n){return Buffer?Buffer.from(n).toString("base64"):window.btoa(unescape(encodeURIComponent(n)))},s.toFileUrl=function(n){var o=this.memoizedFileURLs.get(n);if(o)return o;if(V_){var u=V_(n).toString();return this.memoizedFileURLs.set(n,u),u}throw new Error("`map.absolute` option is not available in this PostCSS build")},s.toUrl=function(n){var o=this.memoizedURLs.get(n);if(o)return o;"\\"===O3&&(n=n.replace(/\\/g,"/"));var u=encodeURI(n).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(n,u),u},r}(),j_=T3,wf=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="comment",n}return X(s,r),s}($p),wh=wf;wf.default=wf;var A3,$1,W1,z_,Qm=ju.isClean,H_=ju.my,Mf=Xm,z1=wh;function Yp(r){return r.map(function(s){return s.nodes&&(s.nodes=Yp(s.nodes)),delete s.source,s})}function $_(r){if(r[Qm]=!1,r.proxyOf.nodes)for(var c,s=de(r.proxyOf.nodes);!(c=s()).done;)$_(c.value)}var mu=function(r){function s(){return r.apply(this,arguments)||this}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u);!($=L()).done;)for(var Ae,Se=de(this.normalize($.value,this.last));!(Ae=Se()).done;)this.proxyOf.nodes.push(Ae.value);return this.markDirty(),this},c.cleanRaws=function(o){if(r.prototype.cleanRaws.call(this,o),this.nodes)for(var _,u=de(this.nodes);!(_=u()).done;)_.value.cleanRaws(o)}
1,c.each=function(o){if(this.proxyOf.nodes){for(var _,L,u=this.getIterator();this.indexes[u]<this.proxyOf.nodes.length&&!1!==(L=o(this.proxyOf.nodes[_=this.indexes[u]],_));)this.indexes[u]+=1;return delete this.indexes[u],L}},c.every=function(o){return this.nodes.every(o)},c.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var o=this.lastEach;return this.indexes[o]=0,o},c.getProxyProcessor=function(){return{get:function(u,_){return"proxyOf"===_?u:u[_]?"each"===_||"string"==typeof _&&_.startsWith("walk")?function(){for(var L=arguments.length,$=new Array(L),me=0;me<L;me++)$[me]=arguments[me];var Ee;return(Ee=u)[_].apply(Ee,[].concat($.map(function(Se){return"function"==typeof Se?function(Ae,ft){return Se(Ae.toProxy(),ft)}:Se})))}:"every"===_||"some"===_?function(L){return u[_](function($){for(var me=arguments.length,Ee=new Array(me>1?me-1:0),Se=1;Se<me;Se++)Ee[Se-1]=arguments[Se];return L.apply(void 0,[].concat([$.toProxy()],Ee))})}:"root"===_?function(){return u.root().toProxy()}:"nodes"===_?u.nodes.map(function(L){return L.toProxy()}):"first"===_||"last"===_?u[_].toProxy():u[_]:u[_]},set:function(u,_,L){return u[_]===L||(u[_]=L,("name"===_||"params"===_||"selector"===_)&&u.markDirty()),!0}}},c.index=function(o){return"number"==typeof o?o:(o.proxyOf&&(o=o.proxyOf),this.proxyOf.nodes.indexOf(o))},c.insertAfter=function(o,u){var Se,_=this.index(o),L=this.normalize(u,this.proxyOf.nodes[_]).reverse();_=this.index(o);for(var me,$=de(L);!(me=$()).done;)this.proxyOf.nodes.splice(_+1,0,me.value);for(var Ae in this.indexes)_<(Se=this.indexes[Ae])&&(this.indexes[Ae]=Se+L.length);return this.markDirty(),this},c.insertBefore=function(o,u){var Ae,_=this.index(o),$=this.normalize(u,this.proxyOf.nodes[_],0===_&&"prepend").reverse();_=this.index(o);for(var Ee,me=de($);!(Ee=me()).done;)this.proxyOf.nodes.splice(_,0,Ee.value);for(var ft in this.indexes)_<=(Ae=this.indexes[ft])&&(this.indexes[ft]=Ae+$.length);return this.markDirty(),this},c.normalize=function(o,u){var _=this;if("string"==typeof o)o=Yp(A3(o).nodes);else if(typeof o>"u")o=[];else if(Array.isArray(o))for(var $,L=de(o=o.slice(0));!($=L()).done;){var me=$.value;me.parent&&me.parent.removeChild(me,"ignore")}else if("root"===o.type&&"document"!==this.type)for(var Se,Ee=de(o=o.nodes.slice(0));!(Se=Ee()).done;){var Ae=Se.value;Ae.parent&&Ae.parent.removeChild(Ae,"ignore")}else if(o.type)o=[o];else if(o.prop){if(typeof o.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof o.value&&(o.value=String(o.value)),o=[new Mf(o)]}else if(o.selector)o=[new $1(o)];else if(o.name)o=[new W1(o)];else{if(!o.text)throw new Error("Unknown node type in node creation");o=[new z1(o)]}return o.map(function(it){return it[H_]||s.rebuild(it),(it=it.proxyOf).parent&&it.parent.removeChild(it),it[Qm]&&$_(it),typeof it.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(it.raws.before=u.raws.before.replace(/\S/g,"")),it.parent=_.proxyOf,it})},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];for(var $,L=de(u=u.reverse());!($=L()).done;){for(var Ae,Ee=this.normalize($.value,this.first,"prepend").reverse(),Se=de(Ee);!(Ae=Se()).done;)this.proxyOf.nodes.unshift(Ae.value);for(var it in this.indexes)this.indexes[it]=this.indexes[it]+Ee.length}return this.markDirty(),this},c.push=function(o){return o.parent=this,this.proxyOf.nodes.push(o),this},c.removeAll=function(){for(var u,o=de(this.proxyOf.nodes);!(u=o()).done;)u.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},c.removeChild=function(o){var u;for(var _ in o=this.index(o),this.proxyOf.nodes[o].parent=void 0,this.proxyOf.nodes.splice(o,1),this.indexes)(u=this.indexes[_])>=o&&(this.indexes[_]=u-1);return this.markDirty(),this},c.replaceValues=function(o,u,_){return _||(_=u,u={}),this.walkDecls(function(L){u.props&&!u.props.includes(L.prop)||u.fast&&!L.value.includes(u.fast)||(L.value=L.value.replace(o,_))}),this.markDirty(),this},c.some=function(o){return this.nodes.some(o)},c.walk=function(o){return this.each(function(u,_){var L;try{L=o(u,_)}catch($){throw u.addToError($)}return!1!==L&&u.walk&&(L=u.walk(o)),L})},c.walkAtRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("atrule"===_.type&&o.test(_.name))return u(_,L)}):this.walk(function(_,L){if("atrule"===_.type&&_.name===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("atrule"===_.type)return u(_,L)}))},c.walkComments=function(o){return this.walk(function(u,_){if("comment"===u.type)return o(u,_)})},c.walkDecls=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("decl"===_.type&&o.test(_.prop))return u(_,L)}):this.walk(function(_,L){if("decl"===_.type&&_.prop===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("decl"===_.type)return u(_,L)}))},c.walkRules=function(o,u){return u?W(o,RegExp)?this.walk(function(_,L){if("rule"===_.type&&o.test(_.selector))return u(_,L)}):this.walk(function(_,L){if("rule"===_.type&&_.selector===o)return u(_,L)}):(u=o,this.walk(function(_,L){if("rule"===_.type)return u(_,L)}))},ve(s,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),s}($p);mu.registerParse=function(r){A3=r},mu.registerRule=function(r){$1=r},mu.registerAtRule=function(r){W1=r},mu.registerRoot=function(r){z_=r};var gu=mu;mu.default=mu,mu.rebuild=function(r){"atrule"===r.type?Object.setPrototypeOf(r,W1.prototype):"rule"===r.type?Object.setPrototypeOf(r,$1.prototype):"decl"===r.type?Object.setPrototypeOf(r,Mf.prototype):"comment"===r.type?Object.setPrototypeOf(r,z1.prototype):"root"===r.type&&Object.setPrototypeOf(r,z_.prototype),r[H_]=!0,r.nodes&&r.nodes.forEac
1h(function(s){mu.rebuild(s)})};var W_,K_,Zp=function(r){function s(n){var o;return(o=r.call(this,U({type:"document"},n))||this).nodes||(o.nodes=[]),o}return X(s,r),s.prototype.toResult=function(o){return void 0===o&&(o={}),new W_(new K_,this,o).stringify()},s}(gu);Zp.registerLazyResult=function(r){W_=r},Zp.registerProcessor=function(r){K_=r};var qm=Zp;Zp.default=Zp;var G1=function(){function r(c,n){if(void 0===n&&(n={}),this.type="warning",this.text=c,n.node&&n.node.source){var o=n.node.rangeBy(n);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(var u in n)this[u]=n[u]}return r.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},r}(),Mh=G1;G1.default=G1;var R3=Mh,eg=function(){function r(c,n,o){this.processor=c,this.messages=[],this.root=n,this.opts=o,this.css=void 0,this.map=void 0}var s=r.prototype;return s.toString=function(){return this.css},s.warn=function(n,o){void 0===o&&(o={}),o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);var u=new R3(n,o);return this.messages.push(u),u},s.warnings=function(){return this.messages.filter(function(n){return"warning"===n.type})},ve(r,[{key:"content",get:function(){return this.css}}]),r}(),X1=eg;eg.default=eg;var bd=/[\t\n\f\r "#'()/;[\\\]{}]/g,Sh=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Dh=/.[\r\n"'(/\\]/,Jp=/[\da-f]/i,J1=gu,qp=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="atrule",o}X(s,r);var c=s.prototype;return c.append=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.append).call.apply(L,[].concat([this],u))},c.prepend=function(){for(var o=arguments.length,u=new Array(o),_=0;_<o;_++)u[_]=arguments[_];var L;return this.proxyOf.nodes||(this.nodes=[]),(L=r.prototype.prepend).call.apply(L,[].concat([this],u))},s}
1(J1),q1=qp;qp.default=qp,J1.registerAtRule(qp);var Y_,Z_,X_=gu,Sf=function(r){function s(n){var o;return(o=r.call(this,n)||this).type="root",o.nodes||(o.nodes=[]),o}X(s,r);var c=s.prototype;return c.normalize=function(o,u,_){var L=r.prototype.normalize.call(this,o);if(u)if("prepend"===_)this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(var me,$=de(L);!(me=$()).done;)me.value.raws.before=u.raws.before;return L},c.removeChild=function(o,u){var _=this.index(o);return!u&&0===_&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[_].raws.before),r.prototype.removeChild.call(this,o)},c.toResult=function(o){return void 0===o&&(o={}),new Y_(new Z_,this,o).stringify()},s}(X_);Sf.registerLazyResult=function(r){Y_=r},Sf.registerProcessor=function(r){Z_=r};var Ih=Sf;Sf.default=Sf,X_.registerRoot(Sf);var Th={comma:function(s){return Th.split(s,[","],!0)},space:function(s){return Th.split(s,[" ","\n","\t"])},split:function(s,c,n){for(var Ae,o=[],u="",_=!1,L=0,$=!1,me="",Ee=!1,Se=de(s);!(Ae=Se()).done;){var ft=Ae.value;Ee?Ee=!1:"\\"===ft?Ee=!0:$?ft===me&&($=!1):'"'===ft||"'"===ft?($=!0,me=ft):"("===ft?L+=1:")"===ft?L>0&&(L-=1):0===L&&c.includes(ft)&&(_=!0),_?(""!==u&&o.push(u.trim()),u="",_=!1):u+=ft}return(n||""!==u)&&o.push(u.trim()),o}},e0=Th;Th.default=Th;var Q_=gu,B3=e0,ag=function(r){function s(c){var n;return(n=r.call(this,c)||this).type="rule",n.nodes||(n.nodes=[]),n}return X(s,r),ve(s,[{key:"selectors",get:function(){return B3.comma(this.selector)},set:function(n){var o=this.selector?this.selector.match(/,\s*/):null,u=o?o[0]:","+this.raw("between","beforeOpen");this.selector=n.join(u)}}]),s}(Q_),t0=ag;ag.default=ag,Q_.registerRule(ag);var U3=Xm,n0=wh,r0=q1,J_=Ih,lg=t0,q_={empty:!0,space:!0},ev=function(){function r(c){this.input=c,this.root=new J_,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:c,start:{column:1,line:1,offset:0}}}var s=r.prototype;return s.atrule=function(n){var o=new r0;o.name=n[1].slice(1),""===o.name&&this.unnamedAtrule(o,n),this.init(o,n[2]);for(var u,_,L,$=!1,me=!1,Ee=[],Se=[];!this.tokenizer.endOfFile();){if("("===(u=(n=this.tokenizer.nextToken())[0])||"["===u?Se.push("("===u?")":"]"):"{"===u&&Se.length>0?Se.push("}"):u===Se[Se.length-1]&&Se.pop(),0===Se.length){if(";"===u){o.source.end=this.getPosition(n[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===u){me=!0;break}if("}"===u){if(Ee.length>0){for(_=Ee[L=Ee.length-1];_&&"space"===_[0];)_=Ee[--L];_&&(o.source.end=this.getPosition(_[3]||_[2]),o.source.end.offset++)}this.end(n);break}Ee.push(n)}else Ee.push(n);if(this.tokenizer.endOfFile()){$=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(Ee),Ee.length?(o.raws.afterName=this.spacesAndCommentsFromStart(Ee),this.raw(o,"params",Ee),$&&(o.source.end=this.getPosition((n=Ee[Ee.length-1])[3]||n[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),me&&(o.nodes=[],this.current=o)},s.checkMissedSemicolon=function(n){var o=this.colon(n);if(!1!==o){for(var _,u=0,L=o-1;L>=0&&("space"===(_=n[L])[0]||2!==(u+=1));L--);throw this.input.error("Missed semicolon","word"===_[0]?_[3]+1:_[2])}},s.colon=function(n){for(var u,_,L,me,o=0,$=de(n.entries());!(me=$()).done;){var Ee=me.value,Se=Ee[0];if("("===(_=(u=Ee[1])[0])&&(o+=1),")"===_&&(o-=1),0===o&&":"===_){if(L){if("word"===L[0]&&"progid"===L[1])continue;return Se}this.doubleColon(u)}L=u}return!1},s.comment=function(n){var o=new n0;this.init(o,n[2]),o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++;var u=n[1].slice(2,-2);if(/^\s*$/.test(u))o.text="",o.raws.left=u,o.raws.right="";else{var _=u.match(/^(\s*)([^]*\S)(\s*)$/);o.text=_[2],o.raws.left=_[1],o.raws.right=_[3]}},s.createTokenizer=function(){this.tokenizer=function(s,c){void 0===c&&(c={});var u,_,L,$,me,Ee,Se,Ae,ft,it,n=s.css.valueOf(),o=c.ignoreErrors,Zt=n.length,nt=0,qt=[],mn=[];function nr(zr){throw s.error("Unclosed "+zr,nt)}return{back:function pi(zr){mn.push(zr)},endOfFile:function Zn(){return 0===mn.length&&nt>=Zt},nextToken:function Er(zr){if(mn.length)return mn.pop();if(!(nt>=Zt)){var Ri=!!zr&&zr.ignoreUnclosed;switch(u=n.charCodeAt(nt)){case 10:case 32:case 9:case 13:case 12:_=nt;do{u=n.charCodeAt(_+=1)}while(32===u||10===u||9===u||13===u||12===u);it=["space",n.slice(nt,_)],nt=_-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var vo=String.fromCharCode(u);it=[vo,vo,nt];break;
1case 40:if(Ae=qt.length?qt.pop()[1]:"",ft=n.charCodeAt(nt+1),"url"===Ae&&39!==ft&&34!==ft&&32!==ft&&10!==ft&&9!==ft&&12!==ft&&13!==ft){_=nt;do{if(Ee=!1,-1===(_=n.indexOf(")",_+1))){if(o||Ri){_=nt;break}nr("bracket")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["brackets",n.slice(nt,_+1),nt,_],nt=_}else _=n.indexOf(")",nt+1),$=n.slice(nt,_+1),-1===_||Dh.test($)?it=["(","(",nt]:(it=["brackets",$,nt,_],nt=_);break;case 39:case 34:L=39===u?"'":'"',_=nt;do{if(Ee=!1,-1===(_=n.indexOf(L,_+1))){if(o||Ri){_=nt+1;break}nr("string")}for(Se=_;92===n.charCodeAt(Se-1);)Se-=1,Ee=!Ee}while(Ee);it=["string",n.slice(nt,_+1),nt,_],nt=_;break;case 64:bd.lastIndex=nt+1,bd.test(n),it=["at-word",n.slice(nt,1+(_=0===bd.lastIndex?n.length-1:bd.lastIndex-2)),nt,_],nt=_;break;case 92:for(_=nt,me=!0;92===n.charCodeAt(_+1);)_+=1,me=!me;if(u=n.charCodeAt(_+1),me&&47!==u&&32!==u&&10!==u&&9!==u&&13!==u&&12!==u&&Jp.test(n.charAt(_+=1))){for(;Jp.test(n.charAt(_+1));)_+=1;32===n.charCodeAt(_+1)&&(_+=1)}it=["word",n.slice(nt,_+1),nt,_],nt=_;break;default:47===u&&42===n.charCodeAt(nt+1)?(0===(_=n.indexOf("*/",nt+2)+1)&&(o||Ri?_=n.length:nr("comment")),it=["comment",n.slice(nt,_+1),nt,_],nt=_):(Sh.lastIndex=nt+1,Sh.test(n),it=["word",n.slice(nt,1+(_=0===Sh.lastIndex?n.length-1:Sh.lastIndex-2)),nt,_],qt.push(it),nt=_)}return nt++,it}},position:function Ln(){return nt}}}(this.input)},s.decl=function(n,o){var u=new U3;this.init(u,n[0][2]);var $,_=n[n.length-1];for(";"===_[0]&&(this.semicolon=!0,n.pop()),u.source.end=this.getPosition(_[3]||_[2]||function V3(r){for(var s=r.length-1;s>=0;s--){var c=r[s],n=c[3]||c[2];if(n)return n}}(n)),u.source.end.offset++;"word"!==n[0][0];)1===n.length&&this.unknownWord(n),u.raws.before+=n.shift()[1];for(u.source.start=this.getPosition(n[0][2]),u.prop="";n.length;){var L=n[0][0];if(":"===L||"space"===L||"comment"===L)break;u.prop+=n.shift()[1]}for(u.raws.between="";n.length;){if(":"===($=n.shift())[0]){u.raws.between+=$[1];break}"word"===$[0]&&/\w/.test($[1])&&this.unknownWord([$]),u.raws.between+=$[1]}("_"===u.prop[0]||"*"===u.prop[0])&&(u.raws.before+=u.prop[0],u.prop=u.prop.slice(1));for(var Ee,me=[];n.length&&("space"===(Ee=n[0][0])||"comment"===Ee);)me.push(n.shift());this.precheckMissedSemicolon(n);for(var Se=n.length-1;Se>=0;Se--){if("!important"===($=n[Se])[1].toLowerCase()){u.important=!0;var Ae=this.stringFrom(n,Se);" !important"!==(Ae=this.spacesFromEnd(n)+Ae)&&(u.raws.important=Ae);break}if("important"===$[1].toLowerCase()){for(var ft=n.slice(0),it="",Zt=Se;Zt>0;Zt--){var nt=ft[Zt][0];if(0===it.trim().indexOf("!")&&"space"!==nt)break;it=ft.pop()[1]+it}0===it.trim().indexOf("!")&&(u.important=!0,u.raws.important=it,n=ft)}if("space"!==$[0]&&"comment"!==$[0])break}n.some(function(mn){return"space"!==mn[0]&&"comment"!==mn[0]})&&(u.raws.between+=me.map(function(mn){return mn[1]}).join(""),me=[]),this.raw(u,"value",me.concat(n),o),u.value.includes(":")&&!o&&this.checkMissedSemicolon(n)},s.doubleColon=function(n){throw this.input.error("Double colon",{offset:n[2]},{offset:n[2]+n[1].length})},s.emptyRule=function(n){var o=new lg;this.init(o,n[2]),o.selector="",o.raws.between="",this.current=o},s.end=function(n){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(n[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(n)},s.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},s.freeSemicolon=function(n){if(this.spaces+=n[1],this.current.nodes){var o=this.current.nodes[this.current.nodes.length-1];o&&"rule"===o.type&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}},s.getPosition=function(n){var o=this.input.fromOffset(n);return{column:o.col,line:o.line,offset:n}},s.init=function(n,o){this.current.push(n),n.source={input:this.input,start:this.getPosition(o)},n.raws.before=this.spaces,this.spaces="","comment"!==n.type&&(this.semicolon=!1)},s.other=function(n){for(var o=!1,u=null,_=!1,L=null,$=[],me=n[1].startsWith("--"),Ee=[],Se=n;Se;){if(u=Se[0],Ee.push(Se),"("===u||"["===u)L||(L=Se),$.push("("===u?")":"]");else if(me&&_&&"{"===u)L||(L=Se),$.push("}");else if(0===$.length){if(";"===u){if(_)return void this.decl(Ee,me);break}if("{"===u)return void this.rule(Ee);if("}"===u){this.tokenizer.back(Ee.pop()),o=!0;break}":"===u&&(_=!0)}else u===$[$.length-1]&&($.pop(),0===$.length&&(L=null));Se=this.tokenizer.nextToken()}
1if(this.tokenizer.endOfFile()&&(o=!0),$.length>0&&this.unclosedBracket(L),o&&_){if(!me)for(;Ee.length&&("space"===(Se=Ee[Ee.length-1][0])||"comment"===Se);)this.tokenizer.back(Ee.pop());this.decl(Ee,me)}else this.unknownWord(Ee)},s.parse=function(){for(var n;!this.tokenizer.endOfFile();)switch(n=this.tokenizer.nextToken(),n[0]){case"space":this.spaces+=n[1];break;case";":this.freeSemicolon(n);break;case"}":this.end(n);break;case"comment":this.comment(n);break;case"at-word":this.atrule(n);break;case"{":this.emptyRule(n);break;default:this.other(n)}this.endFile()},s.precheckMissedSemicolon=function(){},s.raw=function(n,o,u,_){for(var L,$,me=u.length,Ee="",Se=!0,it=0;it<me;it+=1)"space"!==($=(L=u[it])[0])||it!==me-1||_?"comment"===$&&(q_[u[it-1]?u[it-1][0]:"empty"]||q_[u[it+1]?u[it+1][0]:"empty"]||","===Ee.slice(-1))?Se=!1:Ee+=L[1]:Se=!1;if(!Se){var Zt=u.reduce(function(nt,qt){return nt+qt[1]},"");n.raws[o]={raw:Zt,value:Ee}}n[o]=Ee},s.rule=function(n){n.pop();var o=new lg;this.init(o,n[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(n),this.raw(o,"selector",n),this.current=o},s.spacesAndCommentsFromEnd=function(n){for(var o,u="";n.length&&("space"===(o=n[n.length-1][0])||"comment"===o);)u=n.pop()[1]+u;return u},s.spacesAndCommentsFromStart=function(n){for(var o,u="";n.length&&("space"===(o=n[0][0])||"comment"===o);)u+=n.shift()[1];return u},s.spacesFromEnd=function(n){for(var u="";n.length&&"space"===n[n.length-1][0];)u=n.pop()[1]+u;return u},s.stringFrom=function(n,o){for(var u="",_=o;_<n.length;_++)u+=n[_][1];return n.splice(o,n.length-o),u},s.unclosedBlock=function(){var n=this.current.source.start;throw this.input.error("Unclosed block",n.line,n.column)},s.unclosedBracket=function(n){throw this.input.error("Unclosed bracket",{offset:n[2]},{offset:n[2]+1})},s.unexpectedClose=function(n){throw this.input.error("Unexpected }",{offset:n[2]},{offset:n[2]+1})},s.unknownWord=function(n){throw this.input.error("Unknown word",{offset:n[0][2]},{offset:n[0][2]+n[0][1].length})},s.unnamedAtrule=function(n,o){throw this.input.error("At-rule without name",{offset:o[2]},{offset:o[2]+o[1].length})},r}(),_u=gu,em=ev,$s=Gp;function vu(r,s){var c=new $s(r,s),n=new em(c);try{n.parse()}catch(o){throw o}return n.root}var Ph=vu;vu.default=vu,_u.registerParse(vu);var Oa=ju.isClean,tm=ju.my,tv=j_,nv=Wm,H3=gu,z3=qm,rv=X1,W3=Ph,cg=Ih,sC={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Cd={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},K3={Once:!0,postcssPlugin:!0,prepare:!0};function nm(r){return"object"===(typeof r>"u"?"undefined":ce(r))&&"function"==typeof r.then}function iv(r){var s=!1,c=sC[r.type];return"decl"===r.type?s=r.prop.toLowerCase():"atrule"===r.type&&(s=r.name.toLowerCase()),s&&r.append?[c,c+"-"+s,0,c+"Exit",c+"Exit-"+s]:s?[c,c+"-"+s,c+"Exit",c+"Exit-"+s]:r.append?[c,0,c+"Exit"]:[c,c+"Exit"]}function ov(r){return{eventIndex:0,events:"document"===r.type?["Document",0,"DocumentExit"]:"root"===r.type?["Root",0,"RootExit"]:iv(r),iterator:0,node:r,visitorIndex:0,visitors:[]}}function sv(r){return r[Oa]=!1,r.nodes&&r.nodes.forEach(function(s){return sv(s)}),r}var ug={},Rh=function(){function r(c,n,o){var _,u=this;if(this.stringified=!1,this.processed=!1,"object"!==(typeof n>"u"?"undefined":ce(n))||null===n||"root"!==n.type&&"document"!==n.type)if(W(n,r)||W(n,rv))_=sv(n.root),n.map&&(typeof o.map>"u"&&(o.map={}),o.map.inline||(o.map.inline=!1),o.map.prev=n.map);else{var L=W3;o.syntax&&(L=o.syntax.parse),o.parser&&(L=o.parser),L.parse&&(L=L.parse);try{_=L(n,o)}catch($){this.processed=!0,this.error=$}_&&!_[tm]&&H3.rebuild(_)}else _=sv(n);this.result=new rv(c,_,o),this.helpers=U({},ug,{postcss:ug,result:this.result}),this.plugins=this.processor.plugins.map(function($){return"object"===(typeof $>"u"?"undefined":ce($))&&$.prepare?U({},$,$.prepare(u.result)):$})}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},s.handleError=function(n,o){var u=this.result.lastPlugin;try{o&&o.addToError(n),this.error=n,"CssSyntaxError"!==n.name||n.plugin||(n.plugin=u.postcssPlugin,n.setMessage())}catch(Se){console&&console.error&&console.error(Se)}return n},s.prepareVisitors=function(){var n=this;this.listeners={};for(var _,o=function(Ee,Se,Ae){n.listeners[Se]||(n.listeners[Se]=[]),n.listeners[Se].push([Ee,Ae])},u=de(this.plugins);!(_=u()).done;){var L=_.value;if("object"===(typeof L>"u"?"undefined":ce(L)))for(var $ in L){if(!Cd[$]&&/^[A-Z]/.test($))throw new Error("Unknown event "+$+" in "+L.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
1sion+" now).");if(!K3[$])if("object"===ce(L[$]))for(var me in L[$])o(L,"*"===me?$:$+"-"+me.toLowerCase(),L[$][me]);else"function"==typeof L[$]&&o(L,$,L[$])}}this.hasListener=Object.keys(this.listeners).length>0},s.runAsync=function(){var n=this;return ee(function(){var o,_,L,$,me,Ee,Se,ft,it,Zt;return _e(this,function(nt){switch(nt.label){case 0:n.plugin=0,o=0,nt.label=1;case 1:if(!(o<n.plugins.length))return[3,6];if(!nm(_=n.runOnRoot(n.plugins[o])))return[3,5];nt.label=2;case 2:return nt.trys.push([2,4,,5]),[4,_];case 3:return nt.sent(),[3,5];case 4:throw L=nt.sent(),n.handleError(L);case 5:return o++,[3,1];case 6:if(n.prepareVisitors(),!n.hasListener)return[3,18];$=n.result.root,nt.label=7;case 7:if($[Oa])return[3,14];$[Oa]=!0,me=[ov($)],nt.label=8;case 8:if(!(me.length>0))return[3,13];if(!nm(Ee=n.visitTick(me)))return[3,12];nt.label=9;case 9:return nt.trys.push([9,11,,12]),[4,Ee];case 10:return nt.sent(),[3,12];case 11:throw Se=nt.sent(),n.handleError(Se,me[me.length-1].node);case 12:return[3,8];case 13:return[3,7];case 14:if(!n.listeners.OnceExit)return[3,18];ft=function(){var qt,Ln,nr,Zn;return _e(this,function(Er){switch(Er.label){case 0:Ln=(qt=Zt.value)[1],n.result.lastPlugin=qt[0],Er.label=1;case 1:return Er.trys.push([1,6,,7]),"document"!==$.type?[3,3]:(nr=$.nodes.map(function(pi){return Ln(pi,n.helpers)}),[4,Promise.all(nr)]);case 2:return Er.sent(),[3,5];case 3:return[4,Ln($,n.helpers)];case 4:Er.sent(),Er.label=5;case 5:return[3,7];case 6:throw Zn=Er.sent(),n.handleError(Zn);case 7:return[2]}})},it=de(n.listeners.OnceExit),nt.label=15;case 15:return(Zt=it()).done?[3,18]:[5,we(ft())];case 16:nt.sent(),nt.label=17;case 17:return[3,15];case 18:return n.processed=!0,[2,n.stringify()]}})})()},s.runOnRoot=function(n){var o=this;this.result.lastPlugin=n;try{if("object"===(typeof n>"u"?"undefined":ce(n))&&n.Once){if("document"===this.result.root.type){var u=this.result.root.nodes.map(function(_){return n.Once(_,o.helpers)});return nm(u[0])?Promise.all(u):u}return n.Once(this.result.root,this.helpers)}if("function"==typeof n)return n(this.result.root,this.result)}catch(_){throw this.handleError(_)}},s.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var n=this.result.opts,o=nv;n.syntax&&(o=n.syntax.stringify),n.stringifier&&(o=n.stringifier),o.stringify&&(o=o.stringify);var _=new tv(o,this.result.root,this.result.opts).generate();return this.result.css=_[0],this.result.map=_[1],this.result},s.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var o,n=de(this.plugins);!(o=n()).done;)if(nm(this.runOnRoot(o.value)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){for(var L=this.result.root;!L[Oa];)L[Oa]=!0,this.walkSync(L);if(this.listeners.OnceExit)if("document"===L.type)for(var me,$=de(L.nodes);!(me=$()).done;)this.visitSync(this.listeners.OnceExit,me.value);else this.visitSync(this.listeners.OnceExit,L)}return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this.css},s.visitSync=function(n,o){for(var _,u=de(n);!(_=u()).done;){var L=_.value,me=L[1];this.result.lastPlugin=L[0];var Ee=void 0;try{Ee=me(o,this.helpers)}catch(Se){throw this.handleError(Se,o.proxyOf)}if("root"!==o.type&&"document"!==o.type&&!o.parent)return!0;if(nm(Ee))throw this.getAsyncError()}},s.visitTick=function(n){var o=n[n.length-1],u=o.node,_=o.visitors;if("root"===u.type||"document"===u.type||u.parent){if(_.length>0&&o.visitorIndex<_.length){var L=_[o.visitorIndex],$=L[0],me=L[1];o.visitorIndex+=1,o.visitorIndex===_.length&&(o.visitors=[],o.visitorIndex=0),this.result.lastPlugin=$;try{return me(u.toProxy(),this.helpers)}catch(it){throw this.handleError(it,u)}}if(0!==o.iterator){for(var Se,Ee=o.iterator;Se=u.nodes[u.indexes[Ee]];)if(u.indexes[Ee]+=1,!Se[Oa])return Se[Oa]=!0,void n.push(ov(Se));o.iterator=0,delete u.indexes[Ee]}for(var Ae=o.events;o.eventIndex<Ae.length;){var ft=Ae[o.eventIndex];if(o.eventIndex+=1,0===ft)return void(u.nodes&&u.nodes.length&&(u[Oa]=!0,o.iterator=u.getIterator()));if(this.listeners[ft])return void(o.visitors=this.listeners[ft])}n.pop()}else n.pop()},s.walkSync=function(n){var o=this;n[Oa]=!0;for(var L,_=de(iv(n));!(L=_()).done;){var $=L.value;if(0===$)n.nodes&&n.each(function(Ee){Ee[Oa]||o.walkSync(Ee)});else{var me=this.listeners[$];if(me&&this.visitSync(me,n.toProxy()))return}}},s.warnings=function(){return this.sync().warnings()}
1,ve(r,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),r}();Rh.registerPostcss=function(r){ug=r};var av=Rh;Rh.default=Rh,cg.registerLazyResult(Rh),z3.registerLazyResult(Rh);var aC=j_,G3=Wm,X3=Ph,Y3=X1,i0=function(){function r(c,n,o){n=n.toString(),this.stringified=!1,this._processor=c,this._css=n,this._opts=o,this._map=void 0;var u,_=G3;this.result=new Y3(this._processor,u,this._opts),this.result.css=n;var L=this;Object.defineProperty(this.result,"root",{get:function(){return L.root}});var $=new aC(_,u,this._opts,n);if($.isMap()){var me=$.generate(),Ee=me[0],Se=me[1];Ee&&(this.result.css=Ee),Se&&(this.result.map=Se)}else $.clearAnnotation(),this.result.css=$.css}var s=r.prototype;return s.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},s.catch=function(n){return this.async().catch(n)},s.finally=function(n){return this.async().then(n,n)},s.sync=function(){if(this.error)throw this.error;return this.result},s.then=function(n,o){return this.async().then(n,o)},s.toString=function(){return this._css},s.warnings=function(){return[]},ve(r,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var n,o=X3;try{n=o(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=n,n}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),r}(),dg=i0;i0.default=i0;var Z3=dg,Q3=av,lv=qm,J3=Ih,rm=function(){function r(c){void 0===c&&(c=[]),this.version="8.4.38",this.plugins=this.normalize(c)}var s=r.prototype;return s.normalize=function(n){for(var _,o=[],u=de(n);!(_=u()).done;){var L=_.value;if(!0===L.postcss?L=L():L.postcss&&(L=L.postcss),"object"===(typeof L>"u"?"undefined":ce(L))&&Array.isArray(L.plugins))o=o.concat(L.plugins);else if("object"===(typeof L>"u"?"undefined":ce(L))&&L.postcssPlugin)o.push(L);else if("function"==typeof L)o.push(L);else if("object"!==(typeof L>"u"?"undefined":ce(L))||!L.parse&&!L.stringify)throw new Error(L+" is not a PostCSS plugin")}return o},s.process=function(n,o){return void 0===o&&(o={}),this.plugins.length||o.parser||o.stringifier||o.syntax?new Q3(this,n,o):new Z3(this,n,o)},s.use=function(n){return this.plugins=this.plugins.concat(this.normalize([n])),this},r}(),fg=rm;rm.default=rm,J3.registerProcessor(rm),lv.registerProcessor(rm);var q3=Xm,eb=V1,cv=wh,uv=q1,o0=Gp,dv=Ih,tb=t0;function kh(r,s){if(Array.isArray(r))return r.map(function(Se){return kh(Se)});var c=r.inputs,n=re(r,["inputs"]);if(c){s=[];for(var u,o=de(c);!(u=o()).done;){var L=U({},u.value,{__proto__:o0.prototype});L.map&&(L.map=U({},L.map,{__proto__:eb.prototype})),s.push(L)}}if(n.nodes&&(n.nodes=r.nodes.map(function(Se){return kh(Se,s)})),n.source){var $=n.source,me=$.inputId,Ee=re($,["inputId"]);n.source=Ee,null!=me&&(n.source.input=s[me])}if("root"===n.type)return new dv(n);if("decl"===n.type)return new q3(n);if("rule"===n.type)return new tb(n);if("comment"===n.type)return new cv(n);if("atrule"===n.type)return new uv(n);throw new Error("Unknown node type: "+r.type)}var s0=kh;kh.default=kh;var fv=zm,a0=Xm,nb=av,rb=gu,hv=fg,l0=Wm,c0=s0,u0=qm,d0=Mh,hg=wh,pv=q1,ib=X1,ob=Gp,sb=Ph,mv=e0,pg=t0,mg=Ih,gv=$p;function rs(){for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return 1===s.length&&Array.isArray(s[0])&&(s=s[0]),new hv(s)}rs.plugin=function(s,c){var u,n=!1;function o(){for(var _=arguments.length,L=new Array(_),$=0;$<_;$++)L[$]=arguments[$];console&&console.warn&&!n&&(n=!0,console.warn(s+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(s+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var me=c.apply(void 0,[].concat(L));return me.postcssPlugin=s,me.postcssVersion=(new hv).version,me}return Object.defineProperty(o,"postcss",{get:function(){return u||(u=o()),u}}),o.process=function(_,L,$){return rs([o($)]).process(_,L)},o}
1,rs.stringify=l0,rs.parse=sb,rs.fromJSON=c0,rs.list=mv,rs.comment=function(r){return new hg(r)},rs.atRule=function(r){return new pv(r)},rs.decl=function(r){return new a0(r)},rs.rule=function(r){return new pg(r)},rs.root=function(r){return new mg(r)},rs.document=function(r){return new u0(r)},rs.CssSyntaxError=fv,rs.Declaration=a0,rs.Container=rb,rs.Processor=hv,rs.Document=u0,rs.Comment=hg,rs.Warning=d0,rs.AtRule=pv,rs.Result=ib,rs.Input=ob,rs.Rule=pg,rs.Root=mg,rs.Node=gv,nb.registerPostcss(rs),rs.default=rs;var vv=Object.defineProperty,Lh=function(r,s,c){return function(r,s,c){return s in r?vv(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c}(r,"symbol"!==(typeof s>"u"?"undefined":ce(s))?s+"":s,c)},Ed=function(){function r(c){Lh(this,"fileName"),Lh(this,"functionName"),Lh(this,"lineNumber"),Lh(this,"columnNumber"),this.fileName=c.fileName||"",this.functionName=c.functionName||"",this.lineNumber=c.lineNumber,this.columnNumber=c.columnNumber}return r.prototype.toString=function(){var n=this.lineNumber||"",o=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+n+":"+o+")":this.fileName+":"+n+":"+o},r}(),lb=/(^|@)\S+:\d+/,bv=/^\s*at .*(\S+:\d+|\(native\))/m,cb=/^(eval@)?(\[native code])?$/,gg={parse:function(s){return s?typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u"?this.parseOpera(s):s.stack&&s.stack.match(bv)?this.parseV8OrIE(s):s.stack?this.parseFFOrSafari(s):(console.warn("[console-record-plugin]: Failed to parse error object:",s),[]):[]},extractLocation:function(s){if(-1===s.indexOf(":"))return[s];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(s.replace(/[()]/g,""));if(!n)throw new Error("Cannot parse given url: "+s);return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(s){return s.stack.split("\n").filter(function(n){return!!n.match(bv)},this).map(function(n){n.indexOf("(eval ")>-1&&(n=n.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var o=n.replace(/^\s+/,"").replace(/\(eval code/g,"("),u=o.match(/ (\((.+):(\d+):(\d+)\)$)/),_=(o=u?o.replace(u[0],""):o).split(/\s+/).slice(1),L=this.extractLocation(u?u[1]:_.pop()),$=_.join(" ")||void 0,me=["eval","<anonymous>"].indexOf(L[0])>-1?void 0:L[0];return new Ed({functionName:$,fileName:me,lineNumber:L[1],columnNumber:L[2]})},this)},parseFFOrSafari:function(s){return s.stack.split("\n").filter(function(n){return!n.match(cb)},this).map(function(n){if(n.indexOf(" > eval")>-1&&(n=n.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===n.indexOf("@")&&-1===n.indexOf(":"))return new Ed({functionName:n});var o=/((.*".+"[^@]*)?[^@]*)(?:@)/,u=n.match(o),_=u&&u[1]?u[1]:void 0,L=this.extractLocation(n.replace(o,""));return new Ed({functionName:_,fileName:L[0],lineNumber:L[1],columnNumber:L[2]})},this)},parseOpera:function(s){return!s.stacktrace||s.message.indexOf("\n")>-1&&s.message.split("\n").length>s.stacktrace.split("\n").length?this.parseOpera9(s):s.stack?this.parseOpera11(s):this.parseOpera10(s)},parseOpera9:function(s){for(var c=/Line (\d+).*script (?:in )?(\S+)/i,n=s.message.split("\n"),o=[],u=2,_=n.length;u<_;u+=2){var L=c.exec(n[u]);L&&o.push(new Ed({fileName:L[2],lineNumber:parseFloat(L[1])}))}return o},parseOpera10:function(s){for(var c=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=s.stacktrace.split("\n"),o=[],u=0,_=n.length;u<_;u+=2){var L=c.exec(n[u]);L&&o.push(new Ed({functionName:L[3]||void 0,fileName:L[2],lineNumber:parseFloat(L[1])}))}return o},parseOpera11:function(s){return s.stack.split("\n").filter(function(n){return!!n.match(lb)&&!n.match(/^Error created at/)},this).map(function(n){var o=n.split("@"),u=this.extractLocation(o.pop()),L=(o.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new Ed({functionName:L,fileName:u[0],lineNumber:u[1],columnNumber:u[2]})},this)}};function ub(r){if(!r||!r.outerHTML)return"";for(var s="";r.parentElement;){var c=r.localName;if(!c)break;c=c.toLowerCase();var n=r.parentElement,o=[];if(n.children&&n.children.length>0)for(var u=0;u<n.children.length;u++){var _=n.children[u];_.localName&&_.localName.toLowerCase&&_.localName.toLowerCase()===c&&o.push(_)}o.length>1&&(c+=":eq("+o.indexOf(r)+")"),s=c+(s?">"+s:""),r=n}return s}function f0(r){return"[object Object]"===Object.prototype.toString.call(r)}function Df(r,s){if(0===s)return!0;for(var o,n=de(Object.keys(r));!(o=n()).done;){var u=o.value;if(f0(r[u])&&Df(r[u],s-1))return!0}return!1}function yu(r,s){var c={numOfKeysLimit:50,depthOfLimit:4};Object.assign(c,s);var n=[],o=[];return JSON.stringify(r,function(L,$){if(n.length>0){var me=n.indexOf(this);~me?n.splice(me+1):n.push(this),~me?o.splice(me,1/0,L):o.push(L),~n.indexOf($)&&($=n[0]===$?"[Cir
1cular ~]":"[Circular ~."+o.slice(0,n.indexOf($)).join(".")+"]")}else n.push($);if(null===$)return $;if(void 0===$)return"undefined";if(function u(L){return!!(f0(L)&&Object.keys(L).length>c.numOfKeysLimit||"function"==typeof L||f0(L)&&Df(L,c.depthOfLimit))}($))return function _(L){var $=L.toString();return c.stringLengthLimit&&$.length>c.stringLengthLimit&&($=$.slice(0,c.stringLengthLimit)+"..."),$}($);if("bigint"===(typeof $>"u"?"undefined":ce($)))return $.toString()+"n";if(W($,Event)){var Ee={};for(var Se in $){var Ae=$[Se];Ee[Se]=Array.isArray(Ae)?ub(Ae.length?Ae[0]:null):Ae}return Ee}return W($,Node)?W($,HTMLElement)?$?$.outerHTML:"":$.nodeName:W($,Error)?$.stack?$.stack+"\nEnd of stack for Error object":$.name+": "+$.message:$})}var Cv={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function cC(r,s,c){var u,n=c?Object.assign({},Cv,c):Cv,o=n.logger;if(!o)return function(){};u="string"==typeof o?s[o]:o;var _=0,L=!1,$=[];if(n.level.includes("error")){var me=function(Zt){var nt=Zt.message,mn=gg.parse(Zt.error).map(function(nr){return nr.toString()}),Ln=[yu(nt,n.stringifyOptions)];r({level:"error",trace:mn,payload:Ln})};s.addEventListener("error",me),$.push(function(){s.removeEventListener("error",me)});var Ee=function(Zt){var nt,qt;W(Zt.reason,Error)?qt=[yu("Uncaught (in promise) "+(nt=Zt.reason).name+": "+nt.message,n.stringifyOptions)]:(nt=new Error,qt=[yu("Uncaught (in promise)",n.stringifyOptions),yu(Zt.reason,n.stringifyOptions)]);var mn=gg.parse(nt).map(function(Ln){return Ln.toString()});r({level:"error",trace:mn,payload:qt})};s.addEventListener("unhandledrejection",Ee),$.push(function(){s.removeEventListener("unhandledrejection",Ee)})}for(var Ae,Se=de(n.level);!(Ae=Se()).done;)$.push(it(u,Ae.value));return function(){$.forEach(function(Zt){return Zt()})};function it(Zt,nt){var qt=this;return Zt[nt]?function yv(r,s,c){try{if(!(s in r))return function(){};var n=r[s],o=c(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),r[s]=o,function(){r[s]=n}}catch{return function(){}}}(Zt,nt,function(mn){var Ln=qt;return function(){for(var nr=arguments.length,Zn=new Array(nr),Er=0;Er<nr;Er++)Zn[Er]=arguments[Er];if(mn.apply(Ln,Zn),!("assert"===nt&&Zn[0]||L)){L=!0;try{var pi=gg.parse(new Error).map(function(vo){return vo.toString()}).splice(1),Ri=("assert"===nt?Zn.slice(1):Zn).map(function(vo){return yu(vo,n.stringifyOptions)});++_<n.lengthThreshold?r({level:nt,trace:pi,payload:Ri}):_===n.lengthThreshold&&r({level:"warn",trace:[],payload:[yu("The number of log records reached the threshold.")]})}catch(vo){mn.apply(void 0,[].concat(["rrweb logger error:",vo],Zn))}finally{L=!1}}}}):function(){}}}var wd,h0,p0,fb=S.setImmediate,_g=Object.prototype.toString,wv=typeof fb<"u"?function(s){return fb(s)}:setTimeout;try{Object.defineProperty({},"x",{}),wd=function(s,c,n,o){return Object.defineProperty(s,c,{value:n,writable:!0,configurable:!1!==o})}}catch{wd=function(c,n,o){return c[n]=o,c}}function vg(r,s){p0.add(r,s),h0||(h0=wv(p0.drain))}function m0(r){var s,c=typeof r;return null!==r&&("object"===c||"function"===c)&&(s=r.then),"function"==typeof s&&s}function Mv(){for(var r=0;r<this.chain.length;r++)uC(this,1===this.state?this.chain[r].success:this.chain[r].failure,this.chain[r]);this.chain.length=0}function uC(r,s,c){var n,o;try{!1===s?c.reject(r.msg):(n=!0===s?r.msg:s.call(void 0,r.msg))===c.promise?c.reject(TypeError("Promise-chain cycle")):(o=m0(n))?o.call(n,c.resolve,c.reject):c.resolve(n)}catch(u){c.reject(u)}}function Md(r){var s,c=this;if(!c.triggered){c.triggered=!0,c.def&&(c=c.def);try{(s=m0(r))?vg(function(){var n=new hb(c);try{s.call(r,function(){Md.apply(n,arguments)},function(){Fh.apply(n,arguments)})}catch(o){Fh.call(n,o)}}):(c.msg=r,c.state=1,c.chain.length>0&&vg(Mv,c))}catch(n){Fh.call(new hb(c),n)}}}function Fh(r){var s=this;s.triggered||(s.triggered=!0,s.def&&(s=s.def),s.msg=r,s.state=2,s.chain.length>0&&vg(Mv,s))}function xv(r,s,c,n){for(var o=0;o<s.length;o++)(function(_){r.resolve(s[_]).then(function($){c(_,$)},n)})(o)}function hb(r){this.def=r,this.triggered=!1}function g0(r){this.promise=r,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Hu(r){if("function"!=typeof r)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var s=new g0(this);this.then=function(n,o){var u={success:"function"!=typeof n||n,failure:"function"==typeof o&&o};return u.promise=new this.constructor(function(L,$){if("function"!=typeof L||"function"!=typeof $)throw TypeError("Not a function");u.resolve=L,u.reject=$}),s.chain.push(u),0!==s.state&&vg(Mv,s),u.promise},this.catch=function(n){return this.then(void 0,n)};try{r.call(void 0,function(n){Md.call(s,n)},function(n){Fh.call(s,n)})}catch(c){Fh.call(s,c)}}p0=function(){var s,c,n;function o(u,_){this.fn=u,this.self=_,this.next=void 0}return{add:function(_,L){n=new o(_,L),c?c.next=n:s=n,c=n,n=void 0},drain:function(){var _=s;for(s=c=h0=void 0;_;)_.fn.call(_.self),_=_.next}}}();var qi,Sv=wd({},"constructor",Hu,!1);Hu.prototype=Sv,wd(Sv,"__NPO__",0,!1),wd(Hu,"resolve",function(s){return s&&"object"==typeof s&&1===s.__NPO__?s:new this(function(o,u){if("function"!=typeof o||"function"!=typeof u)throw TypeError("Not a function");o(s)})}),wd(Hu,"reject",function(s){return new this(function(n,o){if("function"!=typeof n||"function"!=typeof o)throw TypeError("Not a function");o(s)})}),wd(Hu,"all",function(s){var c=this;return"[object Array]"!==_g.call(s)?c.reject(TypeError("Not an array")):0===s.length?c.resolve([]):new c(function(o,u){if("function"!=typeof o||"function"!=typeof u)throw TypeError("Not a function");var _=s.length,L=Array(_),$=0;xv(c,s,function(Ee,Se){L[Ee]=Se,++$===_&&o(L)},u)})}),wd(Hu,"race",function(s){var c=this;return"[object Array]"!==_g.call(s)?c.reject(TypeError("Not an array")):new c(function(o,u){if("function"!=typeof o||"function"!=typeof u)throw TypeError("Not a function");xv(c,s,function(L,$){o($)},u)})}),qi=typeof Promise<"u"&&-1!==Promise.toString().indexOf("[native code]")?Promise:Hu;var Of=864e5,im=Array.prototype,v0=Object.prototype,xd=im.slice,om=v0.toString,sm=v0.hasOwnProperty,Ia=S.console,bu=S.navigator,Ki=S.document,Sd=S.opera,Ov=S.screen,Cu=bu.userAgent,yg=Function.prototype.bind,bg=im.forEach,Iv=im.indexOf,Tv=im.map,y0=Array.isArray,b0={},Be={trim:function(r){return r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Gi={log:function(){if(M.DEBUG&&!Be.isUndefined(Ia)&&Ia)try{Ia.log.apply(Ia,arguments)}catch{Be.each(arguments,function(s){Ia.log(s)})}},warn:function(){if(M.DEBUG&&!Be.isUndefined(Ia)&&Ia){var r=["Mixpanel warning:"].
1concat(Be.toArray(arguments));try{Ia.warn.apply(Ia,r)}catch{Be.each(r,function(c){Ia.warn(c)})}}},error:function(){if(M.DEBUG&&!Be.isUndefined(Ia)&&Ia){var r=["Mixpanel error:"].concat(Be.toArray(arguments));try{Ia.error.apply(Ia,r)}catch{Be.each(r,function(c){Ia.error(c)})}}},critical:function(){if(!Be.isUndefined(Ia)&&Ia){var r=["Mixpanel error:"].concat(Be.toArray(arguments));try{Ia.error.apply(Ia,r)}catch{Be.each(r,function(c){Ia.error(c)})}}}},Cg=function(r,s){return function(){return arguments[0]="["+s+"] "+arguments[0],r.apply(Gi,arguments)}},Eu=function(r){return{log:Cg(Gi.log,r),warn:Cg(Gi.warn,r),error:Cg(Gi.error,r),critical:Cg(Gi.critical,r)}},If=function(r){return function(){try{return r.apply(this,arguments)}catch(s){Gi.critical("Implementation error. Please turn on debug and contact [email protected]."),M.DEBUG&&Gi.critical(s)}}},Eg=function(r){var s=r.prototype;for(var c in s)"function"==typeof s[c]&&(s[c]=If(s[c]))};Be.bind=function(r,s){var c,n;if(yg&&r.bind===yg)return yg.apply(r,xd.call(arguments,1));if(!Be.isFunction(r))throw new TypeError;return c=xd.call(arguments,2),n=function(){if(!(this instanceof n))return r.apply(s,c.concat(xd.call(arguments)));var o={};o.prototype=r.prototype;var u=new o;o.prototype=null;var _=r.apply(u,c.concat(xd.call(arguments)));return Object(_)===_?_:u},n},Be.each=function(r,s,c){if(null!=r)if(bg&&r.forEach===bg)r.forEach(s,c);else if(r.length===+r.length){for(var n=0,o=r.length;n<o;n++)if(n in r&&s.call(c,r[n],n,r)===b0)return}else for(var u in r)if(sm.call(r,u)&&s.call(c,r[u],u,r)===b0)return},Be.extend=function(r){return Be.each(xd.call(arguments,1),function(s){for(var c in s)void 0!==s[c]&&(r[c]=s[c])}),r},Be.isArray=y0||function(r){return"[object Array]"===om.call(r)},Be.isFunction=function(r){return"function"==typeof r},Be.isArguments=function(r){return!(!r||!sm.call(r,"callee"))},Be.toArray=function(r){return r?r.toArray?r.toArray():Be.isArray(r)||Be.isArguments(r)?xd.call(r):Be.values(r):[]},Be.map=function(r,s,c){if(Tv&&r.map===Tv)return r.map(s,c);var n=[];return Be.each(r,function(o){n.push(s.call(c,o))}),n},Be.keys=function(r){var s=[];return null===r||Be.each(r,function(c,n){s[s.length]=n}),s},Be.values=function(r){var s=[];return null===r||Be.each(r,function(c){s[s.length]=c}),s},Be.include=function(r,s){var c=!1;return null===r?c:Iv&&r.indexOf===Iv?-1!=r.indexOf(s):(Be.each(r,function(n){if(c||(c=n===s))return b0}),c)},Be.includes=function(r,s){return-1!==r.indexOf(s)},Be.inherit=function(r,s){return r.prototype=new s,r.prototype.constructor=r,r.superclass=s.prototype,r},Be.isObject=function(r){return r===Object(r)&&!Be.isArray(r)},Be.isEmptyObject=function(r){if(Be.isObject(r)){for(var s in r)if(sm.call(r,s))return!1;return!0}return!1},Be.isUndefined=function(r){return void 0===r},Be.isString=function(r){return"[object String]"==om.call(r)},Be.isDate=function(r){return"[object Date]"==om.call(r)},Be.isNumber=function(r){return"[object Number]"==om.call(r)},Be.isElement=function(r){return!(!r||1!==r.nodeType)},Be.encodeDates=function(r){return Be.each(r,function(s,c){Be.isDate(s)?r[c]=Be.formatDate(s):Be.isObject(s)&&(r[c]=Be.encodeDates(s))}),r},Be.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Be.formatDate=function(r){function s(c){return c<10?"0"+c:c}return r.getUTCFullYear()+"-"+s(r.getUTCMonth()+1)+"-"+s(r.getUTCDate())+"T"+s(r.getUTCHours())+":"+s(r.getUTCMinutes())+":"+s(r.getUTCSeconds())},Be.strip_empty_properties=function(r){var s={};return Be.each(r,function(c,n){Be.isString(c)&&c.length>0&&(s[n]=c)}),s},Be.truncate=function(r,s){var c;return"string"==typeof r?c=r.slice(0,s):Be.isArray(r)?(c=[],Be.each(r,function(n){c.push(Be.truncate(n,s))})):Be.isObject(r)?(c={},Be.each(r,function(n,o){c[o]=Be.truncate(n,s)})):c=r,c},Be.JSONEncode=function(){return function(r){var c=function(o){var u=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return u.lastIndex=0,u.test(o)?'"'+o.replace(u,function(L){var $=_[L];return"string"==typeof $?$:"\\u"+("0000"+L.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+o+'"'},n=function(o,u){var _="",$=0,me="",Ee="",Se=0,Ae=_,ft=[],it=u[o];switch(it&&"object"==typeof it&&"function"==typeof it.toJSON&&(it=it.toJSON(o)),typeof it){case"string":return c(it);case"number":return isFinite(it)?String(it):"null";case"boolean":case"null":return String(it);case"object":if(!it)return"null";if(_+="    ",ft=[],"[object Array]"===om.apply(it)){for(Se=it.length,$=0;$<Se;$+=1)ft[$]=n($,it)||"null";return Ee=0===ft.length?"[]":_?"[\n"+_+ft.join(",\n"+_)+"\n"+Ae+"]":"["+ft.join(",")+"]",_=Ae,Ee}for(me in it)sm.call(it,me)&&(Ee=n(me,it))&&ft.push(c(me)+(_?": ":":")+Ee);return Ee=0===ft.length?"{}":_?"{"+ft.join(",")+Ae+"}":"{"+ft.join(",")+"}",_=Ae,Ee}};return n("",{"":r})}}(),Be.JSONDecode=function(){var r,s,n,Ee,c={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(ft){var it=new SyntaxError(ft);throw it.at=r,it.text=n,it},u=function(ft){return ft&&ft!==s&&o("Expected '"+ft+"' instead of '"+s+"'"),s=n.charAt(r),r+=1,s},_=function(){var ft,it="";for("-"===s&&(it="-",u("-"));s>="0"&&s<="9";)it+=s,u();if("."===s)for(it+=".";u()&&s>="0"&&s<="9";)it+=s;if("e"===s||"E"===s)for(it+=s,u(),("-"===s||"+"===s)&&(it+=s,u());s>="0"&&s<="9";)it+=s,u();if(ft=+it,isFinite(ft))return ft;o("Bad number")},L=function(){var ft,it,nt,Zt="";if('"'===s)for(;u();){if('"'===s)return u(),Zt;if("\\"===s)if(u(),"u"===s){for(nt=0,it=0;
1it<4&&(ft=parseInt(u(),16),isFinite(ft));it+=1)nt=16*nt+ft;Zt+=String.fromCharCode(nt)}else{if("string"!=typeof c[s])break;Zt+=c[s]}else Zt+=s}o("Bad string")},$=function(){for(;s&&s<=" ";)u()};return Ee=function(){switch($(),s){case"{":return function(){var ft,it={};if("{"===s){if(u("{"),$(),"}"===s)return u("}"),it;for(;s;){if(ft=L(),$(),u(":"),Object.hasOwnProperty.call(it,ft)&&o('Duplicate key "'+ft+'"'),it[ft]=Ee(),$(),"}"===s)return u("}"),it;u(","),$()}}o("Bad object")}();case"[":return function(){var ft=[];if("["===s){if(u("["),$(),"]"===s)return u("]"),ft;for(;s;){if(ft.push(Ee()),$(),"]"===s)return u("]"),ft;u(","),$()}}o("Bad array")}();case'"':return L();case"-":return _();default:return s>="0"&&s<="9"?_():function(){switch(s){case"t":return u("t"),u("r"),u("u"),u("e"),!0;case"f":return u("f"),u("a"),u("l"),u("s"),u("e"),!1;case"n":return u("n"),u("u"),u("l"),u("l"),null}o('Unexpected "'+s+'"')}()}},function(ft){var it;return n=ft,r=0,s=" ",it=Ee(),$(),s&&o("Syntax error"),it}}(),Be.base64Encode=function(r){var _,L,$,me,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ee=0,Se=0,Ae="",ft=[];if(!r)return r;r=Be.utf8Encode(r);do{_=(me=r.charCodeAt(Ee++)<<16|r.charCodeAt(Ee++)<<8|r.charCodeAt(Ee++))>>12&63,L=me>>6&63,$=63&me,ft[Se++]=s.charAt(me>>18&63)+s.charAt(_)+s.charAt(L)+s.charAt($)}while(Ee<r.length);switch(Ae=ft.join(""),r.length%3){case 1:Ae=Ae.slice(0,-2)+"==";break;case 2:Ae=Ae.slice(0,-1)+"="}return Ae},Be.utf8Encode=function(r){var c,n,o,u,s="";for(c=n=0,o=(r=(r+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,u=0;u<o;u++){var _=r.charCodeAt(u),L=null;_<128?n++:L=_>127&&_<2048?String.fromCharCode(_>>6|192,63&_|128):String.fromCharCode(_>>12|224,_>>6&63|128,63&_|128),null!==L&&(n>c&&(s+=r.substring(c,n)),s+=L,c=n=u+1)}return n>c&&(s+=r.substring(c,r.length)),s},Be.UUID=function(){try{return S.crypto.randomUUID()}catch{for(var r=new Array(36),s=0;s<36;s++)r[s]=Math.floor(16*Math.random());return r[14]=4,r[19]=r[19]&=-5,r[19]=r[19]|=8,r[8]=r[13]=r[18]=r[23]="-",Be.map(r,function(n){return n.toString(16)}).join("")}};var Pv=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];Be.isBlockedUA=function(r){var s;for(r=r.toLowerCase(),s=0;s<Pv.length;s++)if(-1!==r.indexOf(Pv[s]))return!0;return!1},Be.HTTPBuildQuery=function(r,s){var c,n,o=[];return Be.isUndefined(s)&&(s="&"),Be.each(r,function(u,_){c=encodeURIComponent(u.toString()),n=encodeURIComponent(_),o[o.length]=n+"="+c}),o.join(s)},Be.getQueryParam=function(r,s){s=s.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var o=new RegExp("[\\?&]"+s+"=([^&#]*)").exec(r);if(null===o||o&&"string"!=typeof o[1]&&o[1].length)return"";var u=o[1];try{u=decodeURIComponent(u)}catch{Gi.error("Skipping decoding for malformed query param: "+u)}return u.replace(/\+/g," ")},Be.cookie={get:function(r){for(var s=r+"=",c=Ki.cookie.split(";"),n=0;n<c.length;n++){for(var o=c[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(s))return decodeURIComponent(o.substring(s.length,o.length))}return null},parse:function(r){var s;try{s=Be.JSONDecode(Be.cookie.get(r))||{}}catch{}return s},set_seconds:function(r,s,c,n,o,u,_){var L="",$="",me="";if(_)L="; domain="+_;else if(n){var Ee=va(Ki.location.hostname);L=Ee?"; domain=."+Ee:""}if(c){var Se=new Date;Se.setTime(Se.getTime()+1e3*c),$="; expires="+Se.toGMTString()}u&&(o=!0,me="; SameSite=None"),o&&(me+="; secure"),Ki.cookie=r+"="+encodeURIComponent(s)+$+"; path=/"+L+me},set:function(r,s,c,n,o,u,_){var L="",$="",me="";if(_)L="; domain="+_;else if(n){var Ee=va(Ki.location.hostname);L=Ee?"; domain=."+Ee:""}if(c){var Se=new Date;Se.setTime(Se.getTime()+24*c*60*60*1e3),$="; expires="+Se.toGMTString()}u&&(o=!0,me="; SameSite=None"),o&&(me+="; secure");var Ae=r+"="+encodeURIComponent(s)+$+"; path=/"+L+me;return Ki.cookie=Ae,Ae},remove:function(r,s,c){Be.cookie.set(r,"",-1,s,!1,!1,c)}};var C0=function(r){var s=!0;try{var c="__mplss_"+xg(8);r.setItem(c,"xyz"),"xyz"!==r.getItem(c)&&(s=!1),r.removeItem(c)}catch{s=!1}return s},wg=null,Tf=function(r,s){return null===wg||s?wg=C0(r):wg},Mg=null;function mb(r,s,c){var n=function(o){Gi.error(s+" error: "+o)};return{is_supported:function(o){var u=c(r,o);return u||Gi.error(s+" unsupported"),u},error:n,get:function(o){try{return r.getItem(o)}catch(u){n(u)}return null},parse:function(o){try{return Be.JSONDecode(r.getItem(o))||{}}catch{}return null},set:function(o,u){try{r.setItem(o,u)}catch(_){n(_)}},remove:function(o){try{r.removeItem(o)}catch(u){n(u)}}}}var am=function(){try{return S.localStorage}catch{return null}};Be.localStorage=mb(am(),"localStorage",Tf),Be.sessionStorage=mb(function(){try{return S.sessionStorage}catch{return null}}(),"sessionStorage",function(r,s){return null===Mg||s?Mg=C0(r):Mg}),Be.register_event=function(){function c(n){return n&&(n.preventDefault=c.preventDefault,n.stopPropagation=c.stopPropagation),n}return c.preventDefault=function(){this.returnValue=!1},c.stopPropagation=function(){this.cancelBubble=!0},function(n,o,u,_,L){if(n)if(n.addEventListener&&!_)n.addEventListener(o,u,!!L);else{var $="on"+o;n[$]=function s(n,o,u){return function(L){if(L=L||c(S.event)){var me,Ee,$=!0;return Be.isFunction(u)&&(me=u(L)),Ee=o.call(n,L),(!1===me||!1===Ee)&&($=!1),$}}}(n,u,n[$])}else Gi.error("No valid element provided to register_event")}}();var gb=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Be.dom_query=function(){function r(o){return o.all?o.all:o.getElementsByTagName("*")}var s=/[\t\r\n]/g;function c(o,u){var _=" "+u+" ";return(" "+o.className+" ").replace(s," ").indexOf(_)>=0}function n(o){if(!Ki.getElementsByTagName)return[];var _,L,$,me,Ee,Se,Ae,ft,it,Zt,u=o.split(" "),nt=[Ki];for(Se=0;Se<u.length;Se++)if((_=u[Se].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){$=(L=_.split("#"))[0];var mn=Ki.getElementById(L[1]);if(!mn||$&&mn.nodeName.toLowerCase()!=$)return[];nt=[mn]}else if(_.indexOf(".")>-1){var Ln=(L=_.split("."))[1];for(($=L[0])||($="*"),me=[],Ee=0,Ae=0;Ae<nt.length;Ae++)for(it="*"==$?r(nt[Ae]):nt[Ae].getElementsByTagName($),ft=0;ft<it.length;ft++)me[Ee++]=it[ft];for(nt=[],Zt=0,Ae=0;Ae<me.length;Ae++)me[Ae].className&&Be.isString(me[Ae].className)&&c(me[Ae],Ln)&&(nt[Zt
1++]=me[Ae])}else{var nr=_.match(gb);if(nr){var zr,Zn=nr[2],Er=nr[3],pi=nr[4];for(($=nr[1])||($="*"),me=[],Ee=0,Ae=0;Ae<nt.length;Ae++)for(it="*"==$?r(nt[Ae]):nt[Ae].getElementsByTagName($),ft=0;ft<it.length;ft++)me[Ee++]=it[ft];switch(nt=[],Zt=0,Er){case"=":zr=function(Ri){return Ri.getAttribute(Zn)==pi};break;case"~":zr=function(Ri){return Ri.getAttribute(Zn).match(new RegExp("\\b"+pi+"\\b"))};break;case"|":zr=function(Ri){return Ri.getAttribute(Zn).match(new RegExp("^"+pi+"-?"))};break;case"^":zr=function(Ri){return 0===Ri.getAttribute(Zn).indexOf(pi)};break;case"$":zr=function(Ri){return Ri.getAttribute(Zn).lastIndexOf(pi)==Ri.getAttribute(Zn).length-pi.length};break;case"*":zr=function(Ri){return Ri.getAttribute(Zn).indexOf(pi)>-1};break;default:zr=function(Ri){return Ri.getAttribute(Zn)}}for(nt=[],Zt=0,Ae=0;Ae<me.length;Ae++)zr(me[Ae])&&(nt[Zt++]=me[Ae])}else{for($=_,me=[],Ee=0,Ae=0;Ae<nt.length;Ae++)for(it=nt[Ae].getElementsByTagName($),ft=0;ft<it.length;ft++)me[Ee++]=it[ft];nt=me}}return nt}return function(o){return Be.isElement(o)?[o]:Be.isObject(o)&&!Be.isUndefined(o.length)?o:n.call(this,o)}}();var Pf=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],E0=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Be.info={campaignParams:function(r){var s="",c={};return Be.each(Pf,function(n){(s=Be.getQueryParam(Ki.URL,n)).length?c[n]=s:void 0!==r&&(c[n]=r)}),c},clickParams:function(){var r="",s={};return Be.each(E0,function(c){(r=Be.getQueryParam(Ki.URL,c)).length&&(s[c]=r)}),s},marketingParams:function(){return Be.extend(Be.info.campaignParams(),Be.info.clickParams())},searchEngine:function(r){return 0===r.search("https?://(.*)google.([^/?]*)")?"google":0===r.search("https?://(.*)bing.com")?"bing":0===r.search("https?://(.*)yahoo.com")?"yahoo":0===r.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(r){var s=Be.info.searchEngine(r),c="yahoo"!=s?"q":"p",n={};if(null!==s){n.$search_engine=s;var o=Be.getQueryParam(r,c);o.length&&(n.mp_keyword=o)}return n},browser:function(r,s,c){return s=s||"",c||Be.includes(r," OPR/")?Be.includes(r,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(r)?"BlackBerry":Be.includes(r,"IEMobile")||Be.includes(r,"WPDesktop")?"Internet Explorer Mobile":Be.includes(r,"SamsungBrowser/")?"Samsung Internet":Be.includes(r,"Edge")||Be.includes(r,"Edg/")?"Microsoft Edge":Be.includes(r,"FBIOS")?"Facebook Mobile":Be.includes(r,"Whale/")?"Whale Browser":Be.includes(r,"Chrome")?"Chrome":Be.includes(r,"CriOS")?"Chrome iOS":Be.includes(r,"UCWEB")||Be.includes(r,"UCBrowser")?"UC Browser":Be.includes(r,"FxiOS")?"Firefox iOS":Be.includes(s,"Apple")?Be.includes(r,"Mobile")?"Mobile Safari":"Safari":Be.includes(r,"Android")?"Android Mobile":Be.includes(r,"Konqueror")?"Konqueror":Be.includes(r,"Firefox")?"Firefox":Be.includes(r,"MSIE")||Be.includes(r,"Trident/")?"Internet Explorer":Be.includes(r,"Gecko")?"Mozilla":""},browserVersion:function(r,s,c){var u={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Be.info.browser(r,s,c)];if(void 0===u)return null;var _=r.match(u);return _?parseFloat(_[_.length-2]):null},os:function(){var r=Cu;return/Windows/i.test(r)?/Phone/.test(r)||/WPDesktop/.test(r)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(r)?"iOS":/Android/.test(r)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(r)?"BlackBerry":/Mac/i.test(r)?"Mac OS X":/Linux/.test(r)?"Linux":/CrOS/.test(r)?"Chrome OS":""},device:function(r){return/Windows Phone/i.test(r)||/WPDesktop/.test(r)?"Windows Phone":/iPad/.test(r)?"iPad":/iPod/.test(r)?"iPod Touch":/iPhone/.test(r)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(r)?"BlackBerry":/Android/.test(r)?"Android":""},referringDomain:function(r){var s=r.split("/");return s.length>=3?s[2]:""},currentUrl:function(){return S.location.href},properties:function(r){return"object"!=typeof r&&(r={}),Be.extend(Be.strip_empty_properties({$os:Be.info.os(),$browser:Be.info.browser(Cu,bu.vendor,Sd),$referrer:Ki.referrer,$referring_domain:Be.info.referringDomain(Ki.referrer),$device:Be.info.device(Cu)}),{$current_url:Be.info.currentUrl(),$browser_version:Be.info.browserVersion(Cu,bu.vendor,Sd),$screen_height:Ov.height,$screen_width:Ov.width,mp_lib:"web",$lib_version:M.LIB_VERSION,$insert_id:xg(),time:Be.timestamp()/1e3},Be.strip_empty_properties(r))},people_properties:function(){return Be.extend(Be.strip_empty_properties({$os:Be.info.os(),$browser:Be.info.browser(Cu,bu.vendor,Sd)}),{$browser_version:Be.info.browserVersion(Cu,bu.vendor,Sd)})},mpPageViewProperties:function(){return Be.strip_empty_properties({current_page_title:Ki.title,current_domain:S.location.hostname,current_url_path:S.location.pathname,current_url_protocol:S.location.protocol,current_url_search:S.location.search})}};var xg=function(r){var s=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return r?s.substring(0,r):s},M0=function(){return"00-"+Be.UUID().replace(/-/g,"")+"-"+Be.UUID().replace(/-/g,"").substring(0,16)+"-01"},_b=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,dC=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,va=function(r){var s=dC,c=r.split("."),n=c[c.length-1];(n.length>4||"com"===n||"org"===n)&&(s=_b);var o=r.match(s);return o?o[0]:""},zu=function(){},Jo=function(r,s){for(var c=!1,n=0;n<s.length;n++)if(r.match(s[n])){c=!0;break}return c},Vc=null,$u=null;typeof JSON<"u"&&(Vc=JSON.stringify,$u=JSON.parse),Vc=Vc||Be.JSONEncode,$u=$u||Be.JSONDecode,Be.info=Be.info,Be.info.browser=Be.info.browser,Be.info.browserVersion=Be.info.browserVersion,Be.info.device=Be.info.device,Be.info.properties=Be.info.properties,Be.isBlockedUA=Be.isBlockedUA,Be.isEmptyObject=Be.isEmptyObject,Be.isObject=Be.isObject,Be.JSONDecode=Be.JSONDecode,Be.JSONEncode=Be.JSONEncode,Be.toArray=Be.toArray,Be.NPO=Hu;var Dl=function(r,s,c){this.dbName=r,this.storeName=s,this.version=c.version,this.storeNamesInDb=c.storeNames,this.dbPromise=null};Dl.prototype._openDb=function(){var r=this.dbName,s=this.version,c=this.storeNamesInDb;return new qi(function(n,o){var u=S.indexedDB.open(r,s);u.onerror=function(){o(u.error)},u.onsuccess=function(){n(u.result)},u.onupgradeneeded=function(_){var L=_.target.result;
1c.forEach(function($){L.objectStoreNames.contains($)||L.createObjectStore($)})}})},Dl.prototype.init=function(){return S.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(r){return r instanceof S.IDBDatabase?qi.resolve():qi.reject(r)})):qi.reject("indexedDB is not supported in this browser")},Dl.prototype.isInitialized=function(){return!!this.dbPromise},Dl.prototype.makeTransaction=function(r,s){var c=this.storeName,n=function(o){return new qi(function(u,_){var L=o.transaction(c,r);L.oncomplete=function(){u(L)},L.onabort=L.onerror=function(){_(L.error)},s(L.objectStore(c))})};return this.dbPromise.then(n).catch(function(o){return o&&"InvalidStateError"===o.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):qi.reject(o)}.bind(this))},Dl.prototype.setItem=function(r,s){return this.makeTransaction("readwrite",function(c){c.put(s,r)})},Dl.prototype.getItem=function(r){var s;return this.makeTransaction("readonly",function(c){s=c.get(r)}).then(function(){return s.result})},Dl.prototype.removeItem=function(r){return this.makeTransaction("readwrite",function(s){s.delete(r)})},Dl.prototype.getAll=function(){var r;return this.makeTransaction("readonly",function(s){r=s.getAll()}).then(function(){return r.result})};var Nh="mixpanelBrowserDb",Rv="mixpanelRecordingEvents",x0="mixpanelRecordingRegistry",Wu={version:1,storeNames:[Rv,x0]};function Bh(r,s){Lv(!0,r,s)}function yb(r,s){Lv(!1,r,s)}function kv(r,s){return"1"===nl(r,s)}function Uh(r,s){if(function bb(r){if(r&&r.ignoreDnt)return!1;var s=r&&r.window||S,c=s.navigator||{},n=!1;return Be.each([c.doNotTrack,c.msDoNotTrack,s.doNotTrack],function(o){Be.includes([!0,1,"1","yes"],o)&&(n=!0)}),n}(s))return Gi.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var c="0"===nl(r,s);return c&&Gi.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),c}function jc(r){return cm(r,function(s){return this.get_config(s)})}function Ku(r){return cm(r,function(s){return this._get_config(s)})}function Rf(r){return cm(r,function(s){return this._get_config(s)})}function lm(r,s){Ol(s=s||{}).remove(S0(r,s),!!s.crossSubdomainCookie,s.cookieDomain)}function Ol(r){return"localStorage"===(r=r||{}).persistenceType?Be.localStorage:Be.cookie}function S0(r,s){return((s=s||{}).persistencePrefix||"__mp_opt_in_out_")+r}function nl(r,s){return Ol(s).get(S0(r,s))}function Lv(r,s,c){Be.isString(s)&&s.length?(Ol(c=c||{}).set(S0(s,c),r?1:0,Be.isNumber(c.cookieExpiration)?c.cookieExpiration:null,!!c.crossSubdomainCookie,!!c.secureCookie,!!c.crossSiteCookie,c.cookieDomain),c.track&&r&&c.track(c.trackEventName||"$opt_in",c.trackProperties,{send_immediately:!0})):Gi.error("gdpr."+(r?"optIn":"optOut")+" called with an invalid token")}function cm(r,s){return function(){var c=!1;try{var n=s.call(this,"token"),o=s.call(this,"ignore_dnt"),u=s.call(this,"opt_out_tracking_persistence_type"),_=s.call(this,"opt_out_tracking_cookie_prefix"),L=s.call(this,"window");n&&(c=Uh(n,{ignoreDnt:o,persistenceType:u,persistencePrefix:_,window:L}))}catch(me){Gi.error("Unexpected error when checking tracking opt-out status: "+me)}if(!c)return r.apply(this,arguments);var $=arguments[arguments.length-1];"function"==typeof $&&$(0)}}var Fv=Eu("lock"),D0=function(r,s){s=s||{},this.storageKey=r,this.storage=s.storage||am(),this.pollIntervalMS=s.pollIntervalMS||100,this.timeoutMS=s.timeoutMS||2e3,this.promiseImpl=s.promiseImpl||qi};D0.prototype.withLock=function(r,s){return new(0,this.promiseImpl)(Be.bind(function(n,o){var u=s||(new Date).getTime()+"|"+Math.random(),_=(new Date).getTime(),L=this.storageKey,$=this.pollIntervalMS,me=this.timeoutMS,Ee=this.storage,Se=L+":X",Ae=L+":Y",ft=L+":Z",it=function(Ln){if((new Date).getTime()-_>me)return Fv.error("Timeout waiting for mutex on "+L+"; clearing lock. ["+u+"]"),Ee.removeItem(ft),Ee.removeItem(Ae),void qt();setTimeout(function(){try{Ln()}catch(nr){o(nr)}},$*(Math.random()+.1))},Zt=function(Ln,nr){Ln()?nr():it(function(){Zt(Ln,nr)})},nt=function(){var Ln=Ee.getItem(Ae);return!(Ln&&Ln!==u||(Ee.setItem(Ae,u),Ee.getItem(Ae)!==u&&(Tf(Ee,!0)||o(new Error("localStorage support dropped while acquiring lock")),1)))},qt=function(){Ee.setItem(Se,u),Zt(nt,function(){Ee.getItem(Se)!==u?it(function(){Ee.getItem(Ae)===u?Zt(function(){return!Ee.getItem(ft)},mn):qt()}):mn()})},mn=function(){Ee.setItem(ft,"1");var Ln=function(){Ee.removeItem(ft),Ee.getItem(Ae)===u&&Ee.removeItem(Ae),Ee.getItem(Se)===u&&Ee.removeItem(Se)};r().then(function(nr){Ln(),n(nr)}).catch(function(nr){Ln(),o(nr)})};try{if(!Tf(Ee,!0))throw new Error("localStorage support check failed");qt()}catch(Ln){o(Ln)}},this))};var Vh=function(r){this.storage=r||am()};Vh.prototype.init=function(){return this.storage?qi.resolve():qi.reject(new Error("localStorage is not available"))},Vh.prototype.isInitialized=function(){return!0},Vh.prototype.setItem=function(r,s){return new qi(Be.bind(function(c,n){try{this.storage.setItem(r,Vc(s))}catch(o){n(o)}c()},this))},Vh.prototype.getItem=function(r){return new qi(Be.bind(function(s,c){var n;try{n=$u(this.storage.getItem(r))}catch(o){c(o)}s(n)},this))},Vh.prototype.removeItem=function(r){return new qi(Be.bind(function(s,c){try{this.storage.removeItem(r)}catch(n){c(n)}s()},this))};
vendor: 7,372 bytes, line 1
1var Cb=Eu("batch"),Hc=function(r,s){s=s||{},this.storageKey=r,this.usePersistence=s.usePersistence,this.usePersistence&&(this.queueStorage=s.queueStorage||new Vh,this.lock=new D0(r,{storage:s.sharedLockStorage,timeoutMS:s.sharedLockTimeoutMS})),this.reportError=s.errorReporter||Be.bind(Cb.error,Cb),this.pid=s.pid||null,this.memQueue=[],this.initialized=!1,this.enqueuePersisted=s.enqueueThrottleMs?function(r,s){var c=null,n=[];return function(o){var u=this;return n.push(o),c||(c=new qi(function(_){setTimeout(function(){var L=r.apply(u,[n]);c=null,n=[],_(L)},s)})),c}}(Be.bind(this._enqueuePersisted,this),s.enqueueThrottleMs):Be.bind(function(c){return this._enqueuePersisted([c])},this)};Hc.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?qi.resolve():this.queueStorage.init().then(Be.bind(function(){this.initialized=!0},this)).catch(Be.bind(function(r){this.reportError("Error initializing queue persistence. Disabling persistence",r),this.initialized=!0,this.usePersistence=!1},this))},Hc.prototype.enqueue=function(r,s){var c={id:xg(),flushAfter:(new Date).getTime()+2*s,payload:r};return this.usePersistence?this.enqueuePersisted(c):(this.memQueue.push(c),qi.resolve(!0))},Hc.prototype._enqueuePersisted=function(r){var s=Be.bind(function(){return this.ensureInit().then(Be.bind(function(){return this.readFromStorage()},this)).then(Be.bind(function(c){return this.saveToStorage(c.concat(r))},this)).then(Be.bind(function(c){return c&&(this.memQueue=this.memQueue.concat(r)),c},this)).catch(Be.bind(function(c){return this.reportError("Error enqueueing items",c,r),!1},this))},this);return this.lock.withLock(s,this.pid).catch(Be.bind(function(c){return this.reportError("Error acquiring storage lock",c),!1},this))},Hc.prototype.fillBatch=function(r){var s=this.memQueue.slice(0,r);return this.usePersistence&&s.length<r?this.ensureInit().then(Be.bind(function(){return this.readFromStorage()},this)).then(Be.bind(function(c){if(c.length){var n={};Be.each(s,function(_){n[_.id]=!0});for(var o=0;o<c.length;o++){var u=c[o];if((new Date).getTime()>u.flushAfter&&!n[u.id]&&(u.orphaned=!0,s.push(u),s.length>=r))break}}return s},this)):qi.resolve(s)};var Eb=function(r,s){var c=[];return Be.each(r,function(n){n.id&&!s[n.id]&&c.push(n)}),c};Hc.prototype.removeItemsByID=function(r){var s={};if(Be.each(r,function(n){s[n]=!0}),this.memQueue=Eb(this.memQueue,s),this.usePersistence){var c=Be.bind(function(){return this.ensureInit().then(Be.bind(function(){return this.readFromStorage()},this)).then(Be.bind(function(n){return n=Eb(n,s),this.saveToStorage(n)},this)).then(Be.bind(function(){return this.readFromStorage()},this)).then(Be.bind(function(n){for(var o=0;o<n.length;o++){var u=n[o];if(u.id&&s[u.id])throw new Error("Item not removed from storage")}return!0},this)).catch(Be.bind(function(n){return this.reportError("Error removing items",n,r),!1},this))},this);return this.lock.withLock(c,this.pid).catch(Be.bind(function(n){return this.reportError("Error acquiring storage lock",n),!Tf(this.lock.storage,!0)&&c().then(Be.bind(function(o){return o||this.queueStorage.removeItem(this.storageKey).then(function(){return o})},this)).catch(Be.bind(function(o){return this.reportError("Error clearing queue",o),!1},this))},this))}return qi.resolve(!0)};var wb=function(r,s){var c=[];return Be.each(r,function(n){var o=n.id;if(o in s){var u=s[o];null!==u&&(n.payload=u,c.push(n))}else c.push(n)}),c};Hc.prototype.updatePayloads=function(r){return this.memQueue=wb(this.memQueue,r),this.usePersistence?this.lock.withLock(Be.bind(function(){return this.ensureInit().then(Be.bind(function(){return this.readFromStorage()},this)).then(Be.bind(function(c){return c=wb(c,r),this.saveToStorage(c)},this)).catch(Be.bind(function(c){return this.reportError("Error updating items",r,c),!1},this))},this),this.pid).catch(Be.bind(function(s){return this.reportError("Error acquiring storage lock",s),!1},this)):qi.resolve(!0)},Hc.prototype.readFromStorage=function(){return this.ensureInit().then(Be.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(Be.bind(function(r){return r&&(Be.isArray(r)||(this.reportError("Invalid storage entry:",r),r=null)),r||[]},this)).catch(Be.bind(function(r){return this.reportError("Error retrieving queue",r),[]},this))},Hc.prototype.saveToStorage=function(r){return this.ensureInit().then(Be.bind(function(){return this.queueStorage.setItem(this.storageKey,r)},this)).then(function(){return!0}).catch(Be.bind(function(s){return this.reportError("Error saving queue",s),!1},this))},Hc.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Be.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):qi.resolve()};var um=Eu("batch"),Mc=function(r,s){this.errorReporter=s.errorReporter,this.queue=new Hc(r,{errorReporter:Be.bind(this.reportError,this),queueStorage:s.queueStorage,sharedLockStorage:s.sharedLockStorage,sharedLockTimeoutMS:s.sharedLockTimeoutMS,usePersistence:s.usePersistence,enqueueThrottleMs:s.enqueueThrottleMs}),this.libConfig=s.libConfig,this.sendRequest=s.sendRequestFunc,this.beforeSendHook=s.beforeSendHook,this.stopAllBatching=s.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=s.flushOnlyOnInterval||!1,this._flushPromise=null};Mc.prototype.enqueue=function(r){return this.queue.enqueue(r,this.flushInterval)},Mc.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Mc.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Mc.prototype.clear=function(){return this.queue.clear()},Mc.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Mc.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Mc.prototype.scheduleFlush=function(r){this.flushInterval=r,this.stopped||(this.timeoutID=setTimeout(Be.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},Mc.prototype.sendRequestPromise=function(r,s){return new qi(Be.bind(function(c){this.sendRequest(r,s,c)},this))},Mc.prototype.flush=function(r){if(this.requestInProgress)return um.log("Flush: Request already in progress"),qi.resolve();this.requestInProgress=!0,r=r||{};var s=this.libConfig.batch_request_timeout_ms,c=(new Date).getTime(),n=this.batchSize;return this.queue.fillBatch(n).then(Be.bind(function(o){var u=o.length===n,_=[],L={};if(Be.each(o,function(Se){var Ae=Se.payload;if(this.beforeSendHook&&!Se.orphaned&&(Ae=this.beforeSendHook(Ae)),Ae){Ae.event&&Ae.properties&&(Ae.properties=Be.extend({},Ae.properties,{mp_sent_by_lib_version:M.LIB_VERSION}));var ft=!0,it=Se.id;it?(this.itemIdsSentSuccessfully[it]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:Se,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[it]}),ft=!1):this.reportError("[dupe] found item with no ID",{item:Se}),ft&&_.push(Ae)}L[Se.id]=Ae},this),_.length<1)return this.requestInProgress=!1,this.resetFlush(),qi.resolve();var $=Be.bind(function(){return this.queue.removeItemsByID(Be.map(o,function(Se){return Se.id}
1)).then(Be.bind(function(Se){return Be.each(o,Be.bind(function(Ae){var ft=Ae.id;ft?(this.itemIdsSentSuccessfully[ft]=this.itemIdsSentSuccessfully[ft]||0,this.itemIdsSentSuccessfully[ft]++,this.itemIdsSentSuccessfully[ft]>5&&this.reportError("[dupe] item ID sent too many times",{item:Ae,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[ft]})):this.reportError("[dupe] found item with no ID while removing",{item:Ae})},this)),Se?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!u?(this.resetFlush(),qi.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),qi.resolve())},this))},this),me=Be.bind(function(Se){this.requestInProgress=!1;try{if(r.unloading)return this.queue.updatePayloads(L);if(Be.isObject(Se)&&"timeout"===Se.error&&(new Date).getTime()-c>=s)return this.reportError("Network timeout; retrying"),this.flush();if(Be.isObject(Se)&&(Se.httpStatusCode>=500||429===Se.httpStatusCode||Se.httpStatusCode<=0&&!function(){var r=S.navigator.onLine;return Be.isUndefined(r)||r}()||"timeout"===Se.error)){var Ae=2*this.flushInterval;return Se.retryAfter&&(Ae=1e3*parseInt(Se.retryAfter,10)||Ae),Ae=Math.min(6e5,Ae),this.reportError("Error; retry in "+Ae+" ms"),this.scheduleFlush(Ae),qi.resolve()}if(Be.isObject(Se)&&413===Se.httpStatusCode){if(o.length>1){var ft=Math.max(1,Math.floor(n/2));return this.batchSize=Math.min(this.batchSize,ft,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),qi.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),$()}return $()}catch(it){this.reportError("Error handling API response",it),this.resetFlush()}},this),Ee={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:s};return r.unloading&&(Ee.transport="sendBeacon"),um.log("MIXPANEL REQUEST:",_),this.sendRequestPromise(_,Ee).then(me)},this)).catch(Be.bind(function(o){this.reportError("Error flushing request queue",o),this.resetFlush()},this))},Mc.prototype.reportError=function(r,s){if(um.error.apply(um.error,arguments),this.errorReporter)try{s instanceof Error||(s=new Error(r)),this.errorReporter(r,s)}catch(c){um.error(c)}};var Dd=function(r){var s=Date.now();return!r||s>r.maxExpires||s>r.idleExpires},Nv=function(r,s){if(!Be.isArray(r))return r&&s.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var c=[],n=0;n<r.length;n++)try{var o=new URL(r[n]).origin;if("null"===o){s.critical(r[n]+" has an opaque origin. Skipping this entry.");continue}c.push(o)}catch{s.critical(r[n]+" is not a valid origin URL. Skipping this entry.")}return c},dm="change",Gu="click",jh="hashchange",Od="mp_locationchange",Mb="popstate",Og="scrollend",fm="scroll",zc="submit",I0="visibilitychange",Db=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],T0=["mp-include"],Ig=["mp-no-track"],kf=Ig.concat(["mp-sensitive"]),Vv=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],P0={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},Ob={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},Tg={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Ib=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],ks=Eu("autocapture");function Pg(r){for(var s={},c=jv(r).split(" "),n=0;n<c.length;n++){var o=c[n];o&&(s[o]=!0)}return s}function jv(r){switch(typeof r.className){case"string":return r.className;case"object":return r.className.baseVal||r.getAttribute("class")||"";default:return""}}function Hh(r){if(r.previousElementSibling)return r.previousElementSibling;do{r=r.previousSibling}while(r&&!zv(r));return r}function zh(r,s,c,n,o,u){var _={$classes:jv(r).split(" "),$tag_name:r.tagName.toLowerCase()},L=r.id;L&&(_.$id=L),$h(r,s,o,u)&&Be.each(Vv.concat(n),function(Se){if(r.hasAttribute(Se)&&!c[Se]){var Ae=r.getAttribute(Se);Ag(Ae)&&(_["$attr-"+Se]=Ae)}});for(var $=1,me=1,Ee=r;Ee=Hh(Ee);)$++,Ee.tagName===r.tagName&&me++;return _.$nth_child=$,_.$nth_of_type=me,_}function Hv(r,s,c,n){var o="";return $h(r,s,c,n)&&r.childNodes&&r.childNodes.length&&Be.each(r.childNodes,function(u){$v(u)&&u.textContent&&(o+=Be.trim(u.textContent).split(/(\s+)/).filter(Ag).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Be.trim(o)}function A0(r,s,c,n){if(c)try{if(!c(r,s))return!1}catch(_){return ks.critical("Error while checking element in allowElementCallback",_),!1}if(!n.length)return!0;for(var o=0;o<n.length;o++){var u=n[o];try{if(r.matches(u))return!0}catch(_){ks.critical("Error while checking selector: "+u,_)}}return!1}function R0(r,s,c,n){var o;if(c)try{if(c(r,s))return!0}catch(L){return ks.critical("Error while checking element in blockElementCallback",L),!0}if(n&&n.length)for(o=0;o<n.length;o++){var u=n[o];try{if(r.matches(u))return!0}catch(L){ks.critical("Error while checking selector: "+u,L)}}var _=Pg(r);for(o=0;o<Ig.length;o++)if(_[Ig[o]])return!0;return!1}function zv(r){return r&&1===r.nodeType}function wu(r,s){return r&&r.tagName&&r.tagName.toLowerCase()===s.toLowerCase()}function $v(r){return r&&3===r.nodeType}function Wv(r){var s=(r.name||r.id||"").toString().toLowerCase();return!("string"!=typeof s||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(s.replace(/[^a-zA-Z0-9]/g,"")))}function $h(r,s,c,n){var o;if(!A0(r,s,c,n))return!1;for(var u=r;u.parentNode&&!wu(u,"body");u=u.parentNode){var _=Pg(u);for(o=0;o<kf.length;o++)if(_[kf[o]])return!1}var L=Pg(r);for(o=0;o<T0.length;o++)if(L[T0[o]])return!0;
1if(wu(r,"input")||wu(r,"select")||wu(r,"textarea")||"true"===r.getAttribute("contenteditable"))return!1;var $=r.type||"";if("string"==typeof $)switch($.toLowerCase()){case"hidden":case"password":return!1}return!Wv(r)}function Ag(r){if(null===r||Be.isUndefined(r))return!1;if("string"==typeof r){if(r=Be.trim(r),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((r||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(r))return!1}return!0}function L0(r){var s="onscrollend"in S,c=If(r),n=Og;if(!s){var o=null;c=If(function(){clearTimeout(o),o=setTimeout(r,100)}),n=fm}return{listener:c,eventType:n}}function F0(r){var s=r.tagName.toLowerCase();return!!("button"===s||"input"===s||"select"===s||"textarea"===s||"details"===s||"dialog"===s||r.isContentEditable||r.onclick||r.onmousedown||r.onmouseup||r.ontouchstart||r.ontouchend||function kb(r){for(var s=0;s<Ib.length;s++)if(r.hasAttribute(Ib[s]))return!0;return!1}(r)||function Lb(r){var s=r.getAttribute("role");if(!s)return!1;var c=s.trim().split(/\s+/)[0].toLowerCase();return P0[c]}(r)||"a"===s&&r.hasAttribute("href")||r.hasAttribute("tabindex"))}function Kv(r){if(!r||!r.tagName)return!0;var s=r.tagName.toLowerCase();if(Ob[s])return!0;if(F0(r))return!1;for(var c=r.parentElement,n=0;c&&n<5;){if(F0(c))return!1;if(c.getRootNode&&c.getRootNode()!==Ki){var o=c.getRootNode();if(o.host&&F0(o.host))return!1}c=c.parentElement,n++}return!!Tg[s]}function Gv(r){return"composedPath"in r?r.composedPath():[]}function Xv(r){var s=Gv(r);return s&&s.length>0?s[0]:r.target||r.srcElement}var Yv=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",Nb=["password","email","tel","hidden"];function Rg(r){return r?Array.isArray(r)?r:[r]:[]}function Wh(r,s){return!!s&&!!r.closest(s)}function Ub(r,s){var c=(r.getAttribute("type")||"").toLowerCase();if(-1!==Nb.indexOf(c))return!0;var n=(r.getAttribute("autocomplete")||"").toLowerCase();return!(!(n&&""!==n&&"off"!==n||r.hasAttribute("data-rr-is-password")||Wv(r))&&(s.input.maskAll?Wh(r,s.input.unmaskingSelector):!Wh(r,s.input.maskingSelector)&&!Wh(r,Yv)))}function Zv(r,s){return!(!r||(!s.text._legacyClassRegex||!M_(r,s.text._legacyClassRegex))&&(s.text.maskAll?Wh(r,s.text.unmaskingSelector):!Wh(r,s.text.maskingSelector)&&!Wh(r,Yv)))}var Xu=Eu("network-plugin");function kg(r){return Math.round(Date.now()-r.performance.now())}var N0={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function B0(r){return"resource"===r.entryType}function Qv(r,s,c){if(!(s in r)||"function"!=typeof r[s])return function(){};var n=r[s],o=c(n);return r[s]=o,function(){r[s]=n}}var Lg=1048576;function U0(r){return r&&"string"==typeof r&&r.length>Lg?(Xu.error("Body truncated from "+r.length+" to "+Lg+" characters"),r.substring(0,Lg)+"... [truncated]"):r}function Fg(r,s,c){return!(!s[r]||0===s[r].length)&&s[r].includes(c.toLowerCase())}function hm(r,s,c){return!(!s[r]||0===s[r].length)&&Jo(c,s[r])}function Jv(r){if(null==r)return null;var s;if("string"==typeof r)s=r;else if(r instanceof Document)s=r.textContent;else if(r instanceof FormData)s=Be.HTTPBuildQuery(r);else{if(!Be.isObject(r))return"Cannot read body of type "+typeof r;try{s=JSON.stringify(r)}catch{return"Failed to stringify response object"}}return U0(s)}function qv(r){return new Promise(function(s){var c=setTimeout(function(){s("Timeout while trying to read body")},500);try{r.clone().text().then(function(n){clearTimeout(c),s(U0(n))},function(n){clearTimeout(c),s("Failed to read body: "+String(n))})}catch(n){clearTimeout(c),s("Failed to read body: "+String(n))}})}function Ng(r,s,c,n,o,u){if(void 0===u&&(u=0),u>10)return Xu.error("Cannot find performance entry"),Promise.resolve(null);var L=function jb(r,s){for(var n=r.length-1;n>=0;n-=1)if(s(r[n]))return r[n]}(r.performance.getEntriesByName(c),function($){return B0($)&&$.initiatorType===s&&(!n||$.startTime>=n)&&(!o||$.startTime<=o)});return L?Promise.resolve(L):new Promise(function($){setTimeout($,50*u)}).then(function(){return Ng(r,s,c,n,o,u+1)})}function ny(r,s,c){if(!("performance"in s))return function(){};var n=Object.assign({},N0.recordHeaders,c.recordHeaders||{}),o=Object.assign({},N0.recordBodyUrls,c.recordBodyUrls||{});c=Object.assign({},c,{recordHeaders:n,recordBodyUrls:o});var u=Object.assign({},N0,c),_=function(Ee){var Se=Ee.requests.filter(function(Ae){return!Jo(Ae.url,u.ignoreRequestUrls||[])&&!u.ignoreRequestFn(Ae)});(Se.length>0||Ee.isInitial)&&r(Object.assign({},Ee,{requests:Se}))}
1,L=function Hb(r,s,c){if(!s.PerformanceObserver)return Xu.error("PerformanceObserver not supported"),function(){};if(c.recordInitialRequests){var n=s.performance.getEntries().filter(function(u){return function Vb(r){return"navigation"===r.entryType}(u)||B0(u)&&c.initiatorTypes.includes(u.initiatorType)});r({requests:n.map(function(u){return{url:u.name,initiatorType:u.initiatorType,status:"responseStatus"in u?u.responseStatus:void 0,startTime:Math.round(u.startTime),endTime:Math.round(u.responseEnd),timeOrigin:kg(s)}}),isInitial:!0})}var o=new s.PerformanceObserver(function(u){var _=u.getEntries().filter(function(L){return B0(L)&&c.initiatorTypes.includes(L.initiatorType)&&"xmlhttprequest"!==L.initiatorType&&"fetch"!==L.initiatorType});r({requests:_.map(function(L){return{url:L.name,initiatorType:L.initiatorType,status:"responseStatus"in L?L.responseStatus:void 0,startTime:Math.round(L.startTime),endTime:Math.round(L.responseEnd),timeOrigin:kg(s)}})})});return o.observe({entryTypes:["navigation","resource"]}),function(){o.disconnect()}}(_,s,u),$=function ey(r,s,c){if(!c.initiatorTypes.includes("xmlhttprequest"))return function(){};var n=Qv(s.XMLHttpRequest.prototype,"open",function(o){return function(u,_,L,$,me){void 0===L&&(L=!0);var ft,it,Ee=this,Se=new Request(_,{method:u}),Ae={},Zt={},nt=Ee.setRequestHeader.bind(Ee);Ee.setRequestHeader=function(mn,Ln){return Fg("request",c.recordHeaders,mn)&&(Zt[mn]=Ln),nt(mn,Ln)},Ae.requestHeaders=Zt;var qt=Ee.send.bind(Ee);Ee.send=function(mn){return hm("request",c.recordBodyUrls,Se.url)&&(Ae.requestBody=Jv(mn)),ft=s.performance.now(),qt(mn)},Ee.addEventListener("readystatechange",function(){if(Ee.readyState===Ee.DONE){it=s.performance.now();var mn={},Ln=Ee.getAllResponseHeaders();Ln&&Ln.trim().split(/[\r\n]+/).forEach(function(Zn){if(Zn){var Er=Zn.indexOf(": ");if(-1!==Er){var pi=Zn.substring(0,Er),zr=Zn.substring(Er+2);pi&&Fg("response",c.recordHeaders,pi)&&(mn[pi]=zr)}}}),Ae.responseHeaders=mn,hm("response",c.recordBodyUrls,Se.url)&&(Ae.responseBody=Jv(Ee.response)),Ng(s,"xmlhttprequest",Se.url,ft,it).then(function(Zn){if(Zn){var Er={url:Zn.name,method:Se.method,initiatorType:Zn.initiatorType,status:Ee.status,startTime:Math.round(Zn.startTime),endTime:Math.round(Zn.responseEnd),timeOrigin:kg(s),requestHeaders:Ae.requestHeaders,requestBody:Ae.requestBody,responseHeaders:Ae.responseHeaders,responseBody:Ae.responseBody};r({requests:[Er]})}else Xu.error("Failed to get performance entry for XHR request to "+Se.url)}).catch(function(Zn){Xu.error("Error recording XHR request to "+Se.url+": "+String(Zn))})}}),o.call(Ee,u,_,L,$,me)}});return function(){n()}}(_,s,u),me=function ty(r,s,c){if(!c.initiatorTypes.includes("fetch"))return function(){};var n=Qv(s,"fetch",function(o){return function(){var _,$,me,Ee,u=new Request(arguments[0],arguments[1]),L={},Se=Promise.resolve(void 0),Ae=Promise.resolve(void 0);try{var ft={};u.headers.forEach(function(it,Zt){Fg("request",c.recordHeaders,Zt)&&(ft[Zt]=it)}),L.requestHeaders=ft,hm("request",c.recordBodyUrls,u.url)&&(Se=qv(u).then(function(it){L.requestBody=it})),$=s.performance.now(),Ee=o.apply(s,arguments).then(function(it){_=it,me=s.performance.now();var Zt={};return _.headers.forEach(function(nt,qt){Fg("response",c.recordHeaders,qt)&&(Zt[qt]=nt)}),L.responseHeaders=Zt,hm("response",c.recordBodyUrls,u.url)&&(Ae=qv(_).then(function(nt){L.responseBody=nt})),_})}catch(it){Ee=Promise.reject(it)}return Promise.all([Se,Ae,Ee]).then(function(){return Ng(s,"fetch",u.url,$,me)}).then(function(it){if(it){var Zt={url:it.name,method:u.method,initiatorType:it.initiatorType,status:_?_.status:void 0,startTime:Math.round(it.startTime),endTime:Math.round(it.responseEnd),timeOrigin:kg(s),requestHeaders:L.requestHeaders,requestBody:L.requestBody,responseHeaders:L.responseHeaders,responseBody:L.responseBody};r({requests:[Zt]})}else Xu.error("Failed to get performance entry for fetch request to "+u.url)}).catch(function(it){Xu.error("Error recording fetch request to "+u.url+": "+String(it))}),Ee}});return function(){n()}}(_,s,u);return function(){L(),$(),me()}}var Kh=Eu("recorder"),ry=S.CompressionStream,iy={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},zb=new Set([Ji.MouseMove,Ji.MouseInteraction,Ji.Scroll,Ji.ViewportResize,Ji.Input,Ji.TouchMove,Ji.MediaInteraction,Ji.Drag,Ji.Selection]),ya=function(r){this._mixpanel=r.mixpanelInstance,this._onIdleTimeout=r.onIdleTimeout||zu,this._onMaxLengthReached=r.onMaxLengthReached||zu,this._onBatchSent=r.onBatchSent||zu,this._rrwebRecord=r.rrwebRecord||null,this._stopRecording=null,this.replayId=r.replayId,this.batchStartUrl=r.batchStartUrl||null,this.replayStartUrl=r.replayStartUrl||null,this.idleExpires=r.idleExpires||null,this.maxExpires=r.maxExpires||null,this.replayStartTime=r.replayStartTime||null,this.lastEventTimestamp=r.lastEventTimestamp||null,this.seqNo=r.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Of,this.recordMinMs=0;var s=Tf(r.sharedLockStorage||am(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Dl(Nh,Rv,Wu),this.batcher=new Mc(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:iy,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:r.sharedLockStorage,usePersistence:s,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};ya.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var r={distinct_id:String(this._mixpanel.get_distinct_id())},s=this._mixpanel.get_property("$device_id");s&&(r.$device_id=s);var c=this._mixpanel.get_property("$user_id");return c&&(r.$user_id=c),r},ya.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
1).catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},ya.prototype.getConfig=function(r){return this._mixpanel.get_config(r)},ya.prototype.get_config=function(r){return this.getConfig(r)},ya.prototype.startRecording=function(r){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Of&&(this.recordMaxMs=Of,Kh.critical("record_max_ms cannot be greater than "+Of+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=Be.info.currentUrl(),this.replayStartUrl=Be.info.currentUrl()),r||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var s=function(){clearTimeout(this.idleTimeoutId);var me=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,me),this.idleExpires=(new Date).getTime()+me}.bind(this);s();var c=this.getConfig("record_block_selector");(""===c||null===c)&&(c=void 0);var n=function Bb(r){var s={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},c=r.get_config("record_mask_input_selector"),n=r.get_config("record_unmask_input_selector"),o=r.get_config("record_mask_all_inputs");s.input.maskingSelector=Rg(c).join(","),s.input.unmaskingSelector=Rg(n).join(","),void 0!==o&&(s.input.maskAll=o);var u=r.get_config("record_mask_text_selector"),_=r.get_config("record_unmask_text_selector"),L=r.get_config("record_mask_all_text"),$=r.get_config("record_mask_text_class"),me=Rg(u);if($)if($ instanceof RegExp)s.text._legacyClassRegex=$;else{var Ee="."+$;-1===me.indexOf(Ee)&&me.push(Ee)}return s.text.maskingSelector=me.join(","),s.text.unmaskingSelector=Rg(_).join(","),void 0===L&&void 0!==u?s.text.maskAll=!1:void 0!==L&&(s.text.maskAll=L),s}(this._mixpanel),o=[];if(this.getConfig("record_network")){var u=this.getConfig("record_network_options")||{},_=(u.ignoreRequestUrls||[]).slice();_.push(this._getApiRoute()),u.ignoreRequestUrls=_,o.push(function(r){return{name:"rrweb/[email protected]",observer:ny,options:r}}(u))}this.getConfig("record_console")&&o.push({name:"rrweb/console@1",observer:cC,options:{stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}});var L=Nv(this.getConfig("record_allowed_iframe_origins"),Kh);try{this._stopRecording=this._rrwebRecord({emit:function(me){this.idleExpires&&this.idleExpires<me.timestamp?this._onIdleTimeout():(function $b(r){return r.type===Ro.IncrementalSnapshot&&zb.has(r.data.source)}(me)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),s()),this.__enqueuePromise=this.batcher.enqueue(me),(null===this.lastEventTimestamp||me.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=me.timestamp))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:c,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(Ub,n),maskTextFn:this._getMaskFn(Zv,n),recordCrossOriginIframes:L.length>0,allowedIframeOrigins:L,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:o})}catch(me){this.reportError("Unexpected error when starting rrweb recording.",me)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var $=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),$)}else Kh.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},ya.prototype.stopRecording=function(r){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(c){this.reportError("Error with rrweb stopRecording",c)}this._stopRecording=null}var s;return this.batcher.stopped?s=this.batcher.clear():r||(s=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),s},ya.prototype.isRrwebStopped=function(){return null===this._stopRecording},ya.prototype.flushEventsWithOptOut=function(r,s,c){var n=function(o){0===o&&(this.stopRecording(),c({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(r,s,c,n)},ya.prototype.serialize=function(){var r;try{r=this._mixpanel.get_tab_id()}catch(s){this.reportError("Error getting tab ID for serialization ",s),r=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:r}},ya.deserialize=function(r,s){return new ya(Be.extend({},s,{replayId:r.replayId,batchStartUrl:r.batchStartUrl,replayStartUrl:r.replayStartUrl,idleExpires:r.idleExpires,maxExpires:r.maxExpires,replayStartTime:r.replayStartTime,lastEventTimestamp:r.lastEventTimestamp,seqNo:r.seqNo,sharedLockStorage:s.sharedLockStorage}))},ya.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},ya.prototype._sendRequest=function(r,s,c,n){var o=function(_,L){200===_.status&&this.replayId===r&&(this.seqNo++,this.batchStartUrl=Be.info.currentUrl()),this._onBatchSent(),n({status:0,httpStatusCode:_.status,responseBody:L,retryAfter:_.headers.get("Retry-After")})}.bind(this),u=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");S.fetch(u+"/"+this._getApiRoute()+"?"+new URLSearchParams(s),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:c}).then(function(_){_.json().then(function(L){o(_,L)}).catch(function(L){n({error:L})})}).catch(function(_){n({error:_,httpStatusCode:0})})},ya.prototype._flushEvents=jc(function(r,s,c){var n=r.length;if(n>0){for(var o=this.replayId,u=1/0,_=-1/0,L=!1,$=0;$<n;$++)u=Math.min(u,r[$].timestamp),_=Math.max(_,r[$].timestamp),r[$].type===Ro.FullSnapshot&&(L=!0);if(0===this.seqNo){if(!L)return c({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=u}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=u);var Ee={$current_url:this.batchStartUrl,$lib_version:M.LIB_VERSION,batch_start_time:u/1e3,mp_lib:"web",replay_id:o,replay_length_ms:_-this.replayStartTime,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},Se=JSON.stringify(r);if(Object.assign(Ee,this.getUserIdInfo()),function(r,s,c){if(!S.CompressionStream)return!1;var n=Be.info.browser(r,s,c),o=Be.info.browserVersion(r,s,c);return!(("Safari"===n||"Mobile Safari"===n)&&o>=16.4&&o<16.6)}(Cu,bu.vendor,Sd)){var ft=new Blob([Se],{type:"application/json"}).stream().pipeThrough(new ry("gzip"));new Response(ft).blob().then(function(it){Ee.format="gzip",this._sendRequest(o,Ee,it,c)}.bind(this))}else Ee.format="body",this._sendRequest(o,Ee,Se,c)}}),ya.prototype.reportError=function(r,s){Kh.error.apply(Kh.error,arguments);try{!s&&!(r instanceof Error)&&(r=new Error(r)),this.getConfig("error_reporter")(r,s)}catch(c){Kh.error(c)}},ya.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},ya.prototype._getRecordMinMs=function(){var r=this.getConfig("record_min_ms");return r>8e3?(Kh.critical("record_min_ms cannot be greater than 8000ms. Capping value."),8e3):r}
1,ya.prototype._getMaskFn=function(r,s){return function(c,n){if(!c.trim().length)return"";var o=!0;try{o=r(n,s)}catch(_){this.reportError("Error checking if text should be masked, defaulting to masked",_)}if(o){var u=Math.min(c.length,1e4);return"*".repeat(u)}return c}.bind(this)};var Yu=function(r){this.idb=new Dl(Nh,x0,Wu),this.errorReporter=r.errorReporter,this.mixpanelInstance=r.mixpanelInstance,this.sharedLockStorage=r.sharedLockStorage};Yu.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},Yu.prototype.handleError=function(r){this.errorReporter("IndexedDB error: ",r)},Yu.prototype.setActiveRecording=function(r){if(!this.isPersistenceEnabled())return qi.resolve();var s=r.tabId;return s?this.idb.init().then(function(){return this.idb.setItem(s,r)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),qi.resolve())},Yu.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(r){return Dd(r)?null:r}.bind(this)).catch(this.handleError.bind(this)):qi.resolve(null)},Yu.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},Yu.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(r){if(r)return r.maxExpires=0,this.setActiveRecording(r)}.bind(this)).catch(this.handleError.bind(this))},Yu.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):qi.resolve()},Yu.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(r){var s=r.filter(function(c){return Dd(c)}).map(function(c){return ya.deserialize(c,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(c.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return qi.all(s)}.bind(this)).catch(this.handleError.bind(this)):qi.resolve([])};var Gh=Eu("recorder"),Zu=function(r,s,c){this.mixpanelInstance=r,this.rrwebRecord=s||pu,this.sharedLockStorage=c,this.recordingRegistry=new Yu({mixpanelInstance:this.mixpanelInstance,errorReporter:Gh.error,sharedLockStorage:c}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};function Wb(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}Zu.prototype.startRecording=function(r){if(r=r||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var s=function(){Gh.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),c=function(){Gh.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),o={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:s,onMaxLengthReached:c,replayId:Be.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return this.activeRecording=r.activeSerializedRecording?ya.deserialize(r.activeSerializedRecording,o):new ya(o),this.activeRecording.startRecording(r.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}Gh.log("Recording already in progress, skipping startRecording.")},Zu.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},Zu.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},Zu.prototype._stopCurrentRecording=function(r,s){if(this.activeRecording){var c=this.activeRecording.stopRecording(r);return s&&(this.activeRecording=null),c}return qi.resolve()},Zu.prototype.resumeRecording=function(r){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),qi.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(s){return s&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:s}):r?this.startRecording({shouldStopBatcher:!1}):(Gh.log("No resumable recording found."),null)}.bind(this))},Zu.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},Zu.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},Zu.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(Zu.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),S[b]=Zu;var j0,V0={exports:{}}
1,Kb=function sy(){return j0||(j0=1,function(r){r.exports=function(){Array.isArray||(Array.isArray=function(u){return"[object Array]"===Object.prototype.toString.call(u)});var n={},o={"==":function(u,_){return u==_},"===":function(u,_){return u===_},"!=":function(u,_){return u!=_},"!==":function(u,_){return u!==_},">":function(u,_){return u>_},">=":function(u,_){return u>=_},"<":function(u,_,L){return void 0===L?u<_:u<_&&_<L},"<=":function(u,_,L){return void 0===L?u<=_:u<=_&&_<=L},"!!":function(u){return n.truthy(u)},"!":function(u){return!n.truthy(u)},"%":function(u,_){return u%_},log:function(u){return console.log(u),u},in:function(u,_){return!(!_||typeof _.indexOf>"u")&&-1!==_.indexOf(u)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(u,_,L){if(L<0){var $=String(u).substr(_);return $.substr(0,$.length+L)}return String(u).substr(_,L)},"+":function(){return Array.prototype.reduce.call(arguments,function(u,_){return parseFloat(u,10)+parseFloat(_,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(u,_){return parseFloat(u,10)*parseFloat(_,10)})},"-":function(u,_){return void 0===_?-u:u-_},"/":function(u,_){return u/_},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(u,_){return u.concat(_)},[])},var:function(u,_){var L=void 0===_?null:_,$=this;if(typeof u>"u"||""===u||null===u)return $;for(var me=String(u).split("."),Ee=0;Ee<me.length;Ee++)if(null==$||void 0===($=$[me[Ee]]))return L;return $},missing:function(){for(var u=[],_=Array.isArray(arguments[0])?arguments[0]:arguments,L=0;L<_.length;L++){var $=_[L],me=n.apply({var:$},this);(null===me||""===me)&&u.push($)}return u},missing_some:function(u,_){var L=n.apply({missing:_},this);return _.length-L.length>=u?[]:L}};return n.is_logic=function(u){return"object"==typeof u&&null!==u&&!Array.isArray(u)&&1===Object.keys(u).length},n.truthy=function(u){return!(Array.isArray(u)&&0===u.length||!u)},n.get_operator=function(u){return Object.keys(u)[0]},n.get_values=function(u){return u[n.get_operator(u)]},n.apply=function(u,_){if(Array.isArray(u))return u.map(function(nt){return n.apply(nt,_)});if(!n.is_logic(u))return u;var me,Ee,Se,Ae,ft,L=n.get_operator(u),$=u[L];if(Array.isArray($)||($=[$]),"if"===L||"?:"==L){for(me=0;me<$.length-1;me+=2)if(n.truthy(n.apply($[me],_)))return n.apply($[me+1],_);return $.length===me+1?n.apply($[me],_):null}if("and"===L){for(me=0;me<$.length;me+=1)if(Ee=n.apply($[me],_),!n.truthy(Ee))return Ee;return Ee}if("or"===L){for(me=0;me<$.length;me+=1)if(Ee=n.apply($[me],_),n.truthy(Ee))return Ee;return Ee}if("filter"===L)return Ae=n.apply($[0],_),Se=$[1],Array.isArray(Ae)?Ae.filter(function(nt){return n.truthy(n.apply(Se,nt))}):[];if("map"===L)return Ae=n.apply($[0],_),Se=$[1],Array.isArray(Ae)?Ae.map(function(nt){return n.apply(Se,nt)}):[];if("reduce"===L)return Ae=n.apply($[0],_),Se=$[1],ft=typeof $[2]<"u"?n.apply($[2],_):null,Array.isArray(Ae)?Ae.reduce(function(nt,qt){return n.apply(Se,{current:qt,accumulator:nt})},ft):ft;if("all"===L){if(Ae=n.apply($[0],_),Se=$[1],!Array.isArray(Ae)||!Ae.length)return!1;for(me=0;me<Ae.length;me+=1)if(!n.truthy(n.apply(Se,Ae[me])))return!1;return!0}if("none"===L){if(Ae=n.apply($[0],_),Se=$[1],!Array.isArray(Ae)||!Ae.length)return!0;for(me=0;me<Ae.length;me+=1)if(n.truthy(n.apply(Se,Ae[me])))return!1;return!0}if("some"===L){if(Ae=n.apply($[0],_),Se=$[1],!Array.isArray(Ae)||!Ae.length)return!1;for(me=0;me<Ae.length;me+=1)if(n.truthy(n.apply(Se,Ae[me])))return!0;return!1}if($=$.map(function(nt){return n.apply(nt,_)}),o.hasOwnProperty(L)&&"function"==typeof o[L])return o[L].apply(_,$);if(L.indexOf(".")>0){var it=String(L).split("."),Zt=o;for(me=0;me<it.length;me++){if(!Zt.hasOwnProperty(it[me]))throw new Error("Unrecognized operation "+L+" (failed at "+it.slice(0,me+1).join(".")+")");Zt=Zt[it[me]]}return Zt.apply(_,$)}throw new Error("Unrecognized operation "+L)},n.uses_data=function(u){var _=[];if(n.is_logic(u)){var L=n.get_operator(u),$=u[L];Array.isArray($)||($=[$]),"var"===L?_.push($[0]):$.forEach(function(me){_.push.apply(_,n.uses_data(me))})}return function c(u){for(var _=[],L=0,$=u.length;L<$;L++)-1===_.indexOf(u[L])&&_.push(u[L]);return _}(_)},n.add_operation=function(u,_){o[u]=_},n.rm_operation=function(u){delete o[u]},n.rule_like=function(u,_){if(_===u||"@"===_)return!0;
1if("number"===_)return"number"==typeof u;if("string"===_)return"string"==typeof u;if("array"===_)return Array.isArray(u)&&!n.is_logic(u);if(n.is_logic(_)){if(n.is_logic(u)){var L=n.get_operator(_),$=n.get_operator(u);if("@"===L||L===$)return n.rule_like(n.get_values(u,!1),n.get_values(_,!1))}return!1}if(Array.isArray(_)){if(Array.isArray(u)){if(_.length!==u.length)return!1;for(var me=0;me<_.length;me+=1)if(!n.rule_like(u[me],_[me]))return!1;return!0}return!1}return!1},n}()}(V0)),V0.exports}(),ay=Wb(Kb),Bg={eventMatchesCriteria:function(r,s,c){if(r!==c.event_name)return{matches:!1};var n=c.property_filters,o=!0;if(n&&!Be.isEmptyObject(n))try{o=ay.apply(n,s||{})}catch(u){return{matches:!1,error:u.toString()}}return{matches:o}}};function H0(){this.clicks=[]}function Lf(r,s){this.changeCallback=r||function(){},this.observerConfig=s,this.observedShadowRoots=null,this.shadowObservers=[]}S[f]=Promise.resolve(Bg),H0.prototype.isRageClick=function(r,s){var c=(s=s||{}).threshold_px||30,n=s.timeout_ms||1e3,o=s.click_count||4;if(s.interactive_elements_only){var _=Xv(r);if(!_||Kv(_))return!1}var L=Date.now(),$=r.pageX,me=r.pageY,Ee=this.clicks[this.clicks.length-1];if(Ee&&L-Ee.timestamp<n&&Math.sqrt(Math.pow($-Ee.x,2)+Math.pow(me-Ee.y,2))<c){if(this.clicks.push({x:$,y:me,timestamp:L}),this.clicks.length>=o)return this.clicks=[],!0}else this.clicks=[{x:$,y:me,timestamp:L}];return!1},Lf.prototype.getEventTarget=function(r){if(this.observedShadowRoots)return Xv(r)},Lf.prototype.observeFromEvent=function(r){if(this.observedShadowRoots)for(var s=Gv(r),c=0;c<s.length;c++){var n=s[c];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},Lf.prototype.observeShadowRoot=function(r){if(this.observedShadowRoots&&!this.observedShadowRoots.has(r)){var s=this;try{this.observedShadowRoots.add(r);var c=new window.MutationObserver(function(){s.changeCallback()});c.observe(r,this.observerConfig),this.shadowObservers.push(c)}catch(n){ks.critical("Error while observing shadow root",n)}}},Lf.prototype.start=function(){if(!this.observedShadowRoots){if(!function Ab(){return typeof WeakSet<"u"}())return void ks.critical("Shadow DOM observation unavailable: WeakSet not supported");this.observedShadowRoots=new WeakSet}},Lf.prototype.stop=function(){if(this.observedShadowRoots){for(var r=0;r<this.shadowObservers.length;r++)try{this.shadowObservers[r].disconnect()}catch(s){ks.critical("Error while disconnecting shadow DOM observer",s)}this.shadowObservers=[],this.observedShadowRoots=null}};var Zb=[dm,"input",zc,"select","toggle"],Qb=[Og],pC=[jh],dy={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function $c(r){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=r,this.processingActive=!1,this.processingTimeout=null}$c.prototype.addClick=function(r){var s=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(r);return s||(s=r.target||r.srcElement),!(!s||Kv(s)||(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(r),this.pendingClicks.push({element:s,event:r,timestamp:Date.now()}),0))},$c.prototype.trackClick=function(r,s){if(!this.isTracking)return!1;var c=this.addClick(r);return c&&this.triggerProcessing(s),c},$c.prototype.getDeadClicks=function(r){if(0===this.pendingClicks.length)return[];var s=r.timeout_ms,c=Date.now(),n=this.pendingClicks.slice();this.pendingClicks=[];for(var o=[],u=0;u<n.length;u++){var _=n[u];c-_.timestamp>=s?this.hasChangesAfter(_.timestamp)||o.push(_):this.pendingClicks.push(_)}return o},$c.prototype.hasChangesAfter=function(r){return this.lastChangeEventTimestamp>=r-100},$c.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},$c.prototype.triggerProcessing=function(r){this.processingActive||(this.processingActive=!0,this.processRecursively(r))},$c.prototype.processRecursively=function(r){if(this.isTracking&&this.onDeadClickCallback){var c=this;this.processingTimeout=setTimeout(function(){if(c.processingActive){for(var n=c.getDeadClicks(r),o=0;o<n.length;o++)c.onDeadClickCallback(n[o].event);c.pendingClicks.length>0?c.processRecursively(r):c.processingActive=!1}},r.timeout_ms)}else this.processingActive=!1},$c.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var r=this;Zb.forEach(function(c){var n=function(){r.recordChangeEvent()};document.addEventListener(c,n,{capture:!0,passive:!0}),r.eventListeners.push({target:document,event:c,handler:n,options:{capture:!0,passive:!0}})}),pC.forEach(function(c){var n=function(){r.recordChangeEvent()};window.addEventListener(c,n),r.eventListeners.push({target:window,event:c,handler:n})}),Qb.forEach(function(c){var n=function(){r.recordChangeEvent()};window.addEventListener(c,n,{passive:!0}),r.eventListeners.push({target:window,event:c,handler:n,options:{passive:!0}})});var s=function(){r.recordChangeEvent()};if(document.addEventListener("selectionchange",s),r.eventListeners.push({target:document,event:"selectionchange",handler:s}
1),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){r.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,dy)}catch(c){ks.critical("Error while setting up mutation observer",c)}if(window.customElements)try{this.shadowDOMObserver=new Lf(function(){r.recordChangeEvent()},dy),this.shadowDOMObserver.start()}catch(c){ks.critical("Error while setting up shadow DOM observer",c),this.shadowDOMObserver=null}}},$c.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var r=0;r<this.eventListeners.length;r++){var s=this.eventListeners[r];try{s.target.removeEventListener(s.event,s.handler,s.options)}catch(c){ks.critical("Error while removing event listener",c)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(c){ks.critical("Error while disconnecting mutation observer",c)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(c){ks.critical("Error while stopping shadow DOM observer",c)}this.shadowDOMObserver=null}}};var pm="autocapture",Xh="full-url",$0="allow_selectors",Yh="allow_url_regexes",Ug="block_attrs",W0="block_element_callback",Id="block_selectors",Td="block_url_regexes",Vg="capture_extra_attrs",K0="capture_text_content",jg="scroll_capture_all",py="scroll_depth_percent_checkpoints",Hg="click",mm="dead_click",G0="input",my="pageview",zg="rage_click",gm="scroll",$g="page_leave",Qs="submit",Fa={};Fa[$0]=[],Fa[Yh]=[],Fa[Ug]=[],Fa[W0]=null,Fa[Id]=[],Fa[Td]=[],Fa[Vg]=[],Fa[K0]=!1,Fa[jg]=!1,Fa[py]=[25,50,75,100],Fa[Hg]=!0,Fa[mm]=!0,Fa[G0]=!0,Fa[my]=Xh,Fa[zg]=!0,Fa[gm]=!0,Fa[$g]=!1,Fa[Qs]=!0;var Zh={$mp_autocapture:!0},Qu="$mp_click",Jb="$mp_dead_click",gy="$mp_rage_click",Na=function(r){this.mp=r,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};Na.prototype.init=function(){!function k0(){try{return!!Ki.createElement("div").matches}catch{return!1}}()?ks.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking())},Na.prototype.getFullConfig=function(){var r=this.mp.get_config(pm);return r?Be.isObject(r)?Be.extend({},Fa,r):Fa:{}},Na.prototype.getConfig=function(r){return this.getFullConfig()[r]},Na.prototype.currentUrlBlocked=function(){var r=Be.info.currentUrl(),s=this.getConfig(Yh)||[];if(s.length)try{return!Jo(r,s)}catch(n){return ks.critical("Error while checking block URL regexes: ",n),!0}var c=this.getConfig(Td)||[];if(!c||!c.length)return!1;try{return Jo(r,c)}catch(n){return ks.critical("Error while checking block URL regexes: ",n),!0}},Na.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(pm)?this.getConfig(my):this.mp.get_config("track_pageview")},Na.prototype.trackDomEvent=function(r,s){if(!this.currentUrlBlocked()){var c=this.mp.is_recording_heatmap_data()&&(s===Qu&&!this.getConfig(Hg)||s===gy&&!this._getClickTrackingConfig(zg)||s===Jb&&!this._getClickTrackingConfig(mm)),n=function Tb(r,s){var c=s.allowElementCallback,n=s.allowSelectors||[],u=s.blockElementCallback,_=s.blockSelectors||[],L=s.captureTextContent||!1,$=s.captureExtraAttrs||[],me=s.capturedForHeatMap||!1,Ee={};Be.each(s.blockAttrs||[],function(Zn){Ee[Zn]=!0});var Se=null,Ae=typeof r.target>"u"?r.srcElement:r.target;if($v(Ae)&&(Ae=Ae.parentNode),function Rb(r,s){if(!r||wu(r,"html")||!zv(r))return!1;switch(r.tagName.toLowerCase()){case"form":return s.type===zc;case"input":return-1===["button","submit"].indexOf(r.getAttribute("type"))?s.type===dm:s.type===Gu;case"select":case"textarea":return s.type===dm;default:return s.type===Gu}}(Ae,r)&&A0(Ae,r,c,n)&&!R0(Ae,r,u,_)){for(var ft=[Ae],it=Ae;it.parentNode&&!wu(it,"body");)ft.push(it.parentNode),it=it.parentNode;var nt,Zt=[],qt=!1;if(Be.each(ft,function(Zn){var Er=$h(Zn,r,c,n);!Ee.href&&"a"===Zn.tagName.toLowerCase()&&(nt=Zn.getAttribute("href"),nt=Er&&Ag(nt)&&nt),R0(Zn,r,u,_)&&(qt=!0),Zt.push(zh(Zn,r,Ee,$,c,n))},this),!qt){var mn=Ki.documentElement;if(Se={$event_type:r.type,$host:S.location.host,$pathname:S.location.pathname,$elements:Zt,$el_attr__href:nt,$viewportHe
1ight:Math.max(mn.clientHeight,S.innerHeight||0),$viewportWidth:Math.max(mn.clientWidth,S.innerWidth||0),$pageHeight:Ki.body.offsetHeight||0,$pageWidth:Ki.body.offsetWidth||0},Be.each($,function(Zn){if(!Ee[Zn]&&Ae.hasAttribute(Zn)){var Er=Ae.getAttribute(Zn);Ag(Er)&&(Se["$el_attr__"+Zn]=Er)}}),L&&(Ln=Hv(Ae,r,c,n))&&Ln.length&&(Se.$el_text=Ln),r.type===Gu&&(Be.each(Db,function(Zn){Zn in r&&(Se["$"+Zn]=r[Zn])}),me&&(Se.$captured_for_heatmap=!0),Ae=function Pb(r){for(var s=r.target,c=r.composedPath(),n=0;n<c.length;n++){var o=c[n];if(wu(o,"a")||wu(o,"button")||wu(o,"input")||wu(o,"select")||o.getAttribute&&"button"===o.getAttribute("role")){s=o;break}if(o===s)break}return s}(r)),L){var Ln=Hv(Ae,r,c,n);Ln&&Ln.length&&(Se.$el_text=Ln)}if(Ae){if(!A0(Ae,r,c,n)||R0(Ae,r,u,_))return null;var nr=zh(Ae,r,Ee,$,c,n);Se.$target=nr,Se.$el_classes=nr.$classes,Be.extend(Se,Be.strip_empty_properties({$el_id:nr.$id,$el_tag_name:nr.$tag_name}))}}}return Se}(r,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig($0),blockAttrs:this.getConfig(Ug),blockElementCallback:this.getConfig(W0),blockSelectors:this.getConfig(Id),captureExtraAttrs:this.getConfig(Vg),captureTextContent:this.getConfig(K0),capturedForHeatMap:c});n&&(Be.extend(n,Zh),this.mp.track(s,n))}},Na.prototype.initPageListeners=function(){if(S.removeEventListener(Mb,this.listenerPopstate),S.removeEventListener(jh,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig($g)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){S.dispatchEvent(new Event(Od))},this.listenerHashchange=function(){S.dispatchEvent(new Event(Od))},S.addEventListener(Mb,this.listenerPopstate),S.addEventListener(jh,this.listenerHashchange);var r=S.history.pushState;"function"==typeof r&&(S.history.pushState=function(c,n,o){r.call(S.history,c,n,o),S.dispatchEvent(new Event(Od))});var s=S.history.replaceState;"function"==typeof s&&(S.history.replaceState=function(c,n,o){s.call(S.history,c,n,o),S.dispatchEvent(new Event(Od))})}},Na.prototype._getClickTrackingConfig=function(r){var s=this.getConfig(r);return s?!0===s?{}:"object"==typeof s?s:{}:null},Na.prototype._trackPageLeave=function(r,s,c){if(!this.hasTrackedScrollSession&&(this.getConfig($g)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var n=Math.max(Ki.documentElement.clientHeight,S.innerHeight||0),o=Math.round(Math.max(this.maxScrollViewDepth-n,0)/(c-n)*100),u=Math.round(n/c*100);c<=n&&(o=100,u=100);var _=Be.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:o,$fold_line_percentage:u,$scroll_height:c,$event_type:r.type,$current_url:s||Be.info.currentUrl(),$viewportHeight:n,$viewportWidth:Math.max(Ki.documentElement.clientWidth,S.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},Zh);this.mp.track("$mp_page_leave",_,{transport:"sendBeacon"})}},Na.prototype._initScrollDepthTracking=function(){if(S.removeEventListener(fm,this.listenerScrollDepth),S.removeEventListener(Og,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){ks.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(Ki.documentElement.clientHeight,S.innerHeight||0);var s=L0(function(){if(!this.currentUrlBlocked()){var c=Math.max(Ki.documentElement.clientHeight,S.innerHeight||0)+S.scrollY;c>this.maxScrollViewDepth&&(this.maxScrollViewDepth=c),this.previousScrollHeight=Ki.body.scrollHeight}}.bind(this));this.listenerScrollDepth=s.listener,S.addEventListener(s.eventType,this.listenerScrollDepth)}},Na.prototype.initClickTracking=function(){S.removeEventListener(Gu,this.listenerClick),(this.getConfig(Hg)||this.mp.get_config("record_heatmap_data"))&&(ks.log("Initializing click tracking"),this.listenerClick=function(r){!this.getConfig(Hg)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(r,Qu)}.bind(this),S.addEventListener(Gu,this.listenerClick))},Na.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(mm)||this.mp.get_config("record_heatmap_data")?(ks.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new $c(function(s){this.trackDomEvent(s,Jb)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(s){var c=this._getClickTrackingConfig(mm);if((c||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var n=c||{};n.timeout_ms||(n.timeout_ms=500),this._deadClickTracker.trackClick(s,n)}}.bind(this),S.addEventListener(Gu,this.listenerDeadClick))):this.stopDeadClickTracking()},Na.prototype.initInputTracking=function(){S.removeEventListener(dm,this.listenerChange),this.getConfig(G0)&&(ks.log("Initializing input tracking"),this.listenerChange=function(r){this.getConfig(G0)&&this.trackDomEvent(r,"$mp_input_change")}.bind(this),S.addEventListener(dm,this.listenerChange))},Na.prototype.initPageviewTracking=function(){if(S.removeEventListener(Od,this.listenerLocationchange),this.pageviewTrackingConfig()||this.mp.get_config("record_heatmap_data")){ks.log("Initializing pageview tracking");var r="",s=!1;(this.pageviewTrackingConfig()||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()&&(s=this.mp.track_pageview(Zh)),s&&(r=Be.info.currentUrl()),this.listenerLocationchange=If(function(){if(!this.currentUrlBlocked()){var c=Be.info.currentUrl(),n=!1,o=c.split("#")[0].split("?")[0]!==r.split("#")[0].split("?")[0],u=this.pageviewTrackingConfig();!u&&this.mp.is_recording_heatmap_data()&&(u=Xh),u===Xh?n=c!==r:"url-with-path-and-query-string"===u?n=c.split("#")[0]!==r.split("#")[0]:"url-with-path"===u&&(n=o),n&&(this.mp.track_pageview(Zh)&&(r=c),o&&(this.lastScrollCheckpoint=0,ks.log("Path change: re-initializing scroll depth checkpoints")))}}.bind(this)),S.addEventListener(Od,this.listenerLocationchange)}},Na.prototype.initRageClickTracking=function(){S.removeEventListener(Gu,this.listenerRageClick),!this._getClickTrackingConfig(zg)&&!this.mp.get_config("record_heatmap_data")||(ks.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new H0),this.listenerRageClick=function(s){var c=this._getClickTrackingConfig(zg);!c&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(s,c)&&this.trackDomEvent(s,gy)}.bind(this),S.addEventListener(Gu,this.listenerRageClick))},Na.prototype.initScrollTracking=function(){if(S.removeEventListener(Og,this.listenerScroll),S.removeEventListener(fm,this.listenerScroll),this.getConfig(gm)){ks.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var s=L0(function(){if(this.getConfig(gm)&&!this.currentUrlBlocked()){var c=this.getConfig(jg),n=(this.getConfig(py)||[]).slice().sort(function(Ee,Se){return Ee-Se}
1),o=S.scrollY,u=Be.extend({$scroll_top:o},Zh);try{var _=Ki.body.scrollHeight,L=Math.round(o/(_-S.innerHeight)*100);if(u.$scroll_height=_,u.$scroll_percentage=L,L>this.lastScrollCheckpoint)for(var $=0;$<n.length;$++){var me=n[$];L>=me&&this.lastScrollCheckpoint<me&&(u.$scroll_checkpoint=me,this.lastScrollCheckpoint=me,c=!0)}}catch(Ee){ks.critical("Error while calculating scroll percentage",Ee)}c&&this.mp.track("$mp_scroll",u)}}.bind(this));this.listenerScroll=s.listener,S.addEventListener(s.eventType,this.listenerScroll)}},Na.prototype.initSubmitTracking=function(){S.removeEventListener(zc,this.listenerSubmit),this.getConfig(Qs)&&(ks.log("Initializing submit tracking"),this.listenerSubmit=function(r){this.getConfig(Qs)&&this.trackDomEvent(r,"$mp_submit")}.bind(this),S.addEventListener(zc,this.listenerSubmit))},Na.prototype.initPageLeaveTracking=function(){if(Ki.removeEventListener(I0,this.listenerPageLeaveVisibilitychange),S.removeEventListener(Od,this.listenerPageLeaveLocationchange),S.removeEventListener("load",this.listenerPageLoad),this.getConfig($g)||this.mp.get_config("record_heatmap_data")){ks.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var r=Be.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=Ki.body.scrollHeight}.bind(this),S.addEventListener("load",this.listenerPageLoad),this.listenerPageLeaveLocationchange=If(function(s){if(!this.currentUrlBlocked()){var c=Be.info.currentUrl();c!==r&&(this._trackPageLeave(s,r,this.previousScrollHeight),r=c,this.maxScrollViewDepth=Math.max(Ki.documentElement.clientHeight,S.innerHeight||0),this.previousScrollHeight=Ki.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),S.addEventListener(Od,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(s){Ki.hidden&&this._trackPageLeave(s,r,this.previousScrollHeight)}.bind(this),Ki.addEventListener(I0,this.listenerPageLeaveVisibilitychange)}},Na.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(S.removeEventListener(Gu,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},Eg(Na);var X0=function(r,s){return S[f]&&"function"==typeof S[f].then||(S[f]=new Promise(function(c){r(s,c)}).then(function(){var c=S[f];if(c&&"function"==typeof c.then)return c;throw new Error("targeting failed to load")}).catch(function(c){throw delete S[f],c})),S[f]},Wc=Eu("flags"),vy="mixpanelFlags",r2={version:1,storeNames:[vy]},Pd=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),o2=[Pd.NETWORK_ONLY,Pd.NETWORK_FIRST,Pd.PERSISTENCE_UNTIL_NETWORK_SUCCESS],Ff=function(r,s,c){this.idb=new Dl("mixpanelFlagsDb",vy,r2),this.persistenceConfig=r,this.persistedVariantsKey="persisted_variants_for_"+s,this.isGloballyDisabled=c||function(){return!1}};Ff.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?Pd.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy},Ff.prototype.getTtlMs=function(){return this._isConfigValid()?this.persistenceConfig.persistenceTtlMs??864e5:864e5},Ff.prototype._isConfigValid=function(){var r=this.persistenceConfig;return!(!r||(-1===o2.indexOf(r.variantLookupPolicy)?(Wc.error("Invalid variantLookupPolicy:",r.variantLookupPolicy),1):null!=r.persistenceTtlMs&&r.persistenceTtlMs<=0&&(Wc.error("If provided, persistenceTtlMs must be a positive number. Provided value:",r.persistenceTtlMs),1)))},Ff.prototype.loadFlagsFromStorage=function(r){var s=Be.bind(function(){return this.clear().then(function(){return null}).catch(function(){return null})},this);if(this.getPolicy()===Pd.NETWORK_ONLY)return s();var c=this.getTtlMs();return this.idb.init().then(Be.bind(function(){return this.idb.getItem(this.persistedVariantsKey)},this)).then(Be.bind(function(n){if(!n)return Wc.log("No persisted variants found in IndexedDB"),null;if(c&&Date.now()-n.persistedAt>=c)return Wc.log("Persisted variants are expiring"),null;if(!r||n.distinctId!==r.distinct_id)return Wc.log("Persisted variants found, but for a different distinct_id so clearing."),s();var o=new Map;return Be.each(n.flagVariants,function(u,_){o.set(_,{key:u.variant_key,value:u.variant_value,experiment_id:u.experiment_id,is_experiment_active:u.is_experiment_active,is_qa_tester:u.is_qa_tester,variant_source:"persistence",persisted_at_in_ms:n.persistedAt,ttl_in_ms:c})}),Wc.log("Loaded",o.size,"variants from IndexedDB for distinct_id",n.distinctId),{flags:o,pendingFirstTimeEvents:n.pendingFirstTimeEvents||{},persistedAtMs:n.persistedAt,ttlMs:c}},this)).catch(Be.bind(function(n){return Wc.error("Failed to load persisted variants from IndexedDB, so clearing",n),s()},this))},Ff.prototype.save=function(r,s,c){if(this.getPolicy()===Pd.NETWORK_ONLY)return Promise.resolve();var n={};
1s.forEach(function(u,_){n[_]={variant_key:u.key,variant_value:u.value,experiment_id:u.experiment_id,is_experiment_active:u.is_experiment_active,is_qa_tester:u.is_qa_tester}});var o={persistedAt:Date.now(),distinctId:r&&r.distinct_id,context:r,flagVariants:n,pendingFirstTimeEvents:c||{}};return this.idb.init().then(Be.bind(function(){return this.idb.setItem(this.persistedVariantsKey,o)},this)).then(function(){Wc.log("Saved",s.size,"variants to IndexedDB for distinct_id",o.distinctId)}).catch(function(u){Wc.error("Failed to persist variants to IndexedDB:",u)})},Ff.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(Be.bind(function(){return this.idb.removeItem(this.persistedVariantsKey)},this)).then(function(){Wc.log("Cleared persisted variants from IndexedDB")}).catch(function(r){Wc.error("Failed to clear persisted variants from IndexedDB:",r)})};var fs=Eu("flags"),Wg="flags",Kg="context",Y0={};Y0[Kg]={};var Nf=function(r){return Be.isObject(r)?Be.extend({},r,{variant_source:"fallback"}):{value:r,variant_source:"fallback"}},si=function(r){this.fetch=S.fetch,this.getFullApiRoute=r.getFullApiRoute,this.getMpConfig=r.getConfigFunc,this.setMpConfig=r.setConfigFunc,this.getMpProperty=r.getPropertyFunc,this.track=r.trackingFunc,this.loadExtraBundle=r.loadExtraBundle||function(){},this.targetingSrc=r.targetingSrc||""};function Ad(r){return null!=r}si.prototype.init=function(){if(this.minApisSupported())return this.flags=null,this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence=new Ff(this.getConfig("persistence"),this.getMpConfig("token"),Be.bind(function(){return this.getMpConfig("disable_persistence")},this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(Be.bind(function(r){r&&(this.flags=r.flags,this.pendingFirstTimeEvents=r.pendingFirstTimeEvents,this._loadedPersistedAtMs=r.persistedAtMs,this._loadedTtlMs=r.ttlMs)},this)),this.persistenceLoadedPromise.then(Be.bind(function(){return this.fetchFlags()},this)).catch(function(){fs.error("Error initializing feature flags")});fs.critical("Feature Flags unavailable: missing minimum required APIs")},si.prototype._buildContext=function(){return Be.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(Kg))},si.prototype.reset=function(){return this.persistence?(this.flags=null,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this.trackedFeatures=new Set,this.fetchPromise=null,this._fetchInProgressStartTime=null,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence.clear().then(Be.bind(function(){return this.fetchFlags()},this)).catch(function(){fs.error("Error during flags reset")})):Promise.resolve()},si.prototype.getFullConfig=function(){var r=this.getMpConfig(Wg);return r?Be.isObject(r)?Be.extend({},Y0,r):Y0:{}},si.prototype.getConfig=function(r){return this.getFullConfig()[r]},si.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Wg)},si.prototype.updateContext=function(r,s){if(!this.isSystemEnabled())return fs.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var c=this.getMpConfig(Wg);Be.isObject(c)||(c={});var n=s&&s.replace?{}:this.getConfig(Kg);c[Kg]=Be.extend({},n,r);var o={};return o[Wg]=c,this.setMpConfig(o),this.fetchFlags().catch(function(){fs.error("Error fetching flags during updateContext")})},si.prototype.areFlagsReady=function(){return this.isSystemEnabled()||fs.error("Feature Flags not enabled"),!!this.flags},si.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var r=this._buildContext(),s=r.distinct_id,c=M0();fs.log("Fetching flags for distinct ID: "+s);var n=new URLSearchParams;n.set("context",JSON.stringify(r)),n.set("token",this.getMpConfig("token")),n.set("mp_lib","web"),n.set("$lib_version",M.LIB_VERSION);var o=this.getFullApiRoute()+"?"+n.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(S,o,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:c}}).then(function(u){return this.markFetchComplete(),u.json()}.bind(this)).then(function(u){var _=u.flags;if(!_)throw new Error("No flags in API response");var L=new Map,$={};Be.each(_,function(Ee,Se){var Ae=!1,ft=Se+":";if(Be.each(this.activatedFirstTimeEvents,function(Zt,nt){nt.startsWith(ft)&&(Ae=!0)}),Ae){var it=this.flags&&this.flags.get(Se);it&&L.set(Se,it)}
1else L.set(Se,{key:Ee.variant_key,value:Ee.variant_value,experiment_id:Ee.experiment_id,is_experiment_active:Ee.is_experiment_active,is_qa_tester:Ee.is_qa_tester,variant_source:"network"})},this);var me=u.pending_first_time_events;me&&me.length>0&&Be.each(me,function(Ee){var Se=Ee.flag_key,Ae=function(r,s){return r+":"+s}(Se,Ee.first_time_event_hash);this.activatedFirstTimeEvents[Ae]||($[Ae]={flag_key:Se,flag_id:Ee.flag_id,project_id:Ee.project_id,first_time_event_hash:Ee.first_time_event_hash,event_name:Ee.event_name,property_filters:Ee.property_filters,pending_variant:Ee.pending_variant})},this),this.activatedFirstTimeEvents&&Be.each(this.activatedFirstTimeEvents,function(Ee,Se){var Ae=function(r){return r.split(":")[0]}(Se);Ee&&!L.has(Ae)&&this.flags&&this.flags.has(Ae)&&L.set(Ae,this.flags.get(Ae))},this),this.flags=L,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=$,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=c,this._loadTargetingIfNeeded(),this.persistence.save(r,this.flags,this.pendingFirstTimeEvents)}.bind(this)).catch(function(u){throw this._fetchInProgressStartTime&&this.markFetchComplete(),fs.error(u),u}.bind(this)),this.fetchPromise},si.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(fs.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},si.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):fs.error("Fetch in progress started time not set, cannot mark fetch complete")},si.prototype._loadTargetingIfNeeded=function(){var r=!1;Be.each(this.pendingFirstTimeEvents,function(s){s.property_filters&&!Be.isEmptyObject(s.property_filters)&&(r=!0)}),r&&this.getTargeting().then(function(){fs.log("targeting loaded for property filter evaluation")})},si.prototype.getTargeting=function(){return X0(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(r){fs.error("Failed to load targeting: "+r)}.bind(this))},si.prototype.checkFirstTimeEvents=function(r,s){!this.pendingFirstTimeEvents||Be.isEmptyObject(this.pendingFirstTimeEvents)||(S[f]&&Be.isFunction(S[f].then)?S[f].then(function(c){this._processFirstTimeEventCheck(r,s,c)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(r,s,null)}.bind(this)):this._processFirstTimeEventCheck(r,s,null))},si.prototype._processFirstTimeEventCheck=function(r,s,c){Be.each(this.pendingFirstTimeEvents,function(n,o){if(!this.activatedFirstTimeEvents[o]){var _,u=n.flag_key;if(!c&&n.property_filters&&!Be.isEmptyObject(n.property_filters))return void fs.warn('Skipping event check for "'+u+'" - property filters require targeting library');if((_=c?c.eventMatchesCriteria(r,s,{event_name:n.event_name,property_filters:n.property_filters}):{matches:r===n.event_name,error:null}).error)return void fs.error('Error checking first-time event for flag "'+u+'": '+_.error);_.matches&&(fs.log('First-time event matched for flag "'+u+'": '+r),this.flags.set(u,{key:n.pending_variant.variant_key,value:n.pending_variant.variant_value,experiment_id:n.pending_variant.experiment_id,is_experiment_active:n.pending_variant.is_experiment_active}),this.trackedFeatures.delete(u),this.activatedFirstTimeEvents[o]=!0,this.recordFirstTimeEvent(n.flag_id,n.project_id,n.first_time_event_hash))}},this)},si.prototype.getFirstTimeEventApiRoute=function(r){return this.getFullApiRoute()+"/"+r+"/first-time-events"},si.prototype.recordFirstTimeEvent=function(r,s,c){var n=this.getMpProperty("distinct_id"),o=M0(),u=new URLSearchParams;u.set("mp_lib","web"),u.set("$lib_version",M.LIB_VERSION);var _=this.getFirstTimeEventApiRoute(r)+"?"+u.toString(),L={distinct_id:n,project_id:s,first_time_event_hash:c};fs.log("Recording first-time event for flag: "+r),this.fetch.call(S,_,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:o},body:JSON.stringify(L)}).catch(function($){fs.error("Failed to record first-time event for flag "+r+": "+$)})},si.prototype.getVariant=function(r,s){if(!this.persistenceLoadedProm
1ise)return new Promise(function(n){fs.critical("Feature Flags not initialized"),n(Nf(s))});var c=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Be.bind(function(){if(c===Pd.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(r,s):this.fetchPromise?this.fetchPromise.then(Be.bind(function(){return this.getVariantSync(r,s)},this)).catch(function(o){return fs.error(o),Nf(s)}):Nf(s);var n=Be.bind(function(){return this.getVariantSync(r,s)},this);return this.fetchPromise?this.fetchPromise.then(n).catch(n):Nf(s)},this))},si.prototype._loadedPersistenceIsStale=function(){return!(!this._loadedPersistedAtMs||!this._loadedTtlMs)&&Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs},si.prototype.getVariantSync=function(r,s){if(this._loadedPersistenceIsStale())return fs.log('Loaded persisted variants are past TTL so returning fallback for "'+r+'"'),Nf(s);if(!this.areFlagsReady())return fs.log("Flags not loaded yet"),Nf(s);var c=this.flags.get(r);return c?(this.trackFeatureCheck(r,c),c):(fs.log('No flag found: "'+r+'"'),Nf(s))},si.prototype.getAllVariants=function(){if(!this.persistenceLoadedPromise)return fs.critical("Feature Flags not initialized"),Promise.resolve(new Map);var r=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Be.bind(function(){if(r===Pd.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(Be.bind(function(){return this.getAllVariantsSync()},this)).catch(function(c){return fs.error(c),new Map}):new Map;var s=Be.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(s).catch(s):new Map},this))},si.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(fs.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map},si.prototype.getVariantValue=function(r,s){return this.getVariant(r,{value:s}).then(function(c){return c.value}).catch(function(c){return fs.error(c),s})},si.prototype.getFeatureData=function(r,s){return fs.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(r,s)},si.prototype.getVariantValueSync=function(r,s){return this.getVariantSync(r,{value:s}).value},si.prototype.isEnabled=function(r,s){return this.getVariantValue(r).then(function(){return this.isEnabledSync(r,s)}.bind(this)).catch(function(c){return fs.error(c),s})},si.prototype.isEnabledSync=function(r,s){var c=this.getVariantValueSync(r,s=s||!1);return!0!==c&&!1!==c&&(fs.error('Feature flag "'+r+'" value: '+c+" is not a boolean; returning fallback value: "+s),c=s),c},si.prototype.trackFeatureCheck=function(r,s){if(!this.trackedFeatures.has(r)){this.trackedFeatures.add(r);var c={"Experiment name":r,"Variant name":s.key,$experiment_type:"feature_flag","Variant fetch start time":Ad(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":Ad(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};Ad(s.experiment_id)&&(c.$experiment_id=s.experiment_id),Ad(s.is_experiment_active)&&(c.$is_experiment_active=s.is_experiment_active),Ad(s.is_qa_tester)&&(c.$is_qa_tester=s.is_qa_tester),Ad(s.variant_source)&&(c.$variant_source=s.variant_source),Ad(s.persisted_at_in_ms)&&(c.$persisted_at_in_ms=s.persisted_at_in_ms),Ad(s.ttl_in_ms)&&(c.$ttl_in_ms=s.ttl_in_ms),this.track("$experiment_started",c)}},si.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},si.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"},Eg(si),si.prototype.are_flags_ready=si.prototype.areFlagsReady,si.prototype.get_variant=si.prototype.getVariant,si.prototype.get_variant_sync=si.prototype.getVariantSync,si.prototype.get_all_variants=si.prototype.getAllVariants,si.prototype.get_all_variants_sync=si.prototype.getAllVariantsSync,si.prototype.get_variant_value=si.prototype.getVariantValue,si.prototype.get_variant_value_sync=si.prototype.getVariantValueSync,si.prototype.is_enabled=si.prototype.isEnabled,si.prototype.is_enabled_sync=si.prototype.isEnabledSync,si.prototype.load_flags=si.prototype.loadFlags,si.prototype.update_context=si.prototype.updateContext,si.prototype.when_ready=si.prototype.whenReady,si.prototype.get_feature_data=si.prototype.getFeatureData,si.prototype.getTargeting=si.prototype.getTargeting;var by=Eu("recorder"),Cy="mp_iframe_handshake_request",Ey="mp_iframe_handshake_response",Ba=function(r){this.mixpanelInstance=r.mixpanelInstance,this.getMpConfig=r.getConfigFunc,this.getTabId=r.getTabIdFunc,this.reportError=r.reportErrorFunc,this.getDistinctId=r.getDistinctIdFunc,this.loadExtraBundle=r.loadExtraBundle,this.recorderSrc=r.re
1corderSrc,this.targetingSrc=r.targetingSrc,this.libBasePath=r.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Ba.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return Gi.log("Load recorder check skipped due to disable_persistence config"),qi.resolve(!1);var r=new Dl(Nh,x0,Wu),s=this.getTabId();return r.init().then(function(){return r.getAll()}).then(function(c){for(var n=0;n<c.length;n++)if(Dd(c[n])||c[n].tabId===s)return!0;return!1}).catch(Be.bind(function(c){return this.reportError("Error checking recording registry",c),!1},this))},Ba.prototype.checkAndStartSessionRecording=function(r,s){if(!S.MutationObserver)return Gi.critical("Browser does not support MutationObserver; skipping session recording"),qi.resolve();var c=Be.bind(function(L){return new qi(Be.bind(function($){var me=If(Be.bind(function(){this._recorder=this._recorder||new S[b](this.mixpanelInstance),this._recorder.resumeRecording(L),$()},this));Be.isUndefined(S[b])?this.loadExtraBundle(this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__",me):me()},this))},this),n=Nv(this.getMpConfig("record_allowed_iframe_origins"),by);if(n.length>0&&(this._setupParentFrameListener(n),S.parent!==S))return this._setupChildFrameListener(n,c),this._sendParentFrameRequestWithRetry(n),qi.resolve();var u=Be.isUndefined(s)?this.getMpConfig("record_sessions_percent"):s,_=u>0&&100*Math.random()<=u;return r||_?c(!0):this.shouldLoadRecorder().then(Be.bind(function(L){return L?c(!1):qi.resolve()},this))},Ba.prototype.isRecording=function(){if(!this._recorder||!Be.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(r){return this.reportError("Error checking if recording is active",r),!1}},Ba.prototype.startRecordingOnEvent=function(r,s){var c=this.isRecording(),n=this.getMpConfig("recording_event_triggers");if(!c&&n){var o=n[r];if(o&&"number"==typeof o.percentage){var u=o.percentage,_=o.property_filters;_&&!Be.isEmptyObject(_)?X0(this.loadExtraBundle,this.targetingSrc||this.libBasePath+R).then(function($){try{$.eventMatchesCriteria(r,s,{event_name:r,property_filters:_}).matches&&this.checkAndStartSessionRecording(!1,u)}catch(Ee){Gi.critical("Could not parse recording event trigger properties logic:",Ee)}}.bind(this)).catch(function($){Gi.critical("Failed to load targeting library:",$)}):this.checkAndStartSessionRecording(!1,u)}}},Ba.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():qi.resolve()},Ba.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():qi.resolve()},Ba.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():qi.resolve()},Ba.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},Ba.prototype.getSessionRecordingProperties=function(){var r={},s=this.getSessionReplayId();return s&&(r.$mp_replay_id=s),r},Ba.prototype.getSessionReplayUrl=function(){var r=null,s=this.getSessionReplayId();return s&&(r="https://mixpanel.com/projects/replay-redirect?"+Be.HTTPBuildQuery({replay_id:s,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")})),r},Ba.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var r=null;return this._recorder&&(r=this._recorder.replayId),r||null},Ba.prototype.getRecorder=function(){return this._recorder},Ba.prototype._setupChildFrameListener=function(r,s){if(!this._childFrameMessageHandler){var c=this;this._childFrameMessageHandler=function(n){if(-1!==r.indexOf(n.origin)){var o=n.data;o&&o.type===Ey&&o.token===c.getMpConfig("token")&&o.replayId&&(c._parentReplayId=o.replayId,o.distinctId&&c.mixpanelInstance.identify(o.distinctId),c._parentFrameRetryActive=!1,S.removeEventListener("message",c._childFrameMessageHandler),c._childFrameMessageHandler=null,s(!0))}},S.addEventListener("message",this._childFrameMessageHandler)}},Ba.prototype._sendParentFrameRequest=function(r){var s={};s.type=Cy,s.token=this.getMpConfig("token");for(var c=0;c<r.length;c++)try{S.parent.postMessage(s,r[c])}catch{}},Ba.prototype._sendParentFrameRequestWithRetry=function(r){var s=this,n=0,o=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(r),function u(){setTimeout(function(){!s._parentFrameRetryActive||s._parentReplayId||++n>=10||(s._sendParentFrameRequest(r),o*=2,u())},o)}()},Ba.prototype._setupParentFrameListener=function(r){if(!this._parentFrameMessageHandler){var s=this;this._parentFrameMessageHandler=function(c){if(-1!==r.indexOf(c.origin)){var n=c.data;if(n&&n.type===Cy&&n.token===s.getMpConfig("token")){var o=s.get
1SessionReplayId();if(o){var u={};u.type=Ey,u.token=s.getMpConfig("token"),u.replayId=o,u.distinctId=s.getDistinctId(),c.source.postMessage(u,c.origin)}}}},S.addEventListener("message",this._parentFrameMessageHandler)}},Eg(Ba);var Kc=function(){};Kc.prototype.create_properties=function(){},Kc.prototype.event_handler=function(){},Kc.prototype.after_track_handler=function(){},Kc.prototype.init=function(r){return this.mp=r,this},Kc.prototype.track=function(r,s,c,n){var o=this,u=Be.dom_query(r);if(0!==u.length)return Be.each(u,function(_){Be.register_event(_,this.override_event,function(L){var $={},me=o.create_properties(c,this),Ee=o.mp.get_config("track_links_timeout");o.event_handler(L,this,$),window.setTimeout(o.track_callback(n,me,$,!0),Ee),o.mp.track(s,me,o.track_callback(n,me,$))})},this),!0;Gi.error("The DOM query ("+r+") returned 0 elements")},Kc.prototype.track_callback=function(r,s,c,n){n=n||!1;var o=this;return function(){c.callback_fired||(c.callback_fired=!0,(!r||!1!==r(n,s))&&o.after_track_handler(s,c,n))}},Kc.prototype.create_properties=function(r,s){return"function"==typeof r?r(s):Be.extend({},r)};var Qh=function(){this.override_event="click"};Be.inherit(Qh,Kc),Qh.prototype.create_properties=function(r,s){var c=Qh.superclass.create_properties.apply(this,arguments);return s.href&&(c.url=s.href),c},Qh.prototype.event_handler=function(r,s,c){c.new_tab=2===r.which||r.metaKey||r.ctrlKey||"_blank"===s.target,c.href=s.href,c.new_tab||r.preventDefault()},Qh.prototype.after_track_handler=function(r,s){s.new_tab||setTimeout(function(){window.location=s.href},0)};var Gg=function(){this.override_event="submit"};Be.inherit(Gg,Kc),Gg.prototype.event_handler=function(r,s,c){c.element=s,r.preventDefault()},Gg.prototype.after_track_handler=function(r,s){setTimeout(function(){s.element.submit()},0)};var Rd="$set",Jh="$set_once",ml="$unset",Mu="$add",Ju="$append",qh="$union",qu="$remove",wy={set_action:function(r,s){var c={},n={};return Be.isObject(r)?Be.each(r,function(o,u){this._is_reserved_property(u)||(n[u]=o)},this):n[r]=s,c[Rd]=n,c},unset_action:function(r){var s={},c=[];return Be.isArray(r)||(r=[r]),Be.each(r,function(n){this._is_reserved_property(n)||c.push(n)},this),s[ml]=c,s},set_once_action:function(r,s){var c={},n={};return Be.isObject(r)?Be.each(r,function(o,u){this._is_reserved_property(u)||(n[u]=o)},this):n[r]=s,c[Jh]=n,c},union_action:function(r,s){var c={},n={};return Be.isObject(r)?Be.each(r,function(o,u){this._is_reserved_property(u)||(n[u]=Be.isArray(o)?o:[o])},this):n[r]=Be.isArray(s)?s:[s],c[qh]=n,c},append_action:function(r,s){var c={},n={};return Be.isObject(r)?Be.each(r,function(o,u){this._is_reserved_property(u)||(n[u]=o)},this):n[r]=s,c[Ju]=n,c},remove_action:function(r,s){var c={},n={};return Be.isObject(r)?Be.each(r,function(o,u){this._is_reserved_property(u)||(n[u]=o)},this):n[r]=s,c[qu]=n,c},delete_action:function(){return{$delete:""}}},is=function(){};Be.extend(is.prototype,wy),is.prototype._init=function(r,s,c){this._mixpanel=r,this._group_key=s,this._group_id=c},is.prototype.set=Rf(function(r,s,c){var n=this.set_action(r,s);return Be.isObject(r)&&(c=s),this._send_request(n,c)}),is.prototype.set_once=Rf(function(r,s,c){var n=this.set_once_action(r,s);return Be.isObject(r)&&(c=s),this._send_request(n,c)}),is.prototype.unset=Rf(function(r,s){var c=this.unset_action(r);return this._send_request(c,s)}),is.prototype.union=Rf(function(r,s,c){Be.isObject(r)&&(c=s);var n=this.union_action(r,s);return this._send_request(n,c)}),is.prototype.delete=Rf(function(r){var s=this.delete_action();return this._send_request(s,r)}),is.prototype.remove=Rf(function(r,s,c){var n=this.remove_action(r,s);return this._send_request(n,c)}),is.prototype._send_request=function(r,s){r.$group_key=this._group_key,r.$group_id=this._group_id,r.$token=this._get_config("token");var c=Be.encodeDates(r);return this._mixpanel._track_or_batch({type:"groups",data:c,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},s)},is.prototype._is_reserved_property=function(r){return"$group_key"===r||"$group_id"===r},is.prototype._get_config=function(r){return this._mixpanel.get_config(r)},is.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},is.prototype.remove=is.prototype.remove,is.prototype.set=is.prototype.set,is.prototype.set_once=is.prototype.set_once,is.prototype.union=is.prototype.union,is.prototype.unset=is.prototype.unset,is.prototype.toString=is.prototype.toString;var Fi=function(){};Be.extend(Fi.prototype,wy),Fi.prototype._init=function(r){this._mixpanel=r},Fi.prototype.set=Ku(function(r,s,c){var n=this.set_action(r,s);return Be.isObject(r)&&(c=s),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[Rd]=Be.extend({},Be.info.people_properties(),n[Rd]),this._send_request(n,c)}),Fi.prototype.set_once=Ku(function(r,s,c){var n=this.set_once_action(r,s);return Be.isObject(r)&&(c=s),this._send_request(n,c)}),Fi.prototype.unset=Ku(function(r,s){var c=this.unset_action(r);return this._send_request(c,s)}),Fi.prototype.increment=Ku(function(r,s,c){var n={},o={};
1return Be.isObject(r)?(Be.each(r,function(u,_){if(!this._is_reserved_property(_)){if(isNaN(parseFloat(u)))return void Gi.error("Invalid increment value passed to mixpanel.people.increment - must be a number");o[_]=u}},this),c=s):(Be.isUndefined(s)&&(s=1),o[r]=s),n[Mu]=o,this._send_request(n,c)}),Fi.prototype.append=Ku(function(r,s,c){Be.isObject(r)&&(c=s);var n=this.append_action(r,s);return this._send_request(n,c)}),Fi.prototype.remove=Ku(function(r,s,c){Be.isObject(r)&&(c=s);var n=this.remove_action(r,s);return this._send_request(n,c)}),Fi.prototype.union=Ku(function(r,s,c){Be.isObject(r)&&(c=s);var n=this.union_action(r,s);return this._send_request(n,c)}),Fi.prototype.track_charge=Ku(function(){Gi.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),Fi.prototype.clear_charges=function(r){return this.set("$transactions",[],r)},Fi.prototype.delete_user=function(){if(this._identify_called()){var r={$delete:this._mixpanel.get_distinct_id()};return this._send_request(r)}Gi.error("mixpanel.people.delete_user() requires you to call identify() first")},Fi.prototype.toString=function(){return this._mixpanel.toString()+".people"},Fi.prototype._send_request=function(r,s){r.$token=this._get_config("token"),r.$distinct_id=this._mixpanel.get_distinct_id();var c=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),o=this._mixpanel.get_property("$had_persisted_distinct_id");c&&(r.$device_id=c),n&&(r.$user_id=n),o&&(r.$had_persisted_distinct_id=o);var u=Be.encodeDates(r);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:u,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},s):(this._enqueue(r),Be.isUndefined(s)||(this._get_config("verbose")?s({status:-1,error:null}):s(-1)),Be.truncate(u,255))},Fi.prototype._get_config=function(r){return this._mixpanel.get_config(r)},Fi.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},Fi.prototype._enqueue=function(r){Rd in r?this._mixpanel.persistence._add_to_people_queue(Rd,r):Jh in r?this._mixpanel.persistence._add_to_people_queue(Jh,r):ml in r?this._mixpanel.persistence._add_to_people_queue(ml,r):Mu in r?this._mixpanel.persistence._add_to_people_queue(Mu,r):Ju in r?this._mixpanel.persistence._add_to_people_queue(Ju,r):qu in r?this._mixpanel.persistence._add_to_people_queue(qu,r):qh in r?this._mixpanel.persistence._add_to_people_queue(qh,r):Gi.error("Invalid call to _enqueue():",r)},Fi.prototype._flush_one_queue=function(r,s,c,n){var o=this,u=Be.extend({},this._mixpanel.persistence.load_queue(r)),_=u;!Be.isUndefined(u)&&Be.isObject(u)&&!Be.isEmptyObject(u)&&(o._mixpanel.persistence._pop_from_people_queue(r,u),o._mixpanel.persistence.save(),n&&(_=n(u)),s.call(o,_,function(L,$){0===L&&o._mixpanel.persistence._add_to_people_queue(r,u),Be.isUndefined(c)||c(L,$)}))},Fi.prototype._flush=function(r,s,c,n,o,u,_){var L=this;this._flush_one_queue(Rd,this.set,r),this._flush_one_queue(Jh,this.set_once,n),this._flush_one_queue(ml,this.unset,u,function(nt){return Be.keys(nt)}),this._flush_one_queue(Mu,this.increment,s),this._flush_one_queue(qh,this.union,o);var $=this._mixpanel.persistence.load_queue(Ju);if(!Be.isUndefined($)&&Be.isArray($)&&$.length)for(var me,Ee=function(nt,qt){0===nt&&L._mixpanel.persistence._add_to_people_queue(Ju,me),Be.isUndefined(c)||c(nt,qt)},Se=$.length-1;Se>=0;Se--)$=this._mixpanel.persistence.load_queue(Ju),me=$.pop(),L._mixpanel.persistence.save(),Be.isEmptyObject(me)||L.append(me,Ee);var Ae=this._mixpanel.persistence.load_queue(qu);if(!Be.isUndefined(Ae)&&Be.isArray(Ae)&&Ae.length)for(var ft,it=function(nt,qt){0===nt&&L._mixpanel.persistence._add_to_people_queue(qu,ft),Be.isUndefined(_)||_(nt,qt)},Zt=Ae.length-1;Zt>=0;Zt--)Ae=this._mixpanel.persistence.load_queue(qu),ft=Ae.pop(),L._mixpanel.persistence.save(),Be.isEmptyObject(ft)||L.remove(ft,it)},Fi.prototype._is_reserved_property=function(r){return"$distinct_id"===r||"$token"===r||"$device_id"===r||"$user_id"===r||"$had_persisted_distinct_id"===r},Fi.prototype.set=Fi.prototype.set,Fi.prototype.set_once=Fi.prototype.set_once,Fi.prototype.unset=Fi.prototype.unset,Fi.prototype.increment=Fi.prototype.increment,Fi.prototype.append=Fi.prototype.append,Fi.prototype.remove=Fi.prototype.remove,Fi.prototype.union=Fi.prototype.union,Fi.prototype.track_charge=Fi.prototype.track_charge,Fi.prototype.clear_charges=Fi.prototype.clear_charges,Fi.prototype.delete_user=Fi.prototype.delete_user,Fi.prototype.toString=Fi.prototype.toString;var kd="__mps",_m="__mpso",ep="__mpus",Xg="__mpa",tp="__mpap",ed="__mpr",Yg="__mpu",My="$people_distinct_id",Zg="__alias",np="__timers",Qg=[kd,_m,ep,Xg,tp,ed,Yg,My,Zg,np],po=function(r){this.props={},this.campaign_params_saved=!1,this.name=r.persistence_name?"mp_"+r.persistence_name:"mp_"+r.token+"_mixpanel";var s=r.persistence;"cookie"!==s&&"localStorage"!==s&&(Gi.critical("Unknown persistence type "+s+"; falling back to cookie"),s=r.persistence="cookie"),this.storage="localStorage"===s&&Be.localStorage.is_supported()?Be.localStorage:Be.cookie,this.load(),this.update_config(r),this.upgrade(),this.save()};po.prototype.properties=function(){var r={};return this.load(),Be.each(this.props,function(s,c){Be.include(Qg,c)||(r[c]=s)}),r},po.prototype.load=function(){if(!this.disabled){var r=this.storage.parse(this.name);r&&(this.props=Be.extend({},r))}},po.prototype.upgrade=function(){var r,s;this.storage===Be.localStorage?(r=Be.cookie.parse(this.name),Be.cookie.remove(this.name),Be.cookie.remove(this.name,!0),r&&this.register_once(r)):this.storage===Be.cookie&&(s=Be.localStorage.parse(this.name),Be.localStorage.remove(this.name),s&&this.register_once(s))},po.prototype.save=function(){this.disabled||this.storage.set(this.name,Vc(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},po.prototype.load_prop=function(r){return this.load(),this.props[r]},po.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},po.prototype.clear=function(){this.remove(),this.props={}},po.prototype.register_once=function(r,s,c){return!!Be.isObject(r)&&(typeof s>"u"&&(s="None"),this.expire_days=typeof c>"u"?this.default_expiry:c,this.load(),Be.each(r,function(n,o){(!this.props.hasOwnProperty(o)||this.props[o]===s)&&(this.props[o]=n)},this),this.save(),!0)},po.prototype.register=function(r,s){return!!Be.isObject(r)&&(this.expire_days=typeof s>"u"?this.default_expiry:s,this.load(),Be.extend(this.props,r),this.save(),!0)},po.prototype.unregister=function(r){this.load(),r in this.props&&(delete this.props[r],this.save())},po.prototype.update_search_keyword=function(r){this.register(Be.info.searchInfo(r))},po.prototype.update_referrer_info=function(r){this.register_once({$initial_referrer:r||"$direct",$initial_referring_domain:Be.info.referringDomain(r)||"$direct"},"")},po.prototype.get_referrer_info=function(){return Be.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},po.prototype.update_config=function(r){this.default_expiry=this.expire_days=r.cookie_expiration,this.set_disabled(r.disable_persistence),this.set_cookie_domain(r.cookie_domain),this.set_cross_site(r.cross_site_cookie),this.set_cross_subdomain(r.cross_subdomain_cookie),this.set_secure(r.secure_cookie)},po.prototype.set_disabled=function(r){this.disabled=r,this.disabled?this.remove():this.save()},po.prototype.set_cookie_domain=function(r){r!==this.cookie_domain&&(this.remove(),this.cookie_domain=r,this.save())},po.prototype.set_cross_site=function(r){r!==this.cross_site&&(this.cross_site=r,this.remove(),this.save())},po.prototype.set_cross_subdomain=function(r){r!==this.cross_subdomain&&(this.cross_subdomain=r,this.remove(),this.save())},po.prototype.get_cross_subdomain=function(){return this.cross_subdomain},po.prototype.set_secure=function(r){r!==this.secure&&(this.secure=!!r,this.remove(),this.save())},po.prototype._add_to_people_queue=function(r,s){var c=this._get_queue_key(r),n=s[r],o=this._get_or_create_queue(Rd),u=this._get_or_create_queue(Jh),_=this._get_or_create_queue(ml),L=this._get_or_create_queue(Mu),$=this._get_or_create_queue(qh),me=this._get_or_create_queue(qu,[]),Ee=this._get_or_create_queue(Ju,[]);c===kd?(Be.extend(o,n),this._pop_from_people_queue(Mu,n),this._pop_from_people_queue(qh,n),this._pop_from_people_queue(ml,n)):c===_m?(Be.each(n,function(Se,Ae){Ae in u||(u[Ae]=Se)}),this._pop_from_people_queue(ml,n)):c===ep?Be.each(n,function(Se){Be.each([o,u,L,$],function(Ae){Se in Ae&&delete Ae[Se]}),Be.each(Ee,function(Ae){Se in Ae&&delete Ae[Se]}),_[Se]=!0}):c===Xg?(Be.each(n,function(Se,Ae){Ae in o?o[Ae]+=Se:(Ae in L||(L[Ae]=0),L[Ae]+=Se)},this),this._pop_from_people_queue(ml,n)):c===Yg?(Be.each(n,function(Se,Ae){Be.isArray(Se)&&(Ae in $||($[Ae]=[]),Be.each(Se,function(ft){Be.include($[Ae],ft)||$[Ae].push(ft)}))}),this._pop_from_people_queue(ml,n)):c===ed?(me.push(n),this._pop_from_people_queue(Ju,n)):c===tp&&(Ee.push(n),this._pop_from_people_queue(ml,n)),Gi.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Gi.log(s),this.save()},po.prototype._pop_from_people_queue=function(r,s){var c=this.props[this._get_queue_key(r)];Be.isUndefined(c)||Be.each(s,function(n,o){r===Ju||r===qu?Be.each(c,function(u){u[o]===n&&delete u[o]}):delete c[o]},this)},po.prototype.load_queue=function(r){return this.load_prop(this._get_queue_key(r))},po.prototype._get_queue_key=function(r){return r===Rd?kd:r===Jh?_m:r===ml?ep:r===Mu?Xg:r===Ju?tp:r===qu?ed:r===qh?Yg:void Gi.error("Invalid queue:",r)},po.prototype._get_or_create_queue=function(r,s){var c=this._get_queue_key(r);return s=Be.isUndefined(s)?{}:s,this.props[c]||(this.props[c]=s)},po.prototype.set_event_timer=function(r,s){var c=this.load_prop(np)||{};c[r]=s,this.props[np]=c,this.save()},po.prototype.remove_event_timer=function(r){var c=(this.load_prop(np)||{})[r];return Be.isUndefined(c)||(delete this.props[np][r],this.save()),c};var rp,Xa,ip=function(r,s){throw new Error(r+" not available in this build.")},$l="mixpanel",J0="$device:",Bf=S.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Sy=!Bf&&-1===Cu.indexOf("MSIE")&&-1===Cu.indexOf("Mozilla"),op=null;bu.sendBeacon&&(op=function(){return bu.sendBeacon.apply(bu,arguments)});var f2={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},e_={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:f2,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:"base64",app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:zu,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:zu,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose
1:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:18e5,record_mask_inputs:!0,record_max_ms:Of,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:"disabled"},qg=!1,Tn=function(){},e1=function(r,s,c){var n,o=c===$l?Xa:Xa[c];if(o&&0===rp)n=o;else{if(o&&!Be.isArray(o))return void Gi.error("You have already initialized "+c);n=new Tn}if(n._cached_groups={},n._init(r,s,c),n.people=new Fi,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var u=Be.info.campaignParams(null),_={},L=!1;Be.each(u,function(me,Ee){_["initial_"+Ee]=me,me&&(L=!0)}),L&&n.people.set_once(_)}return M.DEBUG=M.DEBUG||n.get_config("debug"),S.dispatchEvent(new S.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:n,source:0===rp?"module":"snippet",token:r,name:c,info:Be.info}})),!Be.isUndefined(o)&&Be.isArray(o)&&(n._execute_array.call(n.people,o.people),n._execute_array(o)),n};Tn.prototype.init=function(r,s,c){if(Be.isUndefined(c))this.report_error("You must name your new library: init(token, config, name)");else{if(c!==$l){var n=e1(r,s,c);return Xa[c]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Tn.prototype._init=function(r,s,c){s=s||{},this.__loaded=!0,this.config={};var n={};if("api_payload_format"in s||(s.api_host||e_.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.hooks={},this.set_config(Be.extend({},e_,n,s,{name:c,token:r,callback_fn:(c===$l?c:$l+"."+c)+"._jsc"})),this.recorderManager=new Ba({mixpanelInstance:this,getConfigFunc:Be.bind(this.get_config,this),setConfigFunc:Be.bind(this.set_config,this),getTabIdFunc:Be.bind(this.get_tab_id,this),reportErrorFunc:Be.bind(this.report_error,this),getDistinctIdFunc:Be.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:ip}),this._jsc=zu,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this._remote_settings_strict_disabled=!1,this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(Be.localStorage.is_supported(!0)&&Bf){if(this.init_batchers(),op&&S.addEventListener){var u=Be.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);S.addEventListener("pagehide",function($){$.persisted&&u()}),S.addEventListener("visibilitychange",function(){"hidden"===Ki.visibilityState&&u()})}}else this._batch_requests=!1,Gi.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Be.each(this.get_batcher_configs(),function($){Gi.log("Clearing batch queue "+$.queue_key),Be.localStorage.remove($.queue_key)});this.persistence=this.cookie=new po(this.config),this.unpersisted_superprops={},this._gdpr_init();var _=Be.UUID();this.get_distinct_id()||this.register_once({distinct_id:J0+_,$device_id:_},""),this.flags=new si({getFullApiRoute:Be.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:Be.bind(this.get_config,this),setConfigFunc:Be.bind(this.set_config,this),getPropertyFunc:Be.bind(this.get_property,this),trackingFunc:Be.bind(this.track,this),loadExtraBundle:ip,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+R}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var L=this.get_config("remote_settings_mode");this.__session_recording_init_promise="strict"===L||"fallback"===L?this._fetch_remote_settings(L).then(Be.bind(function(){return this._check_and_start_session_recording()},this)):this._check_and_start_session_recording(),this.autocapture=new Na(this),this.autocapture.init()},Tn.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))Gi.log("Tab ID initialization skipped due to disable_persistence config");
1else if(Be.sessionStorage.is_supported())try{var r=this.get_config("name")+"_"+this.get_config("token"),s="mp_tab_id_"+r,c="mp_gen_new_tab_id_"+r;(Be.sessionStorage.get(c)||!Be.sessionStorage.get(s))&&Be.sessionStorage.set(s,"$tab-"+Be.UUID()),Be.sessionStorage.set(c,"1"),this.tab_id=Be.sessionStorage.get(s),S.addEventListener("beforeunload",function(){Be.sessionStorage.remove(c)})}catch(n){this.report_error("Error initializing tab id",n)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},Tn.prototype.get_tab_id=function(){return this.tab_id||null},Tn.prototype._check_and_start_session_recording=jc(function(r){return this.recorderManager.checkAndStartSessionRecording(r)}),Tn.prototype._start_recording_on_event=If(function(r,s){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(Be.bind(function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(r,s)},this))}),Tn.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},Tn.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},Tn.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},Tn.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},Tn.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},Tn.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},Tn.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},Tn.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},Tn.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},Tn.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var r=Be.info.campaignParams(null);Be.each(r,function(s,c){this.unregister(c)}.bind(this))}},Tn.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(Ki.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Be.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(Ki.referrer)},Tn.prototype._dom_loaded=function(){Be.each(this.__dom_loaded_queue,function(r){this._track_dom.apply(this,r)},this),this.has_opted_out_tracking()||Be.each(this.__request_queue,function(r){this._send_request.apply(this,r)},this),delete this.__dom_loaded_queue,delete this.__request_queue},Tn.prototype._track_dom=function(r,s){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!qg)return this.__dom_loaded_queue.push([r,s]),!1;var c=(new r).init(this);return c.track.apply(c,s)},Tn.prototype._prepare_callback=function(r,s){if(Be.isUndefined(r))return null;if(Bf)return function(_){r(_,s)};var n=this._jsc,o=""+Math.floor(1e8*Math.random()),u=this.get_config("callback_fn")+"["+o+"]";return n[o]=function(_){delete n[o],r(_,s)},u},Tn.prototype._send_request=function(r,s,c,n){var o=!0;if(Sy)return this.__request_queue.push(arguments),o;var u={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},_=null;!n&&(Be.isFunction(c)||"string"==typeof c)&&(n=c,c=null),c=Be.extend(u,c||{}),Bf||(c.method="GET");var L="POST"===c.method,$=op&&L&&"sendbeacon"===c.transport.toLowerCase(),me=c.verbose;s.verbose&&(me=!0),this.get_config("test")&&(s.test=1),me&&(s.verbose=1),this.get_config("img")&&(s.img=1),Bf||(n?s.callback=n:(me||this.get_config("test"))&&(s.callback="(function(){})")),s.ip=this.get_config("ip")?1:0,s._=(new Date).getTime().toString(),L&&(_="data="+encodeURIComponent(s.data),delete s.data),Be.extend(s,this.get_config("api_extra_query_params")),r+="?"+Be.HTTPBuildQuery(s);var Ee=this;if("img"in s){var Se=Ki.createElement("img");Se.src=r,Ki.body.appendChild(Se)}else if($){try{o=op(r,_)}catch(qt){Ee.report_error(qt),o=!1}try{n&&n(o?1:0)}catch(qt){Ee.report_error(qt)}}else if(Bf)try{var Ae=new XMLHttpRequest;Ae.open(c.method,r,!0);var ft=this.get_config("xhr_headers");if(L&&(ft["Content-Type"]="application/x-www-form-urlencoded"),Be.each(ft,function(qt,mn){Ae.setRequestHeader(mn,qt)}),c.timeout_ms&&typeof Ae.timeout<"u"){Ae.timeout=c.timeout_ms;var it=(new Date).getTime()}Ae.withCredentials=!0,Ae.onreadystatechange=function(){if(4===Ae.readyState)if(200===Ae.status){if(n)if(me){var qt;try{qt=Be.JSONDecode(Ae.responseText)}catch(nr){if(Ee.report_error(nr),!c.ignore_json_errors)return;qt=Ae.responseText}n(qt)}else n(Number(Ae.responseText))}else{var mn;mn=Ae.timeout&&!Ae.status&&(new Date).getTime()-it>=Ae.timeout?"timeout":"Bad HTTP status: "+Ae.status+" "+Ae.statusText,Ee.report_error(mn),n&&n(me?{status:0,httpStatusCode:Ae.status,error:mn,retryAfter:(Ae.responseHeaders||{})["Retry-After"]}:0)}},Ae.send(_)}catch(qt){Ee.report_error(qt),o=!1}else{var Zt=Ki.createElement("script");Zt.type="text/javascript",Zt.async=!0,Zt.defer=!0,Zt.src=r;var nt=Ki.getElementsByTagName("script")[0];nt.parentNode.insertBefore(Zt,nt)}return o},Tn.prototype._fetch_remote_settings=function(r){var s=this,c=function(){"strict"===r&&(s.set_config({record_sessions_percent:0}),s._remote_settings_strict_disabled=!0)};if(!S.AbortController)return Gi.critical("Remote settings unavailable: missing minimum required APIs"),c(),Promise.resolve();var _=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings+"?"+Be.HTTPBuildQuery({$lib_version:M.LIB_VERSION,mp_lib:"web",sdk_config:"1"}),L=new AbortController,$=setTimeout(function(){L.abort()},500),me={method:"GET",headers:{Authorization:"Basic "+btoa(s.get_config("token")+":")},signal:L.signal};return S.fetch(_,me).then(function(Ee){return clearTimeout($),Ee.ok?Ee.json():(Gi.critical("Network response was not ok"),void c())}).then(function(Ee){if(Ee&&Ee.sdk_config&&Ee.sdk_config.config){var Ae={};Be.each(Ee.sdk_config.config,function(ft,it){e_.hasOwnProperty(it)&&(Ae[it]=ft)}),Be.isEmptyObject(Ae)?(Gi.critical("No valid config keys found in remote settings."),c()):s.set_config(Ae)}else c()}).catch(function(Ee){clearTimeout($),Gi.critical("Failed to fetch remote settings",Ee),c()})},Tn.prototype._execute_array=function(r){var s,c=[],n=[],o=[];Be.each(r,function(_){_&&(Be.isArray(s=_[0])?o.push(_):"function"==typeof _?_.call(this):Be.isArray(_)&&"alias"===s?c.push(_):Be.isArray(_)&&-1!==s.indexOf("track")&&"function"==typeof this[s]?o.push(_):n.push(_))},this);var u=function(_,L){Be.each(_,function($){if(Be.isArray($[0])){var me=L;Be.each($,function(Ee){me=me[Ee[0]].apply(me,Ee.slice(1))})}else this[$[0]].apply(this,$.slice(1))},L)};u(c,this),u(n,this),u(o,this)},Tn.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Tn.prototype.get_batcher_configs=function(){var r="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",a
1pi_name:"track",queue_key:r+"_ev"},people:{type:"people",api_name:"engage",queue_key:r+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:r+"_gr"}},this._batcher_configs},Tn.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var r=Be.bind(function(c){return new Mc(c.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Be.bind(function(n,o,u){var _=this.get_config("api_routes");this._send_request(this.get_api_host(c.api_name)+"/"+_[c.api_name],this._encode_data_for_request(n),o,this._prepare_callback(u,n))},this),beforeSendHook:Be.bind(function(n){var o=this._run_hook("before_send_"+c.type,n);return o?o[0]:null},this),stopAllBatchingFunc:Be.bind(this.stop_batch_senders,this),usePersistence:!0})},this),s=this.get_batcher_configs();this.request_batchers={events:r(s.events),people:r(s.people),groups:r(s.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},Tn.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Be.each(this.request_batchers,function(r){r.start()}))},Tn.prototype.stop_batch_senders=function(){this._batch_requests=!1,Be.each(this.request_batchers,function(r){r.stop(),r.clear()})},Tn.prototype.push=function(r){this._execute_array([r])},Tn.prototype.enable=function(r){var s,c,n,o;if(typeof r>"u")this._flags.disable_all_events=!1;else{for(s={},c=[],n=0;n<r.length;n++)s[r[n]]=!0;for(o=0;o<this.__disabled_events.length;o++)s[this.__disabled_events[o]]||c.push(this.__disabled_events[o]);this.__disabled_events=c}},Tn.prototype.disable=function(r){typeof r>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(r)},Tn.prototype._encode_data_for_request=function(r){var s=Vc(r);return"base64"===this.get_config("api_payload_format")&&(s=Be.base64Encode(s)),{data:s}},Tn.prototype._track_or_batch=function(r,s){var c=Be.truncate(r.data,255),n=r.endpoint,o=r.batcher,u=r.should_send_immediately,_=r.send_request_options||{};s=s||zu;var L=!0,$=Be.bind(function(){return _.skip_hooks||(c=this._run_hook("before_send_"+r.type,c))&&(c=c[0]),c?(Gi.log("MIXPANEL REQUEST:"),Gi.log(c),this._send_request(n,this._encode_data_for_request(c),_,this._prepare_callback(s,c))):null},this);return this._batch_requests&&!u?o.enqueue(c).then(function(me){me?s(1,c):$()}):L=$(),L&&c},Tn.prototype.track=jc(function(r,s,c,n){var o;if(!c||!c.skip_hooks){if(null===(o=this._run_hook("before_track",r,s)))return;r=o[0],s=o[1]}!n&&"function"==typeof c&&(n=c,c=null);var u=(c=c||{}).transport;u&&(c.transport=u);var _=c.send_immediately;if("function"!=typeof n&&(n=zu),Be.isUndefined(r))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(r)){(s=Be.extend({},s)).token=this.get_config("token");var L=this.persistence.remove_event_timer(r);if(!Be.isUndefined(L)){var $=(new Date).getTime()-L;s.$duration=parseFloat(($/1e3).toFixed(3))}this._set_default_superprops();var me=this.get_config("track_marketing")?Be.info.marketingParams():{};s=Be.extend({},Be.info.properties({mp_loader:this.get_config("mp_loader")}),me,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),s);var Ee=this.get_config("property_blacklist");return Be.isArray(Ee)?Be.each(Ee,function(Ae){delete s[Ae]}):this.report_error("Invalid value for property_blacklist config: "+Ee),this._start_recording_on_event(r,s),o=this._track_or_batch({type:"events",data:{event:r,properties:s},endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:_,send_request_options:c},n),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(r,s),o}n(0)}}),Tn.prototype.set_group=jc(function(r,s,c){Be.isArray(s)||(s=[s]);var n={};return n[r]=s,this.register(n),this.people.set(r,s,c)}),Tn.prototype.add_group=jc(function(r,s,c){var n=this.get_property(r),o={};return void 0===n?(o[r]=[s],this.register(o)):-1===n.indexOf(s)&&(n.push(s),o[r]=n,this.register(o)),this.people.union(r,s,c)}),Tn.prototype.remove_group=jc(function(r,s,c){var n=this.get_property(r);if(void 0!==n){var o=n.indexOf(s);o>-1&&(n.splice(o,1),this.register({group_key:n})),0===n.length&&this.unregister(r)}return this.people.remove(r,s,c)}),Tn.prototype.track_with_groups=jc(function(r,s,c,n){var o=Be.extend({},s||{});return Be.each(c,function(u,_){null!=u&&(o[_]=u)}),this.track(r,o,n)}),Tn.prototype._create_map_key=function(r,s){return r+"_"+JSON.stringify(s)},Tn.prototype._remove_group_from_cache=function(r,s){delete this._cached_groups[this._create_map_key(r,s)]},Tn.prototype.get_group=function(r,s){var c=this._create_map_key(r,s),n=this._cached_groups[c];return(void 0===n||n._group_key!==r||n._group_id!==s)&&((n=new is)._init(this,r,s),this._cached_groups[c]=n),n},Tn.prototype.track_pageview=jc(function(r,s){"object"!=typeof r&&(r={});var c=(s=s||{}).event_name||"$mp_web_page_view",n=Be.extend(Be.info.mpPageViewProperties(),Be.info.campaignParams(),Be.info.clickParams()),o=Be.extend({},n,r);return this.is_recording_heatmap_data()&&(o.$captured_for_heatmap=!0),this.track(c,o)}),Tn.prototype.track_links=function(){return this._track_dom.call(this,Qh,arguments)},Tn.prototype.track_forms=function(){return this._track_dom.call(this,Gg,arguments)},Tn.prototype.time_event=function(r){Be.isUndefined(r)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(r)||this.persistence.set_event_timer(r,(new Date).getTime())};var Dy={persistent:!0},t1=function(r){var s;return s=Be.isObject(r)?r:Be.isUndefined(r)?{}:{days:r},Be.extend({},Dy,s)};Tn.prototype.register=function(r,s){var c=this._run_hook("before_register",r,s);if(null!==c){r=c[0];var n=t1(s=c[1]);n.persistent?this.persistence.register(r,n.days):Be.extend(this.unpersisted_superprops,r)}},Tn.prototype.register_once=function(r,s,c){var n=this._run_hook("before_register_once",r,s,c);if(null!==n){r=n[0],s=n[1];var o=t1(c=n[2]);o.persistent?this.persistence.register_once(r,s,o.days):(typeof s>"u"&&(s="None"),Be.each(r,function(u,_){(!this.unpersisted_superprops.hasOwnProperty(_)||this.unpersisted_superprops[_]===s)&&(this.unpersisted_superprops[_]=u)},this))}},Tn.prototype.unregister=function(r,s){var c=this._run_hook("before_unregister",r,s);null!==c&&(r=c[0],(s=t1(s=c[1])).persistent?this.persistence.unregister(r):delete this.unpersisted_superprops[r])},Tn.prototype._register_single=function(r,s){var c={};c[r]=s,this.register(c)},Tn.prototype.identify=function(r,s,c,n,o,u,_,L){var $=this._run_hook("before_identify",r);
1if(null===$)return-1;r=$[0];var me=this.get_distinct_id();if(r&&me!==r){if("string"==typeof r&&0===r.indexOf(J0))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:r})}this.get_property("$device_id")||this.register_once({$had_persisted_distinct_id:!0,$device_id:me},""),r!==me&&r!==this.get_property(Zg)&&(this.unregister(Zg),this.register({distinct_id:r})),this._flags.identify_called=!0,this.people._flush(s,c,n,o,u,_,L),r!==me&&this.track("$identify",{distinct_id:r,$anon_distinct_id:me},{skip_hooks:!0}),r!==me&&this.flags.fetchFlags().catch(function(){Gi.error("[flags] Error fetching flags during identify")})},Tn.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var r=Be.UUID();this.register_once({distinct_id:J0+r,$device_id:r},""),this._check_and_start_session_recording(),this.flags.reset()},Tn.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Tn.prototype.alias=function(r,s){if(r===this.get_property(My))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var c=this;return Be.isUndefined(s)&&(s=this.get_distinct_id()),r!==s?(this._register_single(Zg,r),this.track("$create_alias",{alias:r,distinct_id:s},{skip_hooks:!0},function(){c.identify(r)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(r),-1)},Tn.prototype.name_tag=function(r){this._register_single("mp_name_tag",r)},Tn.prototype.set_config=function(r){Be.isObject(r)&&(Be.extend(this.config,r),r.batch_size&&Be.each(this.request_batchers,function(c){c.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),M.DEBUG=M.DEBUG||this.get_config("debug"),("autocapture"in r||"record_heatmap_data"in r)&&this.autocapture&&this.autocapture.init(),Be.isObject(r.hooks)&&(this.hooks={}
1,Be.each(r.hooks,function(c,n){if(Be.isFunction(c))this.hooks[n]=[c];else if(Be.isArray(c)){this.hooks[n]=[];for(var o=0;o<c.length;o++)Be.isFunction(c[o])||Gi.critical("Invalid hook added. Hook is not a function"),this.hooks[n].push(c[o])}else Gi.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},Tn.prototype.get_config=function(r){return this.config[r]},Tn.prototype._run_hook=function(r){var s=xd.call(arguments,1);return Be.each(this.hooks[r],function(c){if(null===s)return null;var n=c.apply(this,s);typeof n>"u"?(this.report_error(r+" hook did not return a valid value"),s=null):(Be.isArray(n)||(n=[n]),s.splice.apply(s,[0,n.length].concat(n)))},this),s},Tn.prototype.get_property=function(r){return this.persistence.load_prop([r])},Tn.prototype.get_api_host=function(r){return this.get_config("api_hosts")[r]||this.get_config("api_host")},Tn.prototype.toString=function(){var r=this.get_config("name");return r!==$l&&(r=$l+"."+r),r},Tn.prototype._event_is_disabled=function(r){return Be.isBlockedUA(Cu)||this._flags.disable_all_events||Be.include(this.__disabled_events,r)},Tn.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Be.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||Be.cookie.get("mp_optout"))&&(Be.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Tn.prototype._gdpr_update_persistence=function(r){var s;if(r&&r.clear_persistence)s=!0;else{if(!r||!r.enable_persistence)return;s=!1}!this.get_config("disable_persistence")&&this.persistence.disabled!==s&&this.persistence.set_disabled(s),s?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},Tn.prototype._gdpr_call_func=function(r,s){return s=Be.extend({track:Be.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},s),Be.localStorage.is_supported()||(s.persistence_type="cookie"),r(this.get_config("token"),{track:s.track,trackEventName:s.track_event_name,trackProperties:s.track_properties,persistenceType:s.persistence_type,persistencePrefix:s.cookie_prefix,cookieDomain:s.cookie_domain,cookieExpiration:s.cookie_expiration,crossSiteCookie:s.cross_site_cookie,crossSubdomainCookie:s.cross_subdomain_cookie,secureCookie:s.secure_cookie,ignoreDnt:s.ignore_dnt})},Tn.prototype.opt_in_tracking=function(r){r=Be.extend({enable_persistence:!0},r),this._gdpr_call_func(Bh,r),this._gdpr_update_persistence(r)},Tn.prototype.opt_out_tracking=function(r){(r=Be.extend({clear_persistence:!0,delete_user:!0},r)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(yb,r),this._gdpr_update_persistence(r)},Tn.prototype.has_opted_in_tracking=function(r){return this._gdpr_call_func(kv,r)},Tn.prototype.has_opted_out_tracking=function(r){return this._gdpr_call_func(Uh,r)},Tn.prototype.clear_opt_in_out_tracking=function(r){r=Be.extend({enable_persistence:!0},r),this._gdpr_call_func(lm,r),this._gdpr_update_persistence(r)},Tn.prototype.report_error=function(r,s){Gi.error.apply(Gi.error,arguments);try{!s&&!(r instanceof Error)&&(r=new Error(r)),this.get_config("error_reporter")(r,s)}catch(c){Gi.error(c)}},Tn.prototype.add_hook=function(r,s){this.hooks[r]||(this.hooks[r]=[]),this.hooks[r].push(s)},Tn.prototype.remove_hook=function(r,s){var c;this.hooks[r]&&(-1!==(c=this.hooks[r].indexOf(s))?this.hooks[r].splice(c,1):Gi.log("remove_hook failed. Matching hook was not found"))},Tn.prototype.init=Tn.prototype.init,Tn.prototype.reset=Tn.prototype.reset,Tn.prototype.enable=Tn.prototype.enable,Tn.prototype.disable=Tn.prototype.disable,Tn.prototype.time_event=Tn.prototype.time_event,Tn.prototype.track=Tn.prototype.track,Tn.prototype.track_links=Tn.prototype.track_links,Tn.prototype.track_forms=Tn.prototype.track_forms,Tn.prototype.track_pageview=Tn.prototype.track_pageview,Tn.prototype.register=Tn.prototype.register,Tn.prototype.register_once=Tn.prototype.register_once,Tn.prototype.unregister=Tn.prototype.unregister,Tn.prototype.identify=Tn.prototype.identify,Tn.prototype.alias=Tn.prototype.alias,Tn.prototype.name_tag=Tn.prototype.name_tag,Tn.prototype.set_config=Tn.prototype.set_config,Tn.prototype.get_config=Tn.prototype.get_config,Tn.prototype.get_api_host=Tn.prototype.get_api_host,Tn.prototype.get_property=Tn.prototype.get_property,Tn.prototype.get_distinct_id=Tn.prototype.get_distinct_id,Tn.prototype.toString=Tn.prototype.toString,Tn.prototype.opt_out_tracking=Tn.prototype.opt_out_tracking,Tn.prototype.opt_in_tracking=Tn.prototype.opt_in_tracking,Tn.prototype.has_opted_out_tracking=Tn.prototype.has_opted_out_tracking,Tn.prototype.has_opted_in_tracking=Tn.prototype.has_opted_in_tracking,Tn.prototype.clear_opt_in_out_tracking=Tn.prototype.clear_opt_in_out_tracking,Tn.prototype.get_group=Tn.prototype.get_group,Tn.prototype.set_group=Tn.prototype.set_group,Tn.prototype.add_group=Tn.prototype.add_group,Tn.prototype.remove_group=Tn.prototype.remove_group,Tn.prototype.add_hook=Tn.prototype.add_hook,Tn.prototype.remove_hook=Tn.prototype.remove_hook,Tn.prototype.track_with_groups=Tn.prototype.track_with_groups,Tn.prototype.start_batch_senders=Tn.prototype.start_batch_senders,Tn.prototype.stop_batch_senders=Tn.prototype.stop_batch_senders,Tn.prototype.start_session_recording=Tn.prototype.start_session_recording,Tn.prototype.stop_session_recording=Tn.prototype.stop_session_recording,Tn.prototype.pause_session_recording=Tn.prototype.pause_session_recording,Tn.prototype.resume_session_recording=Tn.prototype.resume_session_recording,Tn.prototype.get_session_recording_properties=Tn.prototype.get_session_recording_properties,Tn.prototype.get_session_replay_url=Tn.prototype.get_session_replay_url,Tn.prototype.get_tab_id=Tn.prototype.get_tab_id,Tn.prototype.DEFAULT_API_ROUTES=f2,Tn.prototype.__get_recorder=Tn.prototype.__get_recorder,Tn.prototype.__get_recording_init_promise=Tn.prototype.__get_recording_init_promise,po.prototype.properties=po.prototype.properties,po.prototype.update_search_keyword=po.prototype.update_search_keyword,po.prototype.update_referrer_info=po.prototype.update_referrer_info,po.prototype.get_cross_subdomain=po.prototype.get_cross_subdomain,po.prototype.clear=po.prototype.clear;var td={},Py=function Ty(r){return ip=r,rp=0,(Xa=new Tn).init=function(r,s,c){if(c)return Xa[c]||(Xa[c]=td[c]=e1(r,s,c),Xa[c]._loaded()),Xa[c];var n=Xa;td[$l]?n=td[$l]:r&&((n=e1(r,s,$l))._loaded(),td[$l]=n),Xa=n,1===rp&&(S[$l]=Xa),Be.each(td,function(r,s){s!==$l&&(Xa[s]=r)}),Xa._=Be},Xa.init(),function(){function r(){r.done||(r.done=!0,qg=!0,Sy=!1,Be.each(td,function(n){n._dom_loaded()}))}if(Ki.addEventListener)"complete"===Ki.readyState?r():Ki.addEventListener("DOMContentLoaded",r,!1);else if(Ki.attachEvent){Ki.attachEvent("onreadystatechange",r);var c=!1;try{c=null===S.frameElement}catch{}Ki.documentElement.doScroll&&c&&function s(){try{Ki.documentElement.doScroll("left")}catch{return void setTimeout(s,1)}r()}()}Be.register_event(S,"load",r,!0)}(),Xa}(function p2(r,s){s()})},84315(Vt){var d;d=()=>{return Pe={12:(S,E,M)=>{"use strict";var f=M(539);S.exports=function(b,A,R){var N,q,ee,B,ie=f.isType(b,"object"),ve=f.isType(b,"array"),U=[];if(R=R||{obj:[],mapped:[]},ie){if(B=R.obj.indexOf(b),ie&&-1!==B)return R.mapped[B]||R.obj[B];R.obj.push(b),B=R.obj.length-1}if(ie)for(N in b)Object.prototype.hasOwnProperty.call(b,N)&&U.push(N);else if(ve)for(ee=0;ee<b.length;++ee)U.push(ee);var ne=ie?{}:[],X=!0;for(ee=0;ee<U.length;++ee)q=b[N=U[ee]],ne[N]=A(N,q,R),X=X&&ne[N]===b[N];return ie&&!X&&(R.mapped[B]=ne),X?b:ne}},61:S=>{"use strict";S.exports={parse:function(E){var M,f,b={protocol:null,auth:null,host:null,path:null,hash:null,href:E,hostname:null,port:null,pathname:null,search:null,query:null};if(-1!==(M=E.indexOf("//"))?(b.protocol=E.substring(0,M),f=M+2):f=0,-1!==(M=E.indexOf("@",f))&&(b.auth=E.substring(f,M),f=M+1),-1===(M=E.indexOf("/",f))){if(-1===(M=E.indexOf("?",f)))return-1===(M=E.indexOf("#",f))?b.host=E.substring(f):(b.host=E.substring(f,M),b.hash=E.substring(M)),b.hostname=b.host.split(":")[0],b.port=b.host.split(":")[1],b.port&&(b.port=parseInt(b.port,10)),b;b.host=E.substring(f,M),b.hostname=b.host.split(":")[0],b.port=b.host.split(":")[1],b.port&&(b.port=parseInt(b.port,10)),f=M}else b.host=E.substring(f,M),b.hostname=b.host.split(":")[0],b.port=b.host.split(":")[1],b.port&&(b.port=parseInt(b.port,10)),f=M;if(-1===(M=E.indexOf("#",f))?b.path=E.substring(f):(b.path=E.substring(f,M),b.hash=E.substring(M)),b.path){var A=b.path.split("?");b.pathname=A[0],b.query=A[1],b.search=b.query?"?"+b.query:null}return b}}},67:(S,E,M)=>{"use strict";var f=M(539),b=M(91),A={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function R(q,ee,B,ie,ve){this.options=q,this.transport=ee,this.url=B,this.truncation=ie,this.jsonBackup=ve,this.accessToken=q.accessToken,this.transportOptions=N(q,B)}function N(q,ee){return b.getTransportFromOptions(q,A,ee)}R.prototype.postItem=function(q,ee){var B=b.transportOptions(this.transportOptions,"POST"),ie=b.buildPayload(this.accessToken,q,this.jsonBackup),ve=this;setTimeout(function(){ve.transport.post(ve.accessToken,B,ie,ee)},0)},R.prototype.buildJsonPayload=function(q,ee){var B,ie=b.buildPayload(this.accessToken,q,this.jsonBackup);return(B=this.truncation?this.truncation.truncate(ie):f.stringify(ie)).error?(ee&&ee(B.error),null):B.value},R.prototype.postJsonPayload=function(q,ee){var B=b.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,B,q,ee)},R.prototype.configure=function(q){return this.options=f.merge(this.oldOptions,q),this.transportOptions=N(this.options,this.url),void 0!==this.options.accessToken&&(this.accessToken=this.options.accessToken),this},S.exports=R},91:(S,E,M)=>{"use strict";var f=M(539);S.exports={buildPayload:function(b,A,R){if(!f.isType(A.context,"string")){var N=f.stringify(A.context,R);A.context=N.error?"Error: could not serialize 'context'":N.value||"",A.context.length>255&&(A.context=A.context.substr(0,255))}return{access_token:b,data:A}},getTransportFromOptions:function(b,A,R){var Z,re,N=A.hostname,q=A.protocol,ee=A.port,B=A.path,ie=A.search,ve=b.timeout,U=(Z=typeof window<"u"&&window||typeof self<"u"&&self,re=b.defaultTransport||"xhr",void 0===Z.fetch&&(re="xhr"),void 0===Z.XMLHttpRequest&&(re="fetch"),re),ne=b.proxy;if(b.endpoint){var X=R.parse(b.endpoint);N=X.hostname,q=X.protocol,ee=X.port,B=X.pathname,ie=X.search}return{timeout:ve,hostname:N,protocol:q,port:ee,path:B,search:ie,proxy:ne,transport:U}},transportOptions:function(b,A){var R=b.protocol||"https:",N=b.port||("http:"===R?80:"https:"===R?443:void 0),q=b.hostname,ee=b.path;return b.search&&(ee+=b.search),b.proxy&&(ee=R+"//"+q+ee,q=b.proxy.host||b.proxy.hostname,N=b.proxy.port,R=b.proxy.protocol||R),{timeout:b.timeout,protocol:R,hostname:q,path:ee,port:N,method:A,transport:b.transport}},appendPathToPath:function(b,A){var R=/\/$/.test(b),N=/^\//.test(A);return R&&N?A=A.substring(1):R||N||(A="/"+A),b+A}}},108:function(S,E){var M,f,b;!function(){"use strict";f=[],void 0===(b="function"==typeof(M=function(){function A(re){return!isNaN(parseFloat(re))&&isFinite(re)}function R(re){return re.charAt(0).toUpperCase()+re.substring(1)}function N(re){return function(){return this[re]}}
1var q=["isConstructor","isEval","isNative","isToplevel"],ee=["columnNumber","lineNumber"],B=["fileName","functionName","source"],U=q.concat(ee,B,["args"],["evalOrigin"]);function ne(re){if(re)for(var K=0;K<U.length;K++)void 0!==re[U[K]]&&this["set"+R(U[K])](re[U[K]])}ne.prototype={getArgs:function(){return this.args},setArgs:function(re){if("[object Array]"!==Object.prototype.toString.call(re))throw new TypeError("Args must be an Array");this.args=re},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(re){if(re instanceof ne)this.evalOrigin=re;else{if(!(re instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new ne(re)}},toString:function(){var re=this.getFileName()||"",K=this.getLineNumber()||"",ce=this.getColumnNumber()||"",ue=this.getFunctionName()||"";return this.getIsEval()?re?"[eval] ("+re+":"+K+":"+ce+")":"[eval]:"+K+":"+ce:ue?ue+" ("+re+":"+K+":"+ce+")":re+":"+K+":"+ce}},ne.fromString=function(re){var K=re.indexOf("("),ce=re.lastIndexOf(")"),ue=re.substring(0,K),ae=re.substring(K+1,ce).split(","),te=re.substring(ce+1);if(0===te.indexOf("@"))var de=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(te,""),_e=de[1],we=de[2],De=de[3];return new ne({functionName:ue,args:ae||void 0,fileName:_e,lineNumber:we||void 0,columnNumber:De||void 0})};for(var X=0;X<q.length;X++)ne.prototype["get"+R(q[X])]=N(q[X]),ne.prototype["set"+R(q[X])]=function(re){return function(K){this[re]=!!K}}(q[X]);for(var W=0;W<ee.length;W++)ne.prototype["get"+R(ee[W])]=N(ee[W]),ne.prototype["set"+R(ee[W])]=function(re){return function(K){if(!A(K))throw new TypeError(re+" must be a Number");this[re]=Number(K)}}(ee[W]);for(var Z=0;Z<B.length;Z++)ne.prototype["get"+R(B[Z])]=N(B[Z]),ne.prototype["set"+R(B[Z])]=function(re){return function(K){this[re]=String(K)}}(B[Z]);return ne})?M.apply(E,f):M)||(S.exports=b)}()},175:S=>{"use strict";S.exports={ieVersion:function(){var M;if(typeof document>"u")return M;for(var f=3,b=document.createElement("div"),A=b.getElementsByTagName("i");b.innerHTML="\x3c!--[if gt IE "+ ++f+"]><i></i><![endif]--\x3e",A[0];);return f>4?f:M}}},197:(S,E,M)=>{"use strict";var f=M(335),b=M(539),A=M(67),R=M(306),N=M(796),q=M(497),ee=M(61),B=M(203),ie=M(962),ve=M(584),U=M(581),ne=M(342);function X(te,de){this.options=b.handleOptions(ae,te,null,R),this.options._configuredOptions=te;var _e=this.components.telemeter,we=this.components.instrumenter,De=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var Ie=this.components.truncation,Me=new q(Ie),Ze=new A(this.options,Me,ee,Ie);_e&&(this.telemeter=new _e(this.options)),this.client=de||new f(this.options,Ze,R,this.telemeter,"browser");var Et,Ye=K(),Je=typeof document<"u"&&document;this.isChrome=Ye.chrome&&Ye.chrome.runtime,this.anonymousErrorsPending=0,Et=Ye,this.client.notifier.addTransform(B.handleDomException).addTransform(B.handleItemWithError).addTransform(B.ensureItemHasSomethingToSay).addTransform(B.addBaseInfo).addTransform(B.addRequestInfo(Et)).addTransform(B.addClientInfo(Et)).addTransform(B.addPluginInfo(Et)).addTransform(B.addBody).addTransform(ie.addMessageWithError).addTransform(ie.addTelemetryData).addTransform(ie.addConfigToPayload).addTransform(B.addScrubber(this.scrub)).addTransform(ie.addPayloadOptions).addTransform(ie.userTransform(R)).addTransform(ie.addConfiguredOptions).addTransform(ie.addDiagnosticKeys).addTransform(ie.itemToPayload),this.client.queue.addPredicate(U.checkLevel).addPredicate(ve.checkIgnore).addPredicate(U.userCheckIgnore(R)).addPredicate(U.urlIsNotBlockListed(R)).addPredicate(U.urlIsSafeListed(R)).addPredicate(U.messageIsIgnored(R)),this.setupUnhandledCapture(),we&&(this.instrumenter=new we(this.options,this.client.telemeter,this,Ye,Je),this.instrumenter.instrument()),b.setupJSON(De),this.rollbar=this}var W=null;function Z(te){var de="Rollbar is not initialized";R.error(de),te&&te(new Error(de))}function re(te){for(var de=0,_e=te.length;de<_e;++de)if(b.isFunction(te[de]))return te[de]}function K(){return typeof window<"u"&&window||typeof self<"u"&&self}X.init=function(te,de){return W?W.global(te).configure(te):W=new X(te,de)},X.prototype.components={},X.setComponents=function(te){X.prototype.components=te},X.prototype.global=function(te){return this.client.global(te),this},X.global=function(te){if(W)return W.global(te);Z()},X.prototype.configure=function(te,de){var _e=this.options,we={};return de&&(we={payload:de}),this.options=b.handleOptions(_e,te,we,R),this.options._configuredOptions=b.handleOptions(_e._configuredOptions,te,we),this.client.configure(this.options,de),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},X.configure=function(te,de){if(W)return W.configure(te,de);Z()},X.prototype.lastError=function(){return this.client.lastError},X.lastError=function(){if(W)return W.lastError();Z()},X.prototype.log=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.log(te),{uuid:de}},X.log=function(){if(W)return W.log.apply(W,arguments);Z(re(arguments))},X.prototype.debug=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.debug(te),{uuid:de}},X.debug=function(){if(W)return W.debug.apply(W,arguments);Z(re(arguments))},X.prototype.info=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.info(te),{uuid:de}},X.info=function(){if(W)return W.info.apply(W,arguments);Z(re(arguments))},X.prototype.warn=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.warn(te),{uuid:de}},X.warn=function(){if(W)return W.warn.apply(W,arguments);Z(re(arguments))},X.prototype.warning=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.warning(te),{uuid:de}},X.warning=function(){if(W)return W.warning.apply(W,arguments);Z(re(arguments))},X.prototype.error=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.error(te),{uuid:de}},X.error=function(){if(W)return W.error.apply(W,arguments);Z(re(arguments))},X.prototype.critical=function(){var te=this._createItem(arguments),de=te.uuid;return this.client.critical(te),{uuid:de}},X.critical=function(){if(W)return W.critical.apply(W,arguments);Z(re(arguments))},X.prototype.buildJsonPayload=function(te){return this.client.buildJsonPayload(te)},X.buildJsonPayload=function(){if(W)return W.buildJsonPayload.apply(W,arguments);Z()},X.prototype.sendJsonPayload=function(te){return this.client.sendJsonPayload(te)},X.sendJsonPayload=function(){if(W)return W.sendJsonPayload.apply(W,arguments);Z()},X.prototype.setupUnhandledCapture=function(){var te=K();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(N.captureUncaughtExceptions(te,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(te,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(N.captureUnhandledRejections(te,this),this.unhandledRejectionsInitialized=!0)},X.prototype.handleUncaughtException=function(te,de,_e,we,De,Ie){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&null===De&&""===de)return"anonymous";var Me,Ze=b.makeUnhandledStackInfo(te,de,_e,we,De,"onerror","uncaught exception",ne);b.isError(De)?(Me=this._createItem([te,De,Ie]))._unhandledStackInfo=Ze:b.isError(de)?(Me=this._createItem([te,de,Ie]))._unhandledStackInfo=Ze:(Me=this._createItem([te,Ie])).stackInfo=Ze,Me.level=this.options.uncaughtErrorLevel,Me._isUncaught=!0,this.client.log(Me)}},X.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var te=this;try{Error.prepareStackTrace=function(de,_e){if(te.options.inspectAnonymousErrors&&te.anonymousErrorsPending){if(te.anonymousErrorsPending-=1,!de)return;de._isAnonymous=!0,te.handleUncaughtException(de.message,null,null,null,de)}return de.stack}}catch(de){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",de)}}},X.prototype.handleUnhandledRejection=function(te,de){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var _e="unhandled rejection was null or undefined!";if(te)if(te.message)_e=te.message;else{var we=b.stringify(te);we.value&&(_e=we.value)}var De,Ie=te&&te._rollbarContext||de&&de._rollbarContext;b.isError(te)?De=this._createItem([_e,te,Ie]):(De=this._createItem([_e,te,Ie])).stackInfo=b.makeUnhandledStackInfo(_e,"",0,0,null,"unhandledrejection","",ne),De.level=this.options.uncaughtErrorLevel,De._isUncaught=!0,De._originalArgs=De._originalArgs||[],De._originalArgs.push(de),this.client.log(De)}},X.prototype.wrap=function(te,de,_e){try{var we;
1if(we=b.isFunction(de)?de:function(){return de||{}},!b.isFunction(te)||te._isWrap)return te;if(!te._rollbar_wrapped&&(te._rollbar_wrapped=function(){_e&&b.isFunction(_e)&&_e.apply(this,arguments);try{return te.apply(this,arguments)}catch(Me){var Ie=Me;throw Ie&&window._rollbarWrappedError!==Ie&&(b.isType(Ie,"string")&&(Ie=new String(Ie)),Ie._rollbarContext=we()||{},Ie._rollbarContext._wrappedSource=te.toString(),window._rollbarWrappedError=Ie),Ie}},te._rollbar_wrapped._isWrap=!0,te.hasOwnProperty))for(var De in te)te.hasOwnProperty(De)&&"_rollbar_wrapped"!==De&&(te._rollbar_wrapped[De]=te[De]);return te._rollbar_wrapped}catch{return te}},X.wrap=function(te,de){if(W)return W.wrap(te,de);Z()},X.prototype.captureEvent=function(){var te=b.createTelemetryEvent(arguments);return this.client.captureEvent(te.type,te.metadata,te.level)},X.captureEvent=function(){if(W)return W.captureEvent.apply(W,arguments);Z()},X.prototype.captureDomContentLoaded=function(te,de){return de||(de=new Date),this.client.captureDomContentLoaded(de)},X.prototype.captureLoad=function(te,de){return de||(de=new Date),this.client.captureLoad(de)},X.prototype.loadFull=function(){R.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},X.prototype._createItem=function(te){return b.createItem(te,R,this)};var ce=M(441),ue=M(537),ae={version:ce.version,scrubFields:ue.scrubFields,logLevel:ce.logLevel,reportLevel:ce.reportLevel,uncaughtErrorLevel:ce.uncaughtErrorLevel,endpoint:ce.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};S.exports=X},203:(S,E,M)=>{"use strict";var f=M(539),b=M(342),A=M(306);function R(B,ie,ve){var U=B.message,ne=B.custom;U||(U="Item sent with null or missing arguments.");var X={body:U};ne&&(X.extra=f.merge(ne)),f.set(B,"data.body",{message:X}),ve(null,B)}function N(B){var ie=B.stackInfo.stack;return ie&&0===ie.length&&B._unhandledStackInfo&&B._unhandledStackInfo.stack&&(ie=B._unhandledStackInfo.stack),ie}function q(B,ie,ve){var U=B&&B.data.description,ne=B&&B.custom,X=N(B),W=b.guessErrorClass(ie.message),Z={exception:{class:ee(ie,W[0],ve),message:W[1]}};if(U&&(Z.exception.description=U),X){var re,K,ce,ue,ae,te,de,_e;for(0===X.length&&(Z.exception.stack=ie.rawStack,Z.exception.raw=String(ie.rawException)),Z.frames=[],de=0;de<X.length;++de)K={filename:(re=X[de]).url?f.sanitizeUrl(re.url):"(unknown)",lineno:re.line||null,method:re.func&&"?"!==re.func?re.func:"[anonymous]",colno:re.column},ve.sendFrameUrl&&(K.url=re.url),K.method&&K.method.endsWith&&K.method.endsWith("_rollbar_wrapped")||(ce=ue=ae=null,(te=re.context?re.context.length:0)&&(_e=Math.floor(te/2),ue=re.context.slice(0,_e),ce=re.context[_e],ae=re.context.slice(_e)),ce&&(K.code=ce),(ue||ae)&&(K.context={},ue&&ue.length&&(K.context.pre=ue),ae&&ae.length&&(K.context.post=ae)),re.args&&(K.args=re.args),Z.frames.push(K));Z.frames.reverse(),ne&&(Z.extra=f.merge(ne))}return Z}function ee(B,ie,ve){return B.name?B.name:ve.guessErrorClass?ie:"(unknown)"}S.exports={handleDomException:function(B,ie,ve){if(B.err&&"DOMException"===b.Stack(B.err).name){var U=new Error;U.name=B.err.name,U.message=B.err.message,U.stack=B.err.stack,U.nested=B.err,B.err=U}ve(null,B)},handleItemWithError:function(B,ie,ve){if(B.data=B.data||{},B.err)try{B.stackInfo=B.err._savedStackTrace||b.parse(B.err,B.skipFrames),ie.addErrorContext&&function(U){var ne=[],X=U.err;for(ne.push(X);X.nested||X.cause;)ne.push(X=X.nested||X.cause);f.addErrorContext(U,ne)}(B)}catch(U){A.error("Error while parsing the error object.",U);try{B.message=B.err.message||B.err.description||B.message||String(B.err)}catch(ne){B.message=String(B.err)||String(ne)}delete B.err}ve(null,B)},ensureItemHasSomethingToSay:function(B,ie,ve){B.message||B.stackInfo||B.custom||ve(new Error("No message, stack info, or custom data"),null),ve(null,B)},addBaseInfo:function(B,ie,ve){B.data=f.merge(B.data,{environment:ie.payload&&ie.payload.environment||ie.environment,level:B.level,endpoint:ie.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:B.uuid,notifier:{name:"rollbar-browser-js",version:ie.version},custom:B.custom}),ve(null,B)},addRequestInfo:function(B){return function(ie,ve,U){var ne={};B&&B.location&&(ne.url=B.location.href,ne.query_string=B.location.search);var X="$remote_ip";ve.captureIp?!0!==ve.captureIp&&(X+="_anonymize"):X=null,X&&(ne.user_ip=X),Object.keys(ne).length>0&&f.set(ie,"data.request",ne),U(null,ie)}},addClientInfo:function(B){return function(ie,ve,U){if(!B)return U(null,ie);var ne=B.navigator||{},X=B.screen||{};f.set(ie,"data.client",{runtime_ms:ie.timestamp-B._rollbarStartTime,timestamp:Math.round(ie.timestamp/1e3),javascript:{browser:ne.userAgent,language:ne.language,cookie_enabled:ne.cookieEnabled,screen:{width:X.width,height:X.height}}}),U(null,ie)}},addPluginInfo:function(B){return function(ie,ve,U){if(!B||!B.navigator)return U(null,ie);for(var ne,X=[],W=B.navigator.plugins||[],Z=0,re=W.length;Z<re;++Z)X.push({name:(ne=W[Z]).name,description:ne.description});f.set(ie,"data.client.javascript.plugins",X),U(null,ie)}},addBody:function(B,ie,ve){B.stackInfo?B.stackInfo.traceChain?function(U,ne,X){for(var W=U.stackInfo.traceChain,Z=[],re=W.length,K=0;K<re;K++){var ce=q(U,W[K],ne);Z.push(ce)}f.set(U,"data.body",{trace_chain:Z}),X(null,U)}(B,ie,ve):function(U,ne,X){if(N(U)){var Z=q(U,U.stackInfo,ne);f.set(U,"data.body",{trace:Z}),X(null,U)}else{var re=U.stackInfo,K=b.guessErrorClass(re.message),ce=ee(re,K[0],ne);U.message=ce+": "+K[1],R(U,0,X)}}(B,ie,ve):R(B,0,ve)},addScrubber:function(B){return function(ie,ve,U){B&&(ie.data=B(ie.data,ve.scrubFields||[],ve.scrubPaths||[])),U(null,ie)}}}},215:S=>{"use strict";var E=Object.prototype.hasOwnProperty,M=Object.prototype.toString,f=function(b){if(!b||"[object Object]"!==M.call(b))return!1;var A,R=E.call(b,"constructor"),N=b.constructor&&b.constructor.prototype&&E.call(b.constructor.prototype,"isPrototypeOf");if(b.constructor&&!R&&!N)return!1;for(A in b);return void 0===A||E.call(b,A)};S.exports=function b(){var A,R,N,q,ee,B=Object.create(null),ie=null,ve=arguments.length;for(A=0;A<ve;A++)if(null!=(ie=arguments[A]))for(ee in ie)R=B[ee],B!==(N=ie[ee])&&(N&&f(N)?(q=R&&f(R)?R:{},B[ee]=b(q,N)):void 0!==N&&(B[ee]=N));return B}},263:function(S,E,M){var f,b,A;!function(){"use strict";b=[M(108)],void 0===(A="function"==typeof(f=function(R){var N=/(^|@)\S+:\d+/,q=/^\s*at .*(\S+:\d+|\(native\))/m,ee=/^(eval@)?(\[native code])?$/;return{parse:function(B){if(void 0!==B.stacktrace||void 0!==B["opera#sourceloc"])return this.parseOpera(B);if(B.stack&&B.stack.match(q))return this.parseV8OrIE(B);if(B.stack)return this.parseFFOrSafari(B);throw new Error("Cannot parse given Error object")},extractLocation:function(B){if(-1===B.indexOf(":"))return[B];var ie=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(B.replace(/[()]/g,""));return[ie[1],ie[2]||void 0,ie[3]||void 0]},parseV8OrIE:function(B){return B.stack.split("\n").filter(function(ie){return!!ie.match(q)},this).map(function(ie){ie.indexOf("(eval ")>-1&&(ie=ie.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var ve=ie.replace(/^\s+/,"").replace(/\(eval code/g,"("),U=ve.match(/ (\((.+):(\d+):(\d+)\)$)/),ne=(ve=U?ve.replace(U[0],""):ve).split(/\s+/).slice(1),X=this.extractLocation(U?U[1]:ne.pop()),W=ne.join(" ")||void 0,Z=["eval","<anonymous>"].indexOf(X[0])>-1?void 0:X[0];return new R({functionName:W,fileName:Z,lineNumber:X[1],columnNumber:X[2],source:ie})},this)},parseFFOrSafari:function(B){return B.stack.split("\n").filter(function(ie){return!ie.match(ee)},this).map(function(ie){if(ie.indexOf(" > eval")>-1&&(ie=ie.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===ie.indexOf("@")&&-1===ie.indexOf(":"))return new R({functionName:ie});var ve=/((.*".+"[^@]*)?[^@]*)(?:@)/,U=ie.match(ve),ne=U&&U[1]?U[1]:void 0,X=this.extractLocation(ie.replace(ve,""));return new R({functionName:ne,fileName:X[0],lineNumber:X[1],columnNumber:X[2],source:ie})},this)},parseOpera:function(B){return!B.stacktrace||B.message.indexOf("\n")>-1&&B.message.split("\n").length>B.stacktrace.split("\n").length?this.parseOpera9(B):B.stack?this.parseOpera11(B):this.parseOpera10(B)},parseOpera9:function(B){for(var ie=/Line (\d+).*script (?:in )?(\S+)/i,ve=B.message.split("\n"),U=[],ne=2,X=ve.length;ne<X;ne+=2){var W=ie.exec(ve[ne]);W&&U.push(new R({fileName:W[2],lineNumber:W[1],source:ve[ne]}))}return U},parseOpera10:function(B){for(var ie=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,ve=B.stacktrace.split("\n"),U=[],ne=0,X=ve.length;ne<X;ne+=2){var W=ie.exec(ve[ne]);W&&U.push(new R({functionName:W[3]||void 0,fileName:W[2],lineNumber:W[1],source:ve[ne]}))}return U},parseOpera11:function(B){return B.stack.split("\n").filter(function(ie){return!!ie.match(N)&&!ie.match(/^Error created at/)},this).map(function(ie){var ve,U=ie.split("@"),ne=this.extractLocation(U.pop()),X=U.shift()||"",W=X.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;X.match(/\(([^)]*)\)/)&&(ve=X.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var Z=void 0===ve||"[arguments not available]"===ve?void 0:ve.split(",");return new R({functionName:W,args:Z,fileName:ne[0],lineNumber:ne[1],columnNumber:ne[2],source:ie})},this)}}})?f.apply(E,b):f)||(S.exports=A)}()},306:(S,E,M)=>{"use strict";M(738);var f=M(175),b=M(539);S.exports={error:function(){var A=Array.prototype.slice.call(arguments,0);A.unshift("Rollbar:"),f.ieVersion()<=8?console.error(b.formatArgsAsString(A)):console.error.apply(console,A)},info:function(){var A=Array.prototype.slice.call(arguments,0);A.unshift("Rollbar:"),f.ieVersion()<=8?console.info(b.formatArgsAsString(A)):console.info.apply(console,A)},log:function(){var A=Array.prototype.slice.call(arguments,0);A.unshift("Rollbar:"),f.ieVersion()<=8?console.log(b.formatArgsAsString(A)):console.log.apply(console,A)}}},335:(S,E,M)=>{"use strict";var f=M(513),b=M(744),A=M(777),R=M(539);function N(B,ie,ve,U,ne){this.options=R.merge(B),this.logger=ve,N.rateLimiter.configureGlobal(this.options),N.rateLimiter.setPlatformOptions(ne,this.options),this.api=ie,this.queue=new b(N.rateLimiter,ie,ve,this.options);var X=this.options.tracer||null;ee(X)?(this.tracer=X,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new A(this.queue,this.options),this.telemeter=U,q(B),this.lastError=null,this.lastErrorHash="none"}function q(B){B.stackTraceLimit&&(Error.stackTraceLimit=B.stackTraceLimit)}function ee(B){if(!B||!B.scope||"function"!=typeof B.scope)return!1;var ie=B.scope();return!(!ie||!ie.active||"function"!=typeof ie.active)}N.rateLimiter=new f({maxItems:0,itemsPerMinute:60}),N.prototype.global=function(B){return N.rateLimiter.configureGlobal(B),this},N.prototype.configure=function(B,ie){var U={};ie&&(U={payload:ie}),this.options=R.merge(this.options,B,U);var ne=this.options.tracer||null;return ee(ne)?(this.tracer=ne,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),q(B),this.global(this.options),ee(B.tracer)&&(this.tracer=B.tracer),this},N.prototype.log=function(B){var ie=this._defaultLogLevel();return this._log(ie,B)},N.prototype.debug=function(B){this._log("debug",B)},N.prototype.info=function(B){this._log("info",B)},N.prototype.warn=function(B){this._log("warning",B)},N.prototype.warning=function(B){this._log("warning",B)},N.prototype.error=function(B){this._log("error",B)},N.prototype.critical=function(B){this._log("critical",B)},N.prototype.wait=function(B){this.queue.wait(B)},N.prototype.captureEvent=function(B,ie,ve){return this.telemeter&&this.telemeter.captureEvent(B,ie,ve)},N.prototype.captureDomContentLoaded=function(B){return this.telemeter&&this.telemeter.captureDomContentLoaded(B)},N.prototype.captureLoad=function(B){return this.telemeter&&this.telemeter.captureLoad(B)},N.prototype.buildJsonPayload=function(B){return this.api.buildJsonPayload(B)},N.prototype.sendJsonPayload=function(B){this.api.postJsonPayload(B)},N.prototype._log=function(B,ie){var ve;if(ie.callback&&(ve=ie.callback,delete ie.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(ie)){
1if(ve){var U=new Error("ignored identical item");U.item=ie,ve(U)}}else try{this._addTracingInfo(ie),ie.level=ie.level||B,this.telemeter&&this.telemeter._captureRollbarItem(ie),ie.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(ie,ve)}catch(ne){ve&&ve(ne),this.logger.error(ne)}},N.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},N.prototype._sameAsLastError=function(B){if(!B._isUncaught)return!1;var ve,ie=((ve=B).message||"")+"::"+((ve.err||{}).stack||String(ve.err));return this.lastErrorHash===ie||(this.lastError=B.err,this.lastErrorHash=ie,!1)},N.prototype._addTracingInfo=function(B){if(this.tracer){var ie=this.tracer.scope().active();if(function(ne){if(!ne||!ne.context||"function"!=typeof ne.context)return!1;var X=ne.context();return!!(X&&X.toSpanId&&X.toTraceId&&"function"==typeof X.toSpanId&&"function"==typeof X.toTraceId)}(ie)){ie.setTag("rollbar.error_uuid",B.uuid),ie.setTag("rollbar.has_error",!0),ie.setTag("error",!0),ie.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${B.uuid}`),ie.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${B.uuid}`);var ve=ie.context().toSpanId(),U=ie.context().toTraceId();B.custom?(B.custom.opentracing_span_id=ve,B.custom.opentracing_trace_id=U):B.custom={opentracing_span_id:ve,opentracing_trace_id:U}}}},S.exports=N},342:(S,E,M)=>{"use strict";var f=M(263),b=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function R(q){var ee={};return ee._stackFrame=q,ee.url=q.fileName,ee.line=q.lineNumber,ee.func=q.functionName,ee.column=q.columnNumber,ee.args=q.args,ee.context=null,ee}function N(q,ee){return{stack:function(){var U=[];ee=ee||0;try{U=f.parse(q)}catch{U=[]}for(var ne=[],X=ee;X<U.length;X++)ne.push(new R(U[X]));return ne}(),message:q.message,name:(B=q,ie=B.name&&B.name.length&&B.name,ve=B.constructor.name&&B.constructor.name.length&&B.constructor.name,ie&&ve?"Error"===ie?ve:ie:ie||ve),rawStack:q.stack,rawException:q};var B,ie,ve}S.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(q){if(!q||!q.match)return["Unknown error. There was no error message to display.",""];var ee=q.match(b),B="(unknown)";return ee&&(q=(q=q.replace((ee[ee.length-2]||"")+(B=ee[ee.length-1])+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[B,q]},gatherContext:function A(){return null},parse:function(q,ee){var B=q;if(B.nested||B.cause){for(var ie=[];B;)ie.push(new N(B,ee)),B=B.nested||B.cause,ee=0;return ie[0].traceChain=ie,ie[0]}return new N(B,ee)},Stack:N,Frame:R}},352:(S,E,M)=>{"use strict";var f=M(539),b=100;function A(N){this.queue=[],this.options=f.merge(N),this.maxQueueSize=Math.max(0,Math.min(this.options.maxTelemetryEvents||b,b))}function R(N,q){return q||{error:"error",manual:"info"}[N]||"info"}A.prototype.configure=function(N){this.options=f.merge(this.options,N);var B=Math.max(0,Math.min(this.options.maxTelemetryEvents||b,b)),ie=0;this.queue.length>B&&(ie=this.queue.length-B),this.maxQueueSize=B,this.queue.splice(0,ie)},A.prototype.copyEvents=function(){var N=Array.prototype.slice.call(this.queue,0);if(f.isFunction(this.options.filterTelemetry))try{for(var q=N.length;q--;)this.options.filterTelemetry(N[q])&&N.splice(q,1)}catch{this.options.filterTelemetry=null}return N},A.prototype.capture=function(N,q,ee,B,ie){var ve={level:R(N,ee),type:N,timestamp_ms:ie||f.now(),body:q,source:"client"};B&&(ve.uuid=B);try{if(f.isFunction(this.options.filterTelemetry)&&this.options.filterTelemetry(ve))return!1}catch{this.options.filterTelemetry=null}return this.push(ve),ve},A.prototype.captureEvent=function(N,q,ee,B){return this.capture(N,q,ee,B)},A.prototype.captureError=function(N,q,ee,B){var ie={message:N.message||String(N)};return N.stack&&(ie.stack=N.stack),this.capture("error",ie,q,ee,B)},A.prototype.captureLog=function(N,q,ee,B){return this.capture("log",{message:N},q,ee,B)},A.prototype.captureNetwork=function(N,q,ee,B){q=q||"xhr",N.subtype=N.subtype||q,B&&(N.request=B);var ie=this.levelFromStatus(N.status_code);return this.capture("network",N,ie,ee)},A.prototype.levelFromStatus=function(N){return N>=200&&N<400?"info":0===N||N>=400?"error":"info"},A.prototype.captureDom=function(N,q,ee,B,ie){var ve={subtype:N,element:q};return void 0!==ee&&(ve.value=ee),void 0!==B&&(ve.checked=B),this.capture("dom",ve,"info",ie)},A.prototype.captureNavigation=function(N,q,ee){return this.capture("navigation",{from:N,to:q},"info",ee)},A.prototype.captureDomContentLoaded=function(N){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,N&&N.getTime())},A.prototype.captureLoad=function(N){return this.capture("navigation",{subtype:"load"},"info",void 0,N&&N.getTime())},A.prototype.captureConnectivityChange=function(N,q){return this.captureNetwork({change:N},"connectivity",q)},A.prototype._captureRollbarItem=function(N){if(this.options.includeItems
1InTelemetry)return N.err?this.captureError(N.err,N.level,N.uuid,N.timestamp):N.message?this.captureLog(N.message,N.level,N.uuid,N.timestamp):N.custom?this.capture("log",N.custom,N.level,N.uuid,N.timestamp):void 0},A.prototype.push=function(N){this.queue.push(N),this.queue.length>this.maxQueueSize&&this.queue.shift()},S.exports=A},356:(S,E,M)=>{"use strict";var f=M(539),b=M(12);function A(R,N){var q=N.split("."),ee=q.length-1;try{for(var B=0;B<=ee;++B)B<ee?R=R[q[B]]:R[q[B]]=f.redact()}catch{}}S.exports=function(R,N,q){if(N=N||[],q)for(var ee=0;ee<q.length;++ee)A(R,q[ee]);var B=function(U){for(var X=[],W=0;W<U.length;++W)X.push(new RegExp("^\\[?(%5[bB])?"+U[W]+"\\[?(%5[bB])?\\]?(%5[dD])?$","i"));return X}(N),ie=function(U){for(var X=[],W=0;W<U.length;++W)X.push(new RegExp("(\\[?(%5[bB])?"+U[W]+"\\[?(%5[bB])?\\]?(%5[dD])?=)([^&\\n]+)","igm"));return X}(N);function ve(U,ne){return ne+f.redact()}return b(R,function U(ne,X,W){var Z=function(re,K){var ce;for(ce=0;ce<B.length;++ce)if(B[ce].test(re)){K=f.redact();break}return K}(ne,X);return Z===X?f.isType(X,"object")||f.isType(X,"array")?b(X,U,W):function(re){var K;if(f.isType(re,"string"))for(K=0;K<ie.length;++K)re=re.replace(ie[K],ve);return re}(Z):Z})}},364:S=>{"use strict";S.exports=function(E,M,f,b,A){var R=E[M];E[M]=f(R),b&&b[A].push([E,M,R])}},424:S=>{"use strict";function E(M,f,b){if(f.hasOwnProperty&&f.hasOwnProperty("addEventListener")){for(var A=f.addEventListener;A._rollbarOldAdd&&A.belongsToShim;)A=A._rollbarOldAdd;var R=function(ee,B,ie){A.call(this,ee,M.wrap(B),ie)};R._rollbarOldAdd=A,R.belongsToShim=b,f.addEventListener=R;for(var N=f.removeEventListener;N._rollbarOldRemove&&N.belongsToShim;)N=N._rollbarOldRemove;var q=function(ee,B,ie){N.call(this,ee,B&&B._rollbar_wrapped||B,ie)};q._rollbarOldRemove=N,q.belongsToShim=b,f.removeEventListener=q}}S.exports=function(M,f,b){if(M){var A,R,N="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(A=0;A<N.length;++A)M[R=N[A]]&&M[R].prototype&&E(f,M[R].prototype,b)}}},435:(S,E,M)=>{"use strict";var f=M(538);S.exports=f},440:(S,E,M)=>{"use strict";var f=M(539),b=M(306);function A(R,N){var q=new Error(R);return q.code=N||"ENOTFOUND",q}S.exports=function(R,N,q,ee,B,ie,ve){var U;if(!(U=ie?ie():function(){var W,Z,re=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],K=re.length;for(Z=0;Z<K;Z++)try{W=re[Z]();break}catch{}return W}()))return B(new Error("No way to send a request"));try{try{var ne=function(){try{if(ne&&4===U.readyState){ne=void 0;var W=f.jsonParse(U.responseText);if((K=U)&&K.status&&200===K.status)return void B(W.error,W.value);(ce=U)&&f.isType(ce.status,"number")&&ce.status>=400&&ce.status<600?(403===U.status&&b.error(W.value&&W.value.message),B(new Error(String(U.status)))):B(A("XHR response had no status code (likely connection failure)"))}}catch(ce){var re;re=ce&&ce.stack?ce:new Error(ce),B(re)}var ce,K};U.open(q,N,!0),U.setRequestHeader&&(U.setRequestHeader("Content-Type","application/json"),U.setRequestHeader("X-Rollbar-Access-Token",R)),f.isFiniteNumber(ve)&&(U.timeout=ve),U.onreadystatechange=ne,U.send(ee)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return B(new Error("No window available during request, unknown environment"));"http:"===window.location.href.substring(0,5)&&"https"===N.substring(0,5)&&(N="http"+N.substring(5));var X=new XDomainRequest;X.onprogress=function(){},X.ontimeout=function(){B(A("Request timed out","ETIMEDOUT"))},X.onerror=function(){B(new Error("Error during request"))},X.onload=function(){var Z=f.jsonParse(X.responseText);B(Z.error,Z.value)},X.open(q,N,!0),X.send(ee)}else B(new Error("Cannot find a method to transport a request"))}}catch(W){B(W)}}},441:S=>{"use strict";S.exports={version:"2.26.5",endpoint:"api.rollbar.com/api/1/item/",logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",maxItems:0,itemsPerMin:60}},497:(S,E,M)=>{"use strict";var f=M(539),b=M(534),A=M(440);function R(N){this.truncation=N}R.prototype.get=function(N,q,ee,B,ie){B&&f.isFunction(B)||(B=function(){}),f.addParamsAndAccessTokenToPath(N,q,ee);var ve=f.formatUrl(q);
1this._makeZoneRequest(N,ve,"GET",null,B,ie,q.timeout,q.transport)},R.prototype.post=function(N,q,ee,B,ie){if(B&&f.isFunction(B)||(B=function(){}),!ee)return B(new Error("Cannot send empty request"));var ve;if((ve=this.truncation?this.truncation.truncate(ee):f.stringify(ee)).error)return B(ve.error);var U=ve.value,ne=f.formatUrl(q);this._makeZoneRequest(N,ne,"POST",U,B,ie,q.timeout,q.transport)},R.prototype.postJsonPayload=function(N,q,ee,B,ie){B&&f.isFunction(B)||(B=function(){});var ve=f.formatUrl(q);this._makeZoneRequest(N,ve,"POST",ee,B,ie,q.timeout,q.transport)},R.prototype._makeZoneRequest=function(){var N=typeof window<"u"&&window||void 0!==B&&B,q=N&&N.Zone&&N.Zone.root,ee=Array.prototype.slice.call(arguments);if(q){var B=this;q.run(function(){B._makeRequest.apply(void 0,ee)})}else this._makeRequest.apply(void 0,ee)},R.prototype._makeRequest=function(N,q,ee,B,ie,ve,U,ne){if(typeof RollbarProxy<"u")return X=B,W=ie,void(new RollbarProxy).sendJsonPayload(X,function(Z){},function(Z){W(new Error(Z))});var X,W;"fetch"===ne?b(N,q,ee,B,ie,U):A(N,q,ee,B,ie,ve,U)},S.exports=R},513:(S,E,M)=>{"use strict";var f=M(539);function b(N){this.startTime=f.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(N)}function A(N,q,ee){return!N.ignoreRateLimit&&q>=1&&ee>q}function R(N,q,ee,B,ie,ve,U){var X,W,ue,ne=null;return ee&&(ee=new Error(ee)),ee||B||(ue={body:{message:{body:U?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:ie,itemsPerMinute:ve}}},language:"javascript",environment:(W=q).environment||W.payload&&W.payload.environment,notifier:{version:W.notifier&&W.notifier.version||W.version}},"browser"===(X=N)?(ue.platform="browser",ue.framework="browser-js",ue.notifier.name="rollbar-browser-js"):"server"===X?(ue.framework=W.framework||"node-js",ue.notifier.name=W.notifier.name):"react-native"===X&&(ue.framework=W.framework||"react-native",ue.notifier.name=W.notifier.name),ne=ue),{error:ee,shouldSend:B,payload:ne}}b.globalSettings={startTime:f.now(),maxItems:void 0,itemsPerMinute:void 0},b.prototype.configureGlobal=function(N){void 0!==N.startTime&&(b.globalSettings.startTime=N.startTime),void 0!==N.maxItems&&(b.globalSettings.maxItems=N.maxItems),void 0!==N.itemsPerMinute&&(b.globalSettings.itemsPerMinute=N.itemsPerMinute)},b.prototype.shouldSend=function(N,q){var ee=(q=q||f.now())-this.startTime;(ee<0||ee>=6e4)&&(this.startTime=q,this.perMinCounter=0);var B=b.globalSettings.maxItems,ie=b.globalSettings.itemsPerMinute;if(A(N,B,this.counter))return R(this.platform,this.platformOptions,B+" max items reached",!1);if(A(N,ie,this.perMinCounter))return R(this.platform,this.platformOptions,ie+" items per minute reached",!1);this.counter++,this.perMinCounter++;var ve=!A(N,B,this.counter),U=ve;return ve=ve&&!A(N,ie,this.perMinCounter),R(this.platform,this.platformOptions,null,ve,B,ie,U)},b.prototype.setPlatformOptions=function(N,q){this.platform=N,this.platformOptions=q},S.exports=b},534:(S,E,M)=>{"use strict";var f=M(306),b=M(539);S.exports=function(A,R,N,q,ee,B){var ie,ve;b.isFiniteNumber(B)&&(ie=new AbortController,ve=setTimeout(function(){ie.abort()},B)),fetch(R,{method:N,headers:{"Content-Type":"application/json","X-Rollbar-Access-Token":A,signal:ie&&ie.signal},body:q}).then(function(U){return ve&&clearTimeout(ve),U.json()}).then(function(U){ee(null,U)}).catch(function(U){f.error(U.message),ee(U)})}},537:S=>{"use strict";S.exports={scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"]}},538:S=>{S.exports=function(E){var M,f,b,A,R,N,q,ee,B,ie,ve,U,ne,X=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function W(ce){return ce<10?"0"+ce:ce}function Z(){return this.valueOf()}function re(ce){return X.lastIndex=0,X.test(ce)?'"'+ce.replace(X,function(ue){var ae=b[ue];return"string"==typeof ae?ae:"\\u"+("0000"+ue.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+ce+'"'}function K(ce,ue){var ae,te,de,_e,we,De=M,Ie=ue[ce];switch(Ie&&"object"==typeof Ie&&"function"==typeof Ie.toJSON&&(Ie=Ie.toJSON(ce)),"function"==typeof A&&(Ie=A.call(ue,ce,Ie)),typeof Ie){case"string":return re(Ie);case"number":return isFinite(Ie)?String(Ie):"null";case"boolean":case"null":return String(Ie);case"object":if(!Ie)return"null";if(M+=f,we=[],"[object Array]"===Object.prototype.toString.apply(Ie)){for(_e=Ie.length,ae=0;ae<_e;ae+=1)we[ae]=K(ae,Ie)||"null";return de=0===we.length?"[]":M?"[\n"+M+we.join(",\n"+M)+"\n"+De+"]":"["+we.join(",")+"]",M=De,de}if(A&&"object"==typeof A)for(_e=A.length,ae=0;ae<_e;ae+=1)"string"==typeof A[ae]&&(de=K(te=A[ae],Ie))&&we.push(re(te)+(M?": ":":")+de);else for(te in Ie)Object.prototype.hasOwnProperty.call(Ie,te)&&(de=K(te,Ie))&&we.push(re(te)+(M?": ":":")+de);return de=0===we.length?"{}":M?"{\n"+M+we.join(",\n"+M)+"\n"+De+"}":"{"+we.join(",")+"}",M=De,de}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+W(this.getUTCMonth()+1)+"-"+W(this.getUTCDate())+"T"+W(this.getUTCHours())+":"+W(this.getUTCMinutes())+":"+W(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=Z,Number.prototype.toJSON=Z,String.prototype.toJSON=Z),"function"!=typeof E.stringify&&(b={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},E.stringify=function(ce,ue,ae){var te;if(M="",f="","number"==typeof ae)for(te=0;te<ae;te+=1)f+=" ";else"string"==typeof ae&&(f=ae);if(A=ue,ue&&"function"!=typeof ue&&("object"!=typeof ue||"number"!=typeof ue.length))throw new Error("JSON.stringify");return K("",{"":ce})}),"function"!=typeof E.parse&&(E.parse=(ie={"\\":"\\",'"':'"',"/":"/",t:"\t",n:"\n",r:"\r",f:"\f",b:"\b"},ve={go:function(){R="ok"},firstokey:function(){ee=B,R="colon"},okey:function(){ee=B,R="colon"},ovalue:function(){R="ocomma"},firstavalue:function(){R="acomma"},avalue:function(){R="acomma"}},U={go:function(){R="ok"},ovalue:function(){R="ocomma"},firstavalue:function(){R="acomma"},avalue:function(){R="acomma"}},ne={"{":{go:function(){N.push({state:"ok"}),q={},R="firstokey"},ovalue:function(){N.push({container:q,state:"ocomma",key:ee}),q={},R="firstokey"},firstavalue:function(){N.push({container:q,state:"acomma"}),q={},R="firstokey"},avalue:function(){N.push({container:q,state:"acomma"}),q={},R="firstokey"}},"}":{firstokey:function(){var ce=N.pop();B=q,q=ce.container,ee=ce.key,R=ce.state},ocomma:function(){var ce=N.pop();q[ee]=B,B=q,q=ce.container,ee=ce.key,R=ce.state}},"[":{go:function(){N.push({state:"ok"}),q=[],R="firstavalue"},ovalue:function(){N.push({container:q,state:"ocomma",key:ee}),q=[],R="firstavalue"},firstavalue:function(){N.push({container:q,state:"acomma"}),q=[],R="firstavalue"},avalue:function(){N.push({container:q,state:"acomma"}),q=[],R="firstavalue"}},"]":{firstavalue:function(){var ce=N.pop();B=q,q=ce.container,ee=ce.key,R=ce.state},acomma:function(){var ce=N.pop();q.push(B),B=q,q=ce.container,ee=ce.key,R=ce.state}},":":{colon:function(){if(Object.hasOwnProperty.call(q,ee))throw new SyntaxError("Duplicate key '"+ee+'"');R="ovalue"}},",":{ocomma:function(){q[ee]=B,R="okey"},acomma:function(){q.push(B),R="avalue"}},true:{go:function(){B=!0,R="ok"},ovalue:function(){B=!0,R="ocomma"},firstavalue:function(){B=!0,R="acomma"},avalue:function(){B=!0,R="acomma"}},false:{go:function(){B=!1,R="ok"},ovalue:function(){B=!1,R="ocomma"},firstavalue:function(){B=!1,R="acomma"},avalue:function(){B=!1,R="acomma"}},null:{go:function(){B=null,R="ok"},ovalue:function(){B=null,R="ocomma"},firstavalue:function(){B=null,R="acomma"},avalue:function(){B=null,R="acomma"}}},function(ce,ue){var ae,de=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;R="go",N=[];try{for(;ae=de.exec(ce);)ae[1]?ne[ae[1]][R]():ae[2]?(B=+ae[2],U[R]()):(B=ae[3].replace(/\\(?:u(.{4})|([^u]))/g,function(_e,we,De){return we?String.fromCharCode(parseInt(we,16)):ie[De]}),ve[R]()),ce=ce.slice(ae[0].length)}catch(_e){R=_e}if("ok"!==R||/[^\u0020\t\n\r]/.test(ce))throw R instanceof SyntaxError?R:new SyntaxError("JSON");return"function"==typeof ue?function _e(we,De){var Ie,Me,Ze=we[De];if(Ze&&"object"==typeof Ze)for(Ie in B)Object.prototype.hasOwnProperty.call(Ze,Ie)&&(void 0!==(Me=_e(Ze,Ie))?Ze[Ie]=Me:delete Ze[Ie]);return ue.call(we,De,Ze)}({"":B},""):B}))}},539:(S,E,M)=>{"use strict";var f=M(215),b={};function A(K,ce){return ce===R(K)}function R(K){var ce=typeof K;return"object"!==ce?ce:K?K instanceof Error?"error":{}.toString.call(K).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function N(K){return A(K,"function")}function q(K){var ce=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),ue=RegExp("^"+ce+"$");return ee(K)&&ue.test(K)}function ee(K){var ce=typeof K;return null!=K&&("object"==ce||"function"==ce)}function B(){var K=re();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(ce){var ue=(K+16*Math.random())%16|0;return K=Math.floor(K/16),("x"===ce?ue:7&ue|8).toString(16)})}var ie={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function ve(K,ce){var ue,ae;try{ue=b.stringify(K)}catch(te){if(ce&&N(ce))try{ue=ce(K)}catch(de){ae=de}else ae=te}return{error:ae,value:ue}}function U(K,ce){return function(ue,ae){try{ce(ue,ae)}catch(te){K.error(te)}}}function ne(K){return function ce(ue,ae){var te,de,_e,we={};try{for(de in ue)(te=ue[de])&&(A(te,"object")||A(te,"array"))?ae.includes(te)?we[de]="Removed circular reference: "+R(te):((_e=ae.slice()).push(te),we[de]=ce(te,_e)):we[de]=te}catch(De){we="Failed cloning custom data: "+De.message}return we}(K,[K])}var X=["log","network","dom","navigation","error","manual"],W=["critical","error","warning","info","debug"];function Z(K,ce){for(var ue=0;ue<K.length;++ue)if(K[ue]===ce)return!0;return!1}function re(){return Date.now?+Date.now():+new Date}S.exports={addParamsAndAccessTokenToPath:function(K,ce,ue){(ue=ue||{}).access_token=K;var ae,te=[];for(ae in ue)Object.prototype.hasOwnProperty.call(ue,ae)&&te.push([ae,ue[ae]].join("="));var de="?"+te.sort().join("&");(ce=ce||{}).path=ce.path||"";var _e,we=ce.path.indexOf("?"),De=ce.path.indexOf("#");ce.path=-1!==we&&(-1===De||De>we)?(_e=ce.path).substring(0,we)+de+"&"+_e.substring(we+1):-1!==De?(_e=ce.path).substring(0,De)+de+_e.substring(De):ce.path+de},createItem:function(K,ce,ue,ae,te){for(var de,_e,we,De,Ie,Me,Ze=[],Ye=[],Je=0,vt=K.length;Je<vt;++Je){var $t=R(Me=K[Je]);switch(Ye.push($t),$t){case"undefined":break;case"string":de?Ze.push(Me):de=Me;break;case"function":De=U(ce,Me);break;case"date":Ze.push(Me);break;case"error":case"domexception":case"exception":_e?Ze.push(Me):_e=Me;break;case"object":case"array":if(Me instanceof Error||typeof DOMException<"u"&&Me instanceof DOMException){_e?Ze.push(Me):_e=Me;break}if(ae&&"object"===$t&&!Ie){for(var Et=0,xt=ae.length;Et<xt;++Et)if(void 0!==Me[ae[Et]]){Ie=Me;break}if(Ie)break}we?Ze.push(Me):we=Me;break;default:if(Me instanceof Error||typeof DOMException<"u"&&Me instanceof DOMException){_e?Ze.push(Me):_e=Me;break}
1Ze.push(Me)}}we&&(we=ne(we)),Ze.length>0&&(we||(we=ne({})),we.extraArgs=ne(Ze));var ke,qe,Ot={message:de,err:_e,custom:we,timestamp:re(),callback:De,notifier:ue,diagnostic:{},uuid:B()};return ke=Ot,(qe=we)&&void 0!==qe.level&&(ke.level=qe.level,delete qe.level),qe&&void 0!==qe.skipFrames&&(ke.skipFrames=qe.skipFrames,delete qe.skipFrames),ae&&Ie&&(Ot.request=Ie),te&&(Ot.lambdaContext=te),Ot._originalArgs=K,Ot.diagnostic.original_arg_types=Ye,Ot},addErrorContext:function(K,ce){var ue=K.data.custom||{},ae=!1;try{for(var te=0;te<ce.length;++te)ce[te].hasOwnProperty("rollbarContext")&&(ue=f(ue,ne(ce[te].rollbarContext)),ae=!0);ae&&(K.data.custom=ue)}catch(de){K.diagnostic.error_context="Failed: "+de.message}},createTelemetryEvent:function(K){for(var ce,ue,ae,te,de=0,_e=K.length;de<_e;++de)switch(R(te=K[de])){case"string":!ce&&Z(X,te)?ce=te:!ae&&Z(W,te)&&(ae=te);break;case"object":ue=te}return{type:ce||"manual",metadata:ue||{},level:ae}},filterIp:function(K,ce){if(K&&K.user_ip&&!0!==ce){var ue=K.user_ip;if(ce)try{var ae;if(-1!==ue.indexOf("."))(ae=ue.split(".")).pop(),ae.push("0"),ue=ae.join(".");else if(-1!==ue.indexOf(":")){if((ae=ue.split(":")).length>2){var te=ae.slice(0,3),de=te[2].indexOf("/");-1!==de&&(te[2]=te[2].substring(0,de)),ue=te.concat("0000:0000:0000:0000:0000").join(":")}}else ue=null}catch{ue=null}else ue=null;K.user_ip=ue}},formatArgsAsString:function(K){var ce,ue,ae,te=[];for(ce=0,ue=K.length;ce<ue;++ce){switch(R(ae=K[ce])){case"object":(ae=(ae=ve(ae)).error||ae.value).length>500&&(ae=ae.substr(0,497)+"...");break;case"null":ae="null";break;case"undefined":ae="undefined";break;case"symbol":ae=ae.toString()}te.push(ae)}return te.join(" ")},formatUrl:function(K,ce){if(!(ce=ce||K.protocol)&&K.port&&(80===K.port?ce="http:":443===K.port&&(ce="https:")),!K.hostname)return null;var ue=(ce=ce||"https:")+"//"+K.hostname;return K.port&&(ue=ue+":"+K.port),K.path&&(ue+=K.path),ue},get:function(K,ce){if(K){var ue=ce.split("."),ae=K;try{for(var te=0,de=ue.length;te<de;++te)ae=ae[ue[te]]}catch{ae=void 0}return ae}},handleOptions:function(K,ce,ue,ae){var de,_e,te=f(K,ce,ue);return _e=ae,(de=te).hostWhiteList&&!de.hostSafeList&&(de.hostSafeList=de.hostWhiteList,de.hostWhiteList=void 0,_e&&_e.log("hostWhiteList is deprecated. Use hostSafeList.")),de.hostBlackList&&!de.hostBlockList&&(de.hostBlockList=de.hostBlackList,de.hostBlackList=void 0,_e&&_e.log("hostBlackList is deprecated. Use hostBlockList.")),te=de,!ce||ce.overwriteScrubFields||ce.scrubFields&&(te.scrubFields=(K.scrubFields||[]).concat(ce.scrubFields)),te},isError:function(K){return A(K,"error")||A(K,"exception")},isFiniteNumber:function(K){return Number.isFinite(K)},isFunction:N,isIterable:function(K){var ce=R(K);return"object"===ce||"array"===ce},isNativeFunction:q,isObject:ee,isString:function(K){return"string"==typeof K||K instanceof String},isType:A,isPromise:function(K){return ee(K)&&A(K.then,"function")},jsonParse:function(K){var ce,ue;try{ce=b.parse(K)}catch(ae){ue=ae}return{error:ue,value:ce}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(K,ce,ue,ae,te,de,_e,we){var De={url:ce||"",line:ue,column:ae};De.func=we.guessFunctionName(De.url,De.line),De.context=we.gatherContext(De.url,De.line);var Ie=typeof document<"u"&&document&&document.location&&document.location.href,Me=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:de,message:te?String(te):K||_e,url:Ie,stack:[De],useragent:Me}},merge:f,now:re,redact:function(){return"********"},RollbarJSON:b,sanitizeUrl:function(K){var ce=function(ue){if(A(ue,"string")){for(var ae=ie,te=ae.parser[ae.strictMode?"strict":"loose"].exec(ue),de={},_e=0,we=ae.key.length;_e<we;++_e)de[ae.key[_e]]=te[_e]||"";return de[ae.q.name]={},de[ae.key[12]].replace(ae.q.parser,function(De,Ie,Me){Ie&&(de[ae.q.name][Ie]=Me)}),de}}(K);return ce?(""===ce.anchor&&(ce.source=ce.source.replace("#","")),K=ce.source.replace("?"+ce.query,"")):"(unknown)"},set:function(K,ce,ue){if(K){Object.setPrototypeOf(K,null);var ae=ce.split("."),te=ae.length;if(!(te<1))if(1!==te)try{for(var de=K[ae[0]]||{},_e=de,we=1;we<te-1;++we)de[ae[we]]=de[ae[we]]||{},de=de[ae[we]];de[ae[te-1]]=ue,K[ae[0]]=_e}catch{return}else K[ae[0]]=ue}},setupJSON:function(K){N(b.stringify)&&N(b.parse)||(A(JSON,"undefined")||(K?(q(JSON.stringify)&&(b.stringify=JSON.stringify),q(JSON.parse)&&(b.parse=JSON.parse)):(N(JSON.stringify)&&(b.stringify=JSON.stringify),N(JSON.parse)&&(b.parse=JSON.parse))),N(b.stringify)&&N(b.parse)||K&&K(b))},stringify:ve,maxByteSize:function(K){for(var ce=0,ue=K.length,ae=0;ae<ue;ae++){var te=K.charCodeAt(ae);te<128?ce+=1:te<2048?ce+=2:te<65536&&(ce+=3)}return ce}
1,typeName:R,uuid4:B}},554:(S,E,M)=>{"use strict";var f=M(944),b=typeof window<"u"&&window._rollbarConfig,A=b&&b.globalAlias||"Rollbar",R=typeof window<"u"&&window[A]&&"function"==typeof window[A].shimId&&void 0!==window[A].shimId();if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=(new Date).getTime()),!R&&b){var N=new f(b);window[A]=N}else typeof window<"u"?(window.rollbar=f,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=f,self._rollbarDidLoad=!0);S.exports=f},581:(S,E,M)=>{"use strict";var f=M(539);function b(R,N,q){if(!R)return!q;var ee,ie=R.frames;if(!ie||0===ie.length)return!q;for(var ve=N.length,U=ie.length,ne=0;ne<U;ne++){if(!f.isType(ee=ie[ne].filename,"string"))return!q;for(var X=0;X<ve;X++)if(new RegExp(N[X]).test(ee))return!0}return!1}function A(R,N,q,ee){var B,ie,ve=!1;"blocklist"===q&&(ve=!0);try{if(B=ve?N.hostBlockList:N.hostSafeList,ie=f.get(R,"body.trace_chain")||[f.get(R,"body.trace")],!B||0===B.length||0===ie.length||!ie[0])return!ve;for(var U=ie.length,ne=0;ne<U;ne++)if(b(ie[ne],B,ve))return!0}catch(W){ve?N.hostBlockList=null:N.hostSafeList=null;var X=ve?"hostBlockList":"hostSafeList";return ee.error("Error while reading your configuration's "+X+" option. Removing custom "+X+".",W),!ve}return!1}S.exports={checkLevel:function(R,N){return!((f.LEVELS[R.level]||0)<(f.LEVELS[N.reportLevel]||0))},userCheckIgnore:function(R){return function(N,q){var ee=!!N._isUncaught;delete N._isUncaught;var B=N._originalArgs;delete N._originalArgs;try{f.isFunction(q.onSendCallback)&&q.onSendCallback(ee,B,N)}catch(ie){q.onSendCallback=null,R.error("Error while calling onSendCallback, removing",ie)}try{if(f.isFunction(q.checkIgnore)&&q.checkIgnore(ee,B,N))return!1}catch(ie){q.checkIgnore=null,R.error("Error while calling custom checkIgnore(), removing",ie)}return!0}},urlIsNotBlockListed:function(R){return function(N,q){return!A(N,q,"blocklist",R)}},urlIsSafeListed:function(R){return function(N,q){return A(N,q,"safelist",R)}},messageIsIgnored:function(R){return function(N,q){var ee,B,ie,ve,U,ne;try{if(!(ie=q.ignoredMessages)||0===ie.length||0===(ne=function(X){var W=X.body,Z=[];if(W.trace_chain)for(var re=W.trace_chain,K=0;K<re.length;K++)Z.push(f.get(re[K],"exception.message"));return W.trace&&Z.push(f.get(W,"trace.exception.message")),W.message&&Z.push(f.get(W,"message.body")),Z}(N)).length)return!0;for(ve=ie.length,ee=0;ee<ve;ee++)for(U=new RegExp(ie[ee],"gi"),B=0;B<ne.length;B++)if(U.test(ne[B]))return!1}catch{q.ignoredMessages=null,R.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0}}}},584:(S,E,M)=>{"use strict";var f=M(539);S.exports={checkIgnore:function(b,A){return!f.get(A,"plugins.jquery.ignoreAjaxErrors")||!f.get(b,"body.message.extra.isAjax")}}},683:(S,E,M)=>{"use strict";var f=M(539),b=M(974),A=M(364),R=M(356),N=M(61),q=M(790),ee={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function B(U,ne){for(var X;U[ne].length;)(X=U[ne].shift())[0][X[1]]=X[2]}function ie(U,ne,X,W,Z){this.options=U;var re=U.autoInstrument;!1===U.enabled||!1===re?this.autoInstrument={}:(f.isType(re,"object")||(re=ee),this.autoInstrument=f.merge(ee,re)),this.scrubTelemetryInputs=!!U.scrubTelemetryInputs,this.telemetryScrubber=U.telemetryScrubber,this.defaultValueScrubber=function(K){for(var ce=[],ue=0;ue<K.length;++ue)ce.push(new RegExp(K[ue],"i"));return function(ae){var te=function(_e){if(!_e||!_e.attributes)return null;for(var we=_e.attributes,De=0;De<we.length;++De)if("name"===we[De].key)return we[De].value;return null}(ae);if(!te)return!1;for(var de=0;de<ce.length;++de)if(ce[de].test(te))return!0;return!1}}(U.scrubFields),this.telemeter=ne,this.rollbar=X,this.diagnostic=X.client.notifier.diagnostic,this._window=W||{},this._document=Z||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}function ve(U){return typeof URL<"u"&&U instanceof URL}ie.prototype.configure=function(U){this.options=f.merge(this.options,U);var ne=U.autoInstrument,X=f.merge(this.autoInstrument);!1===U.enabled||!1===ne?this.autoInstrument={}:(f.isType(ne,"object")||(ne=ee),this.autoInstrument=f.merge(ee,ne)),this.instrument(X),void 0!==U.scrubTelemetryInputs&&(this.scrubTelemetryInputs=!!U.scrubTelemetryInputs),void 0!==U.telemetryScrubber&&(this.telemetryScrubber=U.telemetryScrubber)},ie.prototype.instrument=function(U){!this.autoInstrument.network||U&&U.network?!this.autoInstrument.network&&U&&U.network&&this.deinstrumentNetwork():this.instrumentNetwork(),!this.autoInstrument.log||U&&U.log?!this.autoInstrument.log&&U&&U.log&&this.deinstrumentConsole():this.instrumentConsole(),!this.autoInstrument.dom||U&&U.dom?!this.autoInstrument.dom&&U&&U.dom&&this.deinstrumentDom():this.instrumentDom(),!this.autoInstrument.navigation||U&&U.navigation?!this.autoInstrument.navigation&&U&&U.navigation&&this.deinstrumentNavigation():this.instrumentNavigation(),!this.autoInstrument.connectivity||U&&U.connectivity?!this.autoInstrument.connectivity&&U&&U.connectivity&&this.deinstrumentConnectivity():this.instrumentConnectivity(),!this.autoInstrument.contentSecurityPolicy||U&&U.contentSecurityPolicy?!this.autoInstrument.contentSecurityPolicy&&U&&U.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy():this.instrumentContentSecurityPolicy()},ie.prototype.deinstrumentNetwork=function(){B(this.replacements,"network")},ie.prototype.instrumentNetwork=function(){var U=this;function ne(W,Z){W in Z&&f.isFunction(Z[W])&&A(Z,W,function(re){return U.rollbar.wrap(re)})}if("XMLHttpRequest"in this._window){var X=this._window.XMLHttpRequest.prototype;A(X,"open",function(W){return function(Z,re){var K=ve(re);return(f.isType(re,"string")||K)&&(re=K?re.toString():re,this.__rollbar_xhr?(this.__rollbar_xhr.method=Z,this.__rollbar_xhr.url=re,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=f.now(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:Z,url:re,status_code:null,start_time_ms:f.now(),end_time_ms:null}),W.apply(this,arguments)}},this.replacements,"network"),A(X,"setRequestHeader",function(W){return function(Z,re){return this.__rollbar_xhr||(this.__rollbar_xhr={}),f.isType(Z,"string")&&f.isType(re,"string")&&(U.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[Z]=re),"content-type"===Z.toLowerCase()&&(this.__rollbar_xhr.request_content_type=re)),W.apply(this,arguments)}},this.replacements,"network"),A(X,"send",function(W){return function(Z){var re=this;function K(){if(re.__rollbar_xhr&&(null===re.__rollbar_xhr.status_code&&(re.__rollbar_xhr.status_code=0,U.autoInstrument.networkRequestBody&&(re.__rollbar_xhr.request=Z),re.__rollbar_event=U.captureNetwork(re.__rollbar_xhr,"xhr",void 0)),re.readyState<2&&(re.__rollbar_xhr.start_time_ms=f.now()),re.readyState>3)){re.__rollbar_xhr.end_time_ms=f.now();var ce=null;if(re.__rollbar_xhr.response_content_type=re.getResponseHeader("Content-Type"),U.autoInstrument.networkResponseHeaders){var ue=U.autoInstrument.networkResponseHeaders;ce={};try{var ae,te;if(!0===ue){var de=re.getAllResponseHeaders();if(de){var _e,we,De=de.trim().split(/[\r\n]+/);for(te=0;te<De.length;te++)ae=(_e=De[te].split(": ")).shift(),we=_e.join(": "),ce[ae]=we}}else for(te=0;te<ue.length;te++)ce[ae=ue[te]]=re.getResponseHeader(ae)}catch{}}var Ie=null;if(U.autoInstrument.networkResponseBody)try{Ie=re.responseText}catch{}var Me=null;(Ie||ce)&&(Me={},Ie&&(Me.body=U.isJsonContentType(re.__rollbar_xhr.response_content_type)?U.scrubJson(Ie):Ie),ce&&(Me.headers=ce)),Me&&(re.__rollbar_xhr.response=Me);try{var Ze=re.status;re.__rollbar_xhr.status_code=Ze=1223===Ze?204:Ze,re.__rollbar_event.level=U.telemeter.levelFromStatus(Ze),U.errorOnHttpStatus(re.__rollbar_xhr)}catch{}}}return ne("onload",re),ne("onerror",re),ne("onprogress",re),"onreadystatechange"in re&&f.isFunction(re.onreadystatechange)?A(re,"onreadystatechange",function(ce){return U.rollbar.wrap(ce,void 0,K)}):re.onreadystatechange=K,re.__rollbar_xhr&&U.trackHttpErrors()&&(re.__rollbar_xhr.stack=(new Error).stack),W.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&A(this._window,"fetch",function(W){return function(Z,re){for(var K=new Array(arguments.length),ce=0,ue=K.length;ce<ue;ce++)K[ce]=arguments[ce];var ae,te=K[0],de="GET",_e=ve(te);f.isType(te,"string")||_e?ae=_e?te.toString():te:te&&(ae=te.url,te.method&&(de=te.method)),K[1]&&K[1].method&&(de=K[1].method);var we={method:de,url:ae,status_code:null,start_time_ms:f.now(),end_time_ms:null};if(K[1]&&K[1].headers){var De=b(K[1].headers);we.request_content_type=De.get("Content-Type"),U.autoInstrument.networkRequestHeaders&&(we.request_headers=U.fetchHeaders(De,U.autoInstrument.networkRequestHeaders))}return U.autoInstrument.networkRequestBody&&(K[1]&&K[1].body?we.request=K[1].body:K[0]&&!f.isType(K[0],"string")&&K[0].body&&(we.request=K[0].body)),U.captureNetwork(we,"fetch",void 0),U.trackHttpErrors()&&(we.stack=(new Error).stack),W.apply(this,K).then(function(Ie){we.end_time_ms=f.now(),we.status_code=Ie.status,we.response_content_type=Ie.headers.get("Content-Type");var Me=null;U.autoInstrument.networkResponseHeaders&&(Me=U.fetchHeaders(Ie.headers,U.autoInstrument.networkResponseHeaders));var Ze=null;return U.autoInstrument.networkResponseBody&&"function"==typeof Ie.text&&(Ze=Ie.clone().text()),(Me||Ze)&&(we.response={},Ze&&("function"==typeof Ze.then?Ze.then(function(Ye){we.response.body=Ye&&U.isJsonContentType(we.response_content_type)?U.scrubJson(Ye):Ye}):we.response.body=Ze),Me&&(we.response.headers=Me)),U.errorOnHttpStatus(we),Ie})}},this.replacements,"network")},ie.prototype.captureNetwork=function(U,ne,X){return U.request&&this.isJsonContentType(U.request_content_type)&&(U.request=this.scrubJson(U.request)),this.telemeter.captureNetwork(U,ne,X)},ie.prototype.isJsonContentType=function(U){return!!(U&&f.isType(U,"string")&&U.toLowerCase().includes("json"))},ie.prototype.scrubJson=function(U){return JSON.stringify(R(JSON.parse(U),this.options.scrubFields))},ie.prototype.fetchHeaders=function(U,ne){var X={};try{var W;if(!0===ne){if("function"==typeof U.entries)for(var Z=U.entries(),re=Z.next();!re.done;)X[re.value[0]]=re.value[1],re=Z.next()}else for(W=0;W<ne.length;W++){var K=ne[W];X[K]=U.get(K)}}catch{}return X},ie.prototype.trackHttpErrors=function(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0},ie.prototype.errorOnHttpStatus=function(U){var ne=U.status_code;if(ne>=500&&this.autoInstrument.networkErrorOnHttp5xx||ne>=400&&this.autoInstrument.networkErrorOnHttp4xx||0===ne&&this.autoInstrument.networkErrorOnHttp0){var X=new Error("HTTP request failed with Status "+ne);X.stack=U.stack,this.rollbar.error(X,{skipFrames:1})}},ie.prototype.deinstrumentConsole=function(){if("console"in this._window&&this._window.console.log)for(var U;this.replacements.log.length;
1)U=this.replacements.log.shift(),this._window.console[U[0]]=U[1]},ie.prototype.instrumentConsole=function(){if("console"in this._window&&this._window.console.log){var U=this,ne=this._window.console,X=["debug","info","warn","error","log"];try{for(var W=0,Z=X.length;W<Z;W++)re(X[W])}catch(K){this.diagnostic.instrumentConsole={error:K.message}}}function re(K){var ce=ne[K],ue=ne,ae="warn"===K?"warning":K;ne[K]=function(){var te=Array.prototype.slice.call(arguments),de=f.formatArgsAsString(te);U.telemeter.captureLog(de,ae),ce&&Function.prototype.apply.call(ce,ue,te)},U.replacements.log.push([K,ce])}},ie.prototype.deinstrumentDom=function(){("addEventListener"in this._window||"attachEvent"in this._window)&&this.removeListeners("dom")},ie.prototype.instrumentDom=function(){if("addEventListener"in this._window||"attachEvent"in this._window){var U=this.handleClick.bind(this),ne=this.handleBlur.bind(this);this.addListener("dom",this._window,"click","onclick",U,!0),this.addListener("dom",this._window,"blur","onfocusout",ne,!0)}},ie.prototype.handleClick=function(U){try{var ne=q.getElementFromEvent(U,this._document),X=ne&&ne.tagName,W=q.isDescribedElement(ne,"a")||q.isDescribedElement(ne,"button");X&&(W||q.isDescribedElement(ne,"input",["button","submit"]))?this.captureDomEvent("click",ne):q.isDescribedElement(ne,"input",["checkbox","radio"])&&this.captureDomEvent("input",ne,ne.value,ne.checked)}catch{}},ie.prototype.handleBlur=function(U){try{var ne=q.getElementFromEvent(U,this._document);ne&&ne.tagName&&(q.isDescribedElement(ne,"textarea")?this.captureDomEvent("input",ne,ne.value):q.isDescribedElement(ne,"select")&&ne.options&&ne.options.length?this.handleSelectInputChanged(ne):q.isDescribedElement(ne,"input")&&!q.isDescribedElement(ne,"input",["button","submit","hidden","checkbox","radio"])&&this.captureDomEvent("input",ne,ne.value))}catch{}},ie.prototype.handleSelectInputChanged=function(U){if(U.multiple)for(var ne=0;ne<U.options.length;ne++)U.options[ne].selected&&this.captureDomEvent("input",U,U.options[ne].value);else U.selectedIndex>=0&&U.options[U.selectedIndex]&&this.captureDomEvent("input",U,U.options[U.selectedIndex].value)},ie.prototype.captureDomEvent=function(U,ne,X,W){if(void 0!==X)if(this.scrubTelemetryInputs||"password"===q.getElementType(ne))X="[scrubbed]";else{var Z=q.describeElement(ne);this.telemetryScrubber?this.telemetryScrubber(Z)&&(X="[scrubbed]"):this.defaultValueScrubber(Z)&&(X="[scrubbed]")}var re=q.elementArrayToString(q.treeToArray(ne));this.telemeter.captureDom(U,re,X,W)},ie.prototype.deinstrumentNavigation=function(){var U=this._window.chrome;!(U&&U.app&&U.app.runtime)&&this._window.history&&this._window.history.pushState&&B(this.replacements,"navigation")},ie.prototype.instrumentNavigation=function(){var U=this._window.chrome;if(!(U&&U.app&&U.app.runtime)&&this._window.history&&this._window.history.pushState){var ne=this;A(this._window,"onpopstate",function(X){return function(){ne.handleUrlChange(ne._lastHref,ne._location.href),X&&X.apply(this,arguments)}},this.replacements,"navigation"),A(this._window.history,"pushState",function(X){return function(){var W=arguments.length>2?arguments[2]:void 0;return W&&ne.handleUrlChange(ne._lastHref,W+""),X.apply(this,arguments)}},this.replacements,"navigation")}},ie.prototype.handleUrlChange=function(U,ne){var X=N.parse(this._location.href),W=N.parse(ne),Z=N.parse(U);this._lastHref=ne,X.protocol===W.protocol&&X.host===W.host&&(ne=W.path+(W.hash||"")),X.protocol===Z.protocol&&X.host===Z.host&&(U=Z.path+(Z.hash||"")),this.telemeter.captureNavigation(U,ne)},ie.prototype.deinstrumentConnectivity=function(){("addEventListener"in this._window||"body"in this._document)&&(this._window.addEventListener?this.removeListeners("connectivity"):B(this.replacements,"connectivity"))},ie.prototype.instrumentConnectivity=function(){if("addEventListener"in this._window||"body"in this._document)if(this._window.addEventListener)this.addListener("connectivity",this._window,"online",void 0,function(){this.telemeter.captureConnectivityChange("online")}.bind(this),!0),this.addListener("connectivity",this._window,"offline",void 0,function(){this.telemeter.captureConnectivityChange("offline")}.bind(this),!0);else{var U=this;A(this._document.body,"ononline",function(ne){return function(){U.telemeter.captureConnectivityChange("online"),ne&&ne.apply(this,arguments)}},this.replacements,"connectivity"),A(this._document.body,"onoffline",function(ne){return function(){U.telemeter.captureConnectivityChange("offline"),ne&&ne.apply(this,arguments)}},this.replacements,"connectivity")}},ie.prototype.handleCspEvent=function(U){var ne="Security Policy Violation: blockedURI: "+U.blockedURI+", violatedDirective: "+U.violatedDirective+", effectiveDirective: "+U.effectiveDirective+", ";U.sourceFile&&(ne+="location: "+U.sourceFile+", line: "+U.lineNumber+", col: "+U.columnNumber+", "),this.telemeter.captureLog(ne+="originalPolicy: "+U.originalPolicy,"error"),this.handleCspError(ne)},ie.prototype.handleCspError=function(U){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(U)},ie.prototype.deinstrumentContentSecurityPolicy=function(){"addEventListener"in this._document&&this.removeListeners("contentsecuritypolicy")},ie.prototype.instrumentContentSecurityPolicy=function(){if("addEventListener"in this._document){var U=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,"securitypolicyviolation",null,U,!1)}},ie.prototype.addListener=function(U,ne,X,W,Z,re){ne.addEventListener?(ne.addEventListener(X,Z,re),this.eventRemovers[U].push(function(){ne.removeEventListener(X,Z,re)})):W&&(ne.attachEvent(W,Z),this.eventRemovers[U].push(function(){ne.detachEvent(W,Z)}))},ie.prototype.removeListeners=function(U){for(;this.eventRemovers[U].length;)this.eventRemovers[U].shift()()},S.exports=ie},738:function(){!function(S){"use strict";S.console||(S.console={});for(var E,M,f=S.console,b=function(){},A=["memory"],R="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");E=A.pop();)f[E]||(f[E]={});for(;M=R.pop();)f[M]||(f[M]=b)}(typeof window>"u"?this:window)},744:(S,E,M)=>{"use strict";var f=M(539);function b(R,N,q,ee){this.rateLimiter=R,this.api=N,this.logger=q,this.options=ee,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}b.prototype.configure=function(R){return this.api&&this.api.configure(R),this.options=f.merge(this.options,R),this},b.prototype.addPredicate=function(R){return f.isFunction(R)&&this.predicates.push(R),this},b.prototype.addPendingItem=function(R){this.pendingItems.push(R)},b.prototype.removePendingItem=function(R){var N=this.pendingItems.indexOf(R);-1!==N&&this.pendingItems.splice(N,1)},b.prototype.addItem=function(R,N,q,ee){N&&f.isFunction(N)||(N=function(){});var B=this._applyPredicates(R);if(B.stop)return this.removePendingItem(ee),void N(B.err);if(this._maybeLog(R,q),this.removePendingItem(ee),this.options.transmit){this.pendingRequests.push(R);try{this._makeApiRequest(R,function(ie,ve){this._dequeuePendingRequest(R),N(ie,ve)}.bind(this))}catch(ie){this._dequeuePendingRequest(R),N(ie)}}else N(new Error("Transmit disabled"))},b.prototype.wait=function(R){f.isFunction(R)&&(this.waitCallback=R,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},b.prototype._applyPredicates=function(R){for(var N=null,q=0,ee=this.predicates.length;q<ee;q++)if(!(N=this.predicates[q](R,this.options))||void 0!==N.err)return{stop:!0,err:N.err};return{stop:!1,err:null}},b.prototype._makeApiRequest=function(R,N){var q=this.rateLimiter.shouldSe
1nd(R);q.shouldSend?this.api.postItem(R,function(ee,B){ee?this._maybeRetry(ee,R,N):N(ee,B)}.bind(this)):q.error?N(q.error):this.api.postItem(q.payload,N)};var A=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];b.prototype._maybeRetry=function(R,N,q){var ee=!1;if(this.options.retryInterval){for(var B=0,ie=A.length;B<ie;B++)if(R.code===A[B]){ee=!0;break}ee&&f.isFiniteNumber(this.options.maxRetries)&&(N.retries=N.retries?N.retries+1:1,N.retries>this.options.maxRetries&&(ee=!1))}ee?this._retryApiRequest(N,q):q(R)},b.prototype._retryApiRequest=function(R,N){this.retryQueue.push({item:R,callback:N}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var q=this.retryQueue.shift();this._makeApiRequest(q.item,q.callback)}}.bind(this),this.options.retryInterval))},b.prototype._dequeuePendingRequest=function(R){var N=this.pendingRequests.indexOf(R);-1!==N&&(this.pendingRequests.splice(N,1),this._maybeCallWait())},b.prototype._maybeLog=function(R,N){if(this.logger&&this.options.verbose){var q=N;if(q=(q=q||f.get(R,"body.trace.exception.message"))||f.get(R,"body.trace_chain.0.exception.message"))return void this.logger.error(q);(q=f.get(R,"body.message.body"))&&this.logger.log(q)}},b.prototype._maybeCallWait=function(){return!(!f.isFunction(this.waitCallback)||0!==this.pendingItems.length||0!==this.pendingRequests.length||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),0))},S.exports=b},777:(S,E,M)=>{"use strict";var f=M(539);function b(A,R){this.queue=A,this.options=R,this.transforms=[],this.diagnostic={}}b.prototype.configure=function(A){return this.queue&&this.queue.configure(A),this.options=f.merge(this.options,A),this},b.prototype.addTransform=function(A){return f.isFunction(A)&&this.transforms.push(A),this},b.prototype.log=function(A,R){if(R&&f.isFunction(R)||(R=function(){}),!this.options.enabled)return R(new Error("Rollbar is not enabled"));this.queue.addPendingItem(A);var N=A.err;this._applyTransforms(A,function(q,ee){if(q)return this.queue.removePendingItem(A),R(q,null);this.queue.addItem(ee,R,N,A)}.bind(this))},b.prototype._applyTransforms=function(A,R){var N=-1,q=this.transforms.length,ee=this.transforms,B=this.options,ie=function(ve,U){ve?R(ve,null):++N!==q?ee[N](U,B,ie):R(null,U)};ie(null,A)},S.exports=b},790:S=>{"use strict";function E(b){return(b.getAttribute("type")||"").toLowerCase()}function M(b){if(!b||!b.tagName)return"";var A=[b.tagName];b.id&&A.push("#"+b.id),b.classes&&A.push("."+b.classes.join("."));for(var R=0;R<b.attributes.length;R++)A.push("["+b.attributes[R].key+'="'+b.attributes[R].value+'"]');return A.join("")}function f(b){if(!b||!b.tagName)return null;var A,R,N,q,ee={};ee.tagName=b.tagName.toLowerCase(),b.id&&(ee.id=b.id),(A=b.className)&&"string"==typeof A&&(ee.classes=A.split(/\s+/));var B=["type","name","title","alt"];for(ee.attributes=[],q=0;q<B.length;q++)(N=b.getAttribute(R=B[q]))&&ee.attributes.push({key:R,value:N});return ee}S.exports={describeElement:f,descriptionToString:M,elementArrayToString:function(b){for(var A,N=[],q=0,ee=b.length-1;ee>=0;ee--){if(A=M(b[ee]),ee<b.length-1&&q+3*N.length+A.length>=83){N.unshift("...");break}N.unshift(A),q+=A.length}return N.join(" > ")},treeToArray:function(b){for(var A,R=[],N=0;b&&N<5&&"html"!==(A=f(b)).tagName;N++)R.unshift(A),b=b.parentNode;return R},getElementFromEvent:function(b,A){return b.target?b.target:A&&A.elementFromPoint?A.elementFromPoint(b.clientX,b.clientY):void 0},isDescribedElement:function(b,A,R){if(b.tagName.toLowerCase()!==A.toLowerCase())return!1;if(!R)return!0;b=E(b);for(var N=0;N<R.length;N++)if(R[N]===b)return!0;return!1},getElementType:E}},796:S=>{"use strict";S.exports={captureUncaughtExceptions:function(E,M,f){if(E){var b;if("function"==typeof M._rollbarOldOnError)b=M._rollbarOldOnError;else if(E.onerror){for(b=E.onerror;b._rollbarOldOnError;)b=b._rollbarOldOnError;M._rollbarOldOnError=b}M.handleAnonymousErrors();var A=function(){var R=Array.prototype.slice.call(arguments,0);!function(N,q,ee,B){N._rollbarWrappedError&&(B[4]||(B[4]=N._rollbarWrappedError),B[5]||(B[5]=N._rollbarWrappedError._rollbarContext),N._rollbarWrappedError=null);var ie=q.handleUncaughtException.apply(q,B);ee&&ee.apply(N,B),"anonymous"===ie&&(q.anonymousErrorsPending+=1)}(E,M,b,R)};f&&(A._rollbarOldOnError=b),E.onerror=A}},captureUnhandledRejections:function(E,M,f){if(E){"function"==typeof E._rollbarURH&&E._rollbarURH.belongsToShim&&E.removeEventListener("unhandledrejection",E._rollbarURH);var b=function(A){var R,N,q;try{R=A.reason}catch{R=void 0}try{N=A.promise}catch{N="[unhandledrejection] error getting `promise` from event"}try{q=A.detail,!R&&q&&(R=q.reason,N=q.promise)}catch{}R||(R="[unhandledrejection] error getting `reason` from event"),M&&M.handleUnhandledRejection&&M.handleUnhandledRejection(R,N)};b.belongsToShim=f,E._rollbarURH=b,E.addEventListener("unhandledrejection",b)}}}},888:(S,E,M)=>{"use strict";var f=M(539),b=M(12);function A(U,ne){return[U,f.stringify(U,ne)]}function R(U,ne){var X=U.length;return X>2*ne?U.slice(0,ne).concat(U.slice(X-ne)):U}function N(U,ne,X){X=void 0===X?30:X;var W,Z=U.data.body;if(Z.trace_chain)for(var re=Z.trace_chain,K=0;K<re.length;K++)W=R(W=re[K].frames,X),re[K].frames=W;else Z.trace&&(W=R(W=Z.trace.frames,X),Z.trace.frames=W);return[U,f.stringify(U,ne)]}function q(U,ne){return ne&&ne.length>U?ne.slice(0,U-3).concat("..."):ne}function ee(U,ne,X){return[ne=b(ne,function W(Z,re,K){switch(f.typeName(re)){case"string":return q(U,re);case"object":case"array":return b(re,W,K);default:return re}}),f.stringify(ne,X)]}function B(U){return U.exception&&(delete U.exception.description,U.exception.message=q(255,U.exception.message)),U.frames=R(U.frames,1),U}function ie(U,ne){var X=U.data.body;if(X.trace_chain)for(var W=X.trace_chain,Z=0;Z<W.length;Z++)W[Z]=B(W[Z]);else X.trace&&(X.trace=B(X.trace));return[U,f.stringify(U,ne)]}function ve(U,ne){return f.maxByteSize(U)>ne}S.exports={truncate:function(U,ne,X){X=void 0===X?524288:X;for(var W,Z,re,K=[A,N,ee.bind(null,1024),ee.bind(null,512),ee.bind(null,256),ie];W=K.shift();)if(U=(Z=W(U,ne))[0],(re=Z[1]).error||!ve(re.value,X))return re;return re},raw:A,truncateFrames:N,truncateStrings:ee,maybeTruncateValue:q}},944:(S,E,M)=>{"use strict";var f=M(197),b=M(352),A=M(683),R=M(435),N=M(424),q=M(356),ee=M(888);f.setComponents({telemeter:b,instrumenter:A,polyfillJSON:R,wrapGlobals:N,scrub:q,truncation:ee}),S.exports=f},962:(S,E,M)=>{"use strict";var f=M(539);function b(A,R){f.isFunction(A[R])&&(A[R]=A[R].toString())}S.exports={itemToPayload:function(A,R,N){var q=A.data;A._isUncaught&&(q._isUncaught=!0),A._originalArgs&&(q._originalArgs=A._originalArgs),N(null,q)},addPayloadOptions:function(A,R,N){var q=R.payload||{};q.body&&delete q.body,A.data=f.merge(A.data,q),N(null,A)},addTelemetryData:function(A,R,N){A.telemetryEvents&&f.set(A,"data.body.telemetry",A.telemetryEvents),N(null,A)},addMessageWithError:function(A,R,N){if(A.message){var q="data.body.trace_chain.0",ee=f.get(A,q);if(ee||(ee=f.get(A,q="data.body.trace")),ee){if(!ee.exception||!ee.exception.description)return f.set(A,q+".exception.description",A.message),void N(null,A);var B=f.get(A,q+".extra")||{},ie=f.merge(B,{message:A.message});f.set(A,q+".extra",ie)}N(null,A)}else N(null,A)},userTransform:function(A){return function(R,N,q){var ee=f.merge(R),B=null;try{f.isFunction(N.transform)&&(B=N.transform(ee.data,R))}catch(ie){return N.transform=null,A.error("Error while calling custom transform() function. Removing custom transform().",ie),void q(null,R)}f.isPromise(B)?B.then(function(ie){ie&&(ee.data=ie),q(null,ee)},function(ie){q(ie,R)}):q(null,ee)}},addConfigToPayload:function(A,R,N){if(!R.sendConfig)return N(null,A);var q=f.get(A,"data.custom")||{};q._rollbarConfig=R,A.data.custom=q,N(null,A)},addConfiguredOptions:function(A,R,N){var q=R._configuredOptions;b(q,"transform"),b(q,"checkIgnore"),b(q,"onSendCallback"),delete q.accessToken,A.data.notifier.configured_options=q,N(null,A)},addDiagnosticKeys:function(A,R,N){var q=f.merge(A.notifier.client.notifier.diagnostic,A.diagnostic);if(f.get(A,"err._isAnonymous")&&(q.is_anonymous=!0),A._isUncaught&&(q.is_uncaught=A._isUncaught),A.err)try{q.raw_error={message:A.err.message,name:A.err.name,constructor_name:A.err.constructor&&A.err.constructor.name,filename:A.err.fileName,line:A.err.lineNumber,column:A.err.columnNumber,stack:A.err.stack}}catch(ee){q.raw_error={failed:String(ee)}}A.data.notifier.diagnostic=f.merge(A.data.notifier.diagnostic,q),N(null,A)}}},974:S=>{"use strict";function E(f){return"string"!=typeof f&&(f=String(f)),f.toLowerCase()}function M(f){this.map={},f instanceof M?f.forEach(function(b,A){this.append(A,b)},this):Array.isArray(f)?f.forEach(function(b){this.append(b[0],b[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(b){this.append(b,f[b])},this)}M.prototype.append=function(f,b){var R;f=E(f),"string"!=typeof(R=b)&&(R=String(R)),b=R;var A=this.map[f];this.map[f]=A?A+", "+b:b},M.prototype.get=function(f){return f=E(f),this.has(f)?this.map[f]:null},M.prototype.has=function(f){return this.map.hasOwnProperty(E(f))},M.prototype.forEach=function(f,b){for(var A in this.map)this.map.hasOwnProperty(A)&&f.call(b,this.map[A],A,this)},M.prototype.entries=function(){var f=[];return this.forEach(function(b,A){f.push([A,b])}),function(b){return{next:function(){var A=b.shift();return{done:void 0===A,value:A}}}}(f)},S.exports=function(f){return typeof Headers>"u"?new M(f):new Headers(f)}}},d={},function S(E){var M=d[E];if(void 0!==M)return M.exports;
vendor: 5,125 bytes, line 1
1var f=d[E]={exports:{}};return Pe[E].call(f.exports,f,f.exports,S),f.exports}(554);var Pe,d},Vt.exports=d()},84412(Vt,Pe,d){"use strict";d.d(Pe,{t:()=>E});var S=d(21413);class E extends S.B{constructor(f){super(),this._value=f}get value(){return this.getValue()}_subscribe(f){const b=super._subscribe(f);return!b.closed&&f.next(this._value),b}getValue(){const{hasError:f,thrownError:b,_value:A}=this;if(f)throw b;return this._throwIfClosed(),A}next(f){super.next(this._value=f)}}},71985(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>N});var S=d(47707),E=d(18359),M=d(3494),f=d(71203),b=d(41026),A=d(98071),R=d(49786);let N=(()=>{class ie{constructor(U){U&&(this._subscribe=U)}lift(U){const ne=new ie;return ne.source=this,ne.operator=U,ne}subscribe(U,ne,X){const W=function B(ie){return ie&&ie instanceof S.vU||function ee(ie){return ie&&(0,A.T)(ie.next)&&(0,A.T)(ie.error)&&(0,A.T)(ie.complete)}(ie)&&(0,E.Uv)(ie)}(U)?U:new S.Ms(U,ne,X);return(0,R.Y)(()=>{const{operator:Z,source:re}=this;W.add(Z?Z.call(W,re):re?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(U){try{return this._subscribe(U)}catch(ne){U.error(ne)}}forEach(U,ne){return new(ne=q(ne))((X,W)=>{const Z=new S.Ms({next:re=>{try{U(re)}catch(K){W(K),Z.unsubscribe()}},error:W,complete:X});this.subscribe(Z)})}_subscribe(U){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(U)}[M.s](){return this}pipe(...U){return(0,f.m)(U)(this)}toPromise(U){return new(U=q(U))((ne,X)=>{let W;this.subscribe(Z=>W=Z,Z=>X(Z),()=>ne(W))})}}return ie.create=ve=>new ie(ve),ie})();function q(ie){var ve;return null!==(ve=ie??b.$.Promise)&&void 0!==ve?ve:Promise}},92771(Vt,Pe,d){"use strict";d.d(Pe,{m:()=>M});var S=d(21413),E=d(86129);class M extends S.B{constructor(b=1/0,A=1/0,R=E.U){super(),this._bufferSize=b,this._windowTime=A,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=A===1/0,this._bufferSize=Math.max(1,b),this._windowTime=Math.max(1,A)}next(b){const{isStopped:A,_buffer:R,_infiniteTimeWindow:N,_timestampProvider:q,_windowTime:ee}=this;A||(R.push(b),!N&&R.push(q.now()+ee)),this._trimBuffer(),super.next(b)}_subscribe(b){this._throwIfClosed(),this._trimBuffer();const A=this._innerSubscribe(b),{_infiniteTimeWindow:R,_buffer:N}=this,q=N.slice();for(let ee=0;ee<q.length&&!b.closed;ee+=R?1:2)b.next(q[ee]);return this._checkFinalizedStatuses(b),A}_trimBuffer(){const{_bufferSize:b,_timestampProvider:A,_buffer:R,_infiniteTimeWindow:N}=this,q=(N?1:2)*b;if(b<1/0&&q<R.length&&R.splice(0,R.length-q),!N){const ee=A.now();let B=0;for(let ie=1;ie<R.length&&R[ie]<=ee;ie+=2)B=ie;B&&R.splice(0,B+1)}}}},21413(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>R});var S=d(71985),E=d(18359);const f=(0,d(81853).L)(q=>function(){q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var b=d(57908),A=d(49786);let R=(()=>{class q extends S.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const ie=new N(this,this);return ie.operator=B,ie}_throwIfClosed(){if(this.closed)throw new f}next(B){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ie of this.currentObservers)ie.next(B)}})}error(B){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:ie}=this;for(;ie.length;)ie.shift().error(B)}})}complete(){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:ie,isStopped:ve,observers:U}=this;return ie||ve?E.Kn:(this.currentObservers=null,U.push(B),new E.yU(()=>{this.currentObservers=null,(0,b.o)(U,B)}))}_checkFinalizedStatuses(B){const{hasError:ie,thrownError:ve,isStopped:U}=this;ie?B.error(ve):U&&B.complete()}asObservable(){const B=new S.c;return B.source=this,B}}return q.create=(ee,B)=>new N(ee,B),q})();class N extends R{constructor(ee,B){super(),this.destination=ee,this.source=B}next(ee){var B,ie;null===(ie=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===ie||ie.call(B,ee)}error(ee){var B,ie;null===(ie=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===ie||ie.call(B,ee)}complete(){var ee,B;null===(B=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===B||B.call(ee)}_subscribe(ee){var B,ie;return null!==(ie=null===(B=this.source)||void 0===B?void 0:B.subscribe(ee))&&void 0!==ie?ie:E.Kn}}},47707(Vt,Pe,d){"use strict";d.d(Pe,{Ms:()=>X,vU:()=>ie});var S=d(98071),E=d(18359),M=d(41026),f=d(45334),b=d(85343);const A=q("C",void 0,void 0);function q(ce,ue,ae){return{kind:ce,value:ue,error:ae}}var ee=d(19270),B=d(49786);
vendor: 4,187 bytes, line 1
1class ie extends E.yU{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,E.Uv)(ue)&&ue.add(this)):this.destination=K}static create(ue,ae,te){return new X(ue,ae,te)}next(ue){this.isStopped?re(function N(ce){return q("N",ce,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?re(function R(ce){return q("E",void 0,ce)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?re(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ve=Function.prototype.bind;function U(ce,ue){return ve.call(ce,ue)}class ne{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:ae}=this;if(ae.next)try{ae.next(ue)}catch(te){W(te)}}error(ue){const{partialObserver:ae}=this;if(ae.error)try{ae.error(ue)}catch(te){W(te)}else W(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(ae){W(ae)}}}class X extends ie{constructor(ue,ae,te){let de;if(super(),(0,S.T)(ue)||!ue)de={next:ue??void 0,error:ae??void 0,complete:te??void 0};else{let _e;this&&M.$.useDeprecatedNextContext?(_e=Object.create(ue),_e.unsubscribe=()=>this.unsubscribe(),de={next:ue.next&&U(ue.next,_e),error:ue.error&&U(ue.error,_e),complete:ue.complete&&U(ue.complete,_e)}):de=ue}this.destination=new ne(de)}}function W(ce){M.$.useDeprecatedSynchronousErrorHandling?(0,B.l)(ce):(0,f.m)(ce)}function re(ce,ue){const{onStoppedNotification:ae}=M.$;ae&&ee.f.setTimeout(()=>ae(ce,ue))}const K={closed:!0,next:b.l,error:function Z(ce){throw ce},complete:b.l}},18359(Vt,Pe,d){"use strict";d.d(Pe,{Kn:()=>A,yU:()=>b,Uv:()=>R});var S=d(98071);const M=(0,d(81853).L)(q=>function(B){q(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((ie,ve)=>`${ve+1}) ${ie.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=B});var f=d(57908);class b{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const U of B)U.remove(this);else B.remove(this);const{initialTeardown:ie}=this;if((0,S.T)(ie))try{ie()}catch(U){ee=U instanceof M?U.errors:[U]}const{_finalizers:ve}=this;if(ve){this._finalizers=null;for(const U of ve)try{N(U)}catch(ne){ee=ee??[],ne instanceof M?ee=[...ee,...ne.errors]:ee.push(ne)}}if(ee)throw new M(ee)}}add(ee){var B;if(ee&&ee!==this)if(this.closed)N(ee);else{if(ee instanceof b){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(ee)}}_hasParent(ee){const{_parentage:B}=this;return B===ee||Array.isArray(B)&&B.includes(ee)}_addParent(ee){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(ee),B):B?[B,ee]:ee}_removeParent(ee){const{_parentage:B}=this;B===ee?this._parentage=null:Array.isArray(B)&&(0,f.o)(B,ee)}remove(ee){const{_finalizers:B}=this;B&&(0,f.o)(B,ee),ee instanceof b&&ee._removeParent(this)}}b.EMPTY=(()=>{const q=new b;return q.closed=!0,q})();const A=b.EMPTY;function R(q){return q instanceof b||q&&"closed"in q&&(0,S.T)(q.remove)&&(0,S.T)(q.add)&&(0,S.T)(q.unsubscribe)}function N(q){(0,S.T)(q)?q():q.unsubscribe()}},41026(Vt,Pe,d){"use strict";d.d(Pe,{$:()=>S});const S={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},54843(Vt,Pe,d){"use strict";d.d(Pe,{_:()=>M});var S=d(9350),E=d(47707);function M(f,b){const A="object"==typeof b;return new Promise((R,N)=>{const q=new E.Ms({next:ee=>{R(ee),q.unsubscribe()},error:N,complete:()=>{A?R(b.defaultValue):N(new S.G)}});f.subscribe(q)})}},30017(Vt,Pe,d){"use strict";d.d(Pe,{G:()=>A});var S=d(71985),E=d(18359),M=d(99898),f=d(54360),b=d(39974);class A extends S.c{constructor(N,q){super(),this.source=N,this.subjectFactory=q,this._subject=null,this._refCount=0,this._connection=null,(0,b.S)(N)&&(this.lift=N.lift)}
1_subscribe(N){return this.getSubject().subscribe(N)}getSubject(){const N=this._subject;return(!N||N.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:N}=this;this._subject=this._connection=null,N?.unsubscribe()}connect(){let N=this._connection;if(!N){N=this._connection=new E.yU;const q=this.getSubject();N.add(this.source.subscribe((0,f._)(q,void 0,()=>{this._teardown(),q.complete()},ee=>{this._teardown(),q.error(ee)},()=>this._teardown()))),N.closed&&(this._connection=null,N=E.yU.EMPTY)}return N}refCount(){return(0,M.B)()(this)}}},84572(Vt,Pe,d){"use strict";d.d(Pe,{P:()=>B,z:()=>ee});var S=d(71985),E=d(93073),M=d(86648),f=d(33669),b=d(6450),A=d(9326),R=d(58496),N=d(54360),q=d(45225);function ee(...ve){const U=(0,A.lI)(ve),ne=(0,A.ms)(ve),{args:X,keys:W}=(0,E.D)(ve);if(0===X.length)return(0,M.H)([],U);const Z=new S.c(B(X,U,W?re=>(0,R.e)(W,re):f.D));return ne?Z.pipe((0,b.I)(ne)):Z}function B(ve,U,ne=f.D){return X=>{ie(U,()=>{const{length:W}=ve,Z=new Array(W);let re=W,K=W;for(let ce=0;ce<W;ce++)ie(U,()=>{const ue=(0,M.H)(ve[ce],U);let ae=!1;ue.subscribe((0,N._)(X,te=>{Z[ce]=te,ae||(ae=!0,K--),K||X.next(ne(Z.slice()))},()=>{--re||X.complete()}))},X)},X)}}function ie(ve,U,ne){ve?(0,q.N)(ne,ve,U):U()}},28793(Vt,Pe,d){"use strict";d.d(Pe,{x:()=>b});var S=d(26365),M=d(9326),f=d(86648);function b(...A){return function E(){return(0,S.U)(1)}()((0,f.H)(A,(0,M.lI)(A)))}},59030(Vt,Pe,d){"use strict";d.d(Pe,{v:()=>M});var S=d(71985),E=d(58750);function M(f){return new S.c(b=>{(0,E.Tg)(f()).subscribe(b)})}},983(Vt,Pe,d){"use strict";d.d(Pe,{w:()=>M});const M=new(d(71985).c)(A=>A.complete())},27468(Vt,Pe,d){"use strict";d.d(Pe,{p:()=>N});var S=d(71985),E=d(93073),M=d(58750),f=d(9326),b=d(54360),A=d(6450),R=d(58496);function N(...q){const ee=(0,f.ms)(q),{args:B,keys:ie}=(0,E.D)(q),ve=new S.c(U=>{const{length:ne}=B;if(!ne)return void U.complete();const X=new Array(ne);let W=ne,Z=ne;for(let re=0;re<ne;re++){let K=!1;(0,M.Tg)(B[re]).subscribe((0,b._)(U,ce=>{K||(K=!0,Z--),X[re]=ce},()=>W--,void 0,()=>{(!W||!K)&&(Z||U.next(ie?(0,R.e)(ie,X):X),U.complete())}))}});return ee?ve.pipe((0,A.I)(ee)):ve}},86648(Vt,Pe,d){"use strict";d.d(Pe,{H:()=>te});var S=d(58750),E=d(45225),M=d(39974),f=d(54360);function b(de,_e=0){return(0,M.N)((we,De)=>{we.subscribe((0,f._)(De,Ie=>(0,E.N)(De,de,()=>De.next(Ie),_e),()=>(0,E.N)(De,de,()=>De.complete(),_e),Ie=>(0,E.N)(De,de,()=>De.error(Ie),_e)))})}function A(de,_e=0){return(0,M.N)((we,De)=>{De.add(de.schedule(()=>we.subscribe(De),_e))})}var q=d(71985),B=d(4761),ie=d(98071);function U(de,_e){if(!de)throw new Error("Iterable cannot be null");return new q.c(we=>{(0,E.N)(we,_e,()=>{const De=de[Symbol.asyncIterator]();(0,E.N)(we,_e,()=>{De.next().then(Ie=>{Ie.done?we.complete():we.next(Ie.value)})},0,!0)})})}var ne=d(55055),X=d(59858),W=d(47441),Z=d(85397),re=d(37953),K=d(50591),ce=d(15196);function te(de,_e){return _e?function ae(de,_e){if(null!=de){if((0,ne.l)(de))return function R(de,_e){return(0,S.Tg)(de).pipe(A(_e),b(_e))}(de,_e);if((0,W.X)(de))return function ee(de,_e){return new q.c(we=>{let De=0;return _e.schedule(function(){De===de.length?we.complete():(we.next(de[De++]),we.closed||this.schedule())})})}(de,_e);if((0,X.y)(de))return function N(de,_e){return(0,S.Tg)(de).pipe(A(_e),b(_e))}(de,_e);if((0,re.T)(de))return U(de,_e);if((0,Z.x)(de))return function ve(de,_e){return new q.c(we=>{let De;return(0,E.N)(we,_e,()=>{De=de[B.l](),(0,E.N)(we,_e,()=>{let Ie,Me;try{({value:Ie,done:Me}=De.next())}catch(Ze){return void we.error(Ze)}Me?we.complete():we.next(Ie)},0,!0)}),()=>(0,ie.T)(De?.return)&&De.return()})}(de,_e);if((0,ce.U)(de))return function ue(de,_e){return U((0,ce.C)(de),_e)}(de,_e)}throw(0,K.L)(de)}(de,_e):(0,S.Tg)(de)}},33726(Vt,Pe,d){"use strict";d.d(Pe,{R:()=>ee});var S=d(58750),E=d(71985),M=d(31397),f=d(47441),b=d(98071),A=d(6450);const R=["addListener","removeListener"],N=["addEventListener","removeEventListener"],q=["on","off"];function ee(ne,X,W,Z){if((0,b.T)(W)&&(Z=W,W=void 0),Z)return ee(ne,X,W).pipe((0,A.I)(Z));const[re,K]=function U(ne){return(0,b.T)(ne.addEventListener)&&(0,b.T)(ne.removeEventListener)}(ne)?N.map(ce=>ue=>ne[ce](X,ue,W)):function ie(ne){return(0,b.T)(ne.addListener)&&(0,b.T)(ne.removeListener)}(ne)?R.map(B(ne,X)):function ve(ne){return(0,b.T)(ne.on)&&(0,b.T)(ne.off)}(ne)?q.map(B(ne,X)):[];if(!re&&(0,f.X)(ne))return(0,M.Z)(ce=>ee(ce,X,W))((0,S.Tg)(ne));if(!re)throw new TypeError("Invalid event target");return new E.c(ce=>{const ue=(...ae)=>
1ce.next(1<ae.length?ae:ae[0]);return re(ue),()=>K(ue)})}function B(ne,X){return W=>Z=>ne[W](X,Z)}},58750(Vt,Pe,d){"use strict";d.d(Pe,{Tg:()=>ve});var S=d(31635),E=d(47441),M=d(59858),f=d(71985),b=d(55055),A=d(37953),R=d(50591),N=d(85397),q=d(15196),ee=d(98071),B=d(45334),ie=d(3494);function ve(ce){if(ce instanceof f.c)return ce;if(null!=ce){if((0,b.l)(ce))return function U(ce){return new f.c(ue=>{const ae=ce[ie.s]();if((0,ee.T)(ae.subscribe))return ae.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ce);if((0,E.X)(ce))return function ne(ce){return new f.c(ue=>{for(let ae=0;ae<ce.length&&!ue.closed;ae++)ue.next(ce[ae]);ue.complete()})}(ce);if((0,M.y)(ce))return function X(ce){return new f.c(ue=>{ce.then(ae=>{ue.closed||(ue.next(ae),ue.complete())},ae=>ue.error(ae)).then(null,B.m)})}(ce);if((0,A.T)(ce))return Z(ce);if((0,N.x)(ce))return function W(ce){return new f.c(ue=>{for(const ae of ce)if(ue.next(ae),ue.closed)return;ue.complete()})}(ce);if((0,q.U)(ce))return function re(ce){return Z((0,q.C)(ce))}(ce)}throw(0,R.L)(ce)}function Z(ce){return new f.c(ue=>{(function K(ce,ue){var ae,te,de,_e;return(0,S.__awaiter)(this,void 0,void 0,function*(){try{for(ae=(0,S.__asyncValues)(ce);!(te=yield ae.next()).done;)if(ue.next(te.value),ue.closed)return}catch(we){de={error:we}}finally{try{te&&!te.done&&(_e=ae.return)&&(yield _e.call(ae))}finally{if(de)throw de.error}}ue.complete()})})(ce,ue).catch(ae=>ue.error(ae))})}},57786(Vt,Pe,d){"use strict";d.d(Pe,{h:()=>A});var S=d(26365),E=d(58750),M=d(983),f=d(9326),b=d(86648);function A(...R){const N=(0,f.lI)(R),q=(0,f.R0)(R,1/0),ee=R;return ee.length?1===ee.length?(0,E.Tg)(ee[0]):(0,S.U)(q)((0,b.H)(ee,N)):M.w}},7673(Vt,Pe,d){"use strict";d.d(Pe,{of:()=>M});var S=d(9326),E=d(86648);function M(...f){const b=(0,S.lI)(f);return(0,E.H)(f,b)}},18810(Vt,Pe,d){"use strict";d.d(Pe,{$:()=>M});var S=d(71985),E=d(98071);function M(f,b){const A=(0,E.T)(f)?f:()=>f,R=N=>N.error(A());return new S.c(b?N=>b.schedule(R,0,N):R)}},1807(Vt,Pe,d){"use strict";d.d(Pe,{O:()=>b});var S=d(71985),E=d(43236),M=d(79470),f=d(28211);function b(A=0,R,N=E.b){let q=-1;return null!=R&&((0,M.m)(R)?N=R:q=R),new S.c(ee=>{let B=(0,f.v)(A)?+A-N.now():A;B<0&&(B=0);let ie=0;return N.schedule(function(){ee.closed||(ee.next(ie++),0<=q?this.schedule(void 0,q):ee.complete())},B)})}},54360(Vt,Pe,d){"use strict";d.d(Pe,{_:()=>E});var S=d(47707);function E(f,b,A,R,N){return new M(f,b,A,R,N)}class M extends S.vU{constructor(b,A,R,N,q,ee){super(b),this.onFinalize=q,this.shouldUnsubscribe=ee,this._next=A?function(B){try{A(B)}catch(ie){b.error(ie)}}:super._next,this._error=N?function(B){try{N(B)}catch(ie){b.error(ie)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(B){b.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var b;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:A}=this;super.unsubscribe(),!A&&(null===(b=this.onFinalize)||void 0===b||b.call(this))}}}},13798(Vt,Pe,d){"use strict";d.d(Pe,{Z:()=>R});var S=d(43236),E=d(39974),M=d(58750),f=d(54360),A=d(1807);function R(N,q=S.E){return function b(N){return(0,E.N)((q,ee)=>{let B=!1,ie=null,ve=null,U=!1;const ne=()=>{if(ve?.unsubscribe(),ve=null,B){B=!1;const W=ie;ie=null,ee.next(W)}U&&ee.complete()},X=()=>{ve=null,U&&ee.complete()};q.subscribe((0,f._)(ee,W=>{B=!0,ie=W,ve||(0,M.Tg)(N(W)).subscribe(ve=(0,f._)(ee,ne,X))},()=>{U=!0,(!B||!ve||ve.closed)&&ee.complete()}))})}(()=>(0,A.O)(N,q))}},99437(Vt,Pe,d){"use strict";d.d(Pe,{W:()=>f});var S=d(58750),E=d(54360),M=d(39974);function f(b){return(0,M.N)((A,R)=>{let ee,N=null,q=!1;N=A.subscribe((0,E._)(R,void 0,void 0,B=>{ee=(0,S.Tg)(b(B,f(b)(A))),N?(N.unsubscribe(),N=null,ee.subscribe(R)):q=!0})),q&&(N.unsubscribe(),N=null,ee.subscribe(R))})}},70274(Vt,Pe,d){"use strict";d.d(Pe,{H:()=>M});var S=d(31397),E=d(98071);function M(f,b){return(0,E.T)(b)?(0,S.Z)(f,b,1):(0,S.Z)(f,1)}},70152(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>f});var S=d(43236),E=d(39974),M=d(54360);function f(b,A=S.E){return(0,E.N)((R,N)=>{let q=null,ee=null,B=null;const ie=()=>{if(q){q.unsubscribe(),q=null;const U=ee;ee=null,N.next(U)}};function ve(){const U=B+b,ne=A.now();if(ne<U)return q=this.schedule(void 0,U-ne),void N.add(q);ie()}R.subscribe((0,M._)(N,U=>{ee=U,B=A.now(),q||(q=A.schedule(ve,b),N.add(q))},()=>{ie(),N.complete()},void 0,()=>{ee=q=null}))})}},39901(Vt,Pe,d){"use strict";d.d(Pe,{U:()=>M});var S=d(39974),E=d(54360);function M(f){return(0,S.N)((b,A)=>{let R=!1;b.subscribe((0,E._)(A,N=>{R=!0,A.next(N)},()=>{R||A.next(f),A.complete()}
1))})}},35335(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>ee});var S=d(43236),E=d(28793),M=d(96697),f=d(73557),b=d(73703),A=d(31397),R=d(58750);function N(B,ie){return ie?ve=>(0,E.x)(ie.pipe((0,M.s)(1),(0,f.w)()),ve.pipe(N(B))):(0,A.Z)((ve,U)=>(0,R.Tg)(B(ve,U)).pipe((0,M.s)(1),(0,b.u)(ve)))}var q=d(1807);function ee(B,ie=S.E){const ve=(0,q.O)(B,ie);return N(()=>ve)}},23294(Vt,Pe,d){"use strict";d.d(Pe,{F:()=>f});var S=d(33669),E=d(39974),M=d(54360);function f(A,R=S.D){return A=A??b,(0,E.N)((N,q)=>{let ee,B=!0;N.subscribe((0,M._)(q,ie=>{const ve=R(ie);(B||!A(ee,ve))&&(B=!1,ee=ve,q.next(ie))}))})}function b(A,R){return A===R}},5964(Vt,Pe,d){"use strict";d.d(Pe,{p:()=>M});var S=d(39974),E=d(54360);function M(f,b){return(0,S.N)((A,R)=>{let N=0;A.subscribe((0,E._)(R,q=>f.call(b,q,N++)&&R.next(q)))})}},70980(Vt,Pe,d){"use strict";d.d(Pe,{j:()=>E});var S=d(39974);function E(M){return(0,S.N)((f,b)=>{try{f.subscribe(b)}finally{b.add(M)}})}},61594(Vt,Pe,d){"use strict";d.d(Pe,{$:()=>R});var S=d(9350),E=d(5964),M=d(96697),f=d(39901),b=d(93774),A=d(33669);function R(N,q){const ee=arguments.length>=2;return B=>B.pipe(N?(0,E.p)((ie,ve)=>N(ie,ve,B)):A.D,(0,M.s)(1),ee?(0,f.U)(q):(0,b.v)(()=>new S.G))}},73557(Vt,Pe,d){"use strict";d.d(Pe,{w:()=>f});var S=d(39974),E=d(54360),M=d(85343);function f(){return(0,S.N)((b,A)=>{b.subscribe((0,E._)(A,M.l))})}},67018(Vt,Pe,d){"use strict";d.d(Pe,{H:()=>R});var S=d(9350),E=d(5964),M=d(55109),f=d(93774),b=d(39901),A=d(33669);function R(N,q){const ee=arguments.length>=2;return B=>B.pipe(N?(0,E.p)((ie,ve)=>N(ie,ve,B)):A.D,(0,M.o)(1),ee?(0,b.U)(q):(0,f.v)(()=>new S.G))}},96354(Vt,Pe,d){"use strict";d.d(Pe,{T:()=>M});var S=d(39974),E=d(54360);function M(f,b){return(0,S.N)((A,R)=>{let N=0;A.subscribe((0,E._)(R,q=>{R.next(f.call(b,q,N++))}))})}},73703(Vt,Pe,d){"use strict";d.d(Pe,{u:()=>E});var S=d(96354);function E(M){return(0,S.T)(()=>M)}},26365(Vt,Pe,d){"use strict";d.d(Pe,{U:()=>M});var S=d(31397),E=d(33669);function M(f=1/0){return(0,S.Z)(E.D,f)}},31397(Vt,Pe,d){"use strict";d.d(Pe,{Z:()=>N});var S=d(96354),E=d(58750),M=d(39974),f=d(45225),b=d(54360),R=d(98071);function N(q,ee,B=1/0){return(0,R.T)(ee)?N((ie,ve)=>(0,S.T)((U,ne)=>ee(ie,U,ve,ne))((0,E.Tg)(q(ie,ve))),B):("number"==typeof ee&&(B=ee),(0,M.N)((ie,ve)=>function A(q,ee,B,ie,ve,U,ne,X){const W=[];let Z=0,re=0,K=!1;const ce=()=>{K&&!W.length&&!Z&&ee.complete()},ue=te=>Z<ie?ae(te):W.push(te),ae=te=>{U&&ee.next(te),Z++;let de=!1;(0,E.Tg)(B(te,re++)).subscribe((0,b._)(ee,_e=>{ve?.(_e),U?ue(_e):ee.next(_e)},()=>{de=!0},void 0,()=>{if(de)try{for(Z--;W.length&&Z<ie;){const _e=W.shift();ne?(0,f.N)(ee,ne,()=>ae(_e)):ae(_e)}ce()}catch(_e){ee.error(_e)}}))};return q.subscribe((0,b._)(ee,ue,()=>{K=!0,ce()})),()=>{X?.()}}(ie,ve,q,B)))}},13946(Vt,Pe,d){"use strict";d.d(Pe,{J:()=>M});var S=d(39974),E=d(54360);function M(){return(0,S.N)((f,b)=>{let A,R=!1;f.subscribe((0,E._)(b,N=>{const q=A;A=N,R&&b.next([q,N]),R=!0}))})}},99898(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>M});var S=d(39974),E=d(54360);function M(){return(0,S.N)((f,b)=>{let A=null;f._refCount++;const R=(0,E._)(b,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(A=null);const N=f._connection,q=A;A=null,N&&(!q||N===q)&&N.unsubscribe(),b.unsubscribe()});f.subscribe(R),R.closed||(A=f.connect())})}},12498(Vt,Pe,d){"use strict";d.d(Pe,{L:()=>A});var S=d(39974),E=d(54360),M=d(33669),f=d(1807),b=d(58750);function A(R=1/0){let N;N=R&&"object"==typeof R?R:{count:R};const{count:q=1/0,delay:ee,resetOnSuccess:B=!1}=N;return q<=0?M.D:(0,S.N)((ie,ve)=>{let ne,U=0;const X=()=>{let W=!1;ne=ie.subscribe((0,E._)(ve,Z=>{B&&(U=0),ve.next(Z)},void 0,Z=>{if(U++<q){const re=()=>{ne?(ne.unsubscribe(),ne=null,X()):W=!0};if(null!=ee){const K="number"==typeof ee?(0,f.O)(ee):(0,b.Tg)(ee(Z,U)),ce=(0,E._)(ve,()=>{ce.unsubscribe(),re()},()=>{ve.complete()});K.subscribe(ce)}else re()}else ve.error(Z)})),W&&(ne.unsubscribe(),ne=null,X())};X()})}},11966(Vt,Pe,d){"use strict";d.d(Pe,{l:()=>b});var S=d(58750),E=d(21413),M=d(39974),f=d(54360);function b(A){return(0,M.N)((R,N)=>{let q,B,ee=!1;const ie=()=>{q=R.subscribe((0,f._)(N,void 0,void 0,ve=>{B||(B=new E.B,(0,S.Tg)(A(B)).subscribe((0,f._)(N,()=>q?ie():ee=!0))),B&&B.next(ve)})),ee&&(q.unsubscribe(),q=null,ee=!1,ie())};ie()})}},22816(Vt,Pe,d){"use strict";d.d(Pe,{S:()=>f});var S=d(39974),E=d(54360);function f(b,A){return(0,S.N)(function M(b,A,R,N,q){return(ee,B)=>{let ie=R,ve=A,U=0;ee.subscribe((0,E._)(B,ne=>{const X=U++;ve=ie?b(ve,ne,X):(ie=!0,ne),N&&B.next(ve)},q&&(()=>{ie&&B.next(ve),B.complete()}
1)))}}(b,A,arguments.length>=2,!0))}},97647(Vt,Pe,d){"use strict";d.d(Pe,{u:()=>b});var S=d(58750),E=d(21413),M=d(47707),f=d(39974);function b(R={}){const{connector:N=()=>new E.B,resetOnError:q=!0,resetOnComplete:ee=!0,resetOnRefCountZero:B=!0}=R;return ie=>{let ve,U,ne,X=0,W=!1,Z=!1;const re=()=>{U?.unsubscribe(),U=void 0},K=()=>{re(),ve=ne=void 0,W=Z=!1},ce=()=>{const ue=ve;K(),ue?.unsubscribe()};return(0,f.N)((ue,ae)=>{X++,!Z&&!W&&re();const te=ne=ne??N();ae.add(()=>{X--,0===X&&!Z&&!W&&(U=A(ce,B))}),te.subscribe(ae),!ve&&X>0&&(ve=new M.Ms({next:de=>te.next(de),error:de=>{Z=!0,re(),U=A(K,q,de),te.error(de)},complete:()=>{W=!0,re(),U=A(K,ee),te.complete()}}),(0,S.Tg)(ue).subscribe(ve))})(ie)}}function A(R,N,...q){if(!0===N)return void R();if(!1===N)return;const ee=new M.Ms({next:()=>{ee.unsubscribe(),R()}});return(0,S.Tg)(N(...q)).subscribe(ee)}},44668(Vt,Pe,d){"use strict";d.d(Pe,{t:()=>M});var S=d(92771),E=d(97647);function M(f,b,A){let R,N=!1;return f&&"object"==typeof f?({bufferSize:R=1/0,windowTime:b=1/0,refCount:N=!1,scheduler:A}=f):R=f??1/0,(0,E.u)({connector:()=>new S.m(R,b,A),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:N})}},65245(Vt,Pe,d){"use strict";d.d(Pe,{i:()=>E});var S=d(5964);function E(M){return(0,S.p)((f,b)=>M<=b)}},99172(Vt,Pe,d){"use strict";d.d(Pe,{Z:()=>f});var S=d(28793),E=d(9326),M=d(39974);function f(...b){const A=(0,E.lI)(b);return(0,M.N)((R,N)=>{(A?(0,S.x)(b,R,A):(0,S.x)(b,R)).subscribe(N)})}},25558(Vt,Pe,d){"use strict";d.d(Pe,{n:()=>f});var S=d(58750),E=d(39974),M=d(54360);function f(b,A){return(0,E.N)((R,N)=>{let q=null,ee=0,B=!1;const ie=()=>B&&!q&&N.complete();R.subscribe((0,M._)(N,ve=>{q?.unsubscribe();let U=0;const ne=ee++;(0,S.Tg)(b(ve,ne)).subscribe(q=(0,M._)(N,X=>N.next(A?A(ve,X,ne,U++):X),()=>{q=null,ie()}))},()=>{B=!0,ie()}))})}},96697(Vt,Pe,d){"use strict";d.d(Pe,{s:()=>f});var S=d(983),E=d(39974),M=d(54360);function f(b){return b<=0?()=>S.w:(0,E.N)((A,R)=>{let N=0;A.subscribe((0,M._)(R,q=>{++N<=b&&(R.next(q),b<=N&&R.complete())}))})}},55109(Vt,Pe,d){"use strict";d.d(Pe,{o:()=>f});var S=d(983),E=d(39974),M=d(54360);function f(b){return b<=0?()=>S.w:(0,E.N)((A,R)=>{let N=[];A.subscribe((0,M._)(R,q=>{N.push(q),b<N.length&&N.shift()},()=>{for(const q of N)R.next(q);R.complete()},void 0,()=>{N=null}))})}},56977(Vt,Pe,d){"use strict";d.d(Pe,{Q:()=>b});var S=d(39974),E=d(54360),M=d(58750),f=d(85343);function b(A){return(0,S.N)((R,N)=>{(0,M.Tg)(A).subscribe((0,E._)(N,()=>N.complete(),f.l)),!N.closed&&R.subscribe(N)})}},77048(Vt,Pe,d){"use strict";d.d(Pe,{v:()=>M});var S=d(39974),E=d(54360);function M(f,b=!1){return(0,S.N)((A,R)=>{let N=0;A.subscribe((0,E._)(R,q=>{const ee=f(q,N++);(ee||b)&&R.next(q),!ee&&R.complete()}))})}},88141(Vt,Pe,d){"use strict";d.d(Pe,{M:()=>b});var S=d(98071),E=d(39974),M=d(54360),f=d(33669);function b(A,R,N){const q=(0,S.T)(A)||R||N?{next:A,error:R,complete:N}:A;return q?(0,E.N)((ee,B)=>{var ie;null===(ie=q.subscribe)||void 0===ie||ie.call(q);let ve=!0;ee.subscribe((0,M._)(B,U=>{var ne;null===(ne=q.next)||void 0===ne||ne.call(q,U),B.next(U)},()=>{var U;ve=!1,null===(U=q.complete)||void 0===U||U.call(q),B.complete()},U=>{var ne;ve=!1,null===(ne=q.error)||void 0===ne||ne.call(q,U),B.error(U)},()=>{var U,ne;ve&&(null===(U=q.unsubscribe)||void 0===U||U.call(q)),null===(ne=q.finalize)||void 0===ne||ne.call(q)}))}):f.D}},93774(Vt,Pe,d){"use strict";d.d(Pe,{v:()=>f});var S=d(9350),E=d(39974),M=d(54360);function f(A=b){return(0,E.N)((R,N)=>{let q=!1;R.subscribe((0,M._)(N,ee=>{q=!0,N.next(ee)},()=>q?N.complete():N.error(A())))})}function b(){return new S.G}},96780(Vt,Pe,d){"use strict";d.d(Pe,{R:()=>b});var S=d(18359);class E extends S.yU{constructor(R,N){super()}schedule(R,N=0){return this}}const M={setInterval(A,R,...N){const{delegate:q}=M;return q?.setInterval?q.setInterval(A,R,...N):setInterval(A,R,...N)},clearInterval(A){const{delegate:R}=M;return(R?.clearInterval||clearInterval)(A)},delegate:void 0};var f=d(57908);class b extends E{constructor(R,N){super(R,N),this.scheduler=R,this.work=N,this.pending=!1}schedule(R,N=0){var q;if(this.closed)return this;this.state=R;const ee=this.id,B=this.scheduler;return null!=ee&&(this.id=this.recycleAsyncId(B,ee,N)),this.pending=!0,this.delay=N,this.id=null!==(q=this.id
vendor: 5,023 bytes, line 1
1)&&void 0!==q?q:this.requestAsyncId(B,this.id,N),this}requestAsyncId(R,N,q=0){return M.setInterval(R.flush.bind(R,this),q)}recycleAsyncId(R,N,q=0){if(null!=q&&this.delay===q&&!1===this.pending)return N;null!=N&&M.clearInterval(N)}execute(R,N){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const q=this._execute(R,N);if(q)return q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,N){let ee,q=!1;try{this.work(R)}catch(B){q=!0,ee=B||new Error("Scheduled action threw falsy error")}if(q)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:R,scheduler:N}=this,{actions:q}=N;this.work=this.state=this.scheduler=null,this.pending=!1,(0,f.o)(q,this),null!=R&&(this.id=this.recycleAsyncId(N,R,null)),this.delay=null,super.unsubscribe()}}}},39687(Vt,Pe,d){"use strict";d.d(Pe,{q:()=>M});var S=d(86129);class E{constructor(b,A=E.now){this.schedulerActionCtor=b,this.now=A}schedule(b,A=0,R){return new this.schedulerActionCtor(this,b).schedule(R,A)}}E.now=S.U.now;class M extends E{constructor(b,A=E.now){super(b,A),this.actions=[],this._active=!1}flush(b){const{actions:A}=this;if(this._active)return void A.push(b);let R;this._active=!0;do{if(R=b.execute(b.state,b.delay))break}while(b=A.shift());if(this._active=!1,R){for(;b=A.shift();)b.unsubscribe();throw R}}}},30536(Vt,Pe,d){"use strict";d.d(Pe,{X:()=>R});var S=d(96780),E=d(18359);const M={schedule(q){let ee=requestAnimationFrame,B=cancelAnimationFrame;const{delegate:ie}=M;ie&&(ee=ie.requestAnimationFrame,B=ie.cancelAnimationFrame);const ve=ee(U=>{B=void 0,q(U)});return new E.yU(()=>B?.(ve))},requestAnimationFrame(...q){const{delegate:ee}=M;return(ee?.requestAnimationFrame||requestAnimationFrame)(...q)},cancelAnimationFrame(...q){const{delegate:ee}=M;return(ee?.cancelAnimationFrame||cancelAnimationFrame)(...q)},delegate:void 0};var b=d(39687);const R=new class A extends b.q{flush(ee){let B;this._active=!0,ee?B=ee.id:(B=this._scheduled,this._scheduled=void 0);const{actions:ie}=this;let ve;ee=ee||ie.shift();do{if(ve=ee.execute(ee.state,ee.delay))break}while((ee=ie[0])&&ee.id===B&&ie.shift());if(this._active=!1,ve){for(;(ee=ie[0])&&ee.id===B&&ie.shift();)ee.unsubscribe();throw ve}}}(class f extends S.R{constructor(ee,B){super(ee,B),this.scheduler=ee,this.work=B}requestAsyncId(ee,B,ie=0){return null!==ie&&ie>0?super.requestAsyncId(ee,B,ie):(ee.actions.push(this),ee._scheduled||(ee._scheduled=M.requestAnimationFrame(()=>ee.flush(void 0))))}recycleAsyncId(ee,B,ie=0){var ve;if(null!=ie?ie>0:this.delay>0)return super.recycleAsyncId(ee,B,ie);const{actions:U}=ee;null!=B&&B===ee._scheduled&&(null===(ve=U[U.length-1])||void 0===ve?void 0:ve.id)!==B&&(M.cancelAnimationFrame(B),ee._scheduled=void 0)}})},43236(Vt,Pe,d){"use strict";d.d(Pe,{E:()=>M,b:()=>f});var S=d(96780);const M=new(d(39687).q)(S.R),f=M},86129(Vt,Pe,d){"use strict";d.d(Pe,{U:()=>S});const S={now:()=>(S.delegate||Date).now(),delegate:void 0}},19270(Vt,Pe,d){"use strict";d.d(Pe,{f:()=>S});const S={setTimeout(E,M,...f){const{delegate:b}=S;return b?.setTimeout?b.setTimeout(E,M,...f):setTimeout(E,M,...f)},clearTimeout(E){const{delegate:M}=S;return(M?.clearTimeout||clearTimeout)(E)},delegate:void 0}},4761(Vt,Pe,d){"use strict";d.d(Pe,{l:()=>E});const E=function S(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(Vt,Pe,d){"use strict";d.d(Pe,{s:()=>S});const S="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(Vt,Pe,d){"use strict";d.d(Pe,{G:()=>E});const E=(0,d(81853).L)(M=>function(){M(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(Vt,Pe,d){"use strict";d.d(Pe,{R0:()=>A,lI:()=>b,ms:()=>f});var S=d(98071),E=d(79470);function M(R){return R[R.length-1]}function f(R){return(0,S.T)(M(R))?R.pop():void 0}function b(R){return(0,E.m)(M(R))?R.pop():void 0}function A(R,N){return"number"==typeof M(R)?R.pop():N}},93073(Vt,Pe,d){"use strict";d.d(Pe,{D:()=>b});const{isArray:S}=Array,{getPrototypeOf:E,prototype:M,keys:f}=Object;function b(R){if(1===R.length){const N=R[0];if(S(N))return{args:N,keys:null};if(function A(R){return R&&"object"==typeof R&&E(R)===M}(N)){const q=f(N);return{args:q.map(ee=>N[ee]),keys:q}}}return{args:R,keys:null}}},42326(Vt,Pe,d){"use strict";d.d(Pe,{K:()=>E});const{isArray:S}=Array;function E(M){return 1===M.length&&S(M[0])?M[0]:M}},57908(Vt,Pe,d){"use strict";function S(E,M){if(E){const f=E.indexOf(M);0<=f&&E.splice(f,1)}}d.d(Pe,{o:()=>S})},81853(Vt,Pe,d){"use strict";function S(E){const f=E(b=>{Error.call(b),b.stack=(new Error).stack});return f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f}d.d(Pe,{L:()=>S})},58496(Vt,Pe,d){"use strict";function S(E,M){return E.reduce((f,b,A)=>(f[b]=M[A],f),{})}d.d(Pe,{e:()=>S})},49786(Vt,Pe,d){"use strict";d.d(Pe,{Y:()=>M,l:()=>f});var S=d(41026);let E=null;function M(b){if(S.$.useDeprecatedSynchronousErrorHandling){const A=!E;if(A&&(E={errorThrown:!1,error:null}),b(),A){const{errorThrown:R,error:N}=E;
1if(E=null,R)throw N}}else b()}function f(b){S.$.useDeprecatedSynchronousErrorHandling&&E&&(E.errorThrown=!0,E.error=b)}},45225(Vt,Pe,d){"use strict";function S(E,M,f,b=0,A=!1){const R=M.schedule(function(){f(),A?E.add(this.schedule(null,b)):this.unsubscribe()},b);if(E.add(R),!A)return R}d.d(Pe,{N:()=>S})},33669(Vt,Pe,d){"use strict";function S(E){return E}d.d(Pe,{D:()=>S})},47441(Vt,Pe,d){"use strict";d.d(Pe,{X:()=>S});const S=E=>E&&"number"==typeof E.length&&"function"!=typeof E},37953(Vt,Pe,d){"use strict";d.d(Pe,{T:()=>E});var S=d(98071);function E(M){return Symbol.asyncIterator&&(0,S.T)(M?.[Symbol.asyncIterator])}},28211(Vt,Pe,d){"use strict";function S(E){return E instanceof Date&&!isNaN(E)}d.d(Pe,{v:()=>S})},98071(Vt,Pe,d){"use strict";function S(E){return"function"==typeof E}d.d(Pe,{T:()=>S})},55055(Vt,Pe,d){"use strict";d.d(Pe,{l:()=>M});var S=d(3494),E=d(98071);function M(f){return(0,E.T)(f[S.s])}},85397(Vt,Pe,d){"use strict";d.d(Pe,{x:()=>M});var S=d(4761),E=d(98071);function M(f){return(0,E.T)(f?.[S.l])}},74402(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(71985),E=d(98071);function M(f){return!!f&&(f instanceof S.c||(0,E.T)(f.lift)&&(0,E.T)(f.subscribe))}},59858(Vt,Pe,d){"use strict";d.d(Pe,{y:()=>E});var S=d(98071);function E(M){return(0,S.T)(M?.then)}},15196(Vt,Pe,d){"use strict";d.d(Pe,{C:()=>M,U:()=>f});var S=d(31635),E=d(98071);function M(b){return(0,S.__asyncGenerator)(this,arguments,function*(){const R=b.getReader();try{for(;;){const{value:N,done:q}=yield(0,S.__await)(R.read());if(q)return yield(0,S.__await)(void 0);yield yield(0,S.__await)(N)}}finally{R.releaseLock()}})}function f(b){return(0,E.T)(b?.getReader)}},79470(Vt,Pe,d){"use strict";d.d(Pe,{m:()=>E});var S=d(98071);function E(M){return M&&(0,S.T)(M.schedule)}},39974(Vt,Pe,d){"use strict";d.d(Pe,{N:()=>M,S:()=>E});var S=d(98071);function E(f){return(0,S.T)(f?.lift)}function M(f){return b=>{if(E(b))return b.lift(function(A){try{return f(A,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(Vt,Pe,d){"use strict";d.d(Pe,{I:()=>f});var S=d(96354);const{isArray:E}=Array;function f(b){return(0,S.T)(A=>function M(b,A){return E(A)?b(...A):b(A)}(b,A))}},85343(Vt,Pe,d){"use strict";function S(){}d.d(Pe,{l:()=>S})},71203(Vt,Pe,d){"use strict";d.d(Pe,{F:()=>E,m:()=>M});var S=d(33669);function E(...f){return M(f)}function M(f){return 0===f.length?S.D:1===f.length?f[0]:function(A){return f.reduce((R,N)=>N(R),A)}}},45334(Vt,Pe,d){"use strict";d.d(Pe,{m:()=>M});var S=d(41026),E=d(19270);function M(f){E.f.setTimeout(()=>{const{onUnhandledError:b}=S.$;if(!b)throw f;b(f)})}},50591(Vt,Pe,d){"use strict";function S(E){return new TypeError(`You provided ${null!==E&&"object"==typeof E?"an invalid object":`'${E}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}d.d(Pe,{L:()=>S})},11514(Vt,Pe,d){"use strict";d.d(Pe,{FX:()=>Z,If:()=>S,K2:()=>A,PZ:()=>W,hZ:()=>M,i0:()=>f,iF:()=>R,kY:()=>ee,kp:()=>E,sf:()=>X,wk:()=>N});var S=function(re){return re[re.State=0]="State",re[re.Transition=1]="Transition",re[re.Sequence=2]="Sequence",re[re.Group=3]="Group",re[re.Animate=4]="Animate",re[re.Keyframes=5]="Keyframes",re[re.Style=6]="Style",re[re.Trigger=7]="Trigger",re[re.Reference=8]="Reference",re[re.AnimateChild=9]="AnimateChild",re[re.AnimateRef=10]="AnimateRef",re[re.Query=11]="Query",re[re.Stagger=12]="Stagger",re}(S||{});const E="*";function M(re,K){return{type:S.Trigger,name:re,definitions:K,options:{}}}function f(re,K=null){return{type:S.Animate,styles:K,timings:re}}function A(re,K=null){return{type:S.Sequence,steps:re,options:K}}function R(re){return{type:S.Style,styles:re,offset:null}}function N(re,K,ce){return{type:S.State,name:re,styles:K,options:ce}}function ee(re,K,ce=null){return{type:S.Transition,expr:re,animation:K,options:ce}}class X{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(K=0,ce=0){this.totalTime=K+ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(K=>K()),this._onDoneFns=[])}onStart(K){this._originalOnStartFns.push(K),this._onStartFns.push(K)}onDone(K){this._originalOnDoneFns.push(K),this._onDoneFns.push(K)}onDestroy(K){this._onDestroyFns.push(K)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(K=>K()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(K=>K()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(K){this._position=this.totalTime?K*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(K){const ce="start"==K?this._onStartFns:this._onDoneFns;ce.forEach(ue=>ue()),ce.length=0}}class W{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(K){this.players=K;let ce=0,ue=0,ae=0;const te=this.players.length;0==te?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(de=>{de.onDone(()=>{++ce==te&&this._onFinish()}),de.onDestroy(()=>{++ue==te&&this._onDestroy()}),de.onStart(()=>{++ae==te&&this._onStart()})}),this.totalTime=this.players.reduce((de,_e)=>Math.max(de,_e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(K=>K()),this._onDoneFns=[])}init(){this.players.forEach(K=>K.init())}onStart(K){this._onStartFns.push(K)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(K=>K()),this._onStartFns=[])}onDone(K){this._onDoneFns.push(K)}onDestroy(K){this._onDestroyFns.push(K)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(K=>K.play())}pause(){this.players.forEach(K=>K.pause())}restart(){this.players.forEach(K=>K.restart())}finish(){this._onFinish(),this.players.forEach(K=>K.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(K=>K.destroy()),this._onDestroyFns.forEach(K=>K()),this._onDestroyFns=[])}reset(){this.players.forEach(K=>K.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(K){const ce=K*this.totalTime;this.players.forEach(ue=>{const ae=ue.totalTime?Math.min(1,ce/ue.totalTime):1;ue.setPosition(ae)})}getPosition(){const K=this.players.reduce((ce,ue)=>null===ce||ue.totalTime>ce.totalTime?ue:ce,null);return null!=K?K.getPosition():0}beforeDestroy(){this.players.forEach(K=>{K.beforeDestroy&&K.beforeDestroy()})}triggerCallback(K){const ce="start"==K?this._onStartFns:this._onDoneFns;ce.forEach(ue=>ue()),ce.length=0}}const Z="!"},17094(Vt,Pe,d){"use strict";d.d(Pe,{Ai:()=>Ot,GX:()=>Ye,Pd:()=>mt,Q_:()=>Ke,Z7:()=>Z,kB:()=>Je,sp:()=>Ze});var N=d(2615),q=d(73664),ee=d(17705),B=d(39842),ie=d(44522),ve=d(88968),U=d(49046),ne=d(34330),X=d(72318);let Z=(()=>{class rt{_platform=(0,N.WQX)(B.O);constructor(){}isDisabled(kt){return kt.hasAttribute("disabled")}isVisible(kt){return function K(rt){return!!(rt.offsetWidth||rt.offsetHeight||"function"==typeof rt.getClientRects&&rt.getClientRects().length)}(kt)&&"visible"===getComputedStyle(kt).visibility}isTabbable(kt){if(!this._platform.isBrowser)return!1;const Dt=function re(rt){try{return rt.frameElement}catch{return null}}(function Me(rt){return rt.ownerDocument&&rt.ownerDocument.defaultView||window}(kt));if(Dt&&(-1===we(Dt)||!this.isVisible(Dt)))return!1;let Sn=kt.nodeName.toLowerCase(),An=we(kt);return kt.hasAttribute("contenteditable")?-1!==An:!("iframe"===Sn||"object"===Sn||this._platform.WEBKIT&&this._platform.IOS&&!function De(rt){let ut=rt.nodeName.toLowerCase(),kt="input"===ut&&rt.type;return"text"===kt||"password"===kt||"select"===ut||"textarea"===ut}(kt))&&("audio"===Sn?!!kt.hasAttribute("controls")&&-1!==An:"video"===Sn?-1!==An&&(null!==An||this._platform.FIREFOX||kt.hasAttribute("controls")):kt.tabIndex>=0)}isFocusable(kt,Dt){return function Ie(rt){return!function ue(rt){return function te(rt){return"input"==rt.nodeName.toLowerCase()}(rt)&&"hidden"==rt.type}(rt)&&(function ce(rt){let ut=rt.nodeName.toLowerCase();return"input"===ut||"select"===ut||"button"===ut||"textarea"===ut}(rt)||function ae(rt){return function de(rt){return"a"==rt.nodeName.toLowerCase()}(rt)&&rt.hasAttribute("href")}(rt)||rt.hasAttribute("contenteditable")||_e(rt))}(kt)&&!this.isDisabled(kt)&&(Dt?.ignoreVisibility||this.isVisible(kt))}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275prov=N.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function _e(rt){if(!rt.hasAttribute("tabindex")||void 0===rt.tabIndex)return!1;let ut=rt.getAttribute("tabindex");return!(!ut||isNaN(parseInt(ut,10)))}function we(rt){if(!_e(rt))return null;const ut=parseInt(rt.getAttribute("tabindex")||"",10);return isNaN(ut)?-1:ut}class Ze{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(ut){this._enabled=ut,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ut,this._startAnchor),this._toggleAnchorTabIndex(ut,this._endAnchor))}_enabled=!0;constructor(ut,kt,Dt,Sn,An=!1,Qn){this._element=ut,this._checker=kt,this._ngZone=Dt,this._document=Sn,this._injector=Qn,An||this.attachAnchors()}destroy(){const ut=this._startAnchor,kt=this._endAnchor;ut&&(ut.removeEventListener("focus",this.startAnchorListener),ut.remove()),kt&&(kt.removeEventListener("focus",this.endAnchorListener),kt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(ut){return new Promise(kt=>{this._executeOnStable(()=>kt(this.focusInitialElement(ut)))})}focusFirstTabbableElementWhenReady(ut){return new Promise(kt=>{this._executeOnStable(()=>kt(this.focusFirstTabbableElement(ut)))})}focusLastTabbableElementWhenReady(ut){return new Promise(kt=>{this._executeOnStable(()=>kt(this.focusLastTabbableElement(ut)))})}_getRegionBoundary(ut){const kt=this._element.querySelectorAll(`[cdk-focus-region-${ut}], [cdkFocusRegion${ut}], [cdk-focus-${ut}]`);return"start"==ut?kt.length?kt[0]:this._getFirstTabbableElement(this._element):kt.length?kt[kt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ut){const kt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(kt){if(!this._checker.isFocusable(kt)){const Dt=this._getFirstTabbableElement(kt);return Dt?.focus(ut),!!Dt}return kt.focus(ut),!0}return this.focusFirstTabbableElement(ut)}focusFirstTabbableElement(ut){const kt=this._getRegionBoundary("start");return kt&&kt.focus(ut),!!kt}focusLastTabbableElement(ut){const kt=this._getRegionBoundary("end");return kt&&kt.focus(ut),!!kt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ut){if(this._checker.isFocusable(ut)&&this._checker.isTabbable(ut))return ut;const kt=ut.children;for(let Dt=0;Dt<kt.length;Dt++){const Sn=kt[Dt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(kt[Dt]):null;if(Sn)return Sn}return null}_getLastTabbableElement(ut){if(this._checker.isFocusable(ut)&&this._checker.isTabbable(ut))return ut;const kt=ut.children;for(let Dt=kt.length-1;Dt>=0;Dt--){const Sn=kt[Dt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(kt[Dt]):null;if(Sn)return Sn}return null}_createAnchor(){const ut=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ut),ut.classList.add("cdk-visually-hidden"),ut.classList.add("cdk-focus-trap-anchor"),ut.setAttribute("aria-hidden","true"),ut}_toggleAnchorTabIndex(ut,kt){ut?kt.setAttribute("tabindex","0"):kt.removeAttribute("tabindex")}toggleAnchors(ut){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ut,this._startAnchor),this._toggleAnchorTabIndex(ut,this._endAnchor))}_executeOnStable(ut){this._injector?(0,q.mal)(ut,{injector:this._injector}):setTimeout(ut)}}let Ye=(()=>{class rt{_checker=(0,N.WQX)(Z);_ngZone=(0,N.WQX)(q.SKi);_document=(0,N.WQX)(N.qQL);_injector=(0,N.WQX)(N.zZn);constructor(){(0,N.WQX)(ve.l).load(U.Y)}create(kt,Dt=!1){return new Ze(kt,this._checker,this._ngZone,this._document,Dt,this._injector)}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275prov=N.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),Je=(()=>{class rt{_elementRef=(0,N.WQX)(q.aKT);_focusTrapFactory=(0,N.WQX)(Ye);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(kt){this.focusTrap&&(this.focusTrap.enabled=kt)}autoCapture;constructor(){(0,N.WQX)(B.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(kt){const Dt=kt.autoCapture;Dt&&!Dt.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,ie.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275dir=q.FsC({type:rt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",ee.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",ee.L39]},exportAs:["cdkTrapFocus"],features:[q.OA$]})}return rt})();const vt=new N.nKC("liveAnnouncerElement",{providedIn:"root",factory:function $t(){return null}}),Et=new N.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let xt=0,Ot=(()=>{class rt{_ngZone=(0,N.WQX)(q.SKi);_defaultOptions=(0,N.WQX)(Et,{optional:!0});_liveElement;_document=(0,N.WQX)(N.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const kt=(0,N.WQX)(vt,{optional:!0});this._liveElement=kt||this._createLiveElement()}announce(kt,...Dt){const Sn=this._defaultOptions;let An,Qn;return 1===Dt.length&&"number"==typeof Dt[0]?Qn=Dt[0]:[An,Qn]=Dt,this.clear(),clearTimeout(this._previousTimeout),An||(An=Sn&&Sn.politeness?Sn.politeness:"polite"),null==Qn&&Sn&&(Qn=Sn.duration),this._liveElement.setAttribute("aria-live",An),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(lr=>this._currentResolve=lr)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=kt,"number"==typeof Qn&&(this._previousTimeout=setTimeout(()=>this.clear(),Qn)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const kt="cdk-live-announcer-element",Dt=this._document.getElementsByClassName(kt),Sn=this._document.createElement("div");for(let An=0;An<Dt.length;An++)Dt[An].remove();return Sn.classList.add(kt),Sn.classList.add("cdk-visually-hidden"),Sn.setAttribute("aria-atomic","true"),Sn.setAttribute("aria-live","polite"),Sn.id="cdk-live-announcer-"+xt++,this._document.body.appendChild(Sn),Sn}_exposeAnnouncerToModals(kt){const Dt=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Sn=0;Sn<Dt.length;Sn++){const An=Dt[Sn],Qn=An.getAttribute("aria-owns");Qn?-1===Qn.indexOf(kt)&&An.setAttribute("aria-owns",Qn+" "+kt):An.setAttribute("aria-owns",kt)}}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275prov=N.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();var qe=function(rt){return rt[rt.NONE=0]="NONE",rt[rt.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",rt[rt.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",rt}(qe||{});const At="cdk-high-contrast-black-on-white",Ct="cdk-high-contrast-white-on-black",_t="cdk-high-contrast-active";let Ke=(()=>{class rt{_platform=(0,N.WQX)(B.O);_hasCheckedHighContrastMode;_document=(0,N.WQX)(N.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,N.WQX)(ne.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
1s())})}getHighContrastMode(){if(!this._platform.isBrowser)return qe.NONE;const kt=this._document.createElement("div");kt.style.backgroundColor="rgb(1,2,3)",kt.style.position="absolute",this._document.body.appendChild(kt);const Dt=this._document.defaultView||window,Sn=Dt&&Dt.getComputedStyle?Dt.getComputedStyle(kt):null,An=(Sn&&Sn.backgroundColor||"").replace(/ /g,"");switch(kt.remove(),An){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return qe.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return qe.BLACK_ON_WHITE}return qe.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const kt=this._document.body.classList;kt.remove(_t,At,Ct),this._hasCheckedHighContrastMode=!0;const Dt=this.getHighContrastMode();Dt===qe.BLACK_ON_WHITE?kt.add(_t,At):Dt===qe.WHITE_ON_BLACK&&kt.add(_t,Ct)}}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275prov=N.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),mt=(()=>{class rt{constructor(){(0,N.WQX)(Ke)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Dt){return new(Dt||rt)};static \u0275mod=q.$C({type:rt});static \u0275inj=N.G2t({imports:[X.w5]})}return rt})()},44339(Vt,Pe,d){"use strict";d.d(Pe,{vr:()=>Ye,px:()=>de,Ae:()=>_e}),d(17094);var E=d(2615),M=d(73664),f=d(39842),b=d(88968),A=d(49046);function de(_t,Ke,mt){const rt=we(_t,Ke);mt=mt.trim(),!rt.some(ut=>ut.trim()===mt)&&(rt.push(mt),_t.setAttribute(Ke,rt.join(" ")))}function _e(_t,Ke,mt){const rt=we(_t,Ke);mt=mt.trim();const ut=rt.filter(kt=>kt!==mt);ut.length?_t.setAttribute(Ke,ut.join(" ")):_t.removeAttribute(Ke)}function we(_t,Ke){return _t.getAttribute(Ke)?.match(/\S+/g)??[]}d(21413),d(18359),d(74402),d(7673),d(96697),d(59096);const Ie="cdk-describedby-message",Me="cdk-describedby-host";let Ze=0,Ye=(()=>{class _t{_platform=(0,E.WQX)(f.O);_document=(0,E.WQX)(E.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+Ze++;constructor(){(0,E.WQX)(b.l).load(A.Y),this._id=(0,E.WQX)(M.sZ2)+"-"+Ze++}describe(mt,rt,ut){if(!this._canBeDescribed(mt,rt))return;const kt=Je(rt,ut);"string"!=typeof rt?(vt(rt,this._id),this._messageRegistry.set(kt,{messageElement:rt,referenceCount:0})):this._messageRegistry.has(kt)||this._createMessageElement(rt,ut),this._isElementDescribedByMessage(mt,kt)||this._addMessageReference(mt,kt)}removeDescription(mt,rt,ut){if(!rt||!this._isElementNode(mt))return;const kt=Je(rt,ut);if(this._isElementDescribedByMessage(mt,kt)&&this._removeMessageReference(mt,kt),"string"==typeof rt){const Dt=this._messageRegistry.get(kt);Dt&&0===Dt.referenceCount&&this._deleteMessageElement(kt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const mt=this._document.querySelectorAll(`[${Me}="${this._id}"]`);for(let rt=0;rt<mt.length;rt++)this._removeCdkDescribedByReferenceIds(mt[rt]),mt[rt].removeAttribute(Me);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(mt,rt){const ut=this._document.createElement("div");vt(ut,this._id),ut.textContent=mt,rt&&ut.setAttribute("role",rt),this._createMessagesContainer(),this._messagesContainer.appendChild(ut),this._messageRegistry.set(Je(mt,rt),{messageElement:ut,referenceCount:0})}_deleteMessageElement(mt){this._messageRegistry.get(mt)?.messageElement?.remove(),this._messageRegistry.delete(mt)}_createMessagesContainer(){if(this._messagesContainer)return;const mt="cdk-describedby-message-container",rt=this._document.querySelectorAll(`.${mt}[platform="server"]`);for(let kt=0;kt<rt.length;kt++)rt[kt].remove();const ut=this._document.createElement("div");ut.style.visibility="hidden",ut.classList.add(mt),ut.classList.add("cdk-visually-hidden"),this._platform.isBrowser||ut.setAttribute("platform","server"),this._document.body.appendChild(ut),this._messagesContainer=ut}_removeCdkDescribedByReferenceIds(mt){const rt=we(mt,"aria-describedby").filter(ut=>0!=ut.indexOf(Ie));mt.setAttribute("aria-describedby",rt.join(" "))}_addMessageReference(mt,rt){const ut=this._messageRegistry.get(rt);de(mt,"aria-describedby",ut.messageElement.id),mt.setAttribute(Me,this._id),ut.referenceCount++}_removeMessageReference(mt,rt){const ut=this._messageRegistry.get(rt);ut.referenceCount--,_e(mt,"aria-describedby",ut.messageElement.id),mt.removeAttribute(Me)}_isElementDescribedByMessage(mt,rt){const ut=we(mt,"aria-describedby"),kt=this._messageRegistry.get(rt),Dt=kt&&kt.messageElement.id;return!!Dt&&-1!=ut.indexOf(Dt)}_canBeDescribed(mt,rt){if(!this._isElementNode(mt))return!1;if(rt&&"object"==typeof rt)return!0;const ut=null==rt?"":`${rt}`.trim(),kt=mt.getAttribute("aria-label");return!(!ut||kt&&kt.trim()===ut)}_isElementNode(mt){return mt.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(rt){return new(rt||_t)};static \u0275prov=E.jDH({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})();function Je(_t,Ke){return"string"==typeof _t?`${Ke||""}/${_t}`:_t}function vt(_t,Ke){_t.id||(_t.id=`${Ie}-${Ke}-${Ze++}`)}},99090(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(12593);class E extends S.l{setActiveItem(f){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(f),this.activeItem&&this.activeItem.setActiveStyles()}}},80408(Vt,Pe,d){"use strict";function S(E){return Array.isArray(E)?E:[E]}d.d(Pe,{F:()=>S})},28203(Vt,Pe,d){"use strict";d.d(Pe,{ig:()=>f,jI:()=>b});var S=d(61577),E=d(2615),M=d(73664);let f=(()=>{class A{_isInitialized=!1;_rawDir;change=new M.bkB;get dir(){return this.valueSignal()}set dir(N){const q=this.valueSignal();this.valueSignal.set((0,S._j)(N)),this._rawDir=N,q!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=(0,E.vPA)("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(q){return new(q||A)};static \u0275dir=M.FsC({type:A,selectors:[["","dir",""]],hostVars:1,hostBindings:function(q,ee){2&q&&M.BMQ("dir",ee._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[M.Jv_([{provide:S.dS,useExisting:A}])]})}return A})(),b=(()=>{class A{static \u0275fac=function(q){return new(q||A)};static \u0275mod=M.$C({type:A});static \u0275inj=E.G2t({})}return A})()},34330(Vt,Pe,d){"use strict";d.d(Pe,{D:()=>W,Q:()=>K});var S=d(2615),E=d(73664),M=d(71985),f=d(21413),b=d(84572),A=d(28793),R=d(70152),N=d(96354),q=d(6
15245),ee=d(99172),B=d(96697),ie=d(56977),ve=d(39842),U=d(80408);const ne=new Set;let X,W=(()=>{class ue{_platform=(0,S.WQX)(ve.O);_nonce=(0,S.WQX)(E.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):re}matchMedia(te){return(this._platform.WEBKIT||this._platform.BLINK)&&function Z(ue,ae){if(!ne.has(ue))try{X||(X=document.createElement("style"),ae&&X.setAttribute("nonce",ae),X.setAttribute("type","text/css"),document.head.appendChild(X)),X.sheet&&(X.sheet.insertRule(`@media ${ue} {body{ }}`,0),ne.add(ue))}catch(te){console.error(te)}}(te,this._nonce),this._matchMedia(te)}static \u0275fac=function(de){return new(de||ue)};static \u0275prov=S.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function re(ue){return{matches:"all"===ue||""===ue,media:ue,addListener:()=>{},removeListener:()=>{}}}let K=(()=>{class ue{_mediaMatcher=(0,S.WQX)(W);_zone=(0,S.WQX)(E.SKi);_queries=new Map;_destroySubject=new f.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(te){return ce((0,U.F)(te)).some(_e=>this._registerQuery(_e).mql.matches)}observe(te){const _e=ce((0,U.F)(te)).map(De=>this._registerQuery(De).observable);let we=(0,b.z)(_e);return we=(0,A.x)(we.pipe((0,B.s)(1)),we.pipe((0,q.i)(1),(0,R.B)(0))),we.pipe((0,N.T)(De=>{const Ie={matches:!1,breakpoints:{}};return De.forEach(({matches:Me,query:Ze})=>{Ie.matches=Ie.matches||Me,Ie.breakpoints[Ze]=Me}),Ie}))}_registerQuery(te){if(this._queries.has(te))return this._queries.get(te);const de=this._mediaMatcher.matchMedia(te),we={observable:new M.c(De=>{const Ie=Me=>this._zone.run(()=>De.next(Me));return de.addListener(Ie),()=>{de.removeListener(Ie)}}).pipe((0,ee.Z)(de),(0,N.T)(({matches:De})=>({query:te,matches:De})),(0,ie.Q)(this._destroySubject)),mql:de};return this._queries.set(te,we),we}static \u0275fac=function(de){return new(de||ue)};static \u0275prov=S.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function ce(ue){return ue.map(ae=>ae.split(",")).reduce((ae,te)=>ae.concat(te)).map(ae=>ae.trim())}},14085(Vt,Pe,d){"use strict";function S(M){return null!=M&&"false"!=`${M}`}function E(M,f=/\s+/){const b=[];if(null!=M){const A=Array.isArray(M)?M:`${M}`.split(f);for(const R of A){const N=`${R}`.trim();N&&b.push(N)}}return b}d.d(Pe,{cc:()=>E,he:()=>S})},82529(Vt,Pe,d){"use strict";d.d(Pe,{Pe:()=>re,Ph:()=>Ie,ce:()=>ue,lG:()=>we,sU:()=>ce});var S=d(2615),E=d(73664),M=d(17705),f=d(21413),b=d(59030),A=d(76939),R=d(17094),N=d(76838),q=d(39842),ee=d(44522),B=d(10438),ie=d(67336),ve=d(99172),U=d(96697),ne=d(34056),X=d(89726),W=d(61577);function Z(Me,Ze){}class re{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let ce=(()=>{class Me extends A.lb{_elementRef=(0,S.WQX)(E.aKT);_focusTrapFactory=(0,S.WQX)(R.GX);_config;_interactivityChecker=(0,S.WQX)(R.Z7);_ngZone=(0,S.WQX)(E.SKi);_focusMonitor=(0,S.WQX)(N.FN);_renderer=(0,S.WQX)(E.sFG);_changeDetectorRef=(0,S.WQX)(M.gRc);_injector=(0,S.WQX)(S.zZn);_platform=(0,S.WQX)(q.O);_document=(0,S.WQX)(S.qQL);_portalOutlet;_focusTrapped=new f.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,S.WQX)(re,{optional:!0})||new re,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Ye){this._ariaLabelledByQueue.push(Ye),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Ye){const Je=this._ariaLabelledByQueue.indexOf(Ye);Je>-1&&(this._ariaLabelledByQueue.splice(Je,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Ye){this._portalOutlet.hasAttached();const Je=this._portalOutlet.attachComponentPortal(Ye);return this._contentAttached(),Je}attachTemplatePortal(Ye){this._portalOutlet.hasAttached();const Je=this._portalOutlet.attachTemplatePortal(Ye);return this._contentAttached(),Je}attachDomPortal=Ye=>{this._portalOutlet.hasAttached();const Je=this._portalOutlet.attachDomPortal(Ye);return this._contentAttached(),Je};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ye,Je){this._interactivityChecker.isFocusable(Ye)||(Ye.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const vt=()=>{$t(),Et(),Ye.removeAttribute("tabindex")},$t=this._renderer.listen(Ye,"blur",vt),Et=this._renderer.listen(Ye,"mousedown",vt)})),Ye.focus(Je)}_focusByCssSelector(Ye,Je){let vt=this._elementRef.nativeElement.querySelector(Ye);vt&&this._forceFocus(vt,Je)}_trapFocus(Ye){this._isDestroyed||(0,E.mal)(()=>{const Je=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Je.focus(Ye);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Ye)||this._focusDialogContainer(Ye);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Ye);break;default:this._focusByCssSelector(this._config.autoFocus,Ye)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Ye=this._config.restoreFocus;let Je=null;if("string"==typeof Ye?Je=this._document.querySelector(Ye):"boolean"==typeof Ye?Je=Ye?this._elementFocusedBeforeDialogWasOpened:null:Ye&&(Je=Ye),this._config.restoreFocus&&Je&&"function"==typeof Je.focus){const vt=(0,ee.vc)(),$t=this._elementRef.nativeElement;(!vt||vt===this._document.body||vt===$t||$t.contains(vt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Je,this._closeInteractionType),this._closeInteractionType=null):Je.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Ye){this._elementRef.nativeElement.focus?.(Ye)}_containsFocus(){const Ye=this._elementRef.nativeElement,Je=(0,ee.vc)();return Ye===Je||Ye.contains(Je)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ee.vc)()))}static \u0275fac=function(Je){return new(Je||Me)};static \u0275cmp=E.VBU({type:Me,selectors:[["cdk-dialog-container"]],viewQuery:function(Je,vt){if(1&Je&&E.GBs(A.I3,7),2&Je){let $t;E.mGM($t=E.lsd())&&(vt._portalOutlet=$t.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Je,vt){2&Je&&E.BMQ("id",vt._
1config.id||null)("role",vt._config.role)("aria-modal",vt._config.ariaModal)("aria-labelledby",vt._config.ariaLabel?null:vt._ariaLabelledByQueue[0])("aria-label",vt._config.ariaLabel)("aria-describedby",vt._config.ariaDescribedBy||null)},features:[E.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Je,vt){1&Je&&E.DNE(0,Z,0,0,"ng-template",0)},dependencies:[A.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return Me})();class ue{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new f.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Ze,Ye){this.overlayRef=Ze,this.config=Ye,this.disableClose=Ye.disableClose,this.backdropClick=Ze.backdropClick(),this.keydownEvents=Ze.keydownEvents(),this.outsidePointerEvents=Ze.outsidePointerEvents(),this.id=Ye.id,this.keydownEvents.subscribe(Je=>{Je.keyCode===B._f&&!this.disableClose&&!(0,ie.rp)(Je)&&(Je.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=Ze.detachments().subscribe(()=>{!1!==Ye.closeOnOverlayDetachments&&this.close()})}close(Ze,Ye){if(this._canClose(Ze)){const Je=this.closed;this.containerInstance._closeInteractionType=Ye?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Je.next(Ze),Je.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ze="",Ye=""){return this.overlayRef.updateSize({width:Ze,height:Ye}),this}addPanelClass(Ze){return this.overlayRef.addPanelClass(Ze),this}removePanelClass(Ze){return this.overlayRef.removePanelClass(Ze),this}_canClose(Ze){const Ye=this.config;return!!this.containerInstance&&(!Ye.closePredicate||Ye.closePredicate(Ze,Ye,this.componentInstance))}}const ae=new S.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Me=(0,S.WQX)(S.zZn);return()=>(0,ne.gA)(Me)}}),te=new S.nKC("DialogData"),de=new S.nKC("DefaultDialogConfig");function _e(Me){const Ze=(0,S.vPA)(Me),Ye=new E.bkB;return{valueSignal:Ze,get value(){return Ze()},change:Ye,ngOnDestroy(){Ye.complete()}}}let we=(()=>{class Me{_injector=(0,S.WQX)(S.zZn);_defaultOptions=(0,S.WQX)(de,{optional:!0});_parentDialog=(0,S.WQX)(Me,{optional:!0,skipSelf:!0});_overlayContainer=(0,S.WQX)(ne.Sf);_idGenerator=(0,S.WQX)(X.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new f.B;_afterOpenedAtThisLevel=new f.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,S.WQX)(ae);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,b.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ve.Z)(void 0)));constructor(){}open(Ye,Je){(Je={...this._defaultOptions||new re,...Je}).id=Je.id||this._idGenerator.getId("cdk-dialog-"),Je.id&&this.getDialogById(Je.id);const $t=this._getOverlayConfig(Je),Et=(0,ne.Y$)(this._injector,$t),xt=new ue(Et,Je),Ot=this._attachContainer(Et,xt,Je);if(xt.containerInstance=Ot,!this.openDialogs.length){const ke=this._overlayContainer.getContainerElement();Ot._focusTrapped?Ot._focusTrapped.pipe((0,U.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(ke)}):this._hideNonDialogContentFromAssistiveTechnology(ke)}return this._attachDialogContent(Ye,xt,Ot,Je),this.openDialogs.push(xt),xt.closed.subscribe(()=>this._removeOpenDialog(xt,!0)),this.afterOpened.next(xt),xt}closeAll(){De(this.openDialogs,Ye=>Ye.close())}getDialogById(Ye){return this.openDialogs.find(Je=>Je.id===Ye)}ngOnDestroy(){De(this._openDialogsAtThisLevel,Ye=>{!1===Ye.config.closeOnDestroy&&this._removeOpenDialog(Ye,!1)}),De(this._openDialogsAtThisLevel,Ye=>Ye.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ye){const Je=new ne.rR({positionStrategy:Ye.positionStrategy||(0,ne.uA)().centerHorizontally().centerVertically(),scrollStrategy:Ye.scrollStrategy||this._scrollStrategy(),panelClass:Ye.panelClass,hasBackdrop:Ye.hasBackdrop,direction:Ye.direction,minWidth:Ye.minWidth,minHeight:Ye.minHeight,maxWidth:Ye.maxWidth,maxHeight:Ye.maxHeight,width:Ye.width,height:Ye.height,disposeOnNavigation:Ye.closeOnNavigation,disableAnimations:Ye.disableAnimations});return Ye.backdropClass&&(Je.backdropClass=Ye.backdropClass),Je}_attachContainer(Ye,Je,vt){const $t=vt.injector||vt.viewContainerRef?.injector,Et=[{provide:re,useValue:vt},{provide:ue,useValue:Je},{provide:ne.yY,useValue:Ye}];let xt;vt.container?"function"==typeof vt.container?xt=vt.container:(xt=vt.container.type,Et.push(...vt.container.providers(vt))):xt=ce;const Ot=new A.A8(xt,vt.viewContainerRef,S.zZn.create({parent:$t||this._injector,providers:Et}));return Ye.attach(Ot).instance}_attachDialogContent(Ye,Je,vt,$t){if(Ye instanceof E.C4Q){const Et=this._createInjector($t,Je,vt,void 0);let xt={$implicit:$t.data,dialogRef:Je};$t.templateContext&&(xt={...xt,..."function"==typeof $t.templateContext?$t.templateContext():$t.templateContext}),vt.attachTemplatePortal(new A.VA(Ye,null,xt,Et))}else{const Et=this._createInjector($t,Je,vt,this._injector),xt=vt.attachComponentPortal(new A.A8(Ye,$t.viewContainerRef,Et));Je.componentRef=xt,Je.componentInstance=xt.instance}}_createInjector(Ye,Je,vt,$t){const Et=Ye.injector||Ye.viewContainerRef?.injector,xt=[{provide:te,useValue:Ye.data},{provide:ue,useValue:Je}];return Ye.providers&&("function"==typeof Ye.providers?xt.push(...Ye.providers(Je,Ye,vt)):xt.push(...Ye.providers)),Ye.direction&&(!Et||!Et.get(W.dS,null,{optional:!0}))&&xt.push({provide:W.dS,useValue:_e(Ye.direction)}),S.zZn.create({parent:Et||$t,providers:xt})}_removeOpenDialog(Ye,Je){const vt=this.openDialogs.indexOf(Ye);vt>-1&&(this.openDialogs.splice(vt,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h(($t,Et)=>{$t?Et.setAttribute("aria-hidden",$t):Et.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Je&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Ye){if(Ye.parentElement){const Je=Ye.parentElement.children;for(let vt=Je.length-1;vt>-1;vt--){const $t=Je[vt];$t!==Ye&&"SCRIPT"!==$t.nodeName&&"STYLE"!==$t.nodeName&&!$t.hasAttribute("aria-live")&&(this._ariaHiddenElements.set($t,$t.getAttribute("aria-hidden")),$t.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ye=this._parentDialog;return Ye?Ye._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(Je){return new(Je||Me)};static \u0275prov=S.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})();function De(Me,Ze){let Ye=Me.length;for(;Ye--;)Ze(Me[Ye])}let Ie=(()=>{class Me{static \u0275fac=function(Je){return new(Je||Me)};static \u0275mod=E.$C({type:Me});static \u0275inj=S.G2t({providers:[we],imports:[ne.z_,A.jc,R.Pd,A.jc]})}return Me})()},61577(Vt,Pe,d){"use strict";d.d(Pe,{_j:()=>A,dS:()=>R});var S=d(2615),E=d(73664);const M=new S.nKC("cdk-dir-doc",{providedIn:"root",factory:function f(){return(0,S.WQX)(S.qQL)}}),b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function A(N){const q=N?.toLowerCase()||"";return"auto"===q&&typeof navigator<"u"&&navigator?.language?b.test(navigator.language)?"rtl":"ltr":"rtl"===q?"rtl":"ltr"}let R=(()=>{class N{get value(){return this.valueSignal()}valueSignal=(0,S.vPA)("ltr");change=new E.bkB;constructor(){const ee=(0,S.WQX)(M,{optional:!0});ee&&this.valueSignal.set(A((ee.body?ee.body.dir:null)||(ee.documentElement?ee.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(B){return new(B||N)};static \u0275prov=S.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},67847(Vt,Pe,d){"use strict";d.d(Pe,{OE:()=>E,i8:()=>f,o1:()=>M});var S=d(73664);function E(b,A=0){return M(b)?Number(b):2===arguments.length?A:0}function M(b){return!isNaN(parseFloat(b))&&!isNaN(Number(b))}function f(b){return b instanceof S.aKT?b.nativeElement:b}},95735(Vt,Pe,d){"use strict";function S(M){return 0===M.buttons||0===M.detail}function E(M){const f=M.touches&&M.touches[0]||M.changedTouches&&M.changedTouches[0];return!(!f||-1!==f.identifier||null!=f.radiusX&&1!==f.radiusX||null!=f.radiusY&&1!==f.radiusY)}d.d(Pe,{_:()=>S,w:()=>E})},64123(Vt,Pe,d){"use strict";d.d(Pe,{B:()=>E});var S=d(12593);class E extends S.l{_origin="program";setFocusOrigin(f){return this._origin=f,this}setActiveItem(f){super.setActiveItem(f),this.activeItem&&this.activeItem.focus(this._origin)}}},76838(Vt,Pe,d){"use strict";d.d(Pe,{FN:()=>ae,Uc:()=>re,vR:()=>te});var S=d(2615),E=d(73664),M=d(21413),f=d(84412),b=d(7673),A=d(23294),R=d(65245),N=d(56977),q=d(95735),ee=d(10438),B=d(44522),ie=d(39842),ve=d(83300),U=d(67847);const ne=new S.nKC("cdk-input-modality-detector-options"),X={ignoreKeys:[ee.A$,ee.W3,ee.eg,ee.Ge,ee.FX]},Z={passive:!0,capture:!0};let re=(()=>{class de{_platform=(0,S.WQX)(ie.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new f.t(null);_options;_lastTouchMs=0;_onKeydown=we=>{this._options?.ignoreKeys?.some(De=>De===we.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,B.Fb)(we))};_onMousedown=we=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,q._)(we)?"keyboard":"mouse"),this._mostRecentTarget=(0,B.Fb)(we))};_onTouchstart=we=>{(0,q.w)(we)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,B.Fb)(we))};constructor(){const we=(0,S.WQX)(E.SKi),De=(0,S.WQX)(S.qQL),Ie=(0,S.WQX)(ne,{optional:!0});if(this._options={...X,...Ie},this.modalityDetected=this._modality.pipe((0,R.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,A.F)()),this._platform.isBrowser){const Me=(0,S.WQX)(E._9s).createRenderer(null,null);this._listenerCleanups=we.runOutsideAngular(()=>[Me.listen(De,"keydown",this._onKeydown,Z),Me.listen(De,"mousedown",this._onMousedown,Z),Me.listen(De,"touchstart",this._onTouchstart,Z)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(we=>we())}static \u0275fac=function(De){return new(De||de)};static \u0275prov=S.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();
vendor: 5,604 bytes, line 1
1var K=function(de){return de[de.IMMEDIATE=0]="IMMEDIATE",de[de.EVENTUAL=1]="EVENTUAL",de}(K||{});const ce=new S.nKC("cdk-focus-monitor-default-options"),ue=(0,ve.B)({passive:!0,capture:!0});let ae=(()=>{class de{_ngZone=(0,S.WQX)(E.SKi);_platform=(0,S.WQX)(ie.O);_inputModalityDetector=(0,S.WQX)(re);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,S.WQX)(S.qQL);_stopInputModalityDetector=new M.B;constructor(){const we=(0,S.WQX)(ce,{optional:!0});this._detectionMode=we?.detectionMode||K.IMMEDIATE}_rootNodeFocusAndBlurListener=we=>{for(let Ie=(0,B.Fb)(we);Ie;Ie=Ie.parentElement)"focus"===we.type?this._onFocus(we,Ie):this._onBlur(we,Ie)};monitor(we,De=!1){const Ie=(0,U.i8)(we);if(!this._platform.isBrowser||1!==Ie.nodeType)return(0,b.of)();const Me=(0,B.KT)(Ie)||this._document,Ze=this._elementInfo.get(Ie);if(Ze)return De&&(Ze.checkChildren=!0),Ze.subject;const Ye={checkChildren:De,subject:new M.B,rootNode:Me};return this._elementInfo.set(Ie,Ye),this._registerGlobalListeners(Ye),Ye.subject}stopMonitoring(we){const De=(0,U.i8)(we),Ie=this._elementInfo.get(De);Ie&&(Ie.subject.complete(),this._setClasses(De),this._elementInfo.delete(De),this._removeGlobalListeners(Ie))}focusVia(we,De,Ie){const Me=(0,U.i8)(we);Me===this._document.activeElement?this._getClosestElementsInfo(Me).forEach(([Ye,Je])=>this._originChanged(Ye,De,Je)):(this._setOrigin(De),"function"==typeof Me.focus&&Me.focus(Ie))}ngOnDestroy(){this._elementInfo.forEach((we,De)=>this.stopMonitoring(De))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(we){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(we)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:we&&this._isLastInteractionFromInputLabel(we)?"mouse":"program"}_shouldBeAttributedToTouch(we){return this._detectionMode===K.EVENTUAL||!!we?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(we,De){we.classList.toggle("cdk-focused",!!De),we.classList.toggle("cdk-touch-focused","touch"===De),we.classList.toggle("cdk-keyboard-focused","keyboard"===De),we.classList.toggle("cdk-mouse-focused","mouse"===De),we.classList.toggle("cdk-program-focused","program"===De)}_setOrigin(we,De=!1){this._ngZone.runOutsideAngular(()=>{this._origin=we,this._originFromTouchInteraction="touch"===we&&De,this._detectionMode===K.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(we,De){const Ie=this._elementInfo.get(De),Me=(0,B.Fb)(we);!Ie||!Ie.checkChildren&&De!==Me||this._originChanged(De,this._getFocusOrigin(Me),Ie)}_onBlur(we,De){const Ie=this._elementInfo.get(De);!Ie||Ie.checkChildren&&we.relatedTarget instanceof Node&&De.contains(we.relatedTarget)||(this._setClasses(De),this._emitOrigin(Ie,null))}_emitOrigin(we,De){we.subject.observers.length&&this._ngZone.run(()=>we.subject.next(De))}_registerGlobalListeners(we){if(!this._platform.isBrowser)return;const De=we.rootNode,Ie=this._rootNodeFocusListenerCount.get(De)||0;Ie||this._ngZone.runOutsideAngular(()=>{De.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),De.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(De,Ie+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,N.Q)(this._stopInputModalityDetector)).subscribe(Me=>{this._setOrigin(Me,!0)}))}_removeGlobalListeners(we){const De=we.rootNode;if(this._rootNodeFocusListenerCount.has(De)){const Ie=this._rootNodeFocusListenerCount.get(De);Ie>1?this._rootNodeFocusListenerCount.set(De,Ie-1):(De.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),De.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(De))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(we,De,Ie){this._setClasses(we,De),this._emitOrigin(Ie,De),this._lastFocusOrigin=De}_getClosestElementsInfo(we){const De=[];return this._elementInfo.forEach((Ie,Me)=>{(Me===we||Ie.checkChildren&&Me.contains(we))&&De.push([Me,Ie])}),De}_isLastInteractionFromInputLabel(we){const{_mostRecentTarget:De,mostRecentModality:Ie}=this._inputModalityDetector;if("mouse"!==Ie||!De||De===we||"INPUT"!==we.nodeName&&"TEXTAREA"!==we.nodeName||we.disabled)return!1;const Me=we.labels;if(Me)for(let Ze=0;Ze<Me.length;Ze++)if(Me[Ze].contains(De))return!0;return!1}static \u0275fac=function(De){return new(De||de)};static \u0275prov=S.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})(),te=(()=>{class de{_elementRef=(0,S.WQX)(E.aKT);_focusMonitor=(0,S.WQX)(ae);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new E.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const we=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(we,1===we.nodeType&&we.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(De=>{this._focusOrigin=De,this.cdkFocusChange.emit(De)}
1)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(De){return new(De||de)};static \u0275dir=E.FsC({type:de,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return de})()},89726(Vt,Pe,d){"use strict";d.d(Pe,{g:()=>f});var S=d(2615),E=d(73664);const M={};let f=(()=>{class b{_appId=(0,S.WQX)(E.sZ2);getId(R){return"ng"!==this._appId&&(R+=this._appId),M.hasOwnProperty(R)||(M[R]=0),`${R}${M[R]++}`}static \u0275fac=function(N){return new(N||b)};static \u0275prov=S.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},67336(Vt,Pe,d){"use strict";function S(E,...M){return M.length?M.some(f=>E[f]):E.altKey||E.shiftKey||E.ctrlKey||E.metaKey}d.d(Pe,{rp:()=>S})},10438(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>ke,A$:()=>N,FX:()=>A,Fm:()=>b,G_:()=>E,Ge:()=>bi,KE:()=>Uo,Kp:()=>ne,LE:()=>re,SJ:()=>te,UQ:()=>W,W3:()=>R,Z:()=>Br,_f:()=>B,bn:()=>vt,dB:()=>U,eg:()=>pr,f2:()=>de,i7:()=>Z,n6:()=>K,t6:()=>ie,w_:()=>ve,wn:()=>M,yZ:()=>X});const E=8,M=9,b=13,A=16,R=17,N=18,B=27,ie=32,ve=33,U=34,ne=35,X=36,W=37,Z=38,re=39,K=40,te=46,de=48,vt=57,ke=65,Br=90,bi=91,Uo=188,pr=224},99327(Vt,Pe,d){"use strict";d.d(Pe,{Rp:()=>M});const M={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)"}},12593(Vt,Pe,d){"use strict";d.d(Pe,{l:()=>q});var S=d(2615),E=d(73664),M=d(59295),f=d(21413),b=d(18359),A=d(59096),R=d(67336),N=d(10438);class q{_items;_activeItemIndex=(0,S.vPA)(-1);_activeItem=(0,S.vPA)(null);_wrap=!1;_typeaheadSubscription=b.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=B=>B.disabled;constructor(B,ie){this._items=B,B instanceof E.rOR?this._itemChangesSubscription=B.changes.subscribe(ve=>this._itemsChanged(ve.toArray())):(0,S.Hps)(B)&&(this._effectRef=(0,M.QZ)(()=>this._itemsChanged(B()),{injector:ie}))}tabOut=new f.B;change=new f.B;skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){this._typeaheadSubscription.unsubscribe();const ie=this._getItemsArray();return this._typeahead=new A.i(ie,{debounceInterval:"number"==typeof B?B:void 0,skipPredicate:ve=>this._skipPredicateFn(ve)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(ve=>{this.setActiveItem(ve)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(B=!0){return this._homeAndEnd=B,this}withPageUpDown(B=!0,ie=10){return this._pageUpAndDown={enabled:B,delta:ie},this}setActiveItem(B){const ie=this._activeItem();this.updateActiveItem(B),this._activeItem()!==ie&&this.change.next(this._activeItemIndex())}onKeydown(B){const ie=B.keyCode,U=["altKey","ctrlKey","metaKey","shiftKey"].every(ne=>!B[ne]||this._allowedModifierKeys.indexOf(ne)>-1);switch(ie){case N.wn:return void this.tabOut.next();case N.n6:if(this._vertical&&U){this.setNextItemActive();break}return;case N.i7:if(this._vertical&&U){this.setPreviousItemActive();break}return;case N.LE:if(this._horizontal&&U){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case N.UQ:if(this._horizontal&&U){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case N.yZ:if(this._homeAndEnd&&U){this.setFirstItemActive();break}return;case N.Kp:if(this._homeAndEnd&&U){this.setLastItemActive();break}return;case N.w_:if(this._pageUpAndDown.enabled&&U){const ne=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(ne>0?ne:0,1);break}return;case N.dB:if(this._pageUpAndDown.enabled&&U){const ne=this._activeItemIndex()+this._pageUpAndDown.delta,X=this._getItemsArray().length;this._setActiveItemByIndex(ne<X?ne:X-1,-1);break}return;default:return void((U||(0,R.rp)(B,"shiftKey"))&&this._typeahead?.handleKey(B))}this._typeahead?.reset(),B.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(B){const ie=this._getItemsArray(),ve="number"==typeof B?B:ie.indexOf(B);this._activeItem.set(ie[ve]??null),this._activeItemIndex.set(ve),this._typeahead?.setCurrentSelectedItemIndex(ve)}
1destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const ie=this._getItemsArray();for(let ve=1;ve<=ie.length;ve++){const U=(this._activeItemIndex()+B*ve+ie.length)%ie.length;if(!this._skipPredicateFn(ie[U]))return void this.setActiveItem(U)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex()+B,B)}_setActiveItemByIndex(B,ie){const ve=this._getItemsArray();if(ve[B]){for(;this._skipPredicateFn(ve[B]);)if(!ve[B+=ie])return;this.setActiveItem(B)}}_getItemsArray(){return(0,S.Hps)(this._items)?this._items():this._items instanceof E.rOR?this._items.toArray():this._items}_itemsChanged(B){this._typeahead?.setItems(B);const ie=this._activeItem();if(ie){const ve=B.indexOf(ie);ve>-1&&ve!==this._activeItemIndex()&&(this._activeItemIndex.set(ve),this._typeahead?.setCurrentSelectedItemIndex(ve))}}}},72318(Vt,Pe,d){"use strict";d.d(Pe,{Wv:()=>ve,w5:()=>U});var S=d(2615),E=d(73664),M=d(17705),f=d(71985),b=d(21413),A=d(70152),R=d(5964),N=d(96354),q=d(67847);let B=(()=>{class ne{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}static \u0275fac=function(Z){return new(Z||ne)};static \u0275prov=S.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})(),ie=(()=>{class ne{_mutationObserverFactory=(0,S.WQX)(B);_observedElements=new Map;_ngZone=(0,S.WQX)(E.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((W,Z)=>this._cleanupObserver(Z))}observe(W){const Z=(0,q.i8)(W);return new f.c(re=>{const ce=this._observeElement(Z).pipe((0,N.T)(ue=>ue.filter(ae=>!function ee(ne){if("characterData"===ne.type&&ne.target instanceof Comment)return!0;if("childList"===ne.type){for(let X=0;X<ne.addedNodes.length;X++)if(!(ne.addedNodes[X]instanceof Comment))return!1;for(let X=0;X<ne.removedNodes.length;X++)if(!(ne.removedNodes[X]instanceof Comment))return!1;return!0}return!1}(ae))),(0,R.p)(ue=>!!ue.length)).subscribe(ue=>{this._ngZone.run(()=>{re.next(ue)})});return()=>{ce.unsubscribe(),this._unobserveElement(Z)}})}_observeElement(W){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const Z=new b.B,re=this._mutationObserverFactory.create(K=>Z.next(K));re&&re.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:re,stream:Z,count:1})}return this._observedElements.get(W).stream})}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:Z,stream:re}=this._observedElements.get(W);Z&&Z.disconnect(),re.complete(),this._observedElements.delete(W)}}static \u0275fac=function(Z){return new(Z||ne)};static \u0275prov=S.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})(),ve=(()=>{class ne{_contentObserver=(0,S.WQX)(ie);_elementRef=(0,S.WQX)(E.aKT);event=new E.bkB;get disabled(){return this._disabled}set disabled(W){this._disabled=W,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(W){this._debounce=(0,q.OE)(W),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?W.pipe((0,A.B)(this.debounce)):W).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(Z){return new(Z||ne)};static \u0275dir=E.FsC({type:ne,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",M.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return ne})(),U=(()=>{class ne{static \u0275fac=function(Z){return new(Z||ne)};static \u0275mod=E.$C({type:ne});static \u0275inj=S.G2t({providers:[B]})}return ne})()},98170(Vt,Pe,d){"use strict";d.d(Pe,{a:()=>ee});var S=d(2615),E=d(73664),M=d(71985),f=d(21413),b=d(5964),A=d(44668),R=d(56977);class q{_box;_destroyed=new f.B;
1_resizeSubject=new f.B;_resizeObserver;_elementObservables=new Map;constructor(ie){this._box=ie,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(ve=>this._resizeSubject.next(ve)))}observe(ie){return this._elementObservables.has(ie)||this._elementObservables.set(ie,new M.c(ve=>{const U=this._resizeSubject.subscribe(ve);return this._resizeObserver?.observe(ie,{box:this._box}),()=>{this._resizeObserver?.unobserve(ie),U.unsubscribe(),this._elementObservables.delete(ie)}}).pipe((0,b.p)(ve=>ve.some(U=>U.target===ie)),(0,A.t)({bufferSize:1,refCount:!0}),(0,R.Q)(this._destroyed))),this._elementObservables.get(ie)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let ee=(()=>{class B{_cleanupErrorListener;_observers=new Map;_ngZone=(0,S.WQX)(E.SKi);constructor(){}ngOnDestroy(){for(const[,ve]of this._observers)ve.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(ve,U){const ne=U?.box||"content-box";return this._observers.has(ne)||this._observers.set(ne,new q(ne)),this._observers.get(ne).observe(ve)}static \u0275fac=function(U){return new(U||B)};static \u0275prov=S.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},34056(Vt,Pe,d){"use strict";d.d(Pe,{WB:()=>Ci,$Q:()=>yi,uH:()=>xt,rW:()=>lr,rR:()=>Et,Sf:()=>ut,z_:()=>eo,yY:()=>Dt,EB:()=>Cn,pq:()=>bn,gA:()=>te,$M:()=>Qn,uA:()=>m,Y$:()=>Br,RH:()=>Je});var S=d(2615),E=d(73664),M=d(17705),f=d(57303),b=d(39842),A=d(44522);function R(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var N=d(88968),q=d(21413),ee=d(18359);function B(Ut){return null==Ut?"":"string"==typeof Ut?Ut:`${Ut}px`}var ie=d(80408),ve=d(75272),U=d(76939),ne=d(47860),X=d(5964),W=d(77048),Z=d(89726),re=d(61577),K=d(10438),ce=d(67336),ue=d(28203);const ae=(0,ne.CZ)();function te(Ut){return new de(Ut.get(ve.Xj),Ut.get(S.qQL))}class de{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(pt,at){this._viewportRuler=pt,this._document=at}attach(){}enable(){if(this._canBeEnabled()){const pt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=pt.style.left||"",this._previousHTMLStyles.top=pt.style.top||"",pt.style.left=B(-this._previousScrollPosition.left),pt.style.top=B(-this._previousScrollPosition.top),pt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const pt=this._document.documentElement,Tt=pt.style,Bt=this._document.body.style,Xt=Tt.scrollBehavior||"",Pt=Bt.scrollBehavior||"";this._isEnabled=!1,Tt.left=this._previousHTMLStyles.left,Tt.top=this._previousHTMLStyles.top,pt.classList.remove("cdk-global-scrollblock"),ae&&(Tt.scrollBehavior=Bt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ae&&(Tt.scrollBehavior=Xt,Bt.scrollBehavior=Pt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const at=this._document.documentElement,Tt=this._viewportRuler.getViewportSize();return at.scrollHeight>Tt.height||at.scrollWidth>Tt.width}}class De{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(pt,at,Tt,Bt){this._scrollDispatcher=pt,this._ngZone=at,this._viewportRuler=Tt,this._config=Bt}attach(pt){this._overlayRef=pt}enable(){if(this._scrollSubscription)return;const pt=this._scrollDispatcher.scrolled(0).pipe((0,X.p)(at=>!at||!this._overlayRef.overlayElement.contains(at.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=pt.subscribe(()=>{const at=this._viewportRuler.getViewportScrollPosition().top;Math.abs(at-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=pt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class Me{enable(){}disable(){}attach(){}}function Ze(Ut,pt){return pt.some(at=>Ut.bottom<at.top||Ut.top>at.bottom||Ut.right<at.left||Ut.left>at.right)}function Ye(Ut,pt){return pt.some(at=>Ut.top<at.top||Ut.bottom>at.bottom||Ut.left<at.left||Ut.right>at.right)}function Je(Ut,pt){return new vt(Ut.get(ve.R),Ut.get(ve.Xj),Ut.get(E.SKi),pt)}class vt{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(pt,at,Tt,Bt){this._scrollDispatcher=pt,this._viewportRuler
1=at,this._ngZone=Tt,this._config=Bt}attach(pt){this._overlayRef=pt}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const at=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Tt,height:Bt}=this._viewportRuler.getViewportSize();Ze(at,[{width:Tt,height:Bt,bottom:Bt,right:Tt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $t=(()=>{class Ut{_injector=(0,S.WQX)(S.zZn);constructor(){}noop=()=>new Me;close=at=>function we(Ut,pt){return new De(Ut.get(ve.R),Ut.get(E.SKi),Ut.get(ve.Xj),pt)}(this._injector,at);block=()=>te(this._injector);reposition=at=>Je(this._injector,at);static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();class Et{positionStrategy;scrollStrategy=new Me;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(pt){if(pt){const at=Object.keys(pt);for(const Tt of at)void 0!==pt[Tt]&&(this[Tt]=pt[Tt])}}}class xt{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(pt,at,Tt,Bt,Xt){this.offsetX=Tt,this.offsetY=Bt,this.panelClass=Xt,this.originX=pt.originX,this.originY=pt.originY,this.overlayX=at.overlayX,this.overlayY=at.overlayY}}class ke{connectionPair;scrollableViewProperties;constructor(pt,at){this.connectionPair=pt,this.scrollableViewProperties=at}}let Ct=(()=>{class Ut{_attachedOverlays=[];_document=(0,S.WQX)(S.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(at){this.remove(at),this._attachedOverlays.push(at)}remove(at){const Tt=this._attachedOverlays.indexOf(at);Tt>-1&&this._attachedOverlays.splice(Tt,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})(),_t=(()=>{class Ut extends Ct{_ngZone=(0,S.WQX)(E.SKi);_renderer=(0,S.WQX)(E._9s).createRenderer(null,null);_cleanupKeydown;add(at){super.add(at),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=at=>{const Tt=this._attachedOverlays;for(let Bt=Tt.length-1;Bt>-1;Bt--)if(Tt[Bt]._keydownEvents.observers.length>0){this._ngZone.run(()=>Tt[Bt]._keydownEvents.next(at));break}};static \u0275fac=(()=>{let at;return function(Bt){return(at||(at=E.xGo(Ut)))(Bt||Ut)}})();static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})(),Ke=(()=>{class Ut extends Ct{_platform=(0,S.WQX)(b.O);_ngZone=(0,S.WQX)(E.SKi);_renderer=(0,S.WQX)(E._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(at){if(super.add(at),!this._isAttached){const Tt=this._document.body,Bt={capture:!0},Xt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Xt.listen(Tt,"pointerdown",this._pointerDownListener,Bt),Xt.listen(Tt,"click",this._clickListener,Bt),Xt.listen(Tt,"auxclick",this._clickListener,Bt),Xt.listen(Tt,"contextmenu",this._clickListener,Bt)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Tt.style.cursor,Tt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(at=>at()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=at=>{this._pointerDownEventTarget=(0,A.Fb)(at)};_clickListener=at=>{const Tt=(0,A.Fb)(at),Bt="click"===at.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Tt;this._pointerDownEventTarget=null;const Xt=this._attachedOverlays.slice();for(let Pt=Xt.length-1;Pt>-1;Pt--){const wt=Xt[Pt];if(wt._outsidePointerEvents.observers.length<1||!wt.hasAttached())continue;if(mt(wt.overlayElement,Tt)||mt(wt.overlayElement,Bt))break;const Kt=wt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Kt.next(at)):Kt.next(at)}};static \u0275fac=(()=>{let at;return function(Bt){return(at||(at=E.xGo(Ut)))(Bt||Ut)}})();static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();function mt(Ut,pt){const at=typeof ShadowRoot<"u"&&ShadowRoot;let Tt=pt;for(;Tt;){if(Tt===Ut)return!0;Tt=at&&Tt instanceof ShadowRoot?Tt.host:Tt.parentNode}return!1}let rt=(()=>{class Ut{static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275cmp=E.VBU({type:Ut,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Tt,Bt){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return Ut})(),ut=(()=>{class Ut{_platform=(0,S.WQX)(b.O);_containerElement;_document=(0,S.WQX)(S.qQL);_styleLoader=(0,S.WQX)(N.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const at="cdk-overlay-container";if(this._platform.isBrowser||R()){const Bt=this._document.querySelectorAll(`.${at}[platform="server"], .${at}[platform="test"]`);for(let Xt=0;Xt<Bt.length;Xt++)Bt[Xt].remove()}const Tt=this._document.createElement("div");Tt.classList.add(at),R()?Tt.setAttribute("platform","test"):this._platform.isBrowser||Tt.setAttribute("platform","server"),this._document.body.appendChild(Tt),this._containerElement=Tt}_loadStyles(){this._styleLoader.load(rt)}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();class kt{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(pt,at,Tt,Bt){this._renderer=at,this._ngZone=Tt,this.element=pt.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=at.listen(this.element,"click",Bt)}detach(){this._ngZone.runOutsideAngular(()=>{const pt=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(pt,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),pt.style.pointerEvents="none",pt.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Dt{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new q.B;_attachments=new q.B;_detachments=new q.B;_positionStrategy;_scrollStrategy;_locationChanges=ee.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new q.B;_outsidePointerEvents=new q.B;_afterNextRenderRef;constructor(pt,at,Tt,Bt,Xt,Pt,wt,Kt,xn,Fn=!1,fn,Dn){this._portalOutlet=pt,this._host=at,this._pane=Tt,this._config=Bt,this._ngZone=Xt,this._keyboardDispatcher=Pt,this._document=wt,this._location=Kt,this._outsideClickDispatcher=xn,this._animationsDisabled=Fn,this._injector=fn,this._renderer=Dn,Bt.scrollStrategy&&(this._scrollStrategy=Bt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Bt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(pt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const at=this._portalOutlet.attach(pt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,E.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof at?.onDestroy&&at.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),at}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const pt=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),pt}dispose(){const pt=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 4,776 bytes, line 1
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,pt&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(pt){pt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=pt,this.hasAttached()&&(pt.attach(this),this.updatePosition()))}updateSize(pt){this._config={...this._config,...pt},this._updateElementSize()}setDirection(pt){this._config={...this._config,direction:pt},this._updateElementDirection()}addPanelClass(pt){this._pane&&this._toggleClasses(this._pane,pt,!0)}removePanelClass(pt){this._pane&&this._toggleClasses(this._pane,pt,!1)}getDirection(){const pt=this._config.direction;return pt?"string"==typeof pt?pt:pt.value:"ltr"}updateScrollStrategy(pt){pt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=pt,this.hasAttached()&&(pt.attach(this),pt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const pt=this._pane.style;pt.width=B(this._config.width),pt.height=B(this._config.height),pt.minWidth=B(this._config.minWidth),pt.minHeight=B(this._config.minHeight),pt.maxWidth=B(this._config.maxWidth),pt.maxHeight=B(this._config.maxHeight)}_togglePointerEvents(pt){this._pane.style.pointerEvents=pt?"":"none"}_attachBackdrop(){const pt="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new kt(this._document,this._renderer,this._ngZone,at=>{this._backdropClick.next(at)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(pt))}):this._backdropRef.element.classList.add(pt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(pt,at,Tt){const Bt=(0,ie.F)(at||[]).filter(Xt=>!!Xt);Bt.length&&(Tt?pt.classList.add(...Bt):pt.classList.remove(...Bt))}_detachContentWhenEmpty(){let pt=!1;try{this._detachContentAfterRenderRef=(0,E.mal)(()=>{pt=!0,this._detachContent()},{injector:this._injector})}catch(at){if(pt)throw at;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const pt=this._scrollStrategy;pt?.disable(),pt?.detach?.()}}const Sn="cdk-overlay-connected-position-bounding-box",An=/([A-Za-z%]+)$/;function Qn(Ut,pt){return new lr(pt,Ut.get(ve.Xj),Ut.get(S.qQL),Ut.get(b.O),Ut.get(ut))}class lr{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new q.B;_resizeSubscription=ee.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 4,176 bytes, line 1
1constructor(pt,at,Tt,Bt,Xt){this._viewportRuler=at,this._document=Tt,this._platform=Bt,this._overlayContainer=Xt,this.setOrigin(pt)}attach(pt){this._validatePositions(),pt.hostElement.classList.add(Sn),this._overlayRef=pt,this._boundingBox=pt.hostElement,this._pane=pt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const pt=this._originRect,at=this._overlayRect,Tt=this._viewportRect,Bt=this._containerRect,Xt=[];let Pt;for(let wt of this._preferredPositions){let Kt=this._getOriginPoint(pt,Bt,wt),xn=this._getOverlayPoint(Kt,at,wt),Fn=this._getOverlayFit(xn,at,Tt,wt);if(Fn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(wt,Kt);this._canFitWithFlexibleDimensions(Fn,xn,Tt)?Xt.push({position:wt,origin:Kt,overlayRect:at,boundingBoxRect:this._calculateBoundingBoxRect(Kt,wt)}):(!Pt||Pt.overlayFit.visibleArea<Fn.visibleArea)&&(Pt={overlayFit:Fn,overlayPoint:xn,originPoint:Kt,position:wt,overlayRect:at})}if(Xt.length){let wt=null,Kt=-1;for(const xn of Xt){const Fn=xn.boundingBoxRect.width*xn.boundingBoxRect.height*(xn.position.weight||1);Fn>Kt&&(Kt=Fn,wt=xn)}return this._isPushed=!1,void this._applyPosition(wt.position,wt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Pt.position,Pt.originPoint);this._applyPosition(Pt.position,Pt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&jn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Sn),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const pt=this._lastPosition;if(pt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const at=this._getOriginPoint(this._originRect,this._containerRect,pt);this._applyPosition(pt,at)}else this.apply()}withScrollableContainers(pt){return this._scrollables=pt,this}withPositions(pt){return this._preferredPositions=pt,-1===pt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(pt){return this._viewportMargin=pt,this}withFlexibleDimensions(pt=!0){return this._hasFlexibleDimensions=pt,this}withGrowAfterOpen(pt=!0){return this._growAfterOpen=pt,this}withPush(pt=!0){return this._canPush=pt,this}withLockedPosition(pt=!0){return this._positionLocked=pt,this}setOrigin(pt){return this._origin=pt,this}withDefaultOffsetX(pt){return this._offsetX=pt,this}withDefaultOffsetY(pt){return this._offsetY=pt,this}withTransformOriginOn(pt){return this._transformOriginSelector=pt,this}_getOriginPoint(pt,at,Tt){let Bt,Xt;if("center"==Tt.originX)Bt=pt.left+pt.width/2;else{const Pt=this._isRtl()?pt.right:pt.left,wt=this._isRtl()?pt.left:pt.right;Bt="start"==Tt.originX?Pt:wt}return at.left<0&&(Bt-=at.left),Xt="center"==Tt.originY?pt.top+pt.height/2:"top"==Tt.originY?pt.top:pt.bottom,at.top<0&&(Xt-=at.top),{x:Bt,y:Xt}}_getOverlayPoint(pt,at,Tt){let Bt,Xt;return Bt="center"==Tt.overlayX?-at.width/2:"start"===Tt.overlayX?this._isRtl()?-at.width:0:this._isRtl()?0:-at.width,Xt="
1center"==Tt.overlayY?-at.height/2:"top"==Tt.overlayY?0:-at.height,{x:pt.x+Bt,y:pt.y+Xt}}_getOverlayFit(pt,at,Tt,Bt){const Xt=tn(at);let{x:Pt,y:wt}=pt,Kt=this._getOffset(Bt,"x"),xn=this._getOffset(Bt,"y");Kt&&(Pt+=Kt),xn&&(wt+=xn);let Dn=0-wt,Ve=wt+Xt.height-Tt.height,He=this._subtractOverflows(Xt.width,0-Pt,Pt+Xt.width-Tt.width),p=this._subtractOverflows(Xt.height,Dn,Ve),Ht=He*p;return{visibleArea:Ht,isCompletelyWithinViewport:Xt.width*Xt.height===Ht,fitsInViewportVertically:p===Xt.height,fitsInViewportHorizontally:He==Xt.width}}_canFitWithFlexibleDimensions(pt,at,Tt){if(this._hasFlexibleDimensions){const Bt=Tt.bottom-at.y,Xt=Tt.right-at.x,Pt=xr(this._overlayRef.getConfig().minHeight),wt=xr(this._overlayRef.getConfig().minWidth);return(pt.fitsInViewportVertically||null!=Pt&&Pt<=Bt)&&(pt.fitsInViewportHorizontally||null!=wt&&wt<=Xt)}return!1}_pushOverlayOnScreen(pt,at,Tt){if(this._previousPushAmount&&this._positionLocked)return{x:pt.x+this._previousPushAmount.x,y:pt.y+this._previousPushAmount.y};const Bt=tn(at),Xt=this._viewportRect,Pt=Math.max(pt.x+Bt.width-Xt.width,0),wt=Math.max(pt.y+Bt.height-Xt.height,0),Kt=Math.max(Xt.top-Tt.top-pt.y,0),xn=Math.max(Xt.left-Tt.left-pt.x,0);let Fn=0,fn=0;return Fn=Bt.width<=Xt.width?xn||-Pt:pt.x<this._viewportMargin?Xt.left-Tt.left-pt.x:0,fn=Bt.height<=Xt.height?Kt||-wt:pt.y<this._viewportMargin?Xt.top-Tt.top-pt.y:0,this._previousPushAmount={x:Fn,y:fn},{x:pt.x+Fn,y:pt.y+fn}}_applyPosition(pt,at){if(this._setTransformOrigin(pt),this._setOverlayElementStyles(at,pt),this._setBoundingBoxStyles(at,pt),pt.panelClass&&this._addPanelClasses(pt.panelClass),this._positionChanges.observers.length){const Tt=this._getScrollVisibility();if(pt!==this._lastPosition||!this._lastScrollVisibility||!function dn(Ut,pt){return Ut===pt||Ut.isOriginClipped===pt.isOriginClipped&&Ut.isOriginOutsideView===pt.isOriginOutsideView&&Ut.isOverlayClipped===pt.isOverlayClipped&&Ut.isOverlayOutsideView===pt.isOverlayOutsideView}(this._lastScrollVisibility,Tt)){const Bt=new ke(pt,Tt);this._positionChanges.next(Bt)}this._lastScrollVisibility=Tt}this._lastPosition=pt,this._isInitialRender=!1}_setTransformOrigin(pt){if(!this._transformOriginSelector)return;const at=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Tt,Bt=pt.overlayY;Tt="center"===pt.overlayX?"center":this._isRtl()?"start"===pt.overlayX?"right":"left":"start"===pt.overlayX?"left":"right";for(let Xt=0;Xt<at.length;Xt++)at[Xt].style.transformOrigin=`${Tt} ${Bt}`}_calculateBoundingBoxRect(pt,at){const Tt=this._viewportRect,Bt=this._isRtl();let Xt,Pt,wt,Fn,fn,Dn;if("top"===at.overlayY)Pt=pt.y,Xt=Tt.height-Pt+this._viewportMargin;else if("bottom"===at.overlayY)wt=Tt.height-pt.y+2*this._viewportMargin,Xt=Tt.height-wt+this._viewportMargin;else{const Ve=Math.min(Tt.bottom-pt.y+Tt.top,pt.y),He=this._lastBoundingBoxSize.height;Xt=2*Ve,Pt=pt.y-Ve,Xt>He&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=pt.y-He/2)}if("end"===at.overlayX&&!Bt||"start"===at.overlayX&&Bt)Dn=Tt.width-pt.x+2*this._viewportMargin,Fn=pt.x-this._viewportMargin;else if("start"===at.overlayX&&!Bt||"end"===at.overlayX&&Bt)fn=pt.x,Fn=Tt.right-pt.x;else{const Ve=Math.min(Tt.right-pt.x+Tt.left,pt.x),He=this._lastBoundingBoxSize.width;Fn=2*Ve,fn=pt.x-Ve,Fn>He&&!this._isInitialRender&&!this._growAfterOpen&&(fn=pt.x-He/2)}return{top:Pt,left:fn,bottom:wt,right:Dn,width:Fn,height:Xt}}_setBoundingBoxStyles(pt,at){const Tt=this._calculateBoundingBoxRect(pt,at);!this._isInitialRender&&!this._growAfterOpen&&(Tt.height=Math.min(Tt.height,this._lastBoundingBoxSize.height),Tt.width=Math.min(Tt.width,this._lastBoundingBoxSize.width));const Bt={};if(this._hasExactPosition())Bt.top=Bt.left="0",Bt.bottom=Bt.right=Bt.maxHeight=Bt.maxWidth="",Bt.width=Bt.height="100%";else{const Xt=this._overlayRef.getConfig().maxHeight,Pt=this._overlayRef.getConfig().maxWidth;Bt.height=B(Tt.height),Bt.top=B(Tt.top),Bt.bottom=B(Tt.bottom),Bt.width=B(Tt.width),Bt.left=B(Tt.left),Bt.right=B(Tt.right),Bt.alignItems="center"===at.overlayX?"center":"end"===at.overlayX?"flex-end":"flex-start",Bt.justifyContent="center"===at.overlayY?"center":"bottom"===at.overlayY?"flex-end":"flex-start",Xt&&(Bt.maxHeight=B(Xt)),Pt&&(Bt.maxWidth=B(Pt))}this._lastBoundingBoxSize=Tt,jn(this._boundingBox.style,Bt)}_resetBoundingBoxStyles(){jn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){jn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(pt,at){const Tt={},Bt=this._hasExactPosition(),Xt=this._hasFlexibleDimensions,Pt=this._overlayRef.getConfig();if(Bt){const Fn=this._viewportRuler.getViewportScrollPosition();jn(Tt,this._getExactOverlayY(at,pt,Fn)),jn(Tt,this._getExactOverlayX(at,pt,Fn))}else Tt.position="static";let wt="",Kt=this._getOffset(at,"x"),xn=this._getOffset(at,"y");Kt&&(wt+=`translateX(${Kt}px) `),xn&&(wt+=`translateY(${xn}px)`),Tt.transform=wt.trim(),Pt.maxHeight&&(Bt?Tt.maxHeight=B(Pt.maxHeight):Xt&&(Tt.maxHeight="")),Pt.maxWidth&&(Bt?Tt.maxWidth=B(Pt.maxWidth):Xt&&(Tt.maxWidth="")),jn(this._pane.style,Tt)}_getExactOverlayY(pt,at,Tt){let Bt={top:"",bottom:""},Xt=this._getOverlayPoint(at,this._overlayRect,pt);return this._isPushed&&(Xt=this._pushOverlayOnScreen(Xt,this._overlayRect,Tt)),"bottom"===pt.overlayY?Bt.bottom=this._document.documentElement.clientHeight-(Xt.y+this._overlayRect.height)+"px":Bt.top=B(Xt.y),Bt}_getExactOverlayX(pt,at,Tt){let Pt,Bt={left:"",right:""},Xt=this._getOverlayPoint(at,this._overlayRect,pt);return this._isPushed&&(Xt=this._pushOverlayOnScreen(Xt,this._overlayRect,Tt)),Pt=this._isRtl()?"end"===pt.overlayX?"left":"right":"end"===pt.overlayX?"right":"left","right"===Pt?Bt.right=this._document.documentElement.clientWidth-(Xt.x+this._overlayRect.width)+"px":Bt.left=B(Xt.x),Bt}_getScrollVisibility(){const pt=this._getOriginRect(),at=this._pane.getBoundingClientRect(),Tt=this._scrollables.map(Bt=>Bt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ye(pt,Tt),isOriginOutsideView:Ze(pt,Tt),isOverlayClipped:Ye(at,Tt),isOverlayOutsideView:Ze(at,Tt)}}_subtractOverflows(pt,...at){return at.reduce((Tt,Bt)=>Tt-Math.max(Bt,0),pt)}_getNarrowedViewportRect(){const pt=this._document.documentElement.clientWidth,at=this._document.documentElement.clientHeight,Tt=this._viewportRuler.getViewportScrollPosition();return{top:Tt.top+this._viewportMargin,left:Tt.left+this._viewportMargin,right:Tt.left+pt-this._viewportMargin,bottom:Tt.top+at-this._viewportMargin,width:pt-2*this._viewportMargin,height:at-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(pt,at){return"x"===at?null==pt.offsetX?this._offsetX:pt.offsetX:null==pt.offsetY?this._offsetY:pt.offsetY}_validatePositions(){}_addPanelClasses(pt){this._pane&&(0,ie.F)(pt).forEach(at=>{""!==at&&-1===this._appliedPanelClasses.indexOf(at)&&(this._appliedPanelClasses.push(at),this._pane.classList.add(at))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(pt=>{this._pane.classList.remove(pt)}),this._appliedPanelClasses=[])}_getOriginRect(){const pt=this._origin;if(pt instanceof E.aKT)return pt.nativeElement.getBoundingClientRect();if(pt instanceof Element)return pt.getBoundingClientRect();const at=pt.width||0,Tt=pt.height||0;return{top:pt.y,bottom:pt.y+Tt,left:pt.x,right:pt.x+at,height:Tt,width:at}}}function jn(Ut,pt){for(let at in pt)pt.hasOwnProperty(at)&&(Ut[at]=pt[at]);return Ut}function xr(Ut){if("number"!=typeof Ut&&null!=Ut){const[pt,at]=Ut.split(An);return at&&"px"!==at?null:parseFloat(pt)}return Ut||null}function tn(Ut){return{top:Math.floor(Ut.top),right:Math.floor(Ut.right),bottom:Math.floor(Ut.bottom),left:Math.floor(Ut.left),width:Math.floor(Ut.width),height:Math.floor(Ut.height)}}const bn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],Cn=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],En="cdk-global-overlay-wrapper";function m(Ut){return new Jn}class Jn{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(pt){const at=pt.getConfig();this._overlayRef=pt,this._width&&!at.width&&pt.updateSize({width:this._width}),this._height&&!at.height&&pt.updateSize({height:this._height}),pt.hostElement.classList.add(En),this._isDisposed=!1}top(pt=""){return this._bottomOffset="",this._topOffset=pt,this._alignItems="flex-start",this}left(pt=""){return this._xOffset=pt,this._xPosition="left",this}bottom(pt=""){return this._topOffset="",this._bottomOffset=pt,this._alignItems="flex-end",this}right(pt=""){return this._xOffset=pt,this._xPosition="right",this}start(pt=""){return this._xOffset=pt,this._xPosition="start",this}end(pt=""){return this._xOffset=pt,this._xPosition="end",this}width(pt=""){return this._overlayRef?this._overlayRef.updateSize({width:pt}):this._width=pt,this}height(pt=""){return this._overlayRef?this._overlayRef.updateSize({height:pt}):this._height=pt,this}centerHorizontally(pt=""){return this.left(pt),this._xPosition="center",this}centerVertically(pt=""){return this.top(pt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const pt=this._overlayRef.overlayElement.style,at=this._overlayRef.hostElement.style,Tt=this._overlayRef.getConfig(),{width:Bt,height:Xt,maxWidth:Pt,maxHeight:wt}=Tt,Kt=!("100%"!==Bt&&"100vw"!==Bt||Pt&&"100%"!==Pt&&"100vw"!==Pt),xn=!("100%"!==Xt&&"100vh"!==Xt||wt&&"100%"!==wt&&"100vh"!==wt),Fn=this._xPosition,fn=this._xOffset,Dn="rtl"===this._overlayRef.getConfig().direction;let Ve="",He="",p="";Kt?p="flex-start":"center"===Fn?(p="center",Dn?He=fn:Ve=fn):Dn?"left"===Fn||"end"===Fn?(p="flex-end",Ve=fn):("right"===Fn||"start"===Fn)&&(p="flex-start",He=fn):"left"===Fn||"start"===Fn?(p="flex-start",Ve=fn):("right"===Fn||"end"===Fn)&&(p="flex-end",He=fn),pt.position=this._cssPosition,pt.marginLeft=Kt?"0":Ve,pt.marginTop=xn?"0":this._topOffset,pt.marginBottom=this._bottomOffset,pt.marginRight=Kt?"0":He,at.justifyContent=p,at.alignItems=xn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const pt=this._overlayRef.overlayElement.style,at=this._overlayRef.hostElement,Tt=at.style;at.classList.remove(En),Tt.justifyContent=Tt.alignItems=pt.marginTop=pt.marginBottom=pt.marginLeft=pt.marginRight=pt.position="",this._overlayRef=null,this._isDisposed=!0}}let ni=(()=>{class Ut{_injector=(0,S.WQX)(S.zZn);constructor(){}global(){return m()}flexibleConnectedTo(at){return Qn(this._injector,at)}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();function Br(Ut,pt){Ut.get(N.l).load(rt);const at=Ut.get(ut),Tt=Ut.get(S.qQL),Bt=Ut.get(Z.g),Xt=Ut.get(E.o8S),Pt=Ut.get(re.dS),wt=Tt.createElement("div"),Kt=Tt.createElement("div");Kt.id=Bt.getId("cdk-overlay-"),Kt.classList.add("cdk-overlay-pane"),wt.appendChild(Kt),at.getContainerElement().appendChild(wt);const xn=new U.aI(Kt,Xt,Ut),Fn=new Et(pt),fn=Ut.get(E.sFG,null,{optional:!0})||Ut.get(E._9s).createRenderer(null,null);return Fn.direction=Fn.direction||Pt.value,new Dt(xn,wt,Kt,Fn,Ut.get(E.SKi),Ut.get(_t),Tt,Ut.get(f.aZ),Ut.get(Ke),pt?.disableAnimations??"NoopAnimations"===Ut.get(E.bc$,null,{optional:!0}),Ut.get(S.uvJ),fn)}let bi=(()=>{class Ut{scrollStrategies=(0,S.WQX)($t);_positionBuilder=(0,S.WQX)(ni);_injector=(0,S.WQX)(S.zZn);constructor(){}create(at){return Br(this._injector,at)}position(){return this._positionBuilder}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275prov=S.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();const Kr=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Lr=new S.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Ut=(0,S.WQX)(S.zZn);return()=>Je(Ut)}});let yi=(()=>{class Ut{elementRef=(0,S.WQX)(E.aKT);constructor(){}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=E.FsC({type:Ut,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return Ut})(),Ci=(()=>{class Ut{_dir=(0,S.WQX)(re.dS,{optional:!0});_injector=(0,S.WQX)(S.zZn);_overlayRef;_templatePortal;_backdropSubscription=ee.yU.EMPTY;_attachSubscription=ee.yU.EMPTY;_detachSubscription=ee.yU.EMPTY;_positionSubscription=ee.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,S.WQX)(Lr);_disposeOnNavigation=!1;_ngZone=(0,S.WQX)(E.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(at){this._offsetX=at,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(at){this._offsetY=at,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(at){this._disposeOnNavigation=at}backdropClick=new E.bkB;positionChange=new E.bkB;attach=new E.bkB;detach=new E.bkB;overlayKeydown=new E.bkB;overlayOutsideClick=new E.bkB;constructor(){const at=(0,S.WQX)(E.C4Q),Tt=(0,S.WQX)(E.c1b);
1this._templatePortal=new U.VA(at,Tt),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(at){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),at.origin&&this.open&&this._position.apply()),at.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Kr);const at=this._overlayRef=Br(this._injector,this._buildConfig());this._attachSubscription=at.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=at.detachments().subscribe(()=>this.detach.emit()),at.keydownEvents().subscribe(Tt=>{this.overlayKeydown.next(Tt),Tt.keyCode===K._f&&!this.disableClose&&!(0,ce.rp)(Tt)&&(Tt.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Tt=>{const Bt=this._getOriginElement(),Xt=(0,A.Fb)(Tt);(!Bt||Bt!==Xt&&!Bt.contains(Xt))&&this.overlayOutsideClick.next(Tt)})}_buildConfig(){const at=this._position=this.positionStrategy||this._createPositionStrategy(),Tt=new Et({direction:this._dir||"ltr",positionStrategy:at,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Tt.width=this.width),(this.height||0===this.height)&&(Tt.height=this.height),(this.minWidth||0===this.minWidth)&&(Tt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Tt.minHeight=this.minHeight),this.backdropClass&&(Tt.backdropClass=this.backdropClass),this.panelClass&&(Tt.panelClass=this.panelClass),Tt}_updatePositionStrategy(at){const Tt=this.positions.map(Bt=>({originX:Bt.originX,originY:Bt.originY,overlayX:Bt.overlayX,overlayY:Bt.overlayY,offsetX:Bt.offsetX||this.offsetX,offsetY:Bt.offsetY||this.offsetY,panelClass:Bt.panelClass||void 0}));return at.setOrigin(this._getOrigin()).withPositions(Tt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const at=Qn(this._injector,this._getOrigin());return this._updatePositionStrategy(at),at}_getOrigin(){return this.origin instanceof yi?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof yi?this.origin.elementRef.nativeElement:this.origin instanceof E.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(at=>{this.backdropClick.emit(at)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,W.v)(()=>this.positionChange.observers.length>0)).subscribe(at=>{this._ngZone.run(()=>this.positionChange.emit(at)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=E.FsC({type:Ut,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",M.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",M.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",M.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",M.L39],push:[2,"cdkConnectedOverlayPush","push",M.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",M.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[E.OA$]})}return Ut})();const oo={provide:Lr,useFactory:function yo(Ut){const pt=(0,S.WQX)(S.zZn);return()=>Je(pt)}};let eo=(()=>{class Ut{static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275mod=E.$C({type:Ut});static \u0275inj=S.G2t({providers:[bi,oo],imports:[ue.jI,U.jc,ve.E9,ve.E9]})}return Ut})()},83300(Vt,Pe,d){"use strict";let S;
1function M(f){return function E(){if(null==S&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>S=!0}))}finally{S=S||!1}return S}()?f:!!f.capture}d.d(Pe,{B:()=>M})},39842(Vt,Pe,d){"use strict";d.d(Pe,{O:()=>b});var S=d(2615),E=d(73664),M=d(60177);let f;try{f=typeof Intl<"u"&&Intl.v8BreakIterator}catch{f=!1}let b=(()=>{class A{_platformId=(0,S.WQX)(E.Agw);isBrowser=this._platformId?(0,M.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!f)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(q){return new(q||A)};static \u0275prov=S.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},76939(Vt,Pe,d){"use strict";d.d(Pe,{A8:()=>ie,I3:()=>re,VA:()=>ve,aI:()=>X,bV:()=>W,jc:()=>ce,lb:()=>ne});var E=d(2615),M=d(73664),f=d(17705);class B{_attachedHost;attach(ae){return this._attachedHost=ae,ae.attach(this)}detach(){let ae=this._attachedHost;null!=ae&&(this._attachedHost=null,ae.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ae){this._attachedHost=ae}}class ie extends B{component;viewContainerRef;injector;projectableNodes;constructor(ae,te,de,_e){super(),this.component=ae,this.viewContainerRef=te,this.injector=de,this.projectableNodes=_e}}class ve extends B{templateRef;viewContainerRef;context;injector;constructor(ae,te,de,_e){super(),this.templateRef=ae,this.viewContainerRef=te,this.context=de,this.injector=_e}get origin(){return this.templateRef.elementRef}attach(ae,te=this.context){return this.context=te,super.attach(ae)}detach(){return this.context=void 0,super.detach()}}class U extends B{element;constructor(ae){super(),this.element=ae instanceof M.aKT?ae.nativeElement:ae}}class ne{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(ae){return ae instanceof ie?(this._attachedPortal=ae,this.attachComponentPortal(ae)):ae instanceof ve?(this._attachedPortal=ae,this.attachTemplatePortal(ae)):this.attachDomPortal&&ae instanceof U?(this._attachedPortal=ae,this.attachDomPortal(ae)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ae){this._disposeFn=ae}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class X extends ne{outletElement;_appRef;_defaultInjector;constructor(ae,te,de){super(),this.outletElement=ae,this._appRef=te,this._defaultInjector=de}attachComponentPortal(ae){let te;if(ae.viewContainerRef){const de=ae.injector||ae.viewContainerRef.injector,_e=de.get(M.Ab1,null,{optional:!0})||void 0;te=ae.viewContainerRef.createComponent(ae.component,{index:ae.viewContainerRef.length,injector:de,ngModuleRef:_e,projectableNodes:ae.projectableNodes||void 0}),this.setDisposeFn(()=>te.destroy())}else{const de=this._appRef,_e=ae.injector||this._defaultInjector||E.zZn.NULL,we=_e.get(E.uvJ,de.injector);te=(0,f.a0P)(ae.component,{elementInjector:_e,environmentInjector:we,projectableNodes:ae.projectableNodes||void 0}),de.attachView(te.hostView),this.setDisposeFn(()=>{de.viewCount>0&&de.detachView(te.hostView),te.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(te)),this._attachedPortal=ae,te}attachTemplatePortal(ae){let te=ae.viewContainerRef,de=te.createEmbeddedView(ae.templateRef,ae.context,{injector:ae.injector});return de.rootNodes.forEach(_e=>this.outletElement.appendChild(_e)),de.detectChanges(),this.setDisposeFn(()=>{let _e=te.indexOf(de);-1!==_e&&te.remove(_e)}),this._attachedPortal=ae,de}attachDomPortal=ae=>{const te=ae.element,de=this.outletElement.ownerDocument.createComment("dom-portal");te.parentNode.insertBefore(de,te),this.outletElement.appendChild(te),this._attachedPortal=ae,super.setDisposeFn(()=>{de.parentNode&&de.parentNode.replaceChild(te,de)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ae){return ae.hostView.rootNodes[0]}}let W=(()=>{class ue extends ve{constructor(){super((0,E.WQX)(M.C4Q),(0,E.WQX)(M.c1b))}static \u0275fac=function(de){return new(de||ue)};static \u0275dir=M.FsC({type:ue,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[M.
1Vt3]})}return ue})(),re=(()=>{class ue extends ne{_moduleRef=(0,E.WQX)(M.Ab1,{optional:!0});_document=(0,E.WQX)(E.qQL);_viewContainerRef=(0,E.WQX)(M.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}attached=new M.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const de=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,_e=de.createComponent(te.component,{index:de.length,injector:te.injector||de.injector,projectableNodes:te.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return de!==this._viewContainerRef&&this._getRootNode().appendChild(_e.hostView.rootNodes[0]),super.setDisposeFn(()=>_e.destroy()),this._attachedPortal=te,this._attachedRef=_e,this.attached.emit(_e),_e}attachTemplatePortal(te){te.setAttachedHost(this);const de=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=de,this.attached.emit(de),de}attachDomPortal=te=>{const de=te.element,_e=this._document.createComment("dom-portal");te.setAttachedHost(this),de.parentNode.insertBefore(_e,de),this._getRootNode().appendChild(de),this._attachedPortal=te,super.setDisposeFn(()=>{_e.parentNode&&_e.parentNode.replaceChild(de,_e)})};_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static \u0275fac=function(de){return new(de||ue)};static \u0275dir=M.FsC({type:ue,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[M.Vt3]})}return ue})(),ce=(()=>{class ue{static \u0275fac=function(de){return new(de||ue)};static \u0275mod=M.$C({type:ue});static \u0275inj=E.G2t({})}return ue})()},49046(Vt,Pe,d){"use strict";d.d(Pe,{Y:()=>E});var S=d(73664);let E=(()=>{class M{static \u0275fac=function(A){return new(A||M)};static \u0275cmp=S.VBU({type:M,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(A,R){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return M})()},75272(Vt,Pe,d){"use strict";d.d(Pe,{uv:()=>at,Gj:()=>He,R:()=>pt,E9:()=>p,Xj:()=>Bt});var S=d(2615),E=d(73664),M=d(21413),f=d(7673),b=d(71985),R=(d(30536),d(96780));let q,N=1;const ee={};function B(Ht){return Ht in ee&&(delete ee[Ht],!0)}const ie={setImmediate(Ht){const sn=N++;return ee[sn]=!0,q||(q=Promise.resolve()),q.then(()=>B(sn)&&Ht()),sn},clearImmediate(Ht){B(Ht)}},{setImmediate:U,clearImmediate:ne}=ie,X={setImmediate(...Ht){const{delegate:sn}=X;return(sn?.setImmediate||U)(...Ht)},clearImmediate(Ht){const{delegate:sn}=X;return(sn?.clearImmediate||ne)(Ht)},delegate:void 0};var Z=d(39687);new class re extends Z.q{flush(sn){this._active=!0;const bt=this._scheduled;this._scheduled=void 0;const{actions:un}=this;let Vn;sn=sn||un.shift();do{if(Vn=sn.execute(sn.state,sn.delay))break}while((sn=un[0])&&sn.id===bt&&un.shift());if(this._active=!1,Vn){for(;(sn=un[0])&&sn.id===bt&&un.shift();)sn.unsubscribe();throw Vn}}}(class W extends R.R{constructor(sn,bt){super(sn,bt),this.scheduler=sn,this.work=bt}requestAsyncId(sn,bt,un=0){return null!==un&&un>0?super.requestAsyncId(sn,bt,un):(sn.actions.push(this),sn._scheduled||(sn._scheduled=X.setImmediate(sn.flush.bind(sn,void 0))))}recycleAsyncId(sn,bt,un=0){var Vn;if(null!=un?un>0:this.delay>0)return super.recycleAsyncId(sn,bt,un);const{actions:Wn}=sn;null!=bt&&(null===(Vn=Wn[Wn.length-1])||void 0===Vn?void 0:Vn.id)!==bt&&(X.clearImmediate(bt),sn._scheduled===bt&&(sn._scheduled=void 0))}});var ue=d(13798),ae=d(5964),te=d(67847),de=d(39842),_e=d(61577),we=d(47860),De=
1d(28203);let pt=(()=>{class Ht{_ngZone=(0,S.WQX)(E.SKi);_platform=(0,S.WQX)(de.O);_renderer=(0,S.WQX)(E._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new M.B;_scrolledCount=0;scrollContainers=new Map;register(bt){this.scrollContainers.has(bt)||this.scrollContainers.set(bt,bt.elementScrolled().subscribe(()=>this._scrolled.next(bt)))}deregister(bt){const un=this.scrollContainers.get(bt);un&&(un.unsubscribe(),this.scrollContainers.delete(bt))}scrolled(bt=20){return this._platform.isBrowser?new b.c(un=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Vn=bt>0?this._scrolled.pipe((0,ue.Z)(bt)).subscribe(un):this._scrolled.subscribe(un);return this._scrolledCount++,()=>{Vn.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,f.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((bt,un)=>this.deregister(un)),this._scrolled.complete()}ancestorScrolled(bt,un){const Vn=this.getAncestorScrollContainers(bt);return this.scrolled(un).pipe((0,ae.p)(Wn=>!Wn||Vn.indexOf(Wn)>-1))}getAncestorScrollContainers(bt){const un=[];return this.scrollContainers.forEach((Vn,Wn)=>{this._scrollableContainsElement(Wn,bt)&&un.push(Wn)}),un}_scrollableContainsElement(bt,un){let Vn=(0,te.i8)(un),Wn=bt.getElementRef().nativeElement;do{if(Vn==Wn)return!0}while(Vn=Vn.parentElement);return!1}static \u0275fac=function(un){return new(un||Ht)};static \u0275prov=S.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),at=(()=>{class Ht{elementRef=(0,S.WQX)(E.aKT);scrollDispatcher=(0,S.WQX)(pt);ngZone=(0,S.WQX)(E.SKi);dir=(0,S.WQX)(_e.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new M.B;_renderer=(0,S.WQX)(E.sFG);_cleanupScroll;_elementScrolled=new M.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",bt=>this._elementScrolled.next(bt))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(bt){const un=this.elementRef.nativeElement,Vn=this.dir&&"rtl"==this.dir.value;null==bt.left&&(bt.left=Vn?bt.end:bt.start),null==bt.right&&(bt.right=Vn?bt.start:bt.end),null!=bt.bottom&&(bt.top=un.scrollHeight-un.clientHeight-bt.bottom),Vn&&(0,we.BD)()!=we.r5.NORMAL?(null!=bt.left&&(bt.right=un.scrollWidth-un.clientWidth-bt.left),(0,we.BD)()==we.r5.INVERTED?bt.left=bt.right:(0,we.BD)()==we.r5.NEGATED&&(bt.left=bt.right?-bt.right:bt.right)):null!=bt.right&&(bt.left=un.scrollWidth-un.clientWidth-bt.right),this._applyScrollToOptions(bt)}_applyScrollToOptions(bt){const un=this.elementRef.nativeElement;(0,we.CZ)()?un.scrollTo(bt):(null!=bt.top&&(un.scrollTop=bt.top),null!=bt.left&&(un.scrollLeft=bt.left))}measureScrollOffset(bt){const un="left",Wn=this.elementRef.nativeElement;if("top"==bt)return Wn.scrollTop;if("bottom"==bt)return Wn.scrollHeight-Wn.clientHeight-Wn.scrollTop;const $n=this.dir&&"rtl"==this.dir.value;return"start"==bt?bt=$n?"right":un:"end"==bt&&(bt=$n?un:"right"),$n&&(0,we.BD)()==we.r5.INVERTED?bt==un?Wn.scrollWidth-Wn.clientWidth-Wn.scrollLeft:Wn.scrollLeft:$n&&(0,we.BD)()==we.r5.NEGATED?bt==un?Wn.scrollLeft+Wn.scrollWidth-Wn.clientWidth:-Wn.scrollLeft:bt==un?Wn.scrollLeft:Wn.scrollWidth-Wn.clientWidth-Wn.scrollLeft}static \u0275fac=function(un){return new(un||Ht)};static \u0275dir=E.FsC({type:Ht,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Ht})(),Bt=(()=>{class Ht{_platform=(0,S.WQX)(de.O);_listeners;_viewportSize;_change=new M.B;_document=(0,S.WQX)(S.qQL);constructor(){const bt=(0,S.WQX)(E.SKi),un=(0,S.WQX)(E._9s).createRenderer(null,null);bt.runOutsideAngular(()=>{if(this._platform.isBrowser){const Vn=Wn=>this._change.next(Wn);this._listeners=[un.listen("window","resize",Vn),un.listen("window","orientationchange",Vn)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(bt=>bt()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const bt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),bt}getViewportRect(){const bt=this.getViewportScrollPosition(),{width:un,height:Vn}=this.getViewportSize();
1return{top:bt.top,left:bt.left,bottom:bt.top+Vn,right:bt.left+un,height:Vn,width:un}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const bt=this._document,un=this._getWindow(),Vn=bt.documentElement,Wn=Vn.getBoundingClientRect();return{top:-Wn.top||bt.body.scrollTop||un.scrollY||Vn.scrollTop||0,left:-Wn.left||bt.body.scrollLeft||un.scrollX||Vn.scrollLeft||0}}change(bt=20){return bt>0?this._change.pipe((0,ue.Z)(bt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const bt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:bt.innerWidth,height:bt.innerHeight}:{width:0,height:0}}static \u0275fac=function(un){return new(un||Ht)};static \u0275prov=S.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),He=(()=>{class Ht{static \u0275fac=function(un){return new(un||Ht)};static \u0275mod=E.$C({type:Ht});static \u0275inj=S.G2t({})}return Ht})(),p=(()=>{class Ht{static \u0275fac=function(un){return new(un||Ht)};static \u0275mod=E.$C({type:Ht});static \u0275inj=S.G2t({imports:[De.jI,He,De.jI,He]})}return Ht})()},47860(Vt,Pe,d){"use strict";d.d(Pe,{BD:()=>b,CZ:()=>f,r5:()=>S});var S=function(A){return A[A.NORMAL=0]="NORMAL",A[A.NEGATED=1]="NEGATED",A[A.INVERTED=2]="INVERTED",A}(S||{});let E,M;function f(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)M=!0;else{const A=Element.prototype.scrollTo;M=!!A&&!/\{\s*\[native code\]\s*\}/.test(A.toString())}}return M}function b(){if("object"!=typeof document||!document)return S.NORMAL;if(null==E){const A=document.createElement("div"),R=A.style;A.dir="rtl",R.width="1px",R.overflow="auto",R.visibility="hidden",R.pointerEvents="none",R.position="absolute";const N=document.createElement("div"),q=N.style;q.width="2px",q.height="1px",A.appendChild(N),document.body.appendChild(A),E=S.NORMAL,0===A.scrollLeft&&(A.scrollLeft=1,E=0===A.scrollLeft?S.NEGATED:S.INVERTED),A.remove()}return E}},83869(Vt,Pe,d){"use strict";d.d(Pe,{C:()=>E});var S=d(21413);class E{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new S.B;constructor(b=!1,A,R=!0,N){this._multiple=b,this._emitChanges=R,this.compareWith=N,A&&A.length&&(b?A.forEach(q=>this._markSelected(q)):this._markSelected(A[0]),this._selectedToEmit.length=0)}select(...b){this._verifyValueAssignment(b),b.forEach(R=>this._markSelected(R));const A=this._hasQueuedChanges();return this._emitChangeEvent(),A}deselect(...b){this._verifyValueAssignment(b),b.forEach(R=>this._unmarkSelected(R));const A=this._hasQueuedChanges();return this._emitChangeEvent(),A}setSelection(...b){this._verifyValueAssignment(b);const A=this.selected,R=new Set(b.map(q=>this._getConcreteValue(q)));b.forEach(q=>this._markSelected(q)),A.filter(q=>!R.has(this._getConcreteValue(q,R))).forEach(q=>this._unmarkSelected(q));const N=this._hasQueuedChanges();return this._emitChangeEvent(),N}toggle(b){return this.isSelected(b)?this.deselect(b):this.select(b)}clear(b=!0){this._unmarkAll();const A=this._hasQueuedChanges();return b&&this._emitChangeEvent(),A}isSelected(b){return this._selection.has(this._getConcreteValue(b))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(b){this._multiple&&this.selected&&this._selected.sort(b)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(b){b=this._getConcreteValue(b),this.isSelected(b)||(this._multiple||this._unmarkAll(),this.isSelected(b)||this._selection.add(b),this._emitChanges&&this._selectedToEmit.push(b))}_unmarkSelected(b){b=this._getConcreteValue(b),this.isSelected(b)&&(this._selection.delete(b),this._emitChanges&&this._deselectedToEmit.push(b))}_unmarkAll(){this.isEmpty()||this._selection.forEach(b=>this._unmarkSelected(b))}_verifyValueAssignment(b){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(b,A){if(this.compareWith){A=A??this._selection;for(let R of A)if(this.compareWith(b,R))return R;return b}return b}}},44522(Vt,Pe,d){"use strict";let S;
1function M(A){if(function E(){if(null==S){const A=typeof document<"u"?document.head:null;S=!(!A||!A.createShadowRoot&&!A.attachShadow)}return S}()){const R=A.getRootNode?A.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&R instanceof ShadowRoot)return R}return null}function f(){let A=typeof document<"u"&&document?document.activeElement:null;for(;A&&A.shadowRoot;){const R=A.shadowRoot.activeElement;if(R===A)break;A=R}return A}function b(A){return A.composedPath?A.composedPath()[0]:A.target}d.d(Pe,{Fb:()=>b,KT:()=>M,vc:()=>f})},88968(Vt,Pe,d){"use strict";d.d(Pe,{l:()=>b});var S=d(2615),E=d(17705),M=d(73664);const f=new WeakMap;let b=(()=>{class A{_appRef;_injector=(0,S.WQX)(S.zZn);_environmentInjector=(0,S.WQX)(S.uvJ);load(N){const q=this._appRef=this._appRef||this._injector.get(M.o8S);let ee=f.get(q);ee||(ee={loaders:new Set,refs:[]},f.set(q,ee),q.onDestroy(()=>{f.get(q)?.refs.forEach(B=>B.destroy()),f.delete(q)})),ee.loaders.has(N)||(ee.loaders.add(N),ee.refs.push((0,E.a0P)(N,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(q){return new(q||A)};static \u0275prov=S.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},37403(Vt,Pe,d){"use strict";d.d(Pe,{EE:()=>re,P8:()=>X,xb:()=>Z});var b=d(2615),A=d(73664),R=d(17705),N=d(21413),q=d(983),ee=d(39842),B=d(88968),ie=d(67847),ve=d(13798);let U=(()=>{class K{static \u0275fac=function(ae){return new(ae||K)};static \u0275cmp=A.VBU({type:K,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(ae,te){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return K})();const ne={passive:!0};let X=(()=>{class K{_platform=(0,b.WQX)(ee.O);_ngZone=(0,b.WQX)(A.SKi);_renderer=(0,b.WQX)(A._9s).createRenderer(null,null);_styleLoader=(0,b.WQX)(B.l);_monitoredElements=new Map;constructor(){}monitor(ue){if(!this._platform.isBrowser)return q.w;this._styleLoader.load(U);const ae=(0,ie.i8)(ue),te=this._monitoredElements.get(ae);if(te)return te.subject;const de=new N.B,_e="cdk-text-field-autofilled",we=Ie=>{"cdk-text-field-autofill-start"!==Ie.animationName||ae.classList.contains(_e)?"cdk-text-field-autofill-end"===Ie.animationName&&ae.classList.contains(_e)&&(ae.classList.remove(_e),this._ngZone.run(()=>de.next({target:Ie.target,isAutofilled:!1}))):(ae.classList.add(_e),this._ngZone.run(()=>de.next({target:Ie.target,isAutofilled:!0})))},De=this._ngZone.runOutsideAngular(()=>(ae.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(ae,"animationstart",we,ne)));return this._monitoredElements.set(ae,{subject:de,unlisten:De}),de}stopMonitoring(ue){const ae=(0,ie.i8)(ue),te=this._monitoredElements.get(ae);te&&(te.unlisten(),te.subject.complete(),ae.classList.remove("cdk-text-field-autofill-monitored"),ae.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ae))}ngOnDestroy(){this._monitoredElements.forEach((ue,ae)=>this.stopMonitoring(ae))}static \u0275fac=function(ae){return new(ae||K)};static \u0275prov=b.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})(),Z=(()=>{class K{_elementRef=(0,b.WQX)(A.aKT);_platform=(0,b.WQX)(ee.O);_ngZone=(0,b.WQX)(A.SKi);_renderer=(0,b.WQX)(A.sFG);_resizeEvents=new N.B;_previousValue;_initialHeight;_destroyed=new N.B;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(ue){this._minRows=(0,ie.OE)(ue),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ue){this._maxRows=(0,ie.OE)(ue),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ue){this._enabled!==ue&&((this._enabled=ue)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ue){this._cachedPlaceholderHeight=void 0,ue?this._textareaElement.setAttribute("placeholder",ue):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=(0,b.WQX)(b.qQL);_hasFocus;_isViewInited=!1;constructor(){(0,b.WQX)(B.l).load(U),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const ue=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ue&&(this._textareaElement.style.minHeight=ue)}_setMaxHeight(){const ue=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ue&&(this._textareaElement.style.maxHeight=ue)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe((0,ve.Z)(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._listenerCleanups?.forEach(ue=>ue()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;const ue=this._textareaElement.cloneNode(!1),ae=ue.style;ue.rows=1,ae.position="absolute",ae.visibility="hidden",ae.border="none",ae.padding="0",ae.height="",ae.minHeight="",ae.maxHeight="",ae.top=ae.bottom=ae.left=ae.right="auto",ae.overflow="hidden",this._textareaElement.parentNode.appendChild(ue),this._cachedLineHeight=ue.clientHeight,ue.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ue=this._textareaElement,ae=ue.style.marginBottom||"",te=this._platform.FIRE
1FOX,de=te&&this._hasFocus,_e=te?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";de&&(ue.style.marginBottom=`${ue.clientHeight}px`),ue.classList.add(_e);const we=ue.scrollHeight-4;return ue.classList.remove(_e),de&&(ue.style.marginBottom=ae),we}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ue=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ue}_handleFocusEvent=ue=>{this._hasFocus="focus"===ue.type};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ue=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const ae=this._elementRef.nativeElement,te=ae.value;if(!ue&&this._minRows===this._previousMinRows&&te===this._previousValue)return;const de=this._measureScrollHeight(),_e=Math.max(de,this._cachedPlaceholderHeight||0);ae.style.height=`${_e}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ae)):setTimeout(()=>this._scrollToCaretPosition(ae))}),this._previousValue=te,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(ue){const{selectionStart:ae,selectionEnd:te}=ue;!this._destroyed.isStopped&&this._hasFocus&&ue.setSelectionRange(ae,te)}static \u0275fac=function(ae){return new(ae||K)};static \u0275dir=A.FsC({type:K,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ae,te){1&ae&&A.bIt("input",function(){return te._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",R.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return K})(),re=(()=>{class K{static \u0275fac=function(ae){return new(ae||K)};static \u0275mod=A.$C({type:K});static \u0275inj=b.G2t({})}return K})()},59096(Vt,Pe,d){"use strict";d.d(Pe,{i:()=>N});var S=d(21413),E=d(70152),M=d(5964),f=d(96354),b=d(88141),A=d(10438);class N{_letterKeyStream=new S.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new S.B;selectedItem=this._selectedItem;constructor(ee,B){const ie="number"==typeof B?.debounceInterval?B.debounceInterval:200;B?.skipPredicate&&(this._skipPredicateFn=B.skipPredicate),this.setItems(ee),this._setupKeyHandler(ie)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(ee){this._selectedItemIndex=ee}setItems(ee){this._items=ee}handleKey(ee){const B=ee.keyCode;ee.key&&1===ee.key.length?this._letterKeyStream.next(ee.key.toLocaleUpperCase()):(B>=A.A&&B<=A.Z||B>=A.f2&&B<=A.bn)&&this._letterKeyStream.next(String.fromCharCode(B))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(ee){this._letterKeyStream.pipe((0,b.M)(B=>this._pressedLetters.push(B)),(0,E.B)(ee),(0,M.p)(()=>this._pressedLetters.length>0),(0,f.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(B=>{for(let ie=1;ie<this._items.length+1;ie++){const U=this._items[(this._selectedItemIndex+ie)%this._items.length];if(!this._skipPredicateFn?.(U)&&0===U.getLabel?.().toLocaleUpperCase().trim().indexOf(B)){this._selectedItem.next(U);break}}this._pressedLetters=[]})}}},18689(Vt,Pe,d){"use strict";d.d(Pe,{z:()=>E});var S=d(2615);let E=(()=>{class M{_listeners=[];notify(b,A){for(let R of this._listeners)R(b,A)}listen(b){return this._listeners.push(b),()=>{this._listeners=this._listeners.filter(A=>b!==A)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(A){return new(A||M)};static \u0275prov=S.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},60177(Vt,Pe,d){"use strict";d.d(Pe,{AJ:()=>ae,UE:()=>de,Xr:()=>De});var ce=d(2615);const ae="browser";function de(Wt){return Wt===ae}let De=(()=>{class Wt{static \u0275prov=(0,ce.jDH)({token:Wt,providedIn:"root",factory:()=>new Ie((0,ce.WQX)(ce.qQL),window)})}return Wt})();class Ie{document;window;offset=()=>[0,0];constructor(yn,Bn){this.document=yn,this.window=Bn}setOffset(yn){this.offset=Array.isArray(yn)?()=>yn:yn}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(yn,Bn){this.window.scrollTo({...Bn,left:yn[0],top:yn[1]})}scrollToAnchor(yn,Bn){const Gn=function Me(Wt,yn){const Bn=Wt.getElementById(yn)||Wt.getElementsByName(yn)[0];if(Bn)return Bn;if("function"==typeof Wt.createTreeWalker&&Wt.body&&"function"==typeof Wt.body.attachShadow){const Gn=Wt.createTreeWalker(Wt.body,NodeFilter.SHOW_ELEMENT);let fr=Gn.currentNode;for(;fr;){const Tr=fr.shadowRoot;if(Tr){const xi=Tr.getElementById(yn)||Tr.querySelector(`[name="${yn}"]`);if(xi)return xi}fr=Gn.nextNode()}}return null}(this.document,yn);Gn&&(this.scrollToElement(Gn,Bn),Gn.focus())}setHistoryScrollRestoration(yn){try{this.window.history.scrollRestoration=yn}catch{console.warn((0,ce.OsK)(2400,!1))}}scrollToElement(yn,Bn){const Gn=yn.getBoundingClientRect(),fr=Gn.left+this.window.pageXOffset,Tr=Gn.top+this.window.pageYOffset,xi=this.offset();this.window.scrollTo({...Bn,left:fr-xi[0],top:Tr-xi[1]})}}},72200(Vt,Pe,d){"use strict";d.d(Pe,{B3:()=>Gt,GH:()=>Yi,IJ:()=>dt,Jj:()=>Ar,MD:()=>Cs,P9:()=>ao,PV:()=>To,Pc:()=>to,QX:()=>no,Sq:()=>er,T3:()=>Nn,WO:()=>Yt,YU:()=>cr,Yq:()=>kt,bT:()=>Ho,e1:()=>xo,fG:()=>Zr,fw:()=>q,lG:()=>Jr,ux:()=>Uo,vh:()=>yn});var f=d(17705),b=d(2615),A=d(73664),R=d(59295),N=d(57303);let q=(()=>{class Ue extends N.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(tt,gt){super(),this._platformLocation=tt,null!=gt&&(this._baseHref=gt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(tt){this._removeListenerFns.push(this._platformLocation.onPopState(tt),this._platformLocation.on
1HashChange(tt))}getBaseHref(){return this._baseHref}path(tt=!1){const gt=this._platformLocation.hash??"#";return gt.length>0?gt.substring(1):gt}prepareExternalUrl(tt){const gt=(0,N.om)(this._baseHref,tt);return gt.length>0?"#"+gt:gt}pushState(tt,gt,zt,gn){const or=this.prepareExternalUrl(zt+(0,N.Q)(gn))||this._platformLocation.pathname;this._platformLocation.pushState(tt,gt,or)}replaceState(tt,gt,zt,gn){const or=this.prepareExternalUrl(zt+(0,N.Q)(gn))||this._platformLocation.pathname;this._platformLocation.replaceState(tt,gt,or)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(tt=0){this._platformLocation.historyGo?.(tt)}static \u0275fac=function(gt){return new(gt||Ue)(b.KVO(N.Vw),b.KVO(N.kB,8))};static \u0275prov=b.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();var B=function(Ue){return Ue[Ue.Decimal=0]="Decimal",Ue[Ue.Percent=1]="Percent",Ue[Ue.Currency=2]="Currency",Ue[Ue.Scientific=3]="Scientific",Ue}(B||{}),ie=function(Ue){return Ue[Ue.Zero=0]="Zero",Ue[Ue.One=1]="One",Ue[Ue.Two=2]="Two",Ue[Ue.Few=3]="Few",Ue[Ue.Many=4]="Many",Ue[Ue.Other=5]="Other",Ue}(ie||{}),ve=function(Ue){return Ue[Ue.Format=0]="Format",Ue[Ue.Standalone=1]="Standalone",Ue}(ve||{}),U=function(Ue){return Ue[Ue.Narrow=0]="Narrow",Ue[Ue.Abbreviated=1]="Abbreviated",Ue[Ue.Wide=2]="Wide",Ue[Ue.Short=3]="Short",Ue}(U||{}),ne=function(Ue){return Ue[Ue.Short=0]="Short",Ue[Ue.Medium=1]="Medium",Ue[Ue.Long=2]="Long",Ue[Ue.Full=3]="Full",Ue}(ne||{});function de(Ue,jt){return ke((0,A.kBR)(Ue)[A.NSC.DateFormat],jt)}function _e(Ue,jt){return ke((0,A.kBR)(Ue)[A.NSC.TimeFormat],jt)}function we(Ue,jt){return ke((0,A.kBR)(Ue)[A.NSC.DateTimeFormat],jt)}function De(Ue,jt){const tt=(0,A.kBR)(Ue),gt=tt[A.NSC.NumberSymbols][jt];
1if(typeof gt>"u"){if(12===jt)return tt[A.NSC.NumberSymbols][0];if(13===jt)return tt[A.NSC.NumberSymbols][1]}return gt}const vt=A.Jt5;function $t(Ue){if(!Ue[A.NSC.ExtraData])throw new b.buA(2303,!1)}function ke(Ue,jt){for(let tt=jt;tt>-1;tt--)if(typeof Ue[tt]<"u")return Ue[tt];throw new b.buA(2304,!1)}function qe(Ue){const[jt,tt]=Ue.split(":");return{hours:+jt,minutes:+tt}}const Ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mt={},rt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function kt(Ue,jt,tt,gt){let zt=function eo(Ue){if(pt(Ue))return Ue;if("number"==typeof Ue&&!isNaN(Ue))return new Date(Ue);if("string"==typeof Ue){if(Ue=Ue.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Ue)){const[zt,gn=1,or=1]=Ue.split("-").map(Xn=>+Xn);return An(zt,gn-1,or)}const tt=parseFloat(Ue);if(!isNaN(Ue-tt))return new Date(tt);let gt;if(gt=Ue.match(Ke))return function Ut(Ue){const jt=new Date(0);let tt=0,gt=0;const zt=Ue[8]?jt.setUTCFullYear:jt.setFullYear,gn=Ue[8]?jt.setUTCHours:jt.setHours;Ue[9]&&(tt=Number(Ue[9]+Ue[10]),gt=Number(Ue[9]+Ue[11])),zt.call(jt,Number(Ue[1]),Number(Ue[2])-1,Number(Ue[3]));const or=Number(Ue[4]||0)-tt,Xn=Number(Ue[5]||0)-gt,zi=Number(Ue[6]||0),ai=Math.floor(1e3*parseFloat("0."+(Ue[7]||0)));return gn.call(jt,or,Xn,zi,ai),jt}(gt)}const jt=new Date(Ue);if(!pt(jt))throw new b.buA(2311,!1);return jt}(Ue);(function Dt(Ue){if(Ue.length>256)throw new b.buA(2300,!1)})(jt),jt=Qn(tt,jt)||jt;let Xn,or=[];for(;jt;){if(Xn=rt.exec(jt),!Xn){or.push(jt);break}{or=or.concat(Xn.slice(1));const vi=or.pop();if(!vi)break;jt=vi}}let zi=zt.getTimezoneOffset();gt&&(zi=Ci(gt,zi),zt=function oo(Ue,jt){const zt=Ue.getTimezoneOffset();return function yo(Ue,jt){return(Ue=new Date(Ue.getTime())).setMinutes(Ue.getMinutes()+jt),Ue}(Ue,-1*(Ci(jt,zt)-zt))}(zt,gt));let ai="";return or.forEach(vi=>{const Sr=function yi(Ue){if(Lr[Ue])return Lr[Ue];let jt;switch(Ue){case"G":case"GG":case"GGG":jt=bn(3,U.Abbreviated);break;case"GGGG":jt=bn(3,U.Wide);break;case"GGGGG":jt=bn(3,U.Narrow);break;case"y":jt=tn(0,1,0,!1,!0);break;case"yy":jt=tn(0,2,0,!0,!0);break;case"yyy":jt=tn(0,3,0,!1,!0);break;case"yyyy":jt=tn(0,4,0,!1,!0);break;case"Y":jt=Kr(1);break;case"YY":jt=Kr(2,!0);break;case"YYY":jt=Kr(3);break;case"YYYY":jt=Kr(4);break;case"M":case"L":jt=tn(1,1,1);break;case"MM":case"LL":jt=tn(1,2,1);break;case"MMM":jt=bn(2,U.Abbreviated);break;case"MMMM":jt=bn(2,U.Wide);break;case"MMMMM":jt=bn(2,U.Narrow);break;case"LLL":jt=bn(2,U.Abbreviated,ve.Standalone);break;case"LLLL":jt=bn(2,U.Wide,ve.Standalone);break;case"LLLLL":jt=bn(2,U.Narrow,ve.Standalone);break;case"w":jt=bi(1);break;case"ww":jt=bi(2);break;case"W":jt=bi(1,!0);break;case"d":jt=tn(2,1);break;case"dd":jt=tn(2,2);break;case"c":case"cc":jt=tn(7,1);break;case"ccc":jt=bn(1,U.Abbreviated,ve.Standalone);break;case"cccc":jt=bn(1,U.Wide,ve.Standalone);break;case"ccccc":jt=bn(1,U.Narrow,ve.Standalone);break;case"cccccc":jt=bn(1,U.Short,ve.Standalone);break;case"E":case"EE":case"EEE":jt=bn(1,U.Abbreviated);break;case"EEEE":jt=bn(1,U.Wide);break;case"EEEEE":jt=bn(1,U.Narrow);break;case"EEEEEE":jt=bn(1,U.Short);break;case"a":case"aa":case"aaa":jt=bn(0,U.Abbreviated);break;case"aaaa":jt=bn(0,U.Wide);break;case"aaaaa":jt=bn(0,U.Narrow);break;case"b":case"bb":case"bbb":jt=bn(0,U.Abbreviated,ve.Standalone,!0);break;case"bbbb":jt=bn(0,U.Wide,ve.Standalone,!0);break;case"bbbbb":jt=bn(0,U.Narrow,ve.Standalone,!0);break;case"B":case"BB":case"BBB":jt=bn(0,U.Abbreviated,ve.Format,!0);break;case"BBBB":jt=bn(0,U.Wide,ve.Format,!0);break;case"BBBBB":jt=bn(0,U.Narrow,ve.Format,!0);break;case"h":jt=tn(3,1,-12);break;case"hh":jt=tn(3,2,-12);break;case"H":jt=tn(3,1);break;case"HH":jt=tn(3,2);break;case"m":jt=tn(4,1);break;case"mm":jt=tn(4,2);break;case"s":jt=tn(5,1);break;case"ss":jt=tn(5,2);break;case"S":jt=tn(6,1);break;case"SS":jt=tn(6,2);break;case"SSS":jt=tn(6,3);break;case"Z":case"ZZ":case"ZZZ":jt=En(0);break;case"ZZZZZ":jt=En(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":jt=En(1);break;
1case"OOOO":case"ZZZZ":case"zzzz":jt=En(2);break;default:return null}return Lr[Ue]=jt,jt}(vi);ai+=Sr?Sr(zt,tt,zi):"''"===vi?"'":vi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ai}function An(Ue,jt,tt){const gt=new Date(0);return gt.setFullYear(Ue,jt,tt),gt.setHours(0,0,0),gt}function Qn(Ue,jt){const tt=function Z(Ue){return(0,A.kBR)(Ue)[A.NSC.LocaleId]}(Ue);if(mt[tt]??={},mt[tt][jt])return mt[tt][jt];let gt="";switch(jt){case"shortDate":gt=de(Ue,ne.Short);break;case"mediumDate":gt=de(Ue,ne.Medium);break;case"longDate":gt=de(Ue,ne.Long);break;case"fullDate":gt=de(Ue,ne.Full);break;case"shortTime":gt=_e(Ue,ne.Short);break;case"mediumTime":gt=_e(Ue,ne.Medium);break;case"longTime":gt=_e(Ue,ne.Long);break;case"fullTime":gt=_e(Ue,ne.Full);break;case"short":const zt=Qn(Ue,"shortTime"),gn=Qn(Ue,"shortDate");gt=lr(we(Ue,ne.Short),[zt,gn]);break;case"medium":const or=Qn(Ue,"mediumTime"),Xn=Qn(Ue,"mediumDate");gt=lr(we(Ue,ne.Medium),[or,Xn]);break;case"long":const zi=Qn(Ue,"longTime"),ai=Qn(Ue,"longDate");gt=lr(we(Ue,ne.Long),[zi,ai]);break;case"full":const vi=Qn(Ue,"fullTime"),Sr=Qn(Ue,"fullDate");gt=lr(we(Ue,ne.Full),[vi,Sr])}return gt&&(mt[tt][jt]=gt),gt}function lr(Ue,jt){return jt&&(Ue=Ue.replace(/\{([^}]+)}/g,function(tt,gt){return null!=jt&&gt in jt?jt[gt]:tt})),Ue}function jn(Ue,jt,tt="-",gt,zt){let gn="";(Ue<0||zt&&Ue<=0)&&(zt?Ue=1-Ue:(Ue=-Ue,gn=tt));let or=String(Ue);for(;or.length<jt;)or="0"+or;return gt&&(or=or.slice(or.length-jt)),gn+or}function tn(Ue,jt,tt=0,gt=!1,zt=!1){return function(gn,or){let Xn=function dn(Ue,jt){switch(Ue){case 0:return jt.getFullYear();case 1:return jt.getMonth();case 2:return jt.getDate();case 3:return jt.getHours();case 4:return jt.getMinutes();case 5:return jt.getSeconds();case 6:return jt.getMilliseconds();case 7:return jt.getDay();default:throw new b.buA(2301,!1)}}(Ue,gn);if((tt>0||Xn>-tt)&&(Xn+=tt),3===Ue)0===Xn&&-12===tt&&(Xn=12);else if(6===Ue)return function xr(Ue,jt){return jn(Ue,3).substring(0,jt)}(Xn,jt);const zi=De(or,5);return jn(Xn,jt,zi,gt,zt)}}function bn(Ue,jt,tt=ve.Format,gt=!1){return function(zt,gn){return function Cn(Ue,jt,tt,gt,zt,gn){switch(tt){case 2:return function ce(Ue,jt,tt){const gt=(0,A.kBR)(Ue),gn=ke([gt[A.NSC.MonthsFormat],gt[A.NSC.MonthsStandalone]],jt);return ke(gn,tt)}(jt,zt,gt)[Ue.getMonth()];case 1:return function K(Ue,jt,tt){const gt=(0,A.kBR)(Ue),gn=ke([gt[A.NSC.DaysFormat],gt[A.NSC.DaysStandalone]],jt);return ke(gn,tt)}(jt,zt,gt)[Ue.getDay()];case 0:const or=Ue.getHours(),Xn=Ue.getMinutes();if(gn){const ai=function Et(Ue){const jt=(0,A.kBR)(Ue);return $t(jt),(jt[A.NSC.ExtraData][2]||[]).map(gt=>"string"==typeof gt?qe(gt):[qe(gt[0]),qe(gt[1])])}(jt),vi=function xt(Ue,jt,tt){const gt=(0,A.kBR)(Ue);$t(gt);const gn=ke([gt[A.NSC.ExtraData][0],gt[A.NSC.ExtraData][1]],jt)||[];return ke(gn,tt)||[]}(jt,zt,gt),Sr=ai.findIndex(go=>{if(Array.isArray(go)){const[Si,ci]=go,So=or>=Si.hours&&Xn>=Si.minutes,Do=or<ci.hours||or===ci.hours&&Xn<ci.minutes;if(Si.hours<ci.hours){if(So&&Do)return!0}else if(So||Do)return!0}else if(go.hours===or&&go.minutes===Xn)return!0;return!1});if(-1!==Sr)return vi[Sr]}return function re(Ue,jt,tt){const gt=(0,A.kBR)(Ue),gn=ke([gt[A.NSC.DayPeriodsFormat],gt[A.NSC.DayPeriodsStandalone]],jt);return ke(gn,tt)}(jt,zt,gt)[or<12?0:1];case 3:return function ue(Ue,jt){return ke((0,A.kBR)(Ue)[A.NSC.Eras],jt)}(jt,gt)[Ue.getFullYear()<=0?0:1];default:throw new b.buA(2302,!1)}}(zt,gn,Ue,jt,tt,gt)}}function En(Ue){return function(jt,tt,gt){const zt=-1*gt,gn=De(tt,5),or=zt>0?Math.floor(zt/60):Math.ceil(zt/60);switch(Ue){case 0:return(zt>=0?"+":"")+jn(or,2,gn)+jn(Math.abs(zt%60),2,gn);case 1:return"GMT"+(zt>=0?"+":"")+jn(or,1,gn);case 2:return"GMT"+(zt>=0?"+":"")+jn(or,2,gn)+":"+jn(Math.abs(zt%60),2,gn);case 3:return 0===gt?"Z":(zt>=0?"+":"")+jn(or,2,gn)+":"+jn(Math.abs(zt%60),2,gn);default:throw new b.buA(2310,!1)}}}function Br(Ue){const jt=Ue.getDay(),tt=0===jt?-3:4-jt;return An(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()+tt)}function bi(Ue,jt=!1){return function(tt,gt){let zt;if(jt){const gn=new Date(tt.getFullYear(),tt.getMonth(),1).getDay()-1,or=tt.getDate();zt=1+Math.floor((or+gn)/7)}else{const gn=Br(tt),or=function ni(Ue){const jt=An(Ue,0,1).getDay();return An(Ue,0,1+(jt<=4?4:11)-jt)}(gn.getFullYear()),Xn=gn.getTime()-or.getTime();zt=1+Math.round(Xn/6048e5)}return jn(zt,Ue,De(gt,5))}}function Kr(Ue,jt=!1){return function(tt,gt){return jn(Br(tt).getFullYear(),Ue,De(gt,5),jt)}}const Lr={};function Ci(Ue,jt){Ue=Ue.replace(/:/g,"");const tt=Date.parse("Jan 01, 1970 00:00:00 "+Ue)/6e4;return isNaN(tt)?jt:tt}function pt(Ue){return Ue instanceof Date&&!isNaN(Ue.valueOf())}const at=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function un(Ue){const jt=parseInt(Ue);if(isNaN(jt))throw new b.buA(2305,!1);return jt}let Vn=(()=>{class Ue{static \u0275fac=function(gt){return new(gt||Ue)};static \u0275prov=b.jDH({token:Ue,factory:function(gt){let zt=null;return gt?zt=new gt:(gn=b.KVO(A.xe9),zt=new $n(gn)),zt;var gn},providedIn:"root"})}return Ue})();let $n=(()=>{class Ue extends Vn{locale;constructor(tt){super(),this.locale=tt}getPluralCategory(tt,gt){switch(vt(gt||this.locale)(tt)){case ie.Zero:return"zero";case ie.One:return"one";case ie.Two:return"two";case ie.Few:return"few";case ie.Many:return"many";default:return"other"}}static \u0275fac=function(gt){return new(gt||Ue)(b.KVO(A.xe9))};static \u0275prov=b.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const _r=/\s+/,ur=[];let cr=(()=>{class Ue{_ngEl;_renderer;initialClasses=ur;rawClass;stateMap=new Map;constructor(tt,gt){this._ngEl=tt,this._renderer=gt}set klass(tt){this.initialClasses=null!=tt?tt.trim().split(_r):ur}set ngClass(tt){this.rawClass="string"==typeof tt?tt.trim().split(_r):tt}ngDoCheck(){for(const gt of this.initialClasses)this._updateState(gt,!0);const tt=this.rawClass;if(Array.isArray(tt)||tt instanceof Set)for(const gt of tt)this._updateState(gt,!0);else if(null!=tt)for(const gt of Object.keys(tt))this._updateState(gt,!!tt[gt]);this._applyStateDiff()}
vendor: 2,638 bytes, line 1
1_updateState(tt,gt){const zt=this.stateMap.get(tt);void 0!==zt?(zt.enabled!==gt&&(zt.changed=!0,zt.enabled=gt),zt.touched=!0):this.stateMap.set(tt,{enabled:gt,changed:!0,touched:!0})}_applyStateDiff(){for(const tt of this.stateMap){const gt=tt[0],zt=tt[1];zt.changed?(this._toggleClass(gt,zt.enabled),zt.changed=!1):zt.touched||(zt.enabled&&this._toggleClass(gt,!1),this.stateMap.delete(gt)),zt.touched=!1}}_toggleClass(tt,gt){(tt=tt.trim()).length>0&&tt.split(_r).forEach(zt=>{gt?this._renderer.addClass(this._ngEl.nativeElement,zt):this._renderer.removeClass(this._ngEl.nativeElement,zt)})}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.aKT),A.rXU(A.sFG))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Ue})();class ji{$implicit;ngForOf;index;count;constructor(jt,tt,gt,zt){this.$implicit=jt,this.ngForOf=tt,this.index=gt,this.count=zt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let er=(()=>{class Ue{_viewContainer;_template;_differs;set ngForOf(tt){this._ngForOf=tt,this._ngForOfDirty=!0}set ngForTrackBy(tt){this._trackByFn=tt}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(tt,gt,zt){this._viewContainer=tt,this._template=gt,this._differs=zt}set ngForTemplate(tt){tt&&(this._template=tt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const tt=this._ngForOf;!this._differ&&tt&&(this._differ=this._differs.find(tt).create(this.ngForTrackBy))}if(this._differ){const tt=this._differ.diff(this._ngForOf);tt&&this._applyChanges(tt)}}_applyChanges(tt){const gt=this._viewContainer;tt.forEachOperation((zt,gn,or)=>{if(null==zt.previousIndex)gt.createEmbeddedView(this._template,new ji(zt.item,this._ngForOf,-1,-1),null===or?void 0:or);else if(null==or)gt.remove(null===gn?void 0:gn);else if(null!==gn){const Xn=gt.get(gn);gt.move(Xn,or),mo(Xn,zt)}});for(let zt=0,gn=gt.length;zt<gn;zt++){const Xn=gt.get(zt).context;Xn.index=zt,Xn.count=gn,Xn.ngForOf=this._ngForOf}tt.forEachIdentityChange(zt=>{mo(gt.get(zt.currentIndex),zt)})}static ngTemplateContextGuard(tt,gt){return!0}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.c1b),A.rXU(A.C4Q),A.rXU(f._q3))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Ue})();function mo(Ue,jt){Ue.context.$implicit=jt.item}let Ho=(()=>{class Ue{_viewContainer;_context=new Ei;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(tt,gt){this._viewContainer=tt,this._thenTemplateRef=gt}set ngIf(tt){this._context.$implicit=this._context.ngIf=tt,this._updateView()}set ngIfThen(tt){_i(tt),this._thenTemplateRef=tt,this._thenViewRef=null,this._updateView()}set ngIfElse(tt){_i(tt),this._elseTemplateRef=tt,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(tt,gt){return!0}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.c1b),A.rXU(A.C4Q))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Ue})();class Ei{$implicit=null;ngIf=null}function _i(Ue,jt){if(Ue&&!Ue.createEmbeddedView)throw new b.buA(2020,!1)}class ti{_viewContainerRef;_templateRef;_created=!1;constructor(jt,tt){this._viewContainerRef=jt,this._templateRef=tt}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(jt){jt&&!this._created?this.create():!jt&&this._created&&this.destroy()}}let Uo=(()=>{class Ue{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(tt){this._ngSwitch=tt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(tt){this._defaultViews.push(tt)}_matchCase(tt){const gt=tt===this._ngSwitch;return this._lastCasesMatched||=gt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),gt}_updateDefaultCases(tt){if(this._defaultViews.length>0&&tt!==this._defaultUsed){this._defaultUsed=tt;for(const gt of this._defaultViews)gt.enforceState(tt)}}static \u0275fac=function(gt){return new(gt||Ue)};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return Ue})(),xo=(()=>{class Ue{ngSwitch;_view;ngSwitchCase;constructor(tt,gt,zt){this.ngSwitch=zt,zt._addCase(),this._view=new ti(tt,gt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.c1b),A.rXU(A.C4Q),A.rXU(Uo,9))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return Ue})(),Zr=(()=>{class Ue{constructor(tt,gt,zt){zt._addDefault(new ti(tt,gt))}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.c1b),A.rXU(A.C4Q),A.rXU(Uo,9))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngSwitchDefault",""]]})}return Ue})(),dt=(()=>{class Ue{_localization;_activeView;_caseViews={};constructor(tt){this._localization=tt}set ngPlural(tt){this._updateView(tt)}addCase(tt,gt){this._caseViews[tt]=gt}_updateView(tt){this._clearViews();const zt=function Wn(Ue,jt,tt,gt){let zt=`=${Ue}`;if(jt.indexOf(zt)>-1||(zt=tt.getPluralCategory(Ue,gt),jt.indexOf(zt)>-1))return zt;if(jt.indexOf("other")>-1)return"other";throw new b.buA(2308,!1)}(tt,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[zt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(tt){tt&&(this._activeView=tt,this._activeView.create())}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(Vn))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return Ue})(),Yt=(()=>{class Ue{value;constructor(tt,gt,zt,gn){this.value=tt;const or=!isNaN(Number(tt));gn.addCase(or?`=${tt}`:tt,new ti(zt,gt))}static \u0275fac=function(gt){return new(gt||Ue)(A.kS0("ngPluralCase"),A.rXU(A.C4Q),A.rXU(A.c1b),A.rXU(dt,1))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngPluralCase",""]]})}return Ue})(),Gt=(()=>{class Ue{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(tt,gt,zt){this._ngEl=tt,this._differs=gt,this._renderer=zt}set ngStyle(tt){this._ngStyle=tt,!this._differ&&tt&&(this._differ=this._differs.find(tt).create())}ngDoCheck(){if(this._differ){const tt=this._differ.diff(this._ngStyle);tt&&this._applyChanges(tt)}}_setStyle(tt,gt){const[zt,gn]=tt.split("."),or=-1===zt.indexOf("-")?void 0:A.czy.DashCase;null!=gt?this._renderer.setStyle(this._ngEl.nativeElement,zt,gn?`${gt}${gn}`:gt,or):this._renderer.removeStyle(this._ngEl.nativeElement,zt,or)}_applyChanges(tt){tt.forEachRemovedItem(gt=>this._setStyle(gt.key,null)),tt.forEachAddedItem(gt=>this._setStyle(gt.key,gt.currentValue)),tt.forEachChangedItem(gt=>this._setStyle(gt.key,gt.currentValue))}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.aKT),A.rXU(f.MKu),A.rXU(A.sFG))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1)}return Ue})(),Nn=(()=>{class Ue{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(tt){this._viewContainerRef=tt}ngOnChanges(tt){if(this._shouldRecreateView(tt)){const gt=this._viewContainerRef;if(this._viewRef&&gt.remove(gt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const zt=this._createContextForwardProxy();this._viewRef=gt.createEmbeddedView(this.ngTemplateOutlet,zt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(tt){return!!tt.ngTemplateOutlet||!!tt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(tt,gt,zt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,gt,zt),get:(tt,gt,zt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,gt,zt)}})}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.c1b))};static \u0275dir=A.FsC({type:Ue,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[A.OA$]})}return Ue})();function kn(Ue,jt){return new b.buA(2100,!1)}class pr{createSubscription(jt,tt,gt){return(0,R.O8)(()=>jt.subscribe({next:tt,error:gt}))}dispose(jt){(0,R.O8)(()=>jt.unsubscribe())}}class ri{createSubscription(jt,tt,gt){return jt.then(zt=>tt?.(zt),zt=>gt?.(zt)),{unsubscribe:()=>{tt=null,gt=null}}}dispose(jt){jt.unsubscribe()}}const Gr=new ri,bo=new pr;let Ar=(()=>{class Ue{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,b.WQX)(b.ZTf);constructor(tt){this._ref=tt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(tt){if(!this._obj){if(tt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(tt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return tt!==this._obj?(this._dispose(),this.transform(tt)):this._latestValue}_subscribe(tt){this._obj=tt,this._strategy=this._selectStrategy(tt),this._subscription=this._strategy.createSubscription(tt,gt=>this._updateLatestValue(tt,gt),gt=>this.applicationErrorHandler(gt))}_selectStrategy(tt){if((0,A.yLl)(tt))return Gr;if((0,A.cdK)(tt))return bo;throw kn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(tt,gt){tt===this._obj&&(this._latestValue=gt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(f.gRc,16))};static \u0275pipe=A.EJ8({name:"async",type:Ue,pure:!1})}return Ue})(),Yi=(()=>{class Ue{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw kn();return tt.toLowerCase()}static \u0275fac=function(gt){return new(gt||Ue)};static \u0275pipe=A.EJ8({name:"lowercase",type:Ue,pure:!0})}return Ue})();const uo=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let To=(()=>{class Ue{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw kn();return tt.replace(uo,gt=>gt[0].toUpperCase()+gt.slice(1).toLowerCase())}static \u0275fac=function(gt){return new(gt||Ue)};static \u0275pipe=A.EJ8({name:"titlecase",type:Ue,pure:!0})}return Ue})(),to=(()=>{class Ue{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw kn();return tt.toUpperCase()}static \u0275fac=function(gt){return new(gt||Ue)};static \u0275pipe=A.EJ8({name:"uppercase",type:Ue,pure:!0})}return Ue})();const Ti=new b.nKC(""),Wt=new b.nKC("");let yn=(()=>{class Ue{locale;defaultTimezone;defaultOptions;constructor(tt,gt,zt){this.locale=tt,this.defaultTimezone=gt,this.defaultOptions=zt}transform(tt,gt,zt,gn){if(null==tt||""===tt||tt!=tt)return null;try{return kt(tt,gt??this.defaultOptions?.dateFormat??"mediumDate",gn||this.locale,zt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(or){throw kn()}}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.xe9,16),A.rXU(Ti,24),A.rXU(Wt,24))};static \u0275pipe=A.EJ8({name:"date",type:Ue,pure:!0})}return Ue})(),Jr=(()=>{class Ue{differs;constructor(tt){this.differs=tt}differ;keyValues=[];compareFn=Bi;transform(tt,gt=Bi){if(!tt||!(tt instanceof Map)&&"object"!=typeof tt)return null;this.differ??=this.differs.find(tt).create();
1const zt=this.differ.diff(tt),gn=gt!==this.compareFn;return zt&&(this.keyValues=[],zt.forEachItem(or=>{this.keyValues.push(function xi(Ue,jt){return{key:Ue,value:jt}}(or.key,or.currentValue))})),(zt||gn)&&(gt&&this.keyValues.sort(gt),this.compareFn=gt),this.keyValues}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(f.MKu,16))};static \u0275pipe=A.EJ8({name:"keyvalue",type:Ue,pure:!1})}return Ue})();function Bi(Ue,jt){const tt=Ue.key,gt=jt.key;if(tt===gt)return 0;if(null==tt)return 1;if(null==gt)return-1;if("string"==typeof tt&&"string"==typeof gt)return tt<gt?-1:1;if("number"==typeof tt&&"number"==typeof gt)return tt-gt;if("boolean"==typeof tt&&"boolean"==typeof gt)return tt<gt?-1:1;const zt=String(tt),gn=String(gt);return zt==gn?0:zt<gn?-1:1}let no=(()=>{class Ue{_locale;constructor(tt){this._locale=tt}transform(tt,gt,zt){if(!function Go(Ue){return!(null==Ue||""===Ue||Ue!=Ue)}(tt))return null;zt||=this._locale;try{return function He(Ue,jt,tt){return function fn(Ue,jt,tt,gt,zt,gn,or=!1){let Xn="",zi=!1;if(isFinite(Ue)){let ai=function sn(Ue){let gt,zt,gn,or,Xn,jt=Math.abs(Ue)+"",tt=0;for((zt=jt.indexOf("."))>-1&&(jt=jt.replace(".","")),(gn=jt.search(/e/i))>0?(zt<0&&(zt=gn),zt+=+jt.slice(gn+1),jt=jt.substring(0,gn)):zt<0&&(zt=jt.length),gn=0;"0"===jt.charAt(gn);gn++);if(gn===(Xn=jt.length))gt=[0],zt=1;else{for(Xn--;"0"===jt.charAt(Xn);)Xn--;for(zt-=gn,gt=[],or=0;gn<=Xn;gn++,or++)gt[or]=Number(jt.charAt(gn))}return zt>22&&(gt=gt.splice(0,21),tt=zt-1,zt=1),{digits:gt,exponent:tt,integerLen:zt}}(Ue);or&&(ai=function Ht(Ue){if(0===Ue.digits[0])return Ue;const jt=Ue.digits.length-Ue.integerLen;return Ue.exponent?Ue.exponent+=2:(0===jt?Ue.digits.push(0,0):1===jt&&Ue.digits.push(0),Ue.integerLen+=2),Ue}(ai));let vi=jt.minInt,Sr=jt.minFrac,go=jt.maxFrac;if(gn){const Ds=gn.match(at);if(null===Ds)throw new b.buA(2306,!1);const Ao=Ds[1],ps=Ds[3],qo=Ds[5];null!=Ao&&(vi=un(Ao)),null!=ps&&(Sr=un(ps)),null!=qo?go=un(qo):null!=ps&&Sr>go&&(go=Sr);const es=100;if(vi>es||Sr>es||go>es)throw new b.buA(2306,!1)}!function bt(Ue,jt,tt){if(jt>tt)throw new b.buA(2307,!1);let gt=Ue.digits,zt=gt.length-Ue.integerLen;const gn=Math.min(Math.max(jt,zt),tt);let or=gn+Ue.integerLen,Xn=gt[or];if(or>0){gt.splice(Math.max(Ue.integerLen,or));for(let Sr=or;Sr<gt.length;Sr++)gt[Sr]=0}else{zt=Math.max(0,zt),Ue.integerLen=1,gt.length=Math.max(1,or=gn+1),gt[0]=0;for(let Sr=1;Sr<or;Sr++)gt[Sr]=0}if(Xn>=5)if(or-1<0){for(let Sr=0;Sr>or;Sr--)gt.unshift(0),Ue.integerLen++;gt.unshift(1),Ue.integerLen++}else gt[or-1]++;for(;zt<Math.max(0,gn);zt++)gt.push(0);let zi=0!==gn;const ai=jt+Ue.integerLen,vi=gt.reduceRight(function(Sr,go,Si,ci){return ci[Si]=(go+=Sr)<10?go:go-10,zi&&(0===ci[Si]&&Si>=ai?ci.pop():zi=!1),go>=10?1:0},0);vi&&(gt.unshift(vi),Ue.integerLen++)}(ai,Sr,go);let Si=ai.digits,ci=ai.integerLen;const So=ai.exponent;let Do=[];for(zi=Si.every(Ds=>!Ds);ci<vi;ci++)Si.unshift(0);for(;ci<0;ci++)Si.unshift(0);ci>0?Do=Si.splice(ci,Si.length):(Do=Si,Si=[0]);const Po=[];for(Si.length>=jt.lgSize&&Po.unshift(Si.splice(-jt.lgSize,Si.length).join(""));Si.length>jt.gSize;)Po.unshift(Si.splice(-jt.gSize,Si.length).join(""));Si.length&&Po.unshift(Si.join("")),Xn=Po.join(De(tt,gt)),Do.length&&(Xn+=De(tt,zt)+Do.join("")),So&&(Xn+=De(tt,6)+"+"+So)}else Xn=De(tt,9);return Xn=Ue<0&&!zi?jt.negPre+Xn+jt.negSuf:jt.posPre+Xn+jt.posSuf,Xn}(Ue,function p(Ue,jt="-"){const tt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},gt=Ue.split(";"),zt=gt[0],gn=gt[1],or=-1!==zt.indexOf(".")?zt.split("."):[zt.substring(0,zt.lastIndexOf("0")+1),zt.substring(zt.lastIndexOf("0")+1)],Xn=or[0],zi=or[1]||"";tt.posPre=Xn.substring(0,Xn.indexOf("#"));for(let vi=0;vi<zi.length;vi++){const Sr=zi.charAt(vi);"0"===Sr?tt.minFrac=tt.maxFrac=vi+1:"#"===Sr?tt.maxFrac=vi+1:tt.posSuf+=Sr}const ai=Xn.split(",");if(tt.gSize=ai[1]?ai[1].length:0,tt.lgSize=ai[2]||ai[1]?(ai[2]||ai[1]).length:0,gn){const vi=zt.length-tt.posPre.length-tt.posSuf.length,Sr=gn.indexOf("#");tt.negPre=gn.substring(0,Sr).replace(/'/g,""),tt.negSuf=gn.slice(Sr+vi).replace(/'/g,"")}else tt.negPre=jt+tt.posPre,tt.negSuf=tt.posSuf;return tt}(function Ie(Ue,jt){return(0,A.kBR)(Ue)[A.NSC.NumberFormats][jt]}(jt,B.Decimal),De(jt,5)),jt,1,0,tt)}(function Hi(Ue){if("string"==typeof Ue&&!isNaN(Number(Ue)-parseFloat(Ue)))return Number(Ue);if("number"!=typeof Ue)throw new b.buA(2309,!1);return Ue}(tt),zt,gt)}catch(gn){throw kn()}}static \u0275fac=function(gt){return new(gt||Ue)(A.rXU(A.xe9,16))};static \u0275pipe=A.EJ8({name:"number",type:Ue,pure:!0})}return Ue})();let ao=(()=>{class Ue{transform(tt,gt,zt){if(null==tt)return null;if("string"!=typeof tt&&!Array.isArray(tt))throw kn();return tt.slice(gt,zt)}static \u0275fac=function(gt){return new(gt||Ue)};static \u0275pipe=A.EJ8({name:"slice",type:Ue,pure:!1})}return Ue})(),Cs=(()=>{class Ue{static \u0275fac=function(gt){return new(gt||Ue)};static \u0275mod=A.$C({type:Ue});static \u0275inj=b.G2t({})}return Ue})()},57303(Vt,Pe,d){"use strict";d.d(Pe,{Q:()=>ie,Sm:()=>ne,Vw:()=>R,aZ:()=>X,hb:()=>ve,hj:()=>N,ig:()=>b,kB:()=>U,om:()=>ee,qj:()=>A,rb:()=>f});var S=d(2615),E=d(21413);let M=null;function f(){return M}function b(ce){M??=ce}class A{}let R=(()=>{class ce{historyGo(ae){throw new Error("")}static \u0275fac=function(te){return new(te||ce)};static \u0275prov=S.jDH({token:ce,factory:()=>(0,S.WQX)(q),providedIn:"platform"})}return ce})();const N=new S.nKC("");let q=(()=>{class ce extends R{_location;_history;_doc=(0,S.WQX)(S.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return f().getBaseHref(this._doc)}onPopState(ae){const te=f().getGlobalEventTarget(this._doc,"window");return te.addEventListener("popstate",ae,!1),()=>te.removeEventListener("popstate",ae)}onHashChange(ae){const te=f().getGlobalEventTarget(this._doc,"window");return te.addEventListener("hashchange",ae,!1),()=>te.removeEventListener("hashchange",ae)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(ae){this._location.pathname=ae}pushState(ae,te,de){this._history.pushState(ae,te,de)}replaceState(ae,te,de){this._history.replaceState(ae,te,de)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ae=0){this._history.go(ae)}getState(){return this._history.state}static \u0275fac=function(te){return new(te||ce)};static \u0275prov=S.jDH({token:ce,factory:()=>new ce,providedIn:"platform"})}return ce})();function ee(ce,ue){return ce?ue?ce.endsWith("/")?ue.startsWith("/")?ce+ue.slice(1):ce+ue:ue.startsWith("/")?ce+ue:`${ce}/${ue}`:ce:ue}function B(ce){const ue=ce.search(/#|\?|$/);return"/"===ce[ue-1]?ce.slice(0,ue-1)+ce.slice(ue):ce}function ie(ce){return ce&&"?"!==ce[0]?`?${ce}`:ce}let ve=(()=>{class ce{historyGo(ae){throw new Error("")}static \u0275fac=function(te){return new(te||ce)};static \u0275prov=S.jDH({token:ce,factory:()=>(0,S.WQX)(ne),providedIn:"root"})}return ce})();const U=new S.nKC("");let ne=(()=>{class ce extends ve{_platformLocation;_baseHref;_removeListenerFns=[];constructor(ae,te){super(),this._platformLocation=ae,this._baseHref=te??this._platformLocation.getBaseHrefFromDOM()??(0,S.WQX)(S.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ae){this._removeListenerFns.push(this._platformLocation.onPopState(ae),this._platformLocation.on
1HashChange(ae))}getBaseHref(){return this._baseHref}prepareExternalUrl(ae){return ee(this._baseHref,ae)}path(ae=!1){const te=this._platformLocation.pathname+ie(this._platformLocation.search),de=this._platformLocation.hash;return de&&ae?`${te}${de}`:te}pushState(ae,te,de,_e){const we=this.prepareExternalUrl(de+ie(_e));this._platformLocation.pushState(ae,te,we)}replaceState(ae,te,de,_e){const we=this.prepareExternalUrl(de+ie(_e));this._platformLocation.replaceState(ae,te,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ae=0){this._platformLocation.historyGo?.(ae)}static \u0275fac=function(te){return new(te||ce)(S.KVO(R),S.KVO(U,8))};static \u0275prov=S.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),X=(()=>{class ce{_subject=new E.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(ae){this._locationStrategy=ae;const te=this._locationStrategy.getBaseHref();this._basePath=function K(ce){if(new RegExp("^(https?:)?//").test(ce)){const[,ae]=ce.split(/\/\/[^\/]+/);return ae}return ce}(B(re(te))),this._locationStrategy.onPopState(de=>{this._subject.next({url:this.path(!0),pop:!0,state:de.state,type:de.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ae=!1){return this.normalize(this._locationStrategy.path(ae))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ae,te=""){return this.path()==this.normalize(ae+ie(te))}normalize(ae){return ce.stripTrailingSlash(function Z(ce,ue){if(!ce||!ue.startsWith(ce))return ue;const ae=ue.substring(ce.length);return""===ae||["/",";","?","#"].includes(ae[0])?ae:ue}(this._basePath,re(ae)))}prepareExternalUrl(ae){return ae&&"/"!==ae[0]&&(ae="/"+ae),this._locationStrategy.prepareExternalUrl(ae)}go(ae,te="",de=null){this._locationStrategy.pushState(de,"",ae,te),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+ie(te)),de)}replaceState(ae,te="",de=null){this._locationStrategy.replaceState(de,"",ae,te),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+ie(te)),de)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ae=0){this._locationStrategy.historyGo?.(ae)}onUrlChange(ae){return this._urlChangeListeners.push(ae),this._urlChangeSubscription??=this.subscribe(te=>{this._notifyUrlChangeListeners(te.url,te.state)}),()=>{const te=this._urlChangeListeners.indexOf(ae);this._urlChangeListeners.splice(te,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ae="",te){this._urlChangeListeners.forEach(de=>de(ae,te))}subscribe(ae,te,de){return this._subject.subscribe({next:ae,error:te??void 0,complete:de??void 0})}static normalizeQueryParams=ie;static joinWithSlash=ee;static stripTrailingSlash=B;static \u0275fac=function(te){return new(te||ce)(S.KVO(ve))};static \u0275prov=S.jDH({token:ce,factory:()=>function W(){return new X((0,S.KVO)(ve))}(),providedIn:"root"})}return ce})();function re(ce){return ce.replace(/\/index.html$/,"")}},29330(Vt,Pe,d){"use strict";d.d(Pe,{$R:()=>ji,Lr:()=>ce,Nl:()=>Ie,Qq:()=>lr,Sx:()=>ei,a7:()=>bi,hv:()=>Ke,kG:()=>An,q1:()=>Zr,yz:()=>kt}),d(10467);var N=d(2615),q=d(73664),ee=d(70274),B=d(5964),ie=d(70980),ve=d(96354),U=d(25558),ne=d(71985),W=(d(86648),d(7673)),Z=d(52512);class re{}class K{}class ce{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Yt){Yt?"string"==typeof Yt?this.lazyInit=()=>{this.headers=new Map,Yt.split("\n").forEach(Gt=>{const Nn=Gt.indexOf(":");if(Nn>0){const Yn=Gt.slice(0,Nn),kn=Gt.slice(Nn+1).trim();this.addHeaderEntry(Yn,kn)}})}:typeof Headers<"u"&&Yt instanceof Headers?(this.headers=new Map,Yt.forEach((Gt,Nn)=>{this.addHeaderEntry(Nn,Gt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Yt).forEach(([Gt,Nn])=>{this.setHeaderEntries(Gt,Nn)})}:this.headers=new Map}has(Yt){return this.init(),this.headers.has(Yt.toLowerCase())}get(Yt){this.init();const Gt=this.headers.get(Yt.toLowerCase());return Gt&&Gt.length>0?Gt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Yt){return this.init(),this.headers.get(Yt.toLowerCase())||null}append(Yt,Gt){return this.clone({name:Yt,value:Gt,op:"a"})}set(Yt,Gt){return this.clone({name:Yt,value:Gt,op:"s"})}delete(Yt,Gt){return this.clone({name:Yt,value:Gt,op:"d"})}maybeSetNormalizedName(Yt,Gt){this.normalizedNames.has(Gt)||this.normalizedNames.set(Gt,Yt)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Yt=>this.applyUpdate(Yt)),this.lazyUpdate=null))}
vendor: 4,106 bytes, line 1
1copyFrom(Yt){Yt.init(),Array.from(Yt.headers.keys()).forEach(Gt=>{this.headers.set(Gt,Yt.headers.get(Gt)),this.normalizedNames.set(Gt,Yt.normalizedNames.get(Gt))})}clone(Yt){const Gt=new ce;return Gt.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,Gt.lazyUpdate=(this.lazyUpdate||[]).concat([Yt]),Gt}applyUpdate(Yt){const Gt=Yt.name.toLowerCase();switch(Yt.op){case"a":case"s":let Nn=Yt.value;if("string"==typeof Nn&&(Nn=[Nn]),0===Nn.length)return;this.maybeSetNormalizedName(Yt.name,Gt);const Yn=("a"===Yt.op?this.headers.get(Gt):void 0)||[];Yn.push(...Nn),this.headers.set(Gt,Yn);break;case"d":const kn=Yt.value;if(kn){let pr=this.headers.get(Gt);if(!pr)return;pr=pr.filter(ri=>-1===kn.indexOf(ri)),0===pr.length?(this.headers.delete(Gt),this.normalizedNames.delete(Gt)):this.headers.set(Gt,pr)}else this.headers.delete(Gt),this.normalizedNames.delete(Gt)}}addHeaderEntry(Yt,Gt){const Nn=Yt.toLowerCase();this.maybeSetNormalizedName(Yt,Nn),this.headers.has(Nn)?this.headers.get(Nn).push(Gt):this.headers.set(Nn,[Gt])}setHeaderEntries(Yt,Gt){const Nn=(Array.isArray(Gt)?Gt:[Gt]).map(kn=>kn.toString()),Yn=Yt.toLowerCase();this.headers.set(Yn,Nn),this.maybeSetNormalizedName(Yt,Yn)}forEach(Yt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Gt=>Yt(this.normalizedNames.get(Gt),this.headers.get(Gt)))}}class ae{encodeKey(Yt){return we(Yt)}encodeValue(Yt){return we(Yt)}decodeKey(Yt){return decodeURIComponent(Yt)}decodeValue(Yt){return decodeURIComponent(Yt)}}const de=/%(\d[a-f0-9])/gi,_e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function we(dt){return encodeURIComponent(dt).replace(de,(Yt,Gt)=>_e[Gt]??Yt)}function De(dt){return`${dt}`}class Ie{map;encoder;updates=null;cloneFrom=null;constructor(Yt={}){if(this.encoder=Yt.encoder||new ae,Yt.fromString){if(Yt.fromObject)throw new N.buA(2805,!1);this.map=function te(dt,Yt){const Gt=new Map;return dt.length>0&&dt.replace(/^\?/,"").split("&").forEach(Yn=>{const kn=Yn.indexOf("="),[pr,ri]=-1==kn?[Yt.decodeKey(Yn),""]:[Yt.decodeKey(Yn.slice(0,kn)),Yt.decodeValue(Yn.slice(kn+1))],Gr=Gt.get(pr)||[];Gr.push(ri),Gt.set(pr,Gr)}),Gt}(Yt.fromString,this.encoder)}else Yt.fromObject?(this.map=new Map,Object.keys(Yt.fromObject).forEach(Gt=>{const Nn=Yt.fromObject[Gt],Yn=Array.isArray(Nn)?Nn.map(De):[De(Nn)];this.map.set(Gt,Yn)})):this.map=null}has(Yt){return this.init(),this.map.has(Yt)}get(Yt){this.init();const Gt=this.map.get(Yt);return Gt?Gt[0]:null}getAll(Yt){return this.init(),this.map.get(Yt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Yt,Gt){return this.clone({param:Yt,value:Gt,op:"a"})}appendAll(Yt){const Gt=[];return Object.keys(Yt).forEach(Nn=>{const Yn=Yt[Nn];Array.isArray(Yn)?Yn.forEach(kn=>{Gt.push({param:Nn,value:kn,op:"a"})}):Gt.push({param:Nn,value:Yn,op:"a"})}),this.clone(Gt)}set(Yt,Gt){return this.clone({param:Yt,value:Gt,op:"s"})}delete(Yt,Gt){return this.clone({param:Yt,value:Gt,op:"d"})}toString(){return this.init(),this.keys().map(Yt=>{const Gt=this.encoder.encodeKey(Yt);return this.map.get(Yt).map(Nn=>Gt+"="+this.encoder.encodeValue(Nn)).join("&")}).filter(Yt=>""!==Yt).join("&")}clone(Yt){const Gt=new Ie({encoder:this.encoder});return Gt.cloneFrom=this.cloneFrom||this,Gt.updates=(this.updates||[]).concat(Yt),Gt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Yt=>this.map.set(Yt,this.cloneFrom.map.get(Yt))),this.updates.forEach(Yt=>{switch(Yt.op){case"a":case"s":const Gt=("a"===Yt.op?this.map.get(Yt.param):void 0)||[];Gt.push(De(Yt.value)),this.map.set(Yt.param,Gt);break;case"d":if(void 0===Yt.value){this.map.delete(Yt.param);break}{let Nn=this.map.get(Yt.param)||[];const Yn=Nn.indexOf(De(Yt.value));-1!==Yn&&Nn.splice(Yn,1),Nn.length>0?this.map.set(Yt.param,Nn):this.map.delete(Yt.param)}}}),this.cloneFrom=this.updates=null)}}class Ze{map=new Map;set(Yt,Gt){return this.map.set(Yt,Gt),this}get(Yt){return this.map.has(Yt)||this.map.set(Yt,Yt.defaultValue()),this.map.get(Yt)}delete(Yt){return this.map.delete(Yt),this}has(Yt){return this.map.has(Yt)}
vendor: 10,557 bytes, line 1
1keys(){return this.map.keys()}}function Je(dt){return typeof ArrayBuffer<"u"&&dt instanceof ArrayBuffer}function vt(dt){return typeof Blob<"u"&&dt instanceof Blob}function $t(dt){return typeof FormData<"u"&&dt instanceof FormData}const xt="Content-Type",ke="X-Request-URL",qe="text/plain",At="application/json",Ct=`${At}, ${qe}, */*`;class _t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Yt,Gt,Nn,Yn){let kn;if(this.url=Gt,this.method=Yt.toUpperCase(),function Ye(dt){switch(dt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Yn?(this.body=void 0!==Nn?Nn:null,kn=Yn):kn=Nn,kn){if(this.reportProgress=!!kn.reportProgress,this.withCredentials=!!kn.withCredentials,this.keepalive=!!kn.keepalive,kn.responseType&&(this.responseType=kn.responseType),kn.headers&&(this.headers=kn.headers),kn.context&&(this.context=kn.context),kn.params&&(this.params=kn.params),kn.priority&&(this.priority=kn.priority),kn.cache&&(this.cache=kn.cache),kn.credentials&&(this.credentials=kn.credentials),"number"==typeof kn.timeout){if(kn.timeout<1||!Number.isInteger(kn.timeout))throw new N.buA(2822,"");this.timeout=kn.timeout}kn.mode&&(this.mode=kn.mode),kn.redirect&&(this.redirect=kn.redirect),kn.integrity&&(this.integrity=kn.integrity),void 0!==kn.referrer&&(this.referrer=kn.referrer),this.transferCache=kn.transferCache}if(this.headers??=new ce,this.context??=new Ze,this.params){const pr=this.params.toString();if(0===pr.length)this.urlWithParams=Gt;else{const ri=Gt.indexOf("?");this.urlWithParams=Gt+(-1===ri?"?":ri<Gt.length-1?"&":"")+pr}}else this.params=new Ie,this.urlWithParams=Gt}serializeBody(){return null===this.body?null:"string"==typeof this.body||Je(this.body)||vt(this.body)||$t(this.body)||function Et(dt){return typeof URLSearchParams<"u"&&dt instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ie?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||$t(this.body)?null:vt(this.body)?this.body.type||null:Je(this.body)?null:"string"==typeof this.body?qe:this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?At:null}clone(Yt={}){const Gt=Yt.method||this.method,Nn=Yt.url||this.url,Yn=Yt.responseType||this.responseType,kn=Yt.keepalive??this.keepalive,pr=Yt.priority||this.priority,ri=Yt.cache||this.cache,Gr=Yt.mode||this.mode,bo=Yt.redirect||this.redirect,Ar=Yt.credentials||this.credentials,Yi=Yt.referrer??this.referrer,uo=Yt.integrity||this.integrity,To=Yt.transferCache??this.transferCache,to=Yt.timeout??this.timeout,Vi=void 0!==Yt.body?Yt.body:this.body,Ti=Yt.withCredentials??this.withCredentials,Wt=Yt.reportProgress??this.reportProgress;let yn=Yt.headers||this.headers,Bn=Yt.params||this.params;const Gn=Yt.context??this.context;return void 0!==Yt.setHeaders&&(yn=Object.keys(Yt.setHeaders).reduce((fr,Tr)=>fr.set(Tr,Yt.setHeaders[Tr]),yn)),Yt.setParams&&(Bn=Object.keys(Yt.setParams).reduce((fr,Tr)=>fr.set(Tr,Yt.setParams[Tr]),Bn)),new _t(Gt,Nn,Vi,{params:Bn,headers:yn,context:Gn,reportProgress:Wt,responseType:Yn,withCredentials:Ti,transferCache:To,keepalive:kn,cache:ri,priority:pr,timeout:to,mode:Gr,redirect:bo,credentials:Ar,referrer:Yi,integrity:uo})}}var Ke=function(dt){return dt[dt.Sent=0]="Sent",dt[dt.UploadProgress=1]="UploadProgress",dt[dt.ResponseHeader=2]="ResponseHeader",dt[dt.DownloadProgress=3]="DownloadProgress",dt[dt.Response=4]="Response",dt[dt.User=5]="User",dt}(Ke||{});class mt{headers;status;statusText;url;ok;type;redirected;constructor(Yt,Gt=200,Nn="OK"){this.headers=Yt.headers||new ce,this.status=void 0!==Yt.status?Yt.status:Gt,this.statusText=Yt.statusText||Nn,this.url=Yt.url||null,this.redirected=Yt.redirected,this.ok=this.status>=200&&this.status<300}}class rt extends mt{constructor(Yt={}){super(Yt)}type=Ke.ResponseHeader;clone(Yt={}){return new rt({headers:Yt.headers||this.headers,status:void 0!==Yt.status?Yt.status:this.status,statusText:Yt.statusText||this.statusText,url:Yt.url||this.url||void 0})}}class ut extends mt{body;constructor(Yt={}){super(Yt),this.body=void 0!==Yt.body?Yt.body:null}type=Ke.Response;clone(Yt={}){return new ut({body:void 0!==Yt.body?Yt.body:this.body,headers:Yt.headers||this.headers,status:void 0!==Yt.status?Yt.status:this.status,statusText:Yt.statusText||this.statusText,url:Yt.url||this.url||void 0,redirected:Yt.redirected??this.redirected})}}class kt extends mt{name="HttpErrorResponse";message;error;ok=!1;constructor(Yt){super(Yt,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Yt.url||"(unknown url)"}`:`Http failure response for ${Yt.url||"(unknown url)"}: ${Yt.status} ${Yt.statusText}`,this.error=Yt.error||null}}var An=function(dt){return dt[dt.Continue=100]="Continue",dt[dt.SwitchingProtocols=101]="SwitchingProtocols",dt[dt.Processing=102]="Processing",dt[dt.EarlyHints=103]="EarlyHints",dt[dt.Ok=200]="Ok",dt[dt.Created=201]="Created",dt[dt.Accepted=202]="Accepted",dt[dt.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",dt[dt.NoContent=204]="NoContent",dt[dt.ResetContent=205]="ResetContent",dt[dt.PartialContent=206]="PartialContent",dt[dt.MultiStatus=207]="MultiStatus",dt[dt.AlreadyReported=208]="AlreadyReported",dt[dt.ImUsed=226]="ImUsed",dt[dt.MultipleChoices=300]="MultipleChoices",dt[dt.MovedPermanently=301]="MovedPermanently",dt[dt.Found=302]="Found",dt[dt.SeeOther=303]="SeeOther",dt[dt.NotModified=304]="NotModified",dt[dt.UseProxy=305]="UseProxy",dt[dt.Unused=306]="Unused",dt[dt.TemporaryRedirect=307]="TemporaryRedirect",dt[dt.PermanentRedirect=308]="PermanentRedirect",dt[dt.BadRequest=400]="BadRequest",dt[dt.Unauthorized=401]="Unauthorized",dt[dt.PaymentRequired=402]="PaymentRequired",dt[dt.Forbidden=403]="Forbidden",dt[dt.NotFound=404]="NotFound",dt[dt.MethodNotAllowed=405]="MethodNotAllowed",dt[dt.NotAcceptable=406]="NotAcceptable",dt[dt.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",dt[dt.RequestTimeout=408]="RequestTimeout",dt[dt.Conflict=409]="Conflict",dt[dt.Gone=410]="Gone",dt[dt.LengthRequired=411]="LengthRequired",dt[dt.PreconditionFailed=412]="PreconditionFailed",dt[dt.PayloadTooLarge=413]="PayloadTooLarge",dt[dt.UriTooLong=414]="UriTooLong",dt[dt.UnsupportedMediaType=415]="UnsupportedMediaType",dt[dt.RangeNotSatisfiable=416]="RangeNotSatisfiable",dt[dt.ExpectationFailed=417]="ExpectationFailed",dt[dt.ImATeapot=418]="ImATeapot",dt[dt.MisdirectedRequest=421]="MisdirectedRequest",dt[dt.UnprocessableEntity=422]="UnprocessableEntity",dt[dt.Locked=423]="Locked",dt[dt.FailedDependency=424]="FailedDependency",dt[dt.TooEarly=425]="TooEarly",dt[dt.UpgradeRequired=426]="UpgradeRequired",dt[dt.PreconditionRequired=428]="PreconditionRequired",dt[dt.TooManyRequests=429]="TooManyRequests",dt[dt.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",dt[dt.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",dt[dt.InternalServerError=500]="InternalServerError",dt[dt.NotImplemented=501]="NotImplemented",dt[dt.BadGateway=502]="BadGateway",dt[dt.ServiceUnavailable=503]="ServiceUnavailable",dt[dt.GatewayTimeout=504]="GatewayTimeout",dt[dt.HttpVersionNotSupported=505]="HttpVersionNotSupported",dt[dt.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",dt[dt.InsufficientStorage=507]="InsufficientStorage",dt[dt.LoopDetected=508]="LoopDetected",dt[dt.NotExtended=510]="NotExtended",dt[dt.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",dt}(An||{});function Qn(dt,Yt){return{body:Yt,headers:dt.headers,context:dt.context,observe:dt.observe,params:dt.params,reportProgress:dt.reportProgress,responseType:dt.responseType,withCredentials:dt.withCredentials,credentials:dt.credentials,transferCache:dt.transferCache,timeout:dt.timeout,keepalive:dt.keepalive,priority:dt.priority,cache:dt.cache,mode:dt.mode,redirect:dt.redirect,integrity:dt.integrity,referrer:dt.referrer}}let lr=(()=>{class dt{handler;constructor(Gt){this.handler=Gt}request(Gt,Nn,Yn={}){let kn;if(Gt instanceof _t)kn=Gt;else{let Gr,bo;Gr=Yn.headers instanceof ce?Yn.headers:new ce(Yn.headers),Yn.params&&(bo=Yn.params instanceof Ie?Yn.params:new Ie({fromObject:Yn.params})),kn=new _t(Gt,Nn,void 0!==Yn.body?Yn.body:null,{headers:Gr,context:Yn.context,params:bo,reportProgress:Yn.reportProgress,responseType:Yn.responseType||"json",withCredentials:Yn.withCredentials,transferCache:Yn.transferCache,keepalive:Yn.keepalive,priority:Yn.priority,cache:Yn.cache,mode:Yn.mode,redirect:Yn.redirect,credentials:Yn.credentials,referrer:Yn.referrer,integrity:Yn.integrity,timeout:Yn.timeout})}const pr=(0,W.of)(kn).pipe((0,ee.H)(Gr=>this.handler.handle(Gr)));if(Gt instanceof _t||"events"===Yn.observe)return pr;const ri=pr.pipe((0,B.p)(Gr=>Gr instanceof ut));switch(Yn.observe||"body"){case"body":switch(kn.responseType){case"arraybuffer":return ri.pipe((0,ve.T)(Gr=>{if(null!==Gr.body&&!(Gr.body instanceof ArrayBuffer))throw new N.buA(2806,!1);return Gr.body}));case"blob":return ri.pipe((0,ve.T)(Gr=>{if(null!==Gr.body&&!(Gr.body instanceof Blob))throw new N.buA(2807,!1);return Gr.body}));case"text":return ri.pipe((0,ve.T)(Gr=>{if(null!==Gr.body&&"string"!=typeof Gr.body)throw new N.buA(2808,!1);return Gr.body}));default:return ri.pipe((0,ve.T)(Gr=>Gr.body))}case"response":return ri;default:throw new N.buA(2809,!1)}}delete(Gt,Nn={}){return this.request("DELETE",Gt,Nn)}get(Gt,Nn={}){return this.request("GET",Gt,Nn)}head(Gt,Nn={}){return this.request("HEAD",Gt,Nn)}jsonp(Gt,Nn){return this.request("JSONP",Gt,{params:(new Ie).append(Nn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Gt,Nn={}){return this.request("OPTIONS",Gt,Nn)}patch(Gt,Nn,Yn={}){return this.request("PATCH",Gt,Qn(Yn,Nn))}post(Gt,Nn,Yn={}){return this.request("POST",Gt,Qn(Yn,Nn))}put(Gt,Nn,Yn={}){return this.request("PUT",Gt,Qn(Yn,Nn))}static \u0275fac=function(Nn){return new(Nn||dt)(N.KVO(re))};static \u0275prov=N.jDH({token:dt,factory:dt.\u0275fac})}return dt})();const tn=new N.nKC("");function Jn(dt,Yt){return Yt(dt)}function ni(dt,Yt){return(Gt,Nn)=>Yt.intercept(Gt,{handle:Yn=>dt(Yn,Nn)})}const bi=new N.nKC(""),Kr=new N.nKC(""),Lr=new N.nKC(""),yi=new N.nKC("",{providedIn:"root",factory:()=>!0});function Ci(){let dt=null;return(Yt,Gt)=>
1{null===dt&&(dt=((0,N.WQX)(bi,{optional:!0})??[]).reduceRight(ni,Jn));const Nn=(0,N.WQX)(N.u5s);if((0,N.WQX)(yi)){const kn=Nn.add();return dt(Yt,Gt).pipe((0,ie.j)(kn))}return dt(Yt,Gt)}}let oo=(()=>{class dt extends re{backend;injector;chain=null;pendingTasks=(0,N.WQX)(N.u5s);contributeToStability=(0,N.WQX)(yi);constructor(Gt,Nn){super(),this.backend=Gt,this.injector=Nn}handle(Gt){if(null===this.chain){const Nn=Array.from(new Set([...this.injector.get(Kr),...this.injector.get(Lr,[])]));this.chain=Nn.reduceRight((Yn,kn)=>function Br(dt,Yt,Gt){return(Nn,Yn)=>(0,N.N4e)(Gt,()=>Yt(Nn,kn=>dt(kn,Yn)))}(Yn,kn,this.injector),Jn)}if(this.contributeToStability){const Nn=this.pendingTasks.add();return this.chain(Gt,Yn=>this.backend.handle(Yn)).pipe((0,ie.j)(Nn))}return this.chain(Gt,Nn=>this.backend.handle(Nn))}static \u0275fac=function(Nn){return new(Nn||dt)(N.KVO(K),N.KVO(N.uvJ))};static \u0275prov=N.jDH({token:dt,factory:dt.\u0275fac})}return dt})();const fn=/^\)\]\}',?\n/,Dn=RegExp(`^${ke}:`,"m");let p=(()=>{class dt{xhrFactory;constructor(Gt){this.xhrFactory=Gt}handle(Gt){if("JSONP"===Gt.method)throw new N.buA(-2800,!1);const Nn=this.xhrFactory;return(0,W.of)(null).pipe((0,U.n)(()=>new ne.c(kn=>{const pr=Nn.build();if(pr.open(Gt.method,Gt.urlWithParams),Gt.withCredentials&&(pr.withCredentials=!0),Gt.headers.forEach((Ti,Wt)=>pr.setRequestHeader(Ti,Wt.join(","))),Gt.headers.has("Accept")||pr.setRequestHeader("Accept",Ct),!Gt.headers.has(xt)){const Ti=Gt.detectContentTypeHeader();null!==Ti&&pr.setRequestHeader(xt,Ti)}if(Gt.timeout&&(pr.timeout=Gt.timeout),Gt.responseType){const Ti=Gt.responseType.toLowerCase();pr.responseType="json"!==Ti?Ti:"text"}const ri=Gt.serializeBody();let Gr=null;const bo=()=>{if(null!==Gr)return Gr;const Ti=pr.statusText||"OK",Wt=new ce(pr.getAllResponseHeaders()),yn=function Ve(dt){return"responseURL"in dt&&dt.responseURL?dt.responseURL:Dn.test(dt.getAllResponseHeaders())?dt.getResponseHeader(ke):null}(pr)||Gt.url;return Gr=new rt({headers:Wt,status:pr.status,statusText:Ti,url:yn}),Gr},Ar=()=>{let{headers:Ti,status:Wt,statusText:yn,url:Bn}=bo(),Gn=null;204!==Wt&&(Gn=typeof pr.response>"u"?pr.responseText:pr.response),0===Wt&&(Wt=Gn?200:0);let fr=Wt>=200&&Wt<300;if("json"===Gt.responseType&&"string"==typeof Gn){const Tr=Gn;Gn=Gn.replace(fn,"");try{Gn=""!==Gn?JSON.parse(Gn):null}catch(xi){Gn=Tr,fr&&(fr=!1,Gn={error:xi,text:Gn})}}fr?(kn.next(new ut({body:Gn,headers:Ti,status:Wt,statusText:yn,url:Bn||void 0})),kn.complete()):kn.error(new kt({error:Gn,headers:Ti,status:Wt,statusText:yn,url:Bn||void 0}))},Yi=Ti=>{const{url:Wt}=bo(),yn=new kt({error:Ti,status:pr.status||0,statusText:pr.statusText||"Unknown Error",url:Wt||void 0});kn.error(yn)};let uo=Yi;Gt.timeout&&(uo=Ti=>{const{url:Wt}=bo(),yn=new kt({error:new DOMException("Request timed out","TimeoutError"),status:pr.status||0,statusText:pr.statusText||"Request timeout",url:Wt||void 0});kn.error(yn)});let To=!1;const to=Ti=>{To||(kn.next(bo()),To=!0);let Wt={type:Ke.DownloadProgress,loaded:Ti.loaded};Ti.lengthComputable&&(Wt.total=Ti.total),"text"===Gt.responseType&&pr.responseText&&(Wt.partialText=pr.responseText),kn.next(Wt)},Vi=Ti=>{let Wt={type:Ke.UploadProgress,loaded:Ti.loaded};Ti.lengthComputable&&(Wt.total=Ti.total),kn.next(Wt)};return pr.addEventListener("load",Ar),pr.addEventListener("error",Yi),pr.addEventListener("timeout",uo),pr.addEventListener("abort",Yi),Gt.reportProgress&&(pr.addEventListener("progress",to),null!==ri&&pr.upload&&pr.upload.addEventListener("progress",Vi)),pr.send(ri),kn.next({type:Ke.Sent}),()=>{pr.removeEventListener("error",Yi),pr.removeEventListener("abort",Yi),pr.removeEventListener("load",Ar),pr.removeEventListener("timeout",uo),Gt.reportProgress&&(pr.removeEventListener("progress",to),null!==ri&&pr.upload&&pr.upload.removeEventListener("progress",Vi)),pr.readyState!==pr.DONE&&pr.abort()}})))}static \u0275fac=function(Nn){return new(Nn||dt)(N.KVO(Z.N))};static \u0275prov=N.jDH({token:dt,factory:dt.\u0275fac})}return dt})();const Ht=new N.nKC(""),bt=new N.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Vn=new N.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Wn{}let $n=(()=>{class dt{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(Gt,Nn){this.doc=Gt,this.cookieName=Nn}getToken(){const Gt=this.doc.cookie||"";return Gt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Z.b)(Gt,this.cookieName),this.lastCookieString=Gt),this.lastToken}static \u0275fac=function(Nn){return new(Nn||dt)(N.KVO(N.qQL),N.KVO(bt))};static \u0275prov=N.jDH({token:dt,factory:dt.\u0275fac})}return dt})();const _r=/^(?:https?:)?\/\//i;function ur(dt,Yt){if(!(0,N.WQX)(Ht)||"GET"===dt.method||"HEAD"===dt.method||_r.test(dt.url))return Yt(dt);const Gt=(0,N.WQX)(Wn).getToken(),Nn=(0,N.WQX)(Vn);return null!=Gt&&!dt.headers.has(Nn)&&(dt=dt.clone({headers:dt.headers.set(Nn,Gt)})),Yt(dt)}var Yr=function(dt){return dt[dt.Interceptors=0]="Interceptors",dt[dt.LegacyInterceptors=1]="LegacyInterceptors",dt[dt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",dt[dt.NoXsrfProtection=3]="NoXsrfProtection",dt[dt.JsonpSupport=4]="JsonpSupport",dt[dt.RequestsMadeViaParent=5]="RequestsMadeViaParent",dt[dt.Fetch=6]="Fetch",dt}(Yr||{});function ji(...dt){const Yt=[lr,p,oo,{provide:re,useExisting:oo},{provide:K,useFactory:()=>(0,N.WQX)(tn,{optional:!0})??(0,N.WQX)(p)},{provide:Kr,useValue:ur,multi:!0},{provide:Ht,useValue:!0},{provide:Wn,useClass:$n}];for(const Gt of dt)Yt.push(...Gt.\u0275providers);return(0,N.EmA)(Yt)}const mo=new N.nKC("");function ei(){return function gi(dt,Yt){return{\u0275kind:dt,\u0275providers:Yt}}(Yr.LegacyInterceptors,[{provide:mo,useFactory:Ci},{provide:Kr,useExisting:mo,multi:!0}])}let Zr=(()=>{class dt{static \u0275fac=function(Nn){return new(Nn||dt)};static \u0275mod=q.$C({type:dt});static \u0275inj=N.G2t({providers:[ji(ei())]})}return dt})()},52512(Vt,Pe,d){"use strict";function S(M,f){f=encodeURIComponent(f);for(const b of M.split(";")){const A=b.indexOf("="),[R,N]=-1==A?[b,""]:[b.slice(0,A),b.slice(A+1)];if(R.trim()===f)return decodeURIComponent(N)}return null}d.d(Pe,{N:()=>E,b:()=>S});class E{}},17705(Vt,Pe,d){"use strict";d.d(Pe,{CGW:()=>Ao,ES_:()=>Do,HJs:()=>Gs,Hbi:()=>tc,L39:()=>vn,MKu:()=>kl,SmG:()=>Qt,Tg_:()=>$o,Udg:()=>wn,_q3:()=>Ra,a0P:()=>Co,cCO:()=>Po,ebz:()=>ja,fpN:()=>Ja,gRc:()=>As,hFB:()=>es,oH4:()=>Ps,sbv:()=>ta,uEv:()=>io});var gn=d(2615),or=d(48440),Xn=d(73664),zi=d(59295);const ai=Symbol("InputSignalNode#UNSET"),vi={...or.s0,transformFn:void 0,applyValueToInputSignal(ct,Fe){(0,or.j2)(ct,Fe)}};function go(ct,Fe){const ot=Object.create(vi);function Nt(){if((0,or.mK)(ot),ot.value===ai)throw new gn.buA(-950,null);return ot.value}return ot.value=ct,ot.transformFn=Fe?.transform,Nt[or.bh]=ot,Nt}class Do{attributeName;constructor(Fe){this.attributeName=Fe}__NG_ELEMENT_ID__=()=>(0,Xn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const Po=new gn.nKC("");function Ao(ct){return new zi.Zf}function ps(ct,Fe){return go(ct,Fe)}Po.__NG_ELEMENT_ID__=ct=>{const Fe=(0,gn.Mx4)();if(null===Fe)throw new gn.buA(204,!1);if(2&Fe.type)return Fe.value;if(8&ct)return null;throw new gn.buA(204,!1)};const es=(ps.required=function qo(ct){return go(ai,ct)},ps);function Di(ct,Fe){return(0,Xn.mU9)(Fe)}const ja=(Di.required=function Va(ct,Fe){return(0,Xn.hnC)(Fe)},Di);function ls(ct,Fe){return(0,Xn.mU9)(Fe)}const ta=(ls.required=function Fs(ct,Fe){return(0,Xn.hnC)(Fe)},ls),Ta=new gn.nKC(""),Pa=new gn.nKC("");function Ks(ct){return!ct.moduleRef}let Ts;function Oi(){Ts=ro}
vendor: 15,776 bytes, line 1
1function ro(ct,Fe){const ot=ct.injector.get(Xn.o8S);if(ct._bootstrapComponents.length>0)ct._bootstrapComponents.forEach(Nt=>ot.bootstrap(Nt));else{if(!ct.instance.ngDoBootstrap)throw new gn.buA(-403,!1);ct.instance.ngDoBootstrap(ot)}Fe.push(ct)}let $o=(()=>{class ct{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(ot){this._injector=ot}bootstrapModuleFactory(ot,Nt){const hn=Nt?.scheduleInRootZone,rr=Nt?.ignoreChangesOutsideZone,gr=[(0,Xn.SdI)({ngZoneFactory:()=>(0,Xn.G5x)(Nt?.ngZone,{...(0,Xn.cZr)({eventCoalescing:Nt?.ngZoneEventCoalescing,runCoalescing:Nt?.ngZoneRunCoalescing}),scheduleInRootZone:hn}),ignoreChangesOutsideZone:rr}),{provide:gn.hk6,useExisting:Xn.Ts$},gn.gv8],vr=(0,Xn.VzW)(ot.moduleType,this.injector,gr);return Oi(),function ms(ct){const Fe=Ks(ct)?ct.r3Injector:ct.moduleRef.injector,ot=Fe.get(Xn.SKi);return ot.run(()=>{Ks(ct)?ct.r3Injector.resolveInjectorInitializers():ct.moduleRef.resolveInjectorInitializers();const Nt=Fe.get(gn.ZTf);let hn;if(ot.runOutsideAngular(()=>{hn=ot.onError.subscribe({next:Nt})}),Ks(ct)){const On=()=>Fe.destroy(),rr=ct.platformInjector.get(Ta);rr.add(On),Fe.onDestroy(()=>{hn.unsubscribe(),rr.delete(On)})}else{const On=()=>ct.moduleRef.destroy(),rr=ct.platformInjector.get(Ta);rr.add(On),ct.moduleRef.onDestroy(()=>{(0,Xn.TFI)(ct.allPlatformModules,ct.moduleRef),hn.unsubscribe(),rr.delete(On)})}return function ts(ct,Fe,ot){try{const Nt=ot();return(0,Xn.yLl)(Nt)?Nt.catch(hn=>{throw Fe.runOutsideAngular(()=>ct(hn)),hn}):Nt}catch(Nt){throw Fe.runOutsideAngular(()=>ct(Nt)),Nt}}(Nt,ot,()=>{const On=Fe.get(gn.rev),rr=On.add(),gr=Fe.get(Xn.H1s);return gr.runInitializers(),gr.donePromise.then(()=>{const vr=Fe.get(Xn.xe9,Xn.DkB);if((0,Xn.e6s)(vr||Xn.DkB),!Fe.get(Pa,!0))return Ks(ct)?Fe.get(Xn.o8S):(ct.allPlatformModules.push(ct.moduleRef),ct.moduleRef);if(Ks(ct)){const lo=Fe.get(Xn.o8S);return void 0!==ct.rootComponent&&lo.bootstrap(ct.rootComponent),lo}return Ts?.(ct.moduleRef,ct.allPlatformModules),ct.moduleRef}).finally(()=>{On.remove(rr)})})})}({moduleRef:vr,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(ot,Nt=[]){const hn=(0,Xn.lJT)({},Nt);return Oi(),function ir(ct,Fe,ot){const Nt=new Xn.Co$(ot);return Promise.resolve(Nt)}(0,0,ot).then(On=>this.bootstrapModuleFactory(On,hn))}onDestroy(ot){this._destroyListeners.push(ot)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new gn.buA(404,!1);this._modules.slice().forEach(Nt=>Nt.destroy()),this._destroyListeners.forEach(Nt=>Nt());const ot=this._injector.get(Ta,null);ot&&(ot.forEach(Nt=>Nt()),ot.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(Nt){return new(Nt||ct)((0,gn.KVO)(gn.zZn))};static \u0275prov=(0,gn.jDH)({token:ct,factory:ct.\u0275fac,providedIn:"platform"})}return ct})(),_o=null;function Ps(ct,Fe,ot=[]){const Nt=`Platform: ${Fe}`,hn=new gn.nKC(Nt);return(On=[])=>{let rr=Aa();if(!rr){const gr=[...ot,...On,{provide:hn,useValue:!0}];rr=ct?.(gr)??function la(ct){if(Aa())throw new gn.buA(400,!1);(0,Xn.pl0)(),(0,Xn.ypd)(),_o=ct;const Fe=ct.get($o);return function Re(ct){const Fe=ct.get(Xn.PLl,null);(0,gn.N4e)(ct,()=>{Fe?.forEach(ot=>ot())})}(ct),Fe}(function ki(ct=[],Fe){return gn.zZn.create({name:Fe,providers:[{provide:gn.GBX,useValue:"platform"},{provide:Ta,useValue:new Set([()=>_o=null])},...ct]})}(gr,Nt))}return function ol(){const Fe=Aa();if(!Fe)throw new gn.buA(-401,!1);return Fe}()}}function Aa(){return _o?.get($o)??null}function Qt(){}let As=(()=>class ct{static __NG_ELEMENT_ID__=na})();function na(ct){return function Tl(ct,Fe,ot){if((0,gn.Qs1)(ct)&&!ot){const Nt=(0,gn.KdJ)(ct.index,Fe);return new Xn.NCX(Nt,Nt)}return 175&ct.type?new Xn.NCX(Fe[gn.b5C],Fe):null}((0,gn.Mx4)(),(0,gn.OAn)(),!(16&~ct))}class Pl{constructor(){}supports(Fe){return(0,Xn.ozJ)(Fe)}create(Fe){return new Al(Fe)}}const pc=(ct,Fe)=>Fe;class Al{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(Fe){this._trackByFn=Fe||pc}forEachItem(Fe){let ot;for(ot=this._itHead;null!==ot;ot=ot._next)Fe(ot)}forEachOperation(Fe){let ot=this._itHead,Nt=this._removalsHead,hn=0,On=null;for(;ot||Nt;){const rr=!Nt||ot&&ot.currentIndex<da(Nt,hn,On)?ot:Nt,gr=da(rr,hn,On),vr=rr.currentIndex;if(rr===Nt)hn--,Nt=Nt._nextRemoved;else if(ot=ot._next,null==rr.previousIndex)hn++;else{On||(On=[]);const oi=gr-hn,lo=vr-hn;if(oi!=lo){for(let xs=0;xs<oi;xs++){const Ui=xs<On.length?On[xs]:On[xs]=0,Sa=Ui+xs;lo<=Sa&&Sa<oi&&(On[xs]=Ui+1)}On[rr.previousIndex]=lo-oi}}gr!==vr&&Fe(rr,gr,vr)}}forEachPreviousItem(Fe){let ot;for(ot=this._previousItHead;null!==ot;ot=ot._nextPrevious)Fe(ot)}forEachAddedItem(Fe){let ot;for(ot=this._additionsHead;null!==ot;ot=ot._nextAdded)Fe(ot)}forEachMovedItem(Fe){let ot;for(ot=this._movesHead;null!==ot;ot=ot._nextMoved)Fe(ot)}forEachRemovedItem(Fe){let ot;for(ot=this._removalsHead;null!==ot;ot=ot._nextRemoved)Fe(ot)}forEachIdentityChange(Fe){let ot;for(ot=this._identityChangesHead;null!==ot;ot=ot._nextIdentityChange)Fe(ot)}diff(Fe){if(null==Fe&&(Fe=[]),!(0,Xn.ozJ)(Fe))throw new gn.buA(900,!1);return this.check(Fe)?this:null}onDestroy(){}check(Fe){this._reset();let hn,On,rr,ot=this._itHead,Nt=!1;if(Array.isArray(Fe)){this.length=Fe.length;for(let gr=0;gr<this.length;gr++)On=Fe[gr],rr=this._trackByFn(gr,On),null!==ot&&Object.is(ot.trackById,rr)?(Nt&&(ot=this._verifyReinsertion(ot,On,rr,gr)),Object.is(ot.item,On)||this._addIdentityChange(ot,On)):(ot=this._mismatch(ot,On,rr,gr),Nt=!0),ot=ot._next}else hn=0,(0,Xn.utN)(Fe,gr=>{rr=this._trackByFn(hn,gr),null!==ot&&Object.is(ot.trackById,rr)?(Nt&&(ot=this._verifyReinsertion(ot,gr,rr,hn)),Object.is(ot.item,gr)||this._addIdentityChange(ot,gr)):(ot=this._mismatch(ot,gr,rr,hn),Nt=!0),ot=ot._next,hn++}),this.length=hn;return this._truncate(ot),this.collection=Fe,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let Fe;for(Fe=this._previousItHead=this._itHead;null!==Fe;Fe=Fe._next)Fe._nextPrevious=Fe._next;for(Fe=this._additionsHead;null!==Fe;Fe=Fe._nextAdded)Fe.previousIndex=Fe.currentIndex;for(this._additionsHead=this._additionsTail=null,Fe=this._movesHead;null!==Fe;Fe=Fe._nextMoved)Fe.previousIndex=Fe.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(Fe,ot,Nt,hn){let On;return null===Fe?On=this._itTail:(On=Fe._prev,this._remove(Fe)),null!==(Fe=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Nt,null))?(Object.is(Fe.item,ot)||this._addIdentityChange(Fe,ot),this._reinsertAfter(Fe,On,hn)):null!==(Fe=null===this._linkedRecords?null:this._linkedRecords.get(Nt,hn))?(Object.is(Fe.item,ot)||this._addIdentityChange(Fe,ot),this._moveAfter(Fe,On,hn)):Fe=this._addAfter(new ec(ot,Nt),On,hn),Fe}_verifyReinsertion(Fe,ot,Nt,hn){let On=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Nt,null);return null!==On?Fe=this._reinsertAfter(On,Fe._prev,hn):Fe.currentIndex!=hn&&(Fe.currentIndex=hn,this._addToMoves(Fe,hn)),Fe}_truncate(Fe){for(;null!==Fe;){const ot=Fe._next;this._addToRemovals(this._unlink(Fe)),Fe=ot}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(Fe,ot,Nt){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(Fe);const hn=Fe._prevRemoved,On=Fe._nextRemoved;return null===hn?this._removalsHead=On:hn._nextRemoved=On,null===On?this._removalsTail=hn:On._prevRemoved=hn,this._insertAfter(Fe,ot,Nt),this._addToMoves(Fe,Nt),Fe}_moveAfter(Fe,ot,Nt){return this._unlink(Fe),this._insertAfter(Fe,ot,Nt),this._addToMoves(Fe,Nt),Fe}_addAfter(Fe,ot,Nt){return this._insertAfter(Fe,ot,Nt),this._additionsTail=null===this._additionsTail?this._additionsHead=Fe:this._additionsTail._nextAdded=Fe,Fe}_insertAfter(Fe,ot,Nt){const hn=null===ot?this._itHead:ot._next;return Fe._next=hn,Fe._prev=ot,null===hn?this._itTail=Fe:hn._prev=Fe,null===ot?this._itHead=Fe:ot._next=Fe,null===this._linkedRecords&&(this._linkedRecords=new ua),this._linkedRecords.put(Fe),Fe.currentIndex=Nt,Fe}_remove(Fe){return this._addToRemovals(this._unlink(Fe))}_unlink(Fe){null!==this._linkedRecords&&this._linkedRecords.remove(Fe);const ot=Fe._prev,Nt=Fe._next;return null===ot?this._itHead=Nt:ot._next=Nt,null===Nt?this._itTail=ot:Nt._prev=ot,Fe}_addToMoves(Fe,ot){return Fe.previousIndex===ot||(this._movesTail=null===this._movesTail?this._movesHead=Fe:this._movesTail._nextMoved=Fe),Fe}_addToRemovals(Fe){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ua),this._unlinkedRecords.put(Fe),Fe.currentIndex=null,Fe._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=Fe,Fe._prevRemoved=null):(Fe._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=Fe),Fe}_addIdentityChange(Fe,ot){return Fe.item=ot,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=Fe:this._identityChangesTail._nextIdentityChange=Fe,Fe}}class ec{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(Fe,ot){this.item=Fe,this.trackById=ot}}class Ya{_head=null;_tail=null;add(Fe){null===this._head?(this._head=this._tail=Fe,Fe._nextDup=null,Fe._prevDup=null):(this._tail._nextDup=Fe,Fe._prevDup=this._tail,Fe._nextDup=null,this._tail=Fe)}get(Fe,ot){let Nt;for(Nt=this._head;null!==Nt;Nt=Nt._nextDup)if((null===ot||ot<=Nt.currentIndex)&&Object.is(Nt.trackById,Fe))return Nt;return null}remove(Fe){const ot=Fe._prevDup,Nt=Fe._nextDup;return null===ot?this._head=Nt:ot._nextDup=Nt,null===Nt?this._tail=ot:Nt._prevDup=ot,null===this._head}}class ua{map=new Map;put(Fe){const ot=Fe.trackById;let Nt=this.map.get(ot);Nt||(Nt=new Ya,this.map.set(ot,Nt)),Nt.add(Fe)}get(Fe,ot){const hn=this.map.get(Fe);return hn?hn.get(Fe,ot):null}remove(Fe){const ot=Fe.trackById;return this.map.get(ot).remove(Fe)&&this.map.delete(ot),Fe}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function da(ct,Fe,ot){const Nt=ct.previousIndex;if(null===Nt)return Nt;let hn=0;return ot&&Nt<ot.length&&(hn=ot[Nt]),Nt+Fe+hn}class za{constructor(){}supports(Fe){return Fe instanceof Map||(0,Xn.vDg)(Fe)}create(){return new Za}}class Za{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(Fe){let ot;for(ot=this._mapHead;null!==ot;ot=ot._next)Fe(ot)}forEachPreviousItem(Fe){let ot;for(ot=this._previousMapHead;null!==ot;ot=ot._nextPrevious)Fe(ot)}forEachChangedItem(Fe){let ot;for(ot=this._changesHead;null!==ot;ot=ot._nextChanged)Fe(ot)}forEachAddedItem(Fe){let ot;for(ot=this._additionsHead;null!==ot;ot=ot._nextAdded)Fe(ot)}forEachRemovedItem(Fe){let ot;for(ot=this._removalsHead;null!==ot;ot=ot._nextRemoved)Fe(ot)}diff(Fe){if(Fe){if(!(Fe instanceof Map||(0,Xn.vDg)(Fe)))throw new gn.buA(900,!1)}else Fe=new Map;return this.check(Fe)?this:null}onDestroy(){}check(Fe){this._reset();let ot=this._mapHead;if(this._appendAfter=null,this._forEach(Fe,(Nt,hn)=>{if(ot&&ot.key===hn)this._maybeAddToChanges(ot,Nt),this._appendAfter=ot,ot=ot._next;else{const On=this._getOrCreateRecordForKey(hn,Nt);ot=this._insertBeforeOrAppend(ot,On)}}),ot){ot._prev&&(ot._prev._next=null),this._removalsHead=ot;for(let Nt=ot;null!==Nt;Nt=Nt._nextRemoved)Nt===this._mapHead&&(this._mapHead=null),this._records.delete(Nt.key),Nt._nextRemoved=Nt._next,Nt.previousValue=Nt.currentValue,Nt.currentValue=null,Nt._prev=null,Nt._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(Fe,ot){if(Fe){const Nt=Fe._prev;return ot._next=Fe,ot._prev=Nt,Fe._prev=ot,Nt&&(Nt._next=ot),Fe===this._mapHead&&(this._mapHead=ot),this._appendAfter=Fe,Fe}return this._appendAfter?(this._appendAfter._next=ot,ot._prev=this._appendAfter):this._mapHead=ot,this._appendAfter=ot,null}_getOrCreateRecordForKey(Fe,ot){if(this._records.has(Fe)){const hn=this._records.get(Fe);this._maybeAddToChanges(hn,ot);const On=hn._prev,rr=hn._next;return On&&(On._next=rr),rr&&(rr._prev=On),hn._next=null,hn._prev=null,hn}const Nt=new Rl(Fe);return this._records.set(Fe,Nt),Nt.currentValue=ot,this._addToAdditions(Nt),Nt}_reset(){if(this.isDirty){let Fe;for(this._previousMapHead=this._mapHead,Fe=this._previousMapHead;null!==Fe;Fe=Fe._next)Fe._nextPrevious=Fe._next;for(Fe=this._changesHead;null!==Fe;Fe=Fe._nextChanged)Fe.previousValue=Fe.currentValue;for(Fe=this._additionsHead;null!=Fe;Fe=Fe._nextAdded)Fe.previousValue=Fe.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(Fe,ot){Object.is(ot,Fe.currentValue)||(Fe.previousValue=Fe.currentValue,Fe.currentValue=ot,this._addToChanges(Fe))}_addToAdditions(Fe){null===this._additionsHead?this._additionsHead=this._additionsTail=Fe:(this._additionsTail._nextAdded=Fe,this._additionsTail=Fe)}_addToChanges(Fe){null===this._changesHead?this._changesHead=this._changesTail=Fe:(this._changesTail._nextChanged=Fe,this._changesTail=Fe)}_forEach(Fe,ot){Fe instanceof Map?Fe.forEach(ot):Object.keys(Fe).forEach(Nt=>ot(Fe[Nt],Nt))}}class Rl{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(Fe){this.key=Fe}}function $a(){return new Ra([new Pl])}let Ra=(()=>{class ct{factories;static \u0275prov=(0,gn.jDH)({token:ct,providedIn:"root",factory:$a});constructor(ot){this.factories=ot}static create(ot,Nt){if(null!=Nt){const hn=Nt.factories.slice();ot=ot.concat(hn)}return new ct(ot)}static extend(ot){return{provide:ct,useFactory:()=>{const Nt=(0,gn.WQX)(ct,{optional:!0,skipSelf:!0});return ct.create(ot,Nt||$a())}}}find(ot){const Nt=this.factories.find(hn=>hn.supports(ot));if(null!=Nt)return Nt;throw new gn.buA(901,!1)}}return ct})();function Ea(){return new kl([new za])}let kl=(()=>{class ct{static \u0275prov=(0,gn.jDH)({token:ct,providedIn:"root",factory:Ea});factories;constructor(ot){this.factories=ot}static create(ot,Nt){if(Nt){const hn=Nt.factories.slice();ot=ot.concat(hn)}return new ct(ot)}static extend(ot){return{provide:ct,useFactory:()=>{const Nt=(0,gn.WQX)(ct,{optional:!0,skipSelf:!0});return ct.create(ot,Nt||Ea())}}}find(ot){const Nt=this.factories.find(hn=>hn.supports(ot));if(Nt)return Nt;throw new gn.buA(901,!1)}}return ct})();const Ja=Ps(null,"core",[]);let tc=(()=>{class ct{constructor(ot){}static \u0275fac=function(Nt){return new(Nt||ct)((0,gn.KVO)(Xn.o8S))};static \u0275mod=(0,Xn.$C)({type:ct});static \u0275inj=(0,gn.G2t)({})}return ct})();function vn(ct){return"boolean"==typeof ct?ct:null!=ct&&"false"!==ct}function wn(ct,Fe=NaN){return isNaN(parseFloat(ct))||isNaN(Number(ct))?Fe:Number(ct)}const us=Symbol("NOT_SET"),Yo=new Set,ho={...or.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:us,cleanup:null,consumerMarkedDirty(){
vendor: 6,503 bytes, line 1
1if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(ct){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==us&&!(0,or.si)(this))return this.signal;try{for(const hn of this.cleanup??Yo)hn()}finally{this.cleanup?.clear()}const Fe=[];void 0!==ct&&Fe.push(ct),Fe.push(this.registerCleanupFn);const ot=(0,or.Bg)(this);let Nt;try{Nt=this.userFn.apply(null,Fe)}finally{(0,or.Wu)(this,ot)}return(this.value===us||!this.equal(this.value,Nt))&&(this.value=Nt,this.version++),this.signal}};class jo extends Xn._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(Fe,ot,Nt,hn,On,rr=null){super(Fe,[void 0,void 0,void 0,void 0],Nt,!1,On.get(gn.abz),rr),this.scheduler=hn;for(const gr of Xn.zoo){const vr=ot[gr];if(void 0===vr)continue;const oi=Object.create(ho);oi.sequence=this,oi.phase=gr,oi.userFn=vr,oi.dirty=!0,oi.signal=()=>((0,or.mK)(oi),oi.value),oi.signal[or.bh]=oi,oi.registerCleanupFn=lo=>(oi.cleanup??=new Set).add(lo),this.nodes[gr]=oi,this.hooks[gr]=lo=>oi.phaseFn(lo)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const Fe of this.nodes)if(Fe)try{for(const ot of Fe.cleanup??Yo)ot()}finally{(0,or.XR)(Fe)}}}function io(ct,Fe){const ot=Fe?.injector??(0,gn.WQX)(gn.zZn),Nt=ot.get(gn.hk6),hn=ot.get(Xn.cf$),On=ot.get(Xn.a8H,null,{optional:!0});hn.impl??=ot.get(Xn.ziy);let rr=ct;"function"==typeof rr&&(rr={mixedReadWrite:ct});const gr=ot.get(gn.r4V,null,{optional:!0}),vr=new jo(hn.impl,[rr.earlyRead,rr.write,rr.mixedReadWrite,rr.read],gr?.view,Nt,ot,On?.snapshot(null));return hn.impl.register(vr),vr}function Co(ct,Fe){const ot=(0,gn.xUg)(ct),Nt=Fe.elementInjector||(0,gn.WB9)();return new Xn.eHC(ot).create(Nt,Fe.projectableNodes,Fe.hostElement,Fe.environmentInjector,Fe.directives,Fe.bindings)}function Gs(ct){const Fe=(0,gn.xUg)(ct);if(!Fe)return null;const ot=new Xn.eHC(Fe);return{get selector(){return ot.selector},get type(){return ot.componentType},get inputs(){return ot.inputs},get outputs(){return ot.outputs},get ngContentSelectors(){return ot.ngContentSelectors},get isStandalone(){return Fe.standalone},get isSignal(){return Fe.signals}}}},73664(Vt,Pe,d){"use strict";d.d(Pe,{$C:()=>v0,$Ln:()=>sy,AVh:()=>T2,Ab1:()=>Md,Aen:()=>GC,Agw:()=>Ja,Avn:()=>Bo,B1s:()=>El,B4B:()=>vc,BIS:()=>al,BMQ:()=>Kc,BUC:()=>Bf,C4Q:()=>Hp,C5r:()=>Q6,C6U:()=>FC,C7A:()=>Pg,Co$:()=>Hu,DH7:()=>b6,DNE:()=>E0,DUP:()=>G,DkB:()=>Fd,Dyx:()=>n,E5c:()=>k2,EBC:()=>Uu,EFF:()=>r6,EJ8:()=>Ia,FsC:()=>sm,FuF:()=>cb,G5x:()=>Qo,GBs:()=>RC,H1s:()=>H0,HbH:()=>XC,Hgh:()=>qt,JRh:()=>A2,Jt5:()=>uc,Jv_:()=>A6,KED:()=>G9,Lme:()=>R2,NAR:()=>TC,NCX:()=>Vm,NOj:()=>nf,NSC:()=>Gc,NYb:()=>Kb,NyB:()=>BC,OA$:()=>Vn,OIn:()=>T6,OR8:()=>xf,Ocv:()=>v5,Ol2:()=>Of,PLl:()=>Qa,PYC:()=>Cl,PYt:()=>Fh,PeT:()=>w0,QTQ:()=>J1,Ql9:()=>h5,R50:()=>L2,R7$:()=>dh,RPW:()=>jl,RV6:()=>qs,SKi:()=>qn,SS7:()=>N2,SdG:()=>PC,SdI:()=>g4,SpI:()=>Vy,TFI:()=>Xh,Ts$:()=>y4,UQu:()=>d5,V5L:()=>m4,VBU:()=>im,VFN:()=>D6,VeQ:()=>Ma,VkB:()=>x6,Vm6:()=>Iy,VqF:()=>I6,Vt3:()=>bg,VwU:()=>M2,VzW:()=>Sv,WPN:()=>No,XpG:()=>IC,Xx1:()=>at,Y8G:()=>Ee,YEm:()=>ra,Z7z:()=>Py,Zhj:()=>f0,_9s:()=>xh,_9u:()=>kl,_jY:()=>ze,_qm:()=>Os,_ys:()=>br,a5S:()=>O6,a8H:()=>Le,aCM:()=>rc,aKT:()=>Is,ai1:()=>S6,bH3:()=>E6,bIt:()=>w2,bMT:()=>X6,bVm:()=>Er,bc$:()=>nc,bkB:()=>rn,brH:()=>Z6,c1b:()=>fg,cDI:()=>ks,cZr:()=>K2,cdK:()=>cy,cf$:()=>qr,czy:()=>du,d80:()=>p5,dOL:()=>j0,e6s:()=>Vf,eHC:()=>dg,eq3:()=>F6,eu8:()=>pi,eux:()=>nt,f$h:()=>tl,fX1:()=>Ty,gXe:()=>_s,giA:()=>ay,gil:()=>Au,hnC:()=>bv,i5U:()=>Y6,iLQ:()=>Lf,iWE:()=>Ii,j41:()=>Ae,jOp:()=>Ba,k0s:()=>ft,kBR:()=>xc,kS0:()=>Po,kdw:()=>Bt,l4e:()=>j6,lJ4:()=>L6,lJT:()=>$c,l_i:()=>N6,lsd:()=>LC,mGM:()=>kC,mNQ:()=>M6,mU9:()=>lb,mal:()=>co,mxI:()=>F2,n$t:()=>Jd,nI1:()=>G6,nI4:()=>I,nM4:()=>Eg,nVh:()=>t1,npT:()=>iu,nrm:()=>it,nv$:()=>X0,o8S:()=>pm,ozJ:()=>lg,p2i:()=>Tu,phd:()=>Xb,pl0:()=>Yb,qex:()=>Zn,qhs:()=>by,r8f:()=>w6,rAh:()=>qc,rOR:()=>Ws,rXU:()=>Oh,rj2:()=>Zt,s1E:()=>V6,sFG:()=>ig,sMw:()=>B6,sZ2:()=>ka,sdS:()=>UC,sgu:()=>wd,tSv:()=>Bu,tvf:()=>O,uiO:()=>Pt,utN:()=>V3,vDg:()=>ev,vZN:()=>td,vxM:()=>Oy,w6W:()=>xv,wEZ:()=>NC,wjB:()=>R6,wni:()=>AC,wr$:()=>ld,xGo:()=>Si,xc7:()=>I2,xe9:()=>b4,yLl:()=>ly,y_5:()=>pt,ypd:()=>Zb,ziG:()=>U6,ziy:()=>Fr,zoo:()=>yr});var En=d(10467),m=d(2615),Jn=d(48440),ni=d(21413),Br=d(18359),bi=d(96354);function Kr(e){return{toString:e}.toString()}const Lr="__annotations__",yi="__parameters__",Ci="__prop__metadata__";function yo(e,t,i,a,h){return Kr(()=>{const x=oo(t);function j(...fe){if(this instanceof j)return x.call(this,...fe),this;const ye=new j(...fe);return function(Qe){return h&&h(Qe,...fe),(Qe.hasOwnProperty(Lr)?Qe[Lr]:Object.defineProperty(Qe,Lr,{value:[]})[Lr]).push(ye),Qe}}return i&&(j.prototype=Object.create(i.prototype)),j.prototype.ngMetadataName=e,j.annotationCls=j,j})}function oo(e){return function(...i){if(e){const a=e(...i);for(const h in a)this[h]=a[h]}}}function eo(e,t,i){return Kr(()=>{const a=oo(t);function h(...x){if(this instanceof h)return a.apply(this,x),this;const j=new h(...x);return fe.annotation=j,fe;function fe(ye,Ne,Qe){const Mt=ye.hasOwnProperty(yi)?ye[yi]:Object.defineProperty(ye,yi,{value:[]})[yi];for(;Mt.length<=Qe;)Mt.push(null);return(Mt[Qe]=Mt[Qe]||[]).push(j),ye}}return h.prototype.ngMetadataName=e,h.annotationCls=h,h})}const pt=(0,m.z6V)(eo("Inject",e=>({token:e})),-1),at=(0,m.z6V)(eo("Optional"),8),Tt=(0,m.z6V)(eo("Self"),2),Bt=(0,m.z6V)(eo("SkipSelf"),4),Xt=(0,m.z6V)(eo("Host"),1);function Pt(e){const t=m.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const wt={\u0275\u0275defineInjectable:m.jDH,\u0275\u0275defineInjector:m.G2t,\u0275\u0275inject:m.KVO,\u0275\u0275invalidFactoryDep:m.dmw,resolveForwardRef:m.nl4},Kt=Function;function xn(e){return"function"==typeof e}const Fn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,fn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Dn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ve=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class p{_reflect;constructor(t){this._reflect=t||m.laP.Reflect}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=(0,m.WfI)(typeof t>"u"?i.length:t.length);for(let h=0;h<a.length;h++)a[h]=typeof t>
vendor: 5,070 bytes, line 1
1"u"?[]:t[h]&&t[h]!=Object?[t[h]]:[],i&&null!=i[h]&&(a[h]=a[h].concat(i[h]));return a}_ownParameters(t,i){if(function He(e){return Fn.test(e)||Ve.test(e)||fn.test(e)&&!Dn.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const h=t.ctorParameters;if(h&&h!==i.ctorParameters){const fe="function"==typeof h?h():h,ye=fe.map(Qe=>Qe&&Qe.type),Ne=fe.map(Qe=>Qe&&Ht(Qe.decorators));return this._zipTypesAndAnnotations(ye,Ne)}const x=t.hasOwnProperty(yi)&&t[yi],j=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return j||x?this._zipTypesAndAnnotations(j,x):(0,m.WfI)(t.length)}parameters(t){if(!xn(t))return[];const i=sn(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?Ht(t.decorators):t.hasOwnProperty(Lr)?t[Lr]:null}annotations(t){if(!xn(t))return[];const i=sn(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,h={};return Object.keys(a).forEach(x=>{h[x]=Ht(a[x])}),h}return t.hasOwnProperty(Ci)?t[Ci]:null}propMetadata(t){if(!xn(t))return{};const i=sn(t),a={};if(i!==Object){const x=this.propMetadata(i);Object.keys(x).forEach(j=>{a[j]=x[j]})}const h=this._ownPropMetadata(t,i);return h&&Object.keys(h).forEach(x=>{const j=[];a.hasOwnProperty(x)&&j.push(...a[x]),j.push(...h[x]),a[x]=j}),a}ownPropMetadata(t){return xn(t)&&this._ownPropMetadata(t,sn(t))||{}}hasLifecycleHook(t,i){return t instanceof Kt&&i in t.prototype}}function Ht(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function sn(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class bt{previousValue;currentValue;firstChange;constructor(t,i,a){this.previousValue=t,this.currentValue=i,this.firstChange=a}isFirstChange(){return this.firstChange}}function un(e,t,i,a){null!==t?t.applyValueToInputSignal(t,a):e[i]=a}const Vn=(()=>{const e=()=>Wn;return e.ngInherit=!0,e})();function Wn(e){return e.type.prototype.ngOnChanges&&(e.setInput=_r),$n}function $n(){const e=cr(this),t=e?.current;if(t){const i=e.previous;if(i===m.MZA)e.previous=t;else for(let a in t)i[a]=t[a];e.current=null,this.ngOnChanges(t)}}function _r(e,t,i,a,h){const x=this.declaredInputs[a],j=cr(e)||function Yr(e,t){return e[ur]=t}(e,{previous:m.MZA,current:null}),fe=j.current||(j.current={}),ye=j.previous,Ne=ye[x];fe[x]=new bt(Ne&&Ne.currentValue,i,ye===m.MZA),un(e,t,h,i)}const ur="__ngSimpleChanges__";function cr(e){return e[ur]||null}const gi=[],ei=function(e,t=null,i){for(let a=0;a<gi.length;a++)(0,gi[a])(e,t,i)};function Ei(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i<a;i++){const x=e.data[i].type.prototype,{ngAfterContentInit:j,ngAfterContentChecked:fe,ngAfterViewInit:ye,ngAfterViewChecked:Ne,ngOnDestroy:Qe}=x;j&&(e.contentHooks??=[]).push(-i,j),fe&&((e.contentHooks??=[]).push(i,fe),(e.contentCheckHooks??=[]).push(i,fe)),ye&&(e.viewHooks??=[]).push(-i,ye),Ne&&((e.viewHooks??=[]).push(i,Ne),(e.viewCheckHooks??=[]).push(i,Ne)),null!=Qe&&(e.destroyHooks??=[]).push(i,Qe)}}function _i(e,t,i){xo(e,t,3,i)}function ti(e,t,i,a){(3&e[m.Wg1])===i&&xo(e,t,i,a)}function Uo(e,t){let i=e[m.Wg1];(3&i)===t&&(i&=16383,i+=1,e[m.Wg1]=i)}function xo(e,t,i,a){const x=a??-1,j=t.length-1;let fe=0;for(let ye=void 0!==a?65535&e[m.wVl]:0;ye<j;ye++)if("number"==typeof t[ye+1]){if(fe=t[ye],null!=a&&fe>=a)break}else t[ye]<0&&(e[m.wVl]+=65536),(fe<x||-1==x)&&(wo(e,i,t,ye),e[m.wVl]=(4294901760&e[m.wVl])+ye+2),ye++}function Zr(e,t){ei(4,e,t);const i=(0,Jn.Ht)(null);try{t.call(e)}finally{(0,Jn.Ht)(i),ei(5,e,t)}}function wo(e,t,i,a){const h=i[a]<0,x=i[a+1],fe=e[h?-i[a]:i[a]];h?e[m.Wg1]>>14<e[m.wVl]>>16&&(3&e[m.Wg1])===t&&(e[m.Wg1]+=16384,Zr(fe,x)):Zr(fe,x)}class Yt{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,i,a,h){this.factory=t,this.name=h,this.canSeeViewProviders=i,this.injectImpl=a}}function Nn(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ar(e){return 3===e||4===e||6===e}function Yi(e){return 64===e.charCodeAt(0)}function uo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let a=0;a<t.length;a++){const h=t[a];"number"==typeof h?i=h:0===i||To(e,i,h,0,-1===i||2===i?t[++a]:null)}}return e}function To(e,t,i,a,h){let x=0,j=e.length;if(-1===t)j=-1;else for(;x<e.length;){const fe=e[x++];if("number"==typeof fe){if(fe===t){j=-1;break}if(fe>t){j=x-1;break}}}for(;x<e.length;){const fe=e[x];if("number"==typeof fe)break;
vendor: 7,576 bytes, line 1
1if(fe===i)return void(null!==h&&(e[x+1]=h));x++,null!==h&&x++}-1!==j&&(e.splice(j,0,t),x=j+1),e.splice(x++,0,i),null!==h&&e.splice(x++,0,h)}function to(e){return-1!==e}function Vi(e){return 32767&e}function Wt(e,t){let i=function Ti(e){return e>>16}(e),a=t;for(;i>0;)a=a[m.X5O],i--;return a}let yn=!0;function Bn(e){const t=yn;return yn=e,t}let xi=0;const Jr={};function no(e,t){const i=as(e,t);if(-1!==i)return i;const a=t[m.eDl];a.firstCreatePass&&(e.injectorIndex=t.length,ss(a.data,e),ss(t,null),ss(a.blueprint,null));const h=Go(e,t),x=e.injectorIndex;if(to(h)){const j=Vi(h),fe=Wt(h,t),ye=fe[m.eDl].data;for(let Ne=0;Ne<8;Ne++)t[x+Ne]=fe[j+Ne]|ye[j+Ne]}return t[x+8]=h,x}function ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function as(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Go(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,h=t;for(;null!==h;){if(a=Do(h),null===a)return-1;if(i++,h=h[m.X5O],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return-1}function Hi(e,t,i){!function Bi(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(m.p9y)&&(a=i[m.p9y]),null==a&&(a=i[m.p9y]=xi++);const h=255&a;t.data[e+(h>>5)]|=1<<h}(e,t,i)}function di(e,t,i){if(8&i||void 0!==e)return e;(0,m.$Hz)(t,"NodeInjector")}function Cs(e,t,i,a){if(8&i&&void 0===a&&(a=null),!(3&i)){const h=e[m.YEL],x=(0,m.a2B)(void 0);try{return h?h.get(t,a,8&i):(0,m.MzJ)(t,a,8&i)}finally{(0,m.a2B)(x)}}return di(a,t,i)}function Ue(e,t,i,a=0,h){if(null!==e){if(2048&t[m.Wg1]&&!(2&a)){const j=function So(e,t,i,a,h){let x=e,j=t;for(;null!==x&&null!==j&&2048&j[m.Wg1]&&!(0,m.EFk)(j);){const fe=jt(x,j,i,2|a,Jr);if(fe!==Jr)return fe;let ye=x.parent;if(!ye){const Ne=j[m.oMQ];if(Ne){const Qe=Ne.get(i,Jr,a);if(Qe!==Jr)return Qe}ye=Do(j),j=j[m.X5O]}x=ye}return h}(e,t,i,a,Jr);if(j!==Jr)return j}const x=jt(e,t,i,a,Jr);if(x!==Jr)return x}return Cs(t,i,a,h)}function jt(e,t,i,a,h){const x=function or(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(m.p9y)?e[m.p9y]:void 0;return"number"==typeof t?t>=0?255&t:go:t}(i);if("function"==typeof x){if(!(0,m.ihb)(t,e,a))return 1&a?di(h,i,a):Cs(t,i,a,h);try{let j;if(j=x(a),null!=j||8&a)return j;(0,m.$Hz)(i)}finally{(0,m.niQ)()}}else if("number"==typeof x){let j=null,fe=as(e,t),ye=-1,Ne=1&a?t[m.b5C][m.qlT]:null;for((-1===fe||4&a)&&(ye=-1===fe?Go(e,t):t[fe+8],-1!==ye&&zi(a,!1)?(j=t[m.eDl],fe=Vi(ye),t=Wt(ye,t)):fe=-1);-1!==fe;){const Qe=t[m.eDl];if(Xn(x,fe,Qe.data)){const Mt=tt(fe,t,i,j,a,Ne);if(Mt!==Jr)return Mt}ye=t[fe+8],-1!==ye&&zi(a,t[m.eDl].data[fe+8]===Ne)&&Xn(x,fe,t)?(j=Qe,fe=Vi(ye),t=Wt(ye,t)):fe=-1}}return h}function tt(e,t,i,a,h,x){const j=t[m.eDl],fe=j.data[e+8],Qe=gt(fe,j,i,null==a?(0,m.Qs1)(fe)&&yn:a!=j&&!!(3&fe.type),1&h&&x===fe);return null!==Qe?gn(t,j,Qe,fe,h):Jr}function gt(e,t,i,a,h){const x=e.providerIndexes,j=t.data,fe=1048575&x,ye=e.directiveStart,Qe=x>>20,on=h?fe+Qe:e.directiveEnd;for(let ln=a?fe:fe+Qe;ln<on;ln++){const Hn=j[ln];if(ln<ye&&i===Hn||ln>=ye&&Hn.type===i)return ln}if(h){const ln=j[ye];if(ln&&(0,m.JlV)(ln)&&ln.type===i)return ye}return null}function gn(e,t,i,a,h){let x=e[i];const j=t.data;if(x instanceof Yt){const fe=x;if(fe.resolving){const ln=(0,m.PP7)(j[i]);throw(0,m.PQT)(ln)}const ye=Bn(fe.canSeeViewProviders);fe.resolving=!0;const Mt=fe.injectImpl?(0,m.a2B)(fe.injectImpl):null;(0,m.ihb)(e,a,0);try{x=e[i]=fe.factory(void 0,h,j,e,a),t.firstCreatePass&&i>=a.directiveStart&&function Ho(e,t,i){const{ngOnChanges:a,ngOnInit:h,ngDoCheck:x}=t.type.prototype;if(a){const j=Wn(t);(i.preOrderHooks??=[]).push(e,j),(i.preOrderCheckHooks??=[]).push(e,j)}h&&(i.preOrderHooks??=[]).push(0-e,h),x&&((i.preOrderHooks??=[]).push(e,x),(i.preOrderCheckHooks??=[]).push(e,x))}(i,j[i],t)}finally{null!==Mt&&(0,m.a2B)(Mt),Bn(ye),fe.resolving=!1,(0,m.niQ)()}}return x}function Xn(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function zi(e,t){return!(2&e||1&e&&t)}class Sr{_tNode;_lView;constructor(t,i){this._tNode=t,this._lView=i}get(t,i,a){return Ue(this._tNode,this._lView,t,(0,m.hjC)(a),i)}}function go(){return new Sr((0,m.Mx4)(),(0,m.OAn)())}function Si(e){return Kr(()=>{const t=e.prototype.constructor,i=t[m.zSs]||ci(t),a=Object.prototype;let h=Object.getPrototypeOf(e.prototype).constructor;for(;h&&h!==a;){const x=h[m.zSs]||ci(h);if(x&&x!==i)return x;h=Object.getPrototypeOf(h)}return x=>new x})}function ci(e){return(0,m.Jzi)(e)?()=>{const t=ci((0,m.nl4)(e));return t&&t()}:(0,m.wGu)(e)}function Do(e){const t=e[m.eDl],i=t.type;return 2===i?t.declTNode:1===i?e[m.qlT]:null}function Po(e){return function ao(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let h=0;for(;h<a;){const x=i[h];if(Ar(x))break;if(0===x)h+=2;else if("number"==typeof x)for(h++;h<a&&"string"==typeof i[h];)h++;else{if(x===t)return i[h+1];h+=2}}}return null}((0,m.Mx4)(),e)}const Ds=eo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Po(e)}));let Ao=null;function qo(e){return es(function ps(){return Ao=Ao||new p}().parameters(e))}function es(e){return e.map(t=>function Di(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const a=e[i];if(void 0===a)continue;const h=Object.getPrototypeOf(a);if(a instanceof at||"Optional"===h.ngMetadataName)t.optional=!0;else if(a instanceof Bt||"SkipSelf"===h.ngMetadataName)t.skipSelf=!0;else if(a instanceof Tt||"Self"===h.ngMetadataName)t.self=!0;else if(a instanceof Xt||"Host"===h.ngMetadataName)t.host=!0;else if(a instanceof pt)t.token=a.token;else if(a instanceof Ds){if(void 0===a.attributeName)throw new m.buA(204,!1);t.attribute=a.attributeName}else t.token=a}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const ja=(0,m.kLh)({provide:String,useValue:m.kLh});function Vo(e){return void 0!==e.useClass}function Fs(e){return void 0!==e.useFactory}const Os=yo("Injectable",void 0,void 0,0,(e,t)=>function Va(e,t){let i=null,a=null;e.hasOwnProperty(m.yAH)||Object.defineProperty(e,m.yAH,{get:()=>(null===i&&(i=Pt().compileInjectable(wt,`ng:///${e.name}/\u0275prov.js`,function Ca(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Vo(i)||Fs(i))&&void 0!==i.deps&&(a.deps=es(i.deps)),Vo(i)?a.useClass=i.useClass:function ls(e){return ja in e}(i)?a.useValue=i.useValue:Fs(i)?a.useFactory=i.useFactory:function ta(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(m.zSs)||Object.defineProperty(e,m.zSs,{get:()=>{if(null===a){const h=Pt();a=h.compileFactory(wt,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:qo(e),target:h.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function Xo(){return Zi((0,m.Mx4)(),(0,m.OAn)())}function Zi(e,t){return new Is((0,m.d31)(e,t))}let Is=(()=>class e{nativeElement;constructor(i){this.nativeElement=i}static __NG_ELEMENT_ID__=Xo})();function rl(e){return e instanceof Is?e.nativeElement:e}function Ns(){return this._results[Symbol.iterator]()}class Ws{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ni.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}
vendor: 10,836 bytes, line 1
1forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){this.dirty=!1;const a=(0,m.Bqz)(t);(this._changesDetected=!(0,m.ng7)(this._results,a,i))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ns}function ir(e){return!(128&~e.flags)}var Bs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bs||{});const Es=new Map;let Us=0;function Ks(e){Es.delete(e[m.ID])}const $o="__ngContext__";function _o(e,t){(0,m.q$2)(t)?(e[$o]=t[m.ID],function Ta(e){Es.set(e[m.ID],e)}(t)):e[$o]=t}function Mr(e){return wi(e[m.EJG])}function Or(e){return wi(e[m.K29])}function wi(e){for(;null!==e&&!(0,m.A0l)(e);)e=e[m.K29];return e}let Ea;function kl(e){Ea=e}function ra(){if(void 0!==Ea)return Ea;if(typeof document<"u")return document;throw new m.buA(210,!1)}const ka=new m.nKC("",{providedIn:"root",factory:()=>fa}),fa="ng",Qa=new m.nKC(""),Ja=new m.nKC("",{providedIn:"platform",factory:()=>"unknown"}),nc=new m.nKC(""),al=new m.nKC("",{providedIn:"root",factory:()=>ra().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),wa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Ma=new m.nKC("",{providedIn:"root",factory:()=>wa});function Ka(){const e=new Vs;return e.store=function Fl(e,t){const i=e.getElementById(t+"-state");if("SCRIPT"===i?.tagName&&i.textContent)try{return JSON.parse(i.textContent)}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return{}}(ra(),(0,m.WQX)(ka)),e}let Vs=(()=>{class e{static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:Ka});store={};onSerializeCallbacks={};get(i,a){return void 0!==this.store[i]?this.store[i]:a}set(i,a){this.store[i]=a}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,a){this.onSerializeCallbacks[i]=a}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const C=!1,k=new m.nKC("",{providedIn:"root",factory:()=>C}),y=new m.nKC(""),O=new m.nKC(""),V={passive:!0,capture:!0},J=new WeakMap,H=new WeakMap,z=new WeakMap,Ce=["click","keydown"],he=["mouseenter","mouseover","focusin"];let Te=null,Oe=0;class Ge{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function yt(e,t){let i=H.get(e);if(!i){i=new Ge,H.set(e,i);for(const a of Ce)e.addEventListener(a,i.listener,V)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:h}=i;if(a.delete(t),0===a.size){H.delete(e);for(const x of Ce)e.removeEventListener(x,h,V)}}}function It(e,t){let i=J.get(e);if(!i){i=new Ge,J.set(e,i);for(const a of he)e.addEventListener(a,i.listener,V)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:h}=i;if(a.delete(t),0===a.size){for(const x of he)e.removeEventListener(x,h,V);J.delete(e)}}}const hi=new m.nKC("");function fo(e){return!(32&~e.flags)}function Co(e){let t=e._lView;return 2===t[m.eDl].type?null:((0,m.EFk)(t)&&(t=t[m.Yw1]),t)}function vr(e){return e.get(y,!1,{optional:!0})}function tr(e,t){const i=e.contentQueries;if(null!==i){const a=(0,Jn.Ht)(null);try{for(let h=0;h<i.length;h+=2){const j=i[h+1];if(-1!==j){const fe=e.data[j];(0,m.GA0)(i[h]),fe.contentQueries(2,t[j],j)}}}finally{(0,Jn.Ht)(a)}}}function kr(e,t,i){(0,m.GA0)(0);const a=(0,Jn.Ht)(null);try{t(e,i)}finally{(0,Jn.Ht)(a)}}function Fo(e,t,i){if((0,m.srX)(t)){const a=(0,Jn.Ht)(null);try{const x=t.directiveEnd;for(let j=t.directiveStart;j<x;j++){const fe=e.data[j];fe.contentQueries&&fe.contentQueries(1,i[j],j)}}finally{(0,Jn.Ht)(a)}}}var _s=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_s||{});let zd,Qc;function $d(){if(void 0===zd&&(zd=null,m.laP.trustedTypes))try{zd=m.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zd}function Du(e){return $d()?.createHTML(e)||e}function ul(){if(void 0===Qc&&(Qc=null,m.laP.trustedTypes))try{Qc=m.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qc}function Zf(e){return ul()?.createHTML(e)||e}function Jc(e){return ul()?.createScript(e)||e}function Pc(e){return ul()?.createScriptURL(e)||e}class ia{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${m.ok8})`}}class yp extends ia{getTypeName(){return"HTML"}}class Qf extends ia{getTypeName(){return"Style"}}class Jf extends ia{getTypeName(){return"Script"}}class Ou extends ia{getTypeName(){return"URL"}}class Eo extends ia{getTypeName(){return"ResourceURL"}}function rc(e){return e instanceof ia?e.changingThisBreaksApplicationSecurity:e}function Ii(e,t){const i=function Iu(e){return e instanceof ia&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${m.ok8})`)}return i===t}function Cl(e){return new yp(e)}function qc(e){return new Qf(e)}function Tu(e){return new Jf(e)}function El(e){return new Ou(e)}function jl(e){return new Eo(e)}function Ac(e){const t=new La(e);return function eu(){try{return!!(new window.DOMParser).parseFromString(Du(""),"text/html")}catch{return!1}}()?new Ai(t):t}class Ai{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Du(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.firstChild?.remove(),i)}catch{return null}}}class La{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Du(t),i}}const Pu=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Au(e){return(e=String(e)).match(Pu)?e:"unsafe:"+e}function Xl(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function el(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const Yl=Xl("area,br,col,hr,img,wbr"),Zo=Xl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wl=Xl("rp,rt"),tu=el(Yl,el(Zo,Xl("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),el(wl,Xl("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),el(wl,Zo)),Wd=Xl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mc=el(Wd,Xl("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xl("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),bp=Xl("script,style,template");class Cp{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let i=t.firstChild,a=!0,h=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)h.push(i),i=Xd(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let x=Gd(i);if(x){i=x;break}i=h.pop()}return this.buf.join("")}startElement(t){const i=Yd(t).toLowerCase();if(!tu.hasOwnProperty(i))return this.sanitizedSomething=!0,!bp.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let h=0;h<a.length;h++){const x=a.item(h),j=x.name,fe=j.toLowerCase();if(!mc.hasOwnProperty(fe)){this.sanitizedSomething=!0;continue}let ye=x.value;Wd[fe]&&(ye=Au(ye)),this.buf.push(" ",j,'="',nu(ye),'"')}return this.buf.push(">"),!0}endElement(t){const i=Yd(t).toLowerCase();tu.hasOwnProperty(i)&&!Yl.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(nu(t))}}function Gd(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ku(t);return t}function Xd(e){const t=e.firstChild;if(t&&function Kd(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ku(t);return t}function Yd(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ku(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const eh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lu=/([^\#-~ |!])/g;function nu(e){return e.replace(/&/g,"&amp;").replace(eh,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Lu,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let gc;function ld(e,t){let i=null;try{gc=gc||Ac(e);let a=t?String(t):"";i=gc.getInertBodyElement(a);let h=5,x=a;do{if(0===h)throw new Error("Failed to sanitize html because the input is unstable");h--,a=x,x=i.innerHTML,i=gc.getInertBodyElement(a)}while(a!==x);return Du((new Cp).sanitizeChildren(Fu(i)||i))}finally{if(i){const a=Fu(i)||i;for(;a.firstChild;)a.firstChild.remove()}}}
1function Fu(e){return"content"in e&&function Ep(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const ic=/^>|^->|<!--|-->|--!>|<!-$/g,ns=/(<|>)/g;function Nu(e,t){return e.createText(t)}function Wo(e,t,i){e.setValue(t,i)}function Zd(e,t){return e.createComment(function _c(e){return e.replace(ic,t=>t.replace(ns,"\u200b$1\u200b"))}(t))}function Rc(e,t,i){return e.createElement(t,i)}function Ml(e,t,i,a,h){e.insertBefore(t,i,a,h)}function Hl(e,t,i){e.appendChild(t,i)}function fl(e,t,i,a,h){null!==a?Ml(e,t,i,a,h):Hl(e,t,i)}function hl(e,t,i,a){e.removeChild(null,t,i,a)}function oc(e,t,i){const{mergedAttrs:a,classes:h,styles:x}=i;null!==a&&function bo(e,t,i){let a=0;for(;a<i.length;){const h=i[a];if("number"==typeof h){if(0!==h)break;a++;const x=i[a++],j=i[a++],fe=i[a++];e.setAttribute(t,j,fe,x)}else{const x=h,j=i[++a];Yi(x)?e.setProperty(t,x,j):e.setAttribute(t,x,j),a++}}}(e,t,a),null!==h&&function rh(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}(e,t,h),null!==x&&function kc(e,t,i){e.setAttribute(t,"style",i)}(e,t,x)}var No=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e}(No||{});let ga;function pl(e,t,i){for(const[a,h]of i){let x=t&&"*"!==a&&"unknown"!==a?`:${t}:${a}`:a;x=x.toLowerCase();for(const j of h)ga[`${x}|${j.toLowerCase()}`]=e}}function iu(e){const t=yc();return t?Zf(t.sanitize(No.HTML,e)||""):Ii(e,"HTML")?Zf(rc(e)):ld(ra(),(0,m.eFE)(e))}function cd(e){const t=yc();return t?t.sanitize(No.STYLE,e)||"":Ii(e,"Style")?rc(e):(0,m.eFE)(e)}function vc(e){const t=yc();return t?t.sanitize(No.URL,e)||"":Ii(e,"URL")?rc(e):Au((0,m.eFE)(e))}function tl(e){const t=yc();if(t)return Pc(t.sanitize(No.RESOURCE_URL,e)||"");if(Ii(e,"ResourceURL"))return Pc(rc(e));throw new m.buA(904,!1)}function xl(e){const t=yc();if(t)return Jc(t.sanitize(No.SCRIPT,e)||"");if(Ii(e,"Script"))return Jc(rc(e));throw new m.buA(905,!1)}const ih={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function Jd(e,t,i){return function Qd(e,t){return!0===ih[e.toLowerCase()]?.[t.toLowerCase()]?tl:vc}(t,i)(e)}function yc(){const e=(0,m.OAn)();return e&&e[m.M0L].sanitizer}const qd=["attributeName","attributename"],bc=new Set(["href","xlink:href"]),dd={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},":svg:animate":{attributename:!0,to:bc,values:bc,from:bc},":svg:set":{attributename:!0,to:bc},":svg:animatemotion":{attributename:!0},":svg:animatetransform":{attributename:!0}};function ou(e,t,i){const a=t.toLowerCase(),h=i.toLowerCase(),j=-1===(0,m._px)()?null:(0,m.CpD)();if(j&&2!==j.type)return e;const fe=":"!==a[0]&&j?.namespace?`:${j.namespace}:${a}`:a,ye=dd[fe]?.[h];if(!ye)return e;const Ne=(0,m.OAn)();if(j&&"iframe"===a&&function sc(e){const t=(0,m.OAn)();e.src="",e.srcdoc=Du(""),hl(t[m.GpT],e)}((0,m.d31)(j,Ne)),":"===t[0]&&t.split(":").pop(),"boolean"!=typeof ye){if(!j)throw new m.buA(-910,!1);if(function Mp(e,t){for(const i of qd){const a=e.getAttribute(i);if(null!==a&&t.has(a.toLowerCase()))return a}return null}((0,m.d31)(j,Ne),ye))throw new m.buA(-910,!1);return e}throw new m.buA(-910,!1)}function Bu(e){return e.ownerDocument.defaultView}function Uu(e){return e.ownerDocument}function ac(e){return e instanceof Function?e():e}function nf(e){if(!(0,m.xUg)(e))throw new m.buA(906,`The ${(0,m.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function of(e,t,i){let a=e.length;for(;;){const h=e.indexOf(t,i);if(-1===h)return h;if(0===h||e.charCodeAt(h-1)<=32){const x=t.length;if(h+x===a||e.charCodeAt(h+x)<=32)return h}i=h+1}}const sf="ng-template";function cu(e,t,i,a){let h=0;if(a){for(;h<t.length&&"string"==typeof t[h];h+=2)if("class"===t[h]&&-1!==of(t[h+1].toLowerCase(),i,0))return!0}else if(af(e))return!1;if(h=t.indexOf(1,h),h>-1){let x;for(;++h<t.length&&"string"==typeof(x=t[h]);)if(x.toLowerCase()===i)return!0}return!1}function af(e){return 4===e.type&&e.value!==sf}function xm(e,t,i){return t===(4!==e.type||i?e.value:sf)}function Wi(e,t,i){let a=4;const h=e.attrs,x=null!==h?function Pp(e){for(let t=0;t<e.length;t++)if(Ar(e[t]))return t;return e.length}
vendor: 6,221 bytes, line 1
1(h):0;let j=!1;for(let fe=0;fe<t.length;fe++){const ye=t[fe];if("number"!=typeof ye){if(!j)if(4&a){if(a=2|1&a,""!==ye&&!xm(e,ye,i)||""===ye&&1===t.length){if(Mo(a))return!1;j=!0}}else if(8&a){if(null===h||!cu(e,h,ye,i)){if(Mo(a))return!1;j=!0}}else{const Ne=t[++fe],Qe=Tp(ye,h,af(e),i);if(-1===Qe){if(Mo(a))return!1;j=!0;continue}if(""!==Ne){let Mt;if(Mt=Qe>x?"":h[Qe+1].toLowerCase(),2&a&&Ne!==Mt){if(Mo(a))return!1;j=!0}}}}else{if(!j&&!Mo(a)&&!Mo(ye))return!1;if(j&&Mo(ye))continue;j=!1,a=ye|1&a}}return Mo(a)||j}function Mo(e){return!(1&e)}function Tp(e,t,i,a){if(null===t)return-1;let h=0;if(a||!i){let x=!1;for(;h<t.length;){const j=t[h];if(j===e)return h;if(3===j||6===j)x=!0;else{if(1===j||2===j){let fe=t[++h];for(;"string"==typeof fe;)fe=t[++h];continue}if(4===j)break;if(0===j){h+=4;continue}}h+=x?1:2}return-1}return function Sm(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const a=e[i];if("number"==typeof a)return-1;if(a===t)return i;i++}return-1}(t,e)}function ah(e,t,i=!1){for(let a=0;a<t.length;a++)if(Wi(e,t[a],i))return!0;return!1}function Dm(e,t){e:for(let i=0;i<t.length;i++){const a=t[i];if(e.length===a.length){for(let h=0;h<e.length;h++)if(e[h]!==a[h])continue e;return!0}}return!1}function lh(e,t){return e?":not("+t.trim()+")":t}function Ap(e){let t=e[0],i=1,a=2,h="",x=!1;for(;i<e.length;){let j=e[i];if("string"==typeof j)if(2&a){const fe=e[++i];h+="["+j+(fe.length>0?'="'+fe+'"':"")+"]"}else 8&a?h+="."+j:4&a&&(h+=" "+j);else""!==h&&!Mo(j)&&(t+=lh(x,h),h=""),a=j,x=x||!Mo(a);i++}return""!==h&&(t+=lh(x,h)),t}const Ko={};function ch(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=m.Yw1+a,on=Mt+h,ln=function hd(e,t){const i=[];for(let a=0;a<t;a++)i.push(a<e?null:Ko);return i}(Mt,on),Hn="function"==typeof Ne?Ne():Ne;return ln[m.eDl]={type:e,blueprint:ln,template:i,queries:null,viewQuery:fe,declTNode:t,data:ln.slice().fill(null,Mt),bindingStartIndex:Mt,expandoStartIndex:on,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof x?x():x,pipeRegistry:"function"==typeof j?j():j,firstChild:null,schemas:ye,consts:Hn,incompleteFirstPass:!1,ssrId:Qe}}function Nc(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ch(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function lc(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=t.blueprint.slice();return Mt[m.jgP]=h,Mt[m.Wg1]=1228|a,(null!==Ne||e&&2048&e[m.Wg1])&&(Mt[m.Wg1]|=2048),(0,m.HUe)(Mt),Mt[m.f7T]=Mt[m.X5O]=e,Mt[m.SKP]=i,Mt[m.M0L]=j||e&&e[m.M0L],Mt[m.GpT]=fe||e&&e[m.GpT],Mt[m.YEL]=ye||e&&e[m.YEL]||null,Mt[m.qlT]=x,Mt[m.ID]=function zo(){return Us++}(),Mt[m.tcA]=Qe,Mt[m.oMQ]=Ne,Mt[m.b5C]=2==t.type?e[m.b5C]:Mt,Mt}function uh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Cc(e,t,i,a){if(0===i)return-1;const h=t.length;for(let x=0;x<i;x++)t.push(a),e.blueprint.push(a),e.data.push(null);return h}function lf(e,t){return e[m.EJG]?e[m.Yrj][m.K29]=t:e[m.EJG]=t,e[m.Yrj]=t,t}function dh(e=1){fh((0,m.klJ)(),(0,m.OAn)(),(0,m._px)()+e,!1)}function fh(e,t,i,a){if(!a)if(3&~t[m.Wg1]){const x=e.preOrderHooks;null!==x&&ti(t,x,0,i)}else{const x=e.preOrderCheckHooks;null!==x&&_i(t,x,i)}(0,m.ypq)(i)}var cf=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(cf||{});function uf(e,t,i,a){const h=(0,Jn.Ht)(null);try{const[x,j,fe]=e.inputs[i];let ye=null;0!==(j&cf.SignalBased)&&(ye=t[x][Jn.bh]),null!==ye&&void 0!==ye.transformFn?a=ye.transformFn(a):null!==fe&&(a=fe.call(t,a)),null!==e.setInput?e.setInput(t,ye,a,i,x):un(t,ye,x,a)}finally{(0,Jn.Ht)(h)}}var du=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(du||{});let hh;function df(e,t){return hh(e,t)}function pd(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Bc(e,t){return e.getPropertyValue(t).split(",").map(a=>a.trim())}function mh(e,t){return void 0!==e&&e.duration>t.duration}function F(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function g(e,t,i){if(!i)return;const a=e.getAnimations();return 0===a.length?function v(e,t){const i=getComputedStyle(e),a=function Im(e){const t=Bc(e,"animation-name"),i=Bc(e,"animation-delay"),a=Bc(e,"animation-duration"),h={animationName:"",propertyName:void 0,duration:0};for(let x=0;x<t.length;x++){const j=pd(i[x])+pd(a[x]);j>h.duration&&(h.animationName=t[x],h.duration=j)}return h}(i),h=function kp(e){const t=Bc(e,"transition-property"),i=Bc(e,"transition-duration"),a=Bc(e,"transition-delay"),h={propertyName:"",duration:0,animationName:void 0};for(let x=0;x<t.length;x++){const j=pd(a[x])+pd(i[x]);j>h.duration&&(h.propertyName=t[x],h.duration=j)}return h}(i),x=a.duration>h.duration?a:h;mh(t.get(e),x)||F(x)&&t.set(e,x)}(e,t):function D(e,t,i){let a={animationName:void 0,propertyName:void 0,duration:0};for(const h of i){const x=h.effect?.getTiming(),j="number"==typeof x?.duration?x.duration:0;let ye,Ne,fe=(x?.delay??0)+j;h.animationName?Ne=h.animationName:ye=h.transitionProperty,fe>=a.duration&&(a={animationName:Ne,propertyName:ye,duration:fe})}mh(t.get(e),a)||F(a)&&t.set(e,a)}(e,t,a)}const G=new Set;var le=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(le||{});const Le=new m.nKC(""),We=new Set;function ze(e){We.has(e)||(We.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const ht=!1,rn=class cn extends ni.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,(0,m.M6u)()&&(this.destroyRef=(0,m.WQX)(m.abz,{optional:!0})??void 0,this.pendingTasks=(0,m.WQX)(m.rev,{optional:!0})??void 0)}emit(t){const i=(0,Jn.Ht)(null);try{super.next(t)}finally{(0,Jn.Ht)(i)}}subscribe(t,i,a){let h=t,x=i||(()=>null),j=a;if(t&&"object"==typeof t){const ye=t;h=ye.next?.bind(ye),x=ye.error?.bind(ye),j=ye.complete?.bind(ye)}this.__isAsync&&(x=this.wrapInTimeout(x),h&&(h=this.wrapInTimeout(h)
vendor: 9,228 bytes, line 1
1),j&&(j=this.wrapInTimeout(j)));const fe=super.subscribe({next:h,error:x,complete:j});return t instanceof Br.yU&&t.add(fe),fe}wrapInTimeout(t){return i=>{const a=this.pendingTasks?.add();setTimeout(()=>{try{t(i)}finally{void 0!==a&&this.pendingTasks?.remove(a)}})}}};function zn(e){let t,i;function a(){e=m.lQ1;try{void 0!==i&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(i),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),a()}),"function"==typeof requestAnimationFrame&&(i=requestAnimationFrame(()=>{e(),a()})),()=>a()}function Mn(e){return queueMicrotask(()=>e()),()=>{e=m.lQ1}}const Un="isAngularZone",Cr=Un+"_ID";let wr=0;class qn{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new rn(!1);onMicrotaskEmpty=new rn(!1);onStable=new rn(!1);onError=new rn(!1);constructor(t){const{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:h=!1,scheduleInRootZone:x=ht}=t;if(typeof Zone>"u")throw new m.buA(908,!1);Zone.assertZonePatched();const j=this;j._nesting=0,j._outer=j._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(j._inner=j._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(j._inner=j._inner.fork(Zone.longStackTraceZoneSpec)),j.shouldCoalesceEventChangeDetection=!h&&a,j.shouldCoalesceRunChangeDetection=h,j.callbackScheduled=!1,j.scheduleInRootZone=x,function Xr(e){const t=()=>{!function Vr(e){function t(){zn(()=>{e.callbackScheduled=!1,jr(e),e.isCheckStableRunning=!0,Ir(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jr(e))}(e)},i=wr++;e._inner=e._inner.fork({name:"angular",properties:{[Un]:!0,[Cr]:i,[Cr+i]:!0},onInvokeTask:(a,h,x,j,fe,ye)=>{if(function Nr(e){return ys(e,"__ignore_ng_zone__")}(ye))return a.invokeTask(x,j,fe,ye);try{return ar(e),a.invokeTask(x,j,fe,ye)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===j.type||e.shouldCoalesceRunChangeDetection)&&t(),so(e)}},onInvoke:(a,h,x,j,fe,ye,Ne)=>{try{return ar(e),a.invoke(x,j,fe,ye,Ne)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Qi(e){return ys(e,"__scheduler_tick__")}(ye)&&t(),so(e)}},onHasTask:(a,h,x,j)=>{a.hasTask(x,j),h===x&&("microTask"==j.change?(e._hasPendingMicrotasks=j.microTask,jr(e),Ir(e)):"macroTask"==j.change&&(e.hasPendingMacrotasks=j.macroTask))},onHandleError:(a,h,x,j)=>(a.handleError(x,j),e.runOutsideAngular(()=>e.onError.emit(j)),!1)})}(j)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Un)}static assertInAngularZone(){if(!qn.isInAngularZone())throw new m.buA(909,!1)}static assertNotInAngularZone(){if(qn.isInAngularZone())throw new m.buA(909,!1)}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,h){const x=this._inner,j=x.scheduleEventTask("NgZoneEvent: "+h,t,hr,m.lQ1,m.lQ1);try{return x.runTask(j,i,a)}finally{x.cancelTask(j)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const hr={};function Ir(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jr(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function ar(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function so(e){e._nesting--,Ir(e)}class Qr{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new rn;onMicrotaskEmpty=new rn;onStable=new rn;onError=new rn;run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,h){return t.apply(i,a)}}function ys(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}function Qo(e="zone.js",t){return"noop"===e?new Qr:"zone.js"===e?new qn(t):e}let qr=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const yr=[0,1,2,3];let Fr=(()=>{class e{ngZone=(0,m.WQX)(qn);scheduler=(0,m.WQX)(m.hk6);errorHandler=(0,m.WQX)(m.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,m.WQX)(Le,{optional:!0})}execute(){const i=this.sequences.size>0;i&&ei(16),this.executing=!0;for(const a of yr)for(const h of this.sequences)if(!h.erroredOrDestroyed&&h.hooks[a])try{h.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,h.hooks[a])(h.pipelinedValue),h.snapshot))}catch(x){h.erroredOrDestroyed=!0,this.errorHandler?.handleError(x)}this.executing=!1;for(const a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(const a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),i&&ei(17)}register(i){const{view:a}=i;void 0!==a?((a[m.JEi]??=[]).push(i),(0,m.blu)(a),a[m.Wg1]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(le.AFTER_NEXT_RENDER,i):i()}static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class br{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,i,a,h,x,j=null){this.impl=t,this.hooks=i,this.view=a,this.once=h,this.snapshot=j,this.unregisterOnDestroy=x?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[m.JEi];t&&(this.view[m.JEi]=t.filter(i=>i!==this))}}function co(e,t){const i=t?.injector??(0,m.WQX)(m.zZn);return ze("NgAfterNextRender"),lt(e,i,t,!0)}function lt(e,t,i,a){const h=t.get(qr);h.impl??=t.get(Fr);const x=t.get(Le,null,{optional:!0}),j=!0!==i?.manualCleanup?t.get(m.abz):null,fe=t.get(m.r4V,null,{optional:!0}),ye=new br(h.impl,function P(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),fe?.view,a,j,x?.snapshot(null));return h.impl.register(ye),ye}const I={destroy(){}},pe=new m.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ge(e,t,i){const a=e.get(pe);if(Array.isArray(t))for(const h of t)a.queue.add(h),i?.detachedLeaveAnimationFns?.push(h);else a.queue.add(t),i?.detachedLeaveAnimationFns?.push(t);a.scheduler&&a.scheduler(e)}function sr(e){const t=e.get(pe);t.isScheduled||(co(()=>{t.isScheduled=!1;for(let i of t.queue)i();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function Mi(e){const t=e.get(pe);t.scheduler=sr,t.scheduler(e)}function Rs(e,t){for(const[i,a]of t)ge(e,a.animateFns)}function Sl(e,t,i,a){const h=e?.[m.Isx]?.enter;null!==t&&h&&h.has(i.index)&&Rs(a,h)}function Zl(e,t,i,a,h,x,j,fe){if(null!=h){let ye,Ne=!1;(0,m.A0l)(h)?ye=h:(0,m.q$2)(h)&&(Ne=!0,h=h[m.jgP]);const Qe=(0,m.IvY)(h);0===e&&null!==a?(Sl(fe,a,x,i),null==j?Hl(t,a,Qe):Ml(t,a,Qe,j||null,!0)):1===e&&null!==a?(Sl(fe,a,x,i),Ml(t,a,Qe,j||null,!0)):2===e?p1(fe,x,i,Mt=>{hl(t,Qe,Ne,Mt)}):3===e&&p1(fe,x,i,()=>{t.destroyNode(Qe)}),null!=ye&&function Gy(e,t,i,a,h,x,j){const fe=a[m.s6P];fe!==(0,m.IvY)(a)&&Zl(t,e,i,x,fe,h,j);for(let Ne=m.Y20;Ne<a.length;Ne++){const Qe=a[Ne];Fp(Qe[m.eDl],Qe,e,t,x,fe)}}(t,e,i,ye,x,a,j)}}function fu(e,t){ff(e,t),t[m.jgP]=null,t[m.qlT]=null}function ff(e,t){t[m.M0L].changeDetectionScheduler?.notify(9),Fp(e,t,t[m.GpT],2,null,null)}function gh(e,t){const i=e[m.nfM],a=i.indexOf(t);i.splice(a,1)}function md(e,t){if((0,m.EPY)(t))return;const i=t[m.GpT];i.destroyNode&&Fp(e,t,i,3,null,null),function f1(e){let t=e[m.EJG];if(!t)return h1(e[m.eDl],e);for(;t;){let i=null;if((0,m.q$2)(t))i=t[m.EJG];else{const a=t[m.Y20];a&&(i=a)}if(!i){for(;t&&!t[m.K29]&&t!==e;)(0,m.q$2)(t)&&h1(t[m.eDl],t),t=t[m.f7T];null===t&&(t=e),(0,m.q$2)(t)&&h1(t[m.eDl],t),i=t&&t[m.K29]}t=i}}(t)}function h1(e,t){if((0,m.EPY)(t))return;const i=(0,Jn.Ht)(null);try{t[m.Wg1]&=-129,t[m.Wg1]|=256,t[m.Iaj]&&(0,Jn.XR)(t[m.Iaj]),function Ql(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a<i.length;a+=2){const h=t[i[a]];if(!(h instanceof Yt)){const x=i[a+1];if(Array.isArray(x))for(let j=0;j<x.length;j+=2){const fe=h[x[j]],ye=x[j+1];ei(4,fe,ye);try{ye.call(fe)}finally{ei(5,fe,ye)}}else{ei(4,h,x);try{x.call(h)}finally{ei(5,h,x)}}}}}(e,t),function Ji(e,t){const i=e.cleanup,a=t[m.VVG];if(null!==i)for(let j=0;j<i.length-1;j+=2)if("string"==typeof i[j]){const fe=i[j+3];fe>=0?a[fe]():a[-fe].unsubscribe(),j+=2}else i[j].call(a[i[j+1]]);null!==a&&(t[m.VVG]=null);const h=t[m.Czx];if(null!==h){t[m.Czx]=null;for(let j=0;j<h.length;j++)(0,h[j])()}const x=t[m.tQN];if(null!==x){t[m.tQN]=null;for(const j of x)j.destroy()}}(e,t),1===t[m.eDl].type&&t[m.GpT].destroy();const a=t[m.rQE];
vendor: 13,774 bytes, line 1
1if(null!==a&&(0,m.A0l)(t[m.f7T])){a!==t[m.f7T]&&gh(a,t);const h=t[m.Ds7];null!==h&&h.detachView(e)}Ks(t)}finally{(0,Jn.Ht)(i)}}function p1(e,t,i,a){const h=e?.[m.Isx];if(null==h||null==h.leave||!h.leave.has(t.index))return a(!1);e&&G.add(e),ge(i,()=>{if(h.leave&&h.leave.has(t.index)){const j=h.leave.get(t.index),fe=[];if(j){for(let ye=0;ye<j.animateFns.length;ye++){const Ne=j.animateFns[ye],{promise:Qe}=Ne();fe.push(Qe)}h.detachedLeaveAnimationFns=void 0}h.running=Promise.allSettled(fe),function Ro(e,t){const i=e[m.Isx]?.running;i?i.then(()=>{e[m.Isx].running=void 0,G.delete(e),t(!0)}):t(!1)}(e,a)}else e&&G.delete(e),a(!1)},h)}function Uc(e,t,i){return hf(e,t.parent,i)}function hf(e,t,i){let a=t;for(;null!==a&&168&a.type;)a=(t=a).parent;if(null===a)return i[m.jgP];if((0,m.Qs1)(a)){const{encapsulation:h}=e.data[a.directiveStart+a.componentOffset];if(h===_s.None||h===_s.Emulated)return null}return(0,m.d31)(a,i)}function pf(e,t,i){return g1(e,t,i)}function m1(e,t,i){return 40&e.type?(0,m.d31)(e,i):null}let _1,g1=m1;function v1(e,t){g1=e,_1=t}function y1(e,t,i,a){const h=Uc(e,a,t),x=t[m.GpT],fe=pf(a.parent||t[m.qlT],a,t);if(null!=h)if(Array.isArray(i))for(let ye=0;ye<i.length;ye++)fl(x,h,i[ye],fe,!1);else fl(x,h,i,fe,!1);void 0!==_1&&_1(x,a,t,i,h)}function Vu(e,t){if(null!==t){const i=t.type;if(3&i)return(0,m.d31)(t,e);if(4&i)return Lp(-1,e[t.index]);if(8&i){const a=t.child;if(null!==a)return Vu(e,a);{const h=e[t.index];return(0,m.A0l)(h)?Lp(-1,h):(0,m.IvY)(h)}}if(128&i)return Vu(e,t.next);if(32&i)return df(t,e)()||(0,m.IvY)(e[t.index]);{const a=a_(e,t);return null!==a?Array.isArray(a)?a[0]:Vu((0,m._0$)(e[m.b5C]),a):Vu(e,t.next)}}return null}function a_(e,t){return null!==t?e[m.b5C][m.qlT].projection[t.projection]:null}function Lp(e,t){const i=m.Y20+e+1;if(i<t.length){const a=t[i],h=a[m.eDl].firstChild;if(null!==h)return Vu(a,h)}return t[m.s6P]}function b1(e,t,i,a,h,x,j){for(;null!=i;){const fe=a[m.YEL];if(128===i.type){i=i.next;continue}const ye=a[i.index],Ne=i.type;if(j&&0===t&&(ye&&_o((0,m.IvY)(ye),a),i.flags|=2),!fo(i))if(8&Ne)b1(e,t,i.child,a,h,x,!1),Zl(t,e,fe,h,ye,i,x,a);else if(32&Ne){const Qe=df(i,a);let Mt;for(;Mt=Qe();)Zl(t,e,fe,h,Mt,i,x,a);Zl(t,e,fe,h,ye,i,x,a)}else 16&Ne?_h(e,t,a,i,h,x):Zl(t,e,fe,h,ye,i,x,a);i=j?i.projectionNext:i.next}}function Fp(e,t,i,a,h,x){b1(i,a,e.firstChild,t,h,x,!1)}function _h(e,t,i,a,h,x){const j=i[m.b5C],ye=j[m.qlT].projection[a.projection];if(Array.isArray(ye))for(let Ne=0;Ne<ye.length;Ne++)Zl(t,e,i[m.YEL],h,ye[Ne],a,x,i);else{let Ne=ye;const Qe=j[m.f7T];ir(a)&&(Ne.flags|=128),b1(e,t,Ne,Qe,h,x,!0)}}function ko(e,t,i,a,h){const x=(0,m._px)(),j=2&a;try{(0,m.ypq)(-1),j&&t.length>m.Yw1&&fh(e,t,m.Yw1,!1),ei(j?2:0,h,i),i(a,h)}finally{(0,m.ypq)(x),ei(j?3:1,h,i)}}function cc(e,t,i){(function qy(e,t,i){const a=i.directiveStart,h=i.directiveEnd;(0,m.Qs1)(i)&&function Om(e,t,i){const a=(0,m.d31)(t,e),h=Nc(i),x=e[m.M0L].rendererFactory,j=lf(e,lc(e,h,null,uh(i),a,t,null,x.createRenderer(a,i),null,null,null));e[t.index]=j}(t,i,e.data[a+i.componentOffset]),e.firstCreatePass||no(i,t);const x=i.initialInputs;for(let j=a;j<h;j++){const fe=e.data[j],ye=gn(t,e,j,i);_o(ye,t),null!==x&&n3(0,j-a,ye,fe,0,x),(0,m.JlV)(fe)&&((0,m.KdJ)(i.index,t)[m.SKP]=gn(t,e,j,i))}})(e,t,i),!(64&~i.flags)&&function f_(e,t,i){const a=i.directiveStart,h=i.directiveEnd,x=i.index,j=(0,m.Z9v)();try{(0,m.ypq)(x);for(let fe=a;fe<h;fe++){const ye=e.data[fe],Ne=t[fe];(0,m.RZ9)(fe),(null!==ye.hostBindings||0!==ye.hostVars||null!==ye.hostAttrs)&&e3(ye,Ne)}}finally{(0,m.ypq)(-1),(0,m.RZ9)(j)}}(e,t,i)}function hu(e,t,i=m.d31){const a=t.localNames;if(null!==a){let h=t.index+1;for(let x=0;x<a.length;x+=2){const j=a[x+1],fe=-1===j?i(t,e):e[j];e[h++]=fe}}}let u_=()=>null;function C1(e,t,i,a,h,x){Fm(e,t[m.eDl],t,i,a)?(0,m.Qs1)(e)&&d_(t,e.index):(3&e.type&&(i=function Jy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i)),Pm(e,t,i,a,h,x))}function Pm(e,t,i,a,h,x){if(3&e.type){const j=(0,m.d31)(e,t);a=null!=x?x(a,e.value||"",i):a,h.setProperty(j,i,a)}}function d_(e,t){const i=(0,m.KdJ)(t,e);16&i[m.Wg1]||(i[m.Wg1]|=64)}function e3(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function E1(e,t){const i=e.directiveRegistry;let a=null;if(i)for(let h=0;h<i.length;h++){const x=i[h];ah(t,x.selectors,!1)&&(a??=[],(0,m.JlV)(x)?a.unshift(x):a.push(x))}return a}function Am(e,t,i,a,h,x,j){if(null==x)e.removeAttribute(t,h,i);else{const fe=null==j?(0,m.eFE)(x):j(x,a||"",h);e.setAttribute(t,h,fe,i)}}function n3(e,t,i,a,h,x){const j=x[t];if(null!==j)for(let fe=0;fe<j.length;fe+=2)uf(a,i,j[fe],j[fe+1])}function Rm(e,t,i,a,h){const x=m.Yw1+i,j=t[m.eDl],fe=h(j,t,e,a,i);t[x]=fe,(0,m.iMd)(e,!0);const ye=2===e.type;return ye?(oc(t[m.GpT],fe,e),(0===(0,m.znI)()||(0,m.yoD)(e))&&_o(fe,t),(0,m.Fje)()):_o(fe,t),(0,m.SX7)()&&(!ye||!fo(e))&&y1(j,t,fe,e),e}function km(e){let t=e;return(0,m.YWB)()?(0,m.Pfq)():(t=t.parent,(0,m.iMd)(t,!1)),t}function Bp(e,t,i){return(null===e||(0,m.JlV)(e))&&(i=(0,m.zAe)(i[t.index])),i[m.GpT]}function Lm(e,t){const i=e[m.YEL];if(!i)return;let a;try{a=i.get(m.ZTf,null)}catch{a=null}a?.(t)}function Fm(e,t,i,a,h){const x=e.inputs?.[a],j=e.hostDirectiveInputs?.[a];let fe=!1;if(j)for(let ye=0;ye<j.length;ye+=2){const Ne=j[ye];uf(t.data[Ne],i[Ne],j[ye+1],h),fe=!0}if(x)for(const ye of x)uf(t.data[ye],i[ye],a,h),fe=!0;return fe}function vh(e,t){const i=(0,m.KdJ)(t,e),a=i[m.eDl];!function i3(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(a,i);const h=i[m.jgP];null!==h&&null===i[m.tcA]&&(i[m.tcA]=null),ei(18),gf(a,i,i[m.SKP]),ei(19,i[m.SKP])}function gf(e,t,i){(0,m.ID8)(t);try{const a=e.viewQuery;null!==a&&kr(1,a,i);const h=e.template;null!==h&&ko(e,t,h,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),t[m.Ds7]?.finishViewCreation(e),e.staticContentQueries&&tr(e,t),e.staticViewQueries&&kr(2,e.viewQuery,i);const x=e.components;null!==x&&function o3(e,t){for(let i=0;i<t.length;i++)vh(e,t[i])}(t,x)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[m.Wg1]&=-5,(0,m.bll)()}}function _f(e,t,i,a){const h=(0,Jn.Ht)(null);try{const x=t.tView,ye=lc(e,x,i,4096&e[m.Wg1]?4096:16,null,t,null,null,a?.injector??null,a?.embeddedViewInjector??null,a?.dehydratedView??null);ye[m.rQE]=e[t.index];const Qe=e[m.Ds7];return null!==Qe&&(ye[m.Ds7]=Qe.createEmbeddedView(x)),gf(x,ye,i),ye}finally{(0,Jn.Ht)(h)}}function vf(e,t){return!t||null===t.firstChild||ir(e)}function yh(e,t,i,a,h=!1){for(;null!==i;){if(128===i.type){i=h?i.projectionNext:i.next;continue}const x=t[i.index];null!==x&&a.push((0,m.IvY)(x)),(0,m.A0l)(x)&&h_(x,a);const j=i.type;if(8&j)yh(e,t,i.child,a);else if(32&j){const fe=df(i,t);let ye;for(;ye=fe();)a.push(ye)}else if(16&j){const fe=a_(t,i);if(Array.isArray(fe))a.push(...fe);else{const ye=(0,m._0$)(t[m.b5C]);yh(ye[m.eDl],ye,fe,a,!0)}}i=h?i.projectionNext:i.next}return a}function h_(e,t){for(let i=m.Y20;i<e.length;i++){const a=e[i],h=a[m.eDl].firstChild;null!==h&&yh(a[m.eDl],a,h,t)}e[m.s6P]!==e[m.jgP]&&t.push(e[m.s6P])}function p_(e){if(null!==e[m.JEi]){for(const t of e[m.JEi])t.impl.addSequence(t);e[m.JEi].length=0}}let m_=[];const v_={...Jn.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,m.blu)(e.lView)},consumerOnSignalRead(){this.lView[m.Iaj]=this}},y_={...Jn.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,m._0$)(e.lView);for(;t&&!b_(t[m.eDl]);)t=(0,m._0$)(t);t&&(0,m.HAh)(t)},consumerOnSignalRead(){this.lView[m.Iaj]=this}};function b_(e){return 2!==e.type}function C_(e){if(null===e[m.tQN])return;let t=!0;for(;t;){let i=!1;for(const a of e[m.tQN])a.dirty&&(i=!0,null===a.zone||Zone.current===a.zone?a.run():a.zone.run(()=>a.run()));t=i&&!!(8192&e[m.Wg1])}}function Nm(e,t=0){const a=e[m.M0L].rendererFactory;a.begin?.();try{!function u3(e,t){const i=(0,m.yP_)();try{(0,m.cBl)(!0),pu(e,t);let a=0;for(;(0,m.dMS)(e);){if(100===a)throw new m.buA(103,!1);a++,pu(e,1)}}finally{(0,m.cBl)(i)}}(e,t)}finally{a.end?.()}}function Up(e,t,i,a){if((0,m.EPY)(t))return;const h=t[m.Wg1];(0,m.ID8)(t);let fe=!0,ye=null,Ne=null;b_(e)?(Ne=function g_(e){return e[m.Iaj]??function __(e){const t=m_.pop()??Object.create(v_);return t.lView=e,t}(e)}(t),ye=(0,Jn.Bg)(Ne)):null===(0,Jn.nR)()?(fe=!1,Ne=function l3(e){const t=e[m.Iaj]??Object.create(y_);return t.lView=e,t}(t),ye=(0,Jn.Bg)(Ne)):t[m.Iaj]&&((0,Jn.XR)(t[m.Iaj]),t[m.Iaj]=null);try{(0,m.HUe)(t),(0,m.Kw3)(e.bindingStartIndex),null!==i&&ko(e,t,i,2,a);const Qe=!(3&~h);if(Qe){const ln=e.preOrderCheckHooks;null!==ln&&_i(t,ln,null)}else{const ln=e.preOrderHooks;null!==ln&&ti(t,ln,0,null),Uo(t,0)}if(function Um(e){for(let t=Mr(e);null!==t;t=Or(t)){if(!(2&t[m.Wg1]))continue;const i=t[m.nfM];for(let a=0;a<i.length;a++)(0,m.HAh)(i[a])}}(t),C_(t),Bm(t,0),null!==e.contentQueries&&tr(e,t),Qe){const ln=e.contentCheckHooks;null!==ln&&_i(t,ln)}else{const ln=e.contentHooks;null!==ln&&ti(t,ln,1),Uo(t,1)}!function E_(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let a=0;a<i.length;a++){const h=i[a];if(h<0)(0,m.ypq)(~h);else{const x=h,j=i[++a],fe=i[++a];(0,m.vQI)(j,x);const ye=t[x];ei(24,ye),fe(2,ye),ei(25,ye)}}}finally{(0,m.ypq)(-1)}}(e,t);const Mt=e.components;null!==Mt&&S1(t,Mt,0);const on=e.viewQuery;if(null!==on&&kr(2,on,a),Qe){const ln=e.viewCheckHooks;null!==ln&&_i(t,ln)}else{const ln=e.viewHooks;null!==ln&&ti(t,ln,2),Uo(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[m.pcR]){for(const ln of t[m.pcR])ln();t[m.pcR]=null}p_(t),t[m.Wg1]&=-73}catch(Qe){throw(0,m.blu)(t),Qe}finally{null!==Ne&&((0,Jn.Wu)(Ne,ye),fe&&function a3(e){e.lView[m.Iaj]!==e&&(e.lView=null,m_.push(e))}(Ne)),(0,m.bll)()}}function Bm(e,t){for(let i=Mr(e);null!==i;i=Or(i))for(let a=m.Y20;a<i.length;a++)Ec(i[a],t)}function x1(e,t,i){ei(18);const a=(0,m.KdJ)(t,e);Ec(a,i),ei(19,a[m.SKP])}function Ec(e,t){(0,m.F1c)(e)&&pu(e,t)}function pu(e,t){const a=e[m.eDl],h=e[m.Wg1],x=e[m.Iaj];let j=!!(0===t&&16&h);if(j||=!!(64&h&&0===t),j||=!!(1024&h),j||=!(!x?.dirty||!(0,Jn.si)(x)),j||=!1,x&&(x.dirty=!1),e[m.Wg1]&=-9217,j)Up(a,e,a.template,e[m.SKP]);else if(8192&h){const fe=(0,Jn.Ht)(null);try{C_(e),Bm(e,1);const ye=a.components;null!==ye&&S1(e,ye,1),p_(e)}finally{(0,Jn.Ht)(fe)}}}function S1(e,t,i){for(let a=0;a<t.length;a++)x1(e,t[a],i)}function yf(e,t){const i=(0,m.yP_)()?64:1088;for(e[m.M0L].changeDetectionScheduler?.notify(t);e;){e[m.Wg1]|=i;const a=(0,m._0$)(e);if((0,m.EFk)(e)&&!a)return e;e=a}return null}function Vp(e,t,i,a){return[e,!0,0,t,null,a,null,i,null,null]}function w_(e,t){const i=m.Y20+t;if(i<e.length)return e[i]}function gd(e,t,i,a=!0){const h=t[m.eDl];if(function D1(e,t,i,a){const h=m.Y20+a,x=i.length;a>0&&(i[h-1][m.K29]=t),a<x-m.Y20?(t[m.K29]=i[h],(0,m.EYC)(i,m.Y20+a,t)):(i.push(t),t[m.K29]=null),t[m.f7T]=i;const j=t[m.rQE];null!==j&&i!==j&&O1(j,t);const fe=t[m.Ds7];null!==fe&&fe.insertView(e),(0,m._gW)(t),t[m.Wg1]|=128}(h,t,e,i),a){const j=Lp(i,e),fe=t[m.GpT],ye=fe.parentNode(e[m.s6P]);null!==ye&&function Tm(e,t,i,a,h,x){a[m.jgP]=h,a[m.qlT]=t,Fp(e,a,i,1,h,x)}(h,e[m.qlT],fe,t,ye,j)}const x=t[m.tcA];null!==x&&null!==x.firstChild&&(x.firstChild=null)}function jp(e,t){const i=wc(e,t);return void 0!==i&&md(i[m.eDl],i),i}function wc(e,t){if(e.length<=m.Y20)return;const i=m.Y20+t,a=e[i];if(a){const h=a[m.rQE];null!==h&&h!==e&&gh(h,a),t>0&&(e[i-1][m.K29]=a[m.K29]);const x=(0,m.E6O)(e,m.Y20+t);fu(a[m.eDl],a);const j=x[m.Ds7];null!==j&&j.detachView(x[m.eDl]),a[m.f7T]=null,a[m.K29]=null,a[m.Wg1]&=-129}return a}function O1(e,t){const i=e[m.nfM],a=t[m.f7T];((0,m.q$2)(a)||t[m.b5C]!==a[m.f7T][m.b5C])&&(e[m.Wg1]|=2),null===i?e[m.nfM]=[t]:i.push(t)}class Vm{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,i=t[m.eDl];return yh(i,t,i.firstChild,[])}constructor(t,i){this._lView=t,this._cdRefInjectingView=i}get context(){return this._lView[m.SKP]}set context(t){this._lView[m.SKP]=t}get destroyed(){return(0,m.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[m.f7T];if((0,m.A0l)(t)){const i=t[m.bm_],a=i?i.indexOf(this):-1;a>-1&&(wc(t,a),(0,m.E6O)(i,a))}this._attachedToViewContainer=!1}md(this._lView[m.eDl],this._lView)}onDestroy(t){(0,m.ik5)(this._lView,t)}markForCheck(){yf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[m.Wg1]&=-129}reattach(){(0,m._gW)(this._lView),this._lView[m.Wg1]|=128}detectChanges(){this._lView[m.Wg1]|=1024,Nm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,m.EFk)(this._lView),i=this._lView[m.rQE];null!==i&&!t&&gh(i,this._lView),ff(this._lView[m.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m.buA(902,!1);this._appRef=t;const i=(0,m.EFk)(this._lView),a=this._lView[m.rQE];null!==a&&!i&&O1(a,this._lView),(0,m._gW)(this._lView)}}let Hp=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=d3;constructor(i,a,h){this._declarationLView=i,this._declarationTContainer=a,this.elementRef=h}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,a){return this.createEmbeddedViewImpl(i,a)}createEmbeddedViewImpl(i,a,h){const x=_f(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:a,dehydratedView:h});return new Vm(x)}})();function d3(){return jm((0,m.Mx4)(),(0,m.OAn)())}function jm(e,t){return 4&e.type?new Hp(t,e,Zi(e,t)):null}function zm(e,t,i){const a=t.insertBeforeIndex,h=Array.isArray(a)?a[0]:a;return null===h?m1(e,0,i):(0,m.IvY)(i[h])}function ju(e,t,i,a,h){const x=t.insertBeforeIndex;if(Array.isArray(x)){let j=a,fe=null;
vendor: 5,680 bytes, line 1
1if(3&t.type||(fe=j,j=h),null!==j&&-1===t.componentOffset)for(let ye=1;ye<x.length;ye++)Ml(e,j,i[x[ye]],fe,!1)}}function _d(e,t,i,a,h){let x=e.data[t];if(null===x)x=R1(e,t,i,a,h),(0,m.JjR)()&&(x.flags|=32);else if(64&x.type){x.type=i,x.value=a,x.attrs=h;const j=(0,m.Ab)();x.injectorIndex=null===j?-1:j.injectorIndex}return(0,m.iMd)(x,!0),x}function R1(e,t,i,a,h){const x=(0,m.veI)(),j=(0,m.YWB)(),ye=e.data[t]=function D_(e,t,i,a,h,x){let j=t?t.injectorIndex:-1,fe=0;return(0,m.KtD)()&&(fe|=128),{type:i,index:a,insertBeforeIndex:null,injectorIndex:j,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:fe,providerIndexes:0,value:h,namespace:(0,m.UaU)(),attrs:x,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,j?x:x&&x.parent,i,t,a,h);return function k1(e,t,i,a){null===e.firstChild&&(e.firstChild=t),null!==i&&(a?null==i.child&&null!==t.parent&&(i.child=t):null===i.next&&(i.next=t,t.prev=i))}(e,ye,x,j),ye}function O_(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const a=e[i];$m(a)||Wm(a,t)&&null===Km(a)&&v3(a,t.index)}}function $m(e){return!(64&e.type)}function Wm(e,t){return $m(t)||e.index>t.index}function Km(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function v3(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(v1(zm,ju),e.insertBeforeIndex=t)}function zp(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function L1(e,t,i){const a=R1(e,i,64,null,null);return O_(t,a),a}function Ch(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function $p(e){return e>>>17}function I_(e){return(131070&e)>>>1}function F1(e,t,i){e.index=0;const a=Ch(t,i);e.removes=null!==a?t.remove[a]:m.Mlv}function Ym(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),F1(e,e.lView[m.eDl].data[~t],e.lView),Ym(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ym(e))}function P_(){const e={stack:[],index:-1};return function t(i,a){for(e.lView=a;e.stack.length;)e.stack.pop();return F1(e,i.value,a),Ym.bind(null,e)}}function z_(e,t,i){for(const a of i.node.cases[i.case]){const h=t.get(a.index-m.Yw1);h&&hl(e,h,!1)}}function Yp(e){const t=e[m.qFA]??[],a=e[m.f7T][m.GpT],h=[];for(const x of t)void 0!==x.data.di?h.push(x):mu(x,a);e[m.qFA]=h}function $_(e){const{lContainer:t}=e,i=t[m.qFA];if(null===i)return;const h=t[m.f7T][m.GpT];for(const x of i)mu(x,h)}function mu(e,t){let i=0,a=e.firstChild;if(a){const h=e.data.r;for(;i<h;){const x=a.nextSibling;hl(t,a,!1),a=x,i++}}}function gu(e){Yp(e);const t=e[m.jgP];(0,m.q$2)(t)&&Jm(t);for(let i=m.Y20;i<e.length;i++)Jm(e[i])}function Jm(e){!function W1(e){const t=e[m.tcA];if(t){const{i18nNodes:i,dehydratedIcuData:a}=t;if(i&&a){const h=e[m.GpT];for(const x of a.values())z_(h,i,x)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[m.eDl];for(let i=m.Yw1;i<t.bindingStartIndex;i++)(0,m.A0l)(e[i])?gu(e[i]):(0,m.q$2)(e[i])&&Jm(e[i])}let ng=class{},Z1=class{};class rg{resolveComponentFactory(t){throw new m.buA(917,!1)}}let vd=class{static NULL=new rg};class xh{}let ig=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function og(){const e=(0,m.OAn)(),t=(0,m.Mx4)(),i=(0,m.KdJ)(t.index,e);return((0,m.q$2)(i)?i:e)[m.GpT]}()})(),k3=(()=>{class e{static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function Q1(e){return void 0!==e.ngModule}function xf(e){return!!(0,m.phH)(e)}function sg(e){return!!(0,m.oyA)(e)}function G_(e){return!!(0,m.HaV)(e)}function Qp(e){return!!(0,m.xUg)(e)}function F3(e,t){if((0,m.Jzi)(e)&&!(e=(0,m.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,m.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,m.PP7)(e)||e}".`);if(null==(0,m.phH)(e)){const i=(0,m.xUg)(e)||(0,m.HaV)(e)||(0,m.oyA)(e);if(null==i)throw Q1(e)?new Error(`A module with providers was imported from "${(0,m.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,m.PP7)(e)}" type, imported from "${(0,m.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${(0,m.PP7)(e)}" ${function L3(e){return(0,m.xUg)(e)?"component":(0,m.HaV)(e)?"directive":(0,m.oyA)(e)?"pipe":"type"}(e)}, imported from "${(0,m.PP7)(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class N3{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const i=(0,m.phH)(t);if(i?.declarations)for(const a of ac(i.declarations))Qp(a)&&this.ownerNgModule.set(a,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,i){this.resolveNgModulesDecls();const a=(0,m.xUg)(t);if(null===a)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(a.standalone){const h=this.getStandaloneComponentScope(t,i);return h.compilation.isPoisoned?{dependencies:[]}
vendor: 18,642 bytes, line 1
1:{dependencies:[...h.compilation.directives,...h.compilation.pipes,...h.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const h=this.getNgModuleScope(this.ownerNgModule.get(t));return h.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...h.compilation.directives,...h.compilation.pipes]}}}registerNgModule(t,i){if(!xf(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const i=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,i),i}computeNgModuleScope(t){const i=(0,m.WbQ)(t),a={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const h of ac(i.imports))if(xf(h)){const x=this.getNgModuleScope(h);yd(x.exported.directives,a.compilation.directives),yd(x.exported.pipes,a.compilation.pipes)}else{if(!(0,m.QuC)(h)){a.compilation.isPoisoned=!0;break}if(G_(h)||Qp(h))a.compilation.directives.add(h);else{if(!sg(h))throw new m.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");a.compilation.pipes.add(h)}}if(!a.compilation.isPoisoned)for(const h of ac(i.declarations)){if(xf(h)||(0,m.QuC)(h)){a.compilation.isPoisoned=!0;break}sg(h)?a.compilation.pipes.add(h):a.compilation.directives.add(h)}for(const h of ac(i.exports))if(xf(h)){const x=this.getNgModuleScope(h);yd(x.exported.directives,a.exported.directives),yd(x.exported.pipes,a.exported.pipes),yd(x.exported.directives,a.compilation.directives),yd(x.exported.pipes,a.compilation.pipes)}else sg(h)?a.exported.pipes.add(h):a.exported.directives.add(h);return a}getStandaloneComponentScope(t,i){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const a=this.computeStandaloneComponentScope(t,i);return this.standaloneComponentsScopeCache.set(t,a),a}computeStandaloneComponentScope(t,i){const a={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const h of(0,m.Bqz)(i??[])){const x=(0,m.nl4)(h);try{F3(x,t)}catch{return a.compilation.isPoisoned=!0,a}if(xf(x)){a.compilation.ngModules.add(x);const j=this.getNgModuleScope(x);if(j.exported.isPoisoned)return a.compilation.isPoisoned=!0,a;yd(j.exported.directives,a.compilation.directives),yd(j.exported.pipes,a.compilation.pipes)}else if(sg(x))a.compilation.pipes.add(x);else{if(!G_(x)&&!Qp(x))return a.compilation.isPoisoned=!0,a;a.compilation.directives.add(x)}}return a}isOrphanComponent(t){const i=(0,m.xUg)(t);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function yd(e,t){for(const i of e)t.add(i)}const bd=new N3,Sh={};class Dh{injector;parentInjector;constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,a){const h=this.injector.get(t,Sh,a);return h!==Sh||i===Sh?h:this.parentInjector.get(t,i,a)}}function Jp(e,t,i){let a=i?e.styles:null,h=i?e.classes:null,x=0;if(null!==t)for(let j=0;j<t.length;j++){const fe=t[j];if("number"==typeof fe)x=fe;else if(1==x)h=(0,m.n$e)(h,fe);else if(2==x){const Ne=t[++j];a=(0,m.n$e)(a,fe+": "+Ne+";")}}i?e.styles=a:e.stylesWithoutHost=a,i?e.classes=h:e.classesWithoutHost=h}function Oh(e,t=0){const i=(0,m.OAn)();return null===i?(0,m.KVO)(e,t):Ue((0,m.Mx4)(),i,(0,m.nl4)(e),t)}function J1(){throw new Error("invalid")}function qp(e,t,i,a,h){const x=null===a?null:{"":-1},j=h(e,i);if(null!==j){let fe=j,ye=null,Ne=null;for(const Qe of j)if(null!==Qe.resolveHostDirectives){[fe,ye,Ne]=Qe.resolveHostDirectives(j);break}!function Y_(e,t,i,a,h,x,j){const fe=a.length;let ye=!1;for(let on=0;on<fe;on++){const ln=a[on];!ye&&(0,m.JlV)(ln)&&(ye=!0,X_(e,i,on)),Hi(no(i,t),e,ln.type)}!function U3(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}(i,e.data.length,fe);for(let on=0;on<fe;on++){const ln=a[on];ln.providersResolver&&ln.providersResolver(ln)}let Ne=!1,Qe=!1,Mt=Cc(e,t,fe,null);fe>0&&(i.directiveToIndex=new Map);for(let on=0;on<fe;on++){const ln=a[on];if(i.mergedAttrs=uo(i.mergedAttrs,ln.hostAttrs),Q_(e,i,t,Mt,ln),t0(Mt,ln,h),null!==j&&j.has(ln)){const[dr,Pr]=j.get(ln);i.directiveToIndex.set(ln.type,[Mt,dr+i.directiveStart,Pr+i.directiveStart])}else(null===x||!x.has(ln))&&i.directiveToIndex.set(ln.type,Mt);null!==ln.contentQueries&&(i.flags|=4),(null!==ln.hostBindings||null!==ln.hostAttrs||0!==ln.hostVars)&&(i.flags|=64);const Hn=ln.type.prototype;!Ne&&(Hn.ngOnChanges||Hn.ngOnInit||Hn.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),Ne=!0),!Qe&&(Hn.ngOnChanges||Hn.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),Qe=!0),Mt++}!function Z_(e,t,i){for(let a=t.directiveStart;a<t.directiveEnd;a++){const h=e.data[a];if(null!==i&&i.has(h)){const x=i.get(h);Ih(0,t,x,a),Ih(1,t,x,a),e0(t,a,!0)}else Sf(0,t,h,a),Sf(1,t,h,a),e0(t,a,!1)}}(e,i,x)}(e,t,i,fe,x,ye,Ne)}null!==x&&null!==a&&function q1(e,t,i){const a=e.localNames=[];for(let h=0;h<t.length;h+=2){const x=i[t[h+1]];if(null==x)throw new m.buA(-301,!1);a.push(t[h],x)}}(i,a,x)}function X_(e,t,i){t.componentOffset=i,(e.components??=[]).push(t.index)}function Sf(e,t,i,a){const h=0===e?i.inputs:i.outputs;for(const x in h)if(h.hasOwnProperty(x)){let j;j=0===e?t.inputs??={}:t.outputs??={},j[x]??=[],j[x].push(a),Th(t,x)}}function Ih(e,t,i,a){const h=0===e?i.inputs:i.outputs;for(const x in h)if(h.hasOwnProperty(x)){const j=h[x];let fe;fe=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},fe[j]??=[],fe[j].push(a,x),Th(t,j)}}function Th(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function e0(e,t,i){const{attrs:a,inputs:h,hostDirectiveInputs:x}=e;if(null===a||!i&&null===h||i&&null===x||af(e))return e.initialInputs??=[],void e.initialInputs.push(null);let j=null,fe=0;for(;fe<a.length;){const ye=a[fe];if(0!==ye)if(5!==ye){if("number"==typeof ye)break;if(!i&&h.hasOwnProperty(ye)){const Ne=h[ye];for(const Qe of Ne)if(Qe===t){j??=[],j.push(ye,a[fe+1]);break}}else if(i&&x.hasOwnProperty(ye)){const Ne=x[ye];for(let Qe=0;Qe<Ne.length;Qe+=2)if(Ne[Qe]===t){j??=[],j.push(Ne[Qe+1],a[fe+1]);break}}fe+=2}else fe+=2;else fe+=4}e.initialInputs??=[],e.initialInputs.push(j)}function Q_(e,t,i,a,h){e.data[a]=h;const x=h.factory||(h.factory=(0,m.wGu)(h.type,!0)),j=new Yt(x,(0,m.JlV)(h),Oh,null);e.blueprint[a]=j,i[a]=j,function B3(e,t,i,a,h){const x=h.hostBindings;if(x){let j=e.hostBindingOpCodes;null===j&&(j=e.hostBindingOpCodes=[]);const fe=~t.index;(function ag(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(j)!=fe&&j.push(fe),j.push(i,a,x)}}(e,t,a,Cc(e,i,h.hostVars,Ko),h)}function t0(e,t,i){if(i){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)i[t.exportAs[a]]=e;(0,m.JlV)(t)&&(i[""]=e)}}function n0(e,t,i,a,h,x,j,fe){const ye=t[m.eDl],Ne=ye.consts,Mt=_d(ye,e,i,a,(0,m.db4)(Ne,j));return x&&qp(ye,t,Mt,(0,m.db4)(Ne,fe),h),Mt.mergedAttrs=uo(Mt.mergedAttrs,Mt.attrs),null!==Mt.attrs&&Jp(Mt,Mt.attrs,!1),null!==Mt.mergedAttrs&&Jp(Mt,Mt.mergedAttrs,!0),null!==ye.queries&&ye.queries.elementStart(ye,Mt),Mt}function r0(e,t){Ei(e,t),(0,m.srX)(t)&&e.queries.elementEnd(t)}function J_(e,t,i,a,h,x){const j=t.consts,ye=_d(t,e,i,a,(0,m.db4)(j,h));if(ye.mergedAttrs=uo(ye.mergedAttrs,ye.attrs),null!=x){const Ne=(0,m.db4)(j,x);ye.localNames=[];for(let Qe=0;Qe<Ne.length;Qe+=2)ye.localNames.push(Ne[Qe],-1)}return null!==ye.attrs&&Jp(ye,ye.attrs,!1),null!==ye.mergedAttrs&&Jp(ye,ye.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,ye),ye}function lg(e){return!!ev(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function V3(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[Symbol.iterator]();let a;for(;!(a=i.next()).done;)t(a.value)}}function ev(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function _u(e,t,i){return e[t]=i}function em(e,t){return e[t]}function $s(e,t,i){return i!==Ko&&(!Object.is(e[t],i)&&(e[t]=i,!0))}function vu(e,t,i,a){const h=$s(e,t,i);return $s(e,t+1,a)||h}function Ph(e,t,i,a,h){const x=vu(e,t,i,a);return $s(e,t+2,h)||x}function Oa(e,t,i,a,h,x){const j=vu(e,t,i,a);return vu(e,t+2,h,x)||j}function tm(e,t,i){return function a(h){yf((0,m.Qs1)(e)?(0,m.KdJ)(e.index,t):t,5);const j=t[m.SKP];let fe=tv(t,j,i,h),ye=a.__ngNextListenerFn__;for(;ye;)fe=tv(t,j,ye,h)&&fe,ye=ye.__ngNextListenerFn__;return fe}}function tv(e,t,i,a){const h=(0,Jn.Ht)(null);try{return ei(6,t,i),!1!==i(a)}catch(x){return Lm(e,x),!1}finally{ei(7,t,i),(0,Jn.Ht)(h)}}function nv(e,t,i,a,h,x,j,fe){const ye=(0,m.yoD)(e);let Ne=!1,Qe=null;if(!a&&ye&&(Qe=function z3(e,t,i,a){const h=e.cleanup;if(null!=h)for(let x=0;x<h.length-1;x+=2){const j=h[x];if(j===i&&h[x+1]===a){const fe=t[m.VVG],ye=h[x+2];return fe&&fe.length>ye?fe[ye]:null}"string"==typeof j&&(x+=2)}return null}(t,i,x,e.index)),null!==Qe)(Qe.__ngLastListenerFn__||Qe).__ngNextListenerFn__=j,Qe.__ngLastListenerFn__=j,Ne=!0;else{const Mt=(0,m.d31)(e,i),on=a?a(Mt):Mt,ln=h.listen(on,x,fe);(function H3(e){return e.startsWith("animation")||e.startsWith("transition")})(x)||$3(a?dr=>a((0,m.IvY)(dr[e.index])):e.index,t,i,x,fe,ln,!1)}return Ne}function $3(e,t,i,a,h,x,j){const fe=t.firstCreatePass?(0,m.vNG)(t):null,ye=(0,m.d_l)(i),Ne=ye.length;ye.push(h,x),fe&&fe.push(a,e,Ne,(Ne+1)*(j?-1:1))}function cg(e,t,i,a,h,x){const fe=t[m.eDl],Mt=t[i][fe.data[i].outputs[a]].subscribe(x);$3(e.index,fe,t,h,x,Mt,!0)}const Cd=Symbol("BINDING");class ug extends vd{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=(0,m.xUg)(t);return new dg(i,this.ngModule)}}class dg extends Z1{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function Rh(e){return Object.keys(e).map(t=>{const[i,a,h]=e[t],x={propName:i,templateName:t,isSignal:0!==(a&cf.SignalBased)};return h&&(x.transform=h),x})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function av(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function fd(e){return e.map(Ap).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}create(t,i,a,h,x,j){ei(22);const fe=(0,Jn.Ht)(null);try{const ye=this.componentDef,Ne=function Z3(e,t,i,a){const h=e?["ng-version","20.3.27"]:function Rp(e){const t=[],i=[];let a=1,h=2;for(;a<e.length;){let x=e[a];if("string"==typeof x)2===h?""!==x&&t.push(x,e[++a]):8===h&&i.push(x);else{if(!Mo(h))break;h=x}a++}return i.length&&t.push(1,...i),t}(t.selectors[0]);let x=null,j=null,fe=0;if(i)for(const Qe of i)fe+=Qe[Cd].requiredVars,Qe.create&&(Qe.targetIdx=0,(x??=[]).push(Qe)),Qe.update&&(Qe.targetIdx=0,(j??=[]).push(Qe));if(a)for(let Qe=0;Qe<a.length;Qe++){const Mt=a[Qe];if("function"!=typeof Mt)for(const on of Mt.bindings){fe+=on[Cd].requiredVars;const ln=Qe+1;on.create&&(on.targetIdx=ln,(x??=[]).push(on)),on.update&&(on.targetIdx=ln,(j??=[]).push(on))}}const ye=[t];if(a)for(const Qe of a){const on=(0,m.HaV)("function"==typeof Qe?Qe:Qe.type);ye.push(on)}return ch(0,null,function Q3(e,t){return e||t?i=>{if(1&i&&e)for(const a of e)a.create();if(2&i&&t)for(const a of t)a.update()}:null}(x,j),1,fe,ye,null,null,null,[h],null)}(a,ye,j,x),Qe=function G3(e,t,i){let a=t instanceof m.uvJ?t:t?.injector;return a&&null!==e.getStandaloneInjector&&(a=e.getStandaloneInjector(a)||a),a?new Dh(i,a):i}(ye,h||this.ngModule,t),Mt=function lC(e){const t=e.get(xh,null);if(null===t)throw new m.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(k3,null),changeDetectionScheduler:e.get(m.hk6,null),ngReflect:!1}}(Qe),on=Mt.rendererFactory.createRenderer(null,ye),ln=a?function c_(e,t,i,a){const x=a.get(k,C)||i===_s.ShadowDom,j=e.selectRootElement(t,x);return function Yy(e){u_(e)}(j),j}(on,a,ye.encapsulation,Qe):function X3(e,t){const i=function i0(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Rc(t,i,"svg"===i?m.jNX:"math"===i?m.rJ1:null)}(ye,on);!function Y3(e){if("script"===e?.toLowerCase())throw new m.buA(905,!1)}(ln?.tagName);const Hn=j?.some(lv)||x?.some(Wr=>"function"!=typeof Wr&&Wr.bindings.some(lv)),dr=lc(null,Ne,null,512|uh(ye),null,null,Mt,on,Qe,null,null);dr[m.Yw1]=ln,(0,m.ID8)(dr);let Pr=null;try{const Wr=n0(m.Yw1,dr,2,"#host",()=>Ne.directiveRegistry,!0,0);oc(on,ln,Wr),_o(ln,dr),cc(Ne,dr,Wr),Fo(Ne,Wr,dr),r0(Ne,Wr),void 0!==i&&function rm(e,t,i){const a=e.projection=[];for(let h=0;h<t.length;h++){const x=i[h];a.push(null!=x&&x.length?Array.from(x):null)}}(Wr,this.ngContentSelectors,i),Pr=(0,m.KdJ)(Wr.index,dr),dr[m.SKP]=Pr[m.SKP],gf(Ne,dr,null)}catch(Wr){throw null!==Pr&&Ks(Pr),Ks(dr),Wr}finally{ei(23),(0,m.bll)()}return new J3(this.componentType,dr,!!Hn)}finally{(0,Jn.Ht)(fe)}}}function lv(e){const t=e[Cd].kind;return"input"===t||"twoWay"===t}class J3 extends ng{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,i,a){super(),this._rootLView=i,this._hasInputBindings=a,this._tNode=(0,m.XRZ)(i[m.eDl],m.Yw1),this.location=Zi(this._tNode,i),this.instance=(0,m.KdJ)(this._tNode.index,i)[m.SKP],this.hostView=this.changeDetectorRef=new Vm(i,void 0),this.componentType=t}setInput(t,i){const a=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;const h=this._rootLView;Fm(a,h[m.eDl],h,t,i),this.previousInputValues.set(t,i),yf((0,m.KdJ)(a.index,h),1)}get injector(){return new Sr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let fg=(()=>class e{static __NG_ELEMENT_ID__=q3})();function q3(){return dv((0,m.Mx4)(),(0,m.OAn)())}const eb=fg,cv=class extends eb{_lContainer;_hostTNode;_hostLView;constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return Zi(this._hostTNode,this._hostLView)}get injector(){return new Sr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Go(this._hostTNode,this._hostLView);if(to(t)){const i=Wt(t,this._hostLView),a=Vi(t);return new Sr(i[m.eDl].data[a+8],i)}return new Sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=uv(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-m.Y20}createEmbeddedView(t,i,a){let h,x;"number"==typeof a?h=a:null!=a&&(h=a.index,x=a.injector);const fe=t.createEmbeddedViewImpl(i||{},x,null);return this.insertImpl(fe,h,vf(this._hostTNode,null)),fe}createComponent(t,i,a,h,x,j,fe){const ye=t&&!xn(t);let Ne;if(ye)Ne=i;else{const Pr=i||{};Ne=Pr.index,a=Pr.injector,h=Pr.projectableNodes,x=Pr.environmentInjector||Pr.ngModuleRef,j=Pr.directives,fe=Pr.bindings}const Qe=ye?t:new dg((0,m.xUg)(t)),Mt=a||this.parentInjector;if(!x&&null==Qe.ngModule){const Wr=(ye?Mt:this.parentInjector).get(m.uvJ,null);Wr&&(x=Wr)}(0,m.xUg)(Qe.componentType??{});const dr=Qe.create(Mt,h,null,x,j,fe);return this.insertImpl(dr.hostView,Ne,vf(this._hostTNode,null)),dr}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,a){const h=t._lView;if((0,m.ITl)(h)){const fe=this.indexOf(t);if(-1!==fe)this.detach(fe);else{const ye=h[m.f7T],Ne=new cv(ye,ye[m.qlT],ye[m.f7T]);Ne.detach(Ne.indexOf(t))}}const x=this._adjustIndex(i),j=this._lContainer;return gd(j,h,x,a),t.attachToViewContainerRef(),(0,m.EYC)(o0(j),x,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=uv(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),a=wc(this._lContainer,i);a&&((0,m.E6O)(o0(this._lContainer),i),md(a[m.eDl],a))}detach(t){const i=this._adjustIndex(t,-1),a=wc(this._lContainer,i);return a&&null!=(0,m.E6O)(o0(this._lContainer),i)?new Vm(a):null}_adjustIndex(t,i=0){return t??this.length+i}};function uv(e){return e[m.bm_]}function o0(e){return e[m.bm_]||(e[m.bm_]=[])}function dv(e,t){let i;const a=t[e.index];return(0,m.A0l)(a)?i=a:(i=Vp(a,t,null,e),t[e.index]=i,lf(t,i)),kh(i,t,e,a),new cv(i,e,t)}let kh=function a0(e,t,i,a){if(e[m.s6P])return;let h;h=8&i.type?(0,m.IvY)(a):function tb(e,t){const i=e[m.GpT],a=i.createComment(""),h=(0,m.d31)(t,e),x=i.parentNode(h);return Ml(i,x,a,i.nextSibling(h),!1),a}(t,i),e[m.s6P]=h};class l0{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new l0(this.queryList)}setDirty(){this.queryList.setDirty()}}class c0{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const a=null!==t.contentQueries?t.contentQueries[0]:i.length,h=[];for(let x=0;x<a;x++){const j=i.getByIndex(x);h.push(this.queries[j.indexInDeclarationView].clone())}return new c0(h)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==Lh(t,i).matches&&this.queries[i].setDirty()}}class u0{flags;read;predicate;constructor(t,i,a=null){this.flags=i,this.read=a,this.predicate="string"==typeof t?function Zs(e){return e.split(",").map(t=>t.trim())}(t):t}}class d0{queries;constructor(t=[]){this.queries=t}elementStart(t,i){for(let a=0;a<this.queries.length;a++)this.queries[a].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let a=0;a<this.length;a++){const h=null!==i?i.length:0,x=this.getByIndex(a).embeddedTView(t,h);x&&(x.indexInDeclarationView=a,null!==i?i.push(x):i=[x])}return null!==i?new d0(i):null}template(t,i){for(let a=0;a<this.queries.length;a++)this.queries[a].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class hg{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,i=-1){this.metadata=t,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new hg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const i=this._declarationNodeIndex;let a=t.parent;for(;null!==a&&8&a.type&&a.index!==i;)a=a.parent;return i===(null!==a?a.index:-1)}return this._appliesToNextNode}
1matchTNode(t,i){const a=this.metadata.predicate;if(Array.isArray(a))for(let h=0;h<a.length;h++){const x=a[h];this.matchTNodeWithReadOption(t,i,pv(i,x)),this.matchTNodeWithReadOption(t,i,gt(i,t,x,!1,!1))}else a===Hp?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,gt(i,t,a,!1,!1))}matchTNodeWithReadOption(t,i,a){if(null!==a){const h=this.metadata.read;if(null!==h)if(h===Is||h===fg||h===Hp&&4&i.type)this.addMatch(i.index,-2);else{const x=gt(i,t,h,!1,!1);null!==x&&this.addMatch(i.index,x)}else this.addMatch(i.index,a)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function pv(e,t){const i=e.localNames;if(null!==i)for(let a=0;a<i.length;a+=2)if(i[a]===t)return i[a+1];return null}function ob(e,t,i,a){return-1===i?function ib(e,t){return 11&e.type?Zi(e,t):4&e.type?jm(e,t):null}(t,e):-2===i?function sb(e,t,i){return i===Is?Zi(t,e):i===Hp?jm(t,e):i===fg?dv(t,e):void 0}(e,t,a):gn(e,e[m.eDl],i,t)}function mv(e,t,i,a){const h=t[m.Ds7].queries[a];if(null===h.matches){const x=e.data,j=i.matches,fe=[];for(let ye=0;null!==j&&ye<j.length;ye+=2){const Ne=j[ye];fe.push(Ne<0?null:ob(t,x[Ne],j[ye+1],i.metadata.read))}h.matches=fe}return h.matches}function pg(e,t,i,a){const h=e.queries.getByIndex(i),x=h.matches;if(null!==x){const j=mv(e,t,h,i);for(let fe=0;fe<x.length;fe+=2){const ye=x[fe];if(ye>0)a.push(j[fe/2]);else{const Ne=x[fe+1],Qe=t[-ye];for(let Mt=m.Y20;Mt<Qe.length;Mt++){const on=Qe[Mt];on[m.rQE]===on[m.f7T]&&pg(on[m.eDl],on,Ne,a)}if(null!==Qe[m.nfM]){const Mt=Qe[m.nfM];for(let on=0;on<Mt.length;on++){const ln=Mt[on];pg(ln[m.eDl],ln,Ne,a)}}}}}return a}function mg(e,t){return e[m.Ds7].queries[t].queryList}function gv(e,t,i){const a=new Ws(!(4&~i));return(0,m.B22)(e,t,a,a.destroy),(t[m.Ds7]??=new c0).queries.push(new l0(a))-1}function rs(e,t,i){const a=(0,m.klJ)();return a.firstCreatePass&&(vv(a,new u0(e,t,i),-1),!(2&~t)&&(a.staticViewQueries=!0)),gv(a,(0,m.OAn)(),t)}function _v(e,t,i,a){const h=(0,m.klJ)();if(h.firstCreatePass){const x=(0,m.Mx4)();vv(h,new u0(t,i,a),x.index),function ab(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(h,e),!(2&~i)&&(h.staticContentQueries=!0)}return gv(h,(0,m.OAn)(),i)}function vv(e,t,i){null===e.queries&&(e.queries=new d0),e.queries.track(new hg(t,i))}function Lh(e,t){return e.queries.getByIndex(t)}function yv(e,t){const i=e[m.eDl],a=Lh(i,t);return a.crossesNgTemplate?pg(i,e,t,[]):mv(i,e,a,t)}function Ed(e,t,i){let a;const h=(0,Jn.KZ)(()=>{a._dirtyCounter();const x=function ub(e,t){const i=e._lView,a=e._queryIndex;if(void 0===i||void 0===a||4&i[m.Wg1])return t?void 0:m.Mlv;const h=mg(i,a),x=yv(i,a);return h.reset(x,rl),t?h.first:h._changesDetected||void 0===e._flatValue?e._flatValue=h.toArray():e._flatValue}(a,e);if(t&&void 0===x)throw new m.buA(-951,!1);return x});return a=h[Jn.bh],a._dirtyCounter=(0,m.vPA)(0),a._flatValue=void 0,h}function lb(e){return Ed(!0,!1)}function bv(e){return Ed(!0,!0)}function cb(e){return Ed(!1,!1)}function gg(e,t){const i=e[Jn.bh];i._lView=(0,m.OAn)(),i._queryIndex=t,i._queryList=mg(i._lView,t),i._queryList.onDirty(()=>i._dirtyCounter.update(a=>a+1))}function f0(e){const t=[],i=new Map;function a(h){let x=i.get(h);if(!x){const j=e(h);i.set(h,x=j.then(fe=>function h0(e,t){return"string"==typeof t?t:void 0!==t.status&&200!==t.status?Promise.reject(new m.buA(918,!1)):t.text()}(0,fe)))}return x}return Df.forEach((h,x)=>{const j=[];h.templateUrl&&j.push(a(h.templateUrl).then(Ne=>{h.template=Ne}));const fe="string"==typeof h.styles?[h.styles]:h.styles||[];if(h.styles=fe,h.styleUrl&&h.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(h.styleUrls?.length){const Ne=h.styles.length,Qe=h.styleUrls;h.styleUrls.forEach((Mt,on)=>{fe.push(""),j.push(a(Mt).then(ln=>{fe[Ne+on]=ln,Qe.splice(Qe.indexOf(Mt),1),0==Qe.length&&(h.styleUrls=void 0)}))})}else h.styleUrl&&j.push(a(h.styleUrl).then(Ne=>{fe.push(Ne),h.styleUrl=void 0}));const ye=Promise.all(j).then(()=>function p0(e){yu.delete(e)}(x));t.push(ye)}),function db(){const e=Df;Df=new Map}(),Promise.all(t).then(()=>{})}let Df=new Map;const yu=new Set;function wd(){return 0===Df.size}const _g=new Map;function m0(e,t){(function vg(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${(0,m.AsM)(t)} vs ${(0,m.AsM)(t.name)}`)})(t,_g.get(t)||null,e),_g.set(t,e)}let Md=class{},Fh=class{};function xv(e,t){return new g0(e,t??null,[])}class g0 extends Md{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ug(this);constructor(t,i,a,h=!0){super(),this.ngModuleType=t,this._parent=i;const x=(0,m.phH)(t);this._bootstrapComponents=ac(x.bootstrap),this._r3Injector=(0,m.Pz9)(t,i,[{provide:Md,useValue:this},{provide:vd,useValue:this.componentFactoryResolver},...a],(0,m.AsM)(t),new Set(["environment"])),h&&this.resolveInjectorInitializer
vendor: 4,475 bytes, line 1
1s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Hu extends Fh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new g0(this.moduleType,t,[])}}function Sv(e,t,i){return new g0(e,t,i,!1)}class qi extends Md{injector;componentFactoryResolver=new ug(this);instance=null;constructor(t){super();const i=new m.e5P([...t.providers,{provide:Md,useValue:this},{provide:vd,useValue:this.componentFactoryResolver}],t.parent||(0,m.WB9)(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Of(e,t,i=null){return new qi({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let _0=(()=>{class e{_injector;cachedInjectors=new Map;constructor(i){this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const a=(0,m.jXY)(!1,i.type),h=a.length>0?Of([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,h)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,m.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,m.KVO)(m.uvJ))})}return e})();function im(e){return Kr(()=>{const t=bu(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?h=>h.get(_0).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_s.Emulated,styles:e.styles||m.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ze("NgStandalone"),Ki(i);const a=e.dependencies;return i.directiveDefs=Sd(a,Dv),i.pipeDefs=Sd(a,m.oyA),i.id=function Cu(e){let t=0;const a=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const x of a.join("|"))t=Math.imul(31,t)+x.charCodeAt(0)|0;return t+=2147483648,"c"+t}(i),i})}function Dv(e){return(0,m.xUg)(e)||(0,m.HaV)(e)}function v0(e){return Kr(()=>({type:e.type,bootstrap:e.bootstrap||m.Mlv,declarations:e.declarations||m.Mlv,imports:e.imports||m.Mlv,exports:e.exports||m.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xd(e,t){if(null==e)return m.MZA;const i={};for(const a in e)if(e.hasOwnProperty(a)){const h=e[a];let x,j,fe,ye;Array.isArray(h)?(fe=h[0],x=h[1],j=h[2]??x,ye=h[3]||null):(x=h,j=h,fe=cf.None,ye=null),i[x]=[a,fe,ye],t[x]=j}return i}function om(e){if(null==e)return m.MZA;const t={};for(const i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function sm(e){return Kr(()=>{const t=bu(e);return Ki(t),t})}function Ia(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function bu(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||m.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||m.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:xd(e.inputs,t),outputs:om(e.outputs),debugInfo:null}}function Ki(e){e.features?.forEach(t=>t(e))}function Sd(e,t){return e?()=>{const i="function"==typeof e?e():e,a=[];for(const h of i){const x=t(h);null!==x&&a.push(x)}return a}:null}function yg(e){return Object.getPrototypeOf(e.prototype).constructor}function bg(e){let t=yg(e.type),i=!0;const a=[e];for(;t;){let h;if((0,m.JlV)(e))h=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m.buA(903,!1);h=t.\u0275dir}
vendor: 5,042 bytes, line 1
1if(h){if(i){a.push(h);const j=e;j.inputs=y0(e.inputs),j.declaredInputs=y0(e.declaredInputs),j.outputs=y0(e.outputs);const fe=h.hostBindings;fe&&Gi(e,fe);const ye=h.viewQuery,Ne=h.contentQueries;if(ye&&b0(e,ye),Ne&&Be(e,Ne),Iv(e,h),(0,m.dwj)(e.outputs,h.outputs),(0,m.JlV)(h)&&h.data.animation){const Qe=e.data;Qe.animation=(Qe.animation||[]).concat(h.data.animation)}}const x=h.features;if(x)for(let j=0;j<x.length;j++){const fe=x[j];fe&&fe.ngInherit&&fe(e),fe===bg&&(i=!1)}}t=Object.getPrototypeOf(t)}!function Tv(e){let t=0,i=null;for(let a=e.length-1;a>=0;a--){const h=e[a];h.hostVars=t+=h.hostVars,h.hostAttrs=uo(h.hostAttrs,i=uo(i,h.hostAttrs))}}(a)}function Iv(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const a=t.inputs[i];void 0!==a&&(e.inputs[i]=a,e.declaredInputs[i]=t.declaredInputs[i])}}function y0(e){return e===m.MZA?{}:e===m.Mlv?[]:e}function b0(e,t){const i=e.viewQuery;e.viewQuery=i?(a,h)=>{t(a,h),i(a,h)}:t}function Be(e,t){const i=e.contentQueries;e.contentQueries=i?(a,h,x)=>{t(a,h,x),i(a,h,x)}:t}function Gi(e,t){const i=e.hostBindings;e.hostBindings=i?(a,h)=>{t(a,h),i(a,h)}:t}const Cg=["providersResolver"],Eu=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Eg(e){const t=i=>{const a=Array.isArray(e);null===i.hostDirectives?(i.resolveHostDirectives=Pv,i.hostDirectives=a?e.map(Tf):[e]):a?i.hostDirectives.unshift(...e.map(Tf)):i.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Pv(e){const t=[];let i=!1,a=null,h=null;for(let x=0;x<e.length;x++){const j=e[x];if(null!==j.hostDirectives){const fe=t.length;a??=new Map,h??=new Map,C0(j,t,a),h.set(j,[fe,t.length-1])}0===x&&(0,m.JlV)(j)&&(i=!0,t.push(j))}for(let x=i?1:0;x<e.length;x++)t.push(e[x]);return[t,a,h]}function C0(e,t,i){if(null!==e.hostDirectives)for(const a of e.hostDirectives)if("function"==typeof a){const h=a();for(const x of h)wg(Tf(x),t,i)}else wg(a,t,i)}function wg(e,t,i){const a=(0,m.HaV)(e.directive);(function pb(e,t){for(const i in t)t.hasOwnProperty(i)&&(e[t[i]]=e[i])})(a.declaredInputs,e.inputs),C0(a,t,i),i.set(a,e),t.push(a)}function Tf(e){return"function"==typeof e?{directive:(0,m.nl4)(e),inputs:m.MZA,outputs:m.MZA}:{directive:(0,m.nl4)(e.directive),inputs:Mg(e.inputs),outputs:Mg(e.outputs)}}function Mg(e){if(void 0===e||0===e.length)return m.MZA;const t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function Av(e,t,i,a,h,x,j,fe){if(i.firstCreatePass){e.mergedAttrs=uo(e.mergedAttrs,e.attrs);const Qe=e.tView=ch(2,e,h,x,j,i.directiveRegistry,i.pipeRegistry,null,i.schemas,i.consts,null);null!==i.queries&&(i.queries.template(i,e),Qe.queries=i.queries.embeddedTView(e))}fe&&(e.flags|=fe),(0,m.iMd)(e,!1);const ye=xg(i,t,e,a);(0,m.SX7)()&&y1(i,t,ye,e),_o(ye,t);const Ne=Vp(ye,t,ye,e);t[a+m.Yw1]=Ne,lf(t,Ne)}function Pf(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=i+m.Yw1;let on;if(t.firstCreatePass){if(on=_d(t,Mt,4,j||null,fe||null),null!=Ne){const ln=(0,m.db4)(t.consts,Ne);on.localNames=[];for(let Hn=0;Hn<ln.length;Hn+=2)on.localNames.push(ln[Hn],-1)}}else on=t.data[Mt];return Av(on,e,t,i,a,h,x,ye),null!=Ne&&hu(e,on,Qe),on}function E0(e,t,i,a,h,x,j,fe){const ye=(0,m.OAn)(),Ne=(0,m.klJ)();return function gb(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=i+m.Yw1;let on;t.firstCreatePass?(on=_d(t,Mt,4,j||null,fe||null),(0,m.ckz)()&&qp(t,e,on,(0,m.db4)(t.consts,Ne),E1),Ei(t,on)):on=t.data[Mt],Av(on,e,t,i,a,h,x,ye),(0,m.yoD)(on)&&cc(t,e,on),null!=Ne&&hu(e,on,Qe)}(ye,Ne,e,t,i,a,h,(0,m.db4)(Ne.consts,x),void 0,j,fe),E0}function w0(e,t,i,a,h,x,j,fe){const ye=(0,m.OAn)(),Ne=(0,m.klJ)();return Pf(ye,Ne,e,t,i,a,h,(0,m.db4)(Ne.consts,x),void 0,j,fe),w0}let xg=function M0(e,t,i,a){return(0,m.m7n)(!0),t[m.GpT].createComment("")};var va=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(va||{}),Jo=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Jo||{}),Vc=function(e){return e[e.Initial=-1]="Initial",e}(Vc||{}),kv=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(kv||{});function Uh(e,t,i){const a=Rf(e);null===t[a]&&(t[a]=[]),t[a].push(i)}function jc(e,t){const i=Rf(e),a=t[i];if(null!==a){for(const h of a)h();t[i]=null}}function Ku(e){jc(1,e),jc(0,e),jc(2,e)}function Rf(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function lm(e){return e+1}function Ol(e,t){return e[lm(t.index)]}function nl(e,t){const i=lm(t.index);return e.data[i]}function cm(e,t){return t===Jo.Placeholder?e.placeholderBlockConfig?.[0]??null:t===Jo.Loading?e.loadingBlockConfig?.[0]??null:null}function Fv(e){return e.loadingBlockConfig?.[1]??null}function D0(e,t){if(!e||0===e.length)return t;const i=new Set(e);for(const a of t)i.add(a);return e.length===i.size?e:Array.from(i)}function O0(e,t,i){const a=i.get(qn);return function vn(e,t,i){let a=z.get(e);return Te=Te||i(),a||(a=new Ge,Te.observe(e),z.set(e,a),Oe++),a.callbacks.add(t),()=>
vendor: 42,575 bytes, line 1
1{z.has(e)&&(a.callbacks.delete(t),0===a.callbacks.size&&(Te?.unobserve(e),z.delete(e),Oe--),0===Oe&&(Te?.disconnect(),Te=null))}}(e,()=>a.run(t),()=>a.runOutsideAngular(()=>function St(){return new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&z.has(t.target)&&z.get(t.target).listener()})}()))}function Dd(e,t,i,a,h,x,j){const fe=e[m.YEL],ye=fe.get(qn);let Ne;Ne=function ui(e,t){const i=t?.injector??(0,m.WQX)(m.zZn);return ze("NgAfterRender"),lt(e,i,t,!1)}({read:function Qe(){if((0,m.EPY)(e))return void Ne.destroy();const Mt=Ol(e,t),on=Mt[1];if(on!==Vc.Initial&&on!==Jo.Placeholder)return void Ne.destroy();const ln=function um(e,t,i){return null==i?e:i>=0?(0,m.jRZ)(i,e):e[t.index][m.Y20]??null}(e,t,a);if(!ln||(Ne.destroy(),(0,m.EPY)(ln)))return;const Hn=function Mc(e,t){return(0,m.vaC)(m.Yw1+t,e)}(ln,i),dr=h(Hn,()=>{ye.run(()=>{e!==ln&&(0,m.DyX)(ln,dr),x()})},fe);e!==ln&&(0,m.ik5)(ln,dr),Uh(j,Mt,dr)}},{injector:fe})}function Dg(e,t){const i=t.get(Gu);return i.add(e),()=>i.remove(e)}let Gu=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,m.WQX)(qn);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:a,deferred:h}=this;a.delete(i),h.delete(i),0===a.size&&0===h.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const a of this.current)a();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const a of this.deferred)this.current.add(a);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function jh(e){return(t,i)=>Bv(e,t,i)}function Bv(e,t,i){const a=i.get(Uv),h=i.get(qn);return a.add(e,t,h),()=>a.remove(t)}let Uv=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(i,a,h){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,a),this.scheduleTimer(h)}remove(i){const{current:a,deferred:h}=this;-1===this.removeFromQueue(a,i)&&this.removeFromQueue(h,i),0===a.length&&0===h.length&&this.clearTimeout()}addToQueue(i,a,h){let x=i.length;for(let j=0;j<i.length;j+=2)if(i[j]>a){x=j;break}(0,m.llW)(i,x,a,h)}removeFromQueue(i,a){let h=-1;for(let x=0;x<i.length;x+=2)if(i[x+1]===a){h=x;break}return h>-1&&(0,m.gsJ)(i,h,2),h}scheduleTimer(i){const a=()=>{this.clearTimeout(),this.executingCallbacks=!0;const x=[...this.current],j=Date.now();for(let ye=0;ye<x.length;ye+=2){const Qe=x[ye+1];if(!(x[ye]<=j))break;Qe()}let fe=-1;for(let ye=0;ye<this.current.length&&this.current[ye]<=j;ye+=2)fe=ye+1;if(fe>=0&&(0,m.gsJ)(this.current,0,fe+1),this.executingCallbacks=!1,this.deferred.length>0){for(let ye=0;ye<this.deferred.length;ye+=2)this.addToQueue(this.current,this.deferred[ye],this.deferred[ye+1]);this.deferred.length=0}this.scheduleTimer(i)};if(this.current.length>0){const x=Date.now(),j=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-j>16){this.clearTimeout();const fe=Math.max(j-x,16);this.invokeTimerAt=j,this.timeoutId=i.runOutsideAngular(()=>setTimeout(()=>i.run(a),fe))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,m.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),Od=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(i,a,h,x){if(!this.cachedInjectors.has(i)){const j=h.length>0?Of(h,a,x):null;this.cachedInjectors.set(i,j)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,m.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const Og=new m.nKC("");function fm(e,t,i){return e.get(Od).getOrCreateInjector(t,e,i,"")}function zc(e,t,i,a=!1){const h=i[m.f7T],x=h[m.eDl];if((0,m.EPY)(h))return;const j=Ol(h,t),ye=j[7];if(!(null!==ye&&e<ye)&&Ig(j[1],e)&&Ig(j[0]??-1,e)){const Ne=nl(x,t),Mt=a||null===Fv(Ne)&&null===cm(Ne,Jo.Loading)&&!cm(Ne,Jo.Placeholder)?I0:P0;try{Mt(e,j,i,t,h)}catch(on){Lm(h,on)}}}function I0(e,t,i,a,h){ei(20);const x=function Lv(e,t,i){const h=nl(t[m.eDl],i);switch(e){case Jo.Complete:return h.primaryTmplIndex;case Jo.Loading:return h.loadingTmplIndex;case Jo.Error:return h.errorTmplIndex;case Jo.Placeholder:return h.placeholderTmplIndex;default:return null}}(e,h,a);if(null!==x){t[1]=e;const j=h[m.eDl],ye=(0,m.XRZ)(j,x+m.Yw1),Ne=0;let Qe;if(jp(i,Ne),e===Jo.Complete){const Hn=nl(j,a),dr=Hn.providers;dr&&dr.length>0&&(Qe=function xb(e,t,i){if(e instanceof Dh){const h=e.injector,j=fm(e.parentInjector,t,i);return new Dh(h,j)}const a=e.get(m.uvJ);if(a!==e){const h=fm(a,t,i);return new Dh(e,h)}return fm(e,t,i)}(h[m.YEL],Hn,dr))}const{dehydratedView:Mt,dehydratedViewIx:on}=function Sb(e,t){const i=e[m.qFA]?.findIndex(h=>h.data.s===t[1])??-1;return{dehydratedView:i>-1?e[m.qFA][i]:null,dehydratedViewIx:i}}(i,t),ln=_f(h,ye,null,{injector:Qe,dehydratedView:Mt});if(gd(i,ln,Ne,vf(ye,Mt)),yf(ln,2),on>-1&&i[m.qFA]?.splice(on,1),(e===Jo.Complete||e===Jo.Error)&&Array.isArray(t[8])){for(const Hn of t[8])Hn();t[8]=null}}ei(21)}function Db(e,t,i,a,h){const x=Date.now(),fe=nl(h[m.eDl],a);if(null===t[2]||t[2]<=x){t[2]=null;const ye=Fv(fe),Ne=null!==t[3];if(e!==Jo.Loading||null===ye||Ne){e>Jo.Loading&&Ne&&(t[3](),t[3]=null,t[0]=null),I0(e,t,i,a,h);const Qe=cm(fe,e);null!==Qe&&(t[2]=x+Qe,T0(Qe,t,a,i,h))}else{t[0]=e;const Qe=T0(ye,t,a,i,h);t[3]=Qe}}else t[0]=e}function T0(e,t,i,a,h){return Bv(e,()=>{const j=t[0];t[2]=null,t[0]=null,null!==j&&zc(j,i,a)},h[m.YEL])}function Ig(e,t){return e<t}function kf(e,t){zc(Jo.Placeholder,t,e[t.index])}function Vv(e,t,i){e.loadingPromise.then(()=>{e.loadingState===va.COMPLETE?zc(Jo.Complete,t,i):e.loadingState===va.FAILED&&zc(Jo.Error,t,i)})}let P0=null;function ks(e,t,i,a){return Kr(()=>{const h=e;null!==t&&(h.hasOwnProperty("decorators")&&void 0!==h.decorators?h.decorators.push(...t):h.decorators=t),null!==i&&(h.ctorParameters=i),null!==a&&(h.propDecorators=h.hasOwnProperty("propDecorators")&&void 0!==h.propDecorators?{...h.propDecorators,...a}:a)})}let Pg=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const j0=new m.nKC(""),sy=new m.nKC("");let Bg,Kb=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(i,a,h){this._ngZone=i,this.registry=a,(0,m.M6u)()&&(this._destroyRef=(0,m.WQX)(m.abz,{optional:!0})??void 0),Bg||(function Gb(e){Bg=e}(h),h.addToWindow(a)),this._watchAngularEvents(),i.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const i=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),a=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{qn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{i.unsubscribe(),a.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,a,h){let x=-1;a&&a>0&&(x=setTimeout(()=>{this._callbacks=this._callbacks.filter(j=>j.timeoutId!==x),i()},a)),this._callbacks.push({doneCb:i,timeoutId:x,updateCb:h})}whenStable(i,a,h){if(h&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,a,h),this._runCallbacksIfReady()}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,a,h){return[]}static \u0275fac=function(a){return new(a||e)((0,m.KVO)(qn),(0,m.KVO)(ay),(0,m.KVO)(sy))};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac})}return e})(),ay=(()=>{class e{_applications=new Map;registerApplication(i,a){this._applications.set(i,a)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,a=!0){return Bg?.findTestabilityInTree(this,i,a)??null}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function ly(e){return!!e&&"function"==typeof e.then}function cy(e){return!!e&&"function"==typeof e.subscribe}const uy=new m.nKC("");function Xb(e){return(0,m.EmA)([{provide:uy,multi:!0,useValue:e}])}let H0=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a});appInits=(0,m.WQX)(uy,{optional:!0})??[];injector=(0,m.WQX)(m.zZn);constructor(){}runInitializers(){if(this.initialized)return;const i=[];for(const h of this.appInits){const x=(0,m.N4e)(this.injector,h);if(ly(x))i.push(x);else if(cy(x)){const j=new Promise((fe,ye)=>{x.subscribe({complete:fe,error:ye})});i.push(j)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(h=>{this.reject(h)}),0===i.length&&a(),this.initialized=!0}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Lf=new m.nKC("");function Yb(){}function Zb(){(0,Jn.KO)(()=>{throw new m.buA(600,"")})}function $c(e,t){return Array.isArray(t)?t.reduce($c,e):{...e,...t}}let pm=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,m.WQX)(m.ZTf);afterRenderManager=(0,m.WQX)(qr);zonelessEnabled=(0,m.WQX)(m.Evm);rootEffectScheduler=(0,m.WQX)(m.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ni.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,m.WQX)(m.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,bi.T)(i=>!i))}constructor(){(0,m.WQX)(Le,{optional:!0})}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:h=>{h&&a()}})}).finally(()=>{i.unsubscribe()})}_injector=(0,m.WQX)(m.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,h=m.zZn.NULL){return this._injector.get(qn).run(()=>{ei(10);const j=i instanceof Z1;if(!this._injector.get(H0).done)throw new m.buA(405,"");let ye;ye=j?i:this._injector.get(vd).resolveComponentFactory(i),this.componentTypes.push(ye.componentType);const Ne=function Qb(e){return e.isBoundToModule}(ye)?void 0:this._injector.get(Md),Mt=ye.create(h,[],a||ye.selector,Ne),on=Mt.location.nativeElement,ln=Mt.injector.get(j0,null);return ln?.registerApplication(on),Mt.onDestroy(()=>{this.detachView(Mt.hostView),Xh(this.components,Mt),ln?.unregisterApplication(on)}),this._loadComponent(Mt),ei(11,Mt),Mt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ei(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(le.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m.buA(101,!1);const i=(0,Jn.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,Jn.Ht)(i),this.afterTick.next(),ei(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(xh,null,{optional:!0}));let i=0;for(;0!==this.dirtyFlags&&i++<10;)ei(14),this.synchronizeOnce(),ei(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let i=!1;if(7&this.dirtyFlags){const a=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:h}of this.allViews)(a||(0,m.dMS)(h))&&(Nm(h,a&&!this.zonelessEnabled?0:1),i=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}i||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:i})=>(0,m.dMS)(i))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;Xh(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView);try{this.tick()}catch(h){this.internalErrorHandler(h)}this.components.push(i),this._injector.get(Lf,[]).forEach(h=>h(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Xh(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new m.buA(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xh(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function z0(){let e,t;return{promise:new Promise((a,h)=>{e=a,t=h}),resolve:e,reject:t}}function fy(e){const t=(0,m.OAn)(),i=(0,m.Mx4)();if(kf(t,i),!W0(0,t))return;const a=t[m.YEL];Uh(0,Ol(t,i),e(()=>Id(0,t,i),a))}function hy(e){const t=(0,m.OAn)(),i=t[m.YEL],a=(0,m.Mx4)(),x=nl(t[m.eDl],a);x.loadingState===va.NOT_STARTED&&Uh(1,Ol(t,a),e(()=>Yh(x,t,a),i))}function $0(e,t,i){const a=t[m.YEL],h=Ol(t,i),x=h[6];Uh(2,h,e(()=>Td(a,x),a))}function Yh(e,t,i){Ug(e,t,i)}function Ug(e,t,i){const a=t[m.YEL],h=t[m.eDl];if(e.loadingState!==va.NOT_STARTED)return e.loadingPromise??Promise.resolve();const x=Ol(t,i),j=function Vh(e,t){return(0,m.XRZ)(e,t.primaryTmplIndex+m.Yw1)}(h,e);e.loadingState=va.IN_PROGRESS,jc(1,x);let fe=e.dependencyResolverFn;const ye=a.get(m.u5s).add();return fe?(e.loadingPromise=Promise.allSettled(fe()).then(Ne=>{let Qe=!1;const Mt=[],on=[];for(const ln of Ne){if("fulfilled"!==ln.status){Qe=!0;break}{const Hn=ln.value,dr=(0,m.xUg)(Hn)||(0,m.HaV)(Hn);if(dr)Mt.push(dr);else{const Pr=(0,m.oyA)(Hn);Pr&&on.push(Pr)}}}if(Qe){if(e.loadingState=va.FAILED,null===e.errorTmplIndex){const Hn=new m.buA(-750,!1);Lm(t,Hn)}}else{e.loadingState=va.COMPLETE;const ln=j.tView;if(Mt.length>0){ln.directiveRegistry=D0(ln.directiveRegistry,Mt);const Hn=Mt.map(Pr=>Pr.type),dr=(0,m.jXY)(!1,...Hn);e.providers=dr}on.length>0&&(ln.pipeRegistry=D0(ln.pipeRegistry,on))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,ye()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=va.COMPLETE,ye()}),e.loadingPromise)}function W0(e,t){return t[m.YEL].get(Og,null,{optional:!0})?.behavior!==kv.Manual}function Id(e,t,i){const a=t[m.eDl],h=t[i.index];if(!W0(0,t))return;const x=Ol(t,i),j=nl(a,i);switch(Ku(x),j.loadingState){case va.NOT_STARTED:zc(Jo.Loading,i,h),Ug(j,t,i),j.loadingState===va.IN_PROGRESS&&Vv(j,i,h);break;case va.IN_PROGRESS:zc(Jo.Loading,i,h),Vv(j,i,h);break;case va.COMPLETE:zc(Jo.Complete,i,h);break;case va.FAILED:zc(Jo.Error,i,h)}}function Td(e,t,i){return Vg.apply(this,arguments)}function Vg(){return(Vg=(0,En.A)(function*(e,t,i){const a=e.get(hi);if(a.hydrating.has(t))return;const{parentBlockPromise:x,hydrationQueue:j}=function rd(e,t){const i=t.get(hi),h=t.get(Vs).get("__nghDeferData__",{});let x=!1,j=e,fe=null;const ye=[];for(;!x&&j;){x=i.has(j);const Ne=i.hydrating.get(j);if(null===fe&&null!=Ne){fe=Ne.promise;break}ye.unshift(j),j=h[j].p}return{parentBlockPromise:fe,hydrationQueue:ye}}(t,e);if(0===j.length)return;null!==x&&j.shift(),function G0(e,t){for(let i of t)e.hydrating.set(i,z0())}(a,j),null!==x&&(yield x);const fe=j[0];a.has(fe)?yield K0(e,j,i):a.awaitParentBlock(fe,(0,En.A)(function*(){return yield K0(e,j,i)}))})).apply(this,arguments)}function K0(e,t,i){return jg.apply(this,arguments)}function jg(){return(jg=(0,En.A)(function*(e,t,i){const a=e.get(hi),h=a.hydrating,x=e.get(m.rev),j=x.add();for(let ye=0;ye<t.length;ye++){const Ne=t[ye],Qe=a.get(Ne);if(null==Qe){Hg(ye,t,a),mm(t.slice(ye),a);break}if(yield zg(Qe),yield my(e),py(Qe)){$_(Qe),mm(t.slice(ye),a);break}h.get(Ne).resolve()}const fe=t[t.length-1];yield h.get(fe)?.promise,x.remove(j),i&&i(t),function K_(e,t,i,a){null!==e&&(i.cleanup(t),gu(e.lContainer),function W_(e){const t=e._views;for(const i of t){const a=Co(i);null!==a&&null!==a[m.jgP]&&((0,m.q$2)(a)?Jm(a):gu(a))}}(a))}(a.get(fe),t,a,e.get(pm))})).apply(this,arguments)}function py(e){return Ol(e.lView,e.tNode)[1]===Jo.Error}function Hg(e,t,i){const a=e-1,h=a>-1?i.get(t[a]):null;h&&gu(h.lContainer)}function mm(e,t){const i=t.hydrating;for(const a in e)i.get(a)?.reject();t.cleanup(e)}function my(e){return new Promise(t=>co(t,{injector:e}))}function zg(e){return gm.apply(this,arguments)}function gm(){return(gm=(0,En.A)(function*(e){const{tNode:t,lView:i}=e,a=Ol(i,t);return new Promise(h=>{(function $g(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(a,h),Id(0,i,t)})})).apply(this,arguments)}function Qs(e,t,i){return 0===e?Zh(t,i):2!==e||!Zh(t,i)}function Zh(e,t){const i=e[m.YEL],a=nl(e[m.eDl],t),h=vr(i),x=function Fa(e){return null!=e&&!(1&~e)}(a.flags),fe=null!==Ol(e,t)[6];return!(x&&fe&&h)}function Qu(e,t){const i=nl(e,t);return i.hydrateTriggers??=new Map}function X0(e,t,i,a,h,x,j,fe,ye,Ne){const Qe=(0,m.OAn)(),Mt=(0,m.klJ)(),on=e+m.Yw1,ln=Pf(Qe,Mt,e,null,0,0),Hn=Qe[m.YEL],dr=vr(Hn);if(Mt.firstCreatePass){ze("NgDefer");const Wf={primaryTmplIndex:t,loadingTmplIndex:a??null,placeholderTmplIndex:h??null,errorTmplIndex:x??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:va.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:Ne??0};ye?.(Mt,Wf,fe,j),function bb(e,t,i){const a=lm(t);e.data[a]=i}(Mt,on,Wf)}const Pr=Qe[on];let Wr=null,mr=null;if(Pr[m.qFA]?.length>0){const Wf=Pr[m.qFA][0].data;mr=Wf.di??null,Wr=Wf.s}const bs=[null,Vc.Initial,null,null,null,null,mr,Wr,null,null];!function S0(e,t,i){e[lm(t)]=i}(Qe,on,bs);let Wl=null;null!==mr&&dr&&(Wl=Hn.get(hi),Wl.add(mr,{lView:Qe,tNode:ln,lContainer:Pr}));const ba=()=>{Ku(bs),null!==mr&&Wl?.cleanup([mr])};Uh(0,bs,()=>(0,m.DyX)(Qe,ba)),(0,m.ik5)(Qe,ba)}function by(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();Qs(0,i,a)&&(kf(i,a),Dd(i,a,e,t,O0,()=>Id(0,i,a),0))}function Ba(e,t){const i=(0,m.OAn)();if($s(i,(0,m.xbp)(),t)){const h=(0,m.klJ)(),x=(0,m.CpD)();if(Fm(x,h,i,e,t))(0,m.Qs1)(x)&&d_(i,x.index);else{const fe=(0,m.d31)(x,i);Am(i[m.GpT],fe,null,x.value,e,t,null)}}return Ba}function Kc(e,t,i,a){const h=(0,m.OAn)();return $s(h,(0,m.xbp)(),t)&&((0,m.klJ)(),function t3(e,t,i,a,h,x){const j=(0,m.d31)(e,t);Am(t[m.GpT],j,x,e.value,i,a,h)}((0,m.CpD)(),h,e,t,i,a)),Kc}const Qh=new m.nKC("",{providedIn:"root",factory:()=>!1}),Gg=new m.nKC("",{providedIn:"root",factory:()=>Rd}),Rd=4e3,ml=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Mu(e){return e[m.YEL].get(Qh,!1)}function Z0(e){const t=is.get(e);if(t){for(const i of t.cleanupFns)i();is.delete(e)}Fi.delete(e)}const wy=()=>{},is=new WeakMap,Fi=new WeakMap,kd=new WeakMap;function _m(e,t){const i=kd.get(e);if(i&&i.length>0){const a=i.findIndex(h=>h===t);a>-1&&i.splice(a,1)}0===i?.length&&kd.delete(e)}function ep(e,t){const i=kd.get(e)?.shift(),a=t[m.rQE];if(a){const x=Lp(e.index,a)?.previousSibling;i&&x&&i===x&&i.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function Xg(e,t){kd.has(e)?kd.get(e)?.push(t):kd.set(e,[t])}function tp(e){const t=e[m.Isx]??={};return t.enter??=new Map}function ed(e){const t=e[m.Isx]??={};return t.leave??=new Map}function Yg(e){const t="function"==typeof e?e():e;let i=Array.isArray(t)?t:null;return"string"==typeof t&&(i=t.trim().split(/\s+/).filter(a=>a)),i}function np(e,t){const i=Fi.get(t);return void 0===i||t===e.target&&(void 0!==i.animationName&&e.animationName===i.animationName||void 0!==i.propertyName&&e.propertyName===i.propertyName)}function Qg(e,t,i){const a=e.get(t.index)??{animateFns:[]};a.animateFns.push(i),e.set(t.index,a)}function po(e,t){if(e)for(const i of e)i();for(const i of t)i()}function rp(e,t){const i=ed(e).get(t.index);i&&(i.resolvers=void 0)}function ip(e,t,i,a,h){_m(t,i),po(a,h),rp(e,t)}function Bf(){return(0,m.OAn)()[m.b5C][m.SKP]}class Sy{destroy(t){}updateValue(t,i){}swap(t,i){const a=Math.min(t,i),h=Math.max(t,i),x=this.detach(h);if(h-a>1){const j=this.detach(a);this.attach(a,x),this.attach(h,j)}else this.attach(a,x)}move(t,i){this.attach(i,this.detach(t))}}function op(e,t,i,a,h){return e===i&&Object.is(t,a)?1:Object.is(h(e,t),h(i,a))?-1:0}function qg(e,t,i,a){return!(void 0===t||!t.has(a)||(e.attach(i,t.get(a)),t.delete(a),0))}function Tn(e,t,i,a,h){if(qg(e,t,a,i(a,h)))e.updateValue(a,h);else{const x=e.create(a,h);e.attach(a,x)}}function e1(e,t,i,a){const h=new Set;for(let x=t;x<=i;x++)h.add(a(x,e.at(x)));return h}class Dy{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const i=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(t,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,i){if(this.kvMap.has(t)){let a=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const h=this._vMap;for(;h.has(a);)a=h.get(a);h.set(a,i)}else this.kvMap.set(t,i)}forEach(t){for(let[i,a]of this.kvMap)if(t(a,i),void 0!==this._vMap){const h=this._vMap;for(;h.has(a);)a=h.get(a),t(a,i)}}}function t1(e,t,i,a,h,x,j,fe){ze("NgControlFlow");const ye=(0,m.OAn)(),Ne=(0,m.klJ)();return Pf(ye,Ne,e,t,i,a,h,(0,m.db4)(Ne.consts,x),256,j,fe),td}function td(e,t,i,a,h,x,j,fe){ze("NgControlFlow");const ye=(0,m.OAn)(),Ne=(0,m.klJ)();return Pf(ye,Ne,e,t,i,a,h,(0,m.db4)(Ne.consts,x),512,j,fe),td}function Oy(e,t){ze("NgControlFlow");const i=(0,m.OAn)(),a=(0,m.xbp)(),h=i[a]!==Ko?i[a]:-1,x=-1!==h?o(i,m.Yw1+h):void 0;if($s(i,a,e)){const fe=(0,Jn.Ht)(null);try{if(void 0!==x&&jp(x,0),-1!==e){const ye=m.Yw1+e,Ne=o(i,ye),Qe=me(i[m.eDl],ye),Mt=null;gd(Ne,_f(i,Qe,t,{dehydratedView:Mt}),0,vf(Qe,Mt))}}finally{(0,Jn.Ht)(fe)}}else if(void 0!==x){const fe=w_(x,0);void 0!==fe&&(fe[m.SKP]=t)}}class h2{lContainer;$implicit;$index;constructor(t,i,a){this.lContainer=t,this.$implicit=i,this.$index=a}get $count(){return this.lContainer.length-m.Y20}}function Iy(e){return e}function Ty(e,t){return t}class p2{hasEmptyBlock;trackByFn;liveCollection;constructor(t,i,a){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=a}}function Py(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on){ze("NgControlFlow");const ln=(0,m.OAn)(),Hn=(0,m.klJ)(),dr=void 0!==ye,Pr=(0,m.OAn)(),Wr=fe?j.bind(Pr[m.b5C][m.SKP]):j,mr=new p2(dr,Wr);Pr[m.Yw1+e]=mr,Pf(ln,Hn,e+1,t,i,a,h,(0,m.db4)(Hn.consts,x),256),dr&&Pf(ln,Hn,e+2,ye,Ne,Qe,Mt,(0,m.db4)(Hn.consts,on),512)}class c extends Sy{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,i,a){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=a}get length(){return this.lContainer.length-m.Y20}at(t){return this.getLView(t)[m.SKP].$implicit}attach(t,i){const a=i[m.tcA];this.needsIndexUpdate||=t!==this.length,gd(this.lContainer,i,t,vf(this.templateTNode,a)),function u(e,t){if(e.length<=m.Y20)return;const a=e[m.Y20+t],h=a?a[m.Isx]:void 0;a&&h&&h.detachedLeaveAnimationFns&&h.detachedLeaveAnimationFns.length>0&&(function Jt(e,t){const i=e.get(pe);if(t.detachedLeaveAnimationFns){for(const a of t.detachedLeaveAnimationFns)i.queue.delete(a);t.detachedLeaveAnimationFns=void 0}}(a[m.YEL],h),G.delete(a),h.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function _(e,t){if(e.length<=m.Y20)return;const a=e[m.Y20+t],h=a?a[m.Isx]:void 0;h&&h.leave&&h.leave.size>0&&(h.detachedLeaveAnimationFns=[])}(this.lContainer,t),function L(e,t){return wc(e,t)}(this.lContainer,t)}create(t,i){const h=_f(this.hostLView,this.templateTNode,new h2(this.lContainer,i,t),{dehydratedView:null});return this.operationsCounter?.recordCreate(),h}destroy(t){md(t[m.eDl],t),this.operationsCounter?.recordDestroy()}updateValue(t,i){this.getLView(t)[m.SKP].$implicit=i}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[m.SKP].$index=t}getLView(t){return function $(e,t){return w_(e,t)}(this.lContainer,t)}}function n(e){const t=(0,Jn.Ht)(null),i=(0,m._px)();try{const a=(0,m.OAn)(),h=a[m.eDl],x=a[i],j=i+1,fe=o(a,j);if(void 0===x.liveCollection){const Ne=me(h,j);x.liveCollection=new c(fe,a,Ne)}else x.liveCollection.reset();const ye=x.liveCollection;if(function e_(e,t,i){let a,h,x=0,j=e.length-1;if(Array.isArray(t)){let ye=t.length-1;for(;x<=j&&x<=ye;){const Ne=e.at(x),Qe=t[x],Mt=op(x,Ne,x,Qe,i);if(0!==Mt){Mt<0&&e.updateValue(x,Qe),x++;continue}const on=e.at(j),ln=t[ye],Hn=op(j,on,ye,ln,i);if(0!==Hn){Hn<0&&e.updateValue(j,ln),j--,ye--;continue}const dr=i(x,Ne),Pr=i(j,on),Wr=i(x,Qe);if(Object.is(Wr,Pr)){const mr=i(ye,ln);Object.is(mr,dr)?(e.swap(x,j),e.updateValue(j,ln),ye--,j--):e.move(j,x),e.updateValue(x,Qe),x++;continue}if(a??=new Dy,h??=e1(e,x,j,i),qg(e,a,x,Wr))e.updateValue(x,Qe),x++,j++;else if(h.has(Wr))a.set(dr,e.detach(x)),j--;else{const mr=e.create(x,t[x]);e.attach(x,mr),x++,j++}}for(;x<=ye;)Tn(e,a,i,x,t[x]),x++}else if(null!=t){const ye=t[Symbol.iterator]();let Ne=ye.next();for(;!Ne.done&&x<=j;){const Qe=e.at(x),Mt=Ne.value,on=op(x,Qe,x,Mt,i);if(0!==on)on<0&&e.updateValue(x,Mt),x++,Ne=ye.next();else{a??=new Dy,h??=e1(e,x,j,i);const ln=i(x,Mt);if(qg(e,a,x,ln))e.updateValue(x,Mt),x++,j++,Ne=ye.next();else if(h.has(ln)){const Hn=i(x,Qe);a.set(Hn,e.detach(x)),j--}else e.attach(x,e.create(x,Mt)),x++,j++,Ne=ye.next()}}for(;!Ne.done;)Tn(e,a,i,e.length,Ne.value),Ne=ye.next()}for(;x<=j;)e.destroy(e.detach(j--));a?.forEach(ye=>{e.destroy(ye)})}(ye,e,x.trackByFn),ye.updateIndexes(),x.hasEmptyBlock){const Ne=(0,m.xbp)(),Qe=0===ye.length;if($s(a,Ne,Qe)){const Mt=i+2,on=o(a,Mt);if(Qe){const ln=me(h,Mt),Hn=null;gd(on,_f(a,ln,void 0,{dehydratedView:Hn}),0,vf(ln,Hn))}else h.firstUpdatePass&&Yp(on),jp(on,0)}}}finally{(0,Jn.Ht)(t)}}function o(e,t){return e[t]}function me(e,t){return(0,m.XRZ)(e,t)}function Ee(e,t,i){const a=(0,m.OAn)();return $s(a,(0,m.xbp)(),t)&&((0,m.klJ)(),C1((0,m.CpD)(),a,e,t,a[m.GpT],i)),Ee}function Se(e,t,i,a,h){Fm(t,e,i,h?"class":"style",a)}function Ae(e,t,i,a){const h=(0,m.OAn)(),x=h[m.eDl],j=e+m.Yw1,fe=x.firstCreatePass?n0(j,h,2,t,E1,(0,m.ckz)(),i,a):x.data[j];if(Rm(fe,h,e,t,mn),(0,m.yoD)(fe)){const ye=h[m.eDl];cc(ye,h,fe),Fo(ye,fe,h)}return null!=a&&hu(h,fe),Ae}function ft(){const e=(0,m.klJ)(),i=km((0,m.Mx4)());return e.firstCreatePass&&r0(e,i),(0,m.UhH)(i)&&(0,m.krE)(),(0,m.N79)(),null!=i.classesWithoutHost&&function kn(e){return!!(8&e.flags)}(i)&&Se(e,i,(0,m.OAn)(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function pr(e){return!!(16&e.flags)}(i)&&Se(e,i,(0,m.OAn)(),i.stylesWithoutHost,!1),ft}function it(e,t,i,a){return Ae(e,t,i,a),ft(),it}function Zt(e,t,i,a){const h=(0,m.OAn)(),x=h[m.eDl],j=e+m.Yw1,fe=x.firstCreatePass?J_(j,x,2,t,i,a):x.data[j];return Rm(fe,h,e,t,mn),null!=a&&hu(h,fe),Zt}function nt(){const t=km((0,m.Mx4)());return(0,m.UhH)(t)&&(0,m.krE)(),(0,m.N79)(),nt}function qt(e,t,i,a){return Zt(e,t,i,a),nt(),qt}let mn=(e,t,i,a,h)=>((0,m.m7n)(!0),Rc(t[m.GpT],a,(0,m.UaU)()));function Zn(e,t,i){const a=(0,m.OAn)(),h=a[m.eDl],x=e+m.Yw1,j=h.firstCreatePass?n0(x,a,8,"ng-container",E1,(0,m.ckz)(),t,i):h.data[x];if(Rm(j,a,e,"ng-container",Js),(0,m.yoD)(j)){const fe=a[m.eDl];cc(fe,a,j),Fo(fe,j,a)}return null!=i&&hu(a,j),Zn}function Er(){const e=(0,m.klJ)(),i=km((0,m.Mx4)());return e.firstCreatePass&&r0(e,i),Er}function pi(e,t,i){return Zn(e,t,i),Er(),pi}function zr(e,t,i){const a=(0,m.OAn)(),h=a[m.eDl],x=e+m.Yw1,j=h.firstCreatePass?J_(x,h,8,"ng-container",t,i):h.data[x];return Rm(j,a,e,"ng-container",Js),null!=i&&hu(a,j),zr}function Ri(){return km((0,m.Mx4)()),Er}let Js=(e,t,i,a,h)=>((0,m.m7n)(!0),Zd(t[m.GpT],""));function qs(){return(0,m.OAn)()}function Bo(e,t,i){const a=(0,m.OAn)();return $s(a,(0,m.xbp)(),t)&&((0,m.klJ)(),Pm((0,m.CpD)(),a,e,t,a[m.GpT],i)),Bo}const gl=void 0;var ea=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gl,"{1} 'at' {0}",gl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function _l(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let oa={};function xc(e){const t=function lp(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=nd(t);if(i)return i;const a=t.split("-")[0];if(i=nd(a),i)return i;if("en"===a)return ea;throw new m.buA(701,!1)}function uc(e){return xc(e)[Gc.PluralCase]}function nd(e){if(!(e in oa)){const t=m.laP.ng&&m.laP.ng.common&&m.laP.ng.common.locales&&m.laP.ng.common.locales[e];return void 0!==t&&(oa[e]=t),t}return oa[e]}var Gc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Gc||{});const Ld=["zero","one","two","few","many"],Fd="en-US",Uf={marker:"element"},Nd={marker:"ICU"};var Ua=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ua||{});let Bd=Fd;function Vf(e){"string"==typeof e&&(Bd=e.toLowerCase().replace(/_/g,"-"))}let Xc=0,dc=0;let up=(e,t,i,a)=>((0,m.m7n)(!0),function vm(e,t,i){const a=e[m.GpT];switch(i){case Node.COMMENT_NODE:return Zd(a,t);case Node.TEXT_NODE:return Nu(a,t);case Node.ELEMENT_NODE:return Rc(a,t,null)}}(e,i,a));function xu(e,t,i,a){const h=i[m.GpT];let j,x=null;for(let fe=0;fe<t.length;fe++){const ye=t[fe];if("string"==typeof ye){const Ne=t[++fe];null===i[Ne]&&(i[Ne]=up(i,0,ye,Node.TEXT_NODE))}else if("number"==typeof ye)switch(1&ye){case 0:const Ne=$p(ye);let Qe,Mt;if(null===x&&(x=Ne,j=h.parentNode(a)),Ne===x?(Qe=a,Mt=j):(Qe=null,Mt=(0,m.IvY)(i[Ne])),null!==Mt){const dr=I_(ye);Ml(h,Mt,i[dr],Qe,!1);const Wr=zp(e,dr);if(null!==Wr&&"object"==typeof Wr){const mr=Ch(Wr,i);null!==mr&&xu(e,Wr.create[mr],i,i[Wr.anchorIdx])}}break;case 1:const ln=t[++fe],Hn=t[++fe];Am(h,(0,m.vaC)(ye>>>1,i),null,null,ln,Hn,null)}else switch(ye){case Nd:const Ne=t[++fe],Qe=t[++fe];null===i[Qe]&&_o(i[Qe]=up(i,0,Ne,Node.COMMENT_NODE),i);break;case Uf:const Mt=t[++fe],on=t[++fe];null===i[on]&&_o(i[on]=up(i,0,Mt,Node.ELEMENT_NODE),i)}}}function ky(e,t,i,a,h){for(let x=0;x<i.length;x++){const j=i[x],fe=i[++x];if(j&h){let ye="";for(let Ne=x+1;Ne<=x+fe;Ne++){const Qe=i[Ne];if("string"==typeof Qe)ye+=Qe;else if("number"==typeof Qe)if(Qe<0)ye+=(0,m.eFE)(t[a-Qe]);else{const Mt=Qe>>>2;switch(3&Qe){case 1:const on=i[++Ne],ln=i[++Ne],Hn=e.data[Mt];if("string"==typeof Hn)Am(t[m.GpT],t[Mt],null,Hn,on,ye,ln);else{const Pr=(0,m._px)();(0,m.ypq)(Mt);try{C1(Hn,t,on,ye,t[m.GpT],ln)}finally{(0,m.ypq)(Pr)}}break;case 0:const dr=t[Mt];null!==dr&&Wo(t[m.GpT],dr,ye);break;case 2:Ly(e,zp(e,Mt),t,ye);break;case 3:t_(e,zp(e,Mt),a,t)}}}}else{const ye=i[x+1];if(ye>0&&!(3&~ye)){const Qe=zp(e,ye>>>2);t[Qe.currentCaseLViewIndex]<0&&t_(e,Qe,a,t)}}x+=fe}}function t_(e,t,i,a){let h=a[t.currentCaseLViewIndex];if(null!==h){let x=Xc;h<0&&(h=a[t.currentCaseLViewIndex]=~h,x=-1),ky(e,a,t.update[h],i,x)}}function Ly(e,t,i,a){const h=function o1(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function n1(e,t){const i=uc(t)(parseInt(e,10)),a=Ld[i];return void 0!==a?a:"other"}(t,function jf(){return Bd}());i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(Ch(t,i)!==h&&(i1(e,t,i),i[t.currentCaseLViewIndex]=null===h?null:~h,null!==h)){const j=i[t.anchorIdx];j&&xu(e,t.create[h],i,j)}}function i1(e,t,i){let a=Ch(t,i);if(null!==a){const h=t.remove[a];for(let x=0;x<h.length;x++){const j=h[x];if(j>0){const fe=(0,m.vaC)(j,i);null!==fe&&hl(i[m.GpT],fe)}else i1(e,zp(e,~j),i)}}}const mi=/\ufffd(\d+):?\d*\ufffd/gi,Ls=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,zf=/\ufffd(\d+)\ufffd/,s1=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,g2=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,_2=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,v2=/\uE500/g;function _C(e,t,i,a,h,x,j){const fe=Cc(e,a,1,null);let ye=fe<<Ua.SHIFT,Ne=(0,m.Ab)();t===Ne&&(Ne=null),null===Ne&&(ye|=Ua.APPEND_EAGERLY),j&&(ye|=Ua.COMMENT,function ph(e){void 0===hh&&(hh=e())}(P_)),h.push(ye,null===x?"":x);const Qe=R1(e,fe,j?32:1,null===x?"":x,null);O_(i,Qe);const Mt=Qe.index;return(0,m.iMd)(Qe,!1),null!==Ne&&t!==Ne&&function b3(e,t){let i=e.insertBeforeIndex;null===i?(v1(zm,ju),i=e.insertBeforeIndex=[null,t]):((0,m.Xln)(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(Ne,Mt),Qe}function O4(e,t,i,a,h,x,j,fe){const ye=fe.match(mi),Qe=_C(t,i,a,j,h,ye?null:fe,!1).index;ye&&Ny(x,fe,Qe,null,0,null),e.push({kind:0,index:Qe})}function Ny(e,t,i,a,h,x){const j=e.length,fe=j+1;e.push(null,null);const ye=j+2,Ne=t.split(mi);let Qe=0;for(let Mt=0;Mt<Ne.length;Mt++){const on=Ne[Mt];if(1&Mt){const ln=h+parseInt(on,10);e.push(-1-ln),Qe|=vC(ln)}else""!==on&&e.push(on)}return e.push(i<<2|(a?1:0)),a&&e.push(a,x),e[j]=Qe,e[fe]=e.length-ye,Qe}function T4(e){let t=0;for(let i=0;i<e.length;i++){const a=e[i];"number"==typeof a&&a<0&&t++}return t}function vC(e){return 1<<Math.min(e,31)}function yC(e){let t,x,i="",a=0,h=!1;for(;null!==(t=g2.exec(e));)h?t[0]===`\ufffd/*${x}\ufffd`&&(a=t.index,h=!1):(i+=e.substring(a,t.index+t[0].length),x=t[1],h=!0);return i+=e.slice(a),i}function bC(e,t,i,a,h,x,j){let fe=0;const ye={type:x.type,currentCaseLViewIndex:Cc(t,i,1,null),anchorIdx:j,cases:[],create:[],remove:[],update:[]};(function L4(e,t,i){e.push(vC(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(a,x,j),function y3(e,t,i){const a=e.data[t];null===a?e.data[t]=i:a.value=i}(t,j,ye);const Ne=x.values,Qe=[];for(let Mt=0;Mt<Ne.length;Mt++){const on=Ne[Mt],ln=[];for(let dr=0;dr<on.length;dr++){const Pr=on[dr];if("string"!=typeof Pr){const Wr=ln.push(Pr)-1;on[dr]=`\x3c!--\ufffd${Wr}\ufffd--\x3e`}}const Hn=[];Qe.push(Hn),fe=R4(Hn,t,ye,i,a,h,x.cases[Mt],on.join(""),ln)|fe}fe&&function F4(e,t,i){e.push(t,1,i<<2|3)}(a,fe,j),e.push({kind:3,index:j,cases:Qe,currentCaseLViewIndex:ye.currentCaseLViewIndex})}function A4(e){const t=[],i=[];let a=1,h=0;const x=b2(e=e.replace(s1,function(j,fe,ye){return a="select"===ye?0:1,h=parseInt(fe.slice(1),10),""}));for(let j=0;j<x.length;){let fe=x[j++].trim();1===a&&(fe=fe.replace(/\s*(?:=)?(\w+)\s*/,"$1")),fe.length&&t.push(fe);const ye=b2(x[j++]);t.length>i.length&&i.push(ye)}return{type:a,mainBinding:h,cases:t,values:i}}function b2(e){if(!e)return[];let t=0;const i=[],a=[],h=/[{}]/g;let x;for(h.lastIndex=0;x=h.exec(e);){const fe=x.index;if("}"==x[0]){if(i.pop(),0==i.length){const ye=e.substring(t,fe);s1.test(ye)?a.push(A4(ye)):a.push(ye),t=fe+1}}else{if(0==i.length){const ye=e.substring(t,fe);a.push(ye),t=fe+1}i.push("{")}}const j=e.substring(t);return a.push(j),a}function R4(e,t,i,a,h,x,j,fe,ye){const Ne=[],Qe=[],Mt=[];i.cases.push(j),i.create.push(Ne),i.remove.push(Qe),i.update.push(Mt);const ln=Ac(ra()).getInertBodyElement(fe),Hn=Fu(ln)||ln;return Hn?CC(e,t,i,a,h,Ne,Qe,Mt,Hn,x,ye,0):0}function CC(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt){let on=0,ln=ye.firstChild;for(;ln;){const Hn=Cc(t,a,1,null);switch(ln.nodeType){case Node.ELEMENT_NODE:const dr=ln,Pr=dr.tagName.toLowerCase();if(tu.hasOwnProperty(Pr)){C2(x,Uf,Pr,Ne,Hn),t.data[Hn]=Pr;const Wl=dr.attributes;for(let Wf=0;Wf<Wl.length;Wf++){const Cm=Wl.item(Wf),Ky=Cm.name.toLowerCase(),w5=!!Cm.value.match(mi),M4=dr.namespaceURI,x4="http://www.w3.org/2000/svg"===M4?`:svg:${Pr}`:"http://www.w3.org/1998/Math/MathML"===M4?`:math:${Pr}`:Pr;if(w5)mc.hasOwnProperty(Ky)&&Ny(fe,Cm.value,Hn,Cm.name,0,E2(Ky,x4));else if(mc[Ky]){let M5=Cm.value;E2(Ky,x4)?wC(x,Hn,Cm.name,"unsafe:blocked"):wC(x,Hn,Cm.name,M5)}}const ba={kind:1,index:Hn,children:[]};e.push(ba),on=CC(ba.children,t,i,a,h,x,j,fe,ln,Hn,Qe,Mt+1)|on,EC(j,Hn,Mt)}break;case Node.TEXT_NODE:const Wr=ln.textContent||"",mr=Wr.match(mi);C2(x,null,mr?"":Wr,Ne,Hn),EC(j,Hn,Mt),mr&&(on=Ny(fe,Wr,Hn,null,0,null)|on),e.push({kind:0,index:Hn});break;case Node.COMMENT_NODE:const bs=zf.exec(ln.textContent||"");if(bs){const ba=Qe[parseInt(bs[1],10)];C2(x,Nd,"",Ne,Hn),bC(e,t,a,h,Ne,ba,Hn),k4(j,Hn,Mt)}}ln=ln.nextSibling}return on}function EC(e,t,i){0===i&&e.push(t)}function k4(e,t,i){0===i&&(e.push(~t),e.push(t))}function C2(e,t,i,a,h){null!==t&&e.push(t),e.push(i,h,function Xm(e,t,i){return e|t<<17|i<<1}(0,a,h))}function wC(e,t,i,a){e.push(t<<1|1,i,a)}function E2(e,t){const i=e.toLowerCase(),a=t?function B4(e){const t=e.toLowerCase(),[i,a]=function N4(e,t=!0){if(":"!=e[0])return[null,e];const i=e.indexOf(":",1);if(-1===i){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,i),e.slice(i+1)]}(t,!1);return i===m.jNX||i===m.rJ1?`:${i}:${a}`:a}(t):"*",h=function ru(){return ga||(ga={},pl(No.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),pl(No.STYLE,void 0,[["*",["style"]]]),pl(No.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),pl(No.URL,"math",[["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),pl(No.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),pl(No.URL,"svg",[["a",["href","xlink:href"]]]),pl(No.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),pl(No.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),ga}();switch(h[`${a}|${i}`]||h[`*|${i}`]||No.NONE){case No.HTML:return iu;case No.STYLE:return cd;case No.SCRIPT:return xl;case No.URL:return Au;case No.RESOURCE_URL:return tl;case No.ATTRIBUTE_NO_BINDING:return ou;default:return null}}const U4=/\[(\ufffd.+?\ufffd?)\]/,V4=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,j4=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,H4=/{([A-Z0-9_]+)}/g,z4=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,$4=/\/\*/,W4=/\d+\:(\d+)/;function xC(e,t,i=-1){const a=(0,m.klJ)(),h=(0,m.OAn)(),x=m.Yw1+e,j=(0,m.db4)(a.consts,t),fe=(0,m.Ab)();a.firstCreatePass&&function D4(e,t,i,a,h,x){const j=(0,m.Ab)(),fe=[],ye=[],Ne=[[]],Qe=[[]];h=function P4(e,t){if(function T_(e){return-1===e}(t))return yC(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,a=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return yC(e.substring(i,a))}}(h,x);const Mt=function y2(e){return e.replace(v2," ")}(h).split(_2);for(let on=0;on<Mt.length;on++){let ln=Mt[on];
vendor: 4,399 bytes, line 1
1if(1&on){const Hn=47===ln.charCodeAt(0),dr=ln.charCodeAt(Hn?1:0),Pr=m.Yw1+Number.parseInt(ln.substring(Hn?2:1));if(Hn)Ne.shift(),Qe.shift(),(0,m.iMd)((0,m.Ab)(),!1);else{const Wr=L1(e,Ne[0],Pr);Ne.unshift([]),(0,m.iMd)(Wr,!0);const mr={kind:2,index:Pr,children:[],type:35===dr?0:1};Qe[0].push(mr),Qe.unshift(mr.children)}}else{const Hn=b2(ln);for(let dr=0;dr<Hn.length;dr++){let Pr=Hn[dr];if(1&dr){const Wr=Pr;if("object"!=typeof Wr)throw new Error(`Unable to parse ICU expression in "${h}" message.`);const bs=_C(e,j,Ne[0],i,fe,"",!0).index;bC(Qe[0],e,i,ye,t,Wr,bs)}else""!==Pr&&O4(Qe[0],e,j,Ne[0],fe,ye,i,Pr)}}}e.data[a]={create:fe,update:ye,ast:Qe[0],parentTNodeIndex:t}}(a,null===fe?0:fe.index,h,x,j,i),2===a.type?h[m.b5C][m.Wg1]|=32:h[m.Wg1]|=32;const ye=a.data[x],Qe=hf(a,fe===h[m.qlT]?null:fe,h);(function Hf(e,t,i,a){const h=e[m.GpT];for(let x=0;x<t.length;x++){const j=t[x++],Ne=(j&Ua.APPEND_EAGERLY)===Ua.APPEND_EAGERLY,Qe=j>>>Ua.SHIFT;let Mt=e[Qe],on=!1;null===Mt&&(Mt=e[Qe]=up(e,0,t[x],(j&Ua.COMMENT)===Ua.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),on=(0,m.SX7)()),Ne&&null!==i&&on&&Ml(h,i,Mt,a,!1)}})(h,ye.create,Qe,fe&&8&fe.type?h[fe.index]:null),(0,m.xyx)(!0)}function SC(){(0,m.xyx)(!1)}function w2(e,t,i){const a=(0,m.OAn)(),h=(0,m.klJ)(),x=(0,m.Mx4)();return x2(h,a,a[m.GpT],x,e,t,i),w2}function M2(e,t,i){const a=(0,m.OAn)(),h=(0,m.klJ)(),x=(0,m.Mx4)();return(3&x.type||i)&&nv(x,h,a,i,a[m.GpT],e,t,tm(x,a,t)),M2}function x2(e,t,i,a,h,x,j){let fe=!0,ye=null;if((3&a.type||j)&&(ye??=tm(a,t,x),nv(a,e,t,j,i,h,x,ye)&&(fe=!1)),fe){const Ne=a.outputs?.[h],Qe=a.hostDirectiveOutputs?.[h];if(Qe&&Qe.length)for(let Mt=0;Mt<Qe.length;Mt+=2){const on=Qe[Mt],ln=Qe[Mt+1];ye??=tm(a,t,x),cg(a,t,on,ln,h,ye)}if(Ne&&Ne.length)for(const Mt of Ne)ye??=tm(a,t,x),cg(a,t,Mt,h,h,ye)}}function IC(e=1){return(0,m.jvu)(e)}function Q4(e,t){let i=null;const a=function uu(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let h=0;h<t.length;h++){const x=t[h];if("*"!==x){if(null===a?ah(e,x,!0):Dm(a,x))return h}else i=h}return i}function TC(e){const t=(0,m.OAn)()[m.b5C][m.qlT];if(!t.projection){const a=t.projection=(0,m.WfI)(e?e.length:1,null),h=a.slice();let x=t.child;for(;null!==x;){if(128!==x.type){const j=e?Q4(x,e):0;null!==j&&(h[j]?h[j].projectionNext=x:a[j]=x,h[j]=x)}x=x.next}}}function PC(e,t=0,i,a,h,x){const j=(0,m.OAn)(),fe=(0,m.klJ)(),ye=a?e+1:null;null!==ye&&Pf(j,fe,ye,a,h,x,null,i);const Ne=_d(fe,m.Yw1+e,16,null,i||null);null===Ne.projection&&(Ne.projection=t),(0,m.Pfq)();const Mt=!j[m.tcA]||(0,m.KtD)();null===j[m.b5C][m.qlT].projection[Ne.projection]&&null!==ye?function J4(e,t,i){const a=m.Yw1+i,h=t.data[a],x=e[a];gd(x,_f(e,h,void 0,{dehydratedView:null}),0,vf(h,null))}(j,fe,ye):Mt&&!fo(Ne)&&function l_(e,t,i){_h(t[m.GpT],0,t,i,Uc(e,i,t),pf(i.parent||t[m.qlT],i,t))}(fe,j,Ne)}function AC(e,t,i,a){_v(e,t,i,a)}function RC(e,t,i){rs(e,t,i)}function kC(e){const t=(0,m.OAn)(),i=(0,m.klJ)(),a=(0,m.w7Z)();(0,m.GA0)(a+1);const h=Lh(i,a);if(e.dirty&&(0,m.vOT)(t)===!(2&~h.metadata.flags)){if(null===h.matches)e.reset([]);else{const x=yv(t,a);e.reset(x,rl),e.notifyOnChanges()}return!0}return!1}function LC(){return mg((0,m.OAn)(),(0,m.w7Z)())}function FC(e,t,i,a,h){gg(t,_v(e,i,a,h))}function NC(e,t,i,a){gg(e,rs(t,i,a))}function BC(e=1){(0,m.GA0)((0,m.w7Z)()+e)}function UC(e){const t=(0,m.VPL)();return(0,m.Hh6)(t,m.Yw1+e)}function By(e,t){return e<<17|t<<2}function ym(e){return e>>17&32767}function S2(e){return 2|e}function a1(e){return(131068&e)>>2}function D2(e,t){return-131069&e|t<<2}function O2(e){return 1|e}function VC(e,t,i,a){const h=e[i+1],x=null===t;let j=a?ym(h):a1(h),fe=!1;for(;0!==j&&(!1===fe||x);){const Ne=e[j+1];i9(e[j],t)&&(fe=!0,e[j+1]=a?O2(Ne):S2(Ne)),j=a?ym(Ne):a1(Ne)}fe&&(e[i+1]=a?S2(h):O2(h))}function i9(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,m.FRF)(e,t)>=0}const vl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jC(e){return e.substring(vl.key,vl.keyEnd)}function o9(e){return e.substring(vl.value,vl.valueEnd)}function HC(e,t){const i=vl.textEnd;return i===t?-1:(t=vl.keyEnd=function l9(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,vl.key=t,i),l1(e,t,i))}function zC(e,t){const i=vl.textEnd;let a=vl.key=l1(e,t,i);return i===a?-1:(a=vl.keyEnd=function c9(e,t,i){let a;for(;t<i&&(45===(a=e.charCodeAt(t))||95===a||(-33&a)>
vendor: 4,290 bytes, line 1
1=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=WC(e,a,i),a=vl.value=l1(e,a,i),a=vl.valueEnd=function u9(e,t,i){let a=-1,h=-1,x=-1,j=t,fe=j;for(;j<i;){const ye=e.charCodeAt(j++);if(59===ye)return fe;34===ye||39===ye?fe=j=KC(e,ye,j,i):t===j-4&&85===x&&82===h&&76===a&&40===ye?fe=j=KC(e,41,j,i):ye>32&&(fe=j),x=h,h=a,a=-33&ye}return fe}(e,a,i),WC(e,a,i))}function $C(e){vl.key=0,vl.keyEnd=0,vl.value=0,vl.valueEnd=0,vl.textEnd=e.length}function l1(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function WC(e,t,i,a){return(t=l1(e,t,i))<i&&t++,t}function KC(e,t,i,a){let h=-1,x=i;for(;x<a;){const j=e.charCodeAt(x++);if(j==t&&92!==h)return x;h=92==j&&92===h?0:j}throw new Error}function I2(e,t,i){return YC(e,t,i,!1),I2}function T2(e,t){return YC(e,t,null,!0),T2}function GC(e){ZC(qC,d9,e,!1)}function d9(e,t){for(let i=function a9(e){return $C(e),zC(e,l1(e,0,vl.textEnd))}(t);i>=0;i=zC(t,i))qC(e,jC(t),o9(t))}function XC(e){ZC(v9,f9,e,!0)}function f9(e,t){for(let i=function s9(e){return $C(e),HC(e,l1(e,0,vl.textEnd))}(t);i>=0;i=HC(t,i))(0,m.ezK)(e,jC(t),!0)}function YC(e,t,i,a){const h=(0,m.OAn)(),x=(0,m.klJ)(),j=(0,m.b$O)(2);x.firstUpdatePass&&JC(x,e,j,a),t!==Ko&&$s(h,j,t)&&e6(x,x.data[(0,m._px)()],h,h[m.GpT],e,h[j+1]=function b9(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,m.AsM)(rc(e)))),e}(t,i),a,j)}function ZC(e,t,i,a){const h=(0,m.klJ)(),x=(0,m.b$O)(2);h.firstUpdatePass&&JC(h,null,x,a);const j=(0,m.OAn)();if(i!==Ko&&$s(j,x,i)){const fe=h.data[(0,m._px)()];if(n6(fe,a)&&!QC(h,x)){let ye=a?fe.classesWithoutHost:fe.stylesWithoutHost;null!==ye&&(i=(0,m.n$e)(ye,i||"")),Se(h,fe,j,i,a)}else!function y9(e,t,i,a,h,x,j,fe){h===Ko&&(h=m.Mlv);let ye=0,Ne=0,Qe=0<h.length?h[0]:null,Mt=0<x.length?x[0]:null;for(;null!==Qe||null!==Mt;){const on=ye<h.length?h[ye+1]:void 0,ln=Ne<x.length?x[Ne+1]:void 0;let dr,Hn=null;Qe===Mt?(ye+=2,Ne+=2,on!==ln&&(Hn=Mt,dr=ln)):null===Mt||null!==Qe&&Qe<Mt?(ye+=2,Hn=Qe):(Ne+=2,Hn=Mt,dr=ln),null!==Hn&&e6(e,t,i,a,Hn,dr,j,fe),Qe=ye<h.length?h[ye]:null,Mt=Ne<x.length?x[Ne]:null}}(h,fe,j,j[m.GpT],j[x+1],j[x+1]=function _9(e,t,i){if(null==i||""===i)return m.Mlv;const a=[],h=rc(i);if(Array.isArray(h))for(let x=0;x<h.length;x++)e(a,h[x],!0);else if("object"==typeof h)for(const x in h)h.hasOwnProperty(x)&&e(a,x,h[x]);else"string"==typeof h&&t(a,h);return a}(e,t,i),a,x)}}function QC(e,t){return t>=e.expandoStartIndex}function JC(e,t,i,a){const h=e.data;if(null===h[i+1]){const x=h[(0,m._px)()],j=QC(e,i);n6(x,a)&&null===t&&!j&&(t=!1),t=function h9(e,t,i,a){const h=(0,m.MT)(e);let x=a?t.residualClasses:t.residualStyles;if(null===h)0===(a?t.classBindings:t.styleBindings)&&(i=n_(i=P2(null,e,t,i,a),t.attrs,a),x=null);else{const j=t.directiveStylingLast;if(-1===j||e[j]!==h)if(i=P2(h,e,t,i,a),null===x){let ye=function p9(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==a1(a))return e[ym(a)]}(e,t,a);void 0!==ye&&Array.isArray(ye)&&(ye=P2(null,e,t,ye[1],a),ye=n_(ye,t.attrs,a),function m9(e,t,i,a){e[ym(i?t.classBindings:t.styleBindings)]=a}(e,t,a,ye))}else x=function g9(e,t,i){let a;const h=t.directiveEnd;for(let x=1+t.directiveStylingLast;x<h;x++)a=n_(a,e[x].hostAttrs,i);return n_(a,t.attrs,i)}(e,t,a)}return void 0!==x&&(a?t.residualClasses=x:t.residualStyles=x),i}(h,x,t,a),function n9(e,t,i,a,h,x){let j=x?t.classBindings:t.styleBindings,fe=ym(j),ye=a1(j);e[a]=i;let Qe,Ne=!1;if(Array.isArray(i)?(Qe=i[1],(null===Qe||(0,m.FRF)(i,Qe)>0)&&(Ne=!0)):Qe=i,h)if(0!==ye){const on=ym(e[fe+1]);e[a+1]=By(on,fe),0!==on&&(e[on+1]=D2(e[on+1],a)),e[fe+1]=function e9(e,t){return 131071&e|t<<17}(e[fe+1],a)}else e[a+1]=By(fe,0),0!==fe&&(e[fe+1]=D2(e[fe+1],a)),fe=a;else e[a+1]=By(ye,0),0===fe?fe=a:e[ye+1]=D2(e[ye+1],a),ye=a;Ne&&(e[a+1]=S2(e[a+1])),VC(e,Qe,a,!0),VC(e,Qe,a,!1),function r9(e,t,i,a,h){const x=h?e.residualClasses:e.residualStyles;null!=x&&"string"==typeof t&&(0,m.FRF)(x,t)>=0&&(i[a+1]=O2(i[a+1]))}(t,Qe,e,a,x),j=By(fe,ye),x?t.classBindings=j:t.styleBindings=j}(h,x,t,i,j,a)}}function P2(e,t,i,a,h){let x=null;const j=i.directiveEnd;let fe=i.directiveStylingLast;for(-1===fe?fe=i.directiveStart:fe++;fe<j&&(x=t[fe],a=n_(a,x.hostAttrs,h),x!==e);)fe++;return null!==e&&(i.directiveStylingLast=fe),a}function n_(e,t,i){const a=i?1:2;let h=-1;if(null!==t)for(let x=0;x<t.length;x++){const j=t[x];
vendor: 9,796 bytes, line 1
1"number"==typeof j?h=j:h===a&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,m.ezK)(e,j,!!i||t[++x]))}return void 0===e?null:e}function qC(e,t,i){(0,m.ezK)(e,t,rc(i))}function v9(e,t,i){const a=String(t);""!==a&&!a.includes(" ")&&(0,m.ezK)(e,a,i)}function e6(e,t,i,a,h,x,j,fe){if(!(3&t.type))return;const ye=e.data,Ne=ye[fe+1],Qe=function t9(e){return!(1&~e)}(Ne)?t6(ye,t,i,h,a1(Ne),j):void 0;Uy(Qe)||(Uy(x)||function q4(e){return!(2&~e)}(Ne)&&(x=t6(ye,null,i,h,fe,j)),function Xy(e,t,i,a,h){if(t)h?e.addClass(i,a):e.removeClass(i,a);else{let x=-1===a.indexOf("-")?void 0:du.DashCase;null==h?e.removeStyle(i,a,x):("string"==typeof h&&h.endsWith("!important")&&(h=h.slice(0,-10),x|=du.Important),e.setStyle(i,a,h,x))}}(a,j,(0,m.vaC)((0,m._px)(),i),h,x))}function t6(e,t,i,a,h,x){const j=null===t;let fe;for(;h>0;){const ye=e[h],Ne=Array.isArray(ye),Qe=Ne?ye[1]:ye,Mt=null===Qe;let on=i[h+1];on===Ko&&(on=Mt?m.Mlv:void 0);let ln=Mt?(0,m.K7h)(on,a):Qe===a?on:void 0;if(Ne&&!Uy(ln)&&(ln=(0,m.K7h)(ye,a)),Uy(ln)&&(fe=ln,j))return fe;const Hn=e[h+1];h=j?ym(Hn):a1(Hn)}if(null!==t){let ye=x?t.residualClasses:t.residualStyles;null!=ye&&(fe=(0,m.K7h)(ye,a))}return fe}function Uy(e){return void 0!==e}function n6(e,t){return!!(e.flags&(t?8:16))}function r6(e,t=""){const i=(0,m.OAn)(),a=(0,m.klJ)(),h=e+m.Yw1,x=a.firstCreatePass?_d(a,h,1,t,null):a.data[h],j=i6(a,i,x,t,e);i[h]=j,(0,m.SX7)()&&y1(a,i,j,x),(0,m.iMd)(x,!1)}let i6=(e,t,i,a,h)=>((0,m.m7n)(!0),Nu(t[m.GpT],a));function o6(e,t){let i=!1,a=(0,m.c$7)();for(let x=1;x<t.length;x+=2)i=$s(e,a++,t[x])||i;if((0,m.Kw3)(a),!i)return Ko;let h=t[0];for(let x=1;x<t.length;x+=2)h+=(0,m.eFE)(t[x])+(x+1!==t.length?t[x+1]:"");return h}function s6(e,t,i,a=""){return $s(e,(0,m.xbp)(),i)?t+(0,m.eFE)(i)+a:Ko}function a6(e,t,i,a,h,x=""){const fe=vu(e,(0,m.c$7)(),i,h);return(0,m.b$O)(2),fe?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x:Ko}function l6(e,t,i,a,h,x,j,fe=""){const Ne=Ph(e,(0,m.c$7)(),i,h,j);return(0,m.b$O)(3),Ne?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe:Ko}function c6(e,t,i,a,h,x,j,fe,ye,Ne=""){const Mt=Oa(e,(0,m.c$7)(),i,h,j,ye);return(0,m.b$O)(4),Mt?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe+(0,m.eFE)(ye)+Ne:Ko}function u6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt=""){const on=(0,m.c$7)();let ln=Oa(e,on,i,h,j,ye);return ln=$s(e,on+4,Qe)||ln,(0,m.b$O)(5),ln?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe+(0,m.eFE)(ye)+Ne+(0,m.eFE)(Qe)+Mt:Ko}function d6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln=""){const Hn=(0,m.c$7)();let dr=Oa(e,Hn,i,h,j,ye);return dr=vu(e,Hn+4,Qe,on)||dr,(0,m.b$O)(6),dr?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe+(0,m.eFE)(ye)+Ne+(0,m.eFE)(Qe)+Mt+(0,m.eFE)(on)+ln:Ko}function f6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr=""){const Pr=(0,m.c$7)();let Wr=Oa(e,Pr,i,h,j,ye);return Wr=Ph(e,Pr+4,Qe,on,Hn)||Wr,(0,m.b$O)(7),Wr?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe+(0,m.eFE)(ye)+Ne+(0,m.eFE)(Qe)+Mt+(0,m.eFE)(on)+ln+(0,m.eFE)(Hn)+dr:Ko}function h6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr,Pr,Wr=""){const mr=(0,m.c$7)();let bs=Oa(e,mr,i,h,j,ye);return bs=Oa(e,mr+4,Qe,on,Hn,Pr)||bs,(0,m.b$O)(8),bs?t+(0,m.eFE)(i)+a+(0,m.eFE)(h)+x+(0,m.eFE)(j)+fe+(0,m.eFE)(ye)+Ne+(0,m.eFE)(Qe)+Mt+(0,m.eFE)(on)+ln+(0,m.eFE)(Hn)+dr+(0,m.eFE)(Pr)+Wr:Ko}function A2(e){return Vy("",e),A2}function Vy(e,t,i){const a=(0,m.OAn)(),h=s6(a,e,t,i);return h!==Ko&&$f(a,(0,m._px)(),h),Vy}function R2(e,t,i,a,h){const x=(0,m.OAn)(),j=a6(x,e,t,i,a,h);return j!==Ko&&$f(x,(0,m._px)(),j),R2}function k2(e,t,i,a,h,x,j){const fe=(0,m.OAn)(),ye=l6(fe,e,t,i,a,h,x,j);return ye!==Ko&&$f(fe,(0,m._px)(),ye),k2}function $f(e,t,i){const a=(0,m.vaC)(t,e);Wo(e[m.GpT],a,i)}function L2(e,t,i){(0,m.n$r)(t)&&(t=t());const a=(0,m.OAn)();return $s(a,(0,m.xbp)(),t)&&((0,m.klJ)(),C1((0,m.CpD)(),a,e,t,a[m.GpT],i)),L2}function b6(e,t){const i=(0,m.n$r)(e);return i&&e.set(t),i}function F2(e,t){const i=(0,m.OAn)(),a=(0,m.klJ)(),h=(0,m.Mx4)();return x2(a,i,i[m.GpT],h,e,t),F2}const C6={};function N2(e){const t=(0,m.klJ)(),i=(0,m.OAn)(),a=e+m.Yw1,h=_d(t,a,128,null,null);return(0,m.iMd)(h,!1),(0,m.M_e)(t,i,a,C6),N2}function E6(e){ze("NgLet");const t=(0,m.klJ)(),i=(0,m.OAn)(),a=(0,m._px)();return(0,m.M_e)(t,i,a,e),e}function w6(e){const t=(0,m.VPL)(),i=(0,m.Hh6)(t,m.Yw1+e);if(i===C6)throw new m.buA(314,!1);return i}function M6(e){return $s((0,m.OAn)(),(0,m.xbp)(),e)?(0,m.eFE)(e):Ko}function x6(e,t,i=""){return s6((0,m.OAn)(),e,t,i)}function S6(e,t,i,a,h=""){return a6((0,m.OAn)(),e,t,i,a,h)}function D6(e,t,i,a,h,x,j=""){return l6((0,m.OAn)(),e,t,i,a,h,x,j)}function O6(e,t,i,a,h,x,j,fe,ye=""){return c6((0,m.OAn)(),e,t,i,a,h,x,j,fe,ye)}function I6(e,t,i,a,h,x,j,fe,ye,Ne,Qe=""){return u6((0,m.OAn)(),e,t,i,a,h,x,j,fe,ye,Ne,Qe)}function T6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on=""){return d6((0,m.OAn)(),e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on)}function B2(e,t,i,a,h){if(e=(0,m.nl4)(e),Array.isArray(e))for(let x=0;x<e.length;x++)B2(e[x],t,i,a,h);else{const x=(0,m.klJ)(),j=(0,m.OAn)(),fe=(0,m.Mx4)();let ye=(0,m.Y3W)(e)?e:(0,m.nl4)(e.provide);const Ne=(0,m.Rc9)(e),Qe=1048575&fe.providerIndexes,Mt=fe.directiveStart,on=fe.providerIndexes>>20;if((0,m.Y3W)(e)||!e.multi){const ln=new Yt(Ne,h,Oh,null),Hn=V2(ye,t,h?Qe:Qe+on,Mt);-1===Hn?(Hi(no(fe,j),x,ye),U2(x,e,t.length),t.push(ye),fe.directiveStart++,fe.directiveEnd++,h&&(fe.providerIndexes+=1048576),i.push(ln),j.push(ln)):(i[Hn]=ln,j[Hn]=ln)}else{const ln=V2(ye,t,Qe+on,Mt),Hn=V2(ye,t,Qe,Qe+on),Pr=Hn>=0&&i[Hn];if(h&&!Pr||!h&&!(ln>=0&&i[ln])){Hi(no(fe,j),x,ye);const Wr=function I9(e,t,i,a,h){const j=new Yt(e,i,Oh,null);return j.multi=[],j.index=t,j.componentProviders=0,P6(j,h,a&&!i),j}(h?O9:D9,i.length,h,a,Ne);!h&&Pr&&(i[Hn].providerFactory=Wr),U2(x,e,t.length,0),t.push(ye),fe.directiveStart++,fe.directiveEnd++,h&&(fe.providerIndexes+=1048576),i.push(Wr),j.push(Wr)}else U2(x,e,ln>-1?ln:Hn,P6(i[h?Hn:ln],Ne,!h&&a));!h&&a&&Pr&&i[Hn].componentProviders++}}}function U2(e,t,i,a){const h=(0,m.Y3W)(t),x=(0,m.MME)(t);if(h||x){const ye=(x?(0,m.nl4)(t.useClass):t).prototype.ngOnDestroy;if(ye){const Ne=e.destroyHooks||(e.destroyHooks=[]);if(!h&&t.multi){const Qe=Ne.indexOf(i);-1===Qe?Ne.push(i,[a,ye]):Ne[Qe+1].push(a,ye)}else Ne.push(i,ye)}}}function P6(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function V2(e,t,i,a){for(let h=i;h<a;h++)if(t[h]===e)return h;return-1}function D9(e,t,i,a,h){return j2(this.multi,[])}function O9(e,t,i,a,h){const x=this.multi;let j;if(this.providerFactory){const fe=this.providerFactory.componentProviders,ye=gn(a,a[m.eDl],this.providerFactory.index,h);j=ye.slice(0,fe),j2(x,j);for(let Ne=fe;Ne<ye.length;Ne++)j.push(ye[Ne])}else j=[],j2(x,j);return j}function j2(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function A6(e,t=[]){return i=>{i.providersResolver=(a,h)=>function S9(e,t,i){const a=(0,m.klJ)();if(a.firstCreatePass){const h=(0,m.JlV)(e);B2(i,a.data,a.blueprint,h,!0),B2(t,a.data,a.blueprint,h,!1)}}(a,h?h(e):e,t)}}function R6(e,t,i){const a=e.\u0275cmp;a.directiveDefs=Sd(t,Dv),a.pipeDefs=Sd(i,m.oyA)}function jy(e){if("function"==typeof e)return e;const t=(0,m.Bqz)(e);return t.some(m.Jzi)?()=>t.map(m.nl4).map(k6):t.map(k6)}function k6(e){return Q1(e)?e.ngModule:e}function L6(e,t,i){const a=(0,m.gxQ)()+e,h=(0,m.OAn)();return h[a]===Ko?_u(h,a,i?t.call(i):t()):em(h,a)}function F6(e,t,i,a){return H6((0,m.OAn)(),(0,m.gxQ)(),e,t,i,a)}function N6(e,t,i,a,h){return z6((0,m.OAn)(),(0,m.gxQ)(),e,t,i,a,h)}function B6(e,t,i,a,h,x){return $6((0,m.OAn)(),(0,m.gxQ)(),e,t,i,a,h,x)}function U6(e,t,i,a,h,x,j){return W6((0,m.OAn)(),(0,m.gxQ)(),e,t,i,a,h,x,j)}function V6(e,t,i,a,h,x,j,fe){const ye=(0,m.gxQ)()+e,Ne=(0,m.OAn)(),Qe=Oa(Ne,ye,i,a,h,x);return $s(Ne,ye+4,j)||Qe?_u(Ne,ye+5,fe?t.call(fe,i,a,h,x,j):t(i,a,h,x,j)):em(Ne,ye+5)}function j6(e,t,i,a,h,x,j,fe,ye){const Ne=(0,m.gxQ)()+e,Qe=(0,m.OAn)(),Mt=Oa(Qe,Ne,i,a,h,x);return vu(Qe,Ne+4,j,fe)||Mt?_u(Qe,Ne+6,ye?t.call(ye,i,a,h,x,j,fe):t(i,a,h,x,j,fe)):em(Qe,Ne+6)}function r_(e,t){const i=e[t];return i===Ko?void 0:i}function H6(e,t,i,a,h,x){const j=t+i;return $s(e,j,h)?_u(e,j+1,x?a.call(x,h):a(h)):r_(e,j+1)}function z6(e,t,i,a,h,x,j){const fe=t+i;return vu(e,fe,h,x)?_u(e,fe+2,j?a.call(j,h,x):a(h,x)):r_(e,fe+2)}function $6(e,t,i,a,h,x,j,fe){const ye=t+i;return Ph(e,ye,h,x,j)?_u(e,ye+3,fe?a.call(fe,h,x,j):a(h,x,j)):r_(e,ye+3)}function W6(e,t,i,a,h,x,j,fe,ye){const Ne=t+i;return Oa(e,Ne,h,x,j,fe)?_u(e,Ne+4,ye?a.call(ye,h,x,j,fe):a(h,x,j,fe)):r_(e,Ne+4)}function K6(e,t,i,a,h,x){let j=t+i,fe=!1;for(let ye=0;ye<h.length;ye++)$s(e,j++,h[ye])&&(fe=!0);return fe?_u(e,j,a.apply(x,h)):r_(e,j)}function G6(e,t){const i=(0,m.klJ)();let a;const h=e+m.Yw1;i.firstCreatePass?(a=function L9(e,t){if(t)for(let i=t.length-1;i>=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[h]=a,a.onDestroy&&(i.destroyHooks??=[]).push(h,a.onDestroy)):a=i.data[h];const x=a.factory||(a.factory=(0,m.wGu)(a.type,!0)),fe=(0,m.a2B)(Oh);try{const ye=Bn(!1),Ne=x();return Bn(ye),(0,m.M_e)(i,(0,m.OAn)(),h,Ne),Ne}finally{(0,m.a2B)(fe)}}function X6(e,t,i){const a=e+m.Yw1,h=(0,m.OAn)(),x=(0,m.Hh6)(h,a);return i_(h,a)?H6(h,(0,m.gxQ)(),t,x.transform,i,x):x.transform(i)}function Y6(e,t,i,a){const h=e+m.Yw1,x=(0,m.OAn)(),j=(0,m.Hh6)(x,h);return i_(x,h)?z6(x,(0,m.gxQ)(),t,j.transform,i,a,j):j.transform(i,a)}function Z6(e,t,i,a,h){const x=e+m.Yw1,j=(0,m.OAn)(),fe=(0,m.Hh6)(j,x);return i_(j,x)?$6(j,(0,m.gxQ)(),t,fe.transform,i,a,h,fe):fe.transform(i,a,h)}function i_(e,t){return e[m.eDl].data[t].pure}function Q6(e,t){return jm(e,t)}function Hy(e,t,i,a,h){const x=h[m.eDl];if(x!==a.tView)for(let j=m.Yw1;j<x.bindingStartIndex;j++){const fe=h[j];if((0,m.A0l)(fe)){(0,m.q$2)(fe[m.jgP])&&Hy(e,t,i,a,fe[m.jgP]);for(let ye=m.Y20;ye<fe.length;ye++)Hy(e,t,i,a,fe[ye])}else(0,m.q$2)(fe)&&Hy(e,t,i,a,fe)}else!function $9(e,t,i,a,h){const x=h[m.SKP];let j=h[m.jgP];const fe=h[m.f7T],ye=h[m.qlT],Ne=h[m.YEL].get(qn,null),Qe=()=>
1{if(a.encapsulation===_s.ShadowDom){const Hn=j.cloneNode(!1);j.replaceWith(Hn),j=Hn}const Mt=Nc(i),on=lc(fe,Mt,x,uh(i),j,ye,null,null,null,null,null);(function W9(e,t,i,a){for(let h=m.Yw1;h<e[m.eDl].bindingStartIndex;h++){const x=e[h];if(((0,m.q$2)(x)||(0,m.A0l)(x))&&x[m.K29]===t){x[m.K29]=i;break}}e[m.EJG]===t&&(e[m.EJG]=i),e[m.Yrj]===t&&(e[m.Yrj]=i),i[m.K29]=t[m.K29],t[m.K29]=null,e[a]=i})(fe,h,on,ye.index),md(h[m.eDl],h);const ln=h[m.M0L].rendererFactory;(function z9(e,t){e.componentReplaced?.(t.id)})(ln,a),on[m.GpT]=ln.createRenderer(j,i),fu(h[m.eDl],h),function K9(e){if(null!==e.projection){for(const t of e.projection)Nn(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(ye),gf(Mt,on,x),Up(Mt,on,Mt.template,x)};null===Ne?J6(e,t,Qe):Ne.run(()=>J6(e,t,Qe))}(e,t,i,a,h)}function J6(e,t,i){try{i()}catch(a){if(null!==t&&a.message){const x=a.message+(a.stack?"\n"+a.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:x,error:!0})}throw a}}const hp={\u0275\u0275animateEnter:function Xa(e){if(ze("NgAnimateEnter"),!ml)return Xa;const t=(0,m.OAn)();if(Mu(t))return Xa;const i=(0,m.Mx4)();return ep(i,t),Qg(tp(t),i,()=>function Q0(e,t,i){const a=(0,m.d31)(t,e),h=e[m.GpT],x=e[m.YEL].get(qn),j=Yg(i),fe=[],ye=Qe=>{if(Qe.target!==a)return;const Mt=Qe instanceof AnimationEvent?"animationend":"transitionend";x.runOutsideAngular(()=>{h.listen(a,Mt,Ne)})},Ne=Qe=>{Qe.target===a&&function c2(e,t,i){const a=is.get(t);if(e.target===t&&a&&np(e,t)){e.stopImmediatePropagation();for(const h of a.classList)i.removeClass(t,h);Z0(t)}}(Qe,a,h)};if(j&&j.length>0){x.runOutsideAngular(()=>{fe.push(h.listen(a,"animationstart",ye)),fe.push(h.listen(a,"transitionstart",ye))}),function qu(e,t,i){const a=is.get(e);if(a){for(const h of t)a.classList.push(h);for(const h of i)a.cleanupFns.push(h)}else is.set(e,{classList:t,cleanupFns:i})}(a,j,fe);for(const Qe of j)h.addClass(a,Qe);x.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(g(a,Fi,ml),!Fi.has(a)){for(const Qe of j)h.removeClass(a,Qe);Z0(a)}})})}}(t,i,e)),Mi(t[m.YEL]),Rs(t[m.YEL],tp(t)),Xa},\u0275\u0275animateEnterListener:function $l(e){if(ze("NgAnimateEnter"),!ml)return $l;const t=(0,m.OAn)();if(Mu(t))return $l;const i=(0,m.Mx4)();return ep(i,t),Qg(tp(t),i,()=>function xy(e,t,i){const a=(0,m.d31)(t,e);i.call(e[m.SKP],{target:a,animationComplete:wy})}(t,i,e)),Mi(t[m.YEL]),Rs(t[m.YEL],tp(t)),$l},\u0275\u0275animateLeave:function Jg(e){if(ze("NgAnimateLeave"),!ml)return Jg;const t=(0,m.OAn)();if(Mu(t))return Jg;const a=(0,m.Mx4)();return ep(a,t),Qg(ed(t),a,()=>function J0(e,t,i){const{promise:a,resolve:h}=z0(),x=(0,m.d31)(t,e),j=e[m.GpT],fe=e[m.YEL].get(qn);G.add(e),(ed(e).get(t.index).resolvers??=[]).push(h);const ye=Yg(i);return ye&&ye.length>0?function u2(e,t,i,a,h,x){!function My(e,t){if(!ml)return;const i=is.get(e);if(i&&i.classList.length>0&&function Zg(e,t){for(const i of t)if(e.classList.contains(i))return!0;return!1}(e,i.classList))for(const a of i.classList)t.removeClass(e,a);Z0(e)}(e,h);const j=[],fe=ed(i).get(t.index)?.resolvers,ye=Ne=>{if(Ne.target===e&&(Ne instanceof CustomEvent||np(Ne,e))){if(Ne.stopImmediatePropagation(),Fi.delete(e),_m(t,e),Array.isArray(t.projection))for(const Qe of a)h.removeClass(e,Qe);po(fe,j),rp(i,t)}};x.runOutsideAngular(()=>{j.push(h.listen(e,"animationend",ye)),j.push(h.listen(e,"transitionend",ye))}),Xg(t,e);for(const Ne of a)h.addClass(e,Ne);x.runOutsideAngular(()=>{requestAnimationFrame(()=>{g(e,Fi,ml),Fi.has(e)||(_m(t,e),po(fe,j),rp(i,t))})})}(x,t,e,ye,j,fe):h(),{promise:a,resolve:h}}(t,a,e)),Mi(t[m.YEL]),Jg},\u0275\u0275animateLeaveListener:function q0(e){if(ze("NgAnimateLeave"),!ml)return q0;const t=(0,m.OAn)(),i=(0,m.Mx4)();return ep(i,t),G.add(t),Qg(ed(t),i,()=>function d2(e,t,i){const{promise:a,resolve:h}=z0(),x=(0,m.d31)(t,e),j=[],fe=e[m.GpT],ye=Mu(e),Ne=e[m.YEL].get(qn),Qe=e[m.YEL].get(Gg);(ed(e).get(t.index).resolvers??=[]).push(h);const Mt=ed(e).get(t.index)?.resolvers;if(ye)ip(e,t,x,Mt,j);else{const on=setTimeout(()=>ip(e,t,x,Mt,j),Qe),ln={target:x,animationComplete:()=>{ip(e,t,x,Mt,j),clearTimeout(on)}};Xg(t,x),Ne.runOutsideAngular(()=>{j.push(fe.listen(x,"animationend",()=>{ip(e,t,x,Mt,j),clearTimeout(on)},{once:!0}))}),i.call(e[m.SKP],ln)}return{promise:a,resolve:h}}(t,i,e)),Mi(t[m.YEL]),q0},\u0275\u0275attribute:Kc,\u0275\u0275defineComponent:im,\u0275\u0275defineDirective:sm,\u0275\u0275defineInjectable:m.jDH,\u0275\u0275defineInjector:m.G2t,\u0275\u0275defineNgModule:v0,\u0275\u0275definePipe:Ia,\u0275\u0275directiveInject:Oh,\u
vendor: 8,383 bytes, line 1
10275\u0275getInheritedFactory:Si,\u0275\u0275inject:m.KVO,\u0275\u0275injectAttribute:Po,\u0275\u0275invalidFactory:J1,\u0275\u0275invalidFactoryDep:m.dmw,\u0275\u0275templateRefExtractor:Q6,\u0275\u0275resetView:m.Njj,\u0275\u0275HostDirectivesFeature:Eg,\u0275\u0275NgOnChangesFeature:Vn,\u0275\u0275ProvidersFeature:A6,\u0275\u0275CopyDefinitionFeature:function If(e){let i,t=yg(e.type);i=(0,m.JlV)(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const h of Cg)a[h]=i[h];if((0,m.JlV)(i))for(const h of Eu)a[h]=i[h]},\u0275\u0275InheritDefinitionFeature:bg,\u0275\u0275ExternalStylesFeature:function T9(e){return t=>{e.length<1||(t.getExternalStyles=i=>e.map(h=>h+"?ngcomp"+(i?"="+encodeURIComponent(i):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:IC,\u0275\u0275namespaceHTML:m.joV,\u0275\u0275namespaceMathML:m.By9,\u0275\u0275namespaceSVG:m.qSk,\u0275\u0275enableBindings:m.cSN,\u0275\u0275disableBindings:m.fuf,\u0275\u0275elementStart:Ae,\u0275\u0275elementEnd:ft,\u0275\u0275element:it,\u0275\u0275elementContainerStart:Zn,\u0275\u0275elementContainerEnd:Er,\u0275\u0275domElement:qt,\u0275\u0275domElementStart:Zt,\u0275\u0275domElementEnd:nt,\u0275\u0275domElementContainer:function vo(e,t,i){return zr(e,t,i),Ri(),vo},\u0275\u0275domElementContainerStart:zr,\u0275\u0275domElementContainerEnd:Ri,\u0275\u0275domTemplate:w0,\u0275\u0275domListener:M2,\u0275\u0275elementContainer:pi,\u0275\u0275pureFunction0:L6,\u0275\u0275pureFunction1:F6,\u0275\u0275pureFunction2:N6,\u0275\u0275pureFunction3:B6,\u0275\u0275pureFunction4:U6,\u0275\u0275pureFunction5:V6,\u0275\u0275pureFunction6:j6,\u0275\u0275pureFunction7:function A9(e,t,i,a,h,x,j,fe,ye,Ne){const Qe=(0,m.gxQ)()+e,Mt=(0,m.OAn)();let on=Oa(Mt,Qe,i,a,h,x);return Ph(Mt,Qe+4,j,fe,ye)||on?_u(Mt,Qe+7,Ne?t.call(Ne,i,a,h,x,j,fe,ye):t(i,a,h,x,j,fe,ye)):em(Mt,Qe+7)},\u0275\u0275pureFunction8:function R9(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=(0,m.gxQ)()+e,on=(0,m.OAn)(),ln=Oa(on,Mt,i,a,h,x);return Oa(on,Mt+4,j,fe,ye,Ne)||ln?_u(on,Mt+8,Qe?t.call(Qe,i,a,h,x,j,fe,ye,Ne):t(i,a,h,x,j,fe,ye,Ne)):em(on,Mt+8)},\u0275\u0275pureFunctionV:function k9(e,t,i,a){return K6((0,m.OAn)(),(0,m.gxQ)(),e,t,i,a)},\u0275\u0275getCurrentView:qs,\u0275\u0275restoreView:m.eBV,\u0275\u0275listener:w2,\u0275\u0275projection:PC,\u0275\u0275syntheticHostProperty:function ql(e,t,i){const a=(0,m.OAn)();if($s(a,(0,m.xbp)(),t)){const x=(0,m.klJ)(),j=(0,m.CpD)();Pm(j,a,e,t,Bp((0,m.MT)(x.data),j,a),i)}return ql},\u0275\u0275syntheticHostListener:function OC(e,t){const i=(0,m.Mx4)(),a=(0,m.OAn)(),h=(0,m.klJ)();return x2(h,a,Bp((0,m.MT)(h.data),i,a),i,e,t),OC},\u0275\u0275pipeBind1:X6,\u0275\u0275pipeBind2:Y6,\u0275\u0275pipeBind3:Z6,\u0275\u0275pipeBind4:function F9(e,t,i,a,h,x){const j=e+m.Yw1,fe=(0,m.OAn)(),ye=(0,m.Hh6)(fe,j);return i_(fe,j)?W6(fe,(0,m.gxQ)(),t,ye.transform,i,a,h,x,ye):ye.transform(i,a,h,x)},\u0275\u0275pipeBindV:function N9(e,t,i){const a=e+m.Yw1,h=(0,m.OAn)(),x=(0,m.Hh6)(h,a);return i_(h,a)?K6(h,(0,m.gxQ)(),t,x.transform,i,x):x.transform.apply(x,i)},\u0275\u0275projectionDef:TC,\u0275\u0275domProperty:Bo,\u0275\u0275ariaProperty:Ba,\u0275\u0275property:Ee,\u0275\u0275pipe:G6,\u0275\u0275queryRefresh:kC,\u0275\u0275queryAdvance:BC,\u0275\u0275viewQuery:RC,\u0275\u0275viewQuerySignal:NC,\u0275\u0275loadQuery:LC,\u0275\u0275contentQuery:AC,\u0275\u0275contentQuerySignal:FC,\u0275\u0275reference:UC,\u0275\u0275classMap:XC,\u0275\u0275styleMap:GC,\u0275\u0275styleProp:I2,\u0275\u0275classProp:T2,\u0275\u0275advance:dh,\u0275\u0275template:E0,\u0275\u0275conditional:Oy,\u0275\u0275conditionalCreate:t1,\u0275\u0275conditionalBranchCreate:td,\u0275\u0275defer:X0,\u0275\u0275deferWhen:function Wc(e){const t=(0,m.OAn)(),i=(0,m.CpD)();if(Qs(0,t,i)&&$s(t,(0,m.xbp)(),e)){const h=(0,Jn.Ht)(null);try{const x=!!e,fe=Ol(t,i)[1];!1===x&&fe===Vc.Initial?kf(t,i):!0===x&&(fe===Vc.Initial||fe===Jo.Placeholder)&&Id(0,t,i)}finally{(0,Jn.Ht)(h)}}},\u0275\u0275deferOnIdle:function i2(){Qs(0,(0,m.OAn)(),(0,m.Mx4)())&&fy(Dg)},\u0275\u0275deferOnImmediate:function o2(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(0,e,t)&&(null===nl(e[m.eDl],t).loadingTmplIndex&&kf(e,t),Id(0,e,t))},\u0275\u0275deferOnTimer:function Wg(e){Qs(0,(0,m.OAn)(),(0,m.Mx4)())&&fy(jh(e))},\u0275\u0275deferOnHover:function Y0(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();Qs(0,i,a)&&(kf(i,a),Dd(i,a,e,t,It,()=>Id(0,i,a),0))},\u0275\u0275deferOnInteraction:function Nf(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();Qs(0,i,a)&&(kf(i,a),Dd(i,a,e,t,yt,()=>Id(0,i,a),0))},\u0275\u0275deferOnViewport:by,\u0275\u0275deferPrefetchWhen:function n2(e){const t=(0,m.OAn)(),i=(0,m.CpD)();if(Qs(1,t,i)&&$s(t,(0,m.xbp)(),e)){const h=(0,Jn.Ht)(null);try{const x=!!e,fe=nl(t[m.eDl],i);!0===x&&fe.loadingState===va.NOT_STARTED&&Yh(fe,t,i)}finally{(0,Jn.Ht)(h)}}},\u0275\u0275deferPrefetchOnIdle:function yy(){Qs(1,(0,m.OAn)(),(0,m.Mx4)())&&hy(Dg)},\u0275\u0275deferPrefetchOnImmediate:function Ff(){const e=(0,m.OAn)(),t=(0,m.Mx4)();if(!Qs(1,e,t))return;const a=nl(e[m.eDl],t);a.loadingState===va.NOT_STARTED&&Ug(a,e,t)},\u0275\u0275deferPrefetchOnTimer:function Kg(e){Qs(1,(0,m.OAn)(),(0,m.Mx4)())&&hy(jh(e))},\u0275\u0275deferPrefetchOnHover:function a2(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();if(!Qs(1,i,a))return;const x=nl(i[m.eDl],a);x.loadingState===va.NOT_STARTED&&Dd(i,a,e,t,It,()=>Yh(x,i,a),1)},\u0275\u0275deferPrefetchOnInteraction:function si(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();if(!Qs(1,i,a))return;const x=nl(i[m.eDl],a);x.loadingState===va.NOT_STARTED&&Dd(i,a,e,t,yt,()=>Yh(x,i,a),1)},\u0275\u0275deferPrefetchOnViewport:function Cy(e,t){const i=(0,m.OAn)(),a=(0,m.Mx4)();if(!Qs(1,i,a))return;const x=nl(i[m.eDl],a);x.loadingState===va.NOT_STARTED&&Dd(i,a,e,t,O0,()=>Yh(x,i,a),1)},\u0275\u0275deferHydrateWhen:function vy(e){const t=(0,m.OAn)(),i=(0,m.CpD)();if(!Qs(2,t,i))return;const a=(0,m.xbp)();if(Qu((0,m.klJ)(),i).set(6,null),$s(t,a,e)){const j=t[m.YEL],fe=(0,Jn.Ht)(null);try{1==!!e&&Td(j,Ol(t,i)[6])}finally{(0,Jn.Ht)(fe)}}},\u0275\u0275deferHydrateNever:function r2(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&Qu((0,m.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function Pd(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&(Qu((0,m.klJ)(),t).set(0,null),$0(Dg,e,t))},\u0275\u0275deferHydrateOnImmediate:function fs(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&(Qu((0,m.klJ)(),t).set(1,null),Td(e[m.YEL],Ol(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function s2(e){const t=(0,m.OAn)(),i=(0,m.Mx4)();Qs(2,t,i)&&(Qu((0,m.klJ)(),i).set(5,{delay:e}),$0(jh(e),t,i))},\u0275\u0275deferHydrateOnHover:function l2(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&Qu((0,m.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function Ad(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&Qu((0,m.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function Ey(){const e=(0,m.OAn)(),t=(0,m.Mx4)();Qs(2,e,t)&&Qu((0,m.klJ)(),t).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function Ob(e,t,i,a){const h=e.consts;null!=i&&(t.placeholderBlockConfig=(0,m.db4)(h,i)),null!=a&&(t.loadingBlockConfig=(0,m.db4)(h,a)),null===P0&&(P0=Db)},\u0275\u0275repeater:n,\u0275\u0275repeaterCreate:Py,\u0275\u0275repeaterTrackByIndex:Iy,\u0275\u0275repeaterTrackByIdentity:Ty,\u0275\u0275componentInstance:Bf,\u0275\u0275text:r6,\u0275\u0275textInterpolate:A2,\u0275\u0275textInterpolate1:Vy,\u0275\u0275textInterpolate2:R2,\u0275\u0275textInterpolate3:k2,\u0275\u0275textInterpolate4:function p6(e,t,i,a,h,x,j,fe,ye){const Ne=(0,m.OAn)(),Qe=c6(Ne,e,t,i,a,h,x,j,fe,ye);return Qe!==Ko&&$f(Ne,(0,m._px)(),Qe),p6},\u0275\u0275textInterpolate5:function m6(e,t,i,a,h,x,j,fe,ye,Ne,Qe){const Mt=(0,m.OAn)(),on=u6(Mt,e,t,i,a,h,x,j,fe,ye,Ne,Qe);return on!==Ko&&$f(Mt,(0,m._px)(),on),m6},\u0275\u0275textInterpolate6:function g6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on){const ln=(0,m.OAn)(),Hn=d6(ln,e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on);return Hn!==Ko&&$f(ln,(0,m._px)(),Hn),g6},\u0275\u0275textInterpolate7:function _6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn){const dr=(0,m.OAn)(),Pr=f6(dr,e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn);return Pr!==Ko&&$f(dr,(0,m._px)(),Pr),_6},\u0275\u0275textInterpolate8:function v6(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr,Pr){const Wr=(0,m.OAn)(),mr=h6(Wr,e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr,Pr);return mr!==Ko&&$f(Wr,(0,m._px)(),mr),v6},\u0275\u0275textInterpolateV:function y6(e){const t=(0,m.OAn)(),i=o6(t,e);return i!==Ko&&$f(t,(0,m._px)(),i),y6}
vendor: 4,275 bytes, line 1
1,\u0275\u0275i18n:function G4(e,t,i){xC(e,t,i),SC()},\u0275\u0275i18nAttributes:function X4(e,t){const i=(0,m.klJ)(),a=(0,m.db4)(i.consts,t);!function I4(e,t,i){const a=(0,m.Mx4)(),h=a.index,x=[];if(e.firstCreatePass&&null===e.data[t]){for(let j=0;j<i.length;j+=2){const fe=i[j],ye=i[j+1];if(""!==ye){if(Ls.test(ye))throw new Error(`ICU expressions are not supported in attributes. Message: "${ye}".`);const Ne=a.namespace?`:${a.namespace}:${a.value}`:a.value;Ny(x,ye,h,fe,T4(x),E2(fe,Ne))}}e.data[t]=x}}(i,e+m.Yw1,a)},\u0275\u0275i18nExp:function DC(e){return function cp(e){e&&(Xc|=1<<Math.min(dc,31)),dc++}($s((0,m.OAn)(),(0,m.xbp)(),e)),DC},\u0275\u0275i18nStart:xC,\u0275\u0275i18nEnd:SC,\u0275\u0275i18nApply:function Y4(e){!function Ay(e,t,i){if(dc>0){const a=e.data[i];ky(e,t,Array.isArray(a)?a:a.update,(0,m.c$7)()-dc-1,Xc)}Xc=0,dc=0}((0,m.klJ)(),(0,m.OAn)(),e+m.Yw1)},\u0275\u0275i18nPostprocess:function Z4(e,t={}){return function K4(e,t={}){let i=e;if(U4.test(e)){const a={},h=[0];i=i.replace(V4,(x,j,fe)=>{const ye=j||fe,Ne=a[ye]||[];if(Ne.length||(ye.split("|").forEach(dr=>{const Pr=dr.match(W4),Wr=Pr?parseInt(Pr[1],10):0,mr=$4.test(dr);Ne.push([Wr,mr,dr])}),a[ye]=Ne),!Ne.length)throw new Error(`i18n postprocess: unmatched placeholder - ${ye}`);const Qe=h[h.length-1];let Mt=0;for(let dr=0;dr<Ne.length;dr++)if(Ne[dr][0]===Qe){Mt=dr;break}const[on,ln,Hn]=Ne[Mt];return ln?h.pop():Qe!==on&&h.push(on),Ne.splice(Mt,1),Hn})}return Object.keys(t).length&&(i=i.replace(j4,(a,h,x,j,fe,ye)=>t.hasOwnProperty(x)?`${h}${t[x]}${ye}`:a),i=i.replace(H4,(a,h)=>t.hasOwnProperty(h)?t[h]:a),i=i.replace(z4,(a,h)=>{if(t.hasOwnProperty(h)){const x=t[h];if(!x.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${h}`);return x.shift()}return a})),i}(e,t)},\u0275\u0275resolveWindow:Bu,\u0275\u0275resolveDocument:Uu,\u0275\u0275resolveBody:function Dp(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:R6,\u0275\u0275setNgModuleScope:function P9(e,t){return Kr(()=>{const i=(0,m.WbQ)(e);i.declarations=jy(t.declarations||m.Mlv),i.imports=jy(t.imports||m.Mlv),i.exports=jy(t.exports||m.Mlv),t.bootstrap&&(i.bootstrap=jy(t.bootstrap)),bd.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:m0,\u0275\u0275getComponentDepsFactory:function B9(e,t){return()=>{try{return bd.getComponentDependencies(e,t).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}},\u0275setClassDebugInfo:function U9(e,t){const i=(0,m.xUg)(e);null!==i&&(i.debugInfo=t)},\u0275\u0275declareLet:N2,\u0275\u0275storeLet:E6,\u0275\u0275readContextLet:w6,\u0275\u0275attachSourceLocations:function E9(e,t){const i=(0,m.klJ)(),a=(0,m.OAn)(),h=a[m.GpT],x="data-ng-source-location";for(const[j,fe,ye,Ne]of t){(0,m.XRZ)(i,j+m.Yw1);const Mt=(0,m.vaC)(j+m.Yw1,a);Mt.hasAttribute(x)||h.setAttribute(Mt,x,`${e}@o:${fe},l:${ye},c:${Ne}`)}},\u0275\u0275interpolate:M6,\u0275\u0275interpolate1:x6,\u0275\u0275interpolate2:S6,\u0275\u0275interpolate3:D6,\u0275\u0275interpolate4:O6,\u0275\u0275interpolate5:I6,\u0275\u0275interpolate6:T6,\u0275\u0275interpolate7:function w9(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn=""){return f6((0,m.OAn)(),e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn)},\u0275\u0275interpolate8:function M9(e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr,Pr=""){return h6((0,m.OAn)(),e,t,i,a,h,x,j,fe,ye,Ne,Qe,Mt,on,ln,Hn,dr,Pr)},\u0275\u0275interpolateV:function x9(e){return o6((0,m.OAn)(),e)},\u0275\u0275sanitizeHtml:iu,\u0275\u0275sanitizeStyle:cd,\u0275\u0275sanitizeResourceUrl:tl,\u0275\u0275sanitizeScript:xl,\u0275\u0275validateAttribute:ou,\u0275\u0275sanitizeUrl:vc,\u0275\u0275sanitizeUrlOrResourceUrl:Jd,\u0275\u0275trustConstantHtml:function ud(e){return Du(e[0])},\u0275\u0275trustConstantResourceUrl:function wp(e){return function vp(e){return $d()?.createScriptURL(e)||e}(e[0])},forwardRef:m.Rfq,resolveForwardRef:m.nl4,\u0275\u0275twoWayProperty:L2,\u0275\u0275twoWayBindingSet:b6,\u0275\u0275twoWayListener:F2,\u0275\u0275replaceMetadata:function j9(e,t,i,a,h=null,x=null){const j=(0,m.xUg)(e);t.apply(null,[e,i,...a]);const{newDef:fe,oldDef:ye}=function H9(e,t){const i={...e};return{newDef:Object.assign(e,t,{directiveDefs:i.directiveDefs,pipeDefs:i.pi
1peDefs,setInput:i.setInput,type:i.type}),oldDef:i}}(j,(0,m.xUg)(e));if(e[m.CQl]=fe,ye.tView){const Ne=function ms(){return Es}().values();for(const Qe of Ne)(0,m.EFk)(Qe)&&null===Qe[m.f7T]&&Hy(h,x,fe,ye,Qe)}},\u0275\u0275getReplaceMetadataURL:function V9(e,t,i){const a=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(a,i).href}};let c1=null;function G9(e){null!==c1&&(e.defaultEncapsulation!==c1.defaultEncapsulation||e.preserveWhitespaces!==c1.preserveWhitespaces)||(c1=e)}const o_=[];function i4(e){return Q1(e)?e.ngModule:e}const d5=yo("NgModule",e=>e,void 0,0,(e,t)=>function Q9(e,t={}){(function J9(e,t){const a=(0,m.Bqz)(t.declarations||m.Mlv);let h=null;Object.defineProperty(e,m.hmW,{configurable:!0,get:()=>(null===h&&(h=Pt().compileNgModule(hp,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,m.Bqz)(t.bootstrap||m.Mlv).map(m.nl4),declarations:a.map(m.nl4),imports:(0,m.Bqz)(t.imports||m.Mlv).map(m.nl4).map(i4),exports:(0,m.Bqz)(t.exports||m.Mlv).map(m.nl4).map(i4),schemas:t.schemas?(0,m.Bqz)(t.schemas):null,id:t.id||null}),h.schemas||(h.schemas=[])),h)});let x=null;Object.defineProperty(e,m.zSs,{get:()=>{if(null===x){const fe=Pt();x=fe.compileFactory(hp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:qo(e),target:fe.FactoryTarget.NgModule,typeArgumentCount:0})}return x},configurable:!1});let j=null;Object.defineProperty(e,m.ONQ,{get:()=>{if(null===j){const fe={name:e.name,type:e,providers:t.providers||m.Mlv,imports:[(t.imports||m.Mlv).map(m.nl4),(t.exports||m.Mlv).map(m.nl4)]};j=Pt().compileInjector(hp,`ng:///${e.name}/\u0275inj.js`,fe)}return j},configurable:!1})})(e,t),void 0!==t.id&&m0(e,t.id),function Y9(e,t){o_.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class f5{ngModuleFactory;componentFactories;constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let h5=(()=>{class e{compileModuleSync(i){return new Hu(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),x=ac((0,m.phH)(i).declarations).reduce((j,fe)=>{const ye=(0,m.xUg)(fe);return ye&&j.push(new dg(ye)),j},[]);return new f5(a,x)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const p5=new m.nKC("");let m5=(()=>{class e{zone=(0,m.WQX)(qn);changeDetectionScheduler=(0,m.WQX)(m.hk6);applicationRef=(0,m.WQX)(pm);applicationErrorHandler=(0,m.WQX)(m.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(i){this.applicationErrorHandler(i)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const m4=new m.nKC("",{factory:()=>!1});function g4({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??=()=>new qn({...K2(),scheduleInRootZone:i}),[{provide:qn,useFactory:e},{provide:m.Z63,multi:!0,useFactory:()=>{const a=(0,m.WQX)(m5,{optional:!0});return()=>a.initialize()}},{provide:m.Z63,multi:!0,useFactory:()=>{const a=(0,m.WQX)(g5);return()=>{a.initialize()}}},!0===t?{provide:m.Jy$,useValue:!0}:[],{provide:m.AQb,useValue:i??ht},{provide:m.ZTf,useFactory:()=>{const a=(0,m.WQX)(qn),h=(0,m.WQX)(m.uvJ);let x;return j=>{a.runOutsideAngular(()=>{h.destroyed&&!x?setTimeout(()=>{throw j}):(x??=h.get(m.zcH),x.handleError(j))})}}}]}function K2(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let g5=(()=>{class e{subscription=new Br.yU;initialized=!1;zone=(0,m.WQX)(qn);pendingTasks=(0,m.WQX)(m.rev);initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{qn.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{qn.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),y4=(()=>{class e{applicationErrorHandler=(0,m.WQX)(m.ZTf);appRef=(0,m.WQX)(pm);taskService=(0,m.WQX)(m.rev);ngZone=(0,m.WQX)(qn);zonelessEnabled=(0,m.WQX)(m.Evm);tracing=(0,m.WQX)(Le,{optional:!0});disableScheduling=(0,m.WQX)(m.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Br.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,m.WQX)(m.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Qr||!this.zoneIsDefined)}notify(i){if(!this.zonelessEnabled&&5===i)return;let a=!1;switch(i){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,a=!0;break;case 12:this.appRef.dirtyFlags|=16,a=!0;break;case 11:a=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(a))return;const h=this.useMicrotaskScheduler?Mn:zn;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>h(()=>this.tick())):this.ngZone.runOutsideAngular(()=>h(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Cr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){this.taskService.remove(i),this.applicationErrorHandler(a)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Mn(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}static \u0275fac=function(a){return new(a||e)};static \u0275prov=(0,m.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const b4=new m.nKC("",{providedIn:"root",factory:()=>(0,m.WQX)(b4,{optional:!0,skipSelf:!0})||function _5(){return typeof $localize<"u"&&$localize.locale||Fd}()}),v5=new m.nKC("",{providedIn:"root",factory:()=>"USD"})},59295(Vt,Pe,d){"use strict";d.d(Pe,{Zf:()=>X,EW:()=>re,QZ:()=>ce,O8:()=>Z}),d(10467);var E=d(2615),M=d(48440);const q={...M.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class X{destroyed=!1;listeners=null;errorHandler=(0,E.WQX)(E.zcH,{optional:!0});destroyRef=(0,E.WQX)(E.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(_t){if(this.destroyed)throw new E.buA(953,!1);return(this.listeners??=[]).push(_t),{unsubscribe:()=>{const Ke=this.listeners?.indexOf(_t);void 0!==Ke&&-1!==Ke&&this.listeners?.splice(Ke,1)}}}emit(_t){if(this.destroyed)return void console.warn((0,E.OsK)(953,!1));if(null===this.listeners)return;const Ke=(0,M.Ht)(null);try{for(const mt of this.listeners)try{mt(_t)}catch(rt){this.errorHandler?.handleError(rt)}}finally{(0,M.Ht)(Ke)}}}function Z(Ct){return function N(Ct){const _t=(0,M.Ht)(null);try{return Ct()}finally{(0,M.Ht)(_t)}}(Ct)}function re(Ct,_t){return(0,M.KZ)(Ct,_t?.equal)}class K{[M.bh];constructor(_t){this[M.bh]=_t}destroy(){this[M.bh].destroy()}}function ce(Ct,_t){const Ke=_t?.injector??(0,E.WQX)(E.zZn);let rt,mt=!0!==_t?.manualCleanup?Ke.get(E.abz):null;const ut=Ke.get(E.r4V,null,{optional:!0}),kt=Ke.get(E.hk6);return null!==ut?(rt=function de(Ct,_t,Ke){const mt=Object.create(te);
1return mt.view=Ct,mt.zone=typeof Zone<"u"?Zone.current:null,mt.notifier=_t,mt.fn=we(mt,Ke),Ct[E.tQN]??=new Set,Ct[E.tQN].add(mt),mt.consumerMarkedDirty(mt),mt}(ut.view,kt,Ct),mt instanceof E.KXn&&mt._lView===ut.view&&(mt=null)):rt=function _e(Ct,_t,Ke){const mt=Object.create(ae);return mt.fn=we(mt,Ct),mt.scheduler=_t,mt.notifier=Ke,mt.zone=typeof Zone<"u"?Zone.current:null,mt.scheduler.add(mt),mt.notifier.notify(12),mt}(Ct,Ke.get(E.VML),kt),rt.injector=Ke,null!==mt&&(rt.onDestroyFn=mt.onDestroy(()=>rt.destroy())),new K(rt)}const ue={...q,cleanupFns:void 0,zone:null,onDestroyFn:E.lQ1,run(){const Ct=(0,E.cBl)(!1);try{!function ee(Ct){if(Ct.dirty=!1,Ct.version>0&&!(0,M.si)(Ct))return;Ct.version++;const _t=(0,M.Bg)(Ct);try{Ct.cleanup(),Ct.fn()}finally{(0,M.Wu)(Ct,_t)}}(this)}finally{(0,E.cBl)(Ct)}},cleanup(){if(!this.cleanupFns?.length)return;const Ct=(0,M.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,M.Ht)(Ct)}}},ae={...ue,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,M.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},te={...ue,consumerMarkedDirty(){this.view[E.Wg1]|=8192,(0,E.blu)(this.view),this.notifier.notify(13)},destroy(){(0,M.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[E.tQN]?.delete(this)}};function we(Ct,_t){return()=>{_t(Ke=>(Ct.cleanupFns??=[]).push(Ke))}}Error,Error},2615(Vt,Pe,d){"use strict";let S;function E(){return S}function M(be){const Xe=S;return S=be,Xe}d.d(Pe,{JEi:()=>ts,Isx:()=>$o,EJG:()=>Y,Yrj:()=>il,VVG:()=>Oo,Y20:()=>fc,SKP:()=>sa,hk6:()=>id,eVN:()=>Rr,b5C:()=>Es,rQE:()=>Us,X5O:()=>Bs,qFA:()=>Ps,qQL:()=>rr,abz:()=>gr,tQN:()=>Oi,pcR:()=>Ts,oMQ:()=>Ks,Mlv:()=>Bn,MZA:()=>yn,M0L:()=>aa,Z63:()=>Gn,VML:()=>Ic,uvJ:()=>Do,zcH:()=>lo,Wg1:()=>Zi,Yw1:()=>_o,jgP:()=>Os,tcA:()=>Ws,ID:()=>Pa,YEL:()=>Ha,B9r:()=>Tr,GBX:()=>Sr,ZTf:()=>li,nKC:()=>En,zZn:()=>On,rJ1:()=>ka,nfM:()=>Aa,s6P:()=>ki,K29:()=>rl,CQl:()=>Tt,p9y:()=>Kt,zSs:()=>wt,ONQ:()=>Cn,hmW:()=>Pt,yAH:()=>bn,KXn:()=>vr,oTH:()=>xi,Czx:()=>ms,f7T:()=>Is,wVl:()=>zo,GYQ:()=>Oc,u5s:()=>Ud,rev:()=>sd,Ds7:()=>Ta,e5P:()=>Po,Iaj:()=>ro,GpT:()=>ir,buA:()=>ne,AQb:()=>Kf,jNX:()=>ra,eDl:()=>Xo,qlT:()=>Ns,xvI:()=>ie,bm_:()=>ol,RxE:()=>B,r4V:()=>Gl,ok8:()=>U,Evm:()=>od,Jy$:()=>Yc,laP:()=>Z,EYC:()=>bo,ng7:()=>pr,llW:()=>To,gsJ:()=>uo,GZS:()=>Pl,iYM:()=>_t,PEr:()=>Za,z7f:()=>mt,LZP:()=>rt,Xln:()=>vt,yzR:()=>da,TWe:()=>za,LIA:()=>Je,GWr:()=>qe,pbo:()=>At,bBq:()=>Al,Af3:()=>Ca,zQk:()=>Rl,oZy:()=>$a,tF7:()=>ut,ZFY:()=>ei,cP4:()=>ec,MdC:()=>ua,XvL:()=>Ot,KET:()=>pc,Tkx:()=>kl,iw4:()=>$t,tdH:()=>Dc,pr_:()=>Dt,IAh:()=>xt,U45:()=>Me,WrV:()=>Ze,kNT:()=>kt,MI:()=>Ea,biv:()=>Wa,ZQF:()=>Et,Cv0:()=>Ye,W0r:()=>hc,R2n:()=>sl,O8q:()=>na,VKj:()=>As,Rom:()=>Tl,z6V:()=>Nn,n$e:()=>te,hjC:()=>dt,Pz9:()=>hn,PQT:()=>sn,VX4:()=>bt,_Z$:()=>Dn,N79:()=>k,xLP:()=>Gr,zuh:()=>Ut,BI7:()=>eo,U7d:()=>yo,uXy:()=>oo,nZS:()=>Ci,ihb:()=>Dr,ID8:()=>ws,gv8:()=>xs,dwj:()=>ue,Bqz:()=>ri,OsK:()=>W,Rfq:()=>we,c$7:()=>nn,gxQ:()=>Ft,ckz:()=>Q,kLh:()=>ce,xUg:()=>no,KdJ:()=>Ll,db4:()=>Nl,VPL:()=>St,MT:()=>hi,Z9v:()=>ii,Ab:()=>Oe,w7Z:()=>Ni,Mx4:()=>he,veI:()=>Te,HaV:()=>as,Agf:()=>ss,znI:()=>w,wGu:()=>kn,ebl:()=>dn,OAn:()=>J,_0$:()=>xa,UaU:()=>Li,vaC:()=>Ja,d31:()=>tc,ZRn:()=>nc,phH:()=>Jr,WbQ:()=>Bi,WB9:()=>So,d_l:()=>ha,vNG:()=>js,oyA:()=>Go,_px:()=>ds,CpD:()=>Co,XRZ:()=>al,klJ:()=>H,Fje:()=>C,b$O:()=>an,SMZ:()=>K,WQX:()=>wo,MzJ:()=>mo,jXY:()=>Ue,MME:()=>vi,JlV:()=>st,Qs1:()=>je,srX:()=>Re,vOT:()=>Ka,YWB:()=>yt,EPY:()=>wi,yoD:()=>xe,P3H:()=>wn,Jzi:()=>Ie,rFz:()=>vn,JjR:()=>pn,M6u:()=>ta,KtD:()=>oe,muV:()=>jn,A0l:()=>Lo,q$2:()=>ca,yP_:()=>et,EFk:()=>Qt,Hps:()=>ma,UhH:()=>se,QuC:()=>Hi,Y3W:()=>ai,n$r:()=>cl,K7h:()=>Vi,FRF:()=>Ti,ezK:()=>to,m7n:()=>ot,niQ:()=>ho,krE:()=>V,bll:()=>jo,Hh6:()=>wa,EmA:()=>ao,blu:()=>fi,HAh:()=>yl,WfI:()=>Yi,xbp:()=>en,jvu:()=>io,lQ1:()=>Vd,Rc9:()=>qo,E6O:()=>Ar,DyX:()=>qa,eFE:()=>Fn,dMS:()=>$i,HUe:()=>ll,nl4:()=>De,N4e:()=>Fs,XaM:()=>pt,Kw3:()=>_n,vQI:()=>$r,RZ9:()=>Ur,GA0:()=>fo,iMd:()=>Ge,Pfq:()=>It,xyx:()=>Rn,a2B:()=>er,kcM:()=>Lr,DFp:()=>ni,P2g:()=>$e,cBl:()=>Lt,ypq:()=>Ms,vPA:()=>Ga,HO5:()=>Ys,M_e:()=>Ma,B22:()=>Bl,ik5:()=>Kl,AsM:()=>ae,PP7:()=>fn,$8:()=>Ke,$Hz:()=>Wn,zAe:()=>Qa,IvY:()=>fa,_gW:()=>Kn,F1c:()=>Vs,ITl:()=>Fl,brz:()=>tt,jRZ:()=>gs,SX7:()=>Fe,jDH:()=>Sn,G2t:()=>Qn,fuf:()=>O,cSN:()=>y,KVO:()=>xo,dmw:()=>Zr,joV:()=>pa,By9:()=>Ul,qSk:()=>Gs,Njj:()=>Ce,eBV:()=>z});const b=Symbol("NotFound");function R(be){return be===b||"\u0275NotFound"===be?.name}Error;var N=d(48440),q=d(84412),ee=d(71985);class B{full;major;minor;patch;constructor(Xe){this.full=Xe;const Rt=Xe.split(".");this.major=Rt[0],this.minor=Rt[1],this.patch=Rt.slice(2).join(".")}}const ie=new B("20.3.27"),U="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
vendor: 8,986 bytes, line 1
1class ne extends Error{code;constructor(Xe,Rt){super(W(Xe,Rt)),this.code=Xe}}function W(be,Xe){return`${function X(be){return`NG0${Math.abs(be)}`}(be)}${Xe?": "+Xe:""}`}const Z=globalThis;function K(){return!1}function ce(be){for(let Xe in be)if(be[Xe]===ce)return Xe;throw Error("")}function ue(be,Xe){for(const Rt in Xe)Xe.hasOwnProperty(Rt)&&!be.hasOwnProperty(Rt)&&(be[Rt]=Xe[Rt])}function ae(be){if("string"==typeof be)return be;if(Array.isArray(be))return`[${be.map(ae).join(", ")}]`;if(null==be)return""+be;const Xe=be.overriddenName||be.name;if(Xe)return`${Xe}`;const Rt=be.toString();if(null==Rt)return""+Rt;const Pn=Rt.indexOf("\n");return Pn>=0?Rt.slice(0,Pn):Rt}function te(be,Xe){return be?Xe?`${be} ${Xe}`:be:Xe||""}const _e=ce({__forward_ref__:ce});function we(be){return be.__forward_ref__=we,be.toString=function(){return ae(this())},be}function De(be){return Ie(be)?be():be}function Ie(be){return"function"==typeof be&&be.hasOwnProperty(_e)&&be.__forward_ref__===we}function Me(be,Xe){"number"!=typeof be&&Ke(Xe,typeof be,"number","===")}function Ze(be,Xe,Rt){Me(be,"Expected a number"),function ke(be,Xe,Rt){be<=Xe||Ke(Rt,be,Xe,"<=")}(be,Rt,"Expected number to be less than or equal to"),At(be,Xe,"Expected number to be greater than or equal to")}function Ye(be,Xe){"string"!=typeof be&&Ke(Xe,null===be?"null":typeof be,"string","===")}function Je(be,Xe){"function"!=typeof be&&Ke(Xe,null===be?"null":typeof be,"function","===")}function vt(be,Xe,Rt){be!=Xe&&Ke(Rt,be,Xe,"==")}function $t(be,Xe,Rt){be==Xe&&Ke(Rt,be,Xe,"!=")}function Et(be,Xe,Rt){be!==Xe&&Ke(Rt,be,Xe,"===")}function xt(be,Xe,Rt){be===Xe&&Ke(Rt,be,Xe,"!==")}function Ot(be,Xe,Rt){be<Xe||Ke(Rt,be,Xe,"<")}function qe(be,Xe,Rt){be>Xe||Ke(Rt,be,Xe,">")}function At(be,Xe,Rt){be>=Xe||Ke(Rt,be,Xe,">=")}function _t(be,Xe){null==be&&Ke(Xe,be,null,"!=")}function Ke(be,Xe,Rt,Pn){throw new Error(`ASSERTION ERROR: ${be}`+(null==Pn?"":` [Expected=> ${Rt} ${Pn} ${Xe} <=Actual]`))}function mt(be){be instanceof Node||Ke(`The provided value must be an instance of a DOM Node but got ${ae(be)}`)}function rt(be){be instanceof Element||Ke(`The provided value must be an element but got ${ae(be)}`)}function ut(be,Xe){_t(be,"Array must be defined.");const Rt=be.length;(Xe<0||Xe>=Rt)&&Ke(`Index expected to be less than ${Rt} but got ${Xe}`)}function kt(be,...Xe){if(-1!==Xe.indexOf(be))return!0;Ke(`Expected value to be one of ${JSON.stringify(Xe)} but was ${JSON.stringify(be)}.`)}function Dt(be){null!==(0,N.nR)()&&Ke(`${be}() should never be called in a reactive context.`)}function Sn(be){return{token:be.token,providedIn:be.providedIn||null,factory:be.factory,value:void 0}}function Qn(be){return{providers:be.providers||[],imports:be.imports||[]}}function lr(be){return function xr(be,Xe){return be.hasOwnProperty(Xe)&&be[Xe]||null}(be,bn)}function jn(be){return null!==lr(be)}function dn(be){return be&&be.hasOwnProperty(Cn)?be[Cn]:null}const bn=ce({\u0275prov:ce}),Cn=ce({\u0275inj:ce});class En{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(Xe,Rt){this._desc=Xe,this.\u0275prov=void 0,"number"==typeof Rt?this.__NG_ELEMENT_ID__=Rt:void 0!==Rt&&(this.\u0275prov=Sn({token:this,providedIn:Rt.providedIn||"root",factory:Rt.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let m;function Jn(){return Ke("getInjectorProfilerContext should never be called in production mode"),m}function ni(be){Ke("setInjectorProfilerContext should never be called in production mode");const Xe=m;return m=be,Xe}const Br=[],bi=()=>{};function Lr(be){return Ke("setInjectorProfiler should never be called in production mode"),null!==be?(Br.includes(be)||Br.push(be),()=>function Kr(be){const Xe=Br.indexOf(be);-1!==Xe&&Br.splice(Xe,1)}(be)):(Br.length=0,bi)}function yi(be){Ke("Injector profiler should never be called in production mode");for(let Xe=0;Xe<Br.length;Xe++)(0,Br[Xe])(be)}function Ci(be,Xe=!1){let Rt;Ke("Injector profiler should never be called in production mode"),Rt="function"==typeof be||be instanceof En?be:De(be.provide);let Pn=be;be instanceof En&&(Pn=be.\u0275prov||be),yi({type:2,context:Jn(),providerRecord:{token:Rt,provider:Pn,isViewProvider:Xe}})}function yo(be){Ke("Injector profiler should never be called in production mode"),yi({type:4,context:Jn(),token:be})}function oo(be){Ke("Injector profiler should never be called in production mode"),yi({type:1,context:Jn(),instance:{value:be}})}function eo(be,Xe,Rt){Ke("Injector profiler should never be called in production mode"),yi({type:0,context:Jn(),service:{token:be,value:Xe,flags:Rt}})}function Ut(be){Ke("Injector profiler should never be called in production mode"),yi({type:3,context:Jn(),effect:be})}function pt(be,Xe,Rt){Ke("runInInjectorProfilerContext should never be called in production mode");const Pn=ni({injector:be,token:Xe});try{Rt()}finally{ni(Pn)}}function at(be){return be&&!!be.\u0275providers}const Tt=ce({\u0275cmp:ce}),Bt=ce({\u0275dir:ce}),Xt=ce({\u0275pipe:ce}),Pt=ce({\u0275mod:ce}),wt=ce({\u0275fac:ce}),Kt=ce({__NG_ELEMENT_ID__:ce}),xn=ce({__NG_ENV_ID__:ce});function Fn(be){return"string"==typeof be?be:null==be?"":String(be)}function fn(be){return"function"==typeof be?be.name||be.toString():"object"==typeof be&&null!=be&&"function"==typeof be.type?be.type.name||be.type.toString():Fn(be)}function Dn(be){let Xe=be[Tt]||null;return null!==Xe&&Xe.debugInfo?function Ve(be){return be.filePath&&be.lineNumber?`${be.className} (at ${be.filePath}:${be.lineNumber})`:be.className}(Xe.debugInfo):fn(be)}const He=ce({ngErrorCode:ce}),p=ce({ngErrorMessage:ce}),Ht=ce({ngTokenPath:ce});function sn(be,Xe){return ur("",-200,Xe)}function bt(be,Xe){return function _r(be,Xe){return be.message=function Yr(be,Xe,Rt=[],Pn=null){let tr="";Rt&&Rt.length>1&&(tr=` Path: ${Rt.join(" -> ")}.`);return W(Xe,`${be}${Pn?` Source: ${Pn}.`:""}${tr}`)}(be[p]||be.message,be[He],be[Ht],Xe),be}(sn(0,Xe),null)}function Wn(be,Xe){throw new ne(-201,!1)}function ur(be,Xe,Rt){const Pn=new ne(Xe,be);return Pn[He]=Xe,Pn[p]=be,Rt&&(Pn[Ht]=Rt),Pn}let gi;function ji(){return gi}function er(be){const Xe=gi;return gi=be,Xe}function mo(be,Xe,Rt){const Pn=lr(be);return Pn&&"root"==Pn.providedIn?void 0===Pn.value?Pn.value=Pn.factory():Pn.value:8&Rt?null:void 0!==Xe?Xe:void Wn()}function ei(be){}const Ei={},_i="__NG_DI_FLAG__";class ti{injector;constructor(Xe){this.injector=Xe}retrieve(Xe,Rt){const Pn=dt(Rt)||0;try{return this.injector.get(Xe,8&Pn?null:Ei,Pn)}catch(tr){if(R(tr))return tr;throw tr}}}function Uo(be,Xe=0){const Rt=E();if(void 0===Rt)throw new ne(-203,!1);if(null===Rt)return mo(be,void 0,Xe);{const Pn=function Yt(be){return{optional:!!(8&be),host:!!(1&be),self:!!(2&be),skipSelf:!!(4&be)}}(Xe),tr=Rt.retrieve(be,Pn);if(R(tr)){if(Pn.optional)return null;throw tr}return tr}}function xo(be,Xe=0){return(ji()||Uo)(De(be),Xe)}function Zr(be){throw new ne(202,!1)}function wo(be,Xe){return xo(be,dt(Xe))}function dt(be){return typeof be>"u"||"number"==typeof be?be:0|(be.optional&&8)|(be.host&&1)|(be.self&&2)|(be.skipSelf&&4)}function Gt(be){const Xe=[];for(let Rt=0;Rt<be.length;Rt++){const Pn=De(be[Rt]);if(Array.isArray(Pn)){if(0===Pn.length)throw new ne(900,!1);let tr,kr=0;for(let Fo=0;Fo<Pn.length;Fo++){const _s=Pn[Fo],Hs=Yn(_s);"number"==typeof Hs?-1===Hs?tr=_s.token:kr|=Hs:tr=_s}Xe.push(xo(tr,kr))}else Xe.push(xo(Pn))}return Xe}function Nn(be,Xe){return be[_i]=Xe,be.prototype[_i]=Xe,be}function Yn(be){return be[_i]}function kn(be,Xe){return be.hasOwnProperty(wt)?be[wt]:null}function pr(be,Xe,Rt){if(be.length!==Xe.length)return!1;for(let Pn=0;Pn<be.length;Pn++){let tr=be[Pn],kr=Xe[Pn];if(Rt&&(tr=Rt(tr),kr=Rt(kr)),kr!==tr)return!1}return!0}function ri(be){return be.flat(Number.POSITIVE_INFINITY)}function Gr(be,Xe){be.forEach(Rt=>Array.isArray(Rt)?Gr(Rt,Xe):Xe(Rt))}function bo(be,Xe,Rt){Xe>=be.length?be.push(Rt):be.splice(Xe,0,Rt)}function Ar(be,Xe){return Xe>=be.length-1?be.pop():be.splice(Xe,1)[0]}function Yi(be,Xe){const Rt=[];for(let Pn=0;Pn<be;Pn++)Rt.push(Xe);return Rt}function uo(be,Xe,Rt){const Pn=be.length-Rt;for(;Xe<Pn;)be[Xe]=be[Xe+Rt],Xe++;for(;Rt--;)be.pop()}function To(be,Xe,Rt,Pn){let tr=be.length;if(tr==Xe)be.push(Rt,Pn);else if(1===tr)be.push(Pn,be[0]),be[0]=Rt;else{for(tr--,be.push(be[tr-1],be[tr]);tr>Xe;)be[tr]=be[tr-2],tr--;be[Xe]=Rt,be[Xe+1]=Pn}}function to(be,Xe,Rt){let Pn=Ti(be,Xe);return Pn>=0?be[1|Pn]=Rt:(Pn=~Pn,To(be,Pn,Xe,Rt)),Pn}function Vi(be,Xe){const Rt=Ti(be,Xe);if(Rt>=0)return be[1|Rt]}function Ti(be,Xe){return function Wt(be,Xe,Rt){let Pn=0,tr=be.length>>Rt;for(;tr!==Pn;){const kr=Pn+(tr-Pn>>1),Fo=be[kr<<Rt];if(Xe===Fo)return kr<<Rt;Fo>Xe?tr=kr:Pn=kr+1}return~(tr<<Rt)}(be,Xe,1)}const yn={},Bn=[],Gn=new En(""),fr=new En("",-1),Tr=new En("");class xi{get(Xe,Rt=Ei){if(Rt===Ei){const tr=ur("",-201);throw tr.name="\u0275NotFound",tr}return Rt}}function Jr(be){return be[Pt]||null}function Bi(be){const Xe=Jr(be);if(!Xe)throw new ne(915,!1);return Xe}function no(be){return be[Tt]||null}function ss(be){const Xe=as(be);
vendor: 14,776 bytes, line 1
1if(!Xe)throw new ne(916,!1);return Xe}function as(be){return be[Bt]||null}function Go(be){return be[Xt]||null}function Hi(be){const Xe=no(be)||as(be)||Go(be);return null!==Xe&&Xe.standalone}function ao(be){return{\u0275providers:be}}function Cs(...be){return{\u0275providers:Ue(0,be),\u0275fromNgModule:!0}}function Ue(be,...Xe){const Rt=[],Pn=new Set;let tr;const kr=Fo=>{Rt.push(Fo)};return Gr(Xe,Fo=>{const _s=Fo;tt(_s,kr,[],Pn)&&(tr||=[],tr.push(_s))}),void 0!==tr&&jt(tr,kr),Rt}function jt(be,Xe){for(let Rt=0;Rt<be.length;Rt++){const{ngModule:Pn,providers:tr}=be[Rt];zt(tr,kr=>{Xe(kr,Pn)})}}function tt(be,Xe,Rt,Pn){if(!(be=De(be)))return!1;let tr=null,kr=dn(be);const Fo=!kr&&no(be);if(kr||Fo){if(Fo&&!Fo.standalone)return!1;tr=be}else{const Hs=be.ngModule;if(kr=dn(Hs),!kr)return!1;tr=Hs}const _s=Pn.has(tr);if(Fo){if(_s)return!1;if(Pn.add(tr),Fo.dependencies){const Hs="function"==typeof Fo.dependencies?Fo.dependencies():Fo.dependencies;for(const vs of Hs)tt(vs,Xe,Rt,Pn)}}else{if(!kr)return!1;{if(null!=kr.imports&&!_s){let vs;Pn.add(tr),Gr(kr.imports,Vl=>{tt(Vl,Xe,Rt,Pn)&&(vs||=[],vs.push(Vl))}),void 0!==vs&&jt(vs,Xe)}if(!_s){const vs=kn(tr)||(()=>new tr);Xe({provide:tr,useFactory:vs,deps:Bn},tr),Xe({provide:Tr,useValue:tr,multi:!0},tr),Xe({provide:Gn,useValue:()=>xo(tr),multi:!0},tr)}const Hs=kr.providers;if(null!=Hs&&!_s){const vs=be;zt(Hs,Vl=>{Xe(Vl,vs)})}}}return tr!==be&&void 0!==be.providers}function zt(be,Xe){for(let Rt of be)at(Rt)&&(Rt=Rt.\u0275providers),Array.isArray(Rt)?zt(Rt,Xe):Xe(Rt)}const gn=ce({provide:String,useValue:ce});function or(be){return null!==be&&"object"==typeof be&&gn in be}function ai(be){return"function"==typeof be}function vi(be){return!!be.useClass}const Sr=new En(""),go={},Si={};let ci;function So(){return void 0===ci&&(ci=new xi),ci}class Do{}class Po extends Do{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(Xe,Rt,Pn,tr){super(),this.parent=Rt,this.source=Pn,this.scopes=tr,ls(Xe,Fo=>this.processProvider(Fo)),this.records.set(fr,Di(void 0,this)),tr.has("environment")&&this.records.set(Do,Di(void 0,this));const kr=this.records.get(Sr);null!=kr&&"string"==typeof kr.value&&this.scopes.add(kr.value),this.injectorDefTypes=new Set(this.get(Tr,Bn,{self:!0}))}retrieve(Xe,Rt){const Pn=dt(Rt)||0;try{return this.get(Xe,Ei,Pn)}catch(tr){if(R(tr))return tr;throw tr}}destroy(){es(this),this._destroyed=!0;const Xe=(0,N.Ht)(null);try{for(const Pn of this._ngOnDestroyHooks)Pn.ngOnDestroy();const Rt=this._onDestroyHooks;this._onDestroyHooks=[];for(const Pn of Rt)Pn()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,N.Ht)(Xe)}}onDestroy(Xe){return es(this),this._onDestroyHooks.push(Xe),()=>this.removeOnDestroy(Xe)}runInContext(Xe){es(this);const Rt=M(this),Pn=er(void 0);try{return Xe()}finally{M(Rt),er(Pn)}}get(Xe,Rt=Ei,Pn){if(es(this),Xe.hasOwnProperty(xn))return Xe[xn](this);const tr=dt(Pn),Fo=M(this),_s=er(void 0);try{if(!(4&tr)){let vs=this.records.get(Xe);if(void 0===vs){const Vl=function Vo(be){return"function"==typeof be||"object"==typeof be&&"InjectionToken"===be.ngMetadataName}(Xe)&&lr(Xe);vs=Vl&&this.injectableDefInScope(Vl)?Di(Ds(Xe),go):null,this.records.set(Xe,vs)}if(null!=vs)return this.hydrate(Xe,vs,tr)}return(2&tr?So():this.parent).get(Xe,Rt=8&tr&&Rt===Ei?null:Rt)}catch(Hs){const vs=function cr(be){return be[He]}(Hs);throw-200===vs||-201===vs?new ne(vs,null):Hs}finally{er(_s),M(Fo)}}resolveInjectorInitializers(){const Xe=(0,N.Ht)(null),Rt=M(this),Pn=er(void 0);try{const kr=this.get(Gn,Bn,{self:!0});for(const Fo of kr)Fo()}finally{M(Rt),er(Pn),(0,N.Ht)(Xe)}}toString(){const Xe=[],Rt=this.records;for(const Pn of Rt.keys())Xe.push(ae(Pn));return`R3Injector[${Xe.join(", ")}]`}processProvider(Xe){let Rt=ai(Xe=De(Xe))?Xe:De(Xe&&Xe.provide);const Pn=function ps(be){return or(be)?Di(void 0,be.useValue):Di(qo(be),go)}(Xe);if(!ai(Xe)&&!0===Xe.multi){let tr=this.records.get(Rt);tr||(tr=Di(void 0,go,!0),tr.factory=()=>Gt(tr.multi),this.records.set(Rt,tr)),Rt=Xe,tr.multi.push(Xe)}this.records.set(Rt,Pn)}hydrate(Xe,Rt,Pn){const tr=(0,N.Ht)(null);try{if(Rt.value===Si)throw sn(ae(Xe));return Rt.value===go&&(Rt.value=Si,Rt.value=Rt.factory(void 0,Pn)),"object"==typeof Rt.value&&Rt.value&&function ja(be){return null!==be&&"object"==typeof be&&"function"==typeof be.ngOnDestroy}(Rt.value)&&this._ngOnDestroyHooks.add(Rt.value),Rt.value}finally{(0,N.Ht)(tr)}}injectableDefInScope(Xe){if(!Xe.providedIn)return!1;const Rt=De(Xe.providedIn);return"string"==typeof Rt?"any"===Rt||this.scopes.has(Rt):this.injectorDefTypes.has(Rt)}removeOnDestroy(Xe){const Rt=this._onDestroyHooks.indexOf(Xe);-1!==Rt&&this._onDestroyHooks.splice(Rt,1)}}function Ds(be){const Xe=lr(be),Rt=null!==Xe?Xe.factory:kn(be);if(null!==Rt)return Rt;if(be instanceof En)throw new ne(204,!1);if(be instanceof Function)return function Ao(be){if(be.length>0)throw new ne(204,!1);const Rt=function tn(be){return(be?.[bn]??null)||null}(be);return null!==Rt?()=>Rt.factory(be):()=>new be}(be);throw new ne(204,!1)}function qo(be,Xe,Rt){let Pn;if(ai(be)){const tr=De(be);return kn(tr)||Ds(tr)}if(or(be))Pn=()=>De(be.useValue);else if(function zi(be){return!(!be||!be.useFactory)}(be))Pn=()=>be.useFactory(...Gt(be.deps||[]));else if(function Xn(be){return!(!be||!be.useExisting)}(be))Pn=(tr,kr)=>xo(De(be.useExisting),void 0!==kr&&8&kr?8:void 0);else{const tr=De(be&&(be.useClass||be.provide));if(!function Va(be){return!!be.deps}(be))return kn(tr)||Ds(tr);Pn=()=>new tr(...Gt(be.deps))}return Pn}function es(be){if(be.destroyed)throw new ne(205,!1)}function Di(be,Xe,Rt=!1){return{factory:be,value:Xe,multi:Rt?[]:void 0}}function ls(be,Xe){for(const Rt of be)Array.isArray(Rt)?ls(Rt,Xe):Rt&&at(Rt)?ls(Rt.\u0275providers,Xe):Xe(Rt)}function Fs(be,Xe){let Rt;be instanceof Po?(es(be),Rt=be):Rt=new ti(be);const tr=M(Rt),kr=er(void 0);try{return Xe()}finally{M(tr),er(kr)}}function ta(){return void 0!==ji()||null!=E()}function Ca(be){if(!ta())throw new ne(-203,!1)}const Os=0,Xo=1,Zi=2,Is=3,rl=4,Ns=5,Ws=6,Oo=7,sa=8,Ha=9,aa=10,ir=11,Y=12,il=13,Bs=14,Es=15,Us=16,zo=17,Ta=18,Pa=19,Ks=20,ms=21,Ts=22,Oi=23,ro=24,ts=25,$o=26,_o=27,Ps=6,ki=7,ol=8,Aa=9,fc=10;function ca(be){return Array.isArray(be)&&"object"==typeof be[1]}function Lo(be){return Array.isArray(be)&&!0===be[1]}function Re(be){return!!(4&be.flags)}function je(be){return be.componentOffset>-1}function xe(be){return!(1&~be.flags)}function st(be){return!!be.template}function Qt(be){return!!(512&be[Zi])}function wi(be){return!(256&~be[Zi])}function As(be,Xe){Tl(be,Xe[Xo])}function na(be,Xe){const Rt=Xe+_o;ut(be,Rt),Ot(Rt,be[Xo].bindingStartIndex,"TNodes should be created before any bindings")}function Tl(be,Xe){sl(be);const Rt=Xe.data;for(let Pn=_o;Pn<Rt.length;Pn++)if(Rt[Pn]===be)return;Ke("This TNode does not belong to this TView.")}function sl(be){_t(be,"TNode must be defined"),be&&"object"==typeof be&&be.hasOwnProperty("directiveStylingLast")||Ke("Not of type TNode, got: "+be)}function hc(be){_t(be,"Expected TIcu to be defined"),"number"!=typeof be.currentCaseLViewIndex&&Ke("Object is not of TIcu type.")}function Pl(be,Xe="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){no(be)||Ke(Xe)}function pc(be,Xe="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Jr(be)||Ke(Xe)}function Al(be){_t(be,"currentTNode should exist!"),_t(be.parent,"currentTNode should have a parent")}function ec(be){_t(be,"LContainer must be defined"),vt(Lo(be),!0,"Expecting LContainer")}function ua(be){_t(be,"LView must be defined"),vt(ca(be),!0,"Expecting LView")}function da(be,Xe){vt(be.firstCreatePass,!0,Xe||"Should only be called in first create pass.")}function za(be,Xe){vt(be.firstUpdatePass,!0,"Should only be called in first update pass.")}function Za(be){(void 0===be.type||null==be.selectors||void 0===be.inputs)&&Ke("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Rl(be,Xe){Ra(_o,be.bindingStartIndex,Xe)}function $a(be,Xe){Ra(be[1].expandoStartIndex,be.length,Xe)}function Ra(be,Xe,Rt){be<=Rt&&Rt<Xe||Ke(`Index out of range (expecting ${be} <= ${Rt} < ${Xe})`)}function Wa(be,Xe){_t(be[Es],"Component views should exist."),_t(be[Es][Ns].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Ea(be,Xe){_t(be,"Component views should always have a parent view (component's host view)")}function kl(be,Xe){$a(be,Xe),$a(be,Xe+8),Me(be[Xe+0],"injectorIndex should point to a bloom filter"),Me(be[Xe+1],"injectorIndex should point to a bloom filter"),Me(be[Xe+2],"injectorIndex should point to a bloom filter"),Me(be[Xe+3],"injectorIndex should point to a bloom filter"),Me(be[Xe+4],"injectorIndex should point to a bloom filter"),Me(be[Xe+5],"injectorIndex should point to a bloom filter"),Me(be[Xe+6],"injectorIndex should point to a bloom filter"),Me(be[Xe+7],"injectorIndex should point to a bloom filter"),Me(be[Xe+8],"injectorIndex should point to parent injector")}const ra="svg",ka="math";function fa(be){for(;Array.isArray(be);)be=be[Os];return be}function Qa(be){for(;Array.isArray(be);){if("object"==typeof be[1])return be;be=be[Os]}return null}function Ja(be,Xe){return fa(Xe[be])}function tc(be,Xe){return fa(Xe[be.index])}function nc(be,Xe){const Rt=null===be?-1:be.index;return-1!==Rt?fa(Xe[Rt]):null}function al(be,Xe){return be.data[Xe]}function wa(be,Xe){return be[Xe]}function Ma(be,Xe,Rt,Pn){Rt>=be.data.length&&(be.data[Rt]=null,be.blueprint[Rt]=null),Xe[Rt]=Pn}function Ll(be,Xe){const Rt=Xe[be];return ca(Rt)?Rt:Rt[Os]}function Ka(be){return!(4&~be[Zi])}function Vs(be){return!(128&~be[Zi])}function Fl(be){return Lo(be[Is])}function Nl(be,Xe){return null==Xe?null:be[Xe]}function ll(be){be[zo]=0}function yl(be){1024&be[Zi]||(be[Zi]|=1024,Vs(be)&&fi(be))}function gs(be,Xe){for(;be>0;)Xe=Xe[Bs],be--;return Xe}function $i(be){return!!(9216&be[Zi]||be[ro]?.dirty)}function Kn(be){be[aa].changeDetectionScheduler?.notify(8),64&be[Zi]&&(be[Zi]|=1024),$i(be)&&fi(be)}function fi(be){be[aa].changeDetectionScheduler?.notify(0);let Xe=xa(be);for(;null!==Xe&&!(8192&Xe[Zi])&&(Xe[Zi]|=8192,Vs(Xe));)Xe=xa(Xe)}function Kl(be,Xe){if(wi(be))throw new ne(911,!1);null===be[ms]&&(be[ms]=[]),be[ms].push(Xe)}function qa(be,Xe){if(null===be[ms])return;const Rt=be[ms].indexOf(Xe);-1!==Rt&&be[ms].splice(Rt,1)}function xa(be){const Xe=be[Is];return Lo(Xe)?Xe[Is]:Xe}function ha(be){return be[Oo]??=[]}function js(be){return be.cleanup??=[]}function Bl(be,Xe,Rt,Pn){const tr=ha(Xe);tr.push(Rt),be.firstCreatePass&&js(be).push(Pn,tr.length-1)}const Hr={lFrame:us(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Rr=function(be){return be[be.Off=0]="Off",be[be.Exhaustive=1]="Exhaustive",be[be.OnlyDirtyViews=2]="OnlyDirtyViews",be}(Rr||{});let bl=0,l=!1;function w(){return Hr.lFrame.elementDepthCount}function C(){Hr.lFrame.elementDepthCount++}function k(){Hr.lFrame.elementDepthCount--}function Q(){return Hr.bindingsEnabled}function oe(){return null!==Hr.skipHydrationRootTNode}function se(be){return Hr.skipHydrationRootTNode===be}function y(){Hr.bindingsEnabled=!0}function O(){Hr.bindingsEnabled=!1}function V(){Hr.skipHydrationRootTNode=null}function J(){return Hr.lFrame.lView}function H(){return Hr.lFrame.tView}function z(be){return Hr.lFrame.contextLView=be,be[sa]}function Ce(be){return Hr.lFrame.contextLView=null,be}function he(){let be=Te();for(;null!==be&&64===be.type;)be=be.parent;return be}function Te(){return Hr.lFrame.currentTNode}function Oe(){const be=Hr.lFrame,Xe=be.currentTNode;return be.isParent?Xe:Xe.parent}function Ge(be,Xe){const Rt=Hr.lFrame;Rt.currentTNode=be,Rt.isParent=Xe}function yt(){return Hr.lFrame.isParent}function It(){Hr.lFrame.isParent=!1}function St(){return Hr.lFrame.contextLView}function vn(){return Ke("Must never be called in production mode"),bl!==Rr.Off}function wn(){return Ke("Must never be called in production mode"),bl===Rr.Exhaustive}function $e(be){Ke("Must never be called in production mode"),bl=be}function et(){return l}function Lt(be){const Xe=l;return l=be,Xe}function Ft(){const be=Hr.lFrame;let Xe=be.bindingRootIndex;return-1===Xe&&(Xe=be.bindingRootIndex=be.tView.bindingStartIndex),Xe}function nn(){return Hr.lFrame.bindingIndex}function _n(be){return Hr.lFrame.bindingIndex=be}function en(){return Hr.lFrame.bindingIndex++}function an(be){const Xe=Hr.lFrame,Rt=Xe.bindingIndex;return Xe.bindingIndex=Xe.bindingIndex+be,Rt}function pn(){return Hr.lFrame.inI18n}function Rn(be){Hr.lFrame.inI18n=be}function $r(be,Xe){const Rt=Hr.lFrame;Rt.bindingIndex=Rt.bindingRootIndex=be,Ur(Xe)}function ii(){return Hr.lFrame.currentDirectiveIndex}function Ur(be){Hr.lFrame.currentDirectiveIndex=be}function hi(be){const Xe=Hr.lFrame.currentDirectiveIndex;return-1===Xe?null:be[Xe]}function Ni(){return Hr.lFrame.currentQueryIndex}function fo(be){Hr.lFrame.currentQueryIndex=be}function Pi(be){const Xe=be[Xo];return 2===Xe.type?Xe.declTNode:1===Xe.type?be[Ns]:null}function Dr(be,Xe,Rt){if(4&Rt){let tr=Xe,kr=be;for(;!(tr=tr.parent,null!==tr||1&Rt||(tr=Pi(kr),null===tr||(kr=kr[Bs],10&tr.type))););if(null===tr)return!1;Xe=tr,be=kr}const Pn=Hr.lFrame=cs();return Pn.currentTNode=Xe,Pn.lView=be,!0}function ws(be){const Xe=cs(),Rt=be[Xo];Hr.lFrame=Xe,Xe.currentTNode=Rt.firstChild,Xe.lView=be,Xe.tView=Rt,Xe.contextLView=be,Xe.bindingIndex=Rt.bindingStartIndex,Xe.inI18n=!1}function cs(){const be=Hr.lFrame,Xe=null===be?null:be.child;return null===Xe?us(be):Xe}function us(be){const Xe={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:be,child:null,inI18n:!1};return null!==be&&(be.child=Xe),Xe}function Yo(){const be=Hr.lFrame;return Hr.lFrame=be.parent,be.currentTNode=null,be.lView=null,be}const ho=Yo;function jo(){const be=Yo();be.isParent=!0,be.tView=null,be.selectedIndex=-1,be.contextLView=null,be.elementDepthCount=0,be.currentDirectiveIndex=-1,be.currentNamespace=null,be.bindingRootIndex=-1,be.bindingIndex=-1,be.currentQueryIndex=0}function io(be){return(Hr.lFrame.contextLView=gs(be,Hr.lFrame.contextLView))[sa]}function ds(){return Hr.lFrame.selectedIndex}function Ms(be){Hr.lFrame.selectedIndex=be}function Co(){const be=Hr.lFrame;return al(be.tView,be.selectedIndex)}function Gs(){Hr.lFrame.currentNamespace=ra}function Ul(){Hr.lFrame.currentNamespace=ka}function pa(){!function Sc(){Hr.lFrame.currentNamespace=null}()}function Li(){return Hr.lFrame.currentNamespace}let ct=!0;function Fe(){return ct}function ot(be){ct=be}function Nt(be,Xe=null,Rt=null,Pn){const tr=hn(be,Xe,Rt,Pn);
1return tr.resolveInjectorInitializers(),tr}function hn(be,Xe=null,Rt=null,Pn,tr=new Set){const kr=[Rt||Bn,Cs(be)];return Pn=Pn||("object"==typeof be?void 0:ae(be)),new Po(kr,Xe||So(),Pn||null,tr)}class On{static THROW_IF_NOT_FOUND=Ei;static NULL=new xi;static create(Xe,Rt){if(Array.isArray(Xe))return Nt({name:""},Rt,Xe,"");{const Pn=Xe.name??"";return Nt({name:Pn},Xe.parent,Xe.providers,Pn)}}static \u0275prov=Sn({token:On,providedIn:"any",factory:()=>xo(fr)});static __NG_ELEMENT_ID__=-1}const rr=new En("");let gr=(()=>class be{static __NG_ELEMENT_ID__=oi;static __NG_ENV_ID__=Rt=>Rt})();class vr extends gr{_lView;constructor(Xe){super(),this._lView=Xe}get destroyed(){return wi(this._lView)}onDestroy(Xe){const Rt=this._lView;return Kl(Rt,Xe),()=>qa(Rt,Xe)}}function oi(){return new vr(J())}class lo{_console=console;handleError(Xe){this._console.error("ERROR",Xe)}}const li=new En("",{providedIn:"root",factory:()=>{const be=wo(Do);let Xe;return Rt=>{be.destroyed&&!Xe?setTimeout(()=>{throw Rt}):(Xe??=be.get(lo),Xe.handleError(Rt))}}}),xs={provide:Gn,useValue:()=>{wo(lo)},multi:!0};function ma(be){return"function"==typeof be&&void 0!==be[N.bh]}function Ga(be,Xe){const[Rt,Pn,tr]=(0,N.n5)(be,Xe?.equal),kr=Rt;return kr.set=Pn,kr.update=tr,kr.asReadonly=Ys.bind(kr),kr}function Ys(){const be=this[N.bh];if(void 0===be.readonlyFn){const Xe=()=>this();Xe[N.bh]=be,be.readonlyFn=Xe}return be.readonlyFn}function cl(be){return ma(be)&&"function"==typeof be.set}function Dc(be,Xe){if(null!==(0,N.nR)())throw new ne(-602,!1)}let Gl=(()=>class be{view;node;constructor(Rt,Pn){this.view=Rt,this.node=Pn}static __NG_ELEMENT_ID__=rd})();function rd(){return new Gl(J(),he())}class id{}const od=new En("",{providedIn:"root",factory:()=>!1}),Oc=new En("",{providedIn:"root",factory:()=>!1}),Yc=new En(""),Kf=new En("");let sd=(()=>{class be{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new q.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ee.c(Rt=>{Rt.next(!1),Rt.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Rt=this.taskId++;return this.pendingTasks.add(Rt),Rt}has(Rt){return this.pendingTasks.has(Rt)}remove(Rt){this.pendingTasks.delete(Rt),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Sn({token:be,providedIn:"root",factory:()=>new be})}return be})(),Ud=(()=>{class be{internalPendingTasks=wo(sd);scheduler=wo(id);errorHandler=wo(li);add(){const Rt=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Rt)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Rt))}}run(Rt){const Pn=this.add();Rt().catch(this.errorHandler).finally(Pn)}static \u0275prov=Sn({token:be,providedIn:"root",factory:()=>new be})}return be})();function Vd(...be){}let Ic=(()=>{class be{static \u0275prov=Sn({token:be,providedIn:"root",factory:()=>new Su})}return be})();class Su{dirtyEffectCount=0;queues=new Map;add(Xe){this.enqueue(Xe),this.schedule(Xe)}schedule(Xe){Xe.dirty&&this.dirtyEffectCount++}remove(Xe){const Pn=this.queues.get(Xe.zone);Pn.has(Xe)&&(Pn.delete(Xe),Xe.dirty&&this.dirtyEffectCount--)}enqueue(Xe){const Rt=Xe.zone;this.queues.has(Rt)||this.queues.set(Rt,new Set);const Pn=this.queues.get(Rt);Pn.has(Xe)||Pn.add(Xe)}flush(){for(;this.dirtyEffectCount>0;){let Xe=!1;for(const[Rt,Pn]of this.queues)Xe||=null===Rt?this.flushQueue(Pn):Rt.run(()=>this.flushQueue(Pn));Xe||(this.dirtyEffectCount=0)}}flushQueue(Xe){let Rt=!1;for(const Pn of Xe)Pn.dirty&&(this.dirtyEffectCount--,Rt=!0,Pn.run());return Rt}}},89079(Vt,Pe,d){"use strict";d.d(Pe,{br:()=>ce,ot:()=>ue,pQ:()=>W});var ie=d(71985),ve=d(92771),U=d(56977),ne=d(2615),X=d(59295);function W(_e){_e||(_e=(0,ne.WQX)(ne.abz));const we=new ie.c(De=>{if(!_e.destroyed)return _e.onDestroy(De.next.bind(De));De.next()});return De=>De.pipe((0,U.Q)(we))}function ce(_e,we){const De=we?.injector??(0,ne.WQX)(ne.zZn),Ie=new ve.m(1),Me=(0,X.QZ)(()=>{let Ze;try{Ze=_e()}catch(Ye){return void(0,X.O8)(()=>Ie.error(Ye))}(0,X.O8)(()=>Ie.next(Ze))},{injector:De,manualCleanup:!0}
1);return De.get(ne.abz).onDestroy(()=>{Me.destroy(),Ie.complete()}),Ie.asObservable()}function ue(_e,we){const Ie=we?.manualCleanup?null:we?.injector?.get(ne.abz)??(0,ne.WQX)(ne.abz),Me=function ae(_e=Object.is){return(we,De)=>1===we.kind&&1===De.kind&&_e(we.value,De.value)}(we?.equal);let Ze,Ye;Ze=(0,ne.vPA)(we?.requireSync?{kind:0}:{kind:1,value:we?.initialValue},{equal:Me});const Je=_e.subscribe({next:vt=>Ze.set({kind:1,value:vt}),error:vt=>{Ze.set({kind:2,error:vt}),Ye?.()},complete:()=>{Ye?.()}});if(we?.requireSync&&0===Ze().kind)throw new ne.buA(601,!1);return Ye=Ie?.onDestroy(Je.unsubscribe.bind(Je)),(0,X.EW)(()=>{const vt=Ze();switch(vt.kind){case 1:return vt.value;case 2:throw vt.error;case 0:throw new ne.buA(601,!1)}},{equal:we?.equal})}},48440(Vt,Pe,d){"use strict";d.d(Pe,{Ag:()=>Ye,Bg:()=>Z,EF:()=>vt,H8:()=>Me,Ht:()=>A,JC:()=>ve,KE:()=>N,KO:()=>ke,KZ:()=>Ze,Ny:()=>Je,TO:()=>W,Wu:()=>K,XR:()=>ae,a7:()=>we,bh:()=>b,j2:()=>Ke,mC:()=>mt,mK:()=>B,n5:()=>At,nR:()=>R,pL:()=>ee,s0:()=>ut,si:()=>ue});let S=null,E=!1,M=1;const b=Symbol("SIGNAL");function A(Dt){const Sn=S;return S=Dt,Sn}function R(){return S}function N(){return E}const ee={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function B(Dt){if(E)throw new Error("");if(null===S)return;S.consumerOnSignalRead(Dt);const Sn=S.producersTail;if(void 0!==Sn&&Sn.producer===Dt)return;let An;const Qn=S.recomputing;if(Qn&&(An=void 0!==Sn?Sn.nextProducer:S.producers,void 0!==An&&An.producer===Dt))return S.producersTail=An,void(An.lastReadVersion=Dt.version);const lr=Dt.consumersTail;if(void 0!==lr&&lr.consumer===S&&(!Qn||function Ie(Dt,Sn){const An=Sn.producersTail;if(void 0!==An){let Qn=Sn.producers;do{if(Qn===Dt)return!0;if(Qn===An)break;Qn=Qn.nextProducer}while(void 0!==Qn)}return!1}(lr,S)))return;const jn=_e(S),xr={producer:Dt,consumer:S,nextProducer:An,prevConsumer:lr,lastReadVersion:Dt.version,nextConsumer:void 0};S.producersTail=xr,void 0!==Sn?Sn.nextProducer=xr:S.producers=xr,jn&&te(Dt,xr)}function ve(Dt){if((!_e(Dt)||Dt.dirty)&&(Dt.dirty||Dt.lastCleanEpoch!==M)){if(!Dt.producerMustRecompute(Dt)&&!ue(Dt))return void W(Dt);Dt.producerRecomputeValue(Dt),W(Dt)}}function U(Dt){if(void 0===Dt.consumers)return;const Sn=E;E=!0;try{for(let An=Dt.consumers;void 0!==An;An=An.nextConsumer){const Qn=An.consumer;Qn.dirty||X(Qn)}}finally{E=Sn}}function ne(){return!1!==S?.consumerAllowSignalWrites}function X(Dt){Dt.dirty=!0,U(Dt),Dt.consumerMarkedDirty?.(Dt)}function W(Dt){Dt.dirty=!1,Dt.lastCleanEpoch=M}function Z(Dt){return Dt&&function re(Dt){Dt.producersTail=void 0,Dt.recomputing=!0}(Dt),A(Dt)}function K(Dt,Sn){A(Sn),Dt&&function ce(Dt){Dt.recomputing=!1;const Sn=Dt.producersTail;let An=void 0!==Sn?Sn.nextProducer:Dt.producers;if(void 0!==An){if(_e(Dt))do{An=de(An)}while(void 0!==An);void 0!==Sn?Sn.nextProducer=void 0:Dt.producers=void 0}}(Dt)}function ue(Dt){for(let Sn=Dt.producers;void 0!==Sn;Sn=Sn.nextProducer){const An=Sn.producer,Qn=Sn.lastReadVersion;if(Qn!==An.version||(ve(An),Qn!==An.version))return!0}return!1}function ae(Dt){if(_e(Dt)){let Sn=Dt.producers;for(;void 0!==Sn;)Sn=de(Sn)}Dt.producers=void 0,Dt.producersTail=void 0,Dt.consumers=void 0,Dt.consumersTail=void 0}function te(Dt,Sn){const An=Dt.consumersTail,Qn=_e(Dt);if(void 0!==An?(Sn.nextConsumer=An.nextConsumer,An.nextConsumer=Sn):(Sn.nextConsumer=void 0,Dt.consumers=Sn),Sn.prevConsumer=An,Dt.consumersTail=Sn,!Qn)for(let lr=Dt.producers;void 0!==lr;lr=lr.nextProducer)te(lr.producer,lr)}function de(Dt){const Sn=Dt.producer,An=Dt.nextProducer,Qn=Dt.nextConsumer,lr=Dt.prevConsumer;if(Dt.nextConsumer=void 0,Dt.prevConsumer=void 0,void 0!==Qn?Qn.prevConsumer=lr:Sn.consumersTail=lr,void 0!==lr)lr.nextConsumer=Qn;else if(Sn.consumers=Qn,!_e(Sn)){let jn=Sn.producers;for(;void 0!==jn;)jn=de(jn)}return An}function _e(Dt){return Dt.consumerIsAlwaysLive||void 0!==Dt.consumers}function we(Dt){}function Me(Dt,Sn){return Object.is(Dt,Sn)}function Ze(Dt,Sn){const An=Object.create($t);
1An.computation=Dt,void 0!==Sn&&(An.equal=Sn);const Qn=()=>{if(ve(An),B(An),An.value===vt)throw An.error;return An.value};return Qn[b]=An,Qn}const Ye=Symbol("UNSET"),Je=Symbol("COMPUTING"),vt=Symbol("ERRORED"),$t={...ee,value:Ye,dirty:!0,error:null,equal:Me,kind:"computed",producerMustRecompute:Dt=>Dt.value===Ye||Dt.value===Je,producerRecomputeValue(Dt){if(Dt.value===Je)throw new Error("");const Sn=Dt.value;Dt.value=Je;const An=Z(Dt);let Qn,lr=!1;try{Qn=Dt.computation(),A(null),lr=Sn!==Ye&&Sn!==vt&&Qn!==vt&&Dt.equal(Sn,Qn)}catch(jn){Qn=vt,Dt.error=jn}finally{K(Dt,An)}lr?Dt.value=Sn:(Dt.value=Qn,Dt.version++)}};let xt=function Et(){throw new Error};function Ot(Dt){xt(Dt)}function ke(Dt){xt=Dt}function At(Dt,Sn){const An=Object.create(ut);An.value=Dt,void 0!==Sn&&(An.equal=Sn);const Qn=()=>function _t(Dt){return B(Dt),Dt.value}(An);return Qn[b]=An,[Qn,xr=>Ke(An,xr),xr=>mt(An,xr)]}function Ke(Dt,Sn){ne()||Ot(Dt),Dt.equal(Dt.value,Sn)||(Dt.value=Sn,function kt(Dt){Dt.version++,function ie(){M++}(),U(Dt)}(Dt))}function mt(Dt,Sn){ne()||Ot(Dt),Ke(Dt,Sn(Dt.value))}const ut={...ee,equal:Me,value:void 0,kind:"signal"}},89417(Vt,Pe,d){"use strict";d.d(Pe,{$R:()=>Po,BC:()=>Cn,J3:()=>gi,JD:()=>es,MJ:()=>Tr,X1:()=>Lo,YN:()=>ca,YS:()=>Y,Yp:()=>$o,ZU:()=>jn,Zm:()=>X,cV:()=>Bn,cb:()=>En,cz:()=>ae,gE:()=>cr,hs:()=>xi,j4:()=>So,k0:()=>_e,kq:()=>U,l_:()=>Si,me:()=>K,ok:()=>ki,qT:()=>tt,tU:()=>Pa,v8:()=>Ao,vO:()=>xr,vS:()=>Ue,xH:()=>Fs,y7:()=>Zi,ze:()=>Aa});var M=d(2615),f=d(73664),b=d(17705),A=d(59295),R=d(57303),N=d(21413),q=d(27468),ee=d(86648),B=d(96354);let ie=(()=>{class Re{_renderer;_elementRef;onChange=xe=>{};onTouched=()=>{};constructor(xe,st){this._renderer=xe,this._elementRef=st}setProperty(xe,st){this._renderer.setProperty(this._elementRef.nativeElement,xe,st)}registerOnTouched(xe){this.onTouched=xe}registerOnChange(xe){this.onChange=xe}setDisabledState(xe){this.setProperty("disabled",xe)}static \u0275fac=function(st){return new(st||Re)(f.rXU(f.sFG),f.rXU(f.aKT))};static \u0275dir=f.FsC({type:Re})}return Re})(),ve=(()=>{class Re extends ie{static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,features:[f.Vt3]})}return Re})();const U=new M.nKC(""),ne={provide:U,useExisting:(0,M.Rfq)(()=>X),multi:!0};let X=(()=>{class Re extends ve{writeValue(xe){this.setProperty("checked",xe)}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(st,Qt){1&st&&f.bIt("change",function(Or){return Qt.onChange(Or.target.checked)})("blur",function(){return Qt.onTouched()})},standalone:!1,features:[f.Jv_([ne]),f.Vt3]})}return Re})();const W={provide:U,useExisting:(0,M.Rfq)(()=>K),multi:!0},re=new M.nKC("");let K=(()=>{class Re extends ie{_compositionMode;_composing=!1;constructor(xe,st,Qt){super(xe,st),this._compositionMode=Qt,null==this._compositionMode&&(this._compositionMode=!function Z(){const Re=(0,R.rb)()?(0,R.rb)().getUserAgent():"";return/android (\d+)/.test(Re.toLowerCase())}())}writeValue(xe){this.setProperty("value",xe??"")}_handleInput(xe){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(xe)}_compositionStart(){this._composing=!0}_compositionEnd(xe){this._composing=!1,this._compositionMode&&this.onChange(xe)}static \u0275fac=function(st){return new(st||Re)(f.rXU(f.sFG),f.rXU(f.aKT),f.rXU(re,8))};static \u0275dir=f.FsC({type:Re,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(st,Qt){1&st&&f.bIt("input",function(Or){return Qt._handleInput(Or.target.value)})("blur",function(){return Qt.onTouched()})("compositionstart",function(){return Qt._compositionStart()})("compositionend",function(Or){return Qt._compositionEnd(Or.target.value)})},standalone:!1,features:[f.Jv_([W]),f.Vt3]})}return Re})();function ce(Re){return null==Re||0===ue(Re)}function ue(Re){return null==Re?null:Array.isArray(Re)||"string"==typeof Re?Re.length:Re instanceof Set?Re.size:null}const ae=new M.nKC(""),te=new M.nKC(""),de=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class _e{static min(je){return function we(Re){return je=>{if(null==je.value||null==Re)return null;const xe=parseFloat(je.value);return!isNaN(xe)&&xe<Re?{min:{min:Re,actual:je.value}}:null}}(je)}static max(je){return function De(Re){return je=>{if(null==je.value||null==Re)return null;const xe=parseFloat(je.value);return!isNaN(xe)&&xe>Re?{max:{max:Re,actual:je.value}}:null}}(je)}static required(je){return Ie(je)}static requiredTrue(je){return function Me(Re){return!0===Re.value?null:{required:!0}}(je)}static email(je){return function Ze(Re){return ce(Re.value)||de.test(Re.value)?null:{email:!0}}(je)}static minLength(je){return function Ye(Re){return je=>{const xe=je.value?.length??ue(je.value);return null===xe||0===xe?null:xe<Re?{minlength:{requiredLength:Re,actualLength:xe}}:null}}(je)}static maxLength(je){return Je(je)}static pattern(je){return function vt(Re){if(!Re)return $t;let je,xe;return"string"==typeof Re?(xe="","^"!==Re.charAt(0)&&(xe+="^"),xe+=Re,"$"!==Re.charAt(Re.length-1)&&(xe+="$"),je=new RegExp(xe)):(xe=Re.toString(),je=Re),st=>{if(ce(st.value))return null;const Qt=st.value;return je.test(Qt)?null:{pattern:{requiredPattern:xe,actualValue:Qt}}}}(je)}static nullValidator(je){return null}static compose(je){return Ct(je)}static composeAsync(je){return Ke(je)}}function Ie(Re){return ce(Re.value)?{required:!0}:null}function Je(Re){return je=>{const xe=je.value?.length??ue(je.value);return null!==xe&&xe>Re?{maxlength:{requiredLength:Re,actualLength:xe}}:null}}function $t(Re){return null}function Et(Re){return null!=Re}function xt(Re){return(0,f.yLl)(Re)?(0,ee.H)(Re):Re}function Ot(Re){let je={};return Re.forEach(xe=>{je=null!=xe?{...je,...xe}:je}),0===Object.keys(je).length?null:je}function ke(Re,je){return je.map(xe=>xe(Re))}function At(Re){return Re.map(je=>function qe(Re){return!Re.validate}(je)?je:xe=>je.validate(xe))}function Ct(Re){if(!Re)return null;const je=Re.filter(Et);return 0==je.length?null:function(xe){return Ot(ke(xe,je))}}function _t(Re){return null!=Re?Ct(At(Re)):null}function Ke(Re){if(!Re)return null;const je=Re.filter(Et);return 0==je.length?null:function(xe){const st=ke(xe,je).map(xt);return(0,q.p)(st).pipe((0,B.T)(Ot))}}function mt(Re){return null!=Re?Ke(At(Re)):null}function rt(Re,je){return null===Re?[je]:Array.isArray(Re)?[...Re,je]:[Re,je]}function ut(Re){return Re._rawValidators}function kt(Re){return Re._rawAsyncValidators}function Dt(Re){return Re?Array.isArray(Re)?Re:[Re]:[]}function Sn(Re,je){return Array.isArray(Re)?Re.includes(je):Re===je}function An(Re,je){const xe=Dt(je);return Dt(Re).forEach(Qt=>{Sn(xe,Qt)||xe.push(Qt)}),xe}function Qn(Re,je){return Dt(je).filter(xe=>!Sn(Re,xe))}class lr{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(je){this._rawValidators=je||[],this._composedValidatorFn=_t(this._rawValidators)}_setAsyncValidators(je){this._rawAsyncValidators=je||[],this._composedAsyncValidatorFn=mt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(je){this._onDestroyCallbacks.push(je)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(je=>je()),this._onDestroyCallbacks=[]}reset(je=void 0){this.control&&this.control.reset(je)}hasError(je,xe){return!!this.control&&this.control.hasError(je,xe)}getError(je,xe){return this.control?this.control.getError(je,xe):null}}class jn extends lr{name;get formDirective(){return null}get path(){return null}}class xr extends lr{_parent=null;name=null;valueAccessor=null}class tn{_cd;constructor(je){this._cd=je}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
1get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Cn=(()=>{class Re extends tn{constructor(xe){super(xe)}static \u0275fac=function(st){return new(st||Re)(f.rXU(xr,2))};static \u0275dir=f.FsC({type:Re,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(st,Qt){2&st&&f.AVh("ng-untouched",Qt.isUntouched)("ng-touched",Qt.isTouched)("ng-pristine",Qt.isPristine)("ng-dirty",Qt.isDirty)("ng-valid",Qt.isValid)("ng-invalid",Qt.isInvalid)("ng-pending",Qt.isPending)},standalone:!1,features:[f.Vt3]})}return Re})(),En=(()=>{class Re extends tn{constructor(xe){super(xe)}static \u0275fac=function(st){return new(st||Re)(f.rXU(jn,10))};static \u0275dir=f.FsC({type:Re,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(st,Qt){2&st&&f.AVh("ng-untouched",Qt.isUntouched)("ng-touched",Qt.isTouched)("ng-pristine",Qt.isPristine)("ng-dirty",Qt.isDirty)("ng-valid",Qt.isValid)("ng-invalid",Qt.isInvalid)("ng-pending",Qt.isPending)("ng-submitted",Qt.isSubmitted)},standalone:!1,features:[f.Vt3]})}return Re})();const Pt="VALID",wt="INVALID",Kt="PENDING",xn="DISABLED";class Fn{}class fn extends Fn{value;source;constructor(je,xe){super(),this.value=je,this.source=xe}}class Dn extends Fn{pristine;source;constructor(je,xe){super(),this.pristine=je,this.source=xe}}class Ve extends Fn{touched;source;constructor(je,xe){super(),this.touched=je,this.source=xe}}class He extends Fn{status;source;constructor(je,xe){super(),this.status=je,this.source=xe}}class p extends Fn{source;constructor(je){super(),this.source=je}}class Ht extends Fn{source;constructor(je){super(),this.source=je}}function sn(Re){return(Wn(Re)?Re.validators:Re)||null}function un(Re,je){return(Wn(je)?je.asyncValidators:Re)||null}function Wn(Re){return null!=Re&&!Array.isArray(Re)&&"object"==typeof Re}function $n(Re,je,xe){const st=Re.controls;if(!(je?Object.keys(st):st).length)throw new M.buA(1e3,"");if(!st[xe])throw new M.buA(1001,"")}function _r(Re,je,xe){Re._forEachChild((st,Qt)=>{if(void 0===xe[Qt])throw new M.buA(1002,"")})}class ur{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(je,xe){this._assignValidators(je),this._assignAsyncValidators(xe)}get validator(){return this._composedValidatorFn}set validator(je){this._rawValidators=this._composedValidatorFn=je}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(je){this._rawAsyncValidators=this._composedAsyncValidatorFn=je}get parent(){return this._parent}get status(){return(0,A.O8)(this.statusReactive)}set status(je){(0,A.O8)(()=>this.statusReactive.set(je))}_status=(0,A.EW)(()=>this.statusReactive());statusReactive=(0,M.vPA)(void 0);get valid(){return this.status===Pt}get invalid(){return this.status===wt}get pending(){return this.status==Kt}get disabled(){return this.status===xn}get enabled(){return this.status!==xn}errors;get pristine(){return(0,A.O8)(this.pristineReactive)}set pristine(je){(0,A.O8)(()=>this.pristineReactive.set(je))}_pristine=(0,A.EW)(()=>this.pristineReactive());pristineReactive=(0,M.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,A.O8)(this.touchedReactive)}set touched(je){(0,A.O8)(()=>this.touchedReactive.set(je))}_touched=(0,A.EW)(()=>this.touchedReactive());touchedReactive=(0,M.vPA)(!1);get untouched(){return!this.touched}_events=new N.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(je){this._assignValidators(je)}setAsyncValidators(je){this._assignAsyncValidators(je)}addValidators(je){this.setValidators(An(je,this._rawValidators))}addAsyncValidators(je){this.setAsyncValidators(An(je,this._rawAsyncValidators))}removeValidators(je){this.setValidators(Qn(je,this._rawValidators))}removeAsyncValidators(je){this.setAsyncValidators(Qn(je,this._rawAsyncValidators))}hasValidator(je){return Sn(this._rawValidators,je)}hasAsyncValidator(je){return Sn(this._rawAsyncValidators,je)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(je={}){const xe=!1===this.touched;this.touched=!0;const st=je.sourceControl??this;
1this._parent&&!je.onlySelf&&this._parent.markAsTouched({...je,sourceControl:st}),xe&&!1!==je.emitEvent&&this._events.next(new Ve(!0,st))}markAllAsDirty(je={}){this.markAsDirty({onlySelf:!0,emitEvent:je.emitEvent,sourceControl:this}),this._forEachChild(xe=>xe.markAllAsDirty(je))}markAllAsTouched(je={}){this.markAsTouched({onlySelf:!0,emitEvent:je.emitEvent,sourceControl:this}),this._forEachChild(xe=>xe.markAllAsTouched(je))}markAsUntouched(je={}){const xe=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const st=je.sourceControl??this;this._forEachChild(Qt=>{Qt.markAsUntouched({onlySelf:!0,emitEvent:je.emitEvent,sourceControl:st})}),this._parent&&!je.onlySelf&&this._parent._updateTouched(je,st),xe&&!1!==je.emitEvent&&this._events.next(new Ve(!1,st))}markAsDirty(je={}){const xe=!0===this.pristine;this.pristine=!1;const st=je.sourceControl??this;this._parent&&!je.onlySelf&&this._parent.markAsDirty({...je,sourceControl:st}),xe&&!1!==je.emitEvent&&this._events.next(new Dn(!1,st))}markAsPristine(je={}){const xe=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const st=je.sourceControl??this;this._forEachChild(Qt=>{Qt.markAsPristine({onlySelf:!0,emitEvent:je.emitEvent})}),this._parent&&!je.onlySelf&&this._parent._updatePristine(je,st),xe&&!1!==je.emitEvent&&this._events.next(new Dn(!0,st))}markAsPending(je={}){this.status=Kt;const xe=je.sourceControl??this;!1!==je.emitEvent&&(this._events.next(new He(this.status,xe)),this.statusChanges.emit(this.status)),this._parent&&!je.onlySelf&&this._parent.markAsPending({...je,sourceControl:xe})}disable(je={}){const xe=this._parentMarkedDirty(je.onlySelf);this.status=xn,this.errors=null,this._forEachChild(Qt=>{Qt.disable({...je,onlySelf:!0})}),this._updateValue();const st=je.sourceControl??this;!1!==je.emitEvent&&(this._events.next(new fn(this.value,st)),this._events.next(new He(this.status,st)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...je,skipPristineCheck:xe},this),this._onDisabledChange.forEach(Qt=>Qt(!0))}enable(je={}){const xe=this._parentMarkedDirty(je.onlySelf);this.status=Pt,this._forEachChild(st=>{st.enable({...je,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:je.emitEvent}),this._updateAncestors({...je,skipPristineCheck:xe},this),this._onDisabledChange.forEach(st=>st(!1))}_updateAncestors(je,xe){this._parent&&!je.onlySelf&&(this._parent.updateValueAndValidity(je),je.skipPristineCheck||this._parent._updatePristine({},xe),this._parent._updateTouched({},xe))}setParent(je){this._parent=je}getRawValue(){return this.value}updateValueAndValidity(je={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const st=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pt||this.status===Kt)&&this._runAsyncValidator(st,je.emitEvent)}const xe=je.sourceControl??this;!1!==je.emitEvent&&(this._events.next(new fn(this.value,xe)),this._events.next(new He(this.status,xe)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!je.onlySelf&&this._parent.updateValueAndValidity({...je,sourceControl:xe})}_updateTreeValidity(je={emitEvent:!0}){this._forEachChild(xe=>xe._updateTreeValidity(je)),this.updateValueAndValidity({onlySelf:!0,emitEvent:je.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xn:Pt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(je,xe){if(this.asyncValidator){this.status=Kt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==xe,shouldHaveEmitted:!1!==je};const st=xt(this.asyncValidator(this));this._asyncValidationSubscription=st.subscribe(Qt=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Qt,{emitEvent:xe,shouldHaveEmitted:je})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const je=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,je}return!1}setErrors(je,xe={}){this.errors=je,this._updateControlsErrors(!1!==xe.emitEvent,this,xe.shouldHaveEmitted)}get(je){let xe=je;return null==xe||(Array.isArray(xe)||(xe=xe.split(".")),0===xe.length)?null:xe.reduce((st,Qt)=>st&&st._find(Qt),this)}getError(je,xe){const st=xe?this.get(xe):this;return st&&st.errors?st.errors[je]:null}hasError(je,xe){return!!this.getError(je,xe)}get root(){let je=this;for(;je._parent;)je=je._parent;return je}_updateControlsErrors(je,xe,st){this.status=this._calculateStatus(),je&&this.statusChanges.emit(this.status),(je||st)&&this._events.next(new He(this.status,xe)),this._parent&&this._parent._updateControlsErrors(je,xe,st)}_initObservables(){this.valueChanges=new f.bkB,this.statusChanges=new f.bkB}_calculateStatus(){return this._allControlsDisabled()?xn:this.errors?wt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Kt)?Kt:this._anyControlsHaveStatus(wt)?wt:Pt}_anyControlsHaveStatus(je){return this._anyControls(xe=>xe.status===je)}_anyControlsDirty(){return this._anyControls(je=>je.dirty)}_anyControlsTouched(){return this._anyControls(je=>je.touched)}_updatePristine(je,xe){const st=!this._anyControlsDirty(),Qt=this.pristine!==st;this.pristine=st,this._parent&&!je.onlySelf&&this._parent._updatePristine(je,xe),Qt&&this._events.next(new Dn(this.pristine,xe))}_updateTouched(je={},xe){this.touched=this._anyControlsTouched(),this._events.next(new Ve(this.touched,xe)),this._parent&&!je.onlySelf&&this._parent._updateTouched(je,xe)}_onDisabledChange=[];_registerOnCollectionChange(je){this._onCollectionChange=je}_setUpdateStrategy(je){Wn(je)&&null!=je.updateOn&&(this._updateOn=je.updateOn)}_parentMarkedDirty(je){return!je&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 5,145 bytes, line 1
1_find(je){return null}_assignValidators(je){this._rawValidators=Array.isArray(je)?je.slice():je,this._composedValidatorFn=function bt(Re){return Array.isArray(Re)?_t(Re):Re||null}(this._rawValidators)}_assignAsyncValidators(je){this._rawAsyncValidators=Array.isArray(je)?je.slice():je,this._composedAsyncValidatorFn=function Vn(Re){return Array.isArray(Re)?mt(Re):Re||null}(this._rawAsyncValidators)}}class cr extends ur{constructor(je,xe,st){super(sn(xe),un(st,xe)),this.controls=je,this._initObservables(),this._setUpdateStrategy(xe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(je,xe){return this.controls[je]?this.controls[je]:(this.controls[je]=xe,xe.setParent(this),xe._registerOnCollectionChange(this._onCollectionChange),xe)}addControl(je,xe,st={}){this.registerControl(je,xe),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}removeControl(je,xe={}){this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),delete this.controls[je],this.updateValueAndValidity({emitEvent:xe.emitEvent}),this._onCollectionChange()}setControl(je,xe,st={}){this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),delete this.controls[je],xe&&this.registerControl(je,xe),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}contains(je){return this.controls.hasOwnProperty(je)&&this.controls[je].enabled}setValue(je,xe={}){_r(this,0,je),Object.keys(je).forEach(st=>{$n(this,!0,st),this.controls[st].setValue(je[st],{onlySelf:!0,emitEvent:xe.emitEvent})}),this.updateValueAndValidity(xe)}patchValue(je,xe={}){null!=je&&(Object.keys(je).forEach(st=>{const Qt=this.controls[st];Qt&&Qt.patchValue(je[st],{onlySelf:!0,emitEvent:xe.emitEvent})}),this.updateValueAndValidity(xe))}reset(je={},xe={}){this._forEachChild((st,Qt)=>{st.reset(je?je[Qt]:null,{onlySelf:!0,emitEvent:xe.emitEvent})}),this._updatePristine(xe,this),this._updateTouched(xe,this),this.updateValueAndValidity(xe),!1!==xe?.emitEvent&&this._events.next(new Ht(this))}getRawValue(){return this._reduceChildren({},(je,xe,st)=>(je[st]=xe.getRawValue(),je))}_syncPendingControls(){let je=this._reduceChildren(!1,(xe,st)=>!!st._syncPendingControls()||xe);return je&&this.updateValueAndValidity({onlySelf:!0}),je}_forEachChild(je){Object.keys(this.controls).forEach(xe=>{const st=this.controls[xe];st&&je(st,xe)})}_setUpControls(){this._forEachChild(je=>{je.setParent(this),je._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(je){for(const[xe,st]of Object.entries(this.controls))if(this.contains(xe)&&je(st))return!0;return!1}_reduceValue(){return this._reduceChildren({},(xe,st,Qt)=>((st.enabled||this.disabled)&&(xe[Qt]=st.value),xe))}_reduceChildren(je,xe){let st=je;return this._forEachChild((Qt,Mr)=>{st=xe(st,Qt,Mr)}),st}_allControlsDisabled(){for(const je of Object.keys(this.controls))if(this.controls[je].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(je){return this.controls.hasOwnProperty(je)?this.controls[je]:null}}const gi=cr;class er extends cr{}const ei=new M.nKC("",{providedIn:"root",factory:()=>Ho}),Ho="always";function Ei(Re,je){return[...je.path,Re]}function _i(Re,je,xe=Ho){Zr(Re,je),je.valueAccessor.writeValue(Re.value),(Re.disabled||"always"===xe)&&je.valueAccessor.setDisabledState?.(Re.disabled),function dt(Re,je){je.valueAccessor.registerOnChange(xe=>{Re._pendingValue=xe,Re._pendingChange=!0,Re._pendingDirty=!0,"change"===Re.updateOn&&Gt(Re,je)})}(Re,je),function Nn(Re,je){const xe=(st,Qt)=>{je.valueAccessor.writeValue(st),Qt&&je.viewToModelUpdate(st)};Re.registerOnChange(xe),je._registerOnDestroy(()=>{Re._unregisterOnChange(xe)})}(Re,je),function Yt(Re,je){je.valueAccessor.registerOnTouched(()=>{Re._pendingTouched=!0,"blur"===Re.updateOn&&Re._pendingChange&&Gt(Re,je),"submit"!==Re.updateOn&&Re.markAsTouched()})}(Re,je),function xo(Re,je){if(je.valueAccessor.setDisabledState){const xe=st=>{je.valueAccessor.setDisabledState(st)};Re.registerOnDisabledChange(xe),je._registerOnDestroy(()=>{Re._unregisterOnDisabledChange(xe)})}}(Re,je)}function ti(Re,je,xe=!0){const st=()=>{};je.valueAccessor&&(je.valueAccessor.registerOnChange(st),je.valueAccessor.registerOnTouched(st)),wo(Re,je),Re&&(je._invokeOnDestroyCallbacks(),Re._registerOnCollectionChange(()=>{}))}function Uo(Re,je){Re.forEach(xe=>{xe.registerOnValidatorChange&&xe.registerOnValidatorChange(je)})}function Zr(Re,je){const xe=ut(Re);null!==je.validator?Re.setValidators(rt(xe,je.validator)):"function"==typeof xe&&Re.setValidators([xe]);const st=kt(Re);null!==je.asyncValidator?Re.setAsyncValidators(rt(st,je.asyncValidator)):"function"==typeof st&&Re.setAsyncValidators([st]);const Qt=()=>Re.updateValueAndValidity();Uo(je._rawValidators,Qt),Uo(je._rawAsyncValidators,Qt)}function wo(Re,je){let xe=!1;if(null!==Re){if(null!==je.validator){const Qt=ut(Re);if(Array.isArray(Qt)&&Qt.length>0){const Mr=Qt.filter(Or=>Or!==je.validator);Mr.length!==Qt.length&&(xe=!0,Re.setValidators(Mr))}}if(null!==je.asyncValidator){const Qt=kt(Re);
1if(Array.isArray(Qt)&&Qt.length>0){const Mr=Qt.filter(Or=>Or!==je.asyncValidator);Mr.length!==Qt.length&&(xe=!0,Re.setAsyncValidators(Mr))}}}const st=()=>{};return Uo(je._rawValidators,st),Uo(je._rawAsyncValidators,st),xe}function Gt(Re,je){Re._pendingDirty&&Re.markAsDirty(),Re.setValue(Re._pendingValue,{emitModelToViewChange:!1}),je.viewToModelUpdate(Re._pendingValue),Re._pendingChange=!1}function Yn(Re,je){Zr(Re,je)}function Yi(Re,je){if(!Re.hasOwnProperty("model"))return!1;const xe=Re.model;return!!xe.isFirstChange()||!Object.is(je,xe.currentValue)}function To(Re,je){Re._syncPendingControls(),je.forEach(xe=>{const st=xe.control;"submit"===st.updateOn&&st._pendingChange&&(xe.viewToModelUpdate(st._pendingValue),st._pendingChange=!1)})}function to(Re,je){if(!je)return null;let xe,st,Qt;return Array.isArray(je),je.forEach(Mr=>{Mr.constructor===K?xe=Mr:function uo(Re){return Object.getPrototypeOf(Re.constructor)===ve}(Mr)?st=Mr:Qt=Mr}),Qt||st||xe||null}const Wt={provide:jn,useExisting:(0,M.Rfq)(()=>Bn)},yn=Promise.resolve();let Bn=(()=>{class Re extends jn{callSetDisabledState;get submitted(){return(0,A.O8)(this.submittedReactive)}_submitted=(0,A.EW)(()=>this.submittedReactive());submittedReactive=(0,M.vPA)(!1);_directives=new Set;form;ngSubmit=new f.bkB;options;constructor(xe,st,Qt){super(),this.callSetDisabledState=Qt,this.form=new cr({},_t(xe),mt(st))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(xe){yn.then(()=>{const st=this._findContainer(xe.path);xe.control=st.registerControl(xe.name,xe.control),_i(xe.control,xe,this.callSetDisabledState),xe.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(xe)})}getControl(xe){return this.form.get(xe.path)}
1removeControl(xe){yn.then(()=>{const st=this._findContainer(xe.path);st&&st.removeControl(xe.name),this._directives.delete(xe)})}addFormGroup(xe){yn.then(()=>{const st=this._findContainer(xe.path),Qt=new cr({});Yn(Qt,xe),st.registerControl(xe.name,Qt),Qt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(xe){yn.then(()=>{const st=this._findContainer(xe.path);st&&st.removeControl(xe.name)})}getFormGroup(xe){return this.form.get(xe.path)}updateModel(xe,st){yn.then(()=>{this.form.get(xe.path).setValue(st)})}setValue(xe){this.control.setValue(xe)}onSubmit(xe){return this.submittedReactive.set(!0),To(this.form,this._directives),this.ngSubmit.emit(xe),this.form._events.next(new p(this.control)),"dialog"===xe?.target?.method}onReset(){this.resetForm()}resetForm(xe=void 0){this.form.reset(xe),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(xe){return xe.pop(),xe.length?this.form.get(xe):this.form}static \u0275fac=function(st){return new(st||Re)(f.rXU(ae,10),f.rXU(te,10),f.rXU(ei,8))};static \u0275dir=f.FsC({type:Re,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(st,Qt){1&st&&f.bIt("submit",function(Or){return Qt.onSubmit(Or)})("reset",function(){return Qt.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([Wt]),f.Vt3]})}return Re})();function Gn(Re,je){const xe=Re.indexOf(je);xe>-1&&Re.splice(xe,1)}function fr(Re){return"object"==typeof Re&&null!==Re&&2===Object.keys(Re).length&&"value"in Re&&"disabled"in Re}const Tr=class extends ur{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(je=null,xe,st){super(sn(xe),un(st,xe)),this._applyFormState(je),this._setUpdateStrategy(xe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wn(xe)&&(xe.nonNullable||xe.initialValueIsDefault)&&(this.defaultValue=fr(je)?je.value:je)}setValue(je,xe={}){this.value=this._pendingValue=je,this._onChange.length&&!1!==xe.emitModelToViewChange&&this._onChange.forEach(st=>st(this.value,!1!==xe.emitViewToModelChange)),this.updateValueAndValidity(xe)}patchValue(je,xe={}){this.setValue(je,xe)}reset(je=this.defaultValue,xe={}){this._applyFormState(je),this.markAsPristine(xe),this.markAsUntouched(xe),this.setValue(this.value,xe),this._pendingChange=!1,!1!==xe?.emitEvent&&this._events.next(new Ht(this))}_updateValue(){}_anyControls(je){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(je){this._onChange.push(je)}_unregisterOnChange(je){Gn(this._onChange,je)}registerOnDisabledChange(je){this._onDisabledChange.push(je)}_unregisterOnDisabledChange(je){Gn(this._onDisabledChange,je)}_forEachChild(je){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(je){fr(je)?(this.value=this._pendingValue=je.value,je.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=je}},xi=Tr;let Bi=(()=>{class Re extends jn{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ei(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,standalone:!1,features:[f.Vt3]})}return Re})();const di={provide:xr,useExisting:(0,M.Rfq)(()=>Ue)},Cs=Promise.resolve();let Ue=(()=>{class Re extends xr{_changeDetectorRef;callSetDisabledState;control=new Tr;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new f.bkB;constructor(xe,st,Qt,Mr,Or,wi){super(),this._changeDetectorRef=Or,this.callSetDisabledState=wi,this._parent=xe,this._setValidators(st),this._setAsyncValidators(Qt),this.valueAccessor=to(0,Mr)}ngOnChanges(xe){if(this._checkForErrors(),!this._registered||"name"in xe){if(this._registered&&(this._checkName(),this.formDirective)){const st=xe.name.previousValue;this.formDirective.removeControl({name:st,path:this._getPath(st)})}this._setUpControl()}"isDisabled"in xe&&this._updateDisabled(xe),Yi(xe,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(xe){this.viewModel=xe,this.update.emit(xe)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_i(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(xe){Cs.then(()=>{this.control.setValue(xe,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(xe){const st=xe.isDisabled.currentValue,Qt=0!==st&&(0,b.L39)(st);Cs.then(()=>{Qt&&!this.control.disabled?this.control.disable():!Qt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(xe){return this._parent?Ei(xe,this._parent):[xe]}static \u0275fac=function(st){return new(st||Re)(f.rXU(jn,9),f.rXU(ae,10),f.rXU(te,10),f.rXU(U,10),f.rXU(b.gRc,8),f.rXU(ei,8))};static \u0275dir=f.FsC({type:Re,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[f.Jv_([di]),f.Vt3,f.OA$]})}return Re})(),tt=(()=>{class Re{static \u0275fac=function(st){return new(st||Re)};static \u0275dir=f.FsC({type:Re,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return Re})();const Sr=new M.nKC(""),go={provide:xr,useExisting:(0,M.Rfq)(()=>Si)};let Si=(()=>{class Re extends xr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(xe){}model;update=new f.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(xe,st,Qt,Mr,Or){super(),this._ngModelWarningConfig=Mr,this.callSetDisabledState=Or,this._setValidators(xe),this._setAsyncValidators(st),this.valueAccessor=to(0,Qt)}ngOnChanges(xe){if(this._isControlChanged(xe)){const st=xe.form.previousValue;st&&ti(st,this,!1),_i(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yi(xe,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ti(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(xe){this.viewModel=xe,this.update.emit(xe)}_isControlChanged(xe){return xe.hasOwnProperty("form")}static \u0275fac=function(st){return new(st||Re)(f.rXU(ae,10),f.rXU(te,10),f.rXU(U,10),f.rXU(Sr,8),f.rXU(ei,8))};static \u0275dir=f.FsC({type:Re,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([go]),f.Vt3,f.OA$]})}return Re})();const ci={provide:jn,useExisting:(0,M.Rfq)(()=>So)};let So=(()=>{class Re extends jn{callSetDisabledState;get submitted(){return(0,A.O8)(this._submittedReactive)}set submitted(xe){this._submittedReactive.set(xe)}_submitted=(0,A.EW)(()=>this._submittedReactive());_submittedReactive=(0,M.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new f.bkB;constructor(xe,st,Qt){super(),this.callSetDisabledState=Qt,this._setValidators(xe),this._setAsyncValidators(st)}ngOnChanges(xe){xe.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wo(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(xe){const st=this.form.get(xe.path);return _i(st,xe,this.callSetDisabledState),st.updateValueAndValidity({emitEvent:!1}),this.directives.push(xe),st}
1getControl(xe){return this.form.get(xe.path)}removeControl(xe){ti(xe.control||null,xe,!1),function Vi(Re,je){const xe=Re.indexOf(je);xe>-1&&Re.splice(xe,1)}(this.directives,xe)}addFormGroup(xe){this._setUpFormContainer(xe)}removeFormGroup(xe){this._cleanUpFormContainer(xe)}getFormGroup(xe){return this.form.get(xe.path)}addFormArray(xe){this._setUpFormContainer(xe)}removeFormArray(xe){this._cleanUpFormContainer(xe)}getFormArray(xe){return this.form.get(xe.path)}updateModel(xe,st){this.form.get(xe.path).setValue(st)}onSubmit(xe){return this._submittedReactive.set(!0),To(this.form,this.directives),this.ngSubmit.emit(xe),this.form._events.next(new p(this.control)),"dialog"===xe?.target?.method}onReset(){this.resetForm()}resetForm(xe=void 0,st={}){this.form.reset(xe,st),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(xe=>{const st=xe.control,Qt=this.form.get(xe.path);st!==Qt&&(ti(st||null,xe),(Re=>Re instanceof Tr)(Qt)&&(_i(Qt,xe,this.callSetDisabledState),xe.control=Qt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(xe){const st=this.form.get(xe.path);Yn(st,xe),st.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(xe){if(this.form){const st=this.form.get(xe.path);st&&function kn(Re,je){return wo(Re,je)}(st,xe)&&st.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zr(this.form,this),this._oldForm&&wo(this._oldForm,this)}static \u0275fac=function(st){return new(st||Re)(f.rXU(ae,10),f.rXU(te,10),f.rXU(ei,8))};static \u0275dir=f.FsC({type:Re,selectors:[["","formGroup",""]],hostBindings:function(st,Qt){1&st&&f.bIt("submit",function(Or){return Qt.onSubmit(Or)})("reset",function(){return Qt.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([ci]),f.Vt3,f.OA$]})}return Re})();const Do={provide:jn,useExisting:(0,M.Rfq)(()=>Po)};let Po=(()=>{class Re extends Bi{name=null;constructor(xe,st,Qt){super(),this._parent=xe,this._setValidators(st),this._setAsyncValidators(Qt)}_checkParentType(){ps(this._parent)}static \u0275fac=function(st){return new(st||Re)(f.rXU(jn,13),f.rXU(ae,10),f.rXU(te,10))};static \u0275dir=f.FsC({type:Re,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[f.Jv_([Do]),f.Vt3]})}return Re})();const Ds={provide:jn,useExisting:(0,M.Rfq)(()=>Ao)};let Ao=(()=>{class Re extends jn{_parent;name=null;constructor(xe,st,Qt){super(),this._parent=xe,this._setValidators(st),this._setAsyncValidators(Qt)}ngOnInit(){ps(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ei(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(st){return new(st||Re)(f.rXU(jn,13),f.rXU(ae,10),f.rXU(te,10))};static \u0275dir=f.FsC({type:Re,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[f.Jv_([Ds]),f.Vt3]})}return Re})();function ps(Re){return!(Re instanceof Po||Re instanceof So||Re instanceof Ao)}const qo={provide:xr,useExisting:(0,M.Rfq)(()=>es)};let es=(()=>{class Re extends xr{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(xe){}model;update=new f.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(xe,st,Qt,Mr,Or){super(),this._ngModelWarningConfig=Or,this._parent=xe,this._setValidators(st),this._setAsyncValidators(Qt),this.valueAccessor=to(0,Mr)}ngOnChanges(xe){this._added||this._setUpControl(),Yi(xe,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(xe){this.viewModel=xe,this.update.emit(xe)}get path(){return Ei(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(st){return new(st||Re)(f.rXU(jn,13),f.rXU(ae,10),f.rXU(te,10),f.rXU(U,10),f.rXU(Sr,8))};static \u0275dir=f.FsC({type:Re,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[f.Jv_([qo]),f.Vt3,f.OA$]})}return Re})();const Va={provide:U,useExisting:(0,M.Rfq)(()=>ls),multi:!0};function ja(Re,je){return null==Re?`${je}`:(je&&"object"==typeof je&&(je="Object"),`${Re}: ${je}`.slice(0,50))}let ls=(()=>{class Re extends ve{value;_optionMap=new Map;_idCounter=0;set compareWith(xe){this._compareWith=xe}_compareWith=Object.is;appRefInjector=(0,M.WQX)(f.o8S).injector;destroyRef=(0,M.WQX)(M.abz);cdr=(0,M.WQX)(b.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
1stroyed||(this._queuedWrite=!0,(0,f.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(xe){this.cdr.markForCheck(),this.value=xe;const Qt=ja(this._getOptionId(xe),xe);this.setProperty("value",Qt)}registerOnChange(xe){this.onChange=st=>{this.value=this._getOptionValue(st),xe(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(xe){for(const st of this._optionMap.keys())if(this._compareWith(this._optionMap.get(st),xe))return st;return null}_getOptionValue(xe){const st=function Vo(Re){return Re.split(":")[0]}(xe);return this._optionMap.has(st)?this._optionMap.get(st):xe}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(st,Qt){1&st&&f.bIt("change",function(Or){return Qt.onChange(Or.target.value)})("blur",function(){return Qt.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[f.Jv_([Va]),f.Vt3]})}return Re})(),Fs=(()=>{class Re{_element;_renderer;_select;id;constructor(xe,st,Qt){this._element=xe,this._renderer=st,this._select=Qt,this._select&&(this.id=this._select._registerOption())}set ngValue(xe){null!=this._select&&(this._select._optionMap.set(this.id,xe),this._setElementValue(ja(this.id,xe)),this._select._writeValueAfterRender())}set value(xe){this._setElementValue(xe),this._select&&this._select._writeValueAfterRender()}_setElementValue(xe){this._renderer.setProperty(this._element.nativeElement,"value",xe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(st){return new(st||Re)(f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(ls,9))};static \u0275dir=f.FsC({type:Re,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return Re})();const ta={provide:U,useExisting:(0,M.Rfq)(()=>Xo),multi:!0};function Ca(Re,je){return null==Re?`${je}`:("string"==typeof je&&(je=`'${je}'`),je&&"object"==typeof je&&(je="Object"),`${Re}: ${je}`.slice(0,50))}let Xo=(()=>{class Re extends ve{value;_optionMap=new Map;_idCounter=0;set compareWith(xe){this._compareWith=xe}_compareWith=Object.is;writeValue(xe){let st;if(this.value=xe,Array.isArray(xe)){const Qt=xe.map(Mr=>this._getOptionId(Mr));st=(Mr,Or)=>{Mr._setSelected(Qt.indexOf(Or.toString())>-1)}}else st=(Qt,Mr)=>{Qt._setSelected(!1)};this._optionMap.forEach(st)}registerOnChange(xe){this.onChange=st=>{const Qt=[],Mr=st.selectedOptions;if(void 0!==Mr){const Or=Mr;for(let wi=0;wi<Or.length;wi++){const na=this._getOptionValue(Or[wi].value);Qt.push(na)}}else{const Or=st.options;for(let wi=0;wi<Or.length;wi++){const As=Or[wi];if(As.selected){const na=this._getOptionValue(As.value);Qt.push(na)}}}this.value=Qt,xe(Qt)}}_registerOption(xe){const st=(this._idCounter++).toString();return this._optionMap.set(st,xe),st}_getOptionId(xe){for(const st of this._optionMap.keys())if(this._compareWith(this._optionMap.get(st)._value,xe))return st;return null}_getOptionValue(xe){const st=function Os(Re){return Re.split(":")[0]}(xe);return this._optionMap.has(st)?this._optionMap.get(st)._value:xe}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(st,Qt){1&st&&f.bIt("change",function(Or){return Qt.onChange(Or.target)})("blur",function(){return Qt.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[f.Jv_([ta]),f.Vt3]})}return Re})(),Zi=(()=>{class Re{_element;_renderer;_select;id;_value;constructor(xe,st,Qt){this._element=xe,this._renderer=st,this._select=Qt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(xe){null!=this._select&&(this._value=xe,this._setElementValue(Ca(this.id,xe)),this._select.writeValue(this._select.value))}set value(xe){this._select?(this._value=xe,this._setElementValue(Ca(this.id,xe)),this._select.writeValue(this._select.value)):this._setElementValue(xe)}_setElementValue(xe){this._renderer.setProperty(this._element.nativeElement,"value",xe)}_setSelected(xe){this._renderer.setProperty(this._element.nativeElement,"selected",xe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static \u0275fac=function(st){return new(st||Re)(f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(Xo,9))};static \u0275dir=f.FsC({type:Re,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return Re})();let Ns=(()=>{class Re{_validator=$t;_onChange;_enabled;ngOnChanges(xe){if(this.inputName in xe){const st=this.normalizeInput(xe[this.inputName].currentValue);this._enabled=this.enabled(st),this._validator=this._enabled?this.createValidator(st):$t,this._onChange&&this._onChange()}}validate(xe){return this._validator(xe)}registerOnValidatorChange(xe){this._onChange=xe}enabled(xe){return null!=xe}static \u0275fac=function(st){return new(st||Re)};static \u0275dir=f.FsC({type:Re,features:[f.OA$]})}return Re})();const aa={provide:ae,useExisting:(0,M.Rfq)(()=>Y),multi:!0};let Y=(()=>{class Re extends Ns{required;inputName="required";normalizeInput=b.L39;createValidator=xe=>Ie;enabled(xe){return xe}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(st,Qt){2&st&&f.BMQ("required",Qt._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[f.Jv_([aa]),f.Vt3]})}return Re})();const Ta={provide:ae,useExisting:(0,M.Rfq)(()=>Pa),multi:!0};let Pa=(()=>{class Re extends Ns{maxlength;inputName="maxlength";normalizeInput=xe=>function Is(Re){return"number"==typeof Re?Re:parseInt(Re,10)}(xe);createValidator=xe=>Je(xe);static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275dir=f.FsC({type:Re,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(st,Qt){2&st&&f.BMQ("maxlength",Qt._enabled?Qt.maxlength:null)},inputs:{maxlength:"maxlength"}
1,standalone:!1,features:[f.Jv_([Ta]),f.Vt3]})}return Re})(),ts=(()=>{class Re{static \u0275fac=function(st){return new(st||Re)};static \u0275mod=f.$C({type:Re});static \u0275inj=M.G2t({})}return Re})();class $o extends ur{constructor(je,xe,st){super(sn(xe),un(st,xe)),this.controls=je,this._initObservables(),this._setUpdateStrategy(xe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(je){return this.controls[this._adjustIndex(je)]}push(je,xe={}){Array.isArray(je)?je.forEach(st=>{this.controls.push(st),this._registerControl(st)}):(this.controls.push(je),this._registerControl(je)),this.updateValueAndValidity({emitEvent:xe.emitEvent}),this._onCollectionChange()}insert(je,xe,st={}){this.controls.splice(je,0,xe),this._registerControl(xe),this.updateValueAndValidity({emitEvent:st.emitEvent})}removeAt(je,xe={}){let st=this._adjustIndex(je);st<0&&(st=0),this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),this.controls.splice(st,1),this.updateValueAndValidity({emitEvent:xe.emitEvent})}setControl(je,xe,st={}){let Qt=this._adjustIndex(je);Qt<0&&(Qt=0),this.controls[Qt]&&this.controls[Qt]._registerOnCollectionChange(()=>{}),this.controls.splice(Qt,1),xe&&(this.controls.splice(Qt,0,xe),this._registerControl(xe)),this.updateValueAndValidity({emitEvent:st.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(je,xe={}){_r(this,0,je),je.forEach((st,Qt)=>{$n(this,!1,Qt),this.at(Qt).setValue(st,{onlySelf:!0,emitEvent:xe.emitEvent})}),this.updateValueAndValidity(xe)}patchValue(je,xe={}){null!=je&&(je.forEach((st,Qt)=>{this.at(Qt)&&this.at(Qt).patchValue(st,{onlySelf:!0,emitEvent:xe.emitEvent})}),this.updateValueAndValidity(xe))}reset(je=[],xe={}){this._forEachChild((st,Qt)=>{st.reset(je[Qt],{onlySelf:!0,emitEvent:xe.emitEvent})}),this._updatePristine(xe,this),this._updateTouched(xe,this),this.updateValueAndValidity(xe),!1!==xe?.emitEvent&&this._events.next(new Ht(this))}getRawValue(){return this.controls.map(je=>je.getRawValue())}clear(je={}){this.controls.length<1||(this._forEachChild(xe=>xe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:je.emitEvent}))}_adjustIndex(je){return je<0?je+this.length:je}_syncPendingControls(){let je=this.controls.reduce((xe,st)=>!!st._syncPendingControls()||xe,!1);return je&&this.updateValueAndValidity({onlySelf:!0}),je}_forEachChild(je){this.controls.forEach((xe,st)=>{je(xe,st)})}_updateValue(){this.value=this.controls.filter(je=>je.enabled||this.disabled).map(je=>je.value)}_anyControls(je){return this.controls.some(xe=>xe.enabled&&je(xe))}_setUpControls(){this._forEachChild(je=>this._registerControl(je))}_allControlsDisabled(){for(const je of this.controls)if(je.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(je){je.setParent(this),je._registerOnCollectionChange(this._onCollectionChange)}_find(je){return this.at(je)??null}}function Ps(Re){return!!Re&&(void 0!==Re.asyncValidators||void 0!==Re.validators||void 0!==Re.updateOn)}let ki=(()=>{class Re{useNonNullable=!1;get nonNullable(){const xe=new Re;return xe.useNonNullable=!0,xe}group(xe,st=null){const Qt=this._reduceControls(xe);let Mr={};return Ps(st)?Mr=st:null!==st&&(Mr.validators=st.validator,Mr.asyncValidators=st.asyncValidator),new cr(Qt,Mr)}record(xe,st=null){const Qt=this._reduceControls(xe);return new er(Qt,st)}control(xe,st,Qt){let Mr={};return this.useNonNullable?(Ps(st)?Mr=st:(Mr.validators=st,Mr.asyncValidators=Qt),new Tr(xe,{...Mr,nonNullable:!0})):new Tr(xe,st,Qt)}array(xe,st,Qt){const Mr=xe.map(Or=>this._createControl(Or));return new $o(Mr,st,Qt)}_reduceControls(xe){const st={};return Object.keys(xe).forEach(Qt=>{st[Qt]=this._createControl(xe[Qt])}),st}_createControl(xe){return xe instanceof Tr||xe instanceof ur?xe:Array.isArray(xe)?this.control(xe[0],xe.length>1?xe[1]:null,xe.length>2?xe[2]:null):this.control(xe)}static \u0275fac=function(st){return new(st||Re)};static \u0275prov=M.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),Aa=(()=>{class Re extends ki{group(xe,st=null){return super.group(xe,st)}
1control(xe,st,Qt){return super.control(xe,st,Qt)}array(xe,st,Qt){return super.array(xe,st,Qt)}static \u0275fac=(()=>{let xe;return function(Qt){return(xe||(xe=f.xGo(Re)))(Qt||Re)}})();static \u0275prov=M.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),ca=(()=>{class Re{static withConfig(xe){return{ngModule:Re,providers:[{provide:ei,useValue:xe.callSetDisabledState??Ho}]}}static \u0275fac=function(st){return new(st||Re)};static \u0275mod=f.$C({type:Re});static \u0275inj=M.G2t({imports:[ts]})}return Re})(),Lo=(()=>{class Re{static withConfig(xe){return{ngModule:Re,providers:[{provide:Sr,useValue:xe.warnOnNgModelWithFormControl??"always"},{provide:ei,useValue:xe.callSetDisabledState??Ho}]}}static \u0275fac=function(st){return new(st||Re)};static \u0275mod=f.$C({type:Re});static \u0275inj=M.G2t({imports:[ts]})}return Re})()},31804(Vt,Pe,d){"use strict";d.d(Pe,{Rc:()=>q,_J:()=>N});var S=d(34330),E=d(2615),M=d(73664);const f=new E.nKC("MATERIAL_ANIMATIONS");let R=null;function N(){return(0,E.WQX)(f,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,E.WQX)(M.bc$,{optional:!0})?"di-disabled":(R??=(0,E.WQX)(S.D).matchMedia("(prefers-reduced-motion)").matches,R?"reduced-motion":"enabled")}function q(){return"enabled"!==N()}},88834(Vt,Pe,d){"use strict";d.d(Pe,{$z:()=>W,Hl:()=>we});var b=d(22598),A=d(2615),R=d(73664),N=d(26881),q=d(22466);const ee=["matButton",""],B=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ie=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],X=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let W=(()=>{class De extends b.iM{get appearance(){return this._appearance}set appearance(Me){this.setAppearance(Me||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const Me=function Z(De){return De.hasAttribute("mat-raised-button")?"elevated":De.hasAttribute("mat-stroked-button")?"outlined":De.hasAttribute("mat-flat-button")?"filled":De.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);Me&&this.setAppearance(Me)}setAppearance(Me){if(Me===this._appearance)return;const Ze=this._elementRef.nativeElement.classList,Ye=this._appearance?X.get(this._appearance):null,Je=X.get(Me);Ye&&Ze.remove(...Ye),Ze.add(...Je),this._appearance=Me}static \u0275fac=function(Ze){return new(Ze||De)};static \u0275cmp=R.VBU({type:De,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[R.Vt3],attrs:ee,ngContentSelectors:ie,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ze,Ye){1&Ze&&(R.NAR(B),R.Hgh(0,"span",0),R.SdG(1),R.rj2(2,"span",1),R.SdG(3,1),R.eux(),R.SdG(4,2),R.Hgh(5,"span",2)(6,"span",3)),2&Ze&&R.AVh("mdc-button__ripple",!Ye._isFab)("mdc-fab__ripple",Ye._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}
1.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}
1.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return De})(),we=(()=>{class De{static \u0275fac=function(Ze){return new(Ze||De)};static \u0275mod=R.$C({type:De});static \u0275inj=A.G2t({imports:[q.y,N.p,q.y]})}return De})()},82765(Vt,Pe,d){"use strict";d.d(Pe,{So:()=>K,g7:()=>ce});var S=d(89726),E=d(2615),M=d(73664),f=d(17705),b=d(89417),A=d(88968),R=d(53155),N=d(31804),q=d(32046),ee=d(12496),B=d(22466);const ie=["input"],ve=["label"],U=["*"],ne=new E.nKC("mat-checkbox-default-options",{providedIn:"root",factory:X});function X(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var W=function(ue){return ue[ue.Init=0]="Init",ue[ue.Checked=1]="Checked",ue[ue.Unchecked=2]="Unchecked",ue[ue.Indeterminate=3]="Indeterminate",ue}(W||{});class Z{source;checked}const re=X();let K=(()=>{class ue{_elementRef=(0,E.WQX)(M.aKT);_changeDetectorRef=(0,E.WQX)(f.gRc);_ngZone=(0,E.WQX)(M.SKi);_animationsDisabled=(0,N.Rc)();_options=(0,E.WQX)(ne,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(te){const de=new Z;return de.source=this,de.checked=te,de}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new M.bkB;indeterminateChange=new M.bkB;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=W.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,E.WQX)(A.l).load(q.A);const te=(0,E.WQX)(new f.ES_("tabindex"),{optional:!0});this._options=this._options||re,this.color=this._options.color||re.color,this.tabIndex=null==te?0:parseInt(te)||0,this.id=this._uniqueId=(0,E.WQX)(S.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}
1ngOnChanges(te){te.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(te){te!=this.checked&&(this._checked=te,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(te){te!==this.disabled&&(this._disabled=te,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(te){const de=te!=this._indeterminate();this._indeterminate.set(te),de&&(this._transitionCheckState(te?W.Indeterminate:this.checked?W.Checked:W.Unchecked),this.indeterminateChange.emit(te)),this._syncIndeterminate(te)}_indeterminate=(0,E.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(te){this.checked=!!te}registerOnChange(te){this._controlValueAccessorChangeFn=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te}validate(te){return this.required&&!0!==te.value?{required:!0}:null}registerOnValidatorChange(te){this._validatorChangeFn=te}_transitionCheckState(te){let de=this._currentCheckState,_e=this._getAnimationTargetElement();if(de!==te&&_e&&(this._currentAnimationClass&&_e.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(de,te),this._currentCheckState=te,this._currentAnimationClass.length>0)){_e.classList.add(this._currentAnimationClass);const we=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{_e.classList.remove(we)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const te=this._options?.clickAction;this.disabled||"noop"===te?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===te)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==te&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?W.Checked:W.Unchecked),this._emitChangeEvent())}_onInteractionEvent(te){te.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(te,de){if(this._animationsDisabled)return"";switch(te){case W.Init:if(de===W.Checked)return this._animationClasses.uncheckedToChecked;if(de==W.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case W.Unchecked:return de===W.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case W.Checked:return de===W.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case W.Indeterminate:return de===W.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(te){const de=this._inputElement;de&&(de.nativeElement.indeterminate=te)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(te){te.target&&this._labelElement.nativeElement.contains(te.target)&&te.stopPropagation()}static \u0275fac=function(de){return new(de||ue)};static \u0275cmp=M.VBU({type:ue,selectors:[["mat-checkbox"]],viewQuery:function(de,_e){if(1&de&&(M.GBs(ie,5),M.GBs(ve,5)),2&de){let we;M.mGM(we=M.lsd())&&(_e._inputElement=we.first),M.mGM(we=M.lsd())&&(_e._labelElement=we.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(de,_e){2&de&&(M.Avn("id",_e.id),M.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),M.HbH(_e.color?"mat-"+_e.color:"mat-accent"),M.AVh("_mat-animation-noopable",_e._animationsDisabled)("mdc-checkbox--disabled",_e.disabled)("mat-mdc-checkbox-disabled",_e.disabled)("mat-mdc-checkbox-checked",_e.checked)("mat-mdc-checkbox-disabled-interactive",_e.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",f.L39],ariaControl
1s:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",f.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",f.L39],tabIndex:[2,"tabIndex","tabIndex",te=>null==te?void 0:(0,f.Udg)(te)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",f.L39],checked:[2,"checked","checked",f.L39],disabled:[2,"disabled","disabled",f.L39],indeterminate:[2,"indeterminate","indeterminate",f.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[M.Jv_([{provide:b.kq,useExisting:(0,E.Rfq)(()=>ue),multi:!0},{provide:b.cz,useExisting:ue,multi:!0}]),M.OA$],ngContentSelectors:U,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(de,_e){if(1&de){const we=M.RV6();M.NAR(),M.j41(0,"div",3),M.bIt("click",function(Ie){return E.eBV(we),E.Njj(_e._preventBubblingFromLabel(Ie))}),M.j41(1,"div",4,0)(3,"div",5),M.bIt("click",function(){return E.eBV(we),E.Njj(_e._onTouchTargetClick())}),M.k0s(),M.j41(4,"input",6,1),M.bIt("blur",function(){return E.eBV(we),E.Njj(_e._onBlur())})("click",function(){return E.eBV(we),E.Njj(_e._onInputClick())})("change",function(Ie){return E.eBV(we),E.Njj(_e._onInteractionEvent(Ie))}),M.k0s(),M.nrm(6,"div",7),M.j41(7,"div",8),E.qSk(),M.j41(8,"svg",9),M.nrm(9,"path",10),M.k0s(),E.joV(),M.nrm(10,"div",11),M.k0s(),M.nrm(11,"div",12),M.k0s(),M.j41(12,"label",13,2),M.SdG(14),M.k0s()()}if(2&de){const we=M.sdS(2);M.Y8G("labelPosition",_e.labelPosition),M.R7$(4),M.AVh("mdc-checkbox--selected",_e.checked),M.Y8G("checked",_e.checked)("indeterminate",_e.indeterminate)("disabled",_e.disabled&&!_e.disabledInteractive)("id",_e.inputId)("required",_e.required)("tabIndex",_e.disabled&&!_e.disabledInteractive?-1:_e.tabIndex),M.BMQ("aria-label",_e.ariaLabel||null)("aria-labelledby",_e.ariaLabelledby)("aria-describedby",_e.ariaDescribedby)("aria-checked",_e.indeterminate?"mixed":null)("aria-controls",_e.ariaControls)("aria-disabled",!(!_e.disabled||!_e.disabledInteractive)||null)("aria-expanded",_e.ariaExpanded)("aria-owns",_e.ariaOwns)("name",_e.name)("value",_e.value),M.R7$(7),M.Y8G("matRippleTrigger",we)("matRippleDisabled",_e.disableRipple||_e.disabled)("matRippleCentered",!0),M.R7$(),M.Y8G("for",_e.inputId)}},dependencies:[ee.r6,R.t],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;
1transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}
1}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return ue})(),ce=(()=>{class ue{static \u0275fac=function(de){return new(de||ue)};static \u0275mod=M.$C({type:ue});static \u0275inj=E.G2t({imports:[K,B.y,B.y]})}return ue})()},22466(Vt,Pe,d){"use strict";d.d(Pe,{y:()=>A});var S=d(17094),E=d(28203),M=d(2615),f=d(73664);let A=(()=>{class R{constructor(){(0,M.WQX)(S.Q_)._applyBodyHighContrastModeCssClasse
1s()}static \u0275fac=function(ee){return new(ee||R)};static \u0275mod=f.$C({type:R});static \u0275inj=M.G2t({imports:[E.jI,E.jI]})}return R})()},32591(Vt,Pe,d){"use strict";d.d(Pe,{BI:()=>Ot,CF:()=>Ie,CP:()=>Me,Vh:()=>Ye,Yi:()=>ke,bZ:()=>$t,hM:()=>_t});var S=d(82529),E=d(34056),M=d(76939),f=d(2615),b=d(73664),A=d(67847),R=d(31804),N=d(21413),q=d(59030),ee=d(57786),B=d(5964),ie=d(99172),ve=d(96697),U=d(67336),ne=d(10438),X=d(89726),W=d(75272),Z=d(22466);function re(Ke,mt){}class K{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const ce="mdc-dialog--open",ue="mdc-dialog--opening",ae="mdc-dialog--closing";let _e=(()=>{class Ke extends S.sU{_animationStateChanged=new b.bkB;_animationsEnabled=!(0,R.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?De(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?De(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(we,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ue,ce)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ce),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ce),this._animationsEnabled?(this._hostElement.style.setProperty(we,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ae)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(rt){this._actionSectionCount+=rt,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(ue,ae)}_waitForAnimationToComplete(rt,ut){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ut,rt)}_requestAnimationFrame(rt){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(rt):rt()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(rt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:rt})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(rt){const ut=super.attachComponentPortal(rt);return ut.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),ut}static \u0275fac=(()=>{let rt;return function(kt){return(rt||(rt=b.xGo(Ke)))(kt||Ke)}})();static \u0275cmp=b.VBU({type:Ke,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(ut,kt){2&ut&&(b.Avn("id",kt._config.id),b.BMQ("aria-modal",kt._config.ariaModal)("role",kt._config.role)("aria-labelledby",kt._config.ariaLabel?null:kt._ariaLabelledByQueue[0])("aria-label",kt._config.ariaLabel)("aria-describedby",kt._config.ariaDescribedBy||null),b.AVh("_mat-animation-noopable",!kt._animationsEnabled)("mat-mdc-dialog-container-with-actions",kt._actionSectionCount>0))},features:[b.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ut,kt){1&ut&&(b.j41(0,"div",0)(1,"div",1),b.DNE(2,re,0,0,"ng-template",2),b.k0s()())},dependencies:[M.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return Ke})();const we="--mat-dialog-transition-duration";function De(Ke){return null==Ke?null:"number"==typeof Ke?Ke:Ke.endsWith("ms")?(0,A.OE)(Ke.substring(0,Ke.length-2)):Ke.endsWith("s")?1e3*(0,A.OE)(Ke.substring(0,Ke.length-1)):"0"===Ke?0:null}var Ie=function(Ke){return Ke[Ke.OPEN=0]="OPEN",Ke[Ke.CLOSING=1]="CLOSING",Ke[Ke.CLOSED=2]="CLOSED",Ke}(Ie||{});class Me{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new N.B;_beforeClosed=new N.B;_result;_closeFallbackTimeout;_state=Ie.OPEN;_closeInteractionType;constructor(mt,rt,ut){this._ref=mt,this._config=rt,this._containerInstance=ut,this.disableClose=rt.disableClose,this.id=mt.id,mt.addPanelClass("mat-mdc-dialog-panel"),ut._animationStateChanged.pipe((0,B.p)(kt=>"opened"===kt.state),(0,ve.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ut._animationStateChanged.pipe((0,B.p)(kt=>"closed"===kt.state),(0,ve.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),mt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ee.h)(this.backdropClick(),this.keydownEvents().pipe((0,B.p)(kt=>kt.keyCode===ne._f&&!this.disableClose&&!(0,U.rp)(kt)))).subscribe(kt=>{this.disableClose||(kt.preventDefault(),function Ze(Ke,mt,rt){return Ke._closeInteractionType=mt,Ke.close(rt)}(this,"keydown"===kt.type?"keyboard":"mouse"))})}close(mt){const rt=this._config.closePredicate;rt&&!rt(mt,this._config,this.componentInstance)||(this._result=mt,this._containerInstance._animationStateChanged.pipe((0,B.p)(ut=>"closing"===ut.state),(0,ve.s)(1)).subscribe(ut=>{this._beforeClosed.next(mt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ut.totalTime+100)}),this._state=Ie.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(mt){let rt=this._ref.config.positionStrategy;return mt&&(mt.left||mt.right)?mt.left?rt.left(mt.left):rt.right(mt.right):rt.centerHorizontally(),mt&&(mt.top||mt.bottom)?mt.top?rt.top(mt.top):rt.bottom(mt.bottom):rt.centerVertically(),this._ref.updatePosition(),this}updateSize(mt="",rt=""){return this._ref.updateSize(mt,rt),this}addPanelClass(mt){return this._ref.addPanelClass(mt),this}removePanelClass(mt){return this._ref.removePanelClass(mt),this}getState(){return this._state}_finishDialogClose(){this._state=Ie.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const Ye=new f.nKC("MatMdcDialogData"),Je=new f.nKC("mat-mdc-dialog-default-options"),vt=new f.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,f.WQX)(f.zZn);return()=>(0,E.gA)(Ke)}});let $t=(()=>{class Ke{_defaultOptions=(0,f.WQX)(Je,{optional:!0});_scrollStrategy=(0,f.WQX)(vt);_parentDialog=(0,f.WQX)(Ke,{optional:!0,skipSelf:!0});_idGenerator=(0,f.WQX)(X.g);_injector=(0,f.WQX)(f.zZn);_dialog=(0,f.WQX)(S.lG);_animationsDisabled=(0,R.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new N.B;_afterOpenedAtThisLevel=new N.B;dialogConfigClass=K;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const rt=this._parentDialog;return rt?rt._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,q.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ie.Z)(void 0)));constructor(){this._dialogRefConstructor=Me,this._dialogContainerType=_e,this._dialogDataToken=Ye}open(rt,ut){let kt;
1(ut={...this._defaultOptions||new K,...ut}).id=ut.id||this._idGenerator.getId("mat-mdc-dialog-"),ut.scrollStrategy=ut.scrollStrategy||this._scrollStrategy();const Dt=this._dialog.open(rt,{...ut,positionStrategy:(0,E.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===ut.enterAnimationDuration?.toLocaleString()||"0"===ut.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ut},{provide:S.Pe,useValue:ut}]},templateContext:()=>({dialogRef:kt}),providers:(Sn,An,Qn)=>(kt=new this._dialogRefConstructor(Sn,ut,Qn),kt.updatePosition(ut?.position),[{provide:this._dialogContainerType,useValue:Qn},{provide:this._dialogDataToken,useValue:An.data},{provide:this._dialogRefConstructor,useValue:kt}])});return kt.componentRef=Dt.componentRef,kt.componentInstance=Dt.componentInstance,this.openDialogs.push(kt),this.afterOpened.next(kt),kt.afterClosed().subscribe(()=>{const Sn=this.openDialogs.indexOf(kt);Sn>-1&&(this.openDialogs.splice(Sn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),kt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(rt){return this.openDialogs.find(ut=>ut.id===rt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(rt){let ut=rt.length;for(;ut--;)rt[ut].close()}static \u0275fac=function(ut){return new(ut||Ke)};static \u0275prov=f.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),xt=(()=>{class Ke{_dialogRef=(0,f.WQX)(Me,{optional:!0});_elementRef=(0,f.WQX)(b.aKT);_dialog=(0,f.WQX)($t);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=function At(Ke,mt){let rt=Ke.nativeElement.parentElement;for(;rt&&!rt.classList.contains("mat-mdc-dialog-container");)rt=rt.parentElement;return rt?mt.find(ut=>ut.id===rt.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(ut){return new(ut||Ke)};static \u0275dir=b.FsC({type:Ke})}return Ke})(),Ot=(()=>{class Ke extends xt{id=(0,f.WQX)(X.g).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let rt;return function(kt){return(rt||(rt=b.xGo(Ke)))(kt||Ke)}})();static \u0275dir=b.FsC({type:Ke,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(ut,kt){2&ut&&b.Avn("id",kt.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[b.Vt3]})}return Ke})(),ke=(()=>{class Ke{static \u0275fac=function(ut){return new(ut||Ke)};static \u0275dir=b.FsC({type:Ke,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[b.nM4([W.uv])]})}return Ke})();let _t=(()=>{class Ke{static \u0275fac=function(ut){return new(ut||Ke)};static \u0275mod=b.$C({type:Ke});static \u0275inj=f.G2t({providers:[$t],imports:[S.Ph,E.z_,M.jc,Z.y,Z.y]})}return Ke})()},71997(Vt,Pe,d){"use strict";d.d(Pe,{q:()=>b,w:()=>A});var S=d(2615),E=d(73664),M=d(14085),f=d(22466);let b=(()=>{class R{get vertical(){return this._vertical}set vertical(q){this._vertical=(0,M.he)(q)}_vertical=!1;get inset(){return this._inset}set inset(q){this._inset=(0,M.he)(q)}_inset=!1;static \u0275fac=function(ee){return new(ee||R)};static \u0275cmp=E.VBU({type:R,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(ee,B){2&ee&&(E.BMQ("aria-orientation",B.vertical?"vertical":"horizontal"),E.AVh("mat-divider-vertical",B.vertical)("mat-divider-horizontal",!B.vertical)("mat-divider-inset",B.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(ee,B){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0})}return R})(),A=(()=>{class R{static \u0275fac=function(ee){return new(ee||R)};static \u0275mod=E.$C({type:R});static \u0275inj=S.G2t({imports:[f.y,f.y]})}return R})()},2709(Vt,Pe,d){"use strict";d.d(Pe,{e:()=>f});var E=d(2615);let f=(()=>{class b{isErrorState(R,N){return!!(R&&R.invalid&&(R.touched||N&&N.submitted))}static \u0275fac=function(N){return new(N||b)};static \u0275prov=E.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},39336(Vt,Pe,d){"use strict";d.d(Pe,{X:()=>S});class S{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(M,f,b,A,R){this._defaultMatcher=M,this.ngControl=f,this._parentFormGroup=b,this._parentForm=A,this._stateChanges=R}updateErrorState(){const M=this.errorState,f=this._parentFormGroup||this._parentForm,b=this.matcher||this._defaultMatcher,A=this.ngControl?this.ngControl.control:null,R=b?.isErrorState(A,f)??!1;R!==M&&(this.errorState=R,this._stateChanges.next())}}},71228(Vt,Pe,d){"use strict";d.d(Pe,{R:()=>A});var S=d(72318),E=d(2615),M=d(73664),f=d(64727),b=d(22466);let A=(()=>{class R{static \u0275fac=function(ee){return new(ee||R)};static \u0275mod=M.$C({type:R});static \u0275inj=E.G2t({imports:[b.y,S.w5,f.rl,b.y]})}return R})()},64727(Vt,Pe,d){"use strict";d.d(Pe,{JW:()=>Qn,MV:()=>Sn,TL:()=>Dt,nJ:()=>ut,qT:()=>Jn,rl:()=>eo,xb:()=>Kr,yw:()=>jn});var S=d(89726),E=d(61577),M=d(14085),f=d(39842),b=d(72200),A=d(2615),R=d(73664),N=d(17705),q=d(59295),ee=d(21413),B=d(18359),ie=d(57786),ve=d(5964),U=d(96354),ne=d(13946),X=d(99172),W=d(56977),Z=d(98170),re=d(31804);const K=["notch"],ce=["matFormFieldNotchedOutline",""],ue=["*"],ae=["iconPrefixContainer"],te=["textPrefixContainer"],de=["iconSuffixContainer"],_e=["textSuffixContainer"],we=["textField"],De=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ie=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Me(Ut,pt){1&Ut&&R.nrm(0,"span",21)}function Ze(Ut,pt){if(1&Ut&&(R.j41(0,"label",20),R.SdG(1,1),R.nVh(2,Me,1,0,"span",21),R.k0s()),2&Ut){const at=R.XpG(2);R.Y8G("floating",at._shouldLabelFloat())("monitorResize",at._hasOutline())("id",at._labelId),R.BMQ("for",at._control.disableAutomaticLabeling?null:at._control.id),R.R7$(2),R.vxM(!at.hideRequiredMarker&&at._control.required?2:-1)}}function Ye(Ut,pt){if(1&Ut&&R.nVh(0,Ze,3,5,"label",20),2&Ut){const at=R.XpG();R.vxM(at._hasFloatingLabel()?0:-1)}}function Je(Ut,pt){1&Ut&&R.nrm(0,"div",7)}function vt(Ut,pt){}function $t(Ut,pt){if(1&Ut&&R.DNE(0,vt,0,0,"ng-template",13),2&Ut){R.XpG(2);const at=R.sdS(1);R.Y8G("ngTemplateOutlet",at)}}function Et(Ut,pt){if(1&Ut&&(R.j41(0,"div",9),R.nVh(1,$t,1,1,null,13),R.k0s()),2&Ut){const at=R.XpG();R.Y8G("matFormFieldNotchedOutlineOpen",at._shouldLabelFloat()),R.R7$(),R.vxM(at._forceDisplayInfixLabel()?-1:1)}}function xt(Ut,pt){1&Ut&&(R.j41(0,"div",10,2),R.SdG(2,2),R.k0s())}function Ot(Ut,pt){1&Ut&&(R.j41(0,"div",11,3),R.SdG(2,3),R.k0s())}function ke(Ut,pt){}function qe(Ut,pt){if(1&Ut&&R.DNE(0,ke,0,0,"ng-template",13),2&Ut){R.XpG();const at=R.sdS(1);R.Y8G("ngTemplateOutlet",at)}}function At(Ut,pt){1&Ut&&(R.j41(0,"div",14,4),R.SdG(2,4),R.k0s())}function Ct(Ut,pt){1&Ut&&(R.j41(0,"div",15,5),R.SdG(2,5),R.k0s())}function _t(Ut,pt){1&Ut&&R.nrm(0,"div",16)}function Ke(Ut,pt){1&Ut&&(R.j41(0,"div",18),R.SdG(1,6),R.k0s())}function mt(Ut,pt){if(1&Ut&&(R.j41(0,"mat-hint",22),R.EFF(1),R.k0s()),2&Ut){const at=R.XpG(2);R.Y8G("id",at._hintLabelId),R.R7$(),R.JRh(at.hintLabel)}}function rt(Ut,pt){if(1&Ut&&(R.j41(0,"div",19),R.nVh(1,mt,2,2,"mat-hint",22),R.SdG(2,7),R.nrm(3,"div",23),R.SdG(4,8),R.k0s()),2&Ut){const at=R.XpG();R.R7$(),R.vxM(at.hintLabel?1:-1)}}let ut=(()=>{class Ut{static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["mat-label"]]})}return Ut})();const kt=new A.nKC("MatError");let Dt=(()=>{class Ut{id=(0,A.WQX)(S.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Tt,Bt){2&Tt&&R.Avn("id",Bt.id)},inputs:{id:"id"},features:[R.Jv_([{provide:kt,useExisting:Ut}])]})}return Ut})(),Sn=(()=>{class Ut{align="start";id=(0,A.WQX)(S.g).getId("mat-mdc-hint-");static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Tt,Bt){2&Tt&&(R.Avn("id",Bt.id),R.BMQ("align",null),R.AVh("mat-mdc-form-field-hint-end","end"===Bt.align))},inputs:{align:"align",id:"id"}})}return Ut})();const An=new A.nKC("MatPrefix");let Qn=(()=>{class Ut{set _isTextSelector(at){this._isText=!0}_isText=!1;static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[R.Jv_([{provide:An,useExisting:Ut}])]})}return Ut})();const lr=new A.nKC("MatSuffix");let jn=(()=>{class Ut{set _isTextSelector(at){this._isText=!0}_isText=!1;static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[R.Jv_([{provide:lr,useExisting:Ut}])]})}return Ut})();const xr=new A.nKC("FloatingLabelParent");let tn=(()=>{class Ut{_elementRef=(0,A.WQX)(R.aKT);get floating(){return this._floating}set floating(at){this._floating=at,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(at){this._monitorResize=at,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,A.WQX)(Z.a);_ngZone=(0,A.WQX)(R.SKi);_parent=(0,A.WQX)(xr);_resizeSubscription=new B.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dn(Ut){if(null!==Ut.offsetParent)return Ut.scrollWidth;const at=Ut.cloneNode(!0);at.style.setProperty("position","absolute"),at.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(at);const Tt=at.scrollWidth;return at.remove(),Tt}(this._elementRef.nativeElement)}
vendor: 4,983 bytes, line 1
1get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Tt,Bt){2&Tt&&R.AVh("mdc-floating-label--float-above",Bt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return Ut})();const bn="mdc-line-ripple--active",Cn="mdc-line-ripple--deactivating";let En=(()=>{class Ut{_elementRef=(0,A.WQX)(R.aKT);_cleanupTransitionEnd;constructor(){const at=(0,A.WQX)(R.SKi),Tt=(0,A.WQX)(R.sFG);at.runOutsideAngular(()=>{this._cleanupTransitionEnd=Tt.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const at=this._elementRef.nativeElement.classList;at.remove(Cn),at.add(bn)}deactivate(){this._elementRef.nativeElement.classList.add(Cn)}_handleTransitionEnd=at=>{const Tt=this._elementRef.nativeElement.classList,Bt=Tt.contains(Cn);"opacity"===at.propertyName&&Bt&&Tt.remove(bn,Cn)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return Ut})(),m=(()=>{class Ut{_elementRef=(0,A.WQX)(R.aKT);_ngZone=(0,A.WQX)(R.SKi);open=!1;_notch;ngAfterViewInit(){const at=this._elementRef.nativeElement,Tt=at.querySelector(".mdc-floating-label");Tt?(at.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Tt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Tt.style.transitionDuration="")}))):at.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(at){this._notch.nativeElement.style.width=this.open&&at?`calc(${at}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(at){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${at}px)`)}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275cmp=R.VBU({type:Ut,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Tt,Bt){if(1&Tt&&R.GBs(K,5),2&Tt){let Xt;R.mGM(Xt=R.lsd())&&(Bt._notch=Xt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Tt,Bt){2&Tt&&R.AVh("mdc-notched-outline--notched",Bt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ce,ngContentSelectors:ue,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(Tt,Bt){1&Tt&&(R.NAR(),R.Hgh(0,"div",1),R.rj2(1,"div",2,0),R.SdG(3),R.eux(),R.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return Ut})(),Jn=(()=>{class Ut{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275dir=R.FsC({type:Ut})}return Ut})();const Kr=new A.nKC("MatFormField"),Lr=new A.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let eo=(()=>{class Ut{_elementRef=(0,A.WQX)(R.aKT);_changeDetectorRef=(0,A.WQX)(N.gRc);_platform=(0,A.WQX)(f.O);_idGenerator=(0,A.WQX)(S.g);_ngZone=(0,A.WQX)(R.SKi);_defaults=(0,A.WQX)(Lr,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,N.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,N.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,N.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,N.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,q.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(at=>at?.nativeElement).filter(at=>void 0!==at));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,N.sbv)(ut);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(at){this._hideRequiredMarker=(0,M.he)(at)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(at){at!==this._floatLabel&&(this._floatLabel=at,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(at){this._appearanceSignal.set(at||this._defaults?.appearance||"fill")}_appearanceSignal=(0,A.vPA)("fill");
1get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(at){this._subscriptSizing=at||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(at){this._hintLabel=at,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(at){this._explicitFormFieldControl=at}_destroyed=new ee.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,re.Rc)();constructor(){const at=this._defaults,Tt=(0,A.WQX)(E.dS);at&&(at.appearance&&(this.appearance=at.appearance),this._hideRequiredMarker=!!at?.hideRequiredMarker,at.color&&(this.color=at.color)),(0,q.QZ)(()=>this._currentDirection=Tt.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,q.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(at){const Tt=this._control,Bt="mat-mdc-form-field-type-";at&&this._elementRef.nativeElement.classList.remove(Bt+at.controlType),Tt.controlType&&this._elementRef.nativeElement.classList.add(Bt+Tt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Tt.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Tt.stateChanges.pipe((0,X.Z)([void 0,void 0]),(0,U.T)(()=>[Tt.errorState,Tt.userAriaDescribedBy]),(0,ne.J)(),(0,ve.p)(([[Xt,Pt],[wt,Kt]])=>Xt!==wt||Pt!==Kt)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Tt.ngControl&&Tt.ngControl.valueChanges&&(this._valueChanges=Tt.ngControl.valueChanges.pipe((0,W.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(at=>!at._isText),this._hasTextPrefix=!!this._prefixChildren.find(at=>at._isText),this._hasIconSuffix=!!this._suffixChildren.find(at=>!at._isText),this._hasTextSuffix=!!this._suffixChildren.find(at=>at._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,ie.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const at=this._control.focused;at&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!at&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",at),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",at)}_syncOutlineLabelOffset(){(0,N.uEv)({earlyRead:()=>
vendor: 8,977 bytes, line 1
1{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const at of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(at,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:at=>this._writeOutlinedLabelStyles(at())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,q.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(at){const Tt=this._control?this._control.ngControl:null;return Tt&&Tt[at]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let at=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&at.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const Xt=this._hintChildren?this._hintChildren.find(wt=>"start"===wt.align):null,Pt=this._hintChildren?this._hintChildren.find(wt=>"end"===wt.align):null;Xt?at.push(Xt.id):this._hintLabel&&at.push(this._hintLabelId),Pt&&at.push(Pt.id)}else this._errorChildren&&at.push(...this._errorChildren.map(Xt=>Xt.id));const Tt=this._control.describedByIds;let Bt;if(Tt){const Xt=this._describedByIds||at;Bt=at.concat(Tt.filter(Pt=>Pt&&!Xt.includes(Pt)))}else Bt=at;this._control.setDescribedByIds(Bt),this._describedByIds=at}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const at=this._iconPrefixContainer?.nativeElement,Tt=this._textPrefixContainer?.nativeElement,Bt=this._iconSuffixContainer?.nativeElement,Xt=this._textSuffixContainer?.nativeElement,Pt=at?.getBoundingClientRect().width??0,wt=Tt?.getBoundingClientRect().width??0,Kt=Bt?.getBoundingClientRect().width??0,xn=Xt?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${Pt+wt}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,Pt+wt+Kt+xn]}_writeOutlinedLabelStyles(at){if(null!==at){const[Tt,Bt]=at;this._floatingLabel&&(this._floatingLabel.element.style.transform=Tt),null!==Bt&&this._notchedOutline?._setMaxWidth(Bt)}}_isAttachedToDom(){const at=this._elementRef.nativeElement;if(at.getRootNode){const Tt=at.getRootNode();return Tt&&Tt!==at}return document.documentElement.contains(at)}static \u0275fac=function(Tt){return new(Tt||Ut)};static \u0275cmp=R.VBU({type:Ut,selectors:[["mat-form-field"]],contentQueries:function(Tt,Bt,Xt){if(1&Tt&&(R.C6U(Xt,Bt._labelChild,ut,5),R.wni(Xt,Jn,5),R.wni(Xt,An,5),R.wni(Xt,lr,5),R.wni(Xt,kt,5),R.wni(Xt,Sn,5)),2&Tt){let Pt;R.NyB(),R.mGM(Pt=R.lsd())&&(Bt._formFieldControl=Pt.first),R.mGM(Pt=R.lsd())&&(Bt._prefixChildren=Pt),R.mGM(Pt=R.lsd())&&(Bt._suffixChildren=Pt),R.mGM(Pt=R.lsd())&&(Bt._errorChildren=Pt),R.mGM(Pt=R.lsd())&&(Bt._hintChildren=Pt)}},viewQuery:function(Tt,Bt){if(1&Tt&&(R.wEZ(Bt._iconPrefixContainerSignal,ae,5),R.wEZ(Bt._textPrefixContainerSignal,te,5),R.wEZ(Bt._iconSuffixContainerSignal,de,5),R.wEZ(Bt._textSuffixContainerSignal,_e,5),R.GBs(we,5),R.GBs(ae,5),R.GBs(te,5),R.GBs(de,5),R.GBs(_e,5),R.GBs(tn,5),R.GBs(m,5),R.GBs(En,5)),2&Tt){let Xt;R.NyB(4),R.mGM(Xt=R.lsd())&&(Bt._textField=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._iconPrefixContainer=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._textPrefixContainer=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._iconSuffixContainer=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._textSuffixContainer=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._floatingLabel=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._notchedOutline=Xt.first),R.mGM(Xt=R.lsd())&&(Bt._lineRipple=Xt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(Tt,Bt){2&Tt&&R.AVh("mat-mdc-form-field-label-always-float",Bt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Bt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Bt._hasIconSuffix)("mat-form-field-invalid",Bt._control.errorState)("mat-form-field-disabled",Bt._control.disabled)("mat-form-field-autofilled",Bt._control.autofilled)("mat-form-field-appearance-fill","fill"==Bt.appearance)("mat-form-field-appearance-outline","outline"==Bt.appearance)("mat-form-field-hide-placeholder",Bt._hasFloatingLabel()&&!Bt._shouldLabelFloat())("mat-primary","accent"!==Bt.color&&"warn"!==Bt.color)("mat-accent","accent"===Bt.color)("mat-warn","warn"===Bt.color)("ng-untouched",Bt._shouldForward("untouched"))("ng-touched",Bt._shouldForward("touched"))("ng-pristine",Bt._shouldForward("pristine"))("ng-dirty",Bt._shouldForward("dirty"))("ng-valid",Bt._shouldForward("valid"))("ng-invalid",Bt._shouldForward("invalid"))("ng-pending",Bt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[R.Jv_([{provide:Kr,useExisting:Ut},{provide:xr,useExisting:Ut}])],ngContentSelectors:Ie,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Tt,Bt){if(1&Tt){const Xt=R.RV6();R.NAR(De),R.DNE(0,Ye,1,1,"ng-template",null,0,R.C5r),R.j41(2,"div",6,1),R.bIt("click",function(wt){return A.eBV(Xt),A.Njj(Bt._control.onContainerClick(wt))}),R.nVh(4,Je,1,0,"div",7),R.j41(5,"div",8),R.nVh(6,Et,2,2,"div",9),R.nVh(7,xt,3,0,"div",10),R.nVh(8,Ot,3,0,"div",11),R.j41(9,"div",12),R.nVh(10,qe,1,1,null,13),R.SdG(11),R.k0s(),R.nVh(12,At,3,0,"div",14),R.nVh(13,Ct,3,0,"div",15),R.k0s(),R.nVh(14,_t,1,0,"div",16),R.k0s(),R.j41(15,"div",17),R.nVh(16,Ke,2,0,"div",18)(17,rt,5,1,"div",19),R.k0s()}if(2&Tt){let Xt;R.R7$(2),R.AVh("mdc-text-field--filled",!Bt._hasOutline())("mdc-text-field--outlined",Bt._hasOutline())("mdc-text-field--no-label",!Bt._hasFloatingLabel())("mdc-text-field--disabled",Bt._control.disabled)("mdc-text-field--invalid",Bt._control.errorState),R.R7$(2),R.vxM(Bt._hasOutline()||Bt._control.disabled?-1:4),R.R7$(2),R.vxM(Bt._hasOutline()?6:-1),R.R7$(),R.vxM(Bt._hasIconPrefix?7:-1),R.R7$(),R.vxM(Bt._hasTextPrefix?8:-1),R.R7$(2),R.vxM(!Bt._hasOutline()||Bt._forceDisplayInfixLabel()?10:-1),R.R7$(2),R.vxM(Bt._hasTextSuffix?12:-1),R.R7$(),R.vxM(Bt._hasIconSuffix?13:-1),R.R7$(),R.vxM(Bt._hasOutline()?-1:14),R.R7$(),R.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Bt.subscriptSizing);const Pt=Bt._getSubscriptMessageType();R.R7$(),R.vxM("error"===(Xt=Pt)?16:"hint"===Xt?17:-1)}},dependencies:[tn,m,b.T3,En,Sn],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}
1.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}
1.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;
1left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-en
1abled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return Ut})()},22598(Vt,Pe,d){"use strict";d.d(Pe,{iM:()=>ve,iY:()=>U});var S=d(73664),E=d(17705),M=d(2615),f=d(76838),b=d(88968),A=d(11048),R=d(32046),N=d(31804);const q=["mat-icon-button",""],ee=["*"],B=new M.nKC("MAT_BUTTON_CONFIG");function ie(X){return null==X?void 0:(0,E.Udg)(X)}let ve=(()=>{class X{_elementRef=(0,M.WQX)(S.aKT);_ngZone=(0,M.WQX)(S.SKi);_animationsDisabled=(0,N.Rc)();_config=(0,M.WQX)(B,{optional:!0});_focusMonitor=(0,M.WQX)(f.FN);_cleanupClick;_renderer=(0,M.WQX)(S.sFG);_rippleLoader=(0,M.WQX)(A.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(Z){this._disableRipple=Z,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(Z){this._disabled=Z,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(Z){this.tabIndex=Z}constructor(){(0,M.WQX)(b.l).load(R.A);const Z=this._elementRef.nativeElement;this._isAnchor="A"===Z.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(Z,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Z="program",re){Z?this._focusMonitor.focusVia(this._elementRef.nativeElement,Z,re):this._elementRef.nativeElement.focus(re)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",Z=>{this.disabled&&(Z.preventDefault(),Z.stopImmediatePropagation())}))}static \u0275fac=function(re){return new(re||X)};static \u0275dir=S.FsC({type:X,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(re,K){2&re&&(S.BMQ("disabled",K._getDisabledAttribute())("aria-disabled",K._getAriaDisabled())("tabindex",K._getTabIndex()),S.HbH(K.color?"mat-"+K.color:""),S.AVh("mat-mdc-button-disabled",K.disabled)("mat-mdc-button-disabled-interactive",K.disabledInteractive)("mat-unthemed",!K.color)("_mat-animation-noopable",K._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",E.L39],disabled:[2,"disabled","disabled",E.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",E.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",E.L39],tabIndex:[2,"tabIndex","tabIndex",ie],_tabindex:[2,"tabindex","_tabindex",ie]}})}return X})(),U=(()=>{class X extends ve{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(re){return new(re||X)};static \u0275cmp=S.VBU({type:X,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[S.Vt3],attrs:q,ngC
1ontentSelectors:ee,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(re,K){1&re&&(S.NAR(),S.Hgh(0,"span",0),S.SdG(1),S.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return X})()},28943(Vt,Pe,d){"use strict";d.d(Pe,{tp:()=>ce});
1var S=d(29330),E=d(2615),M=d(73664),f=d(345),b=d(27468),A=d(7673),R=d(18810),N=d(99437),q=d(70980),ee=d(96354),B=d(97647),ie=d(88141);let ve;function ne(we){return function U(){if(void 0===ve&&(ve=null,typeof window<"u")){const we=window;void 0!==we.trustedTypes&&(ve=we.trustedTypes.createPolicy("angular#components",{createHTML:De=>De}))}return ve}()?.createHTML(we)||we}function X(we){return Error(`Unable to find icon with the name "${we}"`)}function Z(we){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${we}".`)}function re(we){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${we}".`)}class K{url;svgText;options;svgElement;constructor(De,Ie,Me){this.url=De,this.svgText=Ie,this.options=Me}}let ce=(()=>{class we{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(Ie,Me,Ze,Ye){this._httpClient=Ie,this._sanitizer=Me,this._errorHandler=Ye,this._document=Ze}addSvgIcon(Ie,Me,Ze){return this.addSvgIconInNamespace("",Ie,Me,Ze)}addSvgIconLiteral(Ie,Me,Ze){return this.addSvgIconLiteralInNamespace("",Ie,Me,Ze)}addSvgIconInNamespace(Ie,Me,Ze,Ye){return this._addSvgIconConfig(Ie,Me,new K(Ze,null,Ye))}addSvgIconResolver(Ie){return this._resolvers.push(Ie),this}addSvgIconLiteralInNamespace(Ie,Me,Ze,Ye){const Je=this._sanitizer.sanitize(M.WPN.HTML,Ze);if(!Je)throw re(Ze);const vt=ne(Je);return this._addSvgIconConfig(Ie,Me,new K("",vt,Ye))}addSvgIconSet(Ie,Me){return this.addSvgIconSetInNamespace("",Ie,Me)}addSvgIconSetLiteral(Ie,Me){return this.addSvgIconSetLiteralInNamespace("",Ie,Me)}addSvgIconSetInNamespace(Ie,Me,Ze){return this._addSvgIconSetConfig(Ie,new K(Me,null,Ze))}addSvgIconSetLiteralInNamespace(Ie,Me,Ze){const Ye=this._sanitizer.sanitize(M.WPN.HTML,Me);if(!Ye)throw re(Me);const Je=ne(Ye);return this._addSvgIconSetConfig(Ie,new K("",Je,Ze))}registerFontClassAlias(Ie,Me=Ie){return this._fontCssClassesByAlias.set(Ie,Me),this}classNameForFontAlias(Ie){return this._fontCssClassesByAlias.get(Ie)||Ie}setDefaultFontSetClass(...Ie){return this._defaultFontSetClass=Ie,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ie){const Me=this._sanitizer.sanitize(M.WPN.RESOURCE_URL,Ie);if(!Me)throw Z(Ie);const Ze=this._cachedIconsByUrl.get(Me);return Ze?(0,A.of)(te(Ze)):this._loadSvgIconFromConfig(new K(Ie,null)).pipe((0,ie.M)(Ye=>this._cachedIconsByUrl.set(Me,Ye)),(0,ee.T)(Ye=>te(Ye)))}getNamedSvgIcon(Ie,Me=""){const Ze=de(Me,Ie);let Ye=this._svgIconConfigs.get(Ze);if(Ye)return this._getSvgFromConfig(Ye);if(Ye=this._getIconConfigFromResolvers(Me,Ie),Ye)return this._svgIconConfigs.set(Ze,Ye),this._getSvgFromConfig(Ye);const Je=this._iconSetConfigs.get(Me);return Je?this._getSvgFromIconSetConfigs(Ie,Je):(0,R.$)(X(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ie){return Ie.svgText?(0,A.of)(te(this._svgElementFromConfig(Ie))):this._loadSvgIconFromConfig(Ie).pipe((0,ee.T)(Me=>te(Me)))}_getSvgFromIconSetConfigs(Ie,Me){const Ze=this._extractIconWithNameFromAnySet(Ie,Me);if(Ze)return(0,A.of)(Ze);const Ye=Me.filter(Je=>!Je.svgText).map(Je=>this._loadSvgIconSetFromConfig(Je).pipe((0,N.W)(vt=>{const Et=`Loading icon set URL: ${this._sanitizer.sanitize(M.WPN.RESOURCE_URL,Je.url)} failed: ${vt.message}`;return this._errorHandler.handleError(new Error(Et)),(0,A.of)(null)})));return(0,b.p)(Ye).pipe((0,ee.T)(()=>{const Je=this._extractIconWithNameFromAnySet(Ie,Me);if(!Je)throw X(Ie);return Je}))}_extractIconWithNameFromAnySet(Ie,Me){for(let Ze=Me.length-1;Ze>=0;Ze--){const Ye=Me[Ze];if(Ye.svgText&&Ye.svgText.toString().indexOf(Ie)>-1){const Je=this._svgElementFromConfig(Ye),vt=this._extractSvgIconFromSet(Je,Ie,Ye.options);if(vt)return vt}}return null}_loadSvgIconFromConfig(Ie){return this._fetchIcon(Ie).pipe((0,ie.M)(Me=>Ie.svgText=Me),(0,ee.T)(()=>this._svgElementFromConfig(Ie)))}_loadSvgIconSetFromConfig(Ie){return Ie.svgText?(0,A.of)(null):this._fetchIcon(Ie).pipe((0,ie.M)(Me=>Ie.svgText=Me))}_extractSvgIconFromSet(Ie,Me,Ze){const Ye=Ie.querySelector(`[id="${Me}"]`);if(!Ye)return null;const Je=Ye.cloneNode(!0);if(Je.removeAttribute("id"),"svg"===Je.nodeName.toLowerCase())return this._setSvgAttributes(Je,Ze);if("symbol"===Je.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Je),Ze);const vt=this._svgElementFromString(ne("<svg></svg>"));return vt.appendChild(Je),this._setSvgAttributes(vt,Ze)}_svgElementFromString(Ie){const Me=this._document.createElement("DIV");Me.innerHTML=Ie;const Ze=Me.querySelector("svg");
1if(!Ze)throw Error("<svg> tag not found");return Ze}_toSvgElement(Ie){const Me=this._svgElementFromString(ne("<svg></svg>")),Ze=Ie.attributes;for(let Ye=0;Ye<Ze.length;Ye++){const{name:Je,value:vt}=Ze[Ye];"id"!==Je&&Me.setAttribute(Je,vt)}for(let Ye=0;Ye<Ie.childNodes.length;Ye++)Ie.childNodes[Ye].nodeType===this._document.ELEMENT_NODE&&Me.appendChild(Ie.childNodes[Ye].cloneNode(!0));return Me}_setSvgAttributes(Ie,Me){return Ie.setAttribute("fit",""),Ie.setAttribute("height","100%"),Ie.setAttribute("width","100%"),Ie.setAttribute("preserveAspectRatio","xMidYMid meet"),Ie.setAttribute("focusable","false"),Me&&Me.viewBox&&Ie.setAttribute("viewBox",Me.viewBox),Ie}_fetchIcon(Ie){const{url:Me,options:Ze}=Ie,Ye=Ze?.withCredentials??!1;if(!this._httpClient)throw function W(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const Je=this._sanitizer.sanitize(M.WPN.RESOURCE_URL,Me);if(!Je)throw Z(Me);const vt=this._inProgressUrlFetches.get(Je);if(vt)return vt;const $t=this._httpClient.get(Je,{responseType:"text",withCredentials:Ye}).pipe((0,ee.T)(Et=>ne(Et)),(0,q.j)(()=>this._inProgressUrlFetches.delete(Je)),(0,B.u)());return this._inProgressUrlFetches.set(Je,$t),$t}_addSvgIconConfig(Ie,Me,Ze){return this._svgIconConfigs.set(de(Ie,Me),Ze),this}_addSvgIconSetConfig(Ie,Me){const Ze=this._iconSetConfigs.get(Ie);return Ze?Ze.push(Me):this._iconSetConfigs.set(Ie,[Me]),this}_svgElementFromConfig(Ie){if(!Ie.svgElement){const Me=this._svgElementFromString(Ie.svgText);this._setSvgAttributes(Me,Ie.options),Ie.svgElement=Me}return Ie.svgElement}_getIconConfigFromResolvers(Ie,Me){for(let Ze=0;Ze<this._resolvers.length;Ze++){const Ye=this._resolvers[Ze](Me,Ie);if(Ye)return _e(Ye)?new K(Ye.url,null,Ye.options):new K(Ye,null)}}static \u0275fac=function(Me){return new(Me||we)(E.KVO(S.Qq,8),E.KVO(f.up),E.KVO(E.qQL,8),E.KVO(E.zcH))};static \u0275prov=E.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function te(we){return we.cloneNode(!0)}function de(we,De){return we+":"+De}function _e(we){return!(!we.url||!we.options)}},99213(Vt,Pe,d){"use strict";d.d(Pe,{An:()=>ne,m_:()=>X});var S=d(2615),E=d(73664),M=d(17705),f=d(18359),b=d(96697),A=d(28943),R=d(22466);const N=["*"],q=new S.nKC("MAT_ICON_DEFAULT_OPTIONS"),ee=new S.nKC("mat-icon-location",{providedIn:"root",factory:function B(){const W=(0,S.WQX)(S.qQL),Z=W?W.location:null;return{getPathname:()=>Z?Z.pathname+Z.search:""}}}),ie=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ve=ie.map(W=>`[${W}]`).join(", "),U=/^url\(['"]?#(.*?)['"]?\)$/;let ne=(()=>{class W{_elementRef=(0,S.WQX)(E.aKT);_iconRegistry=(0,S.WQX)(A.tp);_location=(0,S.WQX)(ee);_errorHandler=(0,S.WQX)(S.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(re){this._color=re}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(re){re!==this._svgIcon&&(re?this._updateSvgIcon(re):this._svgIcon&&this._clearSvgElement(),this._svgIcon=re)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(re){const K=this._cleanupFontValue(re);K!==this._fontSet&&(this._fontSet=K,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(re){const K=this._cleanupFontValue(re);K!==this._fontIcon&&(this._fontIcon=K,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=f.yU.EMPTY;constructor(){const re=(0,S.WQX)(new M.ES_("aria-hidden"),{optional:!0}),K=(0,S.WQX)(q,{optional:!0});K&&(K.color&&(this.color=this._defaultColor=K.color),K.fontSet&&(this.fontSet=K.fontSet)),re||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(re){if(!re)return["",""];const K=re.split(":");switch(K.length){case 1:return["",K[0]];case 2:return K;default:throw Error(`Invalid icon name: "${re}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const re=this._elementsWithExternalReferences;if(re&&re.size){const K=this._location.getPathname();K!==this._previousPath&&(this._previousPath=K,this._prependPathToReferences(K))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(re){this._clearSvgElement();const K=this._location.getPathname();this._previousPath=K,this._cacheChildrenWithExternalReferences(re),this._prependPathToReferences(K),this._elementRef.nativeElement.appendChild(re)}_clearSvgElement(){const re=this._elementRef.nativeElement;let K=re.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();K--;){const ce=re.childNodes[K];(1!==ce.nodeType||"svg"===ce.nodeName.toLowerCase())&&ce.remove()}}
vendor: 1,162 bytes, line 1
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const re=this._elementRef.nativeElement,K=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ce=>ce.length>0);this._previousFontSetClass.forEach(ce=>re.classList.remove(ce)),K.forEach(ce=>re.classList.add(ce)),this._previousFontSetClass=K,this.fontIcon!==this._previousFontIconClass&&!K.includes("mat-ligature-font")&&(this._previousFontIconClass&&re.classList.remove(this._previousFontIconClass),this.fontIcon&&re.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(re){return"string"==typeof re?re.trim().split(" ")[0]:re}_prependPathToReferences(re){const K=this._elementsWithExternalReferences;K&&K.forEach((ce,ue)=>{ce.forEach(ae=>{ue.setAttribute(ae.name,`url('${re}#${ae.value}')`)})})}_cacheChildrenWithExternalReferences(re){const K=re.querySelectorAll(ve),ce=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ue=0;ue<K.length;ue++)ie.forEach(ae=>{const te=K[ue],de=te.getAttribute(ae),_e=de?de.match(U):null;if(_e){let we=ce.get(te);
1we||(we=[],ce.set(te,we)),we.push({name:ae,value:_e[1]})}})}_updateSvgIcon(re){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),re){const[K,ce]=this._splitIconName(re);K&&(this._svgNamespace=K),ce&&(this._svgName=ce),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ce,K).pipe((0,b.s)(1)).subscribe(ue=>this._setSvgElement(ue),ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${K}:${ce}! ${ue.message}`))})}}static \u0275fac=function(K){return new(K||W)};static \u0275cmp=E.VBU({type:W,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(K,ce){2&K&&(E.BMQ("data-mat-icon-type",ce._usingFontIcon()?"font":"svg")("data-mat-icon-name",ce._svgName||ce.fontIcon)("data-mat-icon-namespace",ce._svgNamespace||ce.fontSet)("fontIcon",ce._usingFontIcon()?ce.fontIcon:null),E.HbH(ce.color?"mat-"+ce.color:""),E.AVh("mat-icon-inline",ce.inline)("mat-icon-no-color","primary"!==ce.color&&"accent"!==ce.color&&"warn"!==ce.color))},inputs:{color:"color",inline:[2,"inline","inline",M.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:N,decls:1,vars:0,template:function(K,ce){1&K&&(E.NAR(),E.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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}\n"],encapsulation:2,changeDetection:0})}return W})(),X=(()=>{class W{static \u0275fac=function(K){return new(K||W)};static \u0275mod=E.$C({type:W});static \u0275inj=S.G2t({imports:[R.y,R.y]})}return W})()},68010(Vt,Pe,d){"use strict";d.d(Pe,{O:()=>E});const E=new(d(2615).nKC)("MAT_INPUT_VALUE_ACCESSOR")},40100(Vt,Pe,d){"use strict";d.d(Pe,{fg:()=>de,fS:()=>_e});var S=d(14085),E=d(39842);let b;const A=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function R(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(A),b;let we=document.createElement("input");return b=new Set(A.filter(De=>(we.setAttribute("type",De),we.type===De))),b}var N=d(37403),q=d(73664),ee=d(2615),B=d(59295),ie=d(17705),ve=d(89726),U=d(89417),ne=d(21413),X=d(68010),W=d(64727),Z=d(2709),re=d(39336),K=d(71228),ce=d(22466);const ae=["button","checkbox","file","hidden","image","radio","range","reset","submit"],te=new ee.nKC("MAT_INPUT_CONFIG");let de=(()=>{class we{_elementRef=(0,ee.WQX)(q.aKT);_platform=(0,ee.WQX)(E.O);ngControl=(0,ee.WQX)(U.vO,{optional:!0,self:!0});_autofillMonitor=(0,ee.WQX)(N.P8);_ngZone=(0,ee.WQX)(q.SKi);_formField=(0,ee.WQX)(W.xb,{optional:!0});_renderer=(0,ee.WQX)(q.sFG);_uid=(0,ee.WQX)(ve.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,ee.WQX)(te,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new ne.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(Ie){this._disabled=(0,S.he)(Ie),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(Ie){this._id=Ie||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(U.k0.required)??!1}set required(Ie){this._required=(0,S.he)(Ie)}_required;get type(){return this._type}
1set type(Ie){this._type=Ie||"text",this._validateType(),!this._isTextarea&&R().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ie){this._errorStateTracker.matcher=Ie}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(Ie){Ie!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(Ie):this._inputValueAccessor.value=Ie,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Ie){this._readonly=(0,S.he)(Ie)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(Ie){this._errorStateTracker.errorState=Ie}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Ie=>R().has(Ie));constructor(){const Ie=(0,ee.WQX)(U.cV,{optional:!0}),Me=(0,ee.WQX)(U.j4,{optional:!0}),Ze=(0,ee.WQX)(Z.e),Ye=(0,ee.WQX)(X.O,{optional:!0,self:!0}),Je=this._elementRef.nativeElement,vt=Je.nodeName.toLowerCase();Ye?(0,ee.Hps)(Ye.value)?this._signalBasedValueAccessor=Ye:this._inputValueAccessor=Ye:this._inputValueAccessor=Je,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(Je,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new re.X(Ze,this.ngControl,Me,Ie,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===vt,this._isTextarea="textarea"===vt,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=Je.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,B.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Ie=>{this.autofilled=Ie.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Ie){this._elementRef.nativeElement.focus(Ie)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(Ie){if(Ie!==this.focused){if(!this._isNativeSelect&&Ie&&this.disabled&&this.disabledInteractive){const Me=this._elementRef.nativeElement;"number"===Me.type?(Me.type="text",Me.setSelectionRange(0,0),Me.type="number"):Me.setSelectionRange(0,0)}this.focused=Ie,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const Ie=this._elementRef.nativeElement.value;this._previousNativeValue!==Ie&&(this._previousNativeValue=Ie,this.stateChanges.next())}_dirtyCheckPlaceholder(){const Ie=this._getPlaceholder();if(Ie!==this._previousPlaceholder){const Me=this._elementRef.nativeElement;this._previousPlaceholder=Ie,Ie?Me.setAttribute("placeholder",Ie):Me.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ae.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Ie=this._elementRef.nativeElement.validity;return Ie&&Ie.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Ie=this._elementRef.nativeElement,Me=Ie.options[0];return this.focused||Ie.multiple||!this.empty||!!(Ie.selectedIndex>-1&&Me&&Me.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Ie){const Me=this._elementRef.nativeElement;
1Ie.length?Me.setAttribute("aria-describedby",Ie.join(" ")):Me.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Ie=this._elementRef.nativeElement;return this._isNativeSelect&&(Ie.multiple||Ie.size>1)}_iOSKeyupListener=Ie=>{const Me=Ie.target;!Me.value&&0===Me.selectionStart&&0===Me.selectionEnd&&(Me.setSelectionRange(1,1),Me.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(Me){return new(Me||we)};static \u0275dir=q.FsC({type:we,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(Me,Ze){1&Me&&q.bIt("focus",function(){return Ze._focusChanged(!0)})("blur",function(){return Ze._focusChanged(!1)})("input",function(){return Ze._onInput()}),2&Me&&(q.Avn("id",Ze.id)("disabled",Ze.disabled&&!Ze.disabledInteractive)("required",Ze.required),q.BMQ("name",Ze.name||null)("readonly",Ze._getReadonlyAttribute())("aria-disabled",Ze.disabled&&Ze.disabledInteractive?"true":null)("aria-invalid",Ze.empty&&Ze.required?null:Ze.errorState)("aria-required",Ze.required)("id",Ze.id),q.AVh("mat-input-server",Ze._isServer)("mat-mdc-form-field-textarea-control",Ze._isInFormField&&Ze._isTextarea)("mat-mdc-form-field-input-control",Ze._isInFormField)("mat-mdc-input-disabled-interactive",Ze.disabledInteractive)("mdc-text-field__input",Ze._isInFormField)("mat-mdc-native-select-inline",Ze._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie.L39]},exportAs:["matInput"],features:[q.Jv_([{provide:W.qT,useExisting:we}]),q.OA$]})}return we})(),_e=(()=>{class we{static \u0275fac=function(Me){return new(Me||we)};static \u0275mod=q.$C({type:we});static \u0275inj=ee.G2t({imports:[ce.y,K.R,K.R,N.EE,ce.y]})}return we})()},53155(Vt,Pe,d){"use strict";d.d(Pe,{t:()=>f});var S=d(73664);const E=["mat-internal-form-field",""],M=["*"];let f=(()=>{class b{labelPosition;static \u0275fac=function(N){return new(N||b)};static \u0275cmp=S.VBU({type:b,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(N,q){2&N&&S.AVh("mdc-form-field--align-end","before"===q.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:E,ngContentSelectors:M,decls:1,vars:0,template:function(N,q){1&N&&(S.NAR(),S.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return b})()},59115(Vt,Pe,d){"use strict";d.d(Pe,{Cn:()=>Ut,Cp:()=>oo,fb:()=>jn,kk:()=>Br});var re=d(2615),K=d(73664),ce=d(17705),ue=d(76838),ae=d(89726),te=d(64123),de=d(95735),_e=d(67336),we=d(10438),De=d(21413),Ie=d(18359),Me=d(57786),Ze=d(7673),Ye=d(5964),Je=d(99172),vt=d(25558),$t=d(96697),Et=d(56977),xt=d(88968),Ot=d(32046),ke=d(12496),qe=d(76939),At=d(31804),Ct=d(61577),_t=d(34056),Ke=d(75272),mt=d(26881),rt=d(22466);const ut=["mat-menu-item",""],kt=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Dt=["mat-icon, [matMenuItemIcon]","*"];function Sn(Bt,Xt){1&Bt&&(re.qSk(),K.j41(0,"svg",2),K.nrm(1,"polygon",3),K.k0s())}const An=["*"];function Qn(Bt,Xt){if(1&Bt){const Pt=K.RV6();K.rj2(0,"div",0),K.VwU("click",function(){re.eBV(Pt);const Kt=K.XpG();
1return re.Njj(Kt.closed.emit("click"))})("animationstart",function(Kt){re.eBV(Pt);const xn=K.XpG();return re.Njj(xn._onAnimationStart(Kt.animationName))})("animationend",function(Kt){re.eBV(Pt);const xn=K.XpG();return re.Njj(xn._onAnimationDone(Kt.animationName))})("animationcancel",function(Kt){re.eBV(Pt);const xn=K.XpG();return re.Njj(xn._onAnimationDone(Kt.animationName))}),K.rj2(1,"div",1),K.SdG(2),K.eux()()}if(2&Bt){const Pt=K.XpG();K.HbH(Pt._classList),K.AVh("mat-menu-panel-animations-disabled",Pt._animationsDisabled)("mat-menu-panel-exit-animation","void"===Pt._panelAnimationState)("mat-menu-panel-animating",Pt._isAnimating()),K.Avn("id",Pt.panelId),K.BMQ("aria-label",Pt.ariaLabel||null)("aria-labelledby",Pt.ariaLabelledby||null)("aria-describedby",Pt.ariaDescribedby||null)}}const lr=new re.nKC("MAT_MENU_PANEL");let jn=(()=>{class Bt{_elementRef=(0,re.WQX)(K.aKT);_document=(0,re.WQX)(re.qQL);_focusMonitor=(0,re.WQX)(ue.FN);_parentMenu=(0,re.WQX)(lr,{optional:!0});_changeDetectorRef=(0,re.WQX)(ce.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new De.B;_focused=new De.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,re.WQX)(xt.l).load(Ot.A),this._parentMenu?.addItem?.(this)}focus(Pt,wt){this._focusMonitor&&Pt?this._focusMonitor.focusVia(this._getHostElement(),Pt,wt):this._getHostElement().focus(wt),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Pt){this.disabled&&(Pt.preventDefault(),Pt.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pt=this._elementRef.nativeElement.cloneNode(!0),wt=Pt.querySelectorAll("mat-icon, .material-icons");for(let Kt=0;Kt<wt.length;Kt++)wt[Kt].remove();return Pt.textContent?.trim()||""}_setHighlighted(Pt){this._highlighted=Pt,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(Pt){this._triggersSubmenu=Pt,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(wt){return new(wt||Bt)};static \u0275cmp=K.VBU({type:Bt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(wt,Kt){1&wt&&K.bIt("click",function(Fn){return Kt._checkDisabled(Fn)})("mouseenter",function(){return Kt._handleMouseEnter()}),2&wt&&(K.BMQ("role",Kt.role)("tabindex",Kt._getTabIndex())("aria-disabled",Kt.disabled)("disabled",Kt.disabled||null),K.AVh("mat-mdc-menu-item-highlighted",Kt._highlighted)("mat-mdc-menu-item-submenu-trigger",Kt._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",ce.L39],disableRipple:[2,"disableRipple","disableRipple",ce.L39]},exportAs:["matMenuItem"],attrs:ut,ngContentSelectors:Dt,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(wt,Kt){1&wt&&(K.NAR(kt),K.SdG(0),K.j41(1,"span",0),K.SdG(2,1),K.k0s(),K.nrm(3,"div",1),K.nVh(4,Sn,2,0,":svg:svg",2)),2&wt&&(K.R7$(3),K.Y8G("matRippleDisabled",Kt.disableRipple||Kt.disabled)("matRippleTrigger",Kt._getHostElement()),K.R7$(),K.vxM(Kt._triggersSubmenu?4:-1))},dependencies:[ke.r6],encapsulation:2,changeDetection:0})}return Bt})();const bn=new re.nKC("MatMenuContent"),En=new re.nKC("mat-menu-default-options",{providedIn:"root",factory:function m(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),Jn="_mat-menu-enter",ni="_mat-menu-exit";let Br=(()=>{class Bt{_elementRef=(0,re.WQX)(K.aKT);_changeDetectorRef=(0,re.WQX)(ce.gRc);_injector=(0,re.WQX)(re.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,At.Rc)();_allItems;_directDescendantItems=new K.rOR;_classList={};_panelAnimationState="void";_animationDone=new De.B;_isAnimating=(0,re.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(Pt){this._xPosition=Pt,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pt){this._yPosition=Pt,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(Pt){const wt=this._previousPanelClass,Kt={...this._classList};wt&&wt.length&&wt.split(" ").forEach(xn=>{Kt[xn]=!1}),this._previousPanelClass=Pt,Pt&&Pt.length&&(Pt.split(" ").forEach(xn=>{Kt[xn]=!0}),this._elementRef.nativeElement.className=""),this._classList=Kt}_previousPanelClass;get classList(){return this.panelClass}set classList(Pt){this.panelClass=Pt}closed=new K.bkB;close=this.closed;panelId=(0,re.WQX)(ae.g).getId("mat-menu-panel-");constructor(){const Pt=(0,re.WQX)(En);this.overlayPanelClass=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this.overlapTrigger=Pt.overlapTrigger,this.hasBackdrop=Pt.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new te.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Je.Z)(this._directDescendantItems),(0,vt.n)(Pt=>(0,Me.h)(...Pt.map(wt=>wt._focused)))).subscribe(Pt=>this._keyManager.updateActiveItem(Pt)),this._directDescendantItems.changes.subscribe(Pt=>{const wt=this._keyManager;if("enter"===this._panelAnimationState&&wt.activeItem?._hasFocus()){const Kt=Pt.toArray(),xn=Math.max(0,Math.min(Kt.length-1,wt.activeItemIndex||0));Kt[xn]&&!Kt[xn].disabled?wt.setActiveItem(xn):wt.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,Je.Z)(this._directDescendantItems),(0,vt.n)(wt=>(0,Me.h)(...wt.map(Kt=>Kt._hovered))))}addItem(Pt){}removeItem(Pt){}_handleKeydown(Pt){const wt=Pt.keyCode,Kt=this._keyManager;switch(wt){case we._f:(0,_e.rp)(Pt)||(Pt.preventDefault(),this.closed.emit("keydown"));break;case we.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case we.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(wt===we.i7||wt===we.n6)&&Kt.setFocusOrigin("keyboard"),void Kt.onKeydown(Pt)}}focusFirstItem(Pt="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,K.mal)(()=>{const wt=this._resolvePanel();if(!wt||!wt.contains(document.activeElement)){const Kt=this._keyManager;Kt.setFocusOrigin(Pt).setFirstItemActive(),!Kt.activeItem&&wt&&wt.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pt){}setPositionClasses(Pt=this.xPosition,wt=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Pt,"mat-menu-after":"after"===Pt,"mat-menu-above":"above"===wt,"mat-menu-below":"below"===wt},this._changeDetectorRef.markForCheck()}_onAnimationDone(Pt){const wt=Pt===ni;(wt||Pt===Jn)&&(wt&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(wt?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(Pt){(Pt===Jn||Pt===ni)&&this._isAnimating.set(!0)}_setIsOpen(Pt){if(this._panelAnimationState=Pt?"enter":"void",Pt){if(0===this._keyManager.activeItemIndex){const wt=this._resolvePanel();wt&&(wt.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(ni),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(Pt?Jn:ni)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,Je.Z)(this._allItems)).subscribe(Pt=>{this._directDescendantItems.reset(Pt.filter(wt=>wt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let Pt=null;return this._directDescendantItems.length&&(Pt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),Pt}static \u0275fac=function(wt){return new(wt||Bt)};static \u0275cmp=K.VBU({type:Bt,selectors:[["mat-menu"]],contentQueries:function(wt,Kt,xn){if(1&wt&&(K.wni(xn,bn,5),K.wni(xn,jn,5),K.wni(xn,jn,4)),2&wt){let Fn;K.mGM(Fn=K.lsd())&&(Kt.lazyContent=Fn.first),K.mGM(Fn=K.lsd())&&(Kt._allItems=Fn),K.mGM(Fn=K.lsd())&&(Kt.items=Fn)}},viewQuery:function(wt,Kt){if(1&wt&&K.GBs(K.C4Q,5),2&wt){let xn;K.mGM(xn=K.lsd())&&(Kt.templateRef=xn.first)}},hostVars:3,hostBindings:function(wt,Kt){2&wt&&K.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ce.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Pt=>null==Pt?null:(0,ce.L39)(Pt)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[K.Jv_([{provide:lr,useExisting:Bt}])],ngContentSelectors:An,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(wt,Kt){1&wt&&(K.NAR(),K.PeT(0,Qn,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}
1}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,changeDetection:0})}return Bt})();const bi=new re.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Bt=(0,re.WQX)(re.zZn);return()=>(0,_t.RH)(Bt)}}),Lr={provide:bi,deps:[],useFactory:function Kr(Bt){const Xt=(0,re.WQX)(re.zZn);return()=>(0,_t.RH)(Xt)}},Ci=new WeakMap;let yo=(()=>{class Bt{_canHaveBackdrop;_element=(0,re.WQX)(K.aKT);
1_viewContainerRef=(0,re.WQX)(K.c1b);_menuItemInstance=(0,re.WQX)(jn,{optional:!0,self:!0});_dir=(0,re.WQX)(Ct.dS,{optional:!0});_focusMonitor=(0,re.WQX)(ue.FN);_ngZone=(0,re.WQX)(K.SKi);_injector=(0,re.WQX)(re.zZn);_scrollStrategy=(0,re.WQX)(bi);_changeDetectorRef=(0,re.WQX)(ce.gRc);_animationsDisabled=(0,At.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=Ie.yU.EMPTY;_menuCloseSubscription=Ie.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(Pt){Pt!==this._menuInternal&&(this._menuInternal=Pt,this._menuCloseSubscription.unsubscribe(),Pt&&(this._menuCloseSubscription=Pt.close.subscribe(wt=>{this._destroyMenu(wt),("click"===wt||"tab"===wt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(wt)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(Pt){this._canHaveBackdrop=Pt;const wt=(0,re.WQX)(lr,{optional:!0});this._parentMaterialMenu=wt instanceof Br?wt:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Ci.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(Pt){const wt=this._menu;if(this._menuOpen||!wt)return;this._pendingRemoval?.unsubscribe();const Kt=Ci.get(wt);Ci.set(wt,this),Kt&&Kt!==this&&Kt._closeMenu();const xn=this._createOverlay(wt),Fn=xn.getConfig(),fn=Fn.positionStrategy;this._setPosition(wt,fn),Fn.hasBackdrop=!!this._canHaveBackdrop&&(null==wt.hasBackdrop?!this._triggersSubmenu():wt.hasBackdrop),xn.hasAttached()||(xn.attach(this._getPortal(wt)),wt.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),wt.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,wt.direction=this.dir,Pt&&wt.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),wt instanceof Br&&(wt._setIsOpen(!0),wt._directDescendantItems.changes.pipe((0,Et.Q)(wt.close)).subscribe(()=>{fn.withLockedPosition(!1).reapplyLastPosition(),fn.withLockedPosition(!0)}))}focus(Pt,wt){this._focusMonitor&&Pt?this._focusMonitor.focusVia(this._element,Pt,wt):this._element.nativeElement.focus(wt)}_destroyMenu(Pt){const wt=this._overlayRef,Kt=this._menu;!wt||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Kt instanceof Br&&this._ownsMenu(Kt)?(this._pendingRemoval=Kt._animationDone.pipe((0,$t.s)(1)).subscribe(()=>{wt.detach(),Ci.has(Kt)||Kt.lazyContent?.detach()}),Kt._setIsOpen(!1)):(wt.detach(),Kt?.lazyContent?.detach()),Kt&&this._ownsMenu(Kt)&&Ci.delete(Kt),this.restoreFocus&&("keydown"===Pt||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
1_setIsMenuOpen(Pt){Pt!==this._menuOpen&&(this._menuOpen=Pt,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pt),this._changeDetectorRef.markForCheck())}_createOverlay(Pt){if(!this._overlayRef){const wt=this._getOverlayConfig(Pt);this._subscribeToPositions(Pt,wt.positionStrategy),this._overlayRef=(0,_t.Y$)(this._injector,wt),this._overlayRef.keydownEvents().subscribe(Kt=>{this._menu instanceof Br&&this._menu._handleKeydown(Kt)})}return this._overlayRef}_getOverlayConfig(Pt){return new _t.rR({positionStrategy:(0,_t.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pt.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pt.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(Pt,wt){Pt.setPositionClasses&&wt.positionChanges.subscribe(Kt=>{this._ngZone.run(()=>{Pt.setPositionClasses("start"===Kt.connectionPair.overlayX?"after":"before","top"===Kt.connectionPair.overlayY?"below":"above")})})}_setPosition(Pt,wt){let[Kt,xn]="before"===Pt.xPosition?["end","start"]:["start","end"],[Fn,fn]="above"===Pt.yPosition?["bottom","top"]:["top","bottom"],[Dn,Ve]=[Fn,fn],[He,p]=[Kt,xn],Ht=0;if(this._triggersSubmenu()){if(p=Kt="before"===Pt.xPosition?"start":"end",xn=He="end"===Kt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const sn=this._parentMaterialMenu.items.first;this._parentInnerPadding=sn?sn._getHostElement().offsetTop:0}Ht="bottom"===Fn?this._parentInnerPadding:-this._parentInnerPadding}}else Pt.overlapTrigger||(Dn="top"===Fn?"bottom":"top",Ve="top"===fn?"bottom":"top");wt.withPositions([{originX:Kt,originY:Dn,overlayX:He,overlayY:Fn,offsetY:Ht},{originX:xn,originY:Dn,overlayX:p,overlayY:Fn,offsetY:Ht},{originX:Kt,originY:Ve,overlayX:He,overlayY:fn,offsetY:-Ht},{originX:xn,originY:Ve,overlayX:p,overlayY:fn,offsetY:-Ht}])}_menuClosingActions(){const Pt=this._getOutsideClickStream(this._overlayRef),wt=this._overlayRef.detachments(),Kt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ze.of)(),xn=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ye.p)(Fn=>this._menuOpen&&Fn!==this._menuItemInstance)):(0,Ze.of)();return(0,Me.h)(Pt,Kt,xn,wt)}_getPortal(Pt){return(!this._portal||this._portal.templateRef!==Pt.templateRef)&&(this._portal=new qe.VA(Pt.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(Pt){return Ci.get(Pt)===this}static \u0275fac=function(wt){K.QTQ()};static \u0275dir=K.FsC({type:Bt})}return Bt})(),oo=(()=>{class Bt extends yo{_cleanupTouchstart;_hoverSubscription=Ie.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pt){this.menu=Pt}get menu(){return this._menu}set menu(Pt){this._menu=Pt}menuData;restoreFocus=!0;menuOpened=new K.bkB;onMenuOpen=this.menuOpened;menuClosed=new K.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const Pt=(0,re.WQX)(K.sFG);this._cleanupTouchstart=Pt.listen(this._element.nativeElement,"touchstart",wt=>{(0,de.w)(wt)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(Pt){return Pt.backdropClick()}_handleMousedown(Pt){(0,de._)(Pt)||(this._openedBy=0===Pt.button?"mouse":void 0,this.triggersSubmenu()&&Pt.preventDefault())}_handleKeydown(Pt){const wt=Pt.keyCode;(wt===we.Fm||wt===we.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(wt===we.LE&&"ltr"===this.dir||wt===we.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pt){this.triggersSubmenu()?(Pt.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(Pt=>{Pt===this._menuItemInstance&&!Pt.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(wt){return new(wt||Bt)};static \u0275dir=K.FsC({type:Bt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(wt,Kt){1&wt&&K.bIt("click",function(Fn){return Kt._handleClick(Fn)})("mousedown",function(Fn){return Kt._handleMousedown(Fn)})("keydown",function(Fn){return Kt._handleKeydown(Fn)}),2&wt&&K.BMQ("aria-haspopup",Kt.menu?"menu":null)("aria-expanded",Kt.menuOpen)("aria-controls",Kt.menuOpen?null==Kt.menu?null:Kt.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[K.Vt3]})}return Bt})(),Ut=(()=>{class Bt{static \u0275fac=function(wt){return new(wt||Bt)};static \u0275mod=K.$C({type:Bt});static \u0275inj=re.G2t({providers:[Lr],imports:[mt.p,rt.y,_t.z_,Ke.Gj,rt.y]})}return Bt})()},40146(Vt,Pe,d){"use strict";d.d(Pe,{S:()=>R});var S=d(2615),E=d(73664),M=d(26881),f=d(70483),b=d(22466),A=d(23029);let R=(()=>{class N{static \u0275fac=function(B){return new(B||N)};static \u0275mod=E.$C({type:N});static \u0275inj=S.G2t({imports:[M.p,b.y,f.O,A.wT]})}return N})()},23029(Vt,Pe,d){"use strict";d.d(Pe,{MI:()=>De,QC:()=>_e,TL:()=>Ze,is:()=>de,jb:()=>Me,wT:()=>Ie});var b=d(89726),A=d(67336),R=d(10438),N=d(73664),q=d(17705),ee=d(2615),B=d(21413),ie=d(12496),ve=d(63386),U=d(32046),ne=d(49046),X=d(88968);const re=["text"],K=[[["mat-icon"]],"*"],ce=["mat-icon","*"];function ue(Ye,Je){if(1&Ye&&N.nrm(0,"mat-pseudo-checkbox",1),2&Ye){const vt=N.XpG();N.Y8G("disabled",vt.disabled)("state",vt.selected?"checked":"unchecked")}}function ae(Ye,Je){if(1&Ye&&N.nrm(0,"mat-pseudo-checkbox",3),2&Ye){const vt=N.XpG();N.Y8G("disabled",vt.disabled)}}function te(Ye,Je){if(1&Ye&&(N.j41(0,"span",4),N.EFF(1),N.k0s()),2&Ye){const vt=N.XpG();N.R7$(),N.SpI("(",vt.group.label,")")}}const de=new ee.nKC("MAT_OPTION_PARENT_COMPONENT"),_e=new ee.nKC("MatOptgroup");class De{source;isUserInput;constructor(Je,vt=!1){this.source=Je,this.isUserInput=vt}}let Ie=(()=>{class Ye{_element=(0,ee.WQX)(N.aKT);_changeDetectorRef=(0,ee.WQX)(q.gRc);_parent=(0,ee.WQX)(de,{optional:!0});group=(0,ee.WQX)(_e,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,ee.WQX)(b.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(vt){this._disabled.set(vt)}_disabled=(0,ee.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new N.bkB;_text;_stateChanges=new B.B;constructor(){const vt=(0,ee.WQX)(X.l);vt.load(U.A),vt.load(ne.Y),this._signalDisableRipple=!!this._parent&&(0,ee.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(vt=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),vt&&this._emitSelectionChangeEvent())}deselect(vt=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),vt&&this._emitSelectionChangeEvent())}focus(vt,$t){const Et=this._getHostElement();"function"==typeof Et.focus&&Et.focus($t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(vt){(vt.keyCode===R.Fm||vt.keyCode===R.t6)&&!(0,A.rp)(vt)&&(this._selectViaInteraction(),vt.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const vt=this.viewValue;vt!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=vt)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(vt=!1){this.onSelectionChange.emit(new De(this,vt))}static \u0275fac=function($t){return new($t||Ye)};static \u0275cmp=N.VBU({type:Ye,selectors:[["mat-option"]],viewQuery:function($t,Et){if(1&$t&&N.GBs(re,7),2&$t){let xt;N.mGM(xt=N.lsd())&&(Et._text=xt.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function($t,Et){1&$t&&N.bIt("click",function(){return Et._selectViaInteraction()})("keydown",function(Ot){return Et._handleKeydown(Ot)}),2&$t&&(N.Avn("id",Et.id),N.BMQ("aria-selected",Et.selected)("aria-disabled",Et.disabled.toString()),N.AVh("mdc-list-item--selected",Et.selected)("mat-mdc-option-multiple",Et.multiple)("mat-mdc-option-active",Et.active)("mdc-list-item--disabled",Et.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ce,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function($t,Et){1&$t&&(N.NAR(K),N.nVh(0,ue,1,2,"mat-pseudo-checkbox",1),N.SdG(1),N.j41(2,"span",2,0),N.SdG(4,1),N.k0s(),N.nVh(5,ae,1,1,"mat-pseudo-checkbox",3),N.nVh(6,te,2,1,"span",4),N.nrm(7,"div",5)),2&$t&&(N.vxM(Et.multiple?0:-1),N.R7$(5),N.vxM(Et.multiple||!Et.selected||Et.hideSingleSelectionIndicator?-1:5),N.R7$(),N.vxM(Et.group&&Et.group._inert?6:-1),N.R7$(),N.Y8G("matRippleTrigger",Et._getHostElement())("matRippleDisabled",Et.disabled||Et.disableRipple))},dependencies:[ve.w,ie.r6],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-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.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-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return Ye})();function Me(Ye,Je,vt){if(vt.length){let $t=Je.toArray(),Et=vt.toArray(),xt=0;for(let Ot=0;Ot<Ye+1;Ot++)$t[Ot].group&&$t[Ot].group===Et[xt]&&xt++;return xt}return 0}function Ze(Ye,Je,vt,$t){return Ye<vt?Ye:Ye+Je>vt+$t?Math.max(0,Ye-$t+Je):vt}},70483(Vt,Pe,d){"use strict";
1d.d(Pe,{O:()=>f});var S=d(2615),E=d(73664),M=d(22466);let f=(()=>{class b{static \u0275fac=function(N){return new(N||b)};static \u0275mod=E.$C({type:b});static \u0275inj=S.G2t({imports:[M.y]})}return b})()},63386(Vt,Pe,d){"use strict";d.d(Pe,{w:()=>M});var S=d(73664),E=d(31804);let M=(()=>{class f{_animationsDisabled=(0,E.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(R){return new(R||f)};static \u0275cmp=S.VBU({type:f,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(R,N){2&R&&S.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===N.state)("mat-pseudo-checkbox-checked","checked"===N.state)("mat-pseudo-checkbox-disabled",N.disabled)("mat-pseudo-checkbox-minimal","minimal"===N.appearance)("mat-pseudo-checkbox-full","full"===N.appearance)("_mat-animation-noopable",N._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(R,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-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-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-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-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-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-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-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-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}\n'],encapsulation:2,changeDetection:0})}return f})()},5951(Vt,Pe,d){"use strict";d.d(Pe,{VT:()=>ae,Wk:()=>de,_g:()=>te});var S=d(76838),E=d(89726),M=d(18689),f=d(2615),b=d(73664),A=d(17705),R=d(89417),N=d(88968),q=d(31804),ee=d(32046),B=d(12496),ie=d(53155),ve=d(22466),U=d(26881);const ne=["input"],X=["formField"],W=["*"];class Z{source;value;constructor(we,De){this.source=we,this.value=De}}const re={provide:R.kq,useExisting:(0,f.Rfq)(()=>ae),multi:!0},K=new f.nKC("MatRadioGroup"),ce=new f.nKC("mat-radio-default-options",{providedIn:"root",factory:function ue(){return{color:"accent",disabledInteractive:!1}}});let ae=(()=>{class _e{_changeDetector=(0,f.WQX)(A.gRc);_value=null;_name=(0,f.WQX)(E.g).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new b.bkB;_radios;color;get name(){return this._name}set name(De){this._name=De,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(De){this._labelPosition="before"===De?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(De){this._value!==De&&(this._value=De,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(De){this._selected=De,this.value=De?De.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(De){this._disabled=De,this._markRadiosForCheck()}get required(){return this._required}set required(De){this._required=De,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(De){this._disabledInteractive=De,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(De=>De===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(De=>{De.name=this.name,De._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Ie=>{Ie.checked=this.value===Ie.value,Ie.checked&&(this._selected=Ie)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Z(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(De=>De._markForCheck())}writeValue(De){this.value=De,this._changeDetector.markForCheck()}registerOnChange(De){this._controlValueAccessorChangeFn=De}registerOnTouched(De){this.onTouched=De}setDisabledState(De){this.disabled=De,this._changeDetector.markForCheck()}static \u0275fac=function(Ie){return new(Ie||_e)};static \u0275dir=b.FsC({type:_e,selectors:[["mat-radio-group"]],contentQueries:function(Ie,Me,Ze){if(1&Ie&&b.wni(Ze,te,5),2&Ie){let Ye;b.mGM(Ye=b.lsd())&&(Me._radios=Ye)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",A.L39],required:[2,"required","required",A.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",A.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[b.Jv_([re,{provide:K,useExisting:_e}])]})}return _e})(),te=(()=>{class _e{_elementRef=(0,f.WQX)(b.aKT);_changeDetector=(0,f.WQX)(A.gRc);_focusMonitor=(0,f.WQX)(S.FN);
1_radioDispatcher=(0,f.WQX)(M.z);_defaultOptions=(0,f.WQX)(ce,{optional:!0});_ngZone=(0,f.WQX)(b.SKi);_renderer=(0,f.WQX)(b.sFG);_uniqueId=(0,f.WQX)(E.g).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(De){this._checked!==De&&(this._checked=De,De&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!De&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),De&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(De){this._value!==De&&(this._value=De,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===De),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(De){this._labelPosition=De}_labelPosition;get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(De){this._setDisabled(De)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(De){De!==this._required&&this._changeDetector.markForCheck(),this._required=De}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(De){this._color=De}_color;get disabledInteractive(){return this._disabledInteractive||null!==this.radioGroup&&this.radioGroup.disabledInteractive}set disabledInteractive(De){this._disabledInteractive=De}_disabledInteractive;change=new b.bkB;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=(0,q.Rc)();_injector=(0,f.WQX)(f.zZn);constructor(){(0,f.WQX)(N.l).load(ee.A);const De=(0,f.WQX)(K,{optional:!0}),Ie=(0,f.WQX)(new A.ES_("tabindex"),{optional:!0});this.radioGroup=De,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,Ie&&(this.tabIndex=(0,A.Udg)(Ie,0))}focus(De,Ie){Ie?this._focusMonitor.focusVia(this._inputElement,Ie,De):this._inputElement.nativeElement.focus(De)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((De,Ie)=>{De!==this.id&&Ie===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(De=>{!De&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Z(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(De){if(De.stopPropagation(),!this.checked&&!this.disabled){const Ie=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Ie&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(De){this._onInputInteraction(De),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(De){this._disabled!==De&&(this._disabled=De,this._changeDetector.markForCheck())}_onInputClick=De=>{this.disabled&&this.disabledInteractive&&De.preventDefault()};_updateTabIndex(){const De=this.radioGroup;let Ie;if(Ie=De&&De.selected&&!this.disabled?De.selected===this?this.tabIndex:-1:this.tabIndex,Ie!==this._previousTabIndex){const Me=this._inputElement?.nativeElement;Me&&(Me.setAttribute("tabindex",Ie+""),this._previousTabIndex=Ie,(0,b.mal)(()=>{queueMicrotask(()=>{De&&De.selected&&De.selected!==this&&document.activeElement===Me&&(De.selected?._inputElement.nativeElement.focus(),document.activeElement===Me&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(Ie){return new(Ie||_e)};static \u0275cmp=b.VBU({type:_e,selectors:[["mat-radio-button"]],viewQuery:function(Ie,Me){if(1&Ie&&(b.GBs(ne,5),b.GBs(X,7,b.aKT)),2&Ie){let Ze;b.mGM(Ze=b.lsd())&&(Me._inputElement=Ze.first),b.mGM(Ze=b.lsd())&&(Me._rippleTrigger=Ze.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(Ie,Me){1&Ie&&b.bIt("focus",function(){return Me._inputElement.nativeElement.focus()}),2&Ie&&(b.BMQ("id",Me.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),b.AVh("mat-primary","primary"===Me.color)("mat-accent","accent"===Me.color)("mat-warn","warn"===Me.color)("mat-mdc-radio-checked",Me.checked)("mat-mdc-radio-disabled",Me.disabled)("mat-mdc-radio-disabled-interactive",Me.disabledInteractive)("_mat-animation-noopable",Me._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",A.L39],tabIndex:[2,"tabIndex","tabIndex",De=>null==De?0:(0,A.Udg)(De)],checked:[2,"checked","checked",A.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",A.L39],required:[2,"required","required",A.L39],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",A.L39]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:W,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
1-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(Ie,Me){if(1&Ie){const Ze=b.RV6();b.NAR(),b.j41(0,"div",2,0)(2,"div",3)(3,"div",4),b.bIt("click",function(Je){return f.eBV(Ze),f.Njj(Me._onTouchTargetClick(Je))}),b.k0s(),b.j41(4,"input",5,1),b.bIt("change",function(Je){return f.eBV(Ze),f.Njj(Me._onInputInteraction(Je))}),b.k0s(),b.j41(6,"div",6),b.nrm(7,"div",7)(8,"div",8),b.k0s(),b.j41(9,"div",9),b.nrm(10,"div",10),b.k0s()(),b.j41(11,"label",11),b.SdG(12),b.k0s()()}2&Ie&&(b.Y8G("labelPosition",Me.labelPosition),b.R7$(2),b.AVh("mdc-radio--disabled",Me.disabled),b.R7$(2),b.Y8G("id",Me.inputId)("checked",Me.checked)("disabled",Me.disabled&&!Me.disabledInteractive)("required",Me.required),b.BMQ("name",Me.name)("value",Me.value)("aria-label",Me.ariaLabel)("aria-labelledby",Me.ariaLabelledby)("aria-describedby",Me.ariaDescribedby)("aria-disabled",Me.disabled&&Me.disabledInteractive?"true":null),b.R7$(5),b.Y8G("matRippleTrigger",Me._rippleTrigger.nativeElement)("matRippleDisabled",Me._isRippleDisabled())("matRippleCentered",!0),b.R7$(2),b.Y8G("for",Me.inputId))},dependencies:[B.r6,ie.t],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner
1-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>
1.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return _e})(),de=(()=>{class _e{static \u0275fac=function(Ie){return new(Ie||_e)};static \u0275mod=b.$C({type:_e});static \u0275inj=f.G2t({imports:[ve.y,U.p,te,ve.y]})}return _e})()},11048(Vt,Pe,d){"use strict";d.d(Pe,{E:()=>ve});var S=d(2615),E=d(73664),M=d(39842),f=d(44522),b=d(31804),A=d(12496);const R={capture:!0},N=["focus","mousedown","mouseenter","touchstart"],q="mat-ripple-loader-uninitialized",ee="mat-ripple-loader-class-name",B="mat-ripple-loader-centered",ie="mat-ripple-loader-disabled";let ve=(()=>{class U{_document=(0,S.WQX)(S.qQL);_animationsDisabled=(0,b.Rc)();_globalRippleOptions=(0,S.WQX)(A.$E,{optional:!0});_platform=(0,S.WQX)(M.O);_ngZone=(0,S.WQX)(E.SKi);_injector=(0,S.WQX)(S.zZn);_eventCleanups;_hosts=new Map;constructor(){const X=(0,S.WQX)(E._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>N.map(W=>X.listen(this._document,W,this._onInteraction,R)))}ngOnDestroy(){const X=this._hosts.keys();for(const W of X)this.destroyRipple(W);this._eventCleanups.forEach(W=>W())}configureRipple(X,W){X.setAttribute(q,this._globalRippleOptions?.namespace??""),(W.className||!X.hasAttribute(ee))&&X.setAttribute(ee,W.className||""),W.centered&&X.setAttribute(B,""),W.disabled&&X.setAttribute(ie,"")}setDisabled(X,W){const Z=this._hosts.get(X);Z?(Z.target.rippleDisabled=W,!W&&!Z.hasSetUpEvents&&(Z.hasSetUpEvents=!0,Z.renderer.setupTriggerEvents(X))):W?X.setAttribute(ie,""):X.removeAttribute(ie)}_onInteraction=X=>{const W=(0,f.Fb)(X);if(W instanceof HTMLElement){const Z=W.closest(`[${q}="${this._globalRippleOptions?.namespace??""}"]`);Z&&this._createRipple(Z)}};_createRipple(X){if(!this._document||this._hosts.has(X))return;X.querySelector(".mat-ripple")?.remove();const W=this._document.createElement("span");W.classList.add("mat-ripple",X.getAttribute(ee)),X.append(W);const Z=this._globalRippleOptions,re=this._animationsDisabled?0:Z?.animation?.enterDuration??A.EX.enterDuration,K=this._animationsDisabled?0:Z?.animation?.exitDuration??A.EX.exitDuration,ce={rippleDisabled:this._animationsDisabled||Z?.disabled||X.hasAttribute(ie),rippleConfig:{centered:X.hasAttribute(B),terminateOnPointerUp:Z?.terminateOnPointerUp,animation:{enterDuration:re,exitDuration:K}}},ue=new A.ug(ce,this._ngZone,W,this._platform,this._injector),ae=!ce.rippleDisabled;ae&&ue.setupTriggerEvents(X),this._hosts.set(X,{target:ce,renderer:ue,hasSetUpEvents:ae}),X.removeAttribute(q)}destroyRipple(X){const W=this._hosts.get(X);W&&(W.renderer._removeTriggerEvents(),this._hosts.delete(X))}static \u0275fac=function(W){return new(W||U)};static \u0275prov=S.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},26881(Vt,Pe,d){"use strict";d.d(Pe,{p:()=>f});var S=d(2615),E=d(73664),M=d(22466);let f=(()=>{class b{static \u0275fac=function(N){return new(N||b)};static \u0275mod=E.$C({type:b});static \u0275inj=S.G2t({imports:[M.y,M.y]})}return b})()},12496(Vt,Pe,d){"use strict";d.d(Pe,{$E:()=>ue,EX:()=>U,Ex:()=>ee,r6:()=>ae,ug:()=>K});var S=d(39842),E=d(83300),M=d(44522),f=d(73664),b=d(2615),A=d(95735),R=d(67847),N=d(88968),q=d(31804),ee=function(te){return te[te.FADING_IN=0]="FADING_IN",te[te.VISIBLE=1]="VISIBLE",te[te.FADING_OUT=2]="FADING_OUT",te[te.HIDDEN=3]="HIDDEN",te}(ee||{});class B{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ee.HIDDEN;constructor(de,_e,we,De=!1){this._renderer=de,this.element=_e,this.config=we,this._animationForciblyDisabledThroughCss=De}fadeOut(){this._renderer.fadeOutRipple(this)}}const ie=(0,E.B)({passive:!0,capture:!0});class ve{_events=new Map;addHandler(de,_e,we,De){const Ie=this._events.get(_e);if(Ie){const Me=Ie.get(we);Me?Me.add(De):Ie.set(we,new Set([De]))}else this._events.set(_e,new Map([[we,new Set([De])]])),de.runOutsideAngular(()=>{document.addEventListener(_e,this._delegateEventHandler,ie)}
vendor: 4,672 bytes, line 1
1)}removeHandler(de,_e,we){const De=this._events.get(de);if(!De)return;const Ie=De.get(_e);Ie&&(Ie.delete(we),0===Ie.size&&De.delete(_e),0===De.size&&(this._events.delete(de),document.removeEventListener(de,this._delegateEventHandler,ie)))}_delegateEventHandler=de=>{const _e=(0,M.Fb)(de);_e&&this._events.get(de.type)?.forEach((we,De)=>{(De===_e||De.contains(_e))&&we.forEach(Ie=>Ie.handleEvent(de))})}}const U={enterDuration:225,exitDuration:150},X=(0,E.B)({passive:!0,capture:!0}),W=["mousedown","touchstart"],Z=["mouseup","mouseleave","touchend","touchcancel"];let re=(()=>{class te{static \u0275fac=function(we){return new(we||te)};static \u0275cmp=f.VBU({type:te,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(we,De){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return te})();class K{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new ve;constructor(de,_e,we,De,Ie){this._target=de,this._ngZone=_e,this._platform=De,De.isBrowser&&(this._containerElement=(0,R.i8)(we)),Ie&&Ie.get(N.l).load(re)}fadeInRipple(de,_e,we={}){const De=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ie={...U,...we.animation};we.centered&&(de=De.left+De.width/2,_e=De.top+De.height/2);const Me=we.radius||function ce(te,de,_e){const we=Math.max(Math.abs(te-_e.left),Math.abs(te-_e.right)),De=Math.max(Math.abs(de-_e.top),Math.abs(de-_e.bottom));return Math.sqrt(we*we+De*De)}(de,_e,De),Ze=de-De.left,Ye=_e-De.top,Je=Ie.enterDuration,vt=document.createElement("div");vt.classList.add("mat-ripple-element"),vt.style.left=Ze-Me+"px",vt.style.top=Ye-Me+"px",vt.style.height=2*Me+"px",vt.style.width=2*Me+"px",null!=we.color&&(vt.style.backgroundColor=we.color),vt.style.transitionDuration=`${Je}ms`,this._containerElement.appendChild(vt);const $t=window.getComputedStyle(vt),xt=$t.transitionDuration,Ot="none"===$t.transitionProperty||"0s"===xt||"0s, 0s"===xt||0===De.width&&0===De.height,ke=new B(this,vt,we,Ot);vt.style.transform="scale3d(1, 1, 1)",ke.state=ee.FADING_IN,we.persistent||(this._mostRecentTransientRipple=ke);let qe=null;return!Ot&&(Je||Ie.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const At=()=>{qe&&(qe.fallbackTimer=null),clearTimeout(_t),this._finishRippleTransition(ke)},Ct=()=>this._destroyRipple(ke),_t=setTimeout(Ct,Je+100);vt.addEventListener("transitionend",At),vt.addEventListener("transitioncancel",Ct),qe={onTransitionEnd:At,onTransitionCancel:Ct,fallbackTimer:_t}}),this._activeRipples.set(ke,qe),(Ot||!Je)&&this._finishRippleTransition(ke),ke}fadeOutRipple(de){if(de.state===ee.FADING_OUT||de.state===ee.HIDDEN)return;const _e=de.element,we={...U,...de.config.animation};_e.style.transitionDuration=`${we.exitDuration}ms`,_e.style.opacity="0",de.state=ee.FADING_OUT,(de._animationForciblyDisabledThroughCss||!we.exitDuration)&&this._finishRippleTransition(de)}fadeOutAll(){this._getActiveRipples().forEach(de=>de.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(de=>{de.config.persistent||de.fadeOut()})}setupTriggerEvents(de){const _e=(0,R.i8)(de);!this._platform.isBrowser||!_e||_e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=_e,W.forEach(we=>{K._eventManager.addHandler(this._ngZone,we,_e,this)}))}handleEvent(de){"mousedown"===de.type?this._onMousedown(de):"touchstart"===de.type?this._onTouchStart(de):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Z.forEach(_e=>{this._triggerElement.addEventListener(_e,this,X)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(de){de.state===ee.FADING_IN?this._startFadeOutTransition(de):de.state===ee.FADING_OUT&&this._destroyRipple(de)}_startFadeOutTransition(de){const _e=de===this._mostRecentTransientRipple,{persistent:we}=de.config;de.state=ee.VISIBLE,!we&&(!_e||!this._isPointerDown)&&de.fadeOut()}_destroyRipple(de){const _e=this._activeRipples.get(de)??null;
1this._activeRipples.delete(de),this._activeRipples.size||(this._containerRect=null),de===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),de.state=ee.HIDDEN,null!==_e&&(de.element.removeEventListener("transitionend",_e.onTransitionEnd),de.element.removeEventListener("transitioncancel",_e.onTransitionCancel),null!==_e.fallbackTimer&&clearTimeout(_e.fallbackTimer)),de.element.remove()}_onMousedown(de){const _e=(0,A._)(de),we=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!_e&&!we&&(this._isPointerDown=!0,this.fadeInRipple(de.clientX,de.clientY,this._target.rippleConfig))}_onTouchStart(de){if(!this._target.rippleDisabled&&!(0,A.w)(de)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const _e=de.changedTouches;if(_e)for(let we=0;we<_e.length;we++)this.fadeInRipple(_e[we].clientX,_e[we].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(de=>{!de.config.persistent&&(de.state===ee.VISIBLE||de.config.terminateOnPointerUp&&de.state===ee.FADING_IN)&&de.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const de=this._triggerElement;de&&(W.forEach(_e=>K._eventManager.removeHandler(_e,de,this)),this._pointerUpEventsRegistered&&(Z.forEach(_e=>de.removeEventListener(_e,this,X)),this._pointerUpEventsRegistered=!1))}}const ue=new b.nKC("mat-ripple-global-options");let ae=(()=>{class te{_elementRef=(0,b.WQX)(f.aKT);_animationsDisabled=(0,q.Rc)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(_e){_e&&this.fadeOutAllNonPersistent(),this._disabled=_e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(_e){this._trigger=_e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const _e=(0,b.WQX)(f.SKi),we=(0,b.WQX)(S.O),De=(0,b.WQX)(ue,{optional:!0}),Ie=(0,b.WQX)(b.zZn);this._globalOptions=De||{},this._rippleRenderer=new K(this,_e,this._elementRef,we,Ie)}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:{...this._globalOptions.animation,...this._animationsDisabled?{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(_e,we=0,De){return"number"==typeof _e?this._rippleRenderer.fadeInRipple(_e,we,{...this.rippleConfig,...De}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,..._e})}static \u0275fac=function(we){return new(we||te)};static \u0275dir=f.FsC({type:te,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(we,De){2&we&&f.AVh("mat-ripple-unbounded",De.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"]})}return te})()},96183(Vt,Pe,d){"use strict";d.d(Pe,{$2:()=>Qn,VO:()=>An,Ve:()=>lr});var S=d(34056),E=d(2615),M=d(73664),f=d(17705),b=d(75272),A=d(44339),R=d(17094),N=d(89726),q=d(99090),ee=d(61577),B=d(83869),ie=d(67336),ve=d(10438),U=d(89417),ne=d(21413),X=d(59030),W=d(57786),Z=d(5964),re=d(96354),K=d(99172),ce=d(25558),ue=d(96697),ae=d(56977),te=d(72200),de=d(64727),_e=d(31804),we=d(23029),De=d(2709),Ie=d(39336),Me=d(40146),Ze=d(22466),Ye=d(71228);const Je=["trigger"],vt=["panel"],$t=[[["mat-select-trigger"]],"*"],Et=["mat-select-trigger","*"];function xt(jn,xr){if(1&jn&&(M.j41(0,"span",4),M.EFF(1),M.k0s()),2&jn){const tn=M.XpG();M.R7$(),M.JRh(tn.placeholder)}}function Ot(jn,xr){1&jn&&M.SdG(0)}function ke(jn,xr){if(1&jn&&(M.j41(0,"span",11),M.EFF(1),M.k0s()),2&jn){const tn=M.XpG(2);M.R7$(),M.JRh(tn.triggerValue)}}function qe(jn,xr){if(1&jn&&(M.j41(0,"span",5),M.nVh(1,Ot,1,0)(2,ke,2,1,"span",11),M.k0s()),2&jn){const tn=M.XpG();M.R7$(),M.vxM(tn.customTrigger?1:2)}}function At(jn,xr){if(1&jn){const tn=M.RV6();M.j41(0,"div",12,1),M.bIt("keydown",function(bn){E.eBV(tn);const Cn=M.XpG();return E.Njj(Cn._handleKeydown(bn))}),M.SdG(2,1),M.k0s()}if(2&jn){const tn=M.XpG();M.HbH(M.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",tn._getPanelTheme(
1))),M.AVh("mat-select-panel-animations-enabled",!tn._animationsDisabled),M.Y8G("ngClass",tn.panelClass),M.BMQ("id",tn.id+"-panel")("aria-multiselectable",tn.multiple)("aria-label",tn.ariaLabel||null)("aria-labelledby",tn._getPanelAriaLabelledby())}}const mt=new E.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const jn=(0,E.WQX)(E.zZn);return()=>(0,S.RH)(jn)}}),ut=new E.nKC("MAT_SELECT_CONFIG"),kt={provide:mt,deps:[],useFactory:function rt(jn){const xr=(0,E.WQX)(E.zZn);return()=>(0,S.RH)(xr)}},Dt=new E.nKC("MatSelectTrigger");class Sn{source;value;constructor(xr,tn){this.source=xr,this.value=tn}}let An=(()=>{class jn{_viewportRuler=(0,E.WQX)(b.Xj);_changeDetectorRef=(0,E.WQX)(f.gRc);_elementRef=(0,E.WQX)(M.aKT);_dir=(0,E.WQX)(ee.dS,{optional:!0});_idGenerator=(0,E.WQX)(N.g);_renderer=(0,E.WQX)(M.sFG);_parentFormField=(0,E.WQX)(de.xb,{optional:!0});ngControl=(0,E.WQX)(U.vO,{self:!0,optional:!0});_liveAnnouncer=(0,E.WQX)(R.Ai);_defaultOptions=(0,E.WQX)(ut,{optional:!0});_animationsDisabled=(0,_e.Rc)();_initialized=new ne.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(tn){const dn=this.options.toArray()[tn];if(dn){const bn=this.panel.nativeElement,Cn=(0,we.jb)(tn,this.options,this.optionGroups),En=dn._getHostElement();bn.scrollTop=0===tn&&1===Cn?0:(0,we.TL)(En.offsetTop,En.offsetHeight,bn.scrollTop,bn.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(tn){return new Sn(this,tn)}_scrollStrategyFactory=(0,E.WQX)(mt);_panelOpen=!1;_compareWith=(tn,dn)=>tn===dn;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new ne.B;_errorStateTracker;stateChanges=new ne.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(tn){this._disableRipple.set(tn)}_disableRipple=(0,E.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(tn){this._hideSingleSelectionIndicator=tn,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(tn){this._placeholder=tn,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(U.k0.required)??!1}set required(tn){this._required=tn,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(tn){this._multiple=tn}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(tn){this._compareWith=tn,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(tn){this._assignValue(tn)&&this._onChange(tn)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(tn){this._errorStateTracker.matcher=tn}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(tn){this._id=tn||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(tn){this._errorStateTracker.errorState=tn}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,X.v)(()=>{const tn=this.options;return tn?tn.changes.pipe((0,K.Z)(tn),(0,ce.n)(()=>(0,W.h)(...tn.map(dn=>dn.onSelectionChange)))):this._initialized.pipe((0,ce.n)(()=>this.optionSelectionChanges))});openedChange=new M.bkB;
1_openedStream=this.openedChange.pipe((0,Z.p)(tn=>tn),(0,re.T)(()=>{}));_closedStream=this.openedChange.pipe((0,Z.p)(tn=>!tn),(0,re.T)(()=>{}));selectionChange=new M.bkB;valueChange=new M.bkB;constructor(){const tn=(0,E.WQX)(De.e),dn=(0,E.WQX)(U.cV,{optional:!0}),bn=(0,E.WQX)(U.j4,{optional:!0}),Cn=(0,E.WQX)(new f.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Ie.X(tn,this.ngControl,bn,dn,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Cn?0:parseInt(Cn)||0,this.id=this.id}ngOnInit(){this._selectionModel=new B.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,ae.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,ae.Q)(this._destroy)).subscribe(tn=>{tn.added.forEach(dn=>dn.select()),tn.removed.forEach(dn=>dn.deselect())}),this.options.changes.pipe((0,K.Z)(null),(0,ae.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const tn=this._getTriggerAriaLabelledby(),dn=this.ngControl;if(tn!==this._triggerAriaLabelledBy){const bn=this._elementRef.nativeElement;this._triggerAriaLabelledBy=tn,tn?bn.setAttribute("aria-labelledby",tn):bn.removeAttribute("aria-labelledby")}dn&&(this._previousControl!==dn.control&&(void 0!==this._previousControl&&null!==dn.disabled&&dn.disabled!==this.disabled&&(this.disabled=dn.disabled),this._previousControl=dn.control),this.updateErrorState())}ngOnChanges(tn){(tn.disabled||tn.userAriaDescribedBy)&&this.stateChanges.next(),tn.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,ue.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const tn=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!tn)return;const dn=`${this.id}-panel`;this._trackedModal&&(0,A.Ae)(this._trackedModal,"aria-owns",dn),(0,A.px)(tn,"aria-owns",dn),this._trackedModal=tn}_clearFromModal(){this._trackedModal&&((0,A.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{dn(),clearTimeout(bn),this._cleanupDetach=void 0};const tn=this.panel.nativeElement,dn=this._renderer.listen(tn,"animationend",Cn=>{"_mat-select-exit"===Cn.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),bn=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);tn.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(tn){this._assignValue(tn)}registerOnChange(tn){this._onChange=tn}registerOnTouched(tn){this._onTouched=tn}setDisabledState(tn){this.disabled=tn,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const tn=this._selectionModel.selected.map(dn=>dn.viewValue);return this._isRtl()&&tn.reverse(),tn.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(tn){this.disabled||(this.panelOpen?this._handleOpenKeydown(tn):this._handleClosedKeydown(tn))}_handleClosedKeydown(tn){const dn=tn.keyCode,bn=dn===ve.n6||dn===ve.i7||dn===ve.UQ||dn===ve.LE,Cn=dn===ve.Fm||dn===ve.t6,En=this._keyManager;if(!En.isTyping()&&Cn&&!(0,ie.rp)(tn)||(this.multiple||tn.altKey)&&bn)tn.preventDefault(),this.open();else if(!this.multiple){const m=this.selected;En.onKeydown(tn);const Jn=this.selected;Jn&&m!==Jn&&this._liveAnnouncer.announce(Jn.viewValue,1e4)}}_handleOpenKeydown(tn){const dn=this._keyManager,bn=tn.keyCode,Cn=bn===ve.n6||bn===ve.i7,En=dn.isTyping();if(Cn&&tn.altKey)tn.preventDefault(),this.close();else if(En||bn!==ve.Fm&&bn!==ve.t6||!dn.activeItem||(0,ie.rp)(tn))if(!En&&this._multiple&&bn===ve.A&&tn.ctrlKey){tn.preventDefault();const m=this.options.some(Jn=>!Jn.disabled&&!Jn.selected);this.options.forEach(Jn=>{Jn.disabled||(m?Jn.select():Jn.deselect())})}else{const m=dn.activeItemIndex;
1dn.onKeydown(tn),this._multiple&&Cn&&tn.shiftKey&&dn.activeItem&&dn.activeItemIndex!==m&&dn.activeItem._selectViaInteraction()}else tn.preventDefault(),dn.activeItem._selectViaInteraction()}_handleOverlayKeydown(tn){tn.keyCode===ve._f&&!(0,ie.rp)(tn)&&(tn.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(tn){if(this.options.forEach(dn=>dn.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&tn)Array.isArray(tn),tn.forEach(dn=>this._selectOptionByValue(dn)),this._sortValues();else{const dn=this._selectOptionByValue(tn);dn?this._keyManager.updateActiveItem(dn):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(tn){const dn=this.options.find(bn=>{if(this._selectionModel.isSelected(bn))return!1;try{return(null!=bn.value||this.canSelectNullableOptions)&&this._compareWith(bn.value,tn)}catch{return!1}});return dn&&this._selectionModel.select(dn),dn}_assignValue(tn){return!!(tn!==this._value||this._multiple&&Array.isArray(tn))&&(this.options&&this._setSelectionByValue(tn),this._value=tn,!0)}_skipPredicate=tn=>!this.panelOpen&&tn.disabled;_getOverlayWidth(tn){return"auto"===this.panelWidth?(tn instanceof S.$Q?tn.elementRef:tn||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const tn of this.options)tn._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new q.A(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const tn=(0,W.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ae.Q)(tn)).subscribe(dn=>{this._onSelect(dn.source,dn.isUserInput),dn.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,W.h)(...this.options.map(dn=>dn._stateChanges)).pipe((0,ae.Q)(tn)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(tn,dn){const bn=this._selectionModel.isSelected(tn);this.canSelectNullableOptions||null!=tn.value||this._multiple?(bn!==tn.selected&&(tn.selected?this._selectionModel.select(tn):this._selectionModel.deselect(tn)),dn&&this._keyManager.setActiveItem(tn),this.multiple&&(this._sortValues(),dn&&this.focus())):(tn.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(tn.value)),bn!==this._selectionModel.isSelected(tn)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const tn=this.options.toArray();this._selectionModel.sort((dn,bn)=>this.sortComparator?this.sortComparator(dn,bn,tn):tn.indexOf(dn)-tn.indexOf(bn)),this.stateChanges.next()}}_propagateChanges(tn){let dn;dn=this.multiple?this.selected.map(bn=>bn.value):this.selected?this.selected.value:tn,this._value=dn,this.valueChange.emit(dn),this._onChange(dn),this.selectionChange.emit(this._getChangeEvent(dn)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let tn=-1;for(let dn=0;dn<this.options.length;dn++)if(!this.options.get(dn).disabled){tn=dn;break}this._keyManager.setActiveItem(tn)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(tn){this._elementRef.nativeElement.focus(tn)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const tn=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(tn?tn+" ":"")+this.ariaLabelledby:tn}
1_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let tn=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(tn+=" "+this.ariaLabelledby),tn||(tn=this._valueId),tn}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(tn){tn.length?this._elementRef.nativeElement.setAttribute("aria-describedby",tn.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(dn){return new(dn||jn)};static \u0275cmp=M.VBU({type:jn,selectors:[["mat-select"]],contentQueries:function(dn,bn,Cn){if(1&dn&&(M.wni(Cn,Dt,5),M.wni(Cn,we.wT,5),M.wni(Cn,we.QC,5)),2&dn){let En;M.mGM(En=M.lsd())&&(bn.customTrigger=En.first),M.mGM(En=M.lsd())&&(bn.options=En),M.mGM(En=M.lsd())&&(bn.optionGroups=En)}},viewQuery:function(dn,bn){if(1&dn&&(M.GBs(Je,5),M.GBs(vt,5),M.GBs(S.WB,5)),2&dn){let Cn;M.mGM(Cn=M.lsd())&&(bn.trigger=Cn.first),M.mGM(Cn=M.lsd())&&(bn.panel=Cn.first),M.mGM(Cn=M.lsd())&&(bn._overlayDir=Cn.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(dn,bn){1&dn&&M.bIt("keydown",function(En){return bn._handleKeydown(En)})("focus",function(){return bn._onFocus()})("blur",function(){return bn._onBlur()}),2&dn&&(M.BMQ("id",bn.id)("tabindex",bn.disabled?-1:bn.tabIndex)("aria-controls",bn.panelOpen?bn.id+"-panel":null)("aria-expanded",bn.panelOpen)("aria-label",bn.ariaLabel||null)("aria-required",bn.required.toString())("aria-disabled",bn.disabled.toString())("aria-invalid",bn.errorState)("aria-activedescendant",bn._getAriaActiveDescendant()),M.AVh("mat-mdc-select-disabled",bn.disabled)("mat-mdc-select-invalid",bn.errorState)("mat-mdc-select-required",bn.required)("mat-mdc-select-empty",bn.empty)("mat-mdc-select-multiple",bn.multiple)("mat-select-open",bn.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",f.L39],disableRipple:[2,"disableRipple","disableRipple",f.L39],tabIndex:[2,"tabIndex","tabIndex",tn=>null==tn?0:(0,f.Udg)(tn)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",f.L39],placeholder:"placeholder",required:[2,"required","required",f.L39],multiple:[2,"multiple","multiple",f.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",f.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",f.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",f.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[M.Jv_([{provide:de.qT,useExisting:jn},{provide:we.is,useExisting:jn}]),M.OA$],ngContentSelectors:Et,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(dn,bn){if(1&dn){const Cn=M.RV6();M.NAR($t),M.j41(0,"div",2,0),M.bIt("click",function(){return E.eBV(Cn),E.Njj(bn.open())}),M.j41(3,"div",3),M.nVh(4,xt,2,1,"span",4)(5,qe,3,1,"span",5),M.k0s(),M.j41(6,"div",6)(7,"div",7),E.qSk(),M.j41(8,"svg",8),M.nrm(9,"path",9),M.k0s()()()(),M.DNE(10,At,3,10,"ng-template",10),M.bIt("detach",function(){return E.eBV(Cn),E.Njj(bn.close())})("backdropClick",function(){return E.eBV(Cn),E.Njj(bn.close())})("overlayKeydown",function(m){return E.eBV(Cn),E.Njj(bn._handleOverlayKeydown(m))})}if(2&dn){const Cn=M.sdS(1);M.R7$(3),M.BMQ("id",bn._valueId),M.R7$(),M.vxM(bn.empty?4:5),M.R7$(6),M.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",bn._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",bn._scrollStrategy)("cdkConnectedOverlayOrigin",bn._preferredOverlayOrigin||Cn)("cdkConnectedOverlayPositions",bn._positions)("cdkConnectedOverlayWidth",bn._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[S.$Q,S.WB,te.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}
1}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return jn})(),Qn=(()=>{class jn{static \u0275fac=function(dn){return new(dn||jn)};static \u0275dir=M.FsC({type:jn,selectors:[["mat-select-trigger"]],features:[M.Jv_([{provide:Dt,useExisting:jn}])]})}return jn})(),lr=(()=>{class jn{static \u0275fac=function(dn){return new(dn||jn)};static \u0275mod=M.$C({type:jn});static \u0275inj=E.G2t({providers:[kt],imports:[S.z_,Me.S,Ze.y,b.Gj,Ye.R,Me.S,Ze.y]})}return jn})()},30450(Vt,Pe,d){"use strict";d.d(Pe,{FH:()=>X,mV:()=>re,sG:()=>Z});var S=d(2615),E=d(73664),M=d(17705),f=d(89417),b=d(76838),A=d(89726),R=d(88968),N=d(31804),q=d(32046),ee=d(12496),B=d(53155),ie=d(22466);const ve=["switch"],U=["*"];function ne(K,ce){1&K&&(E.j41(0,"span",11),S.qSk(),E.j41(1,"svg",13),E.nrm(2,"path",14),E.k0s(),E.j41(3,"svg",15),E.nrm(4,"path",16),E.k0s()())}const X=new S.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})});class W{source;checked;constructor(ce,ue){this.source=ce,this.checked=ue}}let Z=(()=>{class K{_elementRef=(0,S.WQX)(E.aKT);_focusMonitor=(0,S.WQX)(b.FN);_changeDetectorRef=(0,S.WQX)(M.gRc);defaults=(0,S.WQX)(X);_onChange=ue=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(ue){return new W(this,ue)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=(0,N.Rc)();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(ue){this._checked=ue,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new E.bkB;toggleChange=new E.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,S.WQX)(R.l).load(q.A);const ue=(0,S.WQX)(new M.ES_("tabindex"),{optional:!0}),ae=this.defaults;this.tabIndex=null==ue?0:parseInt(ue)||0,this.color=ae.color||"accent",this.id=this._uniqueId=(0,S.WQX)(A.g).getId("mat-mdc-slide-toggle-"),this.hideIcon=ae.hideIcon??!1,this.disabledInteractive=ae.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ue=>{"keyboard"===ue||"program"===ue?(this._focused=!0,this._changeDetectorRef.markForCheck()):ue||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}
1ngOnChanges(ue){ue.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(ue){this.checked=!!ue}registerOnChange(ue){this._onChange=ue}registerOnTouched(ue){this._onTouched=ue}validate(ue){return this.required&&!0!==ue.value?{required:!0}:null}registerOnValidatorChange(ue){this._validatorOnChange=ue}setDisabledState(ue){this.disabled=ue,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new W(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(ae){return new(ae||K)};static \u0275cmp=E.VBU({type:K,selectors:[["mat-slide-toggle"]],viewQuery:function(ae,te){if(1&ae&&E.GBs(ve,5),2&ae){let de;E.mGM(de=E.lsd())&&(te._switchElement=de.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ae,te){2&ae&&(E.Avn("id",te.id),E.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),E.HbH(te.color?"mat-"+te.color:""),E.AVh("mat-mdc-slide-toggle-focused",te._focused)("mat-mdc-slide-toggle-checked",te.checked)("_mat-animation-noopable",te._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",M.L39],color:"color",disabled:[2,"disabled","disabled",M.L39],disableRipple:[2,"disableRipple","disableRipple",M.L39],tabIndex:[2,"tabIndex","tabIndex",ue=>null==ue?0:(0,M.Udg)(ue)],checked:[2,"checked","checked",M.L39],hideIcon:[2,"hideIcon","hideIcon",M.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",M.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[E.Jv_([{provide:f.kq,useExisting:(0,S.Rfq)(()=>K),multi:!0},{provide:f.cz,useExisting:K,multi:!0}]),E.OA$],ngContentSelectors:U,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(ae,te){if(1&ae){const de=E.RV6();E.NAR(),E.j41(0,"div",1)(1,"button",2,0),E.bIt("click",function(){return S.eBV(de),S.Njj(te._handleClick())}),E.nrm(3,"div",3)(4,"span",4),E.j41(5,"span",5)(6,"span",6)(7,"span",7),E.nrm(8,"span",8),E.k0s(),E.j41(9,"span",9),E.nrm(10,"span",10),E.k0s(),E.nVh(11,ne,5,0,"span",11),E.k0s()()(),E.j41(12,"label",12),E.bIt("click",function(we){return S.eBV(de),S.Njj(we.stopPropagation())}),E.SdG(13),E.k0s()()}if(2&ae){const de=E.sdS(2);E.Y8G("labelPosition",te.labelPosition),E.R7$(),E.AVh("mdc-switch--selected",te.checked)("mdc-switch--unselected",!te.checked)("mdc-switch--checked",te.checked)("mdc-switch--disabled",te.disabled)("mat-mdc-slide-toggle-disabled-interactive",te.disabledInteractive),E.Y8G("tabIndex",te.disabled&&!te.disabledInteractive?-1:te.tabIndex)("disabled",te.disabled&&!te.disabledInteractive),E.BMQ("id",te.buttonId)("name",te.name)("aria-label",te.ariaLabel)("aria-labelledby",te._getAriaLabelledBy())("aria-describedby",te.ariaDescribedby)("aria-required",te.required||null)("aria-checked",te.checked)("aria-disabled",te.disabled&&te.disabledInteractive?"true":null),E.R7$(9),E.Y8G("matRippleTrigger",de)("matRippleDisabled",te.disableRipple||te.disabled)("matRippleCentered",!0),E.R7$(),E.vxM(te.hideIcon?-1:11),E.R7$(),E.Y8G("for",te.buttonId),E.BMQ("id",te._labelId)}},dependencies:[ee.r6,B.t],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;
1width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-sl
1ide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-sl
1ide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-sl
1ide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);
1fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return K})(),re=(()=>{class K{static \u0275fac=function(ae){return new(ae||K)};static \u0275mod=E.$C({type:K});static \u0275inj=S.G2t({imports:[Z,ie.y,ie.y]})}return K})()},95416(Vt,Pe,d){"use strict";d.d(Pe,{TQ:()=>ce,UG:()=>Je,_T:()=>$t,ht:()=>ue});var S=d(2615),E=d(73664),M=d(17705),f=d(21413),b=d(7673),A=d(88834),R=d(17094),N=d(89726),q=d(39842),ee=d(76939),B=d(31804),ie=d(99327),ve=d(34330),U=d(34056),ne=d(56977),X=d(22466);function W(xt,Ot){if(1&xt){const ke=E.RV6();E.j41(0,"div",1)(1,"button",2),E.bIt("click",function(){S.eBV(ke);const At=E.XpG();return S.Njj(At.action())}),E.EFF(2),E.k0s()()}if(2&xt){const ke=E.XpG();E.R7$(2),E.SpI(" ",ke.data.action," ")}}const Z=["label"];function re(xt,Ot){}const K=Math.pow(2,31)-1;class ce{_overlayRef;instance;containerInstance;_afterDismissed=new f.B;_afterOpened=new f.B;_onAction=new f.B;_durationTimeoutId;_dismissedByAction=!1;constructor(Ot,ke){this._overlayRef=ke,this.containerInstance=Ot,Ot._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Ot){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Ot,K))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const ue=new S.nKC("MatSnackBarData");class ae{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let te=(()=>{class xt{static \u0275fac=function(qe){return new(qe||xt)};static \u0275dir=E.FsC({type:xt,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return xt})(),de=(()=>{class xt{static \u0275fac=function(qe){return new(qe||xt)};static \u0275dir=E.FsC({type:xt,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return xt})(),_e=(()=>{class xt{static \u0275fac=function(qe){return new(qe||xt)};static \u0275dir=E.FsC({type:xt,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return xt})(),we=(()=>{class xt{snackBarRef=(0,S.WQX)(ce);data=(0,S.WQX)(ue);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(qe){return new(qe||xt)};static \u0275cmp=E.VBU({type:xt,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(qe,At){1&qe&&(E.j41(0,"div",0),E.EFF(1),E.k0s(),E.nVh(2,W,3,1,"div",1)),2&qe&&(E.R7$(),E.SpI(" ",At.data.message,"\n"),E.R7$(),E.vxM(At.hasAction?2:-1))},dependencies:[A.$z,te,de,_e],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],encapsulation:2,changeDetection:0})}return xt})();const De="_mat-snack-bar-enter",Ie="_mat-snack-bar-exit";let Me=(()=>{class xt extends ee.lb{_ngZone=(0,S.WQX)(E.SKi);_elementRef=(0,S.WQX)(E.aKT);_changeDetectorRef=(0,S.WQX)(M.gRc);_platform=(0,S.WQX)(q.O);_animationsDisabled=(0,B.Rc)();snackBarConfig=(0,S.WQX)(ae);_document=(0,S.WQX)(S.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,S.WQX)(S.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
1_onAnnounce=new f.B;_onExit=new f.B;_onEnter=new f.B;_animationState="void";_live;_label;_role;_liveElementId=(0,S.WQX)(N.g).getId("mat-snack-bar-container-live-");constructor(){super();const ke=this.snackBarConfig;this._live="assertive"!==ke.politeness||ke.announcementMessage?"off"===ke.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ke){this._assertNotAttached();const qe=this._portalOutlet.attachComponentPortal(ke);return this._afterPortalAttached(),qe}attachTemplatePortal(ke){this._assertNotAttached();const qe=this._portalOutlet.attachTemplatePortal(ke);return this._afterPortalAttached(),qe}attachDomPortal=ke=>{this._assertNotAttached();const qe=this._portalOutlet.attachDomPortal(ke);return this._afterPortalAttached(),qe};onAnimationEnd(ke){ke===Ie?this._completeExit():ke===De&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,E.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(De)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(De)},200)))}exit(){return this._destroyed?(0,b.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,E.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Ie)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Ie),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const ke=this._elementRef.nativeElement,qe=this.snackBarConfig.panelClass;qe&&(Array.isArray(qe)?qe.forEach(_t=>ke.classList.add(_t)):ke.classList.add(qe)),this._exposeToModals();const At=this._label.nativeElement,Ct="mdc-snackbar__label";At.classList.toggle(Ct,!At.querySelector(`.${Ct}`))}_exposeToModals(){const ke=this._liveElementId,qe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let At=0;At<qe.length;At++){const Ct=qe[At],_t=Ct.getAttribute("aria-owns");this._trackedModals.add(Ct),_t?-1===_t.indexOf(ke)&&Ct.setAttribute("aria-owns",_t+" "+ke):Ct.setAttribute("aria-owns",ke)}}_clearFromModals(){this._trackedModals.forEach(ke=>{const qe=ke.getAttribute("aria-owns");if(qe){const At=qe.replace(this._liveElementId,"").trim();At.length>0?ke.setAttribute("aria-owns",At):ke.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const ke=this._elementRef.nativeElement,qe=ke.querySelector("[aria-hidden]"),At=ke.querySelector("[aria-live]");if(qe&&At){let Ct=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&qe.contains(document.activeElement)&&(Ct=document.activeElement),qe.removeAttribute("aria-hidden"),At.appendChild(qe),Ct?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(qe){return new(qe||xt)};static \u0275cmp=E.VBU({type:xt,selectors:[["mat-snack-bar-container"]],viewQuery:function(qe,At){if(1&qe&&(E.GBs(ee.I3,7),E.GBs(Z,7)),2&qe){let Ct;E.mGM(Ct=E.lsd())&&(At._portalOutlet=Ct.first),E.mGM(Ct=E.lsd())&&(At._label=Ct.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(qe,At){1&qe&&E.bIt("animationend",function(_t){return At.onAnimationEnd(_t.animationName)})("animationcancel",function(_t){return At.onAnimationEnd(_t.animationName)}),2&qe&&E.AVh("mat-snack-bar-container-enter","visible"===At._animationState)("mat-snack-bar-container-exit","hidden"===At._animationState)("mat-snack-bar-container-animations-enabled",!At._animationsDisabled)},features:[E.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(qe,At){1&qe&&(E.j41(0,"div",1)(1,"div",2,0)(3,"div",3),E.DNE(4,re,0,0,"ng-template",4),E.k0s(),E.nrm(5,"div"),E.k0s()()),2&qe&&(E.R7$(5),E.BMQ("aria-l
1ive",At._live)("role",At._role)("id",At._liveElementId))},dependencies:[ee.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return xt})();const Ye=new S.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Ze(){return new ae}});let Je=(()=>{class xt{_live=(0,S.WQX)(R.Ai);_injector=(0,S.WQX)(S.zZn);_breakpointObserver=(0,S.WQX)(ve.Q);_parentSnackBar=(0,S.WQX)(xt,{optional:!0,skipSelf:!0});_defaultConfig=(0,S.WQX)(Ye);_animationsDisabled=(0,B.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=we;snackBarContainerComponent=Me;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const ke=this._parentSnackBar;return ke?ke._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ke){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ke:this._snackBarRefAtThisLevel=ke}constructor(){}openFromComponent(ke,qe){return this._attach(ke,qe)}openFromTemplate(ke,qe){return this._attach(ke,qe)}open(ke,qe="",At){const Ct={...this._defaultConfig,...At};return Ct.data={message:ke,action:qe},Ct.announcementMessage===ke&&(Ct.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Ct)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ke,qe){const Ct=S.zZn.create({parent:qe&&qe.viewContainerRef&&qe.viewContainerRef.injector||this._injector,providers:[{provide:ae,useValue:qe}]}),_t=new ee.A8(this.snackBarContainerComponent,qe.viewContainerRef,Ct),Ke=ke.attach(_t);return Ke.instance.snackBarConfig=qe,Ke.instance}_attach(ke,qe){const At={...new ae,...this._defaultConfig,...qe},Ct=this._createOverlay(At),_t=this._attachSnackBarContainer(Ct,At),Ke=new ce(_t,Ct);if(ke instanceof E.C4Q){const mt=new ee.VA(ke,null,{$implicit:At.data,snackBarRef:Ke});Ke.instance=_t.attachTemplatePortal(mt)}else{const mt=this._createInjector(At,Ke),rt=new ee.A8(ke,void 0,mt),ut=_t.attachComponentPortal(rt);Ke.instance=ut.instance}return this._breakpointObserver.observe(ie.Rp.HandsetPortrait).pipe((0,ne.Q)(Ct.detachments())).subscribe(mt=>{Ct.overlayElement.classList.toggle(this.handsetCssClass,mt.matches)}),At.announcementMessage&&_t._onAnnounce.subscribe(()=>{this._live.announce(At.announcementMessage,At.politeness)}),this._animateSnackBar(Ke,At),this._openedSnackBarRef=Ke,this._openedSnackBarRef}_animateSnackBar(ke,qe){ke.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ke&&(this._openedSnackBarRef=null),qe.announcementMessage&&this._live.clear()}),qe.duration&&qe.duration>0&&ke.afterOpened().subscribe(()=>ke._dismissAfter(qe.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ke.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ke.containerInstance.enter()}_createOverlay(ke){const qe=new U.rR;qe.direction=ke.direction;const At=(0,U.uA)(this._injector),Ct="rtl"===ke.direction,_t="left"===ke.horizontalPosition||"start"===ke.horizontalPosition&&!Ct||"end"===ke.horizontalPosition&&Ct,Ke=!_t&&"center"!==ke.horizontalPosition;return _t?At.left("0"):Ke?At.right("0"):At.centerHorizontally(),"top"===ke.verticalPosition?At.top("0"):At.bottom("0"),qe.positionStrategy=At,qe.disableAnimations=this._animationsDisabled,(0,U.Y$)(this._injector,qe)}_createInjector(ke,qe){return S.zZn.create({parent:ke&&ke.viewContainerRef&&ke.viewContainerRef.injector||this._injector,providers:[{provide:ce,useValue:qe},{provide:ue,useValue:ke.data}]})}static \u0275fac=function(qe){return new(qe||xt)};static \u0275prov=S.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})(),$t=(()=>{class xt{static \u0275fac=function(qe){return new(qe||xt)};static \u0275mod=E.$C({type:xt});static \u0275inj=S.G2t({providers:[Je],imports:[U.z_,ee.jc,A.Hl,X.y,we,X.y]})}return xt})()},32046(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(73664);let E=(()=>{class M{static \u0275fac=function(A){return new(A||M)};static \u0275cmp=S.VBU({type:M,selectors:[["structural-styles"]],decls:0,vars:0,template:function(A,R){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return M})()},86156(Vt,Pe,d){"use strict";d.d(Pe,{u:()=>N});var S=d(2615),E=d(73664),M=d(17094),f=d(34056),b=d(75272),A=d(40455),R=d(22466);let N=(()=>{class q{static \u0275fac=function(ie){return new(ie||q)};static \u0275mod=E.$C({type:q});static \u0275inj=S.G2t({providers:[A.YZ],imports:[M.Pd,f.z_,R.y,R.y,b.Gj]})}return q})()},40455(Vt,Pe,d){"use strict";d.d(Pe,{YZ:()=>de,oV:()=>$t});var S=d(56977),E=d(14085),M=d(67847),f=d(67336),b=d(10438),A=d(2615),R=d(73664),N=d(17705),q=d(72200),ee=d(39842),B=d(83300),ie=d(44339),ve=d(76838),U=d(61577),ne=d(34056),X=d(75272),W=d(76939),Z=d(21413),re=d(31804);const K=["tooltip"],ae=new A.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const xt=(0,A.WQX)(A.zZn);return()=>(0,ne.RH)(xt,{scrollThrottle:20})}}),de={provide:ae,deps:[],useFactory:function te(xt){const Ot=(0,A.WQX)(A.zZn);return()=>(0,ne.RH)(Ot,{scrollThrottle:20})}},we=new A.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function _e(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ie="tooltip-panel",Me=(0,B.B)({passive:!0});let $t=(()=>{class xt{_elementRef=(0,A.WQX)(R.aKT);_ngZone=(0,A.WQX)(R.SKi);_platform=(0,A.WQX)(ee.O);_ariaDescriber=(0,A.WQX)(ie.vr);_focusMonitor=(0,A.WQX)(ve.FN);_dir=(0,A.WQX)(U.dS);_injector=(0,A.WQX)(A.zZn);
1_viewContainerRef=(0,A.WQX)(R.c1b);_animationsDisabled=(0,re.Rc)();_defaultOptions=(0,A.WQX)(we,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=Et;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(ke){ke!==this._position&&(this._position=ke,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(ke){this._positionAtOrigin=(0,E.he)(ke),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(ke){const qe=(0,E.he)(ke);this._disabled!==qe&&(this._disabled=qe,qe?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(ke){this._showDelay=(0,M.OE)(ke)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(ke){this._hideDelay=(0,M.OE)(ke),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(ke){const qe=this._message;this._message=null!=ke?String(ke).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(qe)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(ke){this._tooltipClass=ke,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new Z.B;_isDestroyed=!1;constructor(){const ke=this._defaultOptions;ke&&(this._showDelay=ke.showDelay,this._hideDelay=ke.hideDelay,ke.position&&(this.position=ke.position),ke.positionAtOrigin&&(this.positionAtOrigin=ke.positionAtOrigin),ke.touchGestures&&(this.touchGestures=ke.touchGestures),ke.tooltipClass&&(this.tooltipClass=ke.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,S.Q)(this._destroyed)).subscribe(ke=>{ke?"keyboard"===ke&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const ke=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([qe,At])=>{ke.removeEventListener(qe,At,Me)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(ke,this.message,"tooltip"),this._focusMonitor.stopMonitoring(ke)}show(ke=this.showDelay,qe){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const At=this._createOverlay(qe);this._detach(),this._portal=this._portal||new W.A8(this._tooltipComponent,this._viewContainerRef);const Ct=this._tooltipInstance=At.attach(this._portal).instance;Ct._triggerElement=this._elementRef.nativeElement,Ct._mouseLeaveHideDelay=this._hideDelay,Ct.afterHidden().pipe((0,S.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ct.show(ke)}hide(ke=this.hideDelay){const qe=this._tooltipInstance;qe&&(qe.isVisible()?qe.hide(ke):(qe._cancelPendingAnimations(),this._detach()))}toggle(ke){this._isTooltipVisible()?this.hide():this.show(void 0,ke)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(ke){if(this._overlayRef){const _t=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!ke)&&_t._origin instanceof R.aKT)return this._overlayRef;this._detach()}const qe=this._injector.get(X.R).getAncestorScrollContainers(this._elementRef),At=`${this._cssClassPrefix}-${Ie}`,Ct=(0,ne.$M)(this._injector,this.positionAtOrigin&&ke||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(qe);return Ct.positionChanges.pipe((0,S.Q)(this._destroyed)).subscribe(_t=>{this._updateCurrentPositionClass(_t.connectionPair),this._tooltipInstance&&_t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,ne.Y$)(this._injector,{direction:this._dir,positionStrategy:Ct,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,At]:At,scrollStrategy:this._injector.get(ae)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,S.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,S.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,S.Q)(this._destroyed)).subscribe(_t=>{this._isTooltipVisible()&&_t.keyCode===b._f&&!(0,f.rp)(_t)&&(_t.preventDefault(),_t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,S.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(ke){const qe=ke.getConfig().positionStrategy,At=this._getOrigin(),Ct=this._getOverlayPosition();qe.withPositions([this._addOffset({...At.main,...Ct.main}),this._addOffset({...At.fallback,...Ct.fallback})])}_addOffset(ke){const At=!this._dir||"ltr"==this._dir.value;return"top"===ke.originY?ke.offsetY=-8:"bottom"===ke.originY?ke.offsetY=8:"start"===ke.originX?ke.offsetX=At?-8:8:"end"===ke.originX&&(ke.offsetX=At?8:-8),ke}_getOrigin(){const ke=!this._dir||"ltr"==this._dir.value,qe=this.position;let At;"above"==qe||"below"==qe?At={originX:"center",originY:"above"==qe?"top":"bottom"}:"before"==qe||"left"==qe&&ke||"right"==qe&&!ke?At={originX:"start",originY:"center"}:("after"==qe||"right"==qe&&ke||"left"==qe&&!ke)&&(At={originX:"end",originY:"center"});const{x:Ct,y:_t}=this._invertPosition(At.originX,At.originY);return{main:At,fallback:{originX:Ct,originY:_t}}}_getOverlayPosition(){const ke=!this._dir||"ltr"==this._dir.value,qe=this.position;let At;"above"==qe?At={overlayX:"center",overlayY:"bottom"}:"below"==qe?At={overlayX:"center",overlayY:"top"}:"before"==qe||"left"==qe&&ke||"right"==qe&&!ke?At={overlayX:"end",overlayY:"center"}:("after"==qe||"right"==qe&&ke||"left"==qe&&!ke)&&(At={overlayX:"start",overlayY:"center"});const{x:Ct,y:_t}=this._invertPosition(At.overlayX,At.overlayY);return{main:At,fallback:{overlayX:Ct,overlayY:_t}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,R.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(ke){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=ke,this._tooltipInstance._markForCheck())}_invertPosition(ke,qe){return"above"===this.position||"below"===this.position?"top"===qe?qe="bottom":"bottom"===qe&&(qe="top"):"end"===ke?ke="start":"start"===ke&&(ke="end"),{x:ke,y:qe}}_updateCurrentPositionClass(ke){const{overlayY:qe,originX:At,originY:Ct}=ke;let _t;if(_t="center"===qe?this._dir&&"rtl"===this._dir.value?"end"===At?"left"
1:"right":"start"===At?"left":"right":"bottom"===qe&&"top"===Ct?"above":"below",_t!==this._currentPosition){const Ke=this._overlayRef;if(Ke){const mt=`${this._cssClassPrefix}-${Ie}-`;Ke.removePanelClass(mt+this._currentPosition),Ke.addPanelClass(mt+_t)}this._currentPosition=_t}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",ke=>{let qe;this._setupPointerExitEventsIfNeeded(),void 0!==ke.x&&void 0!==ke.y&&(qe=ke),this.show(void 0,qe)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",ke=>{const qe=ke.targetTouches?.[0],At=qe?{x:qe.clientX,y:qe.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,At)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const ke=[];if(this._platformSupportsMouseEvents())ke.push(["mouseleave",qe=>{const At=qe.relatedTarget;(!At||!this._overlayRef?.overlayElement.contains(At))&&this.hide()}],["wheel",qe=>this._wheelListener(qe)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const qe=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};ke.push(["touchend",qe],["touchcancel",qe])}this._addListeners(ke),this._passiveListeners.push(...ke)}_addListeners(ke){ke.forEach(([qe,At])=>{this._elementRef.nativeElement.addEventListener(qe,At,Me)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(ke){if(this._isTooltipVisible()){const qe=this._injector.get(A.qQL).elementFromPoint(ke.clientX,ke.clientY),At=this._elementRef.nativeElement;qe!==At&&!At.contains(qe)&&this.hide()}}_disableNativeGesturesIfNecessary(){const ke=this.touchGestures;if("off"!==ke){const qe=this._elementRef.nativeElement,At=qe.style;("on"===ke||"INPUT"!==qe.nodeName&&"TEXTAREA"!==qe.nodeName)&&(At.userSelect=At.msUserSelect=At.webkitUserSelect=At.MozUserSelect="none"),("on"===ke||!qe.draggable)&&(At.webkitUserDrag="none"),At.touchAction="none",At.webkitTapHighlightColor="transparent"}}_syncAriaDescription(ke){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,ke,"tooltip"),this._isDestroyed||(0,R.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(qe){return new(qe||xt)};static \u0275dir=R.FsC({type:xt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(qe,At){2&qe&&R.AVh("mat-mdc-tooltip-disabled",At.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return xt})(),Et=(()=>{class xt{_changeDetectorRef=(0,A.WQX)(N.gRc);_elementRef=(0,A.WQX)(R.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,re.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new Z.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(ke){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},ke)}hide(ke){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},ke)}
1afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:ke}){(!ke||!this._triggerElement.contains(ke))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const ke=this._elementRef.nativeElement.getBoundingClientRect();return ke.height>24&&ke.width>=200}_handleAnimationEnd({animationName:ke}){(ke===this._showAnimation||ke===this._hideAnimation)&&this._finalizeAnimation(ke===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(ke){ke?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(ke){const qe=this._tooltip.nativeElement,At=this._showAnimation,Ct=this._hideAnimation;if(qe.classList.remove(ke?Ct:At),qe.classList.add(ke?At:Ct),this._isVisible!==ke&&(this._isVisible=ke,this._changeDetectorRef.markForCheck()),ke&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const _t=getComputedStyle(qe);("0s"===_t.getPropertyValue("animation-duration")||"none"===_t.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}ke&&this._onShow(),this._animationsDisabled&&(qe.classList.add("_mat-animation-noopable"),this._finalizeAnimation(ke))}static \u0275fac=function(qe){return new(qe||xt)};static \u0275cmp=R.VBU({type:xt,selectors:[["mat-tooltip-component"]],viewQuery:function(qe,At){if(1&qe&&R.GBs(K,7),2&qe){let Ct;R.mGM(Ct=R.lsd())&&(At._tooltip=Ct.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(qe,At){1&qe&&R.bIt("mouseleave",function(_t){return At._handleMouseLeave(_t)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(qe,At){if(1&qe){const Ct=R.RV6();R.j41(0,"div",1,0),R.bIt("animationend",function(Ke){return A.eBV(Ct),A.Njj(At._handleAnimationEnd(Ke))}),R.j41(2,"div",2),R.EFF(3),R.k0s()()}2&qe&&(R.AVh("mdc-tooltip--multiline",At._isMultiline),R.Y8G("ngClass",At.tooltipClass),R.R7$(3),R.JRh(At.message))},dependencies:[q.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],encapsulation:2,changeDetection:0})}return xt})()},345(Vt,Pe,d){"use strict";d.d(Pe,{W8:()=>we,hE:()=>Ie,up:()=>Ke});var te=d(2615),de=d(57303),_e=d(73664);let we=(()=>{class dn{_doc;_dom;
1constructor(Cn){this._doc=Cn,this._dom=(0,de.rb)()}addTag(Cn,En=!1){return Cn?this._getOrCreateElement(Cn,En):null}addTags(Cn,En=!1){return Cn?Cn.reduce((m,Jn)=>(Jn&&m.push(this._getOrCreateElement(Jn,En)),m),[]):[]}getTag(Cn){if(!Cn)return null;const En=this._doc.querySelector(`meta[${Cn}]`);return"meta"===En?.nodeName.toLowerCase()?En:null}getTags(Cn){if(!Cn)return[];const En=this._doc.querySelectorAll(`meta[${Cn}]`);return En?[].slice.call(En).filter(m=>"meta"===m.nodeName.toLowerCase()):[]}updateTag(Cn,En){if(!Cn)return null;En=En||this._parseSelector(Cn);const m=this.getTag(En);return m?this._setMetaElementAttributes(Cn,m):this._getOrCreateElement(Cn,!0)}removeTag(Cn){this.removeTagElement(this.getTag(Cn))}removeTagElement(Cn){Cn&&this._dom.remove(Cn)}_getOrCreateElement(Cn,En=!1){if(!En){const ni=this._parseSelector(Cn),Br=this.getTags(ni).filter(bi=>this._containsAttributes(Cn,bi))[0];if(void 0!==Br)return Br}const m=this._dom.createElement("meta");return this._setMetaElementAttributes(Cn,m),this._doc.getElementsByTagName("head")[0].appendChild(m),m}
1_setMetaElementAttributes(Cn,En){return Object.keys(Cn).forEach(m=>En.setAttribute(this._getMetaKeyMap(m),Cn[m])),En}_parseSelector(Cn){const En=Cn.name?"name":"property";return`${En}=${this._escapeSelectorValue(String(Cn[En]))}`}_escapeSelectorValue(Cn){return`"${Cn.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(Cn,En){return Object.keys(Cn).every(m=>En.getAttribute(this._getMetaKeyMap(m))===Cn[m])}_getMetaKeyMap(Cn){return De[Cn]||Cn}static \u0275fac=function(En){return new(En||dn)(te.KVO(te.qQL))};static \u0275prov=te.jDH({token:dn,factory:dn.\u0275fac,providedIn:"root"})}return dn})();const De={httpEquiv:"http-equiv"};let Ie=(()=>{class dn{_doc;constructor(Cn){this._doc=Cn}getTitle(){return this._doc.title}setTitle(Cn){this._doc.title=Cn||""}static \u0275fac=function(En){return new(En||dn)(te.KVO(te.qQL))};static \u0275prov=te.jDH({token:dn,factory:dn.\u0275fac,providedIn:"root"})}return dn})(),Ke=(()=>{class dn{static \u0275fac=function(En){return new(En||dn)};static \u0275prov=te.jDH({token:dn,factory:function(En){let m=null;return m=En?new(En||dn):te.KVO(mt),m},providedIn:"root"})}return dn})(),mt=(()=>{class dn extends Ke{_doc;constructor(Cn){super(),this._doc=Cn}sanitize(Cn,En){if(null==En)return null;switch(Cn){case _e.WPN.NONE:return En;case _e.WPN.HTML:return(0,_e.iWE)(En,"HTML")?(0,_e.aCM)(En):(0,_e.wr$)(this._doc,String(En)).toString();case _e.WPN.STYLE:return(0,_e.iWE)(En,"Style")?(0,_e.aCM)(En):En;case _e.WPN.SCRIPT:if((0,_e.iWE)(En,"Script"))return(0,_e.aCM)(En);throw new te.buA(5200,!1);case _e.WPN.URL:return(0,_e.iWE)(En,"URL")?(0,_e.aCM)(En):(0,_e.gil)(String(En));case _e.WPN.RESOURCE_URL:if((0,_e.iWE)(En,"ResourceURL"))return(0,_e.aCM)(En);throw new te.buA(5201,!1);default:throw new te.buA(5202,!1)}}bypassSecurityTrustHtml(Cn){return(0,_e.PYC)(Cn)}bypassSecurityTrustStyle(Cn){return(0,_e.rAh)(Cn)}bypassSecurityTrustScript(Cn){return(0,_e.p2i)(Cn)}bypassSecurityTrustUrl(Cn){return(0,_e.B1s)(Cn)}bypassSecurityTrustResourceUrl(Cn){return(0,_e.RPW)(Cn)}static \u0275fac=function(En){return new(En||dn)(te.KVO(te.qQL))};static \u0275prov=te.jDH({token:dn,factory:dn.\u0275fac,providedIn:"root"})}return dn})()},91029(Vt,Pe,d){"use strict";d.d(Pe,{D$:()=>Fl,Gl:()=>Rr,Ix:()=>oe,J2:()=>js,J_:()=>Ka,Lg:()=>qa,OY:()=>Gn,Pu:()=>fi,Sd:()=>bi,Us:()=>Jr,XR:()=>ha,Z:()=>Gt,Zp:()=>Ue,b:()=>Hr,bK:()=>Kl,bw:()=>Vs,c1:()=>qo,gk:()=>C,lW:()=>ri,mo:()=>kn,n3:()=>Ao,nU:()=>Kr,nX:()=>ai,tD:()=>es,wF:()=>Nn,wO:()=>bt,wU:()=>wo,we:()=>Di});var S=d(2615),E=d(57303),M=d(73664),f=d(17705),b=d(59295),A=d(71985),R=d(30017),N=d(21413),q=d(84412),ee=d(18359),B=d(71203),ie=d(74402),ve=d(9350),U=d(84572),ne=d(28793),X=d(59030),W=d(86648),Z=d(7673),re=d(18810),K=d(983),ce=d(99437),ue=d(70274),ae=d(39901),te=d(5964),de=d(70980),_e=d(61594),we=d(67018),De=d(96354),Ie=d(31397),Me=d(99898),Ze=d(22816),Ye=d(99172),Je=d(25558),vt=d(96697),$t=d(55109),Et=d(56977),xt=d(88141),Ot=d(345);const ke="primary",qe=Symbol("RouteTitle");class At{params;constructor(T){this.params=T||{}}has(T){return Object.prototype.hasOwnProperty.call(this.params,T)}get(T){if(this.has(T)){const O=this.params[T];return Array.isArray(O)?O[0]:O}return null}getAll(T){if(this.has(T)){const O=this.params[T];return Array.isArray(O)?O:[O]}return[]}get keys(){return Object.keys(this.params)}}function Ct(y){return new At(y)}function _t(y,T,O){const V=O.path.split("/");if(V.length>y.length||"full"===O.pathMatch&&(T.hasChildren()||V.length<y.length))return null;const J={};for(let H=0;H<V.length;H++){const z=V[H],Ce=y[H];if(":"===z[0])J[z.substring(1)]=Ce;else if(z!==Ce.path)return null}return{consumed:y.slice(0,V.length),posParams:J}}function mt(y,T){const O=y?rt(y):void 0,V=T?rt(T):void 0;if(!O||!V||O.length!=V.length)return!1;let J;for(let H=0;H<O.length;H++)if(J=O[H],!ut(y[J],T[J]))return!1;return!0}function rt(y){return[...Object.keys(y),...Object.getOwnPropertySymbols(y)]}function ut(y,T){if(Array.isArray(y)&&Array.isArray(T)){if(y.length!==T.length)return!1;const O=[...y].sort(),V=[...T].sort();return O.every((J,H)=>V[H]===J)}return y===T}function kt(y){return y.length>0?y[y.length-1]:null}
1function Dt(y){return(0,ie.A)(y)?y:(0,M.yLl)(y)?(0,W.H)(Promise.resolve(y)):(0,Z.of)(y)}const Sn={exact:function jn(y,T,O){if(!ni(y.segments,T.segments)||!bn(y.segments,T.segments,O)||y.numberOfChildren!==T.numberOfChildren)return!1;for(const V in T.children)if(!y.children[V]||!jn(y.children[V],T.children[V],O))return!1;return!0},subset:tn},An={exact:function lr(y,T){return mt(y,T)},subset:function xr(y,T){return Object.keys(T).length<=Object.keys(y).length&&Object.keys(T).every(O=>ut(y[O],T[O]))},ignored:()=>!0};function Qn(y,T,O){return Sn[O.paths](y.root,T.root,O.matrixParams)&&An[O.queryParams](y.queryParams,T.queryParams)&&!("exact"===O.fragment&&y.fragment!==T.fragment)}function tn(y,T,O){return dn(y,T,T.segments,O)}function dn(y,T,O,V){if(y.segments.length>O.length){const J=y.segments.slice(0,O.length);return!(!ni(J,O)||T.hasChildren()||!bn(J,O,V))}if(y.segments.length===O.length){if(!ni(y.segments,O)||!bn(y.segments,O,V))return!1;for(const J in T.children)if(!y.children[J]||!tn(y.children[J],T.children[J],V))return!1;return!0}{const J=O.slice(0,y.segments.length),H=O.slice(y.segments.length);return!!(ni(y.segments,J)&&bn(y.segments,J,V)&&y.children[ke])&&dn(y.children[ke],T,H,V)}}function bn(y,T,O){return T.every((V,J)=>An[O](y[J].parameters,V.parameters))}class Cn{root;queryParams;fragment;_queryParamMap;constructor(T=new En([],{}),O={},V=null){this.root=T,this.queryParams=O,this.fragment=V}get queryParamMap(){return this._queryParamMap??=Ct(this.queryParams),this._queryParamMap}toString(){return Lr.serialize(this)}}class En{segments;children;parent=null;constructor(T,O){this.segments=T,this.children=O,Object.values(O).forEach(V=>V.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yi(this)}}class m{path;parameters;_parameterMap;constructor(T,O){this.path=T,this.parameters=O}get parameterMap(){return this._parameterMap??=Ct(this.parameters),this._parameterMap}toString(){return Tt(this)}}function ni(y,T){return y.length===T.length&&y.every((O,V)=>O.path===T[V].path)}let bi=(()=>{class y{static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:()=>new Kr,providedIn:"root"})}return y})();class Kr{parse(T){const O=new He(T);return new Cn(O.parseRootSegment(),O.parseQueryParams(),O.parseFragment())}serialize(T){const O=`/${Ci(T.root,!0)}`,V=function Xt(y){const T=Object.entries(y).map(([O,V])=>Array.isArray(V)?V.map(J=>`${oo(O)}=${oo(J)}`).join("&"):`${oo(O)}=${oo(V)}`).filter(O=>O);return T.length?`?${T.join("&")}`:""}(T.queryParams);return`${O}${V}${"string"==typeof T.fragment?`#${function eo(y){return encodeURI(y)}(T.fragment)}`:""}`}}const Lr=new Kr;function yi(y){return y.segments.map(T=>Tt(T)).join("/")}function Ci(y,T){if(!y.hasChildren())return yi(y);if(T){const O=y.children[ke]?Ci(y.children[ke],!1):"",V=[];return Object.entries(y.children).forEach(([J,H])=>{J!==ke&&V.push(`${J}:${Ci(H,!1)}`)}),V.length>0?`${O}(${V.join("//")})`:O}{const O=function Br(y,T){let O=[];return Object.entries(y.children).forEach(([V,J])=>{V===ke&&(O=O.concat(T(J,V)))}),Object.entries(y.children).forEach(([V,J])=>{V!==ke&&(O=O.concat(T(J,V)))}),O}(y,(V,J)=>J===ke?[Ci(y.children[ke],!1)]:[`${J}:${Ci(V,!1)}`]);return 1===Object.keys(y.children).length&&null!=y.children[ke]?`${yi(y)}/${O[0]}`:`${yi(y)}/(${O.join("//")})`}}function yo(y){return encodeURIComponent(y).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function oo(y){return yo(y).replace(/%3B/gi,";")}function Ut(y){return yo(y).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pt(y){return decodeURIComponent(y)}function at(y){return pt(y.replace(/\+/g,"%20"))}function Tt(y){return`${Ut(y.path)}${function Bt(y){return Object.entries(y).map(([T,O])=>`;${Ut(T)}=${Ut(O)}`).join("")}(y.parameters)}`}const Pt=/^[^\/()?;#]+/;function wt(y){const T=y.match(Pt);return T?T[0]:""}const Kt=/^[^\/()?;=#]+/,Fn=/^[^=?&#]+/,Dn=/^[^&#]+/;class He{url;remaining;constructor(T){this.url=T,this.remaining=T}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new En([],{}):new En([],this.parseChildren())}parseQueryParams(){const T={};if(this.consumeOptional("?"))do{this.parseQueryParam(T)}while(this.consumeOptional("&"));return T}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const T=[];for(this.peekStartsWith("(")||T.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),T.push(this.parseSegment());let O={};this.peekStartsWith("/(")&&(this.capture("/"),O=this.parseParens(!0));let V={};return this.peekStartsWith("(")&&(V=this.parseParens(!1)),(T.length>0||Object.keys(O).length>0)&&(V[ke]=new En(T,O)),V}parseSegment(){const T=wt(this.remaining);if(""===T&&this.peekStartsWith(";"))throw new S.buA(4009,!1);return this.capture(T),new m(pt(T),this.parseMatrixParams())}parseMatrixParams(){const T={};for(;this.consumeOptional(";");)this.parseParam(T);return T}parseParam(T){const O=function xn(y){const T=y.match(Kt);return T?T[0]:""}(this.remaining);if(!O)return;this.capture(O);let V="";if(this.consumeOptional("=")){const J=wt(this.remaining);J&&(V=J,this.capture(V))}T[pt(O)]=pt(V)}parseQueryParam(T){const O=function fn(y){const T=y.match(Fn);return T?T[0]:""}(this.remaining);if(!O)return;this.capture(O);let V="";if(this.consumeOptional("=")){const z=function Ve(y){const T=y.match(Dn);return T?T[0]:""}(this.remaining);z&&(V=z,this.capture(V))}const J=at(O),H=at(V);if(T.hasOwnProperty(J)){let z=T[J];Array.isArray(z)||(z=[z],T[J]=z),z.push(H)}else T[J]=H}parseParens(T){const O={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const V=wt(this.remaining),J=this.remaining[V.length];if("/"!==J&&")"!==J&&";"!==J)throw new S.buA(4010,!1);let H;V.indexOf(":")>-1?(H=V.slice(0,V.indexOf(":")),this.capture(H),this.capture(":")):T&&(H=ke);const z=this.parseChildren();O[H??ke]=1===Object.keys(z).length&&z[ke]?z[ke]:new En([],z),this.consumeOptional("//")}return O}peekStartsWith(T){return this.remaining.startsWith(T)}consumeOptional(T){return!!this.peekStartsWith(T)&&(this.remaining=this.remaining.substring(T.length),!0)}capture(T){if(!this.consumeOptional(T))throw new S.buA(4011,!1)}}function p(y){return y.segments.length>0?new En([],{[ke]:y}):y}function Ht(y){const T={};for(const[V,J]of Object.entries(y.children)){const H=Ht(J);if(V===ke&&0===H.segments.length&&H.hasChildren())for(const[z,Ce]of Object.entries(H.children))T[z]=Ce;else(H.segments.length>0||H.hasChildren())&&(T[V]=H)}return function sn(y){if(1===y.numberOfChildren&&y.children[ke]){const T=y.children[ke];return new En(y.segments.concat(T.segments),T.children)}return y}(new En(y.segments,T))}function bt(y){return y instanceof Cn}function Vn(y){let T;const J=p(function O(H){const z={};for(const he of H.children){const Te=O(he);z[he.outlet]=Te}const Ce=new En(H.url,z);return H===y&&(T=Ce),Ce}(y.root));return T??J}function Wn(y,T,O,V){let J=y;for(;J.parent;)J=J.parent;if(0===T.length)return ur(J,J,J,O,V);const H=function gi(y){if("string"==typeof y[0]&&1===y.length&&"/"===y[0])return new Yr(!0,0,y);let T=0,O=!1;const V=y.reduce((J,H,z)=>{if("object"==typeof H&&null!=H){if(H.outlets){const Ce={};return Object.entries(H.outlets).forEach(([he,Te])=>{Ce[he]="string"==typeof Te?Te.split("/"):Te}),[...J,{outlets:Ce}]}if(H.segmentPath)return[...J,H.segmentPath]}return"string"!=typeof H?[...J,H]:0===z?(H.split("/").forEach((Ce,he)=>{0==he&&"."===Ce||(0==he&&""===Ce?O=!0:".."===Ce?T++:""!=Ce&&J.push(Ce))}),J):[...J,H]},[]);return new Yr(O,T,V)}(T);if(H.toRoot())return ur(J,J,new En([],{}),O,V);const z=function er(y,T,O){if(y.isAbsolute)return new ji(T,!0,0);if(!O)return new ji(T,!1,NaN);if(null===O.parent)return new ji(O,!0,0);const V=$n(y.commands[0])?0:1;return function mo(y,T,O){let V=y,J=T,H=O;for(;H>J;){if(H-=J,V=V.parent,!V)throw new S.buA(4005,!1);J=V.segments.length}return new ji(V,!1,J-H)}(O,O.segments.length-1+V,y.numberOfDoubleDots)}(H,J,y),Ce=z.processChildren?Ei(z.segmentGroup,z.index,H.commands):Ho(z.segmentGroup,z.index,H.commands);return ur(J,z.segmentGroup,Ce,O,V)}function $n(y){return"object"==typeof y&&null!=y&&!y.outlets&&!y.segmentPath}function _r(y){return"object"==typeof y&&null!=y&&y.outlets}function ur(y,T,O,V,J){let z,H={};
1V&&Object.entries(V).forEach(([he,Te])=>{H[he]=Array.isArray(Te)?Te.map(Oe=>`${Oe}`):`${Te}`}),z=y===T?O:cr(y,T,O);const Ce=p(Ht(z));return new Cn(Ce,H,J)}function cr(y,T,O){const V={};return Object.entries(y.children).forEach(([J,H])=>{V[J]=H===T?O:cr(H,T,O)}),new En(y.segments,V)}class Yr{isAbsolute;numberOfDoubleDots;commands;constructor(T,O,V){if(this.isAbsolute=T,this.numberOfDoubleDots=O,this.commands=V,T&&V.length>0&&$n(V[0]))throw new S.buA(4003,!1);const J=V.find(_r);if(J&&J!==kt(V))throw new S.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ji{segmentGroup;processChildren;index;constructor(T,O,V){this.segmentGroup=T,this.processChildren=O,this.index=V}}function Ho(y,T,O){if(y??=new En([],{}),0===y.segments.length&&y.hasChildren())return Ei(y,T,O);const V=function _i(y,T,O){let V=0,J=T;const H={match:!1,pathIndex:0,commandIndex:0};for(;J<y.segments.length;){if(V>=O.length)return H;const z=y.segments[J],Ce=O[V];if(_r(Ce))break;const he=`${Ce}`,Te=V<O.length-1?O[V+1]:null;if(J>0&&void 0===he)break;if(he&&Te&&"object"==typeof Te&&void 0===Te.outlets){if(!Zr(he,Te,z))return H;V+=2}else{if(!Zr(he,{},z))return H;V++}J++}return{match:!0,pathIndex:J,commandIndex:V}}(y,T,O),J=O.slice(V.commandIndex);if(V.match&&V.pathIndex<y.segments.length){const H=new En(y.segments.slice(0,V.pathIndex),{});return H.children[ke]=new En(y.segments.slice(V.pathIndex),y.children),Ei(H,0,J)}return V.match&&0===J.length?new En(y.segments,{}):V.match&&!y.hasChildren()?ti(y,T,O):V.match?Ei(y,0,J):ti(y,T,O)}function Ei(y,T,O){if(0===O.length)return new En(y.segments,{});{const V=function ei(y){return _r(y[0])?y[0].outlets:{[ke]:y}}(O),J={};if(Object.keys(V).some(H=>H!==ke)&&y.children[ke]&&1===y.numberOfChildren&&0===y.children[ke].segments.length){const H=Ei(y.children[ke],T,O);return new En(y.segments,H.children)}return Object.entries(V).forEach(([H,z])=>{"string"==typeof z&&(z=[z]),null!==z&&(J[H]=Ho(y.children[H],T,z))}),Object.entries(y.children).forEach(([H,z])=>{void 0===V[H]&&(J[H]=z)}),new En(y.segments,J)}}function ti(y,T,O){const V=y.segments.slice(0,T);let J=0;for(;J<O.length;){const H=O[J];if(_r(H)){const he=Uo(H.outlets);return new En(V,he)}if(0===J&&$n(O[0])){V.push(new m(y.segments[T].path,xo(O[0]))),J++;continue}const z=_r(H)?H.outlets[ke]:`${H}`,Ce=J<O.length-1?O[J+1]:null;z&&Ce&&$n(Ce)?(V.push(new m(z,xo(Ce))),J+=2):(V.push(new m(z,{})),J++)}return new En(V,{})}function Uo(y){const T={};return Object.entries(y).forEach(([O,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(T[O]=ti(new En([],{}),0,V))}),T}function xo(y){const T={};return Object.entries(y).forEach(([O,V])=>T[O]=`${V}`),T}function Zr(y,T,O){return y==O.path&&mt(T,O.parameters)}const wo="imperative";var dt=function(y){return y[y.NavigationStart=0]="NavigationStart",y[y.NavigationEnd=1]="NavigationEnd",y[y.NavigationCancel=2]="NavigationCancel",y[y.NavigationError=3]="NavigationError",y[y.RoutesRecognized=4]="RoutesRecognized",y[y.ResolveStart=5]="ResolveStart",y[y.ResolveEnd=6]="ResolveEnd",y[y.GuardsCheckStart=7]="GuardsCheckStart",y[y.GuardsCheckEnd=8]="GuardsCheckEnd",y[y.RouteConfigLoadStart=9]="RouteConfigLoadStart",y[y.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",y[y.ChildActivationStart=11]="ChildActivationStart",y[y.ChildActivationEnd=12]="ChildActivationEnd",y[y.ActivationStart=13]="ActivationStart",y[y.ActivationEnd=14]="ActivationEnd",y[y.Scroll=15]="Scroll",y[y.NavigationSkipped=16]="NavigationSkipped",y}(dt||{});class Yt{id;url;constructor(T,O){this.id=T,this.url=O}}class Gt extends Yt{type=dt.NavigationStart;navigationTrigger;restoredState;constructor(T,O,V="imperative",J=null){super(T,O),this.navigationTrigger=V,this.restoredState=J}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Nn extends Yt{urlAfterRedirects;type=dt.NavigationEnd;constructor(T,O,V){super(T,O),this.urlAfterRedirects=V}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Yn=function(y){return y[y.Redirect=0]="Redirect",y[y.SupersededByNewNavigation=1]="SupersededByNewNavigation",y[y.NoDataFromRe
1solver=2]="NoDataFromResolver",y[y.GuardRejected=3]="GuardRejected",y[y.Aborted=4]="Aborted",y}(Yn||{}),kn=function(y){return y[y.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",y[y.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",y}(kn||{});class pr extends Yt{reason;code;type=dt.NavigationCancel;constructor(T,O,V,J){super(T,O),this.reason=V,this.code=J}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ri extends Yt{reason;code;type=dt.NavigationSkipped;constructor(T,O,V,J){super(T,O),this.reason=V,this.code=J}}class Gr extends Yt{error;target;type=dt.NavigationError;constructor(T,O,V,J){super(T,O),this.error=V,this.target=J}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bo extends Yt{urlAfterRedirects;state;type=dt.RoutesRecognized;constructor(T,O,V,J){super(T,O),this.urlAfterRedirects=V,this.state=J}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ar extends Yt{urlAfterRedirects;state;type=dt.GuardsCheckStart;constructor(T,O,V,J){super(T,O),this.urlAfterRedirects=V,this.state=J}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yi extends Yt{urlAfterRedirects;state;shouldActivate;type=dt.GuardsCheckEnd;constructor(T,O,V,J,H){super(T,O),this.urlAfterRedirects=V,this.state=J,this.shouldActivate=H}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uo extends Yt{urlAfterRedirects;state;type=dt.ResolveStart;constructor(T,O,V,J){super(T,O),this.urlAfterRedirects=V,this.state=J}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class To extends Yt{urlAfterRedirects;state;type=dt.ResolveEnd;constructor(T,O,V,J){super(T,O),this.urlAfterRedirects=V,this.state=J}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to{route;type=dt.RouteConfigLoadStart;constructor(T){this.route=T}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vi{route;type=dt.RouteConfigLoadEnd;constructor(T){this.route=T}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ti{snapshot;type=dt.ChildActivationStart;constructor(T){this.snapshot=T}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wt{snapshot;type=dt.ChildActivationEnd;constructor(T){this.snapshot=T}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yn{snapshot;type=dt.ActivationStart;constructor(T){this.snapshot=T}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{snapshot;type=dt.ActivationEnd;constructor(T){this.snapshot=T}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gn{routerEvent;position;anchor;type=dt.Scroll;constructor(T,O,V){this.routerEvent=T,this.position=O,this.anchor=V}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class fr{}class Tr{url;navigationBehaviorOptions;constructor(T,O){this.url=T,this.navigationBehaviorOptions=O}}function Jr(y){switch(y.type){case dt.ActivationEnd:return`ActivationEnd(path: '${y.snapshot.routeConfig?.path||""}')`;case dt.ActivationStart:return`ActivationStart(path: '${y.snapshot.routeConfig?.path||""}')`;case dt.ChildActivationEnd:return`ChildActivationEnd(path: '${y.snapshot.routeConfig?.path||""}')`;case dt.ChildActivationStart:return`ChildActivationStart(path: '${y.snapshot.routeConfig?.path||""}')`;case dt.GuardsCheckEnd:return`GuardsCheckEnd(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}', state: ${y.state}, shouldActivate: ${y.shouldActivate})`;case dt.GuardsCheckStart:return`GuardsCheckStart(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}', state: ${y.state})`;case dt.NavigationCancel:return`NavigationCancel(id: ${y.id}, url: '${y.url}')`;case dt.NavigationSkipped:return`NavigationSkipped(id: ${y.id}, url: '${y.url}')`;case dt.NavigationEnd:return`NavigationEnd(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}')`;case dt.NavigationError:return`NavigationError(id: ${y.id}, url: '${y.url}', error: ${y.error})`;case dt.NavigationStart:return`NavigationStart(id: ${y.id}, url: '${y.url}')`;case dt.ResolveEnd:return`ResolveEnd(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}', state: ${y.state})`;case dt.ResolveStart:return`ResolveStart(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}', state: ${y.state})`;case dt.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${y.route.path})`;case dt.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${y.route.path})`;case dt.RoutesRecognized:return`RoutesRecognized(id: ${y.id}, url: '${y.url}', urlAfterRedirects: '${y.urlAfterRedirects}', state: ${y.state})`;case dt.Scroll:return`Scroll(anchor: '${y.anchor}', position: '${y.position?`${y.position[0]}, ${y.position[1]}`:null}')`}}function Hi(y){return y.outlet||ke}function di(y){if(!y)return null;
1if(y.routeConfig?._injector)return y.routeConfig._injector;for(let T=y.parent;T;T=T.parent){const O=T.routeConfig;if(O?._loadedInjector)return O._loadedInjector;if(O?._injector)return O._injector}return null}class Cs{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return di(this.route?.snapshot)??this.rootInjector}constructor(T){this.rootInjector=T,this.children=new Ue(this.rootInjector)}}let Ue=(()=>{class y{rootInjector;contexts=new Map;constructor(O){this.rootInjector=O}onChildOutletCreated(O,V){const J=this.getOrCreateContext(O);J.outlet=V,this.contexts.set(O,J)}onChildOutletDestroyed(O){const V=this.getContext(O);V&&(V.outlet=null,V.attachRef=null)}onOutletDeactivated(){const O=this.contexts;return this.contexts=new Map,O}onOutletReAttached(O){this.contexts=O}getOrCreateContext(O){let V=this.getContext(O);return V||(V=new Cs(this.rootInjector),this.contexts.set(O,V)),V}getContext(O){return this.contexts.get(O)||null}static \u0275fac=function(V){return new(V||y)(S.KVO(S.uvJ))};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();class jt{_root;constructor(T){this._root=T}get root(){return this._root.value}parent(T){const O=this.pathFromRoot(T);return O.length>1?O[O.length-2]:null}children(T){const O=tt(T,this._root);return O?O.children.map(V=>V.value):[]}firstChild(T){const O=tt(T,this._root);return O&&O.children.length>0?O.children[0].value:null}siblings(T){const O=gt(T,this._root);return O.length<2?[]:O[O.length-2].children.map(J=>J.value).filter(J=>J!==T)}pathFromRoot(T){return gt(T,this._root).map(O=>O.value)}}function tt(y,T){if(y===T.value)return T;for(const O of T.children){const V=tt(y,O);if(V)return V}return null}function gt(y,T){if(y===T.value)return[T];for(const O of T.children){const V=gt(y,O);if(V.length)return V.unshift(T),V}return[]}class zt{value;children;constructor(T,O){this.value=T,this.children=O}toString(){return`TreeNode(${this.value})`}}function gn(y){const T={};return y&&y.children.forEach(O=>T[O.value.outlet]=O),T}class or extends jt{snapshot;constructor(T,O){super(T),this.snapshot=O,Si(this,T)}toString(){return this.snapshot.toString()}}function Xn(y){const T=function zi(y){const H=new Sr([],{},{},"",{},ke,y,null,{});return new go("",new zt(H,[]))}(y),O=new q.t([new m("",{})]),V=new q.t({}),J=new q.t({}),H=new q.t({}),z=new q.t(""),Ce=new ai(O,V,H,z,J,ke,y,T.root);return Ce.snapshot=T.root,new or(new zt(Ce,[]),T)}class ai{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(T,O,V,J,H,z,Ce,he){this.urlSubject=T,this.paramsSubject=O,this.queryParamsSubject=V,this.fragmentSubject=J,this.dataSubject=H,this.outlet=z,this.component=Ce,this._futureSnapshot=he,this.title=this.dataSubject?.pipe((0,De.T)(Te=>Te[qe]))??(0,Z.of)(void 0),this.url=T,this.params=O,this.queryParams=V,this.fragment=J,this.data=H}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,De.T)(T=>Ct(T))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,De.T)(T=>Ct(T))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vi(y,T,O="emptyOnly"){let V;const{routeConfig:J}=y;return V=null===T||"always"!==O&&""!==J?.path&&(T.component||T.routeConfig?.loadComponent)?{params:{...y.params},data:{...y.data},resolve:{...y.data,...y._resolvedData??{}}}:{params:{...T.params,...y.params},data:{...T.data,...y.data},resolve:{...y.data,...T.data,...J?.data,...y._resolvedData}},J&&Po(J)&&(V.resolve[qe]=J.title),V}class Sr{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[qe]}constructor(T,O,V,J,H,z,Ce,he,Te){this.url=T,this.params=O,this.queryParams=V,this.fragment=J,this.data=H,this.outlet=z,this.component=Ce,this.routeConfig=he,this._resolve=Te}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ct(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ct(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(V=>V.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class go extends jt{url;
1constructor(T,O){super(O),this.url=T,Si(this,O)}toString(){return ci(this._root)}}function Si(y,T){T.value._routerState=y,T.children.forEach(O=>Si(y,O))}function ci(y){const T=y.children.length>0?` { ${y.children.map(ci).join(", ")} } `:"";return`${y.value}${T}`}function So(y){if(y.snapshot){const T=y.snapshot,O=y._futureSnapshot;y.snapshot=O,mt(T.queryParams,O.queryParams)||y.queryParamsSubject.next(O.queryParams),T.fragment!==O.fragment&&y.fragmentSubject.next(O.fragment),mt(T.params,O.params)||y.paramsSubject.next(O.params),function Ke(y,T){if(y.length!==T.length)return!1;for(let O=0;O<y.length;++O)if(!mt(y[O],T[O]))return!1;return!0}(T.url,O.url)||y.urlSubject.next(O.url),mt(T.data,O.data)||y.dataSubject.next(O.data)}else y.snapshot=y._futureSnapshot,y.dataSubject.next(y._futureSnapshot.data)}function Do(y,T){const O=mt(y.params,T.params)&&function Jn(y,T){return ni(y,T)&&y.every((O,V)=>mt(O.parameters,T[V].parameters))}(y.url,T.url);return O&&!(!y.parent!=!T.parent)&&(!y.parent||Do(y.parent,T.parent))}function Po(y){return"string"==typeof y.title||null===y.title}const Ds=new S.nKC("");let Ao=(()=>{class y{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ke;activateEvents=new M.bkB;deactivateEvents=new M.bkB;attachEvents=new M.bkB;detachEvents=new M.bkB;routerOutletData=(0,f.hFB)();parentContexts=(0,S.WQX)(Ue);location=(0,S.WQX)(M.c1b);changeDetector=(0,S.WQX)(f.gRc);inputBinder=(0,S.WQX)(qo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(O){if(O.name){const{firstChange:V,previousValue:J}=O.name;if(V)return;this.isTrackedInParentContexts(J)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(J)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(O){return this.parentContexts.getContext(O)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const O=this.parentContexts.getContext(this.name);O?.route&&(O.attachRef?this.attach(O.attachRef,O.route):this.activateWith(O.route,O.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S.buA(4012,!1);this.location.detach();const O=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(O.instance),O}attach(O,V){this.activated=O,this._activatedRoute=V,this.location.insert(O.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(O.instance)}deactivate(){if(this.activated){const O=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(O)}}activateWith(O,V){if(this.isActivated)throw new S.buA(4013,!1);this._activatedRoute=O;const J=this.location,z=O.snapshot.component,Ce=this.parentContexts.getOrCreateContext(this.name).children,he=new ps(O,Ce,J.injector,this.routerOutletData);this.activated=J.createComponent(z,{index:J.length,injector:he,environmentInjector:V}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(V){return new(V||y)};static \u0275dir=M.FsC({type:y,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[M.OA$]})}return y})();class ps{route;childContexts;parent;outletData;constructor(T,O,V,J){this.route=T,this.childContexts=O,this.parent=V,this.outletData=J}get(T,O){return T===ai?this.route:T===Ue?this.childContexts:T===Ds?this.outletData:this.parent.get(T,O)}}const qo=new S.nKC("");let es=(()=>{class y{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(O){this.unsubscribeFromRouteData(O),this.subscribeToRouteData(O)}unsubscribeFromRouteData(O){this.outletDataSubscriptions.get(O)?.unsubscribe(),this.outletDataSubscriptions.delete(O)}
1subscribeToRouteData(O){const{activatedRoute:V}=O,J=(0,U.z)([V.queryParams,V.params,V.data]).pipe((0,Je.n)(([H,z,Ce],he)=>(Ce={...H,...z,...Ce},0===he?(0,Z.of)(Ce):Promise.resolve(Ce)))).subscribe(H=>{if(!O.isActivated||!O.activatedComponentRef||O.activatedRoute!==V||null===V.component)return void this.unsubscribeFromRouteData(O);const z=(0,f.HJs)(V.component);if(z)for(const{templateName:Ce}of z.inputs)O.activatedComponentRef.setInput(Ce,H[Ce]);else this.unsubscribeFromRouteData(O)});this.outletDataSubscriptions.set(O,J)}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac})}return y})(),Di=(()=>{class y{static \u0275fac=function(V){return new(V||y)};static \u0275cmp=M.VBU({type:y,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(V,J){1&V&&M.nrm(0,"router-outlet")},dependencies:[Ao],encapsulation:2})}return y})();function Va(y){const T=y.children&&y.children.map(Va),O=T?{...y,children:T}:{...y};return!O.component&&!O.loadComponent&&(T||O.loadChildren)&&O.outlet&&O.outlet!==ke&&(O.component=Di),O}function Vo(y,T,O){if(O&&y.shouldReuseRoute(T.value,O.value.snapshot)){const V=O.value;V._futureSnapshot=T.value;const J=function ls(y,T,O){return T.children.map(V=>{for(const J of O.children)if(y.shouldReuseRoute(V.value,J.value.snapshot))return Vo(y,V,J);return Vo(y,V)})}(y,T,O);return new zt(V,J)}{if(y.shouldAttach(T.value)){const H=y.retrieve(T.value);if(null!==H){const z=H.route;return z.value._futureSnapshot=T.value,z.children=T.children.map(Ce=>Vo(y,Ce)),z}}const V=function Fs(y){return new ai(new q.t(y.url),new q.t(y.params),new q.t(y.queryParams),new q.t(y.fragment),new q.t(y.data),y.outlet,y.component,y)}(T.value),J=T.children.map(H=>Vo(y,H));return new zt(V,J)}}class ta{redirectTo;navigationBehaviorOptions;constructor(T,O){this.redirectTo=T,this.navigationBehaviorOptions=O}}const Ca="ngNavigationCancelingError";function Os(y,T){const{redirectTo:O,navigationBehaviorOptions:V}=bt(T)?{redirectTo:T,navigationBehaviorOptions:void 0}:T,J=Xo(!1,Yn.Redirect);return J.url=O,J.navigationBehaviorOptions=V,J}function Xo(y,T){const O=new Error(`NavigationCancelingError: ${y||""}`);return O[Ca]=!0,O.cancellationCode=T,O}function Is(y){return!!y&&y[Ca]}class Ws{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(T,O,V,J,H){this.routeReuseStrategy=T,this.futureState=O,this.currState=V,this.forwardEvent=J,this.inputBindingEnabled=H}activate(T){const O=this.futureState._root,V=this.currState?this.currState._root:null;this.deactivateChildRoutes(O,V,T),So(this.futureState.root),this.activateChildRoutes(O,V,T)}deactivateChildRoutes(T,O,V){const J=gn(O);T.children.forEach(H=>{const z=H.value.outlet;this.deactivateRoutes(H,J[z],V),delete J[z]}),Object.values(J).forEach(H=>{this.deactivateRouteAndItsChildren(H,V)})}deactivateRoutes(T,O,V){const J=T.value,H=O?O.value:null;if(J===H)if(J.component){const z=V.getContext(J.outlet);z&&this.deactivateChildRoutes(T,O,z.children)}else this.deactivateChildRoutes(T,O,V);else H&&this.deactivateRouteAndItsChildren(O,V)}deactivateRouteAndItsChildren(T,O){T.value.component&&this.routeReuseStrategy.shouldDetach(T.value.snapshot)?this.detachAndStoreRouteSubtree(T,O):this.deactivateRouteAndOutlet(T,O)}detachAndStoreRouteSubtree(T,O){const V=O.getContext(T.value.outlet),J=V&&T.value.component?V.children:O,H=gn(T);for(const z of Object.values(H))this.deactivateRouteAndItsChildren(z,J);if(V&&V.outlet){const z=V.outlet.detach(),Ce=V.children.onOutletDeactivated();this.routeReuseStrategy.store(T.value.snapshot,{componentRef:z,route:T,contexts:Ce})}}deactivateRouteAndOutlet(T,O){const V=O.getContext(T.value.outlet),J=V&&T.value.component?V.children:O,H=gn(T);for(const z of Object.values(H))this.deactivateRouteAndItsChildren(z,J);V&&(V.outlet&&(V.outlet.deactivate(),V.children.onOutletDeactivated()),V.attachRef=null,V.route=null)}activateChildRoutes(T,O,V){const J=gn(O);T.children.forEach(H=>{this.activateRoutes(H,J[H.value.outlet],V),this.forwardEvent(new Bn(H.value.snapshot))}),T.children.length&&this.forwardEvent(new Wt(T.value.snapshot))}activateRoutes(T,O,V){const J=T.value,H=O?O.value:null;if(So(J),J===H)if(J.component){const z=V.getOrCreateContext(J.outlet);this.activateChildRoutes(T,O,z.children)}else this.activateChildRoutes(T,O,V);else if(J.component){const z=V.getOrCreateContext(J.outlet);if(this.routeReuseStrategy.shouldAttach(J.snapshot)){const Ce=this.routeReuseStrategy.retrieve(J.snapshot);this.routeReuseStrategy.store(J.snapshot,null),z.children.onOutletReAttached(Ce.contexts),z.attachRef=Ce.componentRef,z.route=Ce.route.value,z.outlet&&z.outlet.attach(Ce.componentRef,Ce.route.value),So(Ce.route.value),this.activateChildRoutes(T,null,z.children)}else z.attachRef=null,z.route=J,z.outlet&&z.outlet.activateWith(J,z.injector),this.activateChildRoutes(T,null,z.children)}else this.activateChildRoutes(T,null,V)}}class Oo{path;route;constructor(T){this.path=T,this.route=this.path[this.path.length-1]}}class sa{component;route;constructor(T,O){this.component=T,this.route=O}}function Ha(y,T,O){const V=y._root;return Y(V,T?T._root:null,O,[V.value])}function ir(y,T){const O=Symbol(),V=T.get(y,O);return V===O?"function"!=typeof y||(0,S.muV)(y)?T.get(y):y:V}function Y(y,T,O,V,J={canDeactivateChecks:[],canActivateChecks:[]}){const H=gn(T);
1return y.children.forEach(z=>{(function il(y,T,O,V,J={canDeactivateChecks:[],canActivateChecks:[]}){const H=y.value,z=T?T.value:null,Ce=O?O.getContext(y.value.outlet):null;if(z&&H.routeConfig===z.routeConfig){const he=function Bs(y,T,O){if("function"==typeof O)return O(y,T);switch(O){case"pathParamsChange":return!ni(y.url,T.url);case"pathParamsOrQueryParamsChange":return!ni(y.url,T.url)||!mt(y.queryParams,T.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Do(y,T)||!mt(y.queryParams,T.queryParams);default:return!Do(y,T)}}(z,H,H.routeConfig.runGuardsAndResolvers);he?J.canActivateChecks.push(new Oo(V)):(H.data=z.data,H._resolvedData=z._resolvedData),Y(y,T,H.component?Ce?Ce.children:null:O,V,J),he&&Ce&&Ce.outlet&&Ce.outlet.isActivated&&J.canDeactivateChecks.push(new sa(Ce.outlet.component,z))}else z&&Es(T,Ce,J),J.canActivateChecks.push(new Oo(V)),Y(y,null,H.component?Ce?Ce.children:null:O,V,J)})(z,H[z.value.outlet],O,V.concat([z.value]),J),delete H[z.value.outlet]}),Object.entries(H).forEach(([z,Ce])=>Es(Ce,O.getContext(z),J)),J}function Es(y,T,O){const V=gn(y),J=y.value;Object.entries(V).forEach(([H,z])=>{Es(z,J.component?T?T.children.getContext(H):null:T,O)}),O.canDeactivateChecks.push(new sa(J.component&&T&&T.outlet&&T.outlet.isActivated?T.outlet.component:null,J))}function Us(y){return"function"==typeof y}function Oi(y){return y instanceof ve.G||"EmptyError"===y?.name}const ro=Symbol("INITIAL_VALUE");function ts(){return(0,Je.n)(y=>(0,U.z)(y.map(T=>T.pipe((0,vt.s)(1),(0,Ye.Z)(ro)))).pipe((0,De.T)(T=>{for(const O of T)if(!0!==O){if(O===ro)return ro;if(!1===O||$o(O))return O}return!0}),(0,te.p)(T=>T!==ro),(0,vt.s)(1)))}function $o(y){return bt(y)||y instanceof ta}function Re(y){return(0,B.F)((0,xt.M)(T=>{if("boolean"!=typeof T)throw Os(0,T)}),(0,De.T)(T=>!0===T))}class xe{segmentGroup;constructor(T){this.segmentGroup=T||null}}class st extends Error{urlTree;constructor(T){super(),this.urlTree=T}}function Qt(y){return(0,re.$)(new xe(y))}function Mr(y){return(0,re.$)(new S.buA(4e3,!1))}class wi{urlSerializer;urlTree;constructor(T,O){this.urlSerializer=T,this.urlTree=O}lineralizeSegments(T,O){let V=[],J=O.root;for(;;){if(V=V.concat(J.segments),0===J.numberOfChildren)return(0,Z.of)(V);if(J.numberOfChildren>1||!J.children[ke])return Mr();J=J.children[ke]}}applyRedirectCommands(T,O,V,J,H){return function As(y,T,O){if("string"==typeof y)return(0,Z.of)(y);const V=y,{queryParams:J,fragment:H,routeConfig:z,url:Ce,outlet:he,params:Te,data:Oe,title:Ge}=T;return Dt((0,S.N4e)(O,()=>V({params:Te,data:Oe,queryParams:J,fragment:H,routeConfig:z,url:Ce,outlet:he,title:Ge})))}(O,J,H).pipe((0,De.T)(z=>{if(z instanceof Cn)throw new st(z);const Ce=this.applyRedirectCreateUrlTree(z,this.urlSerializer.parse(z),T,V);if("/"===z[0])throw new st(Ce);return Ce}))}applyRedirectCreateUrlTree(T,O,V,J){const H=this.createSegmentGroup(T,O.root,V,J);return new Cn(H,this.createQueryParams(O.queryParams,this.urlTree.queryParams),O.fragment)}createQueryParams(T,O){const V={};return Object.entries(T).forEach(([J,H])=>{if("string"==typeof H&&":"===H[0]){const Ce=H.substring(1);V[J]=O[Ce]}else V[J]=H}),V}createSegmentGroup(T,O,V,J){const H=this.createSegments(T,O.segments,V,J);let z={};return Object.entries(O.children).forEach(([Ce,he])=>{z[Ce]=this.createSegmentGroup(T,he,V,J)}),new En(H,z)}createSegments(T,O,V,J){return O.map(H=>":"===H.path[0]?this.findPosParam(T,H,J):this.findOrReturn(H,V))}findPosParam(T,O,V){const J=V[O.path.substring(1)];if(!J)throw new S.buA(4001,!1);return J}findOrReturn(T,O){let V=0;for(const J of O){if(J.path===T.path)return O.splice(V),J;V++}return T}}const na={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tl(y,T,O,V,J){const H=sl(y,T,O);return H.matched?(V=function Bi(y,T){return y.providers&&!y._injector&&(y._injector=(0,M.Ol2)(y.providers,T,`Route: ${y.path}`)),y._injector??T}(T,V),function je(y,T,O,V){const J=T.canMatch;if(!J||0===J.length)return(0,Z.of)(!0);const H=J.map(z=>{const Ce=ir(z,y);return Dt(function Ts(y){return y&&Us(y.canMatch)}(Ce)?Ce.canMatch(T,O):(0,S.N4e)(y,()=>Ce(T,O)))});return(0,Z.of)(H).pipe(ts(),Re())}(V,T,O).pipe((0,De.T)(z=>!0===z?H:{...na}))):(0,Z.of)(H)}function sl(y,T,O){if("**"===T.path)return function hc(y){return{matched:!0,parameters:y.length>0?kt(y).parameters:{},consumedSegments:y,remainingSegments:[],positionalParamSegments:{}}}(O);if(""===T.path)return"full"===T.pathMatch&&(y.hasChildren()||O.length>
10)?{...na}:{matched:!0,consumedSegments:[],remainingSegments:O,parameters:{},positionalParamSegments:{}};const J=(T.matcher||_t)(O,y,T);if(!J)return{...na};const H={};Object.entries(J.posParams??{}).forEach(([Ce,he])=>{H[Ce]=he.path});const z=J.consumed.length>0?{...H,...J.consumed[J.consumed.length-1].parameters}:H;return{matched:!0,consumedSegments:J.consumed,remainingSegments:O.slice(J.consumed.length),parameters:z,positionalParamSegments:J.posParams??{}}}function Pl(y,T,O,V){return O.length>0&&function ec(y,T,O){return O.some(V=>ua(y,T,V)&&Hi(V)!==ke)}(y,O,V)?{segmentGroup:new En(T,Al(V,new En(O,y.children))),slicedSegments:[]}:0===O.length&&function Ya(y,T,O){return O.some(V=>ua(y,T,V))}(y,O,V)?{segmentGroup:new En(y.segments,pc(y,O,V,y.children)),slicedSegments:O}:{segmentGroup:new En(y.segments,y.children),slicedSegments:O}}function pc(y,T,O,V){const J={};for(const H of O)if(ua(y,T,H)&&!V[Hi(H)]){const z=new En([],{});J[Hi(H)]=z}return{...V,...J}}function Al(y,T){const O={};O[ke]=T;for(const V of y)if(""===V.path&&Hi(V)!==ke){const J=new En([],{});O[Hi(V)]=J}return O}function ua(y,T,O){return(!(y.hasChildren()||T.length>0)||"full"!==O.pathMatch)&&""===O.path}class za{}class $a{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(T,O,V,J,H,z,Ce){this.injector=T,this.configLoader=O,this.rootComponentType=V,this.config=J,this.urlTree=H,this.paramsInheritanceStrategy=z,this.urlSerializer=Ce,this.applyRedirects=new wi(this.urlSerializer,this.urlTree)}noMatchError(T){return new S.buA(4002,`'${T.segmentGroup}'`)}recognize(){const T=Pl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(T).pipe((0,De.T)(({children:O,rootSnapshot:V})=>{const J=new zt(V,O),H=new go("",J),z=function un(y,T,O=null,V=null){return Wn(Vn(y),T,O,V)}(V,[],this.urlTree.queryParams,this.urlTree.fragment);return z.queryParams=this.urlTree.queryParams,H.url=this.urlSerializer.serialize(z),{state:H,tree:z}}))}match(T){const O=new Sr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ke,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,T,ke,O).pipe((0,De.T)(V=>({children:V,rootSnapshot:O})),(0,ce.W)(V=>{if(V instanceof st)return this.urlTree=V.urlTree,this.match(V.urlTree.root);throw V instanceof xe?this.noMatchError(V):V}))}processSegmentGroup(T,O,V,J,H){return 0===V.segments.length&&V.hasChildren()?this.processChildren(T,O,V,H):this.processSegment(T,O,V,V.segments,J,!0,H).pipe((0,De.T)(z=>z instanceof zt?[z]:[]))}processChildren(T,O,V,J){const H=[];for(const z of Object.keys(V.children))"primary"===z?H.unshift(z):H.push(z);return(0,W.H)(H).pipe((0,ue.H)(z=>{const Ce=V.children[z],he=function ao(y,T){const O=y.filter(V=>Hi(V)===T);return O.push(...y.filter(V=>Hi(V)!==T)),O}(O,z);return this.processSegmentGroup(T,he,Ce,z,J)}),(0,Ze.S)((z,Ce)=>(z.push(...Ce),z)),(0,ae.U)(null),(0,we.H)(),(0,Ie.Z)(z=>{if(null===z)return Qt(V);const Ce=Ea(z);return function Ra(y){y.sort((T,O)=>T.value.outlet===ke?-1:O.value.outlet===ke?1:T.value.outlet.localeCompare(O.value.outlet))}(Ce),(0,Z.of)(Ce)}))}processSegment(T,O,V,J,H,z,Ce){return(0,W.H)(O).pipe((0,ue.H)(he=>this.processSegmentAgainstRoute(he._injector??T,O,he,V,J,H,z,Ce).pipe((0,ce.W)(Te=>{if(Te instanceof xe)return(0,Z.of)(null);throw Te}))),(0,_e.$)(he=>!!he),(0,ce.W)(he=>{if(Oi(he))return function da(y,T,O){return 0===T.length&&!y.children[O]}(V,J,H)?(0,Z.of)(new za):Qt(V);throw he}))}processSegmentAgainstRoute(T,O,V,J,H,z,Ce,he){return Hi(V)===z||z!==ke&&ua(J,H,V)?void 0===V.redirectTo?this.matchSegmentAgainstRoute(T,J,V,H,z,he):this.allowRedirects&&Ce?this.expandSegmentAgainstRouteUsingRedirect(T,J,O,V,H,z,he):Qt(J):Qt(J)}expandSegmentAgainstRouteUsingRedirect(T,O,V,J,H,z,Ce){const{matched:he,parameters:Te,consumedSegments:Oe,positionalParamSegments:Ge,remainingSegments:yt}=sl(O,J,H);if(!he)return Qt(O);"string"==typeof J.redirectTo&&"/"===J.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const It=new Sr(H,Te,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ra(J),Hi(J),J.component??J._loadedComponent??null,J,ka(J)),St=vi(It,Ce,this.paramsInheritanceStrategy);return It.params=Object.freeze(St.params),It.data=Object.freeze(St.data),this.applyRedirects.applyRedirectCommands(Oe,J.redirectTo,Ge,It,T).pipe((0,Je.n)(wn=>this.applyRedirects.lineralizeSegments(J,wn)),(0,Ie.Z)(wn=>this.processSegment(T,V,O,wn.concat(yt),z,!1,Ce)))}matchSegmentAgainstRoute(T,O,V,J,H,z){const Ce=Tl(O,V,J,T);return"**"===V.path&&(O.children={}),Ce.pipe((0,Je.n)(he=>he.matched?this.getChildConfig(T=V._injector??T,V,J).pipe((0,Je.n)(({routes:Te})=>{const Oe=V._loadedInjector??T,{parameters:Ge,consumedSegments:yt,remainingSegments:It}=he,St=new Sr(yt,Ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ra(V),Hi(V),V.component??V._loadedComponent??null,V,ka(V)),vn=vi(St,z,this.paramsInheritanceStrategy);St.params=Object.freeze(vn.params),St.data=Object.freeze(vn.data);const{segmentGroup:wn,slicedSegments:$e}=Pl(O,yt,It,Te);if(0===$e.length&&wn.hasChildren())return this.processChildren(Oe,Te,wn,St).pipe((0,De.T)(Lt=>new zt(St,Lt)));if(0===Te.length&&0===$e.length)return(0,Z.of)(new zt(St,[]));const et=Hi(V)===H;return this.processSegment(Oe,Te,wn,$e,et?ke:H,!0,St).pipe((0,De.T)(Lt=>new zt(St,Lt instanceof zt?[Lt]:[])))})):Qt(O)))}getChildConfig(T,O,V){return O.children?(0,Z.of)({routes:O.children,injector:T}):O.loadChildren?void 0!==O._loadedRoutes?(0,Z.of)({routes:O._loadedRoutes,injector:O._loadedInjector}):function Lo(y,T,O,V){const J=T.canLoad;if(void 0===J||0===J.length)return(0,Z.of)(!0);const H=J.map(z=>{const Ce=ir(z,y);return Dt(function Ta(y){return y&&Us(y.canLoad)}(Ce)?Ce.canLoad(T,O):(0,S.N4e)(y,()=>Ce(T,O)))});return(0,Z.of)(H).pipe(ts(),Re())}(T,O,V).pipe((0,Ie.Z)(J=>J?this.configLoader.loadChildren(T,O).pipe((0,xt.M)(H=>{O._loadedRoutes=H.routes,O._loadedInjector=H.injector})):function Or(){return(0,re.$)(Xo(!1,Yn.GuardRejected))}
1())):(0,Z.of)({routes:[],injector:T})}}function Wa(y){const T=y.value.routeConfig;return T&&""===T.path}function Ea(y){const T=[],O=new Set;for(const V of y){if(!Wa(V)){T.push(V);continue}const J=T.find(H=>V.value.routeConfig===H.value.routeConfig);void 0!==J?(J.children.push(...V.children),O.add(J)):T.push(V)}for(const V of O){const J=Ea(V.children);T.push(new zt(V.value,J))}return T.filter(V=>!O.has(V))}function ra(y){return y.data||{}}function ka(y){return y.resolve||{}}function Ja(y){const T=y.children.map(O=>Ja(O)).flat();return[y,...T]}function wa(y){return(0,Je.n)(T=>{const O=y(T);return O?(0,W.H)(O).pipe((0,De.T)(()=>T)):(0,Z.of)(T)})}let Ma=(()=>{class y{buildTitle(O){let V,J=O.root;for(;void 0!==J;)V=this.getResolvedTitleForRoute(J)??V,J=J.children.find(H=>H.outlet===ke);return V}getResolvedTitleForRoute(O){return O.data[qe]}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:()=>(0,S.WQX)(Ll),providedIn:"root"})}return y})(),Ll=(()=>{class y extends Ma{title;constructor(O){super(),this.title=O}updateTitle(O){const V=this.buildTitle(O);void 0!==V&&this.title.setTitle(V)}static \u0275fac=function(V){return new(V||y)(S.KVO(Ot.hE))};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();const Ka=new S.nKC("",{providedIn:"root",factory:()=>({})}),Vs=new S.nKC("");let Fl=(()=>{class y{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,S.WQX)(M.Ql9);loadComponent(O,V){if(this.componentLoaders.get(V))return this.componentLoaders.get(V);if(V._loadedComponent)return(0,Z.of)(V._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(V);const J=Dt((0,S.N4e)(O,()=>V.loadComponent())).pipe((0,De.T)(yl),(0,Je.n)(gs),(0,xt.M)(z=>{this.onLoadEndListener&&this.onLoadEndListener(V),V._loadedComponent=z}),(0,de.j)(()=>{this.componentLoaders.delete(V)})),H=new R.G(J,()=>new N.B).pipe((0,Me.B)());return this.componentLoaders.set(V,H),H}loadChildren(O,V){if(this.childrenLoaders.get(V))return this.childrenLoaders.get(V);if(V._loadedRoutes)return(0,Z.of)({routes:V._loadedRoutes,injector:V._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(V);const H=function Nl(y,T,O,V){return Dt((0,S.N4e)(O,()=>y.loadChildren())).pipe((0,De.T)(yl),(0,Je.n)(gs),(0,Ie.Z)(J=>J instanceof M.PYt||Array.isArray(J)?(0,Z.of)(J):(0,W.H)(T.compileModuleAsync(J))),(0,De.T)(J=>{V&&V(y);let H,z,Ce=!1;return Array.isArray(J)?(z=J,!0):(H=J.create(O).injector,z=H.get(Vs,[],{optional:!0,self:!0}).flat()),{routes:z.map(Va),injector:H}}))}(V,this.compiler,O,this.onLoadEndListener).pipe((0,de.j)(()=>{this.childrenLoaders.delete(V)})),z=new R.G(H,()=>new N.B).pipe((0,Me.B)());return this.childrenLoaders.set(V,z),z}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();function yl(y){return function ll(y){return y&&"object"==typeof y&&"default"in y}(y)?y.default:y}function gs(y){return(0,Z.of)(y)}let $i=(()=>{class y{static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:()=>(0,S.WQX)(Kn),providedIn:"root"})}return y})(),Kn=(()=>{class y{shouldProcessUrl(O){return!0}extract(O){return O}merge(O,V){return O}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();const fi=new S.nKC(""),Kl=new S.nKC("");function qa(y,T,O){const V=y.get(Kl),J=y.get(S.qQL);if(!J.startViewTransition||V.skipNextTransition)return V.skipNextTransition=!1,new Promise(Te=>setTimeout(Te));let H;const z=new Promise(Te=>{H=Te}),Ce=J.startViewTransition(()=>(H(),function xa(y){return new Promise(T=>{(0,M.mal)({read:()=>setTimeout(T)},{injector:y})})}(y)));Ce.ready.catch(Te=>{});const{onViewTransitionCreated:he}=V;return he&&(0,S.N4e)(y,()=>he({transition:Ce,from:T,to:O})),z}const ha=new S.nKC("");let js=(()=>{class y{currentNavigation=(0,S.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new N.B;transitionAbortWithErrorSubject=new N.B;configLoader=(0,S.WQX)(Fl);environmentInjector=(0,S.WQX)(S.uvJ);destroyRef=(0,S.WQX)(S.abz);
1urlSerializer=(0,S.WQX)(bi);rootContexts=(0,S.WQX)(Ue);location=(0,S.WQX)(E.aZ);inputBindingEnabled=null!==(0,S.WQX)(qo,{optional:!0});titleStrategy=(0,S.WQX)(Ma);options=(0,S.WQX)(Ka,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,S.WQX)($i);createViewTransition=(0,S.WQX)(fi,{optional:!0});navigationErrorHandler=(0,S.WQX)(ha,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,Z.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=J=>this.events.next(new Vi(J)),this.configLoader.onLoadStartListener=J=>this.events.next(new to(J)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(O){const V=++this.navigationId;(0,b.O8)(()=>{this.transitions?.next({...O,extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:V})})}setupNavigations(O){return this.transitions=new q.t(null),this.transitions.pipe((0,te.p)(V=>null!==V),(0,Je.n)(V=>{let J=!1;return(0,Z.of)(V).pipe((0,Je.n)(H=>{if(this.navigationId>V.id)return this.cancelNavigationTransition(V,"",Yn.SupersededByNewNavigation),K.w;this.currentTransition=V,this.currentNavigation.set({id:H.id,initialUrl:H.rawUrl,extractedUrl:H.extractedUrl,targetBrowserUrl:"string"==typeof H.extras.browserUrl?this.urlSerializer.parse(H.extras.browserUrl):H.extras.browserUrl,trigger:H.source,extras:H.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>H.abortController.abort()});const z=!O.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!z&&"reload"!==(H.extras.onSameUrlNavigation??O.onSameUrlNavigation))return this.events.next(new ri(H.id,this.urlSerializer.serialize(H.rawUrl),"",kn.IgnoredSameUrlNavigation)),H.resolve(!1),K.w;if(this.urlHandlingStrategy.shouldProcessUrl(H.rawUrl))return(0,Z.of)(H).pipe((0,Je.n)(he=>(this.events.next(new Gt(he.id,this.urlSerializer.serialize(he.extractedUrl),he.source,he.restoredState)),he.id!==this.navigationId?K.w:Promise.resolve(he))),function fa(y,T,O,V,J,H){return(0,Ie.Z)(z=>function Za(y,T,O,V,J,H,z="emptyOnly"){return new $a(y,T,O,V,J,z,H).recognize()}(y,T,O,V,z.extractedUrl,J,H).pipe((0,De.T)(({state:Ce,tree:he})=>({...z,targetSnapshot:Ce,urlAfterRedirects:he}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,O.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,xt.M)(he=>{V.targetSnapshot=he.targetSnapshot,V.urlAfterRedirects=he.urlAfterRedirects,this.currentNavigation.update(Oe=>(Oe.finalUrl=he.urlAfterRedirects,Oe));const Te=new bo(he.id,this.urlSerializer.serialize(he.extractedUrl),this.urlSerializer.serialize(he.urlAfterRedirects),he.targetSnapshot);this.events.next(Te)}));if(z&&this.urlHandlingStrategy.shouldProcessUrl(H.currentRawUrl)){const{id:he,extractedUrl:Te,source:Oe,restoredState:Ge,extras:yt}=H,It=new Gt(he,this.urlSerializer.serialize(Te),Oe,Ge);this.events.next(It);const St=Xn(this.rootComponentType).snapshot;return this.currentTransition=V={...H,targetSnapshot:St,urlAfterRedirects:Te,extras:{...yt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(vn=>(vn.finalUrl=Te,vn)),(0,Z.of)(V)}return this.events.next(new ri(H.id,this.urlSerializer.serialize(H.extractedUrl),"",kn.IgnoredByUrlHandlingStrategy)),H.resolve(!1),K.w}),(0,xt.M)(H=>{const z=new Ar(H.id,this.urlSerializer.serialize(H.extractedUrl),this.urlSerializer.serialize(H.urlAfterRedirects),H.targetSnapshot);this.events.next(z)}),(0,De.T)(H=>(this.currentTransition=V={...H,guards:Ha(H.targetSnapshot,H.currentSnapshot,this.rootContexts)},V)),function _o(y,T){return(0,Ie.Z)(O=>{const{targetSnapshot:V,currentSnapshot:J,guards:{canActivateChecks:H,canDeactivateChecks:z}}=O;return 0===z.length&&0===H.length?(0,Z.of)({...O,guardsResult:!0}):function la(y,T,O,V){return(0,W.H)(y).pipe((0,Ie.Z)(J=>function ca(y,T,O,V,J){const H=T&&T.routeConfig?T.routeConfig.canDeactivate:null;if(!H||0===H.length)return(0,Z.of)(!0);const z=H.map(Ce=>{const he=di(T)??J,Te=ir(Ce,he);return Dt(function ms(y){return y&&Us(y.canDeactivate)}(Te)?Te.canDeactivate(y,T,O,V):(0,S.N4e)(he,()=>Te(y,T,O,V))).pipe((0,_e.$)())});return(0,Z.of)(z).pipe(ts())}(J.component,J.route,O,T,V)),(0,_e.$)(J=>!0!==J,!0))}(z,V,J,y).pipe((0,Ie.Z)(Ce=>Ce&&function zo(y){return"boolean"==typeof y}(Ce)?function Ps(y,T,O,V){return(0,W.H)(T).pipe((0,ue.H)(J=>(0,ne.x)(function ol(y,T){return null!==y&&T&&T(new Ti(y)),(0,Z.of)(!0)}(J.route.parent,V),function ki(y,T){return null!==y&&T&&T(new yn(y)),(0,Z.of)(!0)}(J.route,V),function fc(y,T,O){const V=T[T.length-1],H=T.slice(0,T.length-1).reverse().map(z=>
1function aa(y){const T=y.routeConfig?y.routeConfig.canActivateChild:null;return T&&0!==T.length?{node:y,guards:T}:null}(z)).filter(z=>null!==z).map(z=>(0,X.v)(()=>{const Ce=z.guards.map(he=>{const Te=di(z.node)??O,Oe=ir(he,Te);return Dt(function Ks(y){return y&&Us(y.canActivateChild)}(Oe)?Oe.canActivateChild(V,y):(0,S.N4e)(Te,()=>Oe(V,y))).pipe((0,_e.$)())});return(0,Z.of)(Ce).pipe(ts())}));return(0,Z.of)(H).pipe(ts())}(y,J.path,O),function Aa(y,T,O){const V=T.routeConfig?T.routeConfig.canActivate:null;if(!V||0===V.length)return(0,Z.of)(!0);const J=V.map(H=>(0,X.v)(()=>{const z=di(T)??O,Ce=ir(H,z);return Dt(function Pa(y){return y&&Us(y.canActivate)}(Ce)?Ce.canActivate(T,y):(0,S.N4e)(z,()=>Ce(T,y))).pipe((0,_e.$)())}));return(0,Z.of)(J).pipe(ts())}(y,J.route,O))),(0,_e.$)(J=>!0!==J,!0))}(V,H,y,T):(0,Z.of)(Ce)),(0,De.T)(Ce=>({...O,guardsResult:Ce})))})}(this.environmentInjector,H=>this.events.next(H)),(0,xt.M)(H=>{if(V.guardsResult=H.guardsResult,H.guardsResult&&"boolean"!=typeof H.guardsResult)throw Os(0,H.guardsResult);const z=new Yi(H.id,this.urlSerializer.serialize(H.extractedUrl),this.urlSerializer.serialize(H.urlAfterRedirects),H.targetSnapshot,!!H.guardsResult);this.events.next(z)}),(0,te.p)(H=>!!H.guardsResult||(this.cancelNavigationTransition(H,"",Yn.GuardRejected),!1)),wa(H=>{if(0!==H.guards.canActivateChecks.length)return(0,Z.of)(H).pipe((0,xt.M)(z=>{const Ce=new uo(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(Ce)}),(0,Je.n)(z=>{let Ce=!1;return(0,Z.of)(z).pipe(function Qa(y,T){return(0,Ie.Z)(O=>{const{targetSnapshot:V,guards:{canActivateChecks:J}}=O;if(!J.length)return(0,Z.of)(O);const H=new Set(J.map(he=>he.route)),z=new Set;for(const he of H)if(!z.has(he))for(const Te of Ja(he))z.add(Te);let Ce=0;return(0,W.H)(z).pipe((0,ue.H)(he=>H.has(he)?function tc(y,T,O,V){const J=y.routeConfig,H=y._resolve;return void 0!==J?.title&&!Po(J)&&(H[qe]=J.title),(0,X.v)(()=>(y.data=vi(y,y.parent,O).resolve,function nc(y,T,O,V){const J=rt(y);if(0===J.length)return(0,Z.of)({});const H={};return(0,W.H)(J).pipe((0,Ie.Z)(z=>function al(y,T,O,V){const J=di(T)??V,H=ir(y,J);return Dt(H.resolve?H.resolve(T,O):(0,S.N4e)(J,()=>H(T,O)))}(y[z],T,O,V).pipe((0,_e.$)(),(0,xt.M)(Ce=>{if(Ce instanceof ta)throw Os(new Kr,Ce);H[z]=Ce}))),(0,$t.o)(1),(0,De.T)(()=>H),(0,ce.W)(z=>Oi(z)?K.w:(0,re.$)(z)))}(H,y,T,V).pipe((0,De.T)(z=>(y._resolvedData=z,y.data={...y.data,...z},null)))))}(he,V,y,T):(he.data=vi(he,he.parent,y).resolve,(0,Z.of)(void 0))),(0,xt.M)(()=>Ce++),(0,$t.o)(1),(0,Ie.Z)(he=>Ce===z.size?(0,Z.of)(O):K.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,xt.M)({next:()=>Ce=!0,complete:()=>{Ce||this.cancelNavigationTransition(z,"",Yn.NoDataFromResolver)}}))}),(0,xt.M)(z=>{const Ce=new To(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(Ce)}))}),wa(H=>{const z=Ce=>{const he=[];if(Ce.routeConfig?.loadComponent){const Te=di(Ce)??this.environmentInjector;he.push(this.configLoader.loadComponent(Te,Ce.routeConfig).pipe((0,xt.M)(Oe=>{Ce.component=Oe}),(0,De.T)(()=>{})))}for(const Te of Ce.children)he.push(...z(Te));return he};return(0,U.z)(z(H.targetSnapshot.root)).pipe((0,ae.U)(null),(0,vt.s)(1))}),wa(()=>this.afterPreactivation()),(0,Je.n)(()=>{const{currentSnapshot:H,targetSnapshot:z}=V,Ce=this.createViewTransition?.(this.environmentInjector,H.root,z.root);return Ce?(0,W.H)(Ce).pipe((0,De.T)(()=>V)):(0,Z.of)(V)}),(0,De.T)(H=>{const z=function ja(y,T,O){const V=Vo(y,T._root,O?O._root:void 0);return new or(V,T)}(O.routeReuseStrategy,H.targetSnapshot,H.currentRouterState);return this.currentTransition=V={...H,targetRouterState:z},this.currentNavigation.update(Ce=>(Ce.targetRouterState=z,Ce)),V}),(0,xt.M)(()=>{this.events.next(new fr)}),((y,T,O,V)=>(0,De.T)(J=>(new Ws(T,J.targetRouterState,J.currentRouterState,O,V).activate(y),J)))(this.rootContexts,O.routeReuseStrategy,H=>this.events.next(H),this.inputBindingEnabled),(0,vt.s)(1),(0,Et.Q)(new A.c(H=>{const z=V.abortController.signal,Ce=()=>H.next();return z.addEventListener("abort",Ce),()=>z.removeEventListener("abort",Ce)}).pipe((0,te.p)(()=>!J&&!V.targetRouterState),(0,xt.M)(()=>{this.cancelNavigationTransition(V,V.abortController.signal.reason+"",Yn.Aborted)}))),(0,xt.M)({next:H=>{J=!0,this.lastSuccessfulNavigation=(0,b.O8)(this.currentNavigation),this.events.next(new Nn(H.id,this.urlSerializer.serialize(H.extractedUrl),this.urlSerializer.serialize(H.urlAfterRedirects))),this.titleStrategy?.updateTitle(H.targetRouterState.snapshot),H.resolve(!0)},complete:()=>{J=!0}}),(0,Et.Q)(this.transitionAbortWithErrorSubject.pipe((0,xt.M)(H=>{throw H}))),(0,de.j)(()=>{J||this.cancelNavigationTransition(V,"",Yn.SupersededByNewNavigation),this.currentTransition?.id===V.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,ce.W)(H=>{if(this.destroyed)return V.resolve(!1),K.w;if(J=!0,Is(H))this.events.next(new pr(V.id,this.urlSerializer.serialize(V.extractedUrl),H.message,H.cancellationCode)),function Zi(y){return Is(y)&&bt(y.url)}(H)?this.events.next(new Tr(H.url,H.navigationBehaviorOptions)):V.resolve(!1);else{const z=new Gr(V.id,this.urlSerializer.serialize(V.extractedUrl),H,V.targetSnapshot??void 0);try{const Ce=(0,S.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(z));if(!(Ce instanceof ta))throw this.events.next(z),H;{const{message:he,cancellationCode:Te}=Os(0,Ce);this.events.next(new pr(V.id,this.urlSerializer.serialize(V.extractedUrl),he,Te)),this.events.next(new Tr(Ce.redirectTo,Ce.navigationBehaviorOptions))}}catch(Ce){this.options.resolveNavigationPromiseOnError?V.resolve(!1):V.reject(Ce)}}return K.w}))}))}cancelNavigationTransition(O,V,J){const H=new pr(O.id,this.urlSerializer.serialize(O.extractedUrl),V,J);this.events.next(H),O.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const O=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),V=(0,b.O8)(this.currentNavigation),J=V?.targetBrowserUrl??V?.extractedUrl;return O.toString()!==J?.toString()&&!V?.extras.skipLocationChange}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();function Bl(y){return y!==wo}let Hr=(()=>{class y{static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:()=>(0,S.WQX)(bl),providedIn:"root"})}return y})();class Rr{shouldDetach(T){return!1}store(T,O){}shouldAttach(T){return!1}retrieve(T){return null}shouldReuseRoute(T,O){return T.routeConfig===O.routeConfig}}let bl=(()=>{class y extends Rr{static \u0275fac=(()=>{let O;return function(J){return(O||(O=M.xGo(y)))(J||y)}})();static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),l=(()=>
1{class y{urlSerializer=(0,S.WQX)(bi);options=(0,S.WQX)(Ka,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,S.WQX)(E.aZ);urlHandlingStrategy=(0,S.WQX)($i);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Cn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:O,initialUrl:V,targetBrowserUrl:J}){const H=void 0!==O?this.urlHandlingStrategy.merge(O,V):V,z=J??H;return z instanceof Cn?this.urlSerializer.serialize(z):z}commitTransition({targetRouterState:O,finalUrl:V,initialUrl:J}){V&&O?(this.currentUrlTree=V,this.rawUrlTree=this.urlHandlingStrategy.merge(V,J),this.routerState=O):this.rawUrlTree=J}routerState=Xn(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:O}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,O??this.rawUrlTree)}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:()=>(0,S.WQX)(w),providedIn:"root"})}return y})(),w=(()=>{class y extends l{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(O){return this.location.subscribe(V=>{"popstate"===V.type&&setTimeout(()=>{O(V.url,V.state,"popstate")})})}handleRouterEvent(O,V){O instanceof Gt?this.updateStateMemento():O instanceof ri?this.commitTransition(V):O instanceof bo?"eager"===this.urlUpdateStrategy&&(V.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(V),V)):O instanceof fr?(this.commitTransition(V),"deferred"===this.urlUpdateStrategy&&!V.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(V),V)):O instanceof pr&&O.code!==Yn.SupersededByNewNavigation&&O.code!==Yn.Redirect?this.restoreHistory(V):O instanceof Gr?this.restoreHistory(V,!0):O instanceof Nn&&(this.lastSuccessfulId=O.id,this.currentPageId=this.browserPageId)}setBrowserUrl(O,{extras:V,id:J}){const{replaceUrl:H,state:z}=V;if(this.location.isCurrentPathEqualTo(O)||H){const Ce=this.browserPageId,he={...z,...this.generateNgRouterState(J,Ce)};this.location.replaceState(O,"",he)}else{const Ce={...z,...this.generateNgRouterState(J,this.browserPageId+1)};this.location.go(O,"",Ce)}}restoreHistory(O,V=!1){if("computed"===this.canceledNavigationResolution){const H=this.currentPageId-this.browserPageId;0!==H?this.location.historyGo(H):this.getCurrentUrlTree()===O.finalUrl&&0===H&&(this.resetInternalState(O),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(V&&this.resetInternalState(O),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(O,V){return"computed"===this.canceledNavigationResolution?{navigationId:O,\u0275routerPageId:V}:{navigationId:O}}static \u0275fac=(()=>{let O;return function(J){return(O||(O=M.xGo(y)))(J||y)}})();static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})();function C(y,T){y.events.pipe((0,te.p)(O=>O instanceof Nn||O instanceof pr||O instanceof Gr||O instanceof ri),(0,De.T)(O=>O instanceof Nn||O instanceof ri?0:O instanceof pr&&(O.code===Yn.Redirect||O.code===Yn.SupersededByNewNavigation)?2:1),(0,te.p)(O=>2!==O),(0,vt.s)(1)).subscribe(()=>{T()})}const k={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Q={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let oe=(()=>{class y{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,S.WQX)(M.C7A);stateManager=(0,S.WQX)(l);options=(0,S.WQX)(Ka,{optional:!0})||{};pendingTasks=(0,S.WQX)(S.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,S.WQX)(js);
1urlSerializer=(0,S.WQX)(bi);location=(0,S.WQX)(E.aZ);urlHandlingStrategy=(0,S.WQX)($i);injector=(0,S.WQX)(S.uvJ);_events=new N.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,S.WQX)(Hr);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,S.WQX)(Vs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,S.WQX)(qo,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:O=>{this.console.warn(O)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ee.yU;subscribeToNavigationEvents(){const O=this.navigationTransitions.events.subscribe(V=>{try{const J=this.navigationTransitions.currentTransition,H=(0,b.O8)(this.navigationTransitions.currentNavigation);if(null!==J&&null!==H)if(this.stateManager.handleRouterEvent(V,H),V instanceof pr&&V.code!==Yn.Redirect&&V.code!==Yn.SupersededByNewNavigation)this.navigated=!0;else if(V instanceof Nn)this.navigated=!0;else if(V instanceof Tr){const z=V.navigationBehaviorOptions,Ce=this.urlHandlingStrategy.merge(V.url,J.currentRawUrl),he={browserUrl:J.extras.browserUrl,info:J.extras.info,skipLocationChange:J.extras.skipLocationChange,replaceUrl:J.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Bl(J.source),...z};this.scheduleNavigation(Ce,wo,null,he,{resolve:J.resolve,reject:J.reject,promise:J.promise})}(function xi(y){return!(y instanceof fr||y instanceof Tr)})(V)&&this._events.next(V)}catch(J){this.navigationTransitions.transitionAbortWithErrorSubject.next(J)}});this.eventsSubscription.add(O)}resetRootComponentType(O){this.routerState.root.component=O,this.navigationTransitions.rootComponentType=O}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),wo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((O,V,J)=>{this.navigateToSyncWithBrowser(O,J,V)})}navigateToSyncWithBrowser(O,V,J){const H={replaceUrl:!0},z=J?.navigationId?J:null;if(J){const he={...J};delete he.navigationId,delete he.\u0275routerPageId,0!==Object.keys(he).length&&(H.state=he)}const Ce=this.parseUrl(O);this.scheduleNavigation(Ce,V,z,H).catch(he=>{this.disposed||this.injector.get(S.ZTf)(he)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,b.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(O){this.config=O.map(Va),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(O,V={}){const{relativeTo:J,queryParams:H,fragment:z,queryParamsHandling:Ce,preserveFragment:he}=V,Te=he?this.currentUrlTree.fragment:z;let Ge,Oe=null;switch(Ce??this.options.defaultQueryParamsHandling){case"merge":Oe={...this.currentUrlTree.queryParams,...H};break;case"preserve":Oe=this.currentUrlTree.queryParams;break;default:Oe=H||null}null!==Oe&&(Oe=this.removeEmptyProps(Oe));try{Ge=Vn(J?J.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof O[0]||"/"!==O[0][0])&&(O=[]),Ge=this.currentUrlTree.root}return Wn(Ge,O,Oe,Te??null)}navigateByUrl(O,V={skipLocationChange:!1}){const J=bt(O)?O:this.parseUrl(O),H=this.urlHandlingStrategy.merge(J,this.rawUrlTree);return this.scheduleNavigation(H,wo,null,V)}navigate(O,V={skipLocationChange:!1}){return function se(y){for(let T=0;T<y.length;T++)if(null==y[T])throw new S.buA(4008,!1)}(O),this.navigateByUrl(this.createUrlTree(O,V),V)}serializeUrl(O){return this.urlSerializer.serialize(O)}parseUrl(O){try{return this.urlSerializer.parse(O)}catch{return this.console.warn((0,S.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(O,V){let J;if(J=!0===V?{...k}:!1===V?{...Q}:V,bt(O))return Qn(this.currentUrlTree,O,J);const H=this.parseUrl(O);return Qn(this.currentUrlTree,H,J)}removeEmptyProps(O){return Object.entries(O).reduce((V,[J,H])=>
1(null!=H&&(V[J]=H),V),{})}scheduleNavigation(O,V,J,H,z){if(this.disposed)return Promise.resolve(!1);let Ce,he,Te;z?(Ce=z.resolve,he=z.reject,Te=z.promise):Te=new Promise((Ge,yt)=>{Ce=Ge,he=yt});const Oe=this.pendingTasks.add();return C(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Oe))}),this.navigationTransitions.handleNavigationRequest({source:V,restoredState:J,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:O,extras:H,resolve:Ce,reject:he,promise:Te,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Te.catch(Ge=>Promise.reject(Ge))}static \u0275fac=function(V){return new(V||y)};static \u0275prov=S.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},38132(Vt,Pe,d){"use strict";d.d(Pe,{Wk:()=>$t,iI:()=>yo,wQ:()=>Et});var re=d(10467),K=d(57303),ce=d(60177),ue=d(72200),ae=d(17705),te=d(2615),de=d(73664),_e=d(59295),we=d(91029),De=d(21413),Ie=d(86648),Me=d(7673),Ze=d(70274),Ye=d(5964),Je=d(26365),vt=d(31397);let $t=(()=>{class Xt{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,te.vPA)(null);get href(){return(0,_e.O8)(this.reactiveHref)}set href(wt){this.reactiveHref.set(wt)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new De.B;applicationErrorHandler=(0,te.WQX)(te.ZTf);options=(0,te.WQX)(we.J_,{optional:!0});constructor(wt,Kt,xn,Fn,fn,Dn){this.router=wt,this.route=Kt,this.tabIndexAttribute=xn,this.renderer=Fn,this.el=fn,this.locationStrategy=Dn,this.reactiveHref.set((0,te.WQX)(new ae.ES_("href"),{optional:!0}));const Ve=fn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ve||"area"===Ve||!("object"!=typeof customElements||!customElements.get(Ve)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let wt=this.preserveFragment;const Kt=xn=>"merge"===xn||"preserve"===xn;wt||=Kt(this.queryParamsHandling),wt||=!this.queryParamsHandling&&!Kt(this.options?.defaultQueryParamsHandling),wt&&(this.subscription=this.router.events.subscribe(xn=>{xn instanceof we.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(wt){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",wt)}ngOnChanges(wt){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(wt){null==wt?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,we.wO)(wt)||Array.isArray(wt)?wt:[wt],this.setTabIndexIfNotOnNativeEl("0"))}onClick(wt,Kt,xn,Fn,fn){const Dn=this.urlTree;if(null===Dn||this.isAnchorElement&&(0!==wt||Kt||xn||Fn||fn||"string"==typeof this.target&&"_self"!=this.target))return!0;const Ve={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Dn,Ve)?.catch(He=>{this.applicationErrorHandler(He)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const wt=this.urlTree;this.reactiveHref.set(null!==wt&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(wt))??"":null)}applyAttributeValue(wt,Kt){const xn=this.renderer,Fn=this.el.nativeElement;null!==Kt?xn.setAttribute(Fn,wt,Kt):xn.removeAttribute(Fn,wt)}get urlTree(){return null===this.routerLinkInput?null:(0,we.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(Kt){return new(Kt||Xt)(de.rXU(we.Ix),de.rXU(we.nX),de.kS0("tabindex"),de.rXU(de.sFG),de.rXU(de.aKT),de.rXU(K.hb))};static \u0275dir=de.FsC({type:Xt,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Kt,xn){1&Kt&&de.bIt("click",function(fn){return xn.onClick(fn.button,fn.ctrlKey,fn.shift
1Key,fn.altKey,fn.metaKey)}),2&Kt&&de.BMQ("href",xn.reactiveHref(),de.n$t)("target",xn.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ae.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ae.L39],replaceUrl:[2,"replaceUrl","replaceUrl",ae.L39],routerLink:"routerLink"},features:[de.OA$]})}return Xt})(),Et=(()=>{class Xt{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new de.bkB;constructor(wt,Kt,xn,Fn,fn){this.router=wt,this.element=Kt,this.renderer=xn,this.cdr=Fn,this.link=fn,this.routerEventsSubscription=wt.events.subscribe(Dn=>{Dn instanceof we.wF&&this.update()})}ngAfterContentInit(){(0,Me.of)(this.links.changes,(0,Me.of)(null)).pipe((0,Je.U)()).subscribe(wt=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const wt=[...this.links.toArray(),this.link].filter(Kt=>!!Kt).map(Kt=>Kt.onChanges);this.linkInputChangesSubscription=(0,Ie.H)(wt).pipe((0,Je.U)()).subscribe(Kt=>{this._isActive!==this.isLinkActive(this.router)(Kt)&&this.update()})}set routerLinkActive(wt){const Kt=Array.isArray(wt)?wt:wt.split(" ");this.classes=Kt.filter(xn=>!!xn)}ngOnChanges(wt){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const wt=this.hasActiveLinks();this.classes.forEach(Kt=>{wt?this.renderer.addClass(this.element.nativeElement,Kt):this.renderer.removeClass(this.element.nativeElement,Kt)}),wt&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==wt&&(this._isActive=wt,this.cdr.markForCheck(),this.isActiveChange.emit(wt))})}isLinkActive(wt){const Kt=function xt(Xt){return!!Xt.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return xn=>{const Fn=xn.urlTree;return!!Fn&&wt.isActive(Fn,Kt)}}hasActiveLinks(){const wt=this.isLinkActive(this.router);return this.link&&wt(this.link)||this.links.some(wt)}static \u0275fac=function(Kt){return new(Kt||Xt)(de.rXU(we.Ix),de.rXU(de.aKT),de.rXU(de.sFG),de.rXU(ae.gRc),de.rXU($t,8))};static \u0275dir=de.FsC({type:Xt,selectors:[["","routerLinkActive",""]],contentQueries:function(Kt,xn,Fn){if(1&Kt&&de.wni(Fn,$t,5),2&Kt){let fn;de.mGM(fn=de.lsd())&&(xn.links=fn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[de.OA$]})}return Xt})();class Ot{}let At=(()=>{class Xt{router;injector;preloadingStrategy;loader;subscription;constructor(wt,Kt,xn,Fn){this.router=wt,this.injector=Kt,this.preloadingStrategy=xn,this.loader=Fn}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ye.p)(wt=>wt instanceof we.wF),(0,Ze.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(wt,Kt){const xn=[];for(const Fn of Kt){Fn.providers&&!Fn._injector&&(Fn._injector=(0,de.Ol2)(Fn.providers,wt,`Route: ${Fn.path}`));const fn=Fn._injector??wt,Dn=Fn._loadedInjector??fn;(Fn.loadChildren&&!Fn._loadedRoutes&&void 0===Fn.canLoad||Fn.loadComponent&&!Fn._loadedComponent)&&xn.push(this.preloadConfig(fn,Fn)),(Fn.children||Fn._loadedRoutes)&&xn.push(this.processRoutes(Dn,Fn.children??Fn._loadedRoutes))}return(0,Ie.H)(xn).pipe((0,Je.U)())}preloadConfig(wt,Kt){return this.preloadingStrategy.preload(Kt,()=>{let xn;xn=Kt.loadChildren&&void 0===Kt.canLoad?this.loader.loadChildren(wt,Kt):(0,Me.of)(null);const Fn=xn.pipe((0,vt.Z)(fn=>null===fn?(0,Me.of)(void 0):(Kt._loadedRoutes=fn.routes,Kt._loadedInjector=fn.injector,this.processRoutes(fn.injector??wt,fn.routes))));if(Kt.loadComponent&&!Kt._loadedComponent){const fn=this.loader.loadComponent(wt,Kt);
1return(0,Ie.H)([Fn,fn]).pipe((0,Je.U)())}return Fn})}static \u0275fac=function(Kt){return new(Kt||Xt)(te.KVO(we.Ix),te.KVO(te.uvJ),te.KVO(Ot),te.KVO(we.D$))};static \u0275prov=te.jDH({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})();const Ct=new te.nKC("");let _t=(()=>{class Xt{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=we.wU;restoredId=0;store={};constructor(wt,Kt,xn,Fn,fn={}){this.urlSerializer=wt,this.transitions=Kt,this.viewportScroller=xn,this.zone=Fn,this.options=fn,fn.scrollPositionRestoration||="disabled",fn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(wt=>{wt instanceof we.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=wt.navigationTrigger,this.restoredId=wt.restoredState?wt.restoredState.navigationId:0):wt instanceof we.wF?(this.lastId=wt.id,this.scheduleScrollEvent(wt,this.urlSerializer.parse(wt.urlAfterRedirects).fragment)):wt instanceof we.lW&&wt.code===we.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(wt,this.urlSerializer.parse(wt.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(wt=>{if(!(wt instanceof we.OY))return;const Kt={behavior:"instant"};wt.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Kt):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(wt.position,Kt):wt.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(wt.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(wt,Kt){var xn=this;this.zone.runOutsideAngular((0,re.A)(function*(){yield new Promise(Fn=>{setTimeout(Fn),typeof requestAnimationFrame<"u"&&requestAnimationFrame(Fn)}),xn.zone.run(()=>{xn.transitions.events.next(new we.OY(wt,"popstate"===xn.lastSource?xn.store[xn.restoredId]:null,Kt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Kt){de.QTQ()};static \u0275prov=te.jDH({token:Xt,factory:Xt.\u0275fac})}return Xt})();function Dt(Xt,Pt){return{\u0275kind:Xt,\u0275providers:Pt}}function jn(){const Xt=(0,te.WQX)(te.zZn);return Pt=>{const wt=Xt.get(de.o8S);if(Pt!==wt.components[0])return;const Kt=Xt.get(we.Ix),xn=Xt.get(xr);1===Xt.get(tn)&&Kt.initialNavigation(),Xt.get(En,null,{optional:!0})?.setUpPreloading(),Xt.get(Ct,null,{optional:!0})?.init(),Kt.resetRootComponentType(wt.componentTypes[0]),xn.closed||(xn.next(),xn.complete(),xn.unsubscribe())}}const xr=new te.nKC("",{factory:()=>new De.B}),tn=new te.nKC("",{providedIn:"root",factory:()=>1}),En=new te.nKC("");function m(Xt){return Dt(0,[{provide:En,useExisting:At},{provide:Ot,useExisting:Xt}])}function Kr(Xt){return(0,de._jY)("NgRouterViewTransitions"),Dt(9,[{provide:we.Pu,useValue:we.Lg},{provide:we.bK,useValue:{skipNextTransition:!!Xt?.skipInitialTransition,...Xt}}])}const Ci=[K.aZ,{provide:we.Sd,useClass:we.nU},we.Ix,we.Zp,{provide:we.nX,useFactory:function kt(Xt){return Xt.routerState.root},deps:[we.Ix]},we.D$,[]];let yo=(()=>{class Xt{constructor(){}static forRoot(wt,Kt){return{ngModule:Xt,providers:[Ci,[],{provide:we.bw,multi:!0,useValue:wt},[],Kt?.errorHandler?{provide:we.XR,useValue:Kt.errorHandler}:[],{provide:we.J_,useValue:Kt||{}},Kt?.useHash?{provide:K.hb,useClass:ue.fw}:{provide:K.hb,useClass:K.Sm},{provide:Ct,useFactory:()=>{const Xt=(0,te.WQX)(ce.Xr),Pt=(0,te.WQX)(de.SKi),wt=(0,te.WQX)(we.J_),Kt=(0,te.WQX)(we.J2),xn=(0,te.WQX)(we.Sd);return wt.scrollOffset&&Xt.setOffset(wt.scrollOffset),new _t(xn,Kt,Xt,Pt,wt)}},Kt?.preloadingStrategy?m(Kt.preloadingStrategy).\u0275providers:[],Kt?.initialNavigation?at(Kt):[],Kt?.bindToComponentInputs?Dt(8,[we.tD,{provide:we.c1,useExisting:we.tD}]).\u0275providers:[],Kt?.enableViewTransitions?Kr().\u0275providers:[],[{provide:Tt,useFactory:jn},{provide:de.iLQ,multi:!0,useExisting:Tt}]]}}static forChild(wt){return{ngModule:Xt,providers:[{provide:we.bw,multi:!0,useValue:wt}]}}static \u0275fac=function(Kt){return new(Kt||Xt)};static \u0275mod=de.$C({type:Xt});static \u0275inj=te.G2t({})}return Xt})();function at(Xt){return["disabled"===Xt.initialNavigation?Dt(3,[(0,de.phd)(()=>{(0,te.WQX)(we.Ix).setUpLocationChangeListener()}),{provide:tn,useValue:2}]).\u0275providers:[],"enabledBlocking"===Xt.initialNavigation?Dt(2,[{provide:de.tvf,useValue:!0},{provide:tn,useValue:0},(0,de.phd)(()=>{const Pt=(0,te.WQX)(te.zZn);return Pt.get(K.hj,Promise.resolve()).then(()=>new Promise(Kt=>{const xn=Pt.get(we.Ix),Fn=Pt.get(xr);(0,we.gk)(xn,()=>{Kt(!0)}),Pt.get(we.J2).afterPreactivation=()=>(Kt(!0),Fn.closed?(0,Me.of)(void 0):Fn),xn.initialNavigation()}))})]).\u0275providers:[]]}const Tt=new te.nKC("")},59810(Vt,Pe,d){"use strict";d.d(Pe,{$rz:()=>p,$wk:()=>ur,BKW:()=>Gn,Cqy:()=>Si,Ecv:()=>mo,Ga$:()=>xt,MKn:()=>te,NCh:()=>Ot,NJ1:()=>Yr,Nms:()=>U,RKU:()=>_e,TFJ:()=>di,TaQ:()=>rt,YNG:()=>ce,ZvF:()=>ao,a2E:()=>Ei,ehJ:()=>Zi,foz:()=>ae,fsG:()=>_i,gHw:()=>Ht,gi3:()=>Sn,h4W:()=>yi,p5h:()=>pt,rSl:()=>Ci,s4:()=>xn,vBs:()=>we,xNA:()=>Xo});
1const U={name:"alert",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 9.55566C8.49063 9.55566 8.88862 9.95549 8.88867 10.4443C8.88867 10.9332 8.49067 11.333 8 11.333C7.50935 11.333 7.11133 10.9331 7.11133 10.4443C7.11138 9.95559 7.50938 9.55568 8 9.55566Z" fill="currentColor"/><path d="M8 4.66699C8.36802 4.66708 8.66684 4.965 8.66699 5.33301V8C8.66697 8.36812 8.3681 8.6669 8 8.66699C7.63182 8.66699 7.33303 8.36817 7.33301 8V5.33301C7.33316 4.96495 7.63191 4.66699 8 4.66699Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 1.33301C11.6819 1.33301 14.667 4.3181 14.667 8C14.667 11.6819 11.6819 14.667 8 14.667C4.3181 14.667 1.33301 11.6819 1.33301 8C1.33301 4.3181 4.3181 1.33301 8 1.33301ZM8 2.66699C5.05448 2.66699 2.66699 5.05448 2.66699 8C2.66699 10.9455 5.05448 13.333 8 13.333C10.9455 13.333 13.333 10.9455 13.333 8C13.333 5.05448 10.9455 2.66699 8 2.66699Z" fill="currentColor"/></svg>'},ce={name:"attachment",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M12.0303 2.55548C10.9759 1.50106 9.26636 1.50106 8.21195 2.55548L6.09063 4.6768L7.08058 5.66675L9.2019 3.54542C9.70958 3.03774 10.5327 3.03774 11.0404 3.54542L12.4546 4.95964C12.9623 5.46732 12.9623 6.29043 12.4546 6.79812L10.3333 8.91944L11.3232 9.90939L13.4445 7.78807C14.499 6.73365 14.499 5.0241 13.4445 3.96969L12.0303 2.55548Z" fill="currentColor"/><path d="M3.54504 9.20228L5.66636 7.08096L4.67641 6.09101L2.55509 8.21233C1.50068 9.26675 1.50068 10.9763 2.55509 12.0307L3.96931 13.4449C5.02372 14.4993 6.73327 14.4993 7.78768 13.4449L9.909 11.3236L8.91905 10.3336L6.79773 12.455C6.29005 12.9627 5.46694 12.9627 4.95926 12.455L3.54504 11.0408C3.03736 10.5331 3.03736 9.70996 3.54504 9.20228Z" fill="currentColor"/><path d="M9.23739 5.70166L5.70185 9.2372L6.6918 10.2271L10.2273 6.69161L9.23739 5.70166Z" fill="currentColor"/></svg>'},ae={name:"avatar_add",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M12.7 2.00005C12.7 1.61345 12.3866 1.30005 12 1.30005C11.6134 1.30005 11.3 1.61345 11.3 2.00005V3.30005L9.99995 3.30005C9.61335 3.30005 9.29995 3.61345 9.29995 4.00005C9.29995 4.38665 9.61335 4.70005 9.99995 4.70005H11.3V6.00005C11.3 6.38665 11.6134 6.70005 12 6.70005C12.3866 6.70005 12.7 6.38665 12.7 6.00005V4.70005H14C14.3866 4.70005 14.7 4.38665 14.7 4.00005C14.7 3.61345 14.3866 3.30005 14 3.30005L12.7 3.30005V2.00005Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.04167 6.29171C9.04167 7.78748 7.8291 9.00004 6.33333 9.00004C4.83756 9.00004 3.625 7.78748 3.625 6.29171C3.625 4.79594 4.83756 3.58337 6.33333 3.58337C7.8291 3.58337 9.04167 4.79594 9.04167 6.29171ZM7.64167 6.29171C7.64167 7.01428 7.05591 7.60004 6.33333 7.60004C5.61076 7.60004 5.025 7.01428 5.025 6.29171C5.025 5.56913 5.61076 4.98337 6.33333 4.98337C7.05591 4.98337 7.64167 5.56913 7.64167 6.29171Z" fill="currentColor"/><path d="M2.70002 13.339C2.70001 13.3395 2.70001 13.34 2.70002 13.339C2.69707 13.7231 2.38482 14.0333 2.00005 14.0333C1.61345 14.0333 1.30005 13.7199 1.30005 13.3333H2.00005C1.30005 13.3333 1.30005 13.3338 1.30005 13.3333L1.30005 13.3313L1.30006 13.329L1.3001 13.3235L1.30034 13.3089C1.30059 13.2976 1.30102 13.2831 1.3018 13.2657C1.30334 13.2309 1.30624 13.1842 1.31167 13.1273C1.32249 13.0137 1.34349 12.8578 1.38443 12.6736C1.46589 12.307 1.62922 11.8151 1.95928 11.32C2.64664 10.289 3.9628 9.3833 6.33338 9.3833C8.70396 9.3833 10.02
101 10.289 10.7075 11.32C11.0375 11.8151 11.2009 12.307 11.2823 12.6736C11.3233 12.8578 11.3443 13.0137 11.3551 13.1273C11.3605 13.1842 11.3634 13.2309 11.365 13.2657C11.3657 13.2831 11.3662 13.2976 11.3664 13.3089L11.3667 13.3235L11.3667 13.329L11.3667 13.3313L11.3667 13.3323C11.3667 13.3328 11.3667 13.3333 10.6667 13.3333L11.3667 13.3323C11.3667 13.7189 11.0533 14.0333 10.6667 14.0333C10.2819 14.0333 9.96969 13.7229 9.96674 13.3388L9.96635 13.3279C9.96578 13.3151 9.96445 13.292 9.9614 13.26C9.9553 13.1959 9.94245 13.0978 9.91568 12.9773C9.86173 12.7346 9.75422 12.414 9.54261 12.0966C9.14664 11.5026 8.29613 10.7833 6.33338 10.7833C4.37063 10.7833 3.52012 11.5026 3.12415 12.0966C2.91254 12.414 2.80504 12.7346 2.75109 12.9773C2.72431 13.0978 2.71147 13.1959 2.70536 13.26C2.70232 13.292 2.70099 13.3151 2.70042 13.3279L2.70002 13.339Z" fill="currentColor"/></svg>'},te={name:"block_quote",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M3 3.7998C3.3866 3.7998 3.7002 4.1134 3.7002 4.5V11.5C3.7002 11.8866 3.3866 12.2002 3 12.2002C2.6134 12.2002 2.2998 11.8866 2.2998 11.5V4.5C2.2998 4.1134 2.6134 3.7998 3 3.7998Z" fill="currentColor"/><path d="M13.1406 10.8145C13.4598 10.8796 13.7002 11.1616 13.7002 11.5C13.7002 11.8384 13.4598 12.1204 13.1406 12.1855L13 12.2002H6C5.6134 12.2002 5.2998 11.8866 5.2998 11.5C5.2998 11.1134 5.6134 10.7998 6 10.7998H13L13.1406 10.8145Z" fill="currentColor"/><path d="M13.1406 7.31445C13.4598 7.37958 13.7002 7.66159 13.7002 8C13.7002 8.33841 13.4598 8.62042 13.1406 8.68555L13 8.7002H6C5.6134 8.7002 5.2998 8.3866 5.2998 8C5.2998 7.6134 5.6134 7.2998 6 7.2998H13L13.1406 7.31445Z" fill="currentColor"/><path d="M13.1406 3.81445C13.4598 3.87958 13.7002 4.16159 13.7002 4.5C13.7002 4.83841 13.4598 5.12042 13.1406 5.18555L13 5.2002H6C5.6134 5.2002 5.2998 4.8866 5.2998 4.5C5.2998 4.1134 5.6134 3.7998 6 3.7998H13L13.1406 3.81445Z" fill="currentColor"/></svg>'},_e={name:"bookmark_filled",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.30005 3.33338C3.30005 2.2104 4.2104 1.30005 5.33338 1.30005H10.6667C11.7897 1.30005 12.7 2.2104 12.7 3.33338V14C12.7 14.2582 12.558 14.4954 12.3303 14.6172C12.1027 14.739 11.8266 14.7257 11.6118 14.5825L8.00005 12.1747L4.38834 14.5825C4.17354 14.7257 3.89736 14.739 3.66975 14.6172C3.44214 14.4954 3.30005 14.2582 3.30005 14V3.33338ZM10.5107 5.81206C10.7751 5.53002 10.7609 5.08704 10.4788 4.82263C10.1968 4.55822 9.75379 4.57251 9.48938 4.85454L7.45561 7.0239L6.46511 6.14345C6.17616 5.88661 5.73371 5.91263 5.47687 6.20158C5.22003 6.49053 5.24605 6.93298 5.535 7.18982L7.035 8.52316C7.31855 8.7752 7.75126 8.75549 8.01073 8.47873L10.5107 5.81206Z" fill="currentColor"/></svg>'},we={name:"bookmark",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.30005 3.33338C3.30005 2.2104 4.2104 1.30005 5.33338 1.30005H10.6667C11.7897 1.30005 12.7 2.2104 12.7 3.33338V14C12.7 14.2582 12.558 14.4954 12.3303 14.6172C12.1027 14.739 11.8266 14.7257 11.6118 14.5825L8.00005 12.1747L4.38834 14.5825C4.17354 14.7257 3.89736 14.739 3.66975 14.6172C3.44214 14.4954 3.30005 14.2582 3.30005 14V3.33338ZM5.33338 2.70005C4.9836 2.70005 4.70005 2.9836 4.70005 3.33338V12.6921L7.61176 10.7509C7.84689 10.5942 8.15321 10.5942 8.38834 10.7509L11.3 12.6921V3.33338C11.3 2.9836 11.0165 2.70005 10.6667 2.70005H5.33338Z" fill="currentColor"/></svg>'},xt={name:"chevron_down",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.4949 6.00507C12.2216 5.73171 11.7783 5.73171 11.505 6.00507L7.99995 9.5101L4.49493 6.00507C4.22156 5.73171 3.77834 5.73171 3.50498 6.00507C3.23161 6.27844 3.23161 6.72166 3.50498 6.99502L7.50498 10.995C7.63625 11.1263 7.8143 11.2 7.99995 11.2C8.1856 11.2 8.36365 11.1263 8.49493 10.995L12.4949 6.99502C12.7683 6.72166 12.7683 6.27844 12.4949 6.00507Z" fill="currentColor"/></svg>'},Ot={name:"chevron_left",data:'<svg width="16" height="16" viewB
1ox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.74493 12.4949C10.0183 12.2216 10.0183 11.7783 9.74493 11.505L6.2399 7.99995L9.74493 4.49493C10.0183 4.22156 10.0183 3.77834 9.74493 3.50498C9.47156 3.23161 9.02834 3.23161 8.75498 3.50498L4.75498 7.50498C4.6237 7.63625 4.54995 7.8143 4.54995 7.99995C4.54995 8.1856 4.6237 8.36365 4.75498 8.49493L8.75498 12.4949C9.02834 12.7683 9.47156 12.7683 9.74493 12.4949Z" fill="currentColor"/></svg>'},rt={name:"close",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M12.4949 4.49502C12.7683 4.22166 12.7683 3.77844 12.4949 3.50507C12.2215 3.23171 11.7783 3.23171 11.505 3.50507L7.99997 7.01005L4.495 3.50507C4.22163 3.23171 3.77842 3.23171 3.50505 3.50507C3.23168 3.77844 3.23168 4.22166 3.50505 4.49502L7.01003 8L3.50495 11.5051C3.23159 11.7784 3.23158 12.2217 3.50495 12.495C3.77832 12.7684 4.22153 12.7684 4.4949 12.495L7.99997 8.98995L11.505 12.495C11.7784 12.7684 12.2216 12.7684 12.495 12.495C12.7684 12.2217 12.7684 11.7784 12.495 11.5051L8.98992 8L12.4949 4.49502Z" fill="currentColor"/></svg>'},Sn={name:"community",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.00001 8.65458C6.56656 8.65458 5.40452 9.81663 5.40452 11.2501V11.9092C5.40452 12.2958 5.09112 12.6092 4.70452 12.6092C4.31792 12.6092 4.00452 12.2958 4.00452 11.9092V11.2501C4.00452 9.04344 5.79336 7.25458 8.00001 7.25458C10.2066 7.25458 11.9955 9.04344 11.9955 11.2501V11.9092C11.9955 12.2958 11.6821 12.6092 11.2955 12.6092C10.9089 12.6092 10.5955 12.2958 10.5955 11.9092V11.2501C10.5955 9.81663 9.43344 8.65458 8.00001 8.65458Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.72722 9.97281C2.02179 9.97281 1.44993 10.5447 1.44993 11.2501V11.9092C1.44993 12.2958 1.13653 12.6092 0.749927 12.6092C0.363327 12.6092 0.0499268 12.2958 0.0499268 11.9092V11.2501C0.0499268 9.77144 1.2486 8.57281 2.72722 8.57281C3.11382 8.57281 3.42722 8.88621 3.42722 9.27281C3.42722 9.65941 3.11382 9.97281 2.72722 9.97281Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5726 9.27281C12.5726 8.88621 12.886 8.57281 13.2726 8.57281C14.7513 8.57281 15.9499 9.77145 15.9499 11.2501V11.9092C15.9499 12.2958 15.6365 12.6092 15.2499 12.6092C14.8633 12.6092 14.5499 12.2958 14.5499 11.9092V11.2501C14.5499 10.5446 13.9781 9.97281 13.2726 9.97281C12.886 9.97281 12.5726 9.65941 12.5726 9.27281Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.32263 5.97728C5.32263 4.49866 6.52126 3.29999 7.99993 3.29999C9.47859 3.29999 10.6772 4.49866 10.6772 5.97728C10.6772 7.45594 9.47867 8.65458 8.00001 8.65458C6.52135 8.65458 5.32263 7.45594 5.32263 5.97728ZM7.99993 4.69999C7.29447 4.69999 6.72263 5.27185 6.72263 5.97728C6.72263 6.68274 7.29455 7.25458 8.00001 7.25458C8.70547 7.25458 9.27722 6.68274 9.27722 5.97728C9.27722 5.27185 8.70538 4.69999 7.99993 4.69999Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0.708864 7.95454C0.708864 6.83989 1.61245 5.93634 2.72706 5.93634C3.84167 5.93634 4.74526 6.83989 4.74526 7.95454C4.74526 9.06918 3.84183 9.97281 2.72722 9.97281C1.61261 9.97281 0.708864 9.06918 0.708864 7.95454ZM2.72706 7.33634C2.38563 7.33634 2.10886 7.6131 2.10886 7.95454C2.10886 8.29597 2.38579 8.57281 2.72722 8.57281C3.06865 8.57281 3.34526 8.29597 3.34526 7.95454C3.34526 7.6131 3.06849 7.33634 2.72706 7.33634Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2545 7.95454C11.2545 6.8399 12.1581 5.93634 13.2727 5.93634C14.3874 5.93634 15.2909 6.8399 15.2909 7.95454C15.2909 9.06918 14.3873 9.97281 13.2726 9.97281C12.158 9.97281 11.2545 9.06918 11.2545 7.95454ZM13.2727 7.33634C12.9313 7.33634 12.6545 7.6131 12.6545 7.95454C12.6545 8.29598 12.9312 8.57281 13.2726 8.57281C13.6141 8.57281 13.8909 8.29598 13.8909 7.95454C13.8909 7.6131 13.6142 7.33634 13.2727 7.33634Z" fill="currentColor"/></svg>'}
1,yi={name:"facebook",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8.55816 8.97633V14H6.25047V8.97633H4.33331V6.93935H6.25047V6.19823C6.25047 3.44675 7.39988 2 9.83183 2C10.5774 2 10.7638 2.11982 11.1721 2.21746V4.23225C10.715 4.15237 10.5863 4.10799 10.1114 4.10799C9.54781 4.10799 9.24603 4.26775 8.97089 4.58284C8.69574 4.89793 8.55816 5.44379 8.55816 6.22485V6.94379H11.1721L10.4709 8.98077H8.55816V8.97633Z" fill="currentColor"/></svg>'},Ci={name:"filter",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.6668 8C11.5251 8 12.2571 7.45933 12.5408 6.69999H13.3334C13.72 6.69999 14.0334 6.38659 14.0334 5.99999C14.0334 5.61339 13.72 5.29999 13.3334 5.29999H12.5408C12.2571 4.54066 11.5251 4 10.6668 4C9.80846 4 9.07644 4.54066 8.79269 5.29999H2.66669C2.28009 5.29999 1.96669 5.61339 1.96669 5.99999C1.96669 6.38659 2.28009 6.69999 2.66669 6.69999H8.79268C9.07643 7.45933 9.80845 8 10.6668 8ZM10.6668 7C11.219 7 11.6668 6.55228 11.6668 6C11.6668 5.44772 11.219 5 10.6668 5C10.1145 5 9.66676 5.44772 9.66676 6C9.66676 6.55228 10.1145 7 10.6668 7Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3.45919 9.30001C3.74293 8.54067 4.47496 8 5.33327 8C6.19158 8 6.92361 8.54067 7.20735 9.30001L13.3333 9.30001C13.7199 9.30001 14.0333 9.61341 14.0333 10C14.0333 10.3866 13.7199 10.7 13.3333 10.7L7.20734 10.7C6.92359 11.4593 6.19157 12 5.33327 12C4.47497 12 3.74294 11.4593 3.45919 10.7H2.66667C2.28008 10.7 1.96667 10.3866 1.96667 10C1.96667 9.61341 2.28008 9.30001 2.66667 9.30001L3.45919 9.30001ZM6.33327 10C6.33327 10.5523 5.88555 11 5.33327 11C4.78098 11 4.33327 10.5523 4.33327 10C4.33327 9.44772 4.78098 9 5.33327 9C5.88555 9 6.33327 9.44772 6.33327 10Z" fill="currentColor"/></svg>'},pt={name:"go",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.47528 2.53674C2.68534 2.29879 3.02921 2.23196 3.3131 2.37391L13.3131 7.37391C13.5503 7.49248 13.7001 7.73486 13.7001 8C13.7001 8.26515 13.5503 8.50753 13.3131 8.6261L3.3131 13.6261C3.02921 13.7681 2.68534 13.7012 2.47528 13.4633C2.26522 13.2253 2.24155 12.8758 2.41762 12.6117L5.49209 8L2.41762 3.38829C2.24155 3.1242 2.26522 2.77469 2.47528 2.53674ZM5.04462 4.80491L6.91582 7.61171C7.07258 7.84684 7.07258 8.15317 6.91582 8.38829L5.04462 11.1951L11.4348 8L5.04462 4.80491Z" fill="currentColor"/></svg>'},xn={name:"help",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.00005 2.69993C5.07294 2.69993 2.70005 5.07282 2.70005 7.99993C2.70005 10.927 5.07294 13.2999 8.00005 13.2999C10.9272 13.2999 13.3 10.927 13.3 7.99993C13.3 5.07282 10.9272 2.69993 8.00005 2.69993ZM1.30005 7.99993C1.30005 4.29962 4.29974 1.29993 8.00005 1.29993C11.7004 1.29993 14.7 4.29962 14.7 7.99993C14.7 11.7002 11.7004 14.6999 8.00005 14.6999C4.29974 14.6999 1.30005 11.7002 1.30005 7.99993Z" fill="currentColor"/><path d="M8.06272 9.52929C7.74828 9.52929 7.4888 9.27393 7.51321 8.96044C7.5157 8.92847 7.51842 8.89719 7.52138 8.86663C7.54627 8.66751 7.58983 8.48707 7.65205 8.32529C7.71427 8.16352 7.80138 8.01418 7.91338 7.87729C8.0316 7.7404 8.18405 7.6004 8.37072 7.45729C8.62583 7.27063 8.80316 7.09951 8.90272 6.94396C9.00227 6.78218 9.05205 6.62352 9.05205 6.46796C9.05205 6.3684 9.03338 6.27196 8.99605 6.17863C8.95872 6.08529 8.90272 6.0044 8.82805 5.93596C8.75338 5.86129 8.66005 5.80218 8.54805 5.75863C8.43605 5.71507 8.30227 5.69329 8.14672 5.69329C7.84805 5.69329 7.60849 5.7804 7.42805 5.95463C7.36152 6.01886 7.30725 6.09537 7.26525 6.18414C7.12856 6.47302 6.8983 6.74796 6.57872 6.74796C6.25913 6.74796 5.98937 6.48536 6.05924 6.1735C6.08626 6.0529 6.12253 5.9395 6.16805 5.83329C6.28627 5.57196 6.44494 5.35729 6.64405 5.18929C6.84316 5.01507 7.07338 4.8844 7.33472 4.79729C7.60227 4.71018 7.88849 4.66663 8.19338 4.66663C8.50449 4.66663 8.7876 4.71329 9.04272 4.80663C9.29783 4.89996 9.5156 5.03063 9.69605 5.19863C9.87649 5.3604 10.0165 5.55329 10.116 5.77729C10.2156 6.00129 10.2654 6.24085 10.2654 6.49596C10.2654 6.81951 10.1938 7.11196 10.0507 7.37329C9.9076 7.63463 9.67738 7.88351 9.36005 8.11996C9.22938 8.21951 9.11738 8.30974 9.02405 8.39063C8.93072 8.47151 8.85605 8.56174 8.80005 8.66129C8.74405 8.76085 8.70049 8.87907 8.66938 9.01596C8.61847 9.29599 8.40132 9.52929 8.1167 9.52929H8.06272ZM8.05805 10.1453C8.40857 10.1453 8.69738 10.4294 8.69738 10.78C8.69738 11.1305 8.40857 11.4146 8.05805 11.4146C7.70753 11.4146 7.41872 11.1305 7.41872 10.78C7.41872 10.4294 7.70753 10.1453 8.05805 10.1453Z" fill="currentColor"/></svg>'}
1,p={name:"info",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 7.32129C8.36808 7.32129 8.66682 7.61926 8.66699 7.9873V10.6543C8.66686 11.0224 8.36811 11.3213 8 11.3213C7.63189 11.3213 7.33314 11.0224 7.33301 10.6543V7.9873C7.33318 7.61926 7.63192 7.32129 8 7.32129Z" fill="currentColor"/><path d="M8 4.6543C8.49065 4.65431 8.88866 5.05419 8.88867 5.54297C8.88867 6.03176 8.49065 6.43163 8 6.43164C7.50933 6.43164 7.11133 6.03186 7.11133 5.54297C7.11134 5.05409 7.50934 4.6543 8 4.6543Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 1.33301C11.6819 1.33301 14.667 4.3181 14.667 8C14.667 11.6819 11.6819 14.667 8 14.667C4.3181 14.667 1.33301 11.6819 1.33301 8C1.33301 4.3181 4.3181 1.33301 8 1.33301ZM8 2.66699C5.05448 2.66699 2.66699 5.05448 2.66699 8C2.66699 10.9455 5.05448 13.333 8 13.333C10.9455 13.333 13.333 10.9455 13.333 8C13.333 5.05448 10.9455 2.66699 8 2.66699Z" fill="currentColor"/></svg>'},Ht={name:"instagram_original",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 3.08047C9.60313 3.08047 9.79297 3.0875 10.4234 3.11562C11.0094 3.14141 11.3258 3.23984 11.5367 3.32187C11.8156 3.42969 12.0172 3.56094 12.2258 3.76953C12.4367 3.98047 12.5656 4.17969 12.6734 4.45859C12.7555 4.66953 12.8539 4.98828 12.8797 5.57187C12.9078 6.20469 12.9148 6.39453 12.9148 7.99531C12.9148 9.59844 12.9078 9.78828 12.8797 10.4187C12.8539 11.0047 12.7555 11.3211 12.6734 11.532C12.5656 11.8109 12.4344 12.0125 12.2258 12.2211C12.0148 12.432 11.8156 12.5609 11.5367 12.6687C11.3258 12.7508 11.007 12.8492 10.4234 12.875C9.79063 12.9031 9.60078 12.9102 8 12.9102C6.39688 12.9102 6.20703 12.9031 5.57656 12.875C4.99063 12.8492 4.67422 12.7508 4.46328 12.6687C4.18438 12.5609 3.98281 12.4297 3.77422 12.2211C3.56328 12.0102 3.43438 11.8109 3.32656 11.532C3.24453 11.3211 3.14609 11.0023 3.12031 10.4187C3.09219 9.78594 3.08516 9.59609 3.08516 7.99531C3.08516 6.39219 3.09219 6.20234 3.12031 5.57187C3.14609 4.98594 3.24453 4.66953 3.32656 4.45859C3.43438 4.17969 3.56563 3.97812 3.77422 3.76953C3.98516 3.55859 4.18438 3.42969 4.46328 3.32187C4.67422 3.23984 4.99297 3.14141 5.57656 3.11562C6.20703 3.0875 6.39688 3.08047 8 3.08047ZM8 2C6.37109 2 6.16719 2.00703 5.52734 2.03516C4.88984 2.06328 4.45156 2.16641 4.07188 2.31406C3.67578 2.46875 3.34063 2.67266 3.00781 3.00781C2.67266 3.34062 2.46875 3.67578 2.31406 4.06953C2.16641 4.45156 2.06328 4.8875 2.03516 5.525C2.00703 6.16719 2 6.37109 2 8C2 9.62891 2.00703 9.83281 2.03516 10.4727C2.06328 11.1102 2.16641 11.5484 2.31406 11.9281C2.46875 12.3242 2.67266 12.6594 3.00781 12.9922C3.34063 13.325 3.67578 13.5312 4.06953 13.6836C4.45156 13.8312 4.8875 13.9344 5.525 13.9625C6.16484 13.9906 6.36875 13.9977 7.99766 13.9977C9.62656 13.9977 9.83047 13.9906 10.4703 13.9625C11.1078 13.9344 11.5461 13.8312 11.9258 13.6836C12.3195 13.5312 12.6547 13.325 12.9875 12.9922C13.3203 12.6594 13.5266 12.3242 13.6789 11.9305C13.8266 11.5484 13.9297 11.1125 13.9578 10.475C13.9859 9.83516 13.993 9.63125 13.993 8.00234C13.993 6.37344 13.9859 6.16953 13.9578 5.52969C13.9297 4.89219 13.8266 4.45391 13.6789 4.07422C13.5312 3.67578 13.3273 3.34062 12.9922 3.00781C12.6594 2.675 12.3242 2.46875 11.9305 2.31641C11.5484 2.16875 11.1125 2.06562 10.475 2.0375C9.83281 2.00703 9.62891 2 8 2Z" fill="currentColor"/><path d="M8 4.91797C6.29844 4.91797 4.91797 6.29844 4.91797 8C4.91797 9.70156 6.29844 11.082 8 11.082C9.70156 11.082 11.082 9.70156 11.082 8C11.082 6.29844 9.70156 4.91797 8 4.91797ZM8 9.99922C6.89609 9.99922 6.00078 9.10391 6.00078 8C6.00078 6.89609 6.89609 6.00078 8 6.00078C9.10391 6.00078 9.99922 6.89609 9.99922 8C9.99922 9.10391 9.10391 9.99922 8 9.99922Z" fill="currentColor"/><path d="M11.9234 4.79603C11.9234 5.19447 11.6 5.51556 11.2039 5.51556C10.8055 5.51556 10.4844 5.19212 10.4844 4.79603C10.4844 4.39759 10.8078 4.0765 11.2039 4.0765C11.6 4.0765 11.9234 4.39994 11.9234 4.79603Z" fill="currentColor"/></svg>'}
1,ur={name:"linkedin",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M5.38945 12.6434H3.17754V5.53033H5.38945V12.6434ZM4.28349 4.56116C3.57335 4.56116 3 3.98781 3 3.28058C3 2.57335 3.57335 2 4.28349 2C4.99072 2 5.56407 2.57335 5.56407 3.28058C5.56407 3.9849 4.99072 4.56116 4.28349 4.56116ZM13.6667 12.6434H11.4577V9.18581C11.4577 8.36217 11.4431 7.29986 10.308 7.29986C9.15844 7.29986 8.98381 8.19918 8.98381 9.1276V12.6434H6.77772V5.53033H8.8965V6.50241H8.9256C9.21955 5.94361 9.94134 5.3528 11.0153 5.3528C13.2534 5.3528 13.6667 6.82547 13.6667 8.74052V12.6434Z" fill="currentColor"/></svg>'},Yr={name:"loading",data:'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><style>.loading__animated-dot { animation: wave 1s linear infinite; } .loading__animated-dot:nth-child(2) { animation-delay: 0.6s; } .loading__animated-dot:nth-child(3) { animation-delay: 0.8s; } @keyframes wave { 0%, 60%, 100% { transform: initial; } 30% { transform: translateY(-5px); } }</style><circle class="loading__animated-dot" cx="5.99995" cy="12" r="1.99995" fill="currentColor"/><circle class="loading__animated-dot" cx="12" cy="12" r="1.99995" fill="currentColor"/><circle class="loading__animated-dot" cx="17.9995" cy="12" r="1.99995" fill="currentColor"/></svg>'},mo={name:"maximise",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.29996 2.66667C9.29996 2.28008 9.61336 1.96667 9.99996 1.96667H12.0033C13.1244 1.96667 14.0333 2.87554 14.0333 3.99667V6.00001C14.0333 6.38661 13.7199 6.70001 13.3333 6.70001C12.9467 6.70001 12.6333 6.38661 12.6333 6.00001V3.99667C12.6333 3.64873 12.3512 3.36667 12.0033 3.36667H9.99996C9.61336 3.36667 9.29996 3.05327 9.29996 2.66667ZM5.99404 3.37708L3.99663 3.37708C3.64869 3.37708 3.36663 3.65914 3.36663 4.00708L3.36663 6C3.36663 6.3866 3.05323 6.7 2.66663 6.7C2.28003 6.7 1.96663 6.3866 1.96663 6L1.96663 4.00708C1.96663 2.88595 2.87549 1.97708 3.99663 1.97708L5.99404 1.97708C6.38064 1.97708 6.69404 2.29048 6.69404 2.67708C6.69404 3.06368 6.38064 3.37708 5.99404 3.37708ZM13.3229 9.30942C13.7095 9.30942 14.0229 9.62282 14.0229 10.0094V12.0023C14.0229 13.1235 13.114 14.0323 11.9929 14.0323H9.99547C9.60887 14.0323 9.29547 13.7189 9.29547 13.3323C9.29547 12.9457 9.60887 12.6323 9.99547 12.6323H11.9929C12.3408 12.6323 12.6229 12.3503 12.6229 12.0023V10.0094C12.6229 9.62282 12.9363 9.30942 13.3229 9.30942ZM2.66661 9.31534C3.05321 9.31534 3.36661 9.62874 3.36661 10.0153L3.36661 12.0127C3.36661 12.3607 3.64868 12.6427 3.99661 12.6427H5.98953C6.37613 12.6427 6.68953 12.9561 6.68953 13.3427C6.68953 13.7293 6.37613 14.0427 5.98953 14.0427H3.99661C2.87548 14.0427 1.96661 13.1339 1.96661 12.0127L1.96661 10.0153C1.96661 9.62874 2.28001 9.31534 2.66661 9.31534Z" fill="currentColor"/></svg>'},Ei={name:"minimise",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 1.96667C10.3866 1.96667 10.7 2.28008 10.7 2.66667V4.66667C10.7 5.01646 10.9836 5.30001 11.3333 5.30001L13.3333 5.30001C13.7199 5.30001 14.0333 5.61341 14.0333 6.00001C14.0333 6.38661 13.7199 6.70001 13.3333 6.70001L11.3333 6.70001C10.2104 6.70001 9.30001 5.78965 9.30001 4.66667V2.66667C9.30001 2.28008 9.61341 1.96667 10 1.96667ZM5.99409 1.97709C6.38069 1.97709 6.69409 2.29049 6.69409 2.67709V4.66667C6.69409 5.78965 5.78373 6.70001 4.66075 6.70001H2.66668C2.28008 6.70001 1.96668 6.38661 1.96668 6.00001C1.96668 5.61341 2.28008 5.30001 2.66668 5.30001H4.66075C5.01053 5.30001 5.29409 5.01645 5.29409 4.66667V2.67709C5.29409 2.29049 5.60749 1.97709 5.99409 1.97709ZM11.3288 10.7094C10.9791 10.7094 10.6955 10.993 10.6955 11.3428V13.3323C10.6955 13.7189 10.3821 14.0323 9.99551 14.0323C9.60891 14.0323 9.29551 13.7189 9.29551 13.3323V11.3428C9.29551 10.2198 10.2059 9.30943 11.3288 9.30943H13.3229C13.7095 9.30943 14.0229 9.62283 14.0229 10.0094C14.0229 10.396 13.7095 10.7094 13.3229 10.7094H11.3288ZM1.96667 10.0153C1.96667 9.62875 2.28008 9.31535 2.66667 9.31535H4.65626C5.77924 9.31535 6.68959 10.2257 6.68959 11.3487V13.3428C6.68959 13.7294 6.37619 14.0428 5.98959 14.0428C5.60299 14.0428 5.28959 13.7294 5.28959 13.3428V11.3487C5.28959 10.9989 5.00604 10.7153 4.65626 10.7153H2.66667C2.28008 10.7153 1.96667 10.4019 1.96667 10.0153Z" fill="currentColor"/></svg>'}
1,_i={name:"minus",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3667 8C13.3667 8.3866 13.0533 8.7 12.6667 8.7L3.33334 8.7C2.94674 8.7 2.63334 8.3866 2.63334 8C2.63334 7.6134 2.94674 7.3 3.33334 7.3L12.6667 7.3C13.0533 7.3 13.3667 7.6134 13.3667 8Z" fill="currentColor"/></svg>'},Gn={name:"plus",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8.69996 3.3333C8.69996 2.9467 8.38656 2.6333 7.99996 2.6333C7.61336 2.6333 7.29996 2.9467 7.29996 3.3333V7.29997H3.3333C2.9467 7.29997 2.6333 7.61337 2.6333 7.99997C2.6333 8.38657 2.9467 8.69997 3.3333 8.69997H7.29996V12.6666C7.29996 13.0532 7.61336 13.3666 7.99996 13.3666C8.38656 13.3666 8.69996 13.0532 8.69996 12.6666V8.69997H12.6666C13.0532 8.69997 13.3666 8.38657 13.3666 7.99997C13.3666 7.61337 13.0532 7.29997 12.6666 7.29997H8.69996V3.3333Z" fill="currentColor"/></svg>'},ao={name:"reply",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.49494 1.50501C6.22157 1.23165 5.77836 1.23165 5.50499 1.50501L0.838326 6.17168C0.564959 6.44505 0.564959 6.88826 0.838326 7.16163L5.50499 11.8283C5.77836 12.1017 6.22157 12.1017 6.49494 11.8283C6.76831 11.5549 6.76831 11.1117 6.49494 10.8383L3.02325 7.36665H10.6666C11.8303 7.36665 12.6424 7.76175 13.1641 8.29979C13.6938 8.84605 13.9666 9.5832 13.9666 10.3333C13.9666 11.0834 13.6938 11.8206 13.1641 12.3669C12.6424 12.9049 11.8303 13.3 10.6666 13.3C10.28 13.3 9.96663 13.6134 9.96663 14C9.96663 14.3866 10.28 14.7 10.6666 14.7C12.1697 14.7 13.3576 14.1784 14.1692 13.3415C14.9728 12.5127 15.3666 11.4165 15.3666 10.3333C15.3666 9.25011 14.9728 8.15393 14.1692 7.32519C13.3576 6.48822 12.1697 5.96665 10.6666 5.96665H3.02325L6.49494 2.49496C6.76831 2.2216 6.76831 1.77838 6.49494 1.50501Z" fill="currentColor"/></svg>'},di={name:"resize",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.7851 2.47139C14.0454 2.73173 14.0454 3.15384 13.7851 3.41419L3.41419 13.7851C3.15384 14.0454 2.73173 14.0454 2.47139 13.7851C2.21104 13.5247 2.21104 13.1026 2.47139 12.8423L12.8423 2.47139C13.1026 2.21104 13.5247 2.21104 13.7851 2.47139Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.7279 6.2417C14.9883 6.50205 14.9883 6.92416 14.7279 7.18451L7.18543 14.727C6.92508 14.9873 6.50297 14.9873 6.24262 14.727C5.98227 14.4666 5.98227 14.0445 6.24262 13.7842L13.7851 6.2417C14.0454 5.98135 14.4676 5.98135 14.7279 6.2417Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.7279 10.9573C14.9883 11.2177 14.9883 11.6398 14.7279 11.9001L11.8995 14.7286C11.6391 14.9889 11.217 14.9889 10.9567 14.7286C10.6963 14.4682 10.6963 14.0461 10.9567 13.7857L13.7851 10.9573C14.0454 10.697 14.4676 10.697 14.7279 10.9573Z" fill="currentColor"/></svg>'},Si={name:"success",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.00005 2.69993C5.07294 2.69993 2.70005 5.07282 2.70005 7.99993C2.70005 10.927 5.07294 13.2999 8.00005 13.2999C10.9272 13.2999 13.3 10.927 13.3 7.99993C13.3 5.07282 10.9272 2.69993 8.00005 2.69993ZM1.30005 7.99993C1.30005 4.29962 4.29974 1.29993 8.00005 1.29993C11.7004 1.29993 14.7 4.29962 14.7 7.99993C14.7 11.7002 11.7004 14.6999 8.00005 14.6999C4.29974 14.6999 1.30005 11.7002 1.30005 7.99993Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M10.4788 6.15601C10.7608 6.42042 10.7751 6.86341 10.5107 7.14545L8.01068 9.81211C7.75121 10.0889 7.31849 10.1086 7.03495 9.85654L5.53495 8.52321C5.246 8.26636 5.21997 7.82391 5.47681 7.53497C5.73366 7.24602 6.17611 7.21999 6.46505 7.47683L7.45556 8.35728L9.48932 6.18793C9.75374 5.90589 10.1967 5.8916 10.4788 6.15601Z" fill="currentColor"/></svg>'}
1,Xo={name:"x",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M9.11081 7.08118L13.4574 2H12.4274L8.65326 6.41192L5.63889 2H2.16217L6.72049 8.6716L2.16217 14H3.19222L7.17778 9.34086L10.3612 14H13.8379L9.11056 7.08118H9.11081ZM7.70001 8.73038L7.23816 8.06604L3.56336 2.77981H5.14546L8.11107 7.04596L8.57292 7.71031L12.4279 13.2557H10.8458L7.70001 8.73063V8.73038Z" fill="currentColor"/></svg>'},Zi={name:"youtube",data:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.2168 3.61893C13.788 3.77269 14.2383 4.22299 14.392 4.7941C14.6776 5.83747 14.6666 8.01209 14.6666 8.01209C14.6666 8.01209 14.6666 10.1757 14.392 11.2191C14.2383 11.7902 13.788 12.2405 13.2168 12.3943C12.1735 12.6688 7.99995 12.6688 7.99995 12.6688C7.99995 12.6688 3.83742 12.6688 2.78306 12.3833C2.21195 12.2295 1.76165 11.7792 1.60789 11.2081C1.33331 10.1757 1.33331 8.00111 1.33331 8.00111C1.33331 8.00111 1.33331 5.83747 1.60789 4.7941C1.76165 4.22299 2.22293 3.76171 2.78306 3.60795C3.82644 3.33337 7.99995 3.33337 7.99995 3.33337C7.99995 3.33337 12.1735 3.33337 13.2168 3.61893ZM10.1414 8.00152L6.67086 10.0004V6.00261L10.1414 8.00152Z" fill="currentColor"/></svg>'}},78884(Vt,Pe,d){"use strict";d.d(Pe,{AJJ:()=>Qi,BYv:()=>yr,CR$:()=>kc,CYR:()=>Tp,CkR:()=>qn,CxE:()=>eu,DN3:()=>Jd,EB$:()=>Mp,FIX:()=>rf,G0i:()=>Ir,Iqg:()=>D,JPx:()=>Cp,MpK:()=>fl,NZc:()=>ze,PYJ:()=>cd,PfE:()=>Ai,Qpp:()=>oc,RlV:()=>dl,S0F:()=>ht,SP9:()=>jl,SbS:()=>ud,Sjx:()=>zn,TDG:()=>Mm,Tp:()=>bc,UwB:()=>Ii,VQ:()=>Hl,VfW:()=>qr,WO1:()=>le,XUj:()=>G,XpZ:()=>zl,Y2P:()=>tl,YIZ:()=>We,YUF:()=>sh,Z4_:()=>Ip,ZUJ:()=>Cl,ZuA:()=>Qr,_Yu:()=>Zo,bEy:()=>uu,clF:()=>lh,d3n:()=>Vr,dx6:()=>vc,fEU:()=>hl,fT4:()=>Pu,fw0:()=>ns,heP:()=>ef,hen:()=>ul,hwF:()=>cu,inm:()=>El,isL:()=>dd,mhw:()=>th,nSt:()=>wl,or0:()=>Eo,pbY:()=>xl,q3N:()=>Mo,q9O:()=>Le,qNj:()=>hr,qzw:()=>wr,rxf:()=>ah,t4p:()=>qc,uWt:()=>La,vjm:()=>Yl,wBS:()=>Qo,wUF:()=>qd,waY:()=>Tu,wux:()=>Qd,xBz:()=>ou,yXV:()=>Ou,zEP:()=>el});var Ve=d(17705),He=d(2615),p=d(73664),Ht=d(21413),sn=d(84412),bt=d(7673),un=d(5964),Vn=d(56977),Wn=d(96354),$n=d(25558),_r=d(96697),cr=(d(72184),d(72200)),Yr=d(99213),gi=d(28943),ji=d(59115),er=d(29330),mo=d(40455),ei=d(86156),Ho=d(37918),Ei=d(345),_i=d(59810),ti=d(89417),Uo=d(82765),xo=d(5951),Zr=d(64727),wo=d(71228),dt=d(17094),Yt=d(71997),Gt=d(40100),Nn=d(30450),Yn=d(23029),kn=d(96183);const to=["*"];function Vi(P,lt){1&P&&p.SdG(0)}function Ti(P,lt){if(1&P&&(p.rj2(0,"span",3),p.EFF(1),p.eux()),2&P){const I=p.XpG(2);p.AVh("badge__txt-label--truncate",I.hasMaxWidth),p.R7$(),p.SpI(" ",I.label," ")}}function Wt(P,lt){if(1&P&&(p.rj2(0,"span",2),p.EFF(1),p.eux()),2&P){const I=p.XpG(2);p.R7$(),p.JRh(I.labelCounter)}}function yn(P,lt){if(1&P&&(p.rj2(0,"span",0),p.nVh(1,Vi,1,0)(2,Ti,2,3,"span",1)(3,Wt,2,1,"span",2),p.eux()),2&P){let I;const pe=p.XpG();p.R7$(),p.vxM((I=pe.type)===pe.BadgeType.Icon?1:I===pe.BadgeType.Label?2:3)}}function Bn(P,lt){if(1&P&&p.nrm(0,"mat-icon",0),2&P){const I=p.XpG();p.Y8G("svgIcon",I.icon)}}function Gn(P,lt){if(1&P&&(p.j41(0,"mat-icon"),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.icon)}}const fr=(P,lt)=>({"avatar--with-border":P,"avatar--disabled":lt});function Tr(P,lt){if(1&P&&(p.j41(0,"div",1),p.nrm(1,"img",3),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.Y8G("src",lt,p.B4B)("alt",I.altAvatar)}}function xi(P,lt){if(1&P&&(p.j41(0,"span"),p.EFF(1),p.nI1(2,"fullNameToInitials"),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(p.i5U(2,1,I.getPlaceholder(I.avatarSize),I.allowSpecialSymbols))}}function Jr(P,lt){if(1&P&&(p.j41(0,"lib-badge",2),p.nrm(1,"lib-icon",4),p.k0s()),2&P){const I=p.XpG();p.Y8G("type",I.avatarBadge.type)("size",I.avatarBadge.size)("color",I.badgeColor)("hasBorder",!0),p.R7$(),p.Y8G("icon",I.badgeIcon)("isSVG",I.isBadgeIconSvg)}}function Bi(P,lt){if(1&P&&p.nrm(0,"lib-avatar",0),2&P){const I=lt.$implicit,pe=p.XpG();p.Y8G("type",pe.avatarType)("size",pe.size)("hasBadge",!1)("hasBorder",!0)("isDisabled",!0)("placeholder",I.name)("imageSrc",I.imageSrc)("hasTooltip",pe.hasTooltip)}}function no(P,lt){if(1&P&&(p.j41(0,"div"),p.nrm(1,"lib-avatar",2),p.k0s()),2&P){const I=p.XpG();p.HbH(p.VkB("avatar-group__surplus-wrap surplus-wrap--",I.avatarType)),p.R7$(),p.Y8G("type",I.avatarType)("size",I.size)("hasBadge",!1)("hasBorder",!0)("isDisabled",!1)("color",I.surplusColor)("tooltip",I.surplusTooltip)("placeholder",I.surplusPlaceholder)("allowSpecialSymbols",!0)("hasTooltip",I.hasTooltip)}}const as=[[["lib-icon-content"],["","libIconContent",""]],"*",[["","buttonBadge",""]]],Go=["lib-icon-content, [libIconContent]","*","[buttonBadge]"],Hi=P=>({width:P}),ao=(P,lt,I,pe,ge,Jt)=>({"button--fixed-width":P,"button--icon-right":lt,"button--icon-left":I,"button--disabled":pe,"button--flat-left-border":ge,"button--flat-right-border":Jt});function di(P,lt){1&P&&p.SdG(0)}function Cs(P,lt){1&P&&p.eu8(0)}function Ue(P,lt){if(1&P&&p.DNE(0,Cs,1,0,"ng-container",4),2&P){p.XpG(2);const I=p.sdS(9);p.Y8G("ngTemplateOutlet",I)}}function jt(P,lt){if(1&P&&p.nVh(0,di,1,0)(1,Ue,1,1,"ng-container"),2&P){const I=p.XpG();p.vxM(I.isLoading?1:0)}}function tt(P,lt){1&P&&(p.j41(0,"span"),p.SdG(1,1),p.k0s())}function gt(P,lt){if(1&P&&(p.j41(0,"span"),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.loadingLabel)}}function zt(P,lt){1&P&&p.SdG(0,2)}function gn(P,lt){1&P&&p.eu8(0)}function or(P,lt){if(1&P&&p.DNE(0,gn,1,0,"ng-container",4),2&P){p.XpG();const I=p.sdS(9);p.Y8G("ngTemplateOutlet",I)}}function Xn(P,lt){1&P&&p.nrm(0,"lib-icon",5),2&P&&p.Y8G("isSVG",!0)}const ta=["matCheckbox"],Ca=["radioButton"];function Os(P,lt){if(1&P&&(p.j41(0,"lib-radio-button",1),p.EFF(1),p.k0s()),2&P){const I=lt.$implicit,pe=p.XpG();p.Y8G("state",pe.state)("size",pe.size)("labelPosition",pe.labelPosition)("disableRipple",pe.disableRipple)("ariaDescribedby",pe.ariaDescribedby)("ariaLabel",pe.ariaLabel)("ariaLabelledby",pe.ariaLabelledby)("checked",pe.value===pe.getLabel(I))("name",pe.getLabel(I))("value",pe.getLabel(I)),p.R7$(),p.SpI(" ",pe.getLabel(I)," ")}}function Xo(P,lt){1&P&&(p.j41(0,"div",3),p.nrm(1,"lib-icon",5),p.k0s()),2&P&&(p.R7$(),p.Y8G("isSVG",!0))}function Zi(P,lt){if(1&P&&(p.j41(0,"mat-error",2),p.nVh(1,Xo,2,1,"div",3),p.j41(2,"div",4),p.EFF(3),p.k0s()()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.error?1:-1),p.R7$(2),p.JRh(I.error)}}const Is=["chip"],rl=[[["lib-icon-content"],["","libIconContent",""]]],Ns=["lib-icon-content, [libIconContent]"],Ws=(P,lt,I,pe,ge)=>({"chip--disabled":P,"chip--checked":lt,"chip--removable":I,"chip--choice":pe,"chip--reduced-pa
1dding-left":ge});function Oo(P,lt){if(1&P){const I=p.RV6();p.j41(0,"div",8),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onTouchTargetClick(ge))}),p.k0s()}if(2&P){const I=p.XpG();p.AVh("chip__touch-target--selectable",!I.isDisabled)}}function sa(P,lt){1&P&&(p.j41(0,"span",3),p.SdG(1),p.k0s())}function Ha(P,lt){if(1&P&&p.nrm(0,"lib-avatar",4),2&P){const I=p.XpG();p.Y8G("color",I.AvatarColour.Blue)("type",I.AvatarType.Person)("size",I.chipAvatarSize)("placeholder",I.avatarPlaceholder||"")("imageSrc",I.avatarImageSrc||"")("hasTooltip",!1)("isDisabled",!0)("tabIndex",-1)}}function aa(P,lt){if(1&P&&(p.j41(0,"span",5),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.label)}}function ir(P,lt){if(1&P){const I=p.RV6();p.j41(0,"span",9),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onRemove(ge))})("keydown.enter",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onRemove(ge))}),p.nrm(1,"lib-icon",10),p.k0s()}if(2&P){const I=p.XpG();p.BMQ("tabindex",I.isDisabled?I.defaultTabindex:I.tabIndex),p.R7$(),p.Y8G("isSVG",!0)}}const Y=["drawerContent"];function il(P,lt){if(1&P){const I=p.RV6();p.j41(0,"div",3),p.bIt("click",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.onBackdropClick())}),p.k0s()}}function Bs(P,lt){if(1&P&&(p.j41(0,"div",1),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.errorMessage)}}function Es(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",7),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.secondaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Outline),p.Y8G("size",I.buttonSize.Regular)("type",I.buttonType.Secondary)("state",I.isSecondaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default),p.R7$(),p.SpI(" ",I.secondaryButtonLabel," ")}}function Us(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",8),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.tertiaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Ghost),p.Y8G("size",I.buttonSize.Regular)("type",I.buttonType.Secondary)("state",I.isTertiaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default)("isLoading",I.isLoadingTertiary),p.R7$(),p.SpI(" ",I.tertiaryButtonLabel," ")}}function zo(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",9),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.primaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Solid),p.Y8G("width",I.buttonConfiguration===I.drawerButtonConfiguration.Single?"100%":"")("size",I.buttonSize.Regular)("state",I.isPrimaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default)("isLoading",I.isLoading),p.R7$(),p.SpI(" ",I.primaryButtonLabel," ")}}const Ta=(P,lt,I)=>({"icon-button--flat-left-border":P,"icon-button--flat-right-border":lt,"icon-button--border-rounded":I});function Pa(P,lt){if(1&P&&p.nrm(0,"lib-badge",1),2&P){const I=p.XpG();p.Y8G("type",I.badgeType)("size",I.badgeSize)("color",I.badgeColor)("hasBorder",!0)}}function Ks(P,lt){1&P&&p.SdG(0)}function ms(P,lt){1&P&&p.nrm(0,"lib-icon",2),2&P&&p.Y8G("isSVG",!0)}function Ts(P,lt){if(1&P&&p.nVh(0,Ks,1,0)(1,ms,1,1,"lib-icon",2),2&P){const I=p.XpG();p.vxM(I.isLoading?1:0)}}function Oi(P,lt){1&P&&p.eu8(0)}function ro(P,lt){if(1&P&&p.DNE(0,Oi,1,0,"ng-container",6),2&P){p.XpG();const I=p.sdS(9);p.Y8G("ngTemplateOutlet",I)}}function ts(P,lt){if(1&P&&p.nrm(0,"lib-badge",4),2&P){const I=p.XpG();p.Y8G("type",I.badgeType)("count",I.badgeCount)("size",I.badgeSize)("color",I.badgeColor)}}function $o(P,lt){if(1&P&&(p.j41(0,"div",5),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.SpI(" ",I.description," ")}}function _o(P,lt){1&P&&p.eu8(0)}function la(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon-button",7),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.onGoBackClick())}),p.nrm(1,"lib-icon",8),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle),p.Y8G("type",I.secondaryType)("borderRounded",!0),p.R7$(),p.Y8G("isSVG",!0)}}function Ps(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon-button",9),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.onCloseClick())}),p.nrm(1,"lib-icon",10),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle),p.Y8G("type",I.secondaryType)("borderRounded",!0),p.R7$(),p.Y8G("isSVG",!0)}}const ki=[[["","drawerHeader",""]],"*",[["","drawerFooter",""]]],ol=["[drawerHeader]","*","[drawerFooter]"];function je(P,lt){1&P&&p.eu8(0)}function xe(P,lt){1&P&&p.eu8(0)}function st(P,lt){if(1&P&&p.EFF(0),2&P){const I=p.XpG();p.SpI(" No Related ",I.type," ")}}function Qt(P,lt){if(1&P&&p.EFF(0),2&P){const I=p.XpG();p.SpI(" ",I.customHeading,"\n")}}function Mr(P,lt){if(1&P&&(p.EFF(0),p.nI1(1,"lowercase")),2&P){const I=p.XpG();p.SpI(" Sorry, there are no related ",p.bMT(1,1,I.type),". Please check later for the updates.\
1n")}}function Or(P,lt){if(1&P&&p.EFF(0),2&P){const I=p.XpG();p.SpI(" ",I.customDescription,"\n")}}function wi(P,lt){1&P&&p.nrm(0,"mat-divider",5),2&P&&p.Y8G("vertical",!0)}function As(P,lt){1&P&&p.nrm(0,"mat-icon",6)}function na(P,lt){1&P&&p.nrm(0,"mat-icon",7)}function Tl(P,lt){if(1&P&&(p.j41(0,"span"),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.events.fullLocation)}}function sl(P,lt){if(1&P){const I=p.RV6();p.j41(0,"img",1),p.bIt("error",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.defaultImageUrl())}),p.k0s()}if(2&P){const I=p.XpG();p.Y8G("ngClass",I.imageClass)("src",lt,p.B4B)("alt",I.alt)("id",I.id)}}const Ya=[[["","modalContainerHeader",""]],"*",[["","modalContainerFooter",""]]],ua=["[modalContainerHeader]","*","[modalContainerFooter]"],da=(P,lt,I)=>({height:P,minHeight:lt,maxHeight:I});function za(P,lt){1&P&&p.nrm(0,"div",1)}function Za(P,lt){1&P&&p.nrm(0,"div",1)}function Rl(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",5),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.secondaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Outline),p.Y8G("size",I.buttonSize.Regular)("type",I.buttonType.Secondary)("state",I.isSecondaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default),p.R7$(),p.SpI(" ",I.secondaryButtonLabel," ")}}function $a(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",5),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.tertiaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Ghost),p.Y8G("size",I.buttonSize.Regular)("type",I.buttonType.Secondary)("state",I.isTertiaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default),p.R7$(),p.SpI(" ",I.tertiaryButtonLabel," ")}}function Ra(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",6),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.primaryButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Solid),p.Y8G("size",I.buttonSize.Regular)("state",I.isPrimaryButtonDisabled?I.buttonState.Disabled:I.buttonState.Default)("isLoading",I.isLoading),p.R7$(),p.SpI(" ",I.primaryButtonLabel," ")}}function Wa(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",7),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.negativeButtonClick.emit())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle.Solid),p.Y8G("size",I.buttonSize.Regular)("type",I.buttonType.Negative)("state",I.isNegativeButtonDisabled?I.buttonState.Disabled:I.buttonState.Default)("isLoading",I.isLoading),p.R7$(),p.SpI(" ",I.negativeButtonLabel," ")}}function Ea(P,lt){1&P&&p.eu8(0)}function kl(P,lt){if(1&P&&p.DNE(0,Ea,1,0,"ng-container",6),2&P){p.XpG();const I=p.sdS(9);p.Y8G("ngTemplateOutlet",I)}}function ra(P,lt){if(1&P&&p.nrm(0,"lib-badge",4),2&P){const I=p.XpG();p.Y8G("type",I.badgeType)("count",I.badgeCount)("size",I.badgeSize)("color",I.badgeColor)}}function ka(P,lt){if(1&P&&(p.j41(0,"div",5),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.SpI(" ",I.description," ")}}function fa(P,lt){1&P&&p.eu8(0)}function Qa(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon-button",7),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.onGoBackClick())}),p.nrm(1,"lib-icon",8),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle),p.Y8G("type",I.secondaryType)("borderRounded",!0),p.R7$(),p.Y8G("isSVG",!0)}}function Ja(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon-button",9),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG();return He.Njj(ge.onCloseClick())}),p.nrm(1,"lib-icon",10),p.k0s()}if(2&P){const I=p.XpG();p.Aen(I.buttonStyle),p.Y8G("type",I.secondaryType)("borderRounded",!0),p.R7$(),p.Y8G("isSVG",!0)}}const wa=["switchElement"],w=["input"],C=(P,lt,I,pe,ge,Jt)=>({"input--disabled":P,"input--has-left-icon":lt,"input--has-right-icon":I,"input--has-clear-icon":pe,"input--error":ge,"input--input-area":Jt}),k=P=>({"input__char-counter--error":P}),Q=P=>({"input__char-counter--light":P});function oe(P,lt){if(1&P&&(p.j41(0,"mat-label"),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.label)}}function se(P,lt){if(1&P&&p.nrm(0,"lib-icon",5),2&P){const I=p.XpG();p.Y8G("isSVG",I.isIconLeftSVG)("icon",I.iconLeft)}}function y(P,lt){if(1&P){const I=p.RV6();p.j41(0,"div",6)(1,"textarea",11,3),p.bIt("focus",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onFocus(ge))})("blur",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onBlur(ge))}),p.k0s(),p.nrm(3,"lib-icon",12),p.k0s()}if(2&P){const I=p.sdS(2),pe=p.XpG();p.R7$(),p.Y8G("rows",pe.inputAreaSize)("id",pe.id)("type",pe.type)("tabIndex",pe.tabIndex)("formControl",pe.formControl)("placeholder",pe.placeholder||""),p.BMQ("aria-label",pe.attrAriaLabel)("aria-labelledby",pe.attrAriaLabelledBy)("aria-describedby",pe.ariaDescribedby),p.R7$(2),p.AVh("non-resizable",!pe.resizableInputArea),p.Y8G("resizeTarget",I)("isSVG",!0)}}function T(P,lt){if(1&P){const I=p.RV6();p.j41(0,"input",13,3),p.bIt("focus",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onFocus(ge))})("blur",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onBlur(ge))}),p.k0s()}if(2&P){const I=p.XpG();p.Y8G("id",I.id)("type",I.type)("tabIndex",I.tabIndex)("formControl",I.formControl)("placeholder",I.placeholder||""),p.BMQ("aria-label",I.attrAriaLabel)("aria-labelledby",I.attrAriaLabelledBy)("aria-describedby",I.ariaDescribedby)}}function O(P,lt){1&P&&p.nrm(0,"span")}function V(P,lt){if(1&P&&(p.j41(0,"div",14),p.DNE(1,O,1,0,"span",17),p.k0s()),2&P){const I=p.XpG(2),pe=p.sdS(11);p.Y8G("matTooltip",I.tooltipMessage)("matTooltipPosition","above"),p.R7$(),p.Y8G("ngTemplateOutlet",pe)}}function J(P,lt){if(1&P&&(p.j41(0,"span"),p.EFF(1),p.k0s()),2&P){const I=p.XpG(3);p.R7$(),p.SpI("/",I.maxLength)}}function H(P,lt){if(1&P&&(p.j41(0,"div",16)(1,"span",4),p.EFF(2),p.k0s(),p.nVh(3,J,2,1,"span"),p.k0s()),2&P){const I=p.XpG(2);p.Y8G("ngClass",p.eq3(4,k,I.maxLength&&(null==I.formControl.value?null:I.formControl.value.length)>=I.maxLength)),p.R7$(),p.Y8G("ngClass",p.eq3(6,Q,!(null!=I.formControl.value&&I.formControl.value.length))),p.R7$(),p.JRh(null!=I.formControl.value&&I.formControl.value.length?null==I.formControl.value?null:I.formControl.value.length:0),p.R7$(),p.vxM(I.maxLength?3:-1)}}function z(P,lt){if(1&P&&(p.j41(0,"mat-hint",8),p.nVh(1,V,2,3,"div",14),p.j41(2,"div",15),p.EFF(3),p.k0s(),p.nVh(4,H,4,8,"div",16),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.tooltipMessage?1:-1),p.R7$(2),p.JRh(I.descriptionMessage),p.R7$(),p.vxM(I.isCharacterCounter?4:-1)}}function Ce(P,lt){1&P&&p.nrm(0,"span")}function he(P,lt){if(1&P&&(p.j41(0,"div",18),p.DNE(1,Ce,1,0,"span",17),p.k0s()),2&P){p.XpG(2);const I=p.sdS(11);p.R7$(),p.Y8G("ngTemplateOutlet",I)}}function Te(P,lt){if(1&P&&(p.j41(0,"mat-error",9),p.nVh(1,he,2,1,"div",18),p.j41(2,"div",15),p.EFF(3),p.k0s()()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.error?1:-1),p.R7$(2),p.JRh(I.error)}}function Oe(P,lt){1&P&&p.nrm(0,"lib-icon",19),2&P&&p.Y8G("isSVG",!0)}function Ge(P,lt){1&P&&p.eu8(0)}function yt(P,lt){if(1&P&&p.DNE(0,Ge,1,0,"ng-container",17),2&P){p.XpG(3);const I=p.sdS(13);p.Y8G("ngTemplateOutlet",I)}}function It(P,lt){1&P&&p.eu8(0)}function St(P,lt){if(1&P&&p.DNE(0,It,1,0,"ng-container",17),2&P){p.XpG(3);const I=p.sdS(9);p.Y8G("ngTemplateOutlet",I)}}function vn(P,lt){if(1&P&&(p.nVh(0,yt,1,1,"ng-container"),p.nVh(1,St,1,1,"ng-container")),2&P){const I=p.XpG(2);p.vxM(I.isClearable?0:-1),p.R7$(),p.vxM(I.iconRight?1:-1)}}function wn(P,lt){if(1&P&&(p.j41(0,"div",10),p.nVh(1,Oe,1,1,"lib-icon",19)(2,vn,2,2),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.isLoading?1:2)}}function $e(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon",21),p.bIt("click",function(){He.eBV(I);const ge=p.XpG(2);return He.Njj(ge.onRightIconClick())}),p.k0s()}if(2&P){const I=p.XpG(2);p.Y8G("icon",I.iconRight)("isSVG",I.isIconRightSVG)("tabIndex",I.tabIndex)}}function et(P,lt){if(1&P&&p.nVh(0,$e,1,3,"lib-icon",20),2&P){const I=p.XpG();p.vxM(I.iconRight?0:-1)}}function Lt(P,lt){1&P&&(He.qSk(),p.j41(0,"svg",22),p.nrm(1,"path",23),p.k0s())}function Ft(P,lt){if(1&P){const I=p.RV6();p.j41(0,"span",25),p.bIt("click",function(){He.eBV(I);const ge=p.XpG(2);return He.Njj(ge.onClearIconClick())}),He.qSk(),p.j41(1,"svg",26),p.nrm(2,"path",27)(3,"path",28),p.k0s()()}if(2&P){const I=p.XpG(2);p.Y8G("tabIndex",I.tabIndex)}}function nn(P,lt){if(1&P&&p.nVh(0,Ft,4,1,"span",24),2&P){const I=p.XpG();p.vxM(I.formControl.value?0:-1)}}function _n(P,lt){if(1&P&&(p.rj2(0,"span",1),p.EFF(1),p.eux()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.videoTitle)}}function en(P,lt){if(1&P&&p.nrm(0,"lib-icon",3),2&P){const I=p.XpG();p.Y8G("isSVG",I.isIconSVG)("icon",I.iconName)}}function an(P,lt){1&P&&p.nrm(0,"lib-icon",4),2&P&&p.Y8G("isSVG",!0)}function pn(P,lt){1&P&&p.eu8(0)}function Rn(P,lt){if(1&P&&p.DNE(0,pn,1,0,"ng-container",8),2&P){const I=p.XpG(),pe=p.sdS(9),ge=p.sdS(11);p.Y8G("ngTemplateOutlet",I.type===I.toastType.Positive?pe:ge)}}function $r(P,lt){if(1&P&&p.nrm(0,"div",5),2&P){const I=p.XpG();p.Y8G("innerHTML",I.message,p.npT)}}function ii(P,lt){if(1&P&&(p.j41(0,"div",6),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.SpI(" ",I.message," ")}}function Ur(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-button",11),p.bIt("buttonClick",function(ge){He.eBV(I);const Jt=p.XpG(2);return He.Njj(Jt.onButtonClick(ge))}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG(2);p.Aen(I.buttonStyle),p.Y8G("type",I.type===I.toastType.Standard?I.buttonType.Primary:I.buttonType.Secondary)("size",I.buttonSize),p.R7$(),p.JRh(I.buttonName)}}function hi(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-icon-button",12),p.bIt("buttonClick",function(){He.eBV(I);const ge=p.XpG(2);return He.Njj(ge.onDismissClick())}),p.nrm(1,"lib-icon",13),p.k0s()}if(2&P){const I=p.XpG(2);p.Aen(I.buttonStyle),p.Y8G("type",I.type===I.toastType.Negative?I.negativeTye:I.secondaryType)("size",I.iconButtonSize),p.R7$(),p.Y8G("isSVG",!0)}}function Ni(P,lt){if(1&P&&(p.j41(0,"div",7),p.nVh(1,Ur,2,5,"lib-button",9),p.nVh(2,hi,2,5,"lib-icon-button",10),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.hasButton?1:-1),p.R7$(),p.vxM(I.isDismiss?2:-1)}}function fo(P,lt){1&P&&p.nrm(0,"lib-icon",14),2&P&&p.Y8G("isSVG",!0)}function Pi(P,lt){1&P&&p.nrm(0,"lib-icon",15),2&P&&p.Y8G("isSVG",!0)}const Dr=(P,lt,I)=>({"lib-menu-item--toggle":P,"lib-menu-item--destructive":lt,"lib-menu-item--disabled":I});function ws(P,lt){if(1&P&&(p.j41(0,"div",6),p.nrm(1,"lib-icon",8),p.k0s()),2&P){const I=p.XpG(2);p.R7$(),p.Y8G("isSVG",(null==I.icon?null:I.icon.isSVG)||!1)("icon",(null==I.icon?null:I.icon.icon)||"")}}function cs(P,lt){if(1&P&&(p.j41(0,"div",7),p.nrm(1,"lib-avatar",9),p.k0s()),2&P){const I=p.XpG(2);p.R7$(),p.Y8G("color",(null==I.avatar?null:I.avatar.color)||I.AvatarColour.Blue)("size",(null==I.avatar?null:I.avatar.size)||I.AvatarSize.XXSmall)("type",(null==I.avatar?null:I.avatar.type)||I.AvatarType.Person)("hasBadge",(null==I.avatar?null:I.avatar.hasBadge)||!1)("hasBorder",(null==I.avatar?null:I.avatar.hasBorder)||!1)("badgeColor",(null==I.avatar?null:I.avatar.badgeColor)||I.BadgeColor.Positive)("badgeIcon",(null==I.avatar?null:I.avatar.badgeIcon)||"")("placeholder",(null==I.avatar?null:I.avatar.placeholder)||"")("imageSrc",I.avatar.imageSrc||"")("isDisabled",I.avatar.isDisabled||!0)}}function us(P,lt){if(1&P&&(p.j41(0,"div",1),p.nVh(1,ws,2,2,"div",6),p.nVh(2,cs,2,10,"div",7),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.icon?1:-1),p.R7$(),p.vxM(I.avatar?2:-1)}}function Yo(P,lt){if(1&P&&(p.j41(0,"div",3),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.SpI(" ",I.label," ")}}function ho(P,lt){if(1&P&&(p.j41(0,"div",4),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.SpI(" ",I.description," ")}}function jo(P,lt){if(1&P){const I=p.RV6();p.j41(0,"lib-checkbox",10),p.bIt("change",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onCheckedChange(ge))})("click",function(ge){He.eBV(I);const Jt=p.XpG();return He.Njj(Jt.onCheckBoxClick(ge))}),p.k0s()}if(2&P){const I=p.XpG();
1p.Y8G("state",I.state)("checked",I.checked)}}const io=P=>({data:P});function ds(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",16),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG();return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,3),p.k0s()}if(2&P){const I=p.sdS(2);p.XpG();const pe=p.sdS(3),ge=p.XpG().$implicit,Jt=p.XpG();p.AVh("lib-menu__item--destructive",null==ge?null:ge.destructive),p.Y8G("matMenuTriggerFor",pe)("disabled",(null==ge?null:ge.state)===Jt.State.Disabled)("disableRipple",(null==ge?null:ge.disableRipple)||Jt.disableRipple),p.R7$(),p.Y8G("libAddFormControl",Jt.form)("isControl",ge.type===Jt.ItemType.Multi&&(null==ge?null:ge.state)!==Jt.State.Disabled)("menuControlValue",null==ge?null:ge.checked)("menuControlName",(null==ge?null:ge.formControlName)||ge.id)("componentInstance",I)("type",ge.type||Jt.ItemType.Single)("checked",ge.checked)("state",ge.state)("icon",ge.icon)("avatar",ge.avatar)("label",ge.label||"")("description",ge.description||"")("destructive",ge.destructive)}}function Ms(P,lt){1&P&&p.eu8(0)}function Co(P,lt){if(1&P&&p.DNE(0,Ms,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG();const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function Gs(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",16),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG(3);return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,5),p.k0s()}if(2&P){const I=p.sdS(2);p.XpG();const pe=p.sdS(3),ge=p.XpG().$implicit,Jt=p.XpG(3);p.AVh("lib-menu__item--destructive",null==ge?null:ge.destructive),p.Y8G("matMenuTriggerFor",pe)("disabled",(null==ge?null:ge.state)===Jt.State.Disabled)("disableRipple",(null==ge?null:ge.disableRipple)||Jt.disableRipple),p.R7$(),p.Y8G("libAddFormControl",Jt.form)("isControl",ge.type===Jt.ItemType.Multi&&(null==ge?null:ge.state)!==Jt.State.Disabled)("menuControlValue",null==ge?null:ge.checked)("menuControlName",(null==ge?null:ge.formControlName)||ge.id)("componentInstance",I)("type",ge.type||Jt.ItemType.Single)("checked",ge.checked)("state",ge.state)("icon",ge.icon)("avatar",ge.avatar)("label",ge.label||"")("description",ge.description||"")("destructive",ge.destructive)}}function Ul(P,lt){1&P&&p.eu8(0)}function pa(P,lt){if(1&P&&p.DNE(0,Ul,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG(3);const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function Sc(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",16),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG(5);return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,7),p.k0s()}if(2&P){const I=p.sdS(2);p.XpG();const pe=p.sdS(3),ge=p.XpG().$implicit,Jt=p.XpG(5);p.AVh("lib-menu__item--destructive",null==ge?null:ge.destructive),p.Y8G("matMenuTriggerFor",pe)("disabled",(null==ge?null:ge.state)===Jt.State.Disabled)("disableRipple",(null==ge?null:ge.disableRipple)||Jt.disableRipple),p.R7$(),p.Y8G("libAddFormControl",Jt.form)("isControl",ge.type===Jt.ItemType.Multi&&(null==ge?null:ge.state)!==Jt.State.Disabled)("menuControlValue",null==ge?null:ge.checked)("menuControlName",(null==ge?null:ge.formControlName)||ge.id)("componentInstance",I)("type",ge.type||Jt.ItemType.Single)("checked",ge.checked)("state",ge.state)("icon",ge.icon)("avatar",ge.avatar)("label",ge.label||"")("description",ge.description||"")("destructive",ge.destructive)}}function Li(P,lt){1&P&&p.eu8(0)}function ct(P,lt){if(1&P&&p.DNE(0,Li,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG(5);const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function Fe(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",21),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG().$implicit,sr=p.XpG(7);return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,8),p.k0s()}if(2&P){const I=p.sdS(2),pe=p.XpG().$implicit,ge=p.XpG(7);p.AVh("lib-menu__item--destructive",null==pe?null:pe.destructive),p.Y8G("disabled",(null==pe?null:pe.state)===ge.State.Disabled)("disableRipple",(null==pe?null:pe.disableRipple)||ge.disableRipple),p.R7$(),p.Y8G("libAddFormControl",ge.form)("isControl",pe.type===ge.ItemType.Multi&&(null==pe?null:pe.state)!==ge.State.Disabled)("menuControlValue",null==pe?null:pe.checked)("menuControlName",(null==pe?null:pe.formControlName)||pe.id)("componentInstance",I)("type",pe.type||ge.ItemType.Single)("checked",pe.checked)("state",pe.state)("icon",pe.icon)("avatar",pe.avatar)("label",pe.label||"")("description",pe.description||"")("destructive",pe.destructive)}}function ot(P,lt){1&P&&p.eu8(0)}function Nt(P,lt){if(1&P&&p.DNE(0,ot,1,0,"ng-container",18),2&P){const I=p.XpG().$implicit;p.XpG(7);const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function hn(P,lt){if(1&P&&p.nVh(0,Fe,3,17,"button",20)(1,Nt,1,4,"ng-container"),2&P){const I=lt.$implicit,pe=p.XpG(7);p.vxM(I.variant===pe.MenuVariant.Select?0:1)}}function On(P,lt){if(1&P&&(p.nVh(0,Sc,3,18,"button",14)(1,ct,1,4,"ng-container"),p.j41(2,"mat-menu",19,6),p.Z7z(4,hn,2,1,null,null,p.BUC().trackMenuItem,!0),p.nI1(6,"mapMenuItems"),p.k0s()),2&P){const I=p.XpG().$implicit,pe=p.XpG(5);p.vxM(I.variant===pe.MenuVariant.Select?0:1),p.R7$(2),p.HbH(pe.currentPanelClass),p.Y8G("xPosition",(null==I||null==I.submenu?null:
1I.submenu.xPosition)||pe.defaultOptions.xPosition)("yPosition",(null==I||null==I.submenu?null:I.submenu.yPosition)||pe.defaultOptions.yPosition),p.R7$(2),p.Dyx(p.brH(6,5,null==I||null==I.submenu?null:I.submenu.items,(null==I||null==I.submenu?null:I.submenu.type)||(null==pe.menuItemsConfig?null:pe.menuItemsConfig.type)||pe.type,pe.defaultVariant))}}function rr(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",21),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG(5);return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,9),p.k0s()}if(2&P){const I=p.sdS(2),pe=p.XpG(2).$implicit,ge=p.XpG(5);p.AVh("lib-menu__item--destructive",null==pe?null:pe.destructive),p.Y8G("disabled",(null==pe?null:pe.state)===ge.State.Disabled)("disableRipple",(null==pe?null:pe.disableRipple)||ge.disableRipple),p.R7$(),p.Y8G("libAddFormControl",ge.form)("isControl",pe.type===ge.ItemType.Multi&&(null==pe?null:pe.state)!==ge.State.Disabled)("menuControlValue",null==pe?null:pe.checked)("menuControlName",(null==pe?null:pe.formControlName)||pe.id)("componentInstance",I)("type",pe.type||ge.ItemType.Single)("checked",pe.checked)("state",pe.state)("icon",pe.icon)("avatar",pe.avatar)("label",pe.label||"")("description",pe.description||"")("destructive",pe.destructive)}}function gr(P,lt){1&P&&p.eu8(0)}function vr(P,lt){if(1&P&&p.DNE(0,gr,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG(5);const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function oi(P,lt){if(1&P&&p.nVh(0,rr,3,17,"button",20)(1,vr,1,4,"ng-container"),2&P){const I=p.XpG().$implicit,pe=p.XpG(5);p.vxM((null==I?null:I.variant)===pe.MenuVariant.Select?0:1)}}function lo(P,lt){if(1&P&&p.nVh(0,On,7,9)(1,oi,2,1),2&P){const I=lt.$implicit;p.vxM(null!=I&&I.submenu?0:1)}}function li(P,lt){if(1&P&&(p.nVh(0,Gs,3,18,"button",14)(1,pa,1,4,"ng-container"),p.j41(2,"mat-menu",19,4),p.Z7z(4,lo,2,1,null,null,p.BUC().trackMenuItem,!0),p.nI1(6,"mapMenuItems"),p.k0s()),2&P){const I=p.XpG().$implicit,pe=p.XpG(3);p.vxM(I.variant===pe.MenuVariant.Select?0:1),p.R7$(2),p.HbH(pe.currentPanelClass),p.Y8G("xPosition",(null==I||null==I.submenu?null:I.submenu.xPosition)||pe.defaultOptions.xPosition)("yPosition",(null==I||null==I.submenu?null:I.submenu.yPosition)||pe.defaultOptions.yPosition),p.R7$(2),p.Dyx(p.brH(6,5,null==I||null==I.submenu?null:I.submenu.items,(null==I||null==I.submenu?null:I.submenu.type)||(null==pe.menuItemsConfig?null:pe.menuItemsConfig.type)||pe.type,pe.defaultVariant))}}function xs(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",21),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG(3);return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,10),p.k0s()}if(2&P){const I=p.sdS(2),pe=p.XpG(2).$implicit,ge=p.XpG(3);p.AVh("lib-menu__item--destructive",null==pe?null:pe.destructive),p.Y8G("disabled",(null==pe?null:pe.state)===ge.State.Disabled)("disableRipple",(null==pe?null:pe.disableRipple)||ge.disableRipple),p.R7$(),p.Y8G("libAddFormControl",ge.form)("isControl",pe.type===ge.ItemType.Multi&&(null==pe?null:pe.state)!==ge.State.Disabled)("menuControlValue",null==pe?null:pe.checked)("menuControlName",(null==pe?null:pe.formControlName)||pe.id)("componentInstance",I)("type",pe.type||ge.ItemType.Single)("checked",pe.checked)("state",pe.state)("icon",pe.icon)("avatar",pe.avatar)("label",pe.label||"")("description",pe.description||"")("destructive",pe.destructive)}}function Ui(P,lt){1&P&&p.eu8(0)}function Sa(P,lt){if(1&P&&p.DNE(0,Ui,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG(3);const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function ma(P,lt){if(1&P&&p.nVh(0,xs,3,17,"button",20)(1,Sa,1,4,"ng-container"),2&P){const I=p.XpG().$implicit,pe=p.XpG(3);p.vxM((null==I?null:I.variant)===pe.MenuVariant.Select?0:1)}}function Xs(P,lt){if(1&P&&p.nVh(0,li,7,9)(1,ma,2,1),2&P){const I=lt.$implicit;p.vxM(null!=I&&I.submenu?0:1)}}function Ga(P,lt){if(1&P&&(p.nVh(0,ds,3,18,"button",14)(1,Co,1,4,"ng-container"),p.j41(2,"mat-menu",15,2),p.Z7z(4,Xs,2,1,null,null,p.BUC().trackMenuItem,!0),p.nI1(6,"mapMenuItems"),p.k0s()),2&P){const I=p.XpG().$implicit,pe=p.XpG();p.vxM(I.variant===pe.MenuVariant.Select?0:1),p.R7$(2),p.HbH(pe.currentPanelClass),p.Y8G("xPosition",(null==I||null==I.submenu?null:
1I.submenu.xPosition)||pe.defaultOptions.xPosition)("yPosition",(null==I||null==I.submenu?null:I.submenu.yPosition)||pe.defaultOptions.yPosition)("overlapTrigger",!0),p.R7$(2),p.Dyx(p.brH(6,6,null==I||null==I.submenu?null:I.submenu.items,(null==I||null==I.submenu?null:I.submenu.type)||(null==pe.menuItemsConfig?null:pe.menuItemsConfig.type)||pe.type,pe.defaultVariant))}}function Ys(P,lt){if(1&P){const I=p.RV6();p.j41(0,"button",21),p.bIt("click",function(ge){He.eBV(I);const Jt=p.XpG(2).$implicit,sr=p.XpG();return He.Njj(sr.selectMenuItem(ge,Jt))}),p.nrm(1,"lib-menu-item",17,11),p.k0s()}if(2&P){const I=p.sdS(2),pe=p.XpG(2).$implicit,ge=p.XpG();p.AVh("lib-menu__item--destructive",null==pe?null:pe.destructive),p.Y8G("disabled",(null==pe?null:pe.state)===ge.State.Disabled)("disableRipple",(null==pe?null:pe.disableRipple)||ge.disableRipple),p.R7$(),p.Y8G("libAddFormControl",ge.form)("isControl",pe.type===ge.ItemType.Multi&&(null==pe?null:pe.state)!==ge.State.Disabled)("menuControlValue",null==pe?null:pe.checked)("menuControlName",(null==pe?null:pe.formControlName)||pe.id)("componentInstance",I)("type",pe.type||ge.ItemType.Single)("checked",pe.checked)("state",pe.state)("icon",pe.icon)("avatar",pe.avatar)("label",pe.label||"")("description",pe.description||"")("destructive",pe.destructive)}}function cl(P,lt){1&P&&p.eu8(0)}function Dc(P,lt){if(1&P&&p.DNE(0,cl,1,0,"ng-container",18),2&P){const I=p.XpG(2).$implicit;p.XpG();const pe=p.sdS(7);p.Y8G("ngTemplateOutlet",pe)("ngTemplateOutletContext",p.eq3(2,io,I))}}function Gl(P,lt){if(1&P&&p.nVh(0,Ys,3,17,"button",20)(1,Dc,1,4,"ng-container"),2&P){const I=p.XpG().$implicit,pe=p.XpG();p.vxM((null==I?null:I.variant)===pe.MenuVariant.Select?0:1)}}function rd(P,lt){if(1&P&&p.nVh(0,Ga,7,10)(1,Gl,2,1),2&P){const I=lt.$implicit;p.vxM(null!=I&&I.submenu?0:1)}}function id(P,lt){if(1&P){const I=p.RV6();p.j41(0,"div",24),p.bIt("click",function(ge){return He.eBV(I),He.Njj(ge.stopPropagation())}),p.EFF(1),p.k0s()}if(2&P){const I=p.XpG().data;p.R7$(),p.JRh(I.label)}}function od(P,lt){if(1&P){const I=p.RV6();p.j41(0,"div",23)(1,"lib-divider",25),p.bIt("click",function(ge){return He.eBV(I),He.Njj(ge.stopPropagation())}),p.k0s()()}}function Oc(P,lt){if(1&P&&p.nVh(0,id,2,1,"div",22)(1,od,2,0,"div",23),2&P){let I;const pe=lt.data,ge=p.XpG();p.vxM((I=pe.variant)===ge.MenuVariant.Category?0:1)}}const Yc=["selectTrigger"];function Kf(P,lt){if(1&P&&(p.j41(0,"mat-label"),p.EFF(1),p.k0s()),2&P){const I=p.XpG();p.R7$(),p.JRh(I.label)}}function sd(P,lt){if(1&P&&p.EFF(0),2&P){const I=p.XpG();p.SpI(" ",I.getLabel," ")}}function Ud(P,lt){if(1&P&&p.nrm(0,"lib-chip",7),2&P){const I=lt.$implicit,pe=p.XpG(2);p.Y8G("label",I.label||"")("size",pe.ChipSize.Small)("type",pe.ChipType.Choice)("selectable",!1)}}function Vd(P,lt){if(1&P&&p.nrm(0,"lib-chip",7),2&P){const I=p.XpG(2);p.Y8G("label","+"+I.hiddenCount)("size",I.ChipSize.Small)("type",I.ChipType.Choice)("selectable",!1)}}function Ic(P,lt){if(1&P&&(p.Z7z(0,Ud,1,4,"lib-chip",7,p.fX1),p.nVh(2,Vd,1,4,"lib-chip",7)),2&P){const I=p.XpG();p.Dyx(I.visibleItems),p.R7$(2),p.vxM(I.hiddenCount>0?2:-1)}}function Su(P,lt){if(1&P&&(p.j41(0,"mat-option",3),p.nrm(1,"lib-menu-item",8),p.k0s()),2&P){const I=lt.$implicit,pe=p.XpG();p.Y8G("value",pe.type===pe.SelectType.Multi?I:I.id),p.R7$(),p.Y8G("type",I.type||pe.ItemType.Single)("label",I.label||"")("description",I.description||"")("avatar",I.avatar)("checked",I.selected)("hasPropagation",!0)}}function be(P,lt){if(1&P&&p.nrm(0,"mat-icon",9),2&P){const I=p.XpG(2);p.Y8G("matTooltip",I.hintTooltipMessage)("matTooltipPosition","above")}}function Xe(P,lt){if(1&P&&(p.j41(0,"mat-hint",5),p.nVh(1,be,1,2,"mat-icon",9),p.j41(2,"div",10),p.EFF(3),p.k0s()()),2&P){const I=p.XpG();p.R7$(),p.vxM(I.hintTooltipMessage?1:-1),p.R7$(2),p.JRh(I.hintMessage)}}function Rt(P,lt){1&P&&p.EFF(0," This select is required ")}function Pn(P,lt){if(1&P&&p.EFF(0),2&P){const I=p.XpG(2);p.SpI(" ",I.errorMessage," ")}}function tr(P,lt){if(1&P&&(p.j41(0,"mat-error",6),p.nrm(1,"mat-icon",11),p.nVh(2,Rt,1,0)(3,Pn,1,1),p.k0s()),2&P){const I=p.XpG();p.R7$(2),p.vxM(I.required||I.selectFormControl.hasError("required")?2:3)}}window;let ul=(()=>{class P{constructor(){this.destroySubject$=new Ht.B}ngOnDestroy(){this.destroySubject$.next(),this.destroySubject$.complete()}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275prov=He.jDH({token:P,factory:P.\u0275fac})}}return P})();var Ou=function(P){return P.Before="before",P.After="after",P}(Ou||{}),Eo=function(P){return P.Regular="regular",P.Large="large",P}(Eo||{}),Ii=function(P){return P.Default="default",P.Disabled="disabled",P}(Ii||{}
1),Iu=function(P){return P.Stacked="stacked",P.Columns="columns",P}(Iu||{}),Cl=function(P){return P.Primary="primary",P.Secondary="secondary",P}(Cl||{}),qc=function(P){return P.Horizontal="horizontal",P.Vertical="vertical",P}(qc||{}),Tu=function(P){return P.Hover="hover",P.Pressed="pressed",P}(Tu||{}),El=function(P){return P.Solid="solid",P.Outline="outline",P.Ghost="ghost",P}(El||{}),jl=function(P){return P.Single="single",P.Multi="multi",P.Toggle="toggle",P}(jl||{}),Ac=function(P){return P.Blue="blue",P.Green="green",P.Gray="gray",P.Orange="orange",P.Red="red",P}(Ac||{}),Ai=function(P){return P.Tiny="tiny",P.XXSmall="xx-small",P.XSmall="x-small",P.Small="small",P.Regular="regular",P.Large="large",P.XLarge="x-large",P.XXLarge="xx-large",P}(Ai||{}),La=function(P){return P.Person="person",P.Organization="organization",P}(La||{}),eu=function(P){return P.Select="select",P.Divider="divider",P.Category="category",P}(eu||{}),Pu=function(P){return P.Small="small",P.Regular="regular",P.Large="large",P.Full="full",P}(Pu||{}),el=function(P){return P.Primary="primary",P.Secondary="secondary",P.Positive="positive",P.Warning="warning",P.Negative="negative",P.OnAccent="onAccent",P.Neutral="neutral",P}(el||{}),Yl=function(P){return P.Small="small",P}(Yl||{}),Zo=function(P){return P.Dot="dot",P.Icon="icon",P.Number="number",P.Label="label",P}(Zo||{});let wl=(()=>{class P{constructor(){this.type=Zo.Number,this.size=Eo.Regular,this.color=el.Primary,this.hasBorder=!1,this.hasMaxWidth=!0,this.count=0,this.label="",this.ariaDescribedby=null,this.BadgeType=Zo}set attrAriaDescribedby(I){this.ariaDescribedby=I??null}get labelCounter(){return this.type!==Zo.Number||0===this.count?"":this.count>99?"99+":this.count.toString()}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-badge"]],hostVars:1,hostBindings:function(pe,ge){2&pe&&p.BMQ("aria-describedby",ge.attrAriaDescribedby)},inputs:{type:"type",size:"size",color:"color",hasBorder:"hasBorder",hasMaxWidth:"hasMaxWidth",count:"count",label:"label",ariaDescribedby:[0,"aria-describedby","ariaDescribedby"]},ngContentSelectors:to,decls:2,vars:13,consts:[[1,"badge__content"],[1,"badge__txt-label",3,"badge__txt-label--truncate"],[1,"badge__number-label"],[1,"badge__txt-label"]],template:function(pe,ge){1&pe&&(p.NAR(),p.rj2(0,"div"),p.nVh(1,yn,4,1,"span",0),p.eux()),2&pe&&(p.HbH(p.VqF("\n    badge\n    badge--",ge.type,"\n    badge--",ge.type,"-",ge.size,"\n    badge--",ge.size,"\n    badge--",ge.color)),p.AVh("badge--border",ge.hasBorder)("badge--limit-width",ge.hasMaxWidth),p.BMQ("aria-describedby",ge.ariaDescribedby),p.R7$(),p.vxM(ge.type!==ge.BadgeType.Dot?1:-1))},styles:["[_nghost-%COMP%]{position:relative;display:inline-block}[_nghost-%COMP%]   .badge[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;font-family:var(--typography-label-bold-caps-small-font-family);font-weight:var(--typography-label-bold-caps-small-font-weight);line-height:var(--typography-label-bold-caps-small-line-height);font-size:var(--typography-label-bold-caps-small-font-size);letter-spacing:var(--typography-label-bold-caps-small-letter-spacing);text-transform:var(--typography-label-bold-caps-small-text-case);position:relative;border-radius:var(--border-radius-full)}[_nghost-%COMP%]   .badge__txt-label[_ngcontent-%COMP%]{text-align:center;width:100%}[_nghost-%COMP%]   .badge__txt-label--truncate[_ngcontent-%COMP%]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 1){[_nghost-%COMP%]   .badge__txt-label--truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:1;-webkit-box-orient:vertical}}[_nghost-%COMP%]   .badge__content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;
1-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;position:relative;width:100%}[_nghost-%COMP%]   .badge__content[_ngcontent-%COMP%]   .badge__txt-label[_ngcontent-%COMP%]{display:block;white-space:nowrap}[_nghost-%COMP%]   .badge--number[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-050)}[_nghost-%COMP%]   .badge--label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-100)}[_nghost-%COMP%]   .badge--border[_ngcontent-%COMP%]{outline-style:solid}[_nghost-%COMP%]   .badge--border.badge--large[_ngcontent-%COMP%]{min-height:var(--size-300);min-width:var(--size-300);outline-width:var(--border-width-thin)}[_nghost-%COMP%]   .badge--border.badge--large.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--border.badge--large.badge--label-large[_ngcontent-%COMP%]{height:var(--size-300);min-height:var(--size-300);min-width:var(--size-300);outline-width:var(--border-width-thin)}[_nghost-%COMP%]   .badge--border.badge--large.badge--dot[_ngcontent-%COMP%]{height:var(--size-100);min-height:var(--size-100);min-width:var(--size-100)}[_nghost-%COMP%]   .badge--border.badge--regular[_ngcontent-%COMP%]{min-height:var(--size-250);min-width:var(--size-250);outline-width:var(--border-width-thin)}[_nghost-%COMP%]   .badge--border.badge--regular.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--border.badge--regular.badge--dot[_ngcontent-%COMP%]{height:var(--size-075);min-height:var(--size-075);min-width:var(--size-075)}[_nghost-%COMP%]   .badge--border.badge--small[_ngcontent-%COMP%]{min-height:var(--size-200);min-width:var(--size-200);outline-width:1.5px}[_nghost-%COMP%]   .badge--border.badge--small.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--border.badge--small.badge--label-small[_ngcontent-%COMP%]{height:var(--size-200);min-height:var(--size-200);min-width:var(--size-200);outline-width:var(--border-width-thin)}[_nghost-%COMP%]   .badge--border.badge--small.badge--dot[_ngcontent-%COMP%]{height:var(--size-050);min-height:var(--size-050);min-width:var(--size-050)}[_nghost-%COMP%]   .badge--large[_ngcontent-%COMP%]{min-height:var(--size-300);min-width:var(--size-300);border-radius:var(--border-radius-150);font-family:var(--typography-label-bold-caps-regular-font-family);font-weight:var(--typography-label-bold-caps-regular-font-weight);line-height:var(--typography-label-bold-caps-regular-line-height);font-size:var(--typography-label-bold-caps-regular-font-size);letter-spacing:var(--typography-label-bold-caps-regular-letter-spacing);text-transform:var(--typography-label-bold-caps-regular-text-case)}[_nghost-%COMP%]   .badge--large.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--large.badge--dot[_ngcontent-%COMP%]{height:var(--size-100);min-height:var(--size-100);min-width:var(--size-100)}[_nghost-%COMP%]   .badge--large[_ngcontent-%COMP%]     .mat-icon{font-size:var(--typography-label-bold-caps-regular-font-size);width:14px;height:14px;display:flex;align-items:center}[_nghost-%COMP%]   .badge--large.badge--label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-100)}[_nghost-%COMP%]   .badge--regular[_ngcontent-%COMP%]{min-height:var(--size-250);min-width:var(--size-250);border-radius:var(--border-radius-150)}[_nghost-%COMP%]   .badge--regular.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--regular.badge--dot[_ngcontent-%COMP%]{height:var(--size-075);min-height:var(--size-075);min-width:var(--size-075)}[_nghost-%COMP%]   .badge--regular[_ngcontent-%COMP%]     .mat-icon{font-size:var(--typography-label-bold-caps-small-font-size);width:var(--size-150);height:var(--size-150);display:flex;align-items:center}[_nghost-%COMP%]   .badge--small[_ngcontent-%COMP%]{min-height:var(--size-200);min-width:var(--size-200);border-radius:var(--border-radius-150);font-family:var(--typography-label-bold-caps-x-small-font-family);
1font-weight:var(--typography-label-bold-caps-x-small-font-weight);line-height:var(--typography-label-bold-caps-x-small-line-height);font-size:var(--typography-label-bold-caps-x-small-font-size);letter-spacing:var(--typography-label-bold-caps-x-small-letter-spacing);text-transform:var(--typography-label-bold-caps-x-small-text-case)}[_nghost-%COMP%]   .badge--small.badge--limit-width[_ngcontent-%COMP%]{max-width:var(--space-1200)}[_nghost-%COMP%]   .badge--small.badge--dot[_ngcontent-%COMP%]{height:var(--size-050);min-height:var(--size-050);min-width:var(--size-050)}[_nghost-%COMP%]   .badge--small[_ngcontent-%COMP%]     .mat-icon{font-size:var(--typography-label-bold-caps-x-small-font-size);width:10px;height:10px;display:flex;align-items:center}[_nghost-%COMP%]   .badge--small.badge--label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-075)}[_nghost-%COMP%]   .badge--border[_ngcontent-%COMP%]{outline-color:var(--colour-border-inverted)}[_nghost-%COMP%]   .badge--primary[_ngcontent-%COMP%]{background-color:var(--colour-surface-accent-default);color:var(--colour-text-on-accent)}[_nghost-%COMP%]   .badge--onAccent[_ngcontent-%COMP%]{background-color:var(--colour-surface-on-accent);color:var(--colour-text-accent-default);outline-color:var(--colour-border-on-accent)}[_nghost-%COMP%]   .badge--onAccent.badge--border[_ngcontent-%COMP%]{outline-color:var(--colour-border-accent-default)}[_nghost-%COMP%]   .badge--secondary[_ngcontent-%COMP%]{background-color:var(--colour-surface-raised);color:var(--colour-text-primary)}[_nghost-%COMP%]   .badge--neutral[_ngcontent-%COMP%]{background-color:var(--colour-surface-accent-subtle-default);color:var(--colour-text-neutral-default)}[_nghost-%COMP%]   .badge--positive[_ngcontent-%COMP%]{background-color:var(--colour-surface-positive-default);color:var(--colour-text-on-accent)}[_nghost-%COMP%]   .badge--warning[_ngcontent-%COMP%]{background-color:var(--colour-surface-warning-default);color:var(--colour-text-on-accent)}[_nghost-%COMP%]   .badge--negative[_ngcontent-%COMP%]{background-color:var(--colour-surface-negative-default);color:var(--colour-text-on-accent)}"],changeDetection:0})}}return P})(),dl=(()=>{class P{constructor(){this.isSVG=!1}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-icon"]],inputs:{icon:"icon",isSVG:"isSVG"},decls:2,vars:1,consts:[[3,"svgIcon"]],template:function(pe,ge){1&pe&&p.nVh(0,Bn,1,1,"mat-icon",0)(1,Gn,2,1,"mat-icon"),2&pe&&p.vxM(ge.isSVG?0:1)},dependencies:[Yr.m_,Yr.An],encapsulation:2})}}return P})(),s_=(()=>{class P{transform(I,pe=!1){if(!I)return"";const ge=I.split(" ").filter(sr=>sr.length>0);if(0===ge.length)return"";let Jt=pe?ge[0].charAt(0).toUpperCase():this.getFirstAlphaChar(ge[0]);return ge.length>1?Jt+(pe?ge[ge.length-1].charAt(0).toUpperCase():this.getFirstAlphaChar(ge[ge.length-1])):Jt}getFirstAlphaChar(I){for(let pe=0;pe<I.length;pe++)if(/[a-zA-Z]/.test(I[pe]))return I[pe].toUpperCase();return""}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275pipe=p.EJ8({name:"fullNameToInitials",type:P,pure:!0})}}return P})(),mc=(()=>{class P{transform(I,pe,ge){return I?I.map((Jt,sr)=>{const Mi=Jt?.variant||ge;return{...Jt,...Mi===eu.Select&&{id:Jt?.id||`${Jt?.label||"id"}__${sr}`},variant:Mi,type:Jt?.type||pe}}):[]}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275pipe=p.EJ8({name:"mapMenuItems",type:P,pure:!0})}}return P})(),Cp=(()=>{class P{constructor(I,pe){this.oauthService=I,this.http=pe,this.loginMutex=!1,this.oauthService.setupAutomaticSilentRefresh()}runInitialLoginSequence(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}login(I=""){this.loginMutex||(this.loginMutex=!0,this.oauthService.initCodeFlow(I),setTimeout(()=>this.loginMutex=!1,5e3))}setCookie(I,pe,ge){const Jt=(new er.Nl).set("client_id",pe).set("access_token",I),sr=(new er.Lr).set("Access-Control-Allow-Credentials","true");return this.http.get(`${ge}/api/authentication/v1/sso/setToken`,{params:Jt,headers:sr,withCredentials:!0})}silentLogout(){this.oauthService.logOut(!0)}hasValidToken(){return this.oauthService.hasValidAccessToken()}forceRefreshTokenProcess(){return this.oauthService.loadDiscoveryDocument().then(()=>this.oauthService.refreshToken()).then(I=>!!I)}accessToken(){return this.oauthService.getAccessToken()}claims(){return this.oauthService.getIdentityClaims()}idToken(){return this.oauthService.getIdToken()}isAuthenticated(){return this.oauthService.hasValidIdToken()}getProfilePermissionsSet(){return this.claims()?this.claims().permissions:[]}static{this.\u0275fac=function(pe){return new(pe||P)(He.KVO(Ho.TC),He.KVO(er.Qq))}}static{this.\u0275prov=He.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),ic=(()=>{class P{constructor(I,pe){this.http=I,this.sanitizer=pe,this.imageUrlStream$=new sn.t(null),this.imageUrlErrorStream$=new sn.t(null),this.imageUrl$=this.imageUrlStream$.asObservable(),this.isLoadingFailed$=this.imageUrlErrorStream$.asObservable()}fetchImage(I){const pe=(new er.Lr).append("Accept","image/jpeg").append("x-skip-error-tracking","404");this.http.get(I,{headers:pe,responseType:"blob"}).pipe((0,_r.s)(1),(0,Wn.T)(ge=>this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(ge)))).subscribe({next:ge=>this.imageUrlStream$.next(ge),error:ge=>this.imageUrlErrorStream$.next(ge)})}static{this.\u0275fac=function(pe){return new(pe||P)(He.KVO(er.Qq),He.KVO(Ei.up))}}static{this.\u0275prov=He.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),ns=(()=>{class P{set size(I){this.avatarSize=I,this.avatarBadge=this.getAvatarBadge(I)}set imageSrc(I){this.imageUrl=I}constructor(I){this.fetchImageService=I,this.type=La.Person,this.color=Ac.Blue,this.badgeColor=el.Positive,this.altAvatar="Avatar Image",this.hasBadge=!1,this.hasBorder=!1,this.hasTooltip=!0,this.isBadgeIconSvg=!1,this.tooltipPosition="above",this.tabIndex=0,this.isDisabled=!0,this.allowSpecialSymbols=!1,this.avatarSize=Ai.Regular,this.tooltipDelay=500,this.imageUrl$=this.fetchImageService.imageUrl$,this.BadgeColor=el.Positive,this.Size=Yl.Small,this.BadgeType=Zo.Icon}ngOnInit(){this.imageUrl&&this.fetchImageService.fetchImage(this.imageUrl)}getAvatarBadge(I){return{[Ai.Tiny]:{size:Yl.Small,type:Zo.Dot},[Ai.XXSmall]:{size:Eo.Regular,type:Zo.Dot},[Ai.XSmall]:{size:Yl.Small,type:Zo.Icon},[Ai.Small]:{size:Yl.Small,type:Zo.Icon},[Ai.Regular]:{size:Yl.Small,type:Zo.Icon},[Ai.Large]:{size:Eo.Regular,type:Zo.Icon},[Ai.XLarge]:{size:Eo.Large,type:Zo.Icon},[Ai.XXLarge]:{size:Eo.Large,type:Zo.Icon}}[I]||{size:Eo.Regular,type:Zo.Icon}}getPlaceholder(I){return I===Ai.Tiny||I===Ai.XXSmall?this.placeholder.charAt(0):this.placeholder}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(ic))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-avatar"]],inputs:{type:"type",size:"size",color:"color",badgeColor:"badgeColor",imageSrc:"imageSrc",placeholder:"placeholder",tooltip:"tooltip",altAvatar:"altAvatar",hasBadge:"hasBadge",hasBorder:"hasBorder",hasTooltip:"hasTooltip",badgeIcon:"badgeIcon",isBadgeIconSvg:"isBadgeIconSvg",tooltipPosition:"tooltipPosition",tabIndex:"tabIndex",isDisabled:"isDisabled",allowSpecialSymbols:"allowSpecialSymbols"},features:[p.Jv_([ic])],decls:5,vars:18,consts:[[3,"ngClass","matTooltip","matTooltipPosition","matTooltipShowDelay","tabindex"],[1,"avatar__image-wrap"],[1,"avatar__badge",3,"type","size","color","hasBorder"],[1,"avatar__image",3,"src","alt"],[3,"icon","isSVG"]],template:function(pe,ge){if(1&pe&&(p.j41(0,"div",0),p.nVh(1,Tr,2,2,"div",1),p.nI1(2,"async"),p.vZN(3,xi,3,4,"span"),p.nVh(4,Jr,2,6,"lib-badge",2),p.k0s()),2&pe){let Jt;p.HbH(p.VFN("avatar\n    avatar--",ge.type,"\n    avatar--",ge.color,"\n    avatar--",ge.avatarSize)),p.Y8G("tabindex",p.mNQ(ge.tabIndex))("ngClass",p.l_i(15,fr,ge.hasBorder,ge.isDisabled))("matTooltip",ge.hasTooltip?ge.tooltip?ge.tooltip:ge.placeholder||"":"")("matTooltipPosition",ge.tooltipPosition)("matTooltipShowDelay",ge.tooltipDelay),p.R7$(),p.vxM((Jt=p.bMT(2,13,ge.imageUrl$))?1:3,Jt),p.R7$(3),p.vxM(ge.hasBadge?4:-1)}},dependencies:[wl,dl,cr.YU,ei.u,mo.oV,er.q1,s_,cr.Jj],styles:['[_nghost-%COMP%]{display:flex}
1.avatar[_ngcontent-%COMP%]{position:relative;display:inline-flex;justify-content:center;align-items:center;transition:background-color .3s ease}.avatar__badge[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;z-index:3}.avatar__image-wrap[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;height:100%;z-index:1}.avatar__image-wrap[_ngcontent-%COMP%]:after{opacity:0;visibility:hidden;position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:var(--colour-surface-on-image-hover);transition:opacity .3s ease,visibility .3s ease;z-index:2}.avatar__image-wrap[_ngcontent-%COMP%]   .avatar__image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.avatar[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border-width:var(--border-width-thin);border-style:solid}.avatar[_ngcontent-%COMP%]:not(.avatar--disabled):hover   .avatar__image-wrap[_ngcontent-%COMP%]:after, .avatar   .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]:after, .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]:after{opacity:1;visibility:visible}.avatar--person[_ngcontent-%COMP%], .avatar--person[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-full)}.avatar--person[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-full)}.avatar--organization[_ngcontent-%COMP%], .avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-100)}.avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]   .avatar__image[_ngcontent-%COMP%]{object-fit:contain}.avatar--organization[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-100)}.avatar--tiny[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-x-small-font-family);font-weight:var(--typography-label-bold-x-small-font-weight);line-height:var(--typography-label-bold-x-small-line-height);font-size:var(--typography-label-bold-x-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-200);height:var(--size-200)}.avatar--tiny.avatar--organization[_ngcontent-%COMP%], .avatar--tiny.avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-050)}.avatar--tiny.avatar--organization[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-050)}.avatar--xx-small[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-300);height:var(--size-300)}.avatar--xx-small.avatar--organization[_ngcontent-%COMP%], .avatar--xx-small.avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-075)}.avatar--xx-small.avatar--organization[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-075)}.avatar--x-small[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-400);height:var(--size-400)}.avatar--x-small[_ngcontent-%COMP%]   .avatar__badge[_ngcontent-%COMP%]{bottom:-4px;right:-4px}.avatar--x-small.avatar--organization[_ngcontent-%COMP%], .avatar--x-small.avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-075)}.avatar--x-small.avatar--organization[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-075)}.avatar--small[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-regular-font-family);
1font-weight:var(--typography-label-bold-regular-font-weight);line-height:var(--typography-label-bold-regular-line-height);font-size:var(--typography-label-bold-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-500);height:var(--size-500)}.avatar--small[_ngcontent-%COMP%]   .avatar__badge[_ngcontent-%COMP%]{bottom:-4px;right:-4px}.avatar--regular[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-regular-font-family);font-weight:var(--typography-label-bold-regular-font-weight);line-height:var(--typography-label-bold-regular-line-height);font-size:var(--typography-label-bold-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-600);height:var(--size-600)}.avatar--regular[_ngcontent-%COMP%]   .avatar__badge[_ngcontent-%COMP%]{bottom:-2px;right:-2px}.avatar--large[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-large-font-family);font-weight:var(--typography-label-bold-large-font-weight);line-height:var(--typography-label-bold-large-line-height);font-size:var(--typography-label-bold-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-800);height:var(--size-800)}.avatar--large[_ngcontent-%COMP%]   .avatar__badge[_ngcontent-%COMP%]{bottom:-2px;right:-2px}.avatar--x-large[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-large-font-family);font-weight:var(--typography-label-bold-large-font-weight);line-height:var(--typography-label-bold-large-line-height);font-size:var(--typography-label-bold-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:var(--size-1000);height:var(--size-1000)}.avatar--x-large.avatar--organization[_ngcontent-%COMP%], .avatar--x-large.avatar--organization[_ngcontent-%COMP%]   .avatar__image-wrap[_ngcontent-%COMP%]{border-radius:var(--border-radius-150)}.avatar--x-large.avatar--organization[_ngcontent-%COMP%]   .avatar__badge[_ngcontent-%COMP%]{bottom:-2px;right:-2px}.avatar--x-large.avatar--organization[_ngcontent-%COMP%]:focus-visible:after{border-radius:var(--border-radius-150)}
1.avatar--xx-large[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-large-font-family);font-weight:var(--typography-label-bold-large-font-weight);line-height:var(--typography-label-bold-large-line-height);font-size:var(--typography-label-bold-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:120px;height:120px}.avatar__image-wrap[_ngcontent-%COMP%]:after{background-color:var(--colour-surface-on-image-hover)}.avatar--with-border[_ngcontent-%COMP%]{outline:var(--border-width-thin) solid var(--colour-border-inverted)}.avatar--blue[_ngcontent-%COMP%]{color:var(--colour-text-accent-default);background-color:var(--colour-surface-accent-subtle-default)}.avatar--blue[_ngcontent-%COMP%]:focus-visible:after{border-color:var(--colour-border-accent-focus)}.avatar--blue[_ngcontent-%COMP%]:not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--blue[_ngcontent-%COMP%], .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--blue[_ngcontent-%COMP%]{background-color:var(--colour-surface-accent-subtle-hover)}.avatar--green[_ngcontent-%COMP%]{color:var(--colour-icon-positive-hover);background-color:var(--colour-surface-positive-subtle-default)}.avatar--green[_ngcontent-%COMP%]:focus-visible:after{border-color:var(--colour-border-positive-focus)}.avatar--green[_ngcontent-%COMP%]:not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--green[_ngcontent-%COMP%], .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--green[_ngcontent-%COMP%]{background-color:var(--colour-surface-positive-subtle-hover)}.avatar--orange[_ngcontent-%COMP%]{color:var(--colour-icon-warning-hover);background:var(--colour-surface-warning-subtle-default)}.avatar--orange[_ngcontent-%COMP%]:focus-visible:after{border-color:var(--colour-border-warning-focus)}.avatar--orange[_ngcontent-%COMP%]:not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--orange[_ngcontent-%COMP%], .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--orange[_ngcontent-%COMP%]{background-color:var(--colour-surface-warning-subtle-hover)}.avatar--red[_ngcontent-%COMP%]{color:var(--colour-text-negative-default);background:var(--colour-surface-negative-subtle-default)}.avatar--red[_ngcontent-%COMP%]:focus-visible:after{border-color:var(--colour-border-negative-focus)}.avatar--red[_ngcontent-%COMP%]:not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--red[_ngcontent-%COMP%], .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--red[_ngcontent-%COMP%]{background-color:var(--colour-surface-negative-subtle-hover)}.avatar--gray[_ngcontent-%COMP%]{color:var(--colour-text-secondary);background:var(--colour-surface-relief)}.avatar--gray[_ngcontent-%COMP%]:focus-visible:after{border-color:var(--colour-border-accent-focus)}.avatar--gray[_ngcontent-%COMP%]:not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--gray[_ngcontent-%COMP%], .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--gray[_ngcontent-%COMP%]{background-color:var(--colour-surface-neutral-pressed)}.avatar--organization[_ngcontent-%COMP%]:has(.avatar__image-wrap){background:var(--avatar-colour-surface-organisation)}.avatar--organization[_ngcontent-%COMP%]:has(.avatar__image-wrap):not(.avatar--disabled):hover, .avatar-pair--hovered:not(.avatar-pair--disabled)[_nghost-%COMP%]   .avatar--organization[_ngcontent-%COMP%]:has(.avatar__image-wrap), .avatar-pair--hovered:not(.avatar-pair--disabled)   [_nghost-%COMP%]   .avatar--organization[_ngcontent-%COMP%]:has(.avatar__image-wrap){background-color:var(--avatar-colour-surface-organisation)}'],changeDetection:0})}}return P})(),th=(()=>{class P{constructor(){this.users=[],this.limit=5,this.surplus=!1,this.size=Ai.Regular,this.avatarType=La.Person,this.hasTooltip=!0,this.surplusColor=Ac.Gray}get surplusPlaceholder(){return this.users.length>this.limit?"+ "+(this.users.length-this.limit):""}get surplusTooltip(){const I=this.users.length-this.limit,pe=I-1;if(I>0){const ge=this.users[this.limit]?.name;return pe>0?`${ge} + ${pe} more`:ge||""}return""}get usersToShow(){return this.users.slice(0,this.limit)}trackByUserName(I,pe){return pe.name}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-avatar-group"]],inputs:{users:"users",limit:"limit",surplus:"surplus",size:"size",avatarType:"avatarType",hasTooltip:"hasTooltip"},decls:4,vars:4,consts:[[3,"type","size","hasBadge","hasBorder","isDisabled","placeholder","imageSrc","hasTooltip"],[3,"class"],[3,"type","size","hasBadge","hasBorder","isDisabled","color","tooltip","placeholder","allowSpecialSymbols","hasTooltip"]],template:function(pe,ge){1&pe&&(p.j41(0,"div"),p.Z7z
1(1,Bi,1,8,"lib-avatar",0,ge.trackByUserName,!0),p.nVh(3,no,2,13,"div",1),p.k0s()),2&pe&&(p.HbH(p.VkB("avatar-group avatar-group--",ge.size)),p.R7$(),p.Dyx(ge.usersToShow),p.R7$(2),p.vxM(ge.surplus&&ge.surplusPlaceholder?3:-1))},dependencies:[ns],styles:["[_nghost-%COMP%]{display:flex}.avatar-group[_ngcontent-%COMP%]{display:inline-flex;align-items:start}.avatar-group[_ngcontent-%COMP%]   .surplus-wrap--person[_ngcontent-%COMP%]{border-radius:var(--border-radius-full)}.avatar-group[_ngcontent-%COMP%]   .surplus-wrap--organization[_ngcontent-%COMP%]{border-radius:var(--border-radius-100)}.avatar-group__surplus-wrap[_ngcontent-%COMP%]{background-color:var(--colour-surface-base)}.avatar-group__surplus-wrap[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.avatar-group--tiny[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--tiny[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-025);z-index:1}.avatar-group--tiny[_ngcontent-%COMP%]   .surplus-wrap--organization[_ngcontent-%COMP%]{border-radius:var(--border-radius-050)}.avatar-group--xx-small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--xx-small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-050);z-index:1}.avatar-group--xx-small[_ngcontent-%COMP%]   .surplus-wrap--organization[_ngcontent-%COMP%]{border-radius:var(--border-radius-075)}.avatar-group--x-small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--x-small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-075);z-index:1}.avatar-group--x-small[_ngcontent-%COMP%]   .surplus-wrap--organization[_ngcontent-%COMP%]{border-radius:var(--border-radius-075)}.avatar-group--small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--small[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-100);z-index:1}.avatar-group--regular[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--regular[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-100);z-index:1}.avatar-group--large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-150);z-index:1}.avatar-group--x-large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--x-large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-150);z-index:1}.avatar-group--x-large[_ngcontent-%COMP%]   .surplus-wrap--organization[_ngcontent-%COMP%]{border-radius:var(--border-radius-150)}
1.avatar-group--xx-large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + lib-avatar[_ngcontent-%COMP%], .avatar-group--xx-large[_ngcontent-%COMP%]   lib-avatar[_ngcontent-%COMP%] + .avatar-group__surplus-wrap[_ngcontent-%COMP%]{margin-left:var(--space-negative-250);z-index:1}"],changeDetection:0})}}return P})();var Hl=function(P){return P.Primary="primary",P.Secondary="secondary",P.Negative="negative",P.OnImage="on-image",P}(Hl||{}),fl=function(P){return P.Small="small",P}(fl||{}),hl=function(P){return P.Left="left",P.Right="right",P}(hl||{});let kc=(()=>{class P{constructor(){this.role="img",this.alt="Icon"}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275dir=p.FsC({type:P,selectors:[["lib-icon-content"],["","libIconContent",""]],hostVars:2,hostBindings:function(pe,ge){2&pe&&p.BMQ("role",ge.role)("alt",ge.alt)}})}}return P})(),rh=(()=>{class P extends ul{ngOnInit(){if(this.form&&this.menuControlName&&this.isControl&&this.componentInstance?.registerOnChange&&this.componentInstance?.registerOnTouched&&this.componentInstance?.writeValue){if(this.menuControlName&&this.form.get(this.menuControlName))return;const pe=new ti.MJ(this.menuControlValue||null);this.form.addControl(this.menuControlName,pe),this.componentInstance.registerOnChange(ge=>{pe.setValue(ge)}),this.componentInstance.registerOnTouched(()=>{pe.markAsTouched()}),pe.valueChanges.pipe((0,Vn.Q)(this.destroySubject$)).subscribe(ge=>{this.componentInstance.writeValue(ge)})}}ngOnDestroy(){super.ngOnDestroy(),this.menuControlName&&this.form.removeControl(this.menuControlName)}static{this.\u0275fac=(()=>{let I;return function(ge){return(I||(I=p.xGo(P)))(ge||P)}})()}static{this.\u0275dir=p.FsC({type:P,selectors:[["","libAddFormControl",""]],inputs:{form:[0,"libAddFormControl","form"],isControl:"isControl",menuControlName:"menuControlName",menuControlValue:"menuControlValue",componentInstance:"componentInstance"},features:[p.Vt3]})}}return P})(),oc=(()=>{class P{constructor(I,pe){this.matIconRegistry=I,this.domSanitizer=pe,this.ButtonState=Ii,this.IconPosition=hl,this.type=Hl.Primary,this.size=Eo.Regular,this.style=El.Outline,this.loadingLabel="Loading",this.id=null,this.tabIndex=-1,this.ariaLabel=null,this.ariaLabelleBy=null,this.flatLeftBorder=!1,this.flatRightBorder=!1,this.buttonClick=new p.bkB,this.matIconRegistry.addSvgIconLiteral(_i.NJ1.name,this.domSanitizer.bypassSecurityTrustHtml(_i.NJ1.data))}onButtonClick(I){this.buttonClick.emit(I)}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-button"]],contentQueries:function(pe,ge,Jt){if(1&pe&&p.wni(Jt,kc,5),2&pe){let sr;p.mGM(sr=p.lsd())&&(ge.leadingIcon=sr.first)}},inputs:{type:"type",size:"size",style:"style",state:"state",iconPosition:"iconPosition",width:"width",isLoading:"isLoading",loadingLabel:"loadingLabel",id:"id",tabIndex:"tabIndex",ariaLabel:"ariaLabel",ariaLabelleBy:"ariaLabelleBy",flatLeftBorder:"flatLeftBorder",flatRightBorder:"flatRightBorder"},outputs:{buttonClick:"buttonClick"},ngContentSelectors:Go,decls:10,vars:29,consts:[["loadingState",""],[3,"click","ngStyle","ngClass","disabled"],[1,"button__content"],[1,"button__label"],[4,"ngTemplateOutlet"],["icon","loading",1,"button__dots-wrapper",3,"isSVG"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.NAR(as),p.j41(0,"button",1),p.bIt("click",function(Mi){return He.eBV(Jt),He.Njj(ge.onButtonClick(Mi))}),p.j41(1,"div",2),p.nVh(2,jt,2,1),p.j41(3,"div",3),p.nVh(4,tt,2,0,"span"),p.nVh(5,gt,2,1,"span"),p.k0s()(),p.nVh(6,zt,1,0),p.nVh(7,or,1,1,"ng-container"),p.k0s(),p.DNE(8,Xn,1,1,"ng-template",null,0,p.C5r)}2&pe&&(p.HbH(p.OIn("\n    button\n    button--",ge.type,"--",ge.style,"\n    button--",ge.type,"--",ge.style,"--",ge.state,"\n    button--",ge.size,"\n  ")),p.Y8G("ngStyle",p.eq3(20,Hi,ge.width))("ngClass",p.l4e(22,ao,ge.width,ge.iconPosition===ge.IconPosition.Right,ge.iconPosition===ge.IconPosition.Left,ge.state===ge.ButtonState.Disabled,ge.flatLeftBorder,ge.flatRightBorder))("disabled",ge.isLoading||ge.state===ge.ButtonState.Disabled),p.BMQ("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelleBy)("id",ge.id)("tabindex",ge.tabIndex),p.R7$(2),p.vxM(ge.leadingIcon?2:-1),p.R7$(2),p.vxM(ge.isLoading?-1:4),p.R7$(),p.vxM(ge.isLoading?5:-1),p.R7$(),p.vxM(ge.isLoading?-1:6),p.R7$(),p.vxM(ge.isLoading&&!ge.leadingIcon?7:-1))},dependencies:[cr.B3,cr.YU,cr.T3,dl],styles:[".button[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-regular-font-family);
1font-weight:var(--typography-label-bold-regular-font-weight);line-height:var(--typography-label-bold-regular-line-height);font-size:var(--typography-label-bold-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;position:relative;box-shadow:none;border:none;outline:none;min-width:var(--size-800);transition:background-color .2s ease,border .2s ease,outline-color .2s ease}.button__content[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;justify-content:center}.button__label[_ngcontent-%COMP%]{white-space:nowrap;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;position:relative}.button__dots-wrapper[_ngcontent-%COMP%]{display:flex}.button[_ngcontent-%COMP%]:after{border-radius:30px}.button[_ngcontent-%COMP%]:active, .button[_ngcontent-%COMP%]:hover, .button[_ngcontent-%COMP%]:focus, .button[_ngcontent-%COMP%]:focus:active{box-shadow:none}.button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.button--icon-right[_ngcontent-%COMP%]   .button__content[_ngcontent-%COMP%]{flex-direction:row-reverse}.button--fixed-width[_ngcontent-%COMP%]     .mat-icon, .button--fixed-width[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--fixed-width[_ngcontent-%COMP%]     lib-badge{position:absolute}.button--small[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);height:var(--size-400);padding:var(--space-0) var(--space-100)}.button--small[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-050)}.button--small[_ngcontent-%COMP%]     .mat-icon{width:var(--size-200);height:var(--size-200);font-size:var(--typography-label-bold-large-font-size)}.button--small.button--fixed-width[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--small.button--fixed-width[_ngcontent-%COMP%]     .mat-icon, .button--small.button--fixed-width[_ngcontent-%COMP%]     lib-badge{right:var(--space-100)}.button--small.button--fixed-width.button--icon-left[_ngcontent-%COMP%]     .mat-icon, .button--small.button--fixed-width.button--icon-left[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%]{left:var(--space-100);right:auto}.button--small.button--fixed-width[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-200)}.button--regular[_ngcontent-%COMP%]{height:var(--size-500);padding:var(--space-0) var(--space-150);font-size:var(--typography-label-bold-regular-font-size)}.button--regular[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-100)}.button--regular[_ngcontent-%COMP%]     .mat-icon{width:var(--size-250);height:var(--size-250);font-size:var(--typography-body-large-font-size)}.button--regular.button--fixed-width[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--regular.button--fixed-width[_ngcontent-%COMP%]     .mat-icon, .button--regular.button--fixed-width[_ngcontent-%COMP%]     lib-badge{right:var(--space-150)}.button--regular.button--fixed-width.button--icon-left[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--regular.button--fixed-width.button--icon-left[_ngcontent-%COMP%]     .mat-icon{left:var(--space-150);right:auto}.button--regular.button--fixed-width[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-250)}.button--large[_ngcontent-%COMP%]{height:var(--size-600);padding:var(--space-0) var(--space-200);font-size:var(--typography-label-bold-large-font-size)}.button--large[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-150)}.button--large[_ngcontent-%COMP%]     .mat-icon{width:var(--size-300);height:var(--size-300);font-size:var(--typography-title-small-font-size)}.button--large.button--fixed-width[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--large.button--fixed-width[_ngcontent-%COMP%]     .mat-icon, .button--large.button--fixed-width[_ngcontent-%COMP%]     lib-badge{right:var(--space-200)}.button--large.button--fixed-width.button--icon-left[_ngcontent-%COMP%]   .button__dots-wrapper[_ngcontent-%COMP%], .button--large.button--fixed-width.button--icon-left[_ngcontent-%COMP%]     .mat-icon{left:var(--space-200);right:auto}.button--large.button--fixed-width[_ngcontent-%COMP%]   .button__label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-300)}.button--flat-left-border[_ngcontent-%COMP%]{border-top-left-radius:var(--border-radius-0);border-bottom-left-radius:var(--border-radius-0)}.button--flat-left-border[_ngcontent-%COMP%]:after{border-top-left-radius:var(--border-radius-0);border-bottom-left-radius:var(--border-radius-0)}.button--flat-right-border[_ngcontent-%COMP%]{border-top-right-radius:var(--border-radius-0);border-bottom-right-radius:var(--border-radius-0)}.button--flat-right-border[_ngcontent-%COMP%]:after{border-top-right-radius:var(--border-radius-0);border-bottom-right-radius:var(--border-radius-0)}",'.button[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border:var(--border-width-thin) solid var(--colour-border-accent-focus)}.button--primary--solid[_ngcontent-%COMP%]{color:var(--colour-text-on-accent);background-color:var(--colour-surface-accent-default)}.button--primary--solid--hover[_ngcontent-%COMP%], .button--primary--solid[_ngcontent-%COMP%]:hover{color:var(--colour-text-on-accent);background-color:var(--colour-surface-accent-hover)}.button--primary--solid--pressed[_ngcontent-%COMP%], .button--primary--solid[_ngcontent-%COMP%]:active{background-color:var(--colour-surface-accent-pressed)}.button--primary--solid[_ngcontent-%COMP%]:disabled{color:var(--colour-text-accent-disabled);background-color:var(--colour-surface-accent-disabled)}.button--primary--outline[_ngcontent-%COMP%]{outline:var(--border-width-thin) solid var(--button-colour-border-primary-outline-default);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--button-colour-content-primary-outline-default)}.button--primary--outline--hover[_ngcontent-%COMP%], .button--primary--outline[_ngcontent-%COMP%]:hover{outline:var(--border-width-thin) solid var(--button-colour-border-primary-outline-hover);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--button-colour-content-primary-outline-hover);background-color:var(--button-colour-surface-primary-outline-hover)}.button--primary--outline--pressed[_ngcontent-%COMP%], .button--primary--outline[_ngcontent-%COMP%]:active{outline:var(--border-width-thin) solid var(--button-colour-border-primary-outline-pressed);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--button-colour-content-primary-outline-pressed);background-color:var(--button-colour-surface-primary-outline-pressed)}.button--primary--outline[_ngcontent-%COMP%]:disabled{outline:var(--border-width-thin) solid var(--button-colour-border-primary-outline-disabled);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--button-colour-content-primary-outline-disabled)}.button--primary--ghost[_ngcontent-%COMP%]{color:var(--button-colour-content-primary-ghost-default);background-color:transparent}.button--primary--ghost--hover[_ngcontent-%COMP%], .button--primary--ghost[_ngcontent-%COMP%]:hover{color:var(--button-colour-content-primary-ghost-hover);background-color:var(--button-colour-surface-primary-ghost-hover)}.button--primary--ghost--pressed[_ngcontent-%COMP%], .button--primary--ghost[_ngcontent-%COMP%]:active{color:var(--button-colour-content-primary-ghost-pressed);background-color:var(--button-colour-surface-primary-ghost-pressed)}.button--primary--ghost[_ngcontent-%COMP%]:disabled{color:var(--button-colour-content-primary-ghost-disabled)}.button--secondary--solid[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default);background-color:var(--colour-surface-neutral-default)}.button--secondary--solid--hover[_ngcontent-%COMP%], .button--secondary--solid[_ngcontent-%COMP%]:hover{color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-neutral-hover)}.button--secondary--solid--pressed[_ngcontent-%COMP%], .button--secondary--solid[_ngcontent-%COMP%]:active{color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-neutral-pressed)}.button--secondary--solid[_ngcontent-%COMP%]:disabled{color:var(--colour-text-neutral-disabled);background-color:var(--colour-surface-neutral-disabled)}.button--secondary--outline[_ngcontent-%COMP%]{outline:var(--border-width-thin) solid var(--colour-border-neutral-default);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-default)}.button--secondary--outline--hover[_ngcontent-%COMP%], .button--secondary--outline[_ngcontent-%COMP%]:hover{outline:var(--border-width-thin) solid var(--colour-border-neutral-hover);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-neutral-subtlest-hover)}.button--secondary--outline--pressed[_ngcontent-%COMP%], .button--secondary--outline[_ngcontent-%COMP%]:active{outline:var(--border-width-thin) solid var(--colour-border-neutral-pressed);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-neutral-subtlest-pressed)}.button--secondary--outline[_ngcontent-%COMP%]:disabled{outline:var(--border-width-thin) solid var(--colour-border-neutral-disabled);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-disabled)}.button--secondary--ghost[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default);background-color:transparent}.button--secondary--ghost--hover[_ngcontent-%COMP%], .button--secondary--ghost[_ngcontent-%COMP%]:hover{color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-neutral-subtlest-hover)}.button--secondary--ghost--pressed[_ngcontent-%COMP%], .button--secondary--ghost[_ngcontent-%COMP%]:active{color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-neutral-subtlest-pressed)}.button--secondary--ghost[_ngcontent-%COMP%]:disabled{color:var(--colour-text-neutral-disabled)}.button--negative--solid[_ngcontent-%COMP%]{color:var(--colour-text-on-accent);background-color:var(--colour-surface-negative-default)}.button--negative--solid--hover[_ngcontent-%COMP%], .button--negative--solid[_ngcontent-%COMP%]:hover{color:var(--colour-text-on-accent);background-color:var(--colour-surface-negative-hover)}.button--negative--solid--pressed[_ngcontent-%COMP%], .button--negative--solid[_ngcontent-%COMP%]:active{color:var(--colour-text-on-accent);background-color:var(--colour-surface-negative-pressed)}.button--negative--solid[_ngcontent-%COMP%]:disabled{color:var(--colour-text-negative-disabled);background-color:var(--colour-surface-negative-disabled)}.button--negative--solid[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border:var(--border-width-thin) solid var(--colour-border-negative-focus)}.button--negative--outline[_ngcontent-%COMP%]{outline:var(--border-width-thin) solid var(--colour-border-negative-default);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-negative-default)}.button--negative--outline--hover[_ngcontent-%COMP%], .button--negative--outline[_ngcontent-%COMP%]:hover{outline:var(--border-width-thin) solid var(--colour-border-negative-hover);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-negative-hover);background-color:var(--colour-surface-negative-subtle-hover)}.button--negative--outline--pressed[_ngcontent-%COMP%], .button--negative--outline[_ngcontent-%COMP%]:active{outline:var(--border-width-thin) solid var(--colour-border-negative-pressed);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-negative-pressed);background-color:var(--colour-surface-negative-subtle-pressed)}.button--negative--outline[_ngcontent-%COMP%]:disabled{outline:var(--border-width-thin) solid var(--colour-border-negative-disabled);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-negative-disabled)}.button--negative--outline[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border:var(--border-width-thin) solid var(--colour-border-negative-focus)}.button--negative--ghost[_ngcontent-%COMP%]{color:var(--colour-text-negative-default);background-color:transparent}.button--negative--ghost--hover[_ngcontent-%COMP%], .button--negative--ghost[_ngcontent-%COMP%]:hover{color:var(--colour-text-negative-hover);background-color:var(--colour-surface-negative-subtle-hover)}.button--negative--ghost--pressed[_ngcontent-%COMP%], .button--negative--ghost[_ngcontent-%COMP%]:active{color:var(--colour-text-negative-pressed);background-color:var(--colour-surface-negative-subtle-pressed)}.button--negative--ghost[_ngcontent-%COMP%]:disabled{color:var(--colour-text-negative-disabled)}.button--negative--ghost[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border:var(--border-width-thin) solid var(--colour-border-negative-focus)}.button--on-image--solid[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default);background-color:var(--colour-surface-on-image-default);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.button--on-image--solid--hover[_ngcontent-%COMP%], .button--on-image--solid[_ngcontent-%COMP%]:hover{color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-on-image-hover)}.button--on-image--solid--pressed[_ngcontent-%COMP%], .button--on-image--solid[_ngcontent-%COMP%]:active{color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-on-image-pressed)}.button--on-image--solid[_ngcontent-%COMP%]:focus-visible{color:var(--colour-text-neutral-default);background-color:var(--colour-surface-on-image-default);outline:var(--border-width-thin) solid var(--colour-border-accent-default)}.button--on-image--solid[_ngcontent-%COMP%]:disabled{color:var(--colour-text-neutral-disabled);background-color:var(--colour-surface-on-image-disabled)}.button--on-image--outline[_ngcontent-%COMP%]{outline:var(--border-width-thin) solid var(--colour-border-on-image);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-on-image-default)}.button--on-image--outline--hover[_ngcontent-%COMP%], .button--on-image--outline[_ngcontent-%COMP%]:hover{outline:var(--border-width-thin) solid var(--colour-border-on-image);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-on-image-hover);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.button--on-image--outline--pressed[_ngcontent-%COMP%], .button--on-image--outline[_ngcontent-%COMP%]:active{outline:var(--border-width-thin) solid var(--colour-border-on-image);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;
1color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-on-image-pressed);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.button--on-image--outline[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-thin) solid var(--colour-border-accent-default);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-on-image-default)}.button--on-image--outline[_ngcontent-%COMP%]:disabled{outline:var(--border-width-thin) solid var(--colour-border-on-image);outline-offset:calc(var(--border-width-thin) * -1);background-color:transparent;color:var(--colour-text-neutral-disabled)}.button--on-image--ghost[_ngcontent-%COMP%]{color:var(--colour-text-on-image-default);background-color:transparent}.button--on-image--ghost--hover[_ngcontent-%COMP%], .button--on-image--ghost[_ngcontent-%COMP%]:hover{color:var(--colour-text-neutral-hover);background-color:var(--colour-surface-on-image-hover);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.button--on-image--ghost--pressed[_ngcontent-%COMP%], .button--on-image--ghost[_ngcontent-%COMP%]:active{color:var(--colour-text-neutral-pressed);background-color:var(--colour-surface-on-image-pressed);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.button--on-image--ghost[_ngcontent-%COMP%]:focus-visible{color:var(--colour-text-on-image-default);outline:var(--border-width-thin) solid var(--colour-border-accent-default)}.button--on-image--ghost[_ngcontent-%COMP%]:disabled{color:var(--colour-text-neutral-disabled)}'],changeDetection:0})}}return P})(),cd=(()=>{class P{get state(){return this.checkBoxSate}set state(I){I!=this.state&&(this.checkBoxSate=I,this.changeDetectorRef.markForCheck())}get checked(){return this.isChecked}set checked(I){I!=this.checked&&(this.isChecked=!!I,this.changeDetectorRef.markForCheck())}get mixed(){return this.isMixed}set mixed(I){I!=this.mixed&&(this.isMixed=!!I)}constructor(I,pe,ge,Jt){this.changeDetectorRef=I,this.elementRef=pe,this.controlContainer=Jt,this.attrTabIndex=null,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.size=Eo.Regular,this.ariaLabel="",this.ariaLabelledby=null,this.change=new p.bkB,this.mixedChange=new p.bkB,this.disableRipple=!0,this.isChecked=!1,this.isMixed=!1,this.checkBoxSate=Ii.Default,this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.onBlur=sr=>{Promise.resolve().then(()=>{this.onTouchedFn(),this.changeDetectorRef.markForCheck()})},this.tabIndex=parseInt(ge)||0}ngOnInit(){this.elementRef.nativeElement.querySelector("input").addEventListener("blur",this.onBlur,!1),this.formControlName&&this.controlContainer.control?.get(this.formControlName)&&(this.formControl=this.controlContainer.control.get(this.formControlName))}ngOnDestroy(){this.elementRef.nativeElement.querySelector("input").removeEventListener("blur",this.onBlur,!1)}focus(){this.checkbox.focus()}toggle(){this.checked=!this.checked,this.onChangeFn(this.checked)}onChange(I){this.onChangeFn(I.checked),this.change.emit(I),this.checked=I.checked}writeValue(I){this.checked=!!I}registerOnChange(I){this.onChangeFn=I}registerOnTouched(I){this.onTouchedFn=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}onIndeterminateChange(I){this.mixed=I,this.mixedChange.emit(I)}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc),p.rXU(p.aKT),p.kS0("tabindex"),p.rXU(ti.ZU,13))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-checkbox"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(ta,5),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.checkbox=Jt.first)}},hostVars:3,hostBindings:function(pe,ge){2&pe&&p.BMQ("tabindex",ge.attrTabIndex)("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{id:"id",labelPosition:"labelPosition",required:"required",name:"name",value:"value",tabIndex:"tabIndex",size:"size",formControlName:"formControlName",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],state:"state",checked:"checked",mixed:"mixed"},outputs:{change:"change",mixedChange:"mixedChange"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],ngContentSelectors:to,decls:4,vars:18,consts:[["matCheckbox",""],[3,"change","indeterminateChange","checked","indeterminate","disabled","id","name","required","labelPosition","value","tabIndex","aria-describedby","aria-label","aria-labelledby","disableRipple"],[1,"checkbox__label"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.NAR(),p.j41(0,"mat-checkbox",1,0),p.bIt("change",function(Mi){return He.eBV(Jt),He.Njj(ge.onChange(Mi))})("indeterminateChange",function(Mi){return He.eBV(Jt),He.Njj(ge.onIndeterminateChange(Mi))}),p.j41(2,"span",2),p.SdG(3),p.k0s()()}2&pe&&(p.HbH(p.VkB("checkbox checkbox--",ge.size)),p.AVh("checkbox--invalid",(null==ge.formControl?null:ge.formControl.invalid)&&
1((null==ge.formControl?null:ge.formControl.dirty)||(null==ge.formControl?null:ge.formControl.touched))),p.Y8G("checked",ge.checked)("indeterminate",ge.mixed)("disabled","disabled"===ge.state)("id",ge.id)("name",ge.name)("required",ge.required)("labelPosition",ge.labelPosition)("value",ge.value)("tabIndex",ge.tabIndex),p.jOp("aria-describedby",ge.ariaDescribedby)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby),p.Y8G("disableRipple",ge.disableRipple))},dependencies:[Uo.g7,Uo.So,ti.X1],styles:['[_nghost-%COMP%]{display:inline-block;position:relative}[_nghost-%COMP%]   .mat-mdc-checkbox[_ngcontent-%COMP%]{--mat-checkbox-selected-checkmark-color: var(--colour-icon-on-accent);--mat-checkbox-selected-focus-icon-color: var(--colour-icon-accent-hover);--mat-checkbox-selected-hover-icon-color: var(--colour-icon-accent-hover);--mat-checkbox-selected-icon-color: var(--colour-icon-accent-default);--mat-checkbox-selected-pressed-icon-color: var(--colour-icon-accent-pressed);--mat-checkbox-unselected-focus-icon-color: var(--colour-icon-neutral-disabled);--mat-checkbox-unselected-icon-color: var(--colour-border-neutral-strong-default);--mat-checkbox-unselected-pressed-icon-color: var(--colour-border-neutral-strong-pressed);--mat-checkbox-touch-target-size: var(--space-500);--mat-checkbox-ripple-size: 34px}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field.mdc-form-field--align-end>label{padding-right:var(--space-0)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field>label{padding-left:var(--space-0)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .checkbox__label{font-family:var(--typography-body-regular-font-family);font-weight:var(--typography-body-regular-font-weight);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);color:var(--colour-text-primary)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox{flex:0 0 var(--space-200);width:var(--space-200);height:var(--space-200)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background{border-color:var(--colour-border-neutral-disabled);background-color:var(--colour-surface-neutral-disabled)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark .mdc-checkbox__checkmark-path{stroke:var(--colour-icon-neutral-disabled)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--colour-icon-neutral-disabled)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple{opacity:1;background:transparent}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple:after{content:"";position:absolute;height:calc(var(--space-200) + var(--space-075));width:calc(var(--space-200) + var(--space-075));top:8px;left:8px;border-radius:var(--space-075);border:var(--border-width-thin) solid var(--colour-border-accent-focus);box-sizing:border-box;transition:none}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{background-color:var(--colour-surface-neutral-subtle-hover);border-color:var(--colour-border-neutral-strong-hover)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox:active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{background-color:var(--colour-surface-neutral-subtle-pressed);border-color:var(--colour-border-neutral-strong-pressed)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__ripple{background:transparent}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__native-control{width:var(--space-200);height:var(--space-200);top:initial;right:initial;left:initial}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox.mat-mdc-checkbox-disabled .checkbox__label{color:var(--colour-text-neutral-disabled)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__background{width:var(--space-200);height:var(--space-200);border-radius:var(--border-radius-050);border-style:solid;border-width:var(--border-width-hairline);transition:all .3s ease}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__background .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--colour-border-neutral-strong-default)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__background .mdc-checkbox__checkmark{width:var(--space-100);height:var(--space-100);stroke-linecap:round;margin:auto}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox__background .mdc-checkbox__mixedmark{width:var(--space-075);border-radius:1px}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.mat-mdc-checkbox-disabled .checkbox__label{color:var(--colour-text-neutral-disabled)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.mat-mdc-checkbox-disabled   .mdc-label, [_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.mat-mdc-checkbox-disabled   .mdc-checkbox{cursor:not-allowed;pointer-events:auto}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large{--mat-checkbox-touch-target-size: var(--space-600)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field.mdc-form-field--align-en
1d>label{margin-right:4px;padding-right:var(--space-0)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field>label{margin-left:4px;padding-left:var(--space-0)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .checkbox__label{font-family:var(--typography-body-large-font-family);font-weight:var(--typography-body-large-font-weight);line-height:var(--typography-body-large-line-height);font-size:var(--typography-body-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox{flex:0 0 var(--space-300);width:var(--space-300);height:var(--space-300);margin:calc((var(--mat-checkbox-touch-target-size, var(--space-600)) - var(--space-600)) / 2)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple{opacity:1;background:transparent}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple:after{content:"";position:absolute;height:calc(var(--space-300) + var(--space-075));width:calc(var(--space-300) + var(--space-075));top:8px;left:8px;border-radius:var(--border-radius-100);border:var(--border-width-thin) solid var(--colour-border-accent-focus);box-sizing:border-box;transition:none}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox__native-control{width:var(--space-300);height:var(--space-300)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox__background{width:var(--space-300);height:var(--space-300);border-radius:var(--space-075);border-width:1.5px}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__mixedmark{width:10px}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__checkmark{width:var(--space-150);height:var(--space-150)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--large .mdc-form-field .mdc-checkbox .mat-ripple-element{width:var(--space-150);height:var(--space-150)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--colour-border-negative-default)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple{opacity:1;background:transparent}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple:after{content:"";position:absolute;height:calc(var(--space-200) + var(--space-075));width:calc(var(--space-200) + var(--space-075));top:8px;left:8px;border-radius:var(--space-075);border:var(--border-width-thin) solid var(--colour-border-negative-focus);box-sizing:border-box;transition:none}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{background-color:var(--colour-surface-negative-subtle-hover);border-color:var(--colour-border-negative-hover)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid .mdc-checkbox:active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{background-color:var(--colour-surface-negative-subtle-pressed);border-color:var(--colour-border-negative-pressed)}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple{opacity:1;background:transparent}[_nghost-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox.checkbox--invalid.checkbox--large .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple:after{content:"";position:absolute;height:calc(var(--space-300) + var(--space-075));width:calc(var(--space-300) + var(--space-075));top:8px;left:8px;border-radius:var(--border-radius-100);border:var(--border-width-thin) solid var(--colour-border-negative-focus);box-sizing:border-box;transition:none}'],changeDetection:0})}}return P})(),vc=(()=>{class P{set checked(I){this.isChecked=!!I,this.changeDetectorRef.markForCheck()}get checked(){return this.isChecked}constructor(I){this.changeDetectorRef=I,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.labelPosition=Ou.After,this.required=!1,this.size=Eo.Regular,this.state=Ii.Default,this.ariaLabel="",this.change=new p.bkB,this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{}}focus(){this.radioButton.focus()}onRadioChange(I){this.onChange(I.value),this.change.emit(I),this.checked=I.value===this.value}writeValue(I){this.isChecked=I===this.value}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-radio-button"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(Ca,5),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.radioButton=Jt.first)}},hostVars:2,hostBindings:function(pe,ge){2&pe&&p.BMQ("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{id:"id",labelPosition:"labelPosition",required:"required",name:"name",value:"value",size:"size",disableRipple:"disableRipple",state:"state",ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",ariaDescribedby:"ariaDescribedby",checked:"checked"},outputs:{change:"change"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],ngContentSelectors:to,decls:4,vars:15,consts:[["radioButton",""],[3,"change","checked","disabled","disableRipple","
1id","labelPosition","name","required","value","aria-describedby","aria-label","aria-labelledby"],[1,"radio-button__label"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.NAR(),p.j41(0,"mat-radio-button",1,0),p.bIt("change",function(Mi){return He.eBV(Jt),He.Njj(ge.onRadioChange(Mi))}),p.j41(2,"span",2),p.SdG(3),p.k0s()()}2&pe&&(p.HbH(p.ai1("radio-button radio-button--",ge.size," radio-button--",ge.state)),p.Y8G("checked",ge.checked)("disabled","disabled"===ge.state)("disableRipple",ge.disableRipple)("id",ge.id)("labelPosition",ge.labelPosition)("name",ge.name)("required",ge.required)("value",ge.value),p.jOp("aria-describedby",ge.ariaDescribedby)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby))},dependencies:[xo.Wk,xo._g],styles:[".radio-button__label[_ngcontent-%COMP%]{display:block;cursor:pointer;padding-left:var(--space-025)}.radio-button.radio-button--disabled[_ngcontent-%COMP%]     .mdc-radio{cursor:not-allowed;pointer-events:auto}.radio-button.radio-button--disabled[_ngcontent-%COMP%]   .radio-button__label[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:auto}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{transition:background-color .3s ease-in-out,border-color .3s ease-in-out}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle{opacity:1;transition:transform .3s ease-in-out;transform:scale(0);border:none}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:hover+.mdc-radio__background:before{display:none}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:not([disabled]):focus-visible+.mdc-radio__background:before{opacity:1;background:transparent!important;border:var(--border-width-thin) solid var(--colour-border-accent-focus)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:focus:not(:focus-visible)+.mdc-radio__background:before{display:none}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mat-ripple-element{display:none}.radio-button--regular[_ngcontent-%COMP%]   .radio-button__label[_ngcontent-%COMP%]{font-family:var(--typography-body-regular-font-family);font-weight:var(--typography-body-regular-font-weight);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio{width:var(--size-200);height:var(--size-200);padding:var(--space-025)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio .mat-mdc-radio-touch-target{height:var(--size-600);width:var(--size-600)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control{top:var(--space-negative-025);right:var(--space-0);left:var(--space-negative-025);width:calc(var(--size-200) * 1.5);height:calc(var(--size-200) * 1.5)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background{width:var(--size-200);height:var(--size-200)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background:before{top:var(--space-negative-050);left:var(--space-negative-050);width:calc(var(--size-200) * 1.5);height:calc(var(--size-200) * 1.5)}.radio-button--regular[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background .mdc-radio__outer-circle{border-width:var(--border-width-hairline)}.radio-button--large[_ngcontent-%COMP%]   .radio-button__label[_ngcontent-%COMP%]{font-family:var(--typography-body-large-font-family);font-weight:var(--typography-body-large-font-weight);line-height:var(--typography-body-large-line-height);font-size:var(--typography-body-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.radio-button--large[_ngcontent-%COMP%]     .mdc-radio{width:var(--size-300);height:var(--size-300);padding:var(--space-075)}.radio-button--large[_ngcontent-%COMP%]     .mdc-radio .mat-mdc-radio-touch-target{height:var(--size-600);width:var(--size-600)}
1.radio-button--large[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control{top:var(--space-0);right:var(--space-0);left:var(--space-0);width:calc(var(--size-300) * 1.5);height:calc(var(--size-300) * 1.5)}.radio-button--large[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background{width:var(--size-300);height:var(--size-300)}.radio-button--large[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background:before{top:var(--space-negative-075);left:var(--space-negative-075);width:calc(var(--size-300) * 1.5);height:calc(var(--size-300) * 1.5)}.radio-button--large[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__background .mdc-radio__outer-circle{border-width:1.5px}.radio-button[_ngcontent-%COMP%]{--mat-mdc-radio-checked-ripple-color: transparent;--mat-radio-unselected-focus-icon-color: var(--colour-border-neutral-strong-default);--mdc-radio-state-layer-size: 0px}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background:before{background:transparent}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{background:var(--colour-surface-neutral-subtlest-default);border-color:var(--colour-border-neutral-strong-default)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:focus+.mdc-radio__background:before{background:var(--colour-surface-neutral-subtlest-default)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background:before{background:var(--colour-surface-neutral-subtlest-default)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{background:var(--colour-surface-accent-default);border-color:var(--colour-border-accent-default)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{background:var(--colour-icon-on-accent);transform:scale(.4)}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control[disabled]:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle, .radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control[disabled]:checked+.mdc-radio__background .mdc-radio__outer-circle{background:var(--colour-surface-neutral-disabled);border-color:var(--colour-border-neutral-disabled);opacity:1}.radio-button[_ngcontent-%COMP%]     .mdc-radio .mdc-radio__native-control[disabled]:checked+.mdc-radio__background .mdc-radio__inner-circle{background:var(--colour-icon-neutral-disabled);transform:scale(.4);opacity:1}.radio-button[_ngcontent-%COMP%]:hover:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-border-neutral-strong-hover);background:var(--colour-surface-neutral-subtle-hover)}.radio-button[_ngcontent-%COMP%]:hover:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{background:var(--colour-surface-accent-hover);border-color:var(--colour-border-accent-hover)}.radio-button[_ngcontent-%COMP%]:hover:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{background:var(--colour-icon-on-accent);transform:scale(.4)}.radio-button[_ngcontent-%COMP%]:active:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-border-accent-pressed);background:var(--colour-surface-accent-pressed)}.radio-button[_ngcontent-%COMP%]:active:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{background:var(--colour-icon-on-accent)}.radio-button[_ngcontent-%COMP%]:active:not(.radio-button--disabled)     .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-border-neutral-strong-pressed);background:var(--colour-surface-neutral-subtle-pressed)}.radio-button--disabled[_ngcontent-%COMP%]     .radio-button__label{color:var(--colour-text-neutral-disabled)}.radio-button__label[_ngcontent-%COMP%]{color:var(--colour-text-primary)}.radio-group--invalid[_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{background:transparent;border-color:var(--colour-surface-negative-default)}.radio-group--invalid[_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:focus+.mdc-radio__background:before, .radio-group--invalid   [_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:focus+.mdc-radio__background:before{background:var(--colour-surface-negative-default)}.radio-group--invalid[_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{background:var(--colour-surface-negative-default);border-color:var(--colour-surface-negative-default)}.radio-group--invalid[_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner
1-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{background:var(--colour-icon-on-accent);transform:scale(.4)}.radio-group--invalid[_nghost-%COMP%]     .radio-button:hover .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button:hover .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-surface-negative-hover);background:var(--colour-surface-negative-hover)}.radio-group--invalid[_nghost-%COMP%]     .radio-button:hover .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button:hover .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-surface-negative-hover);background:var(--colour-surface-negative-subtle-hover)}.radio-group--invalid[_nghost-%COMP%]     .radio-button:not(:disabled):active .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button:not(:disabled):active .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-surface-negative-pressed);background:var(--colour-surface-negative-pressed)}.radio-group--invalid[_nghost-%COMP%]     .radio-button:not(:disabled):active .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle, .radio-group--invalid   [_nghost-%COMP%]     .radio-button:not(:disabled):active .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--colour-surface-negative-pressed);background:var(--colour-surface-negative-subtle-pressed)}.radio-group--invalid[_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:not([disabled]):focus-visible+.mdc-radio__background:before, .radio-group--invalid   [_nghost-%COMP%]     .radio-button .mdc-radio .mdc-radio__native-control:not([disabled]):focus-visible+.mdc-radio__background:before{opacity:1;background:transparent;border:var(--border-width-thin) solid var(--colour-border-negative-focus)}"],changeDetection:0})}}return P})(),tl=(()=>{class P{set value(I){this.selectedOption=I,this.changeDetectorRef.markForCheck()}get value(){return this.selectedOption}get error(){if(this.formControl?.errors&&this.errorMessage){if("string"==typeof this.errorMessage)return this.errorMessage;for(const I in this.errorMessage)if(this.formControl?.errors?.[I])return this.errorMessage[I]||"";return""}return""}getLabel(I){return"function"==typeof this.getLabelFn?this.getLabelFn(I):String(I)}constructor(I,pe,ge,Jt){this.changeDetectorRef=I,this.matIconRegistry=pe,this.domSanitizer=ge,this.controlContainer=Jt,this.ButtonState=Ii,this.layout=Iu.Stacked,this.labelPosition=Ou.After,this.size=Eo.Regular,this.state=Ii.Default,this.disableRipple=!0,this.required=!1,this.name="select",this.ariaLabel="",this.errorMessage="",this.change=new p.bkB,this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.matIconRegistry.addSvgIconLiteral(_i.Nms.name,this.domSanitizer.bypassSecurityTrustHtml(_i.Nms.data))}ngOnInit(){this.formControlName&&this.controlContainer.control?.get(this.formControlName)&&(this.formControl=this.controlContainer.control.get(this.formControlName))}onChange(I){this.onChangeFn(I.value),this.change.emit(I),this.value=I.value,this.changeDetectorRef.markForCheck()}writeValue(I){this.value=I}registerOnChange(I){this.onChangeFn=I}registerOnTouched(I){this.onTouchedFn=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc),p.rXU(gi.tp),p.rXU(Ei.up),p.rXU(ti.ZU,13))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-radio-group"]],inputs:{layout:"layout",labelPosition:"labelPosition",size:"size",state:"state",disableRipple:"disableRipple",required:"required",name:"name",ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",ariaDescribedby:"ariaDescribedby",options:"options",formControlName:"formControlName",errorMessage:"errorMessage",value:"value",getLabelFn:"getLabelFn"},outputs:{change:"change"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0},{provide:xo.VT,useExisting:P}])],decls:4,vars:10,consts:[[3,"change","disabled","required","name","value"],[3,"state","size","labelPosition","disableRipple","ariaDescribedby","ariaLabel","ariaLabelledby","checked","name","value"],[1,"radio-group__info-error"],[1,"radio-group__info-icon"],[1,"radio-group__info-message"],["icon","alert",1,"alert-icon",3,"isSVG"]],template:function(pe,ge){1&pe&&(p.j41(0,"mat-radio-group",0),p.bIt("change",function(sr){return ge.onChange(sr)}),p.Z7z(1,Os,2,11,"lib-radio-button",1,p.Vm6),p.k0s(),p.nVh(3,Zi,4,2,"mat-error",2)),2&pe&&(p.HbH(p.VkB("radio-group radio-group--",ge.layout)),p.AVh("radio-group--invalid",(null==ge.formControl?null:ge.formControl.invalid)&&
1((null==ge.formControl?null:ge.formControl.dirty)||(null==ge.formControl?null:ge.formControl.touched))),p.Y8G("disabled",ge.state===ge.ButtonState.Disabled)("required",ge.required)("name",ge.name)("value",ge.value),p.R7$(),p.Dyx(ge.options),p.R7$(2),p.vxM(null!=ge.formControl&&ge.formControl.errors?3:-1))},dependencies:[xo.Wk,xo.VT,vc,ti.X1,wo.R,Zr.TL,dl],styles:["[_nghost-%COMP%]   .radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--space-100)}[_nghost-%COMP%]   .radio-group--stacked[_ngcontent-%COMP%]{flex-direction:column}[_nghost-%COMP%]   .radio-group--columns[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap}[_nghost-%COMP%]   .radio-group--columns[_ngcontent-%COMP%] >*{width:49%}[_nghost-%COMP%]   .radio-group__info-error[_ngcontent-%COMP%]{width:100%;display:flex;margin-top:var(--space-150);align-items:center}[_nghost-%COMP%]   .radio-group__info-icon[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200);margin-right:var(--space-050);color:var(--colour-icon-negative-default)}[_nghost-%COMP%]   .radio-group__info-icon[_ngcontent-%COMP%]   .alert-icon[_ngcontent-%COMP%]     .mat-icon{width:var(--size-200);height:var(--size-200)}[_nghost-%COMP%]   .radio-group__info-message[_ngcontent-%COMP%]{font-family:var(--typography-label-small-font-family);font-weight:var(--typography-label-small-font-weight);line-height:var(--typography-label-small-line-height);font-size:var(--typography-label-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);color:var(--colour-text-negative-default)}"],changeDetection:0})}}return P})();var xl=function(P){return P.Basic="basic",P.Choice="choice",P}(xl||{}),ud=function(P){return P.Small="small",P}(ud||{});let wp=0,Qd=(()=>{class P{get size(){return this.chipSize}set size(I){I!==this.size&&(this.chipSize=I,this.hasAvatar&&(this.chipAvatarSize=this.getChipAvatarSize(I)))}get id(){return this.chipId}set id(I){this.chipId=I,this.ariaDescriptionId=`${this.chipId}-aria-description`}get state(){return this.chipSate}set state(I){I!=this.state&&(this.chipSate=I,this.isDisabled=I===Ii.Disabled,this.changeDetectorRef.markForCheck())}get checked(){return this.isChecked}set checked(I){I!=this.checked&&(this.isChecked=!!I,this.onChangeFn(this.isChecked),this.onTouchedFn(),this.changeDetectorRef.markForCheck())}constructor(I,pe,ge){this.changeDetectorRef=I,this.matIconRegistry=pe,this.domSanitizer=ge,this.role="presentation",this.ariaLabel=null,this.ariaDescription=null,this.tabIndex=-1,this.hasTouchTarget=!0,this.label="",this.removable=!1,this.selectable=!0,this.hasAvatar=!1,this.avatarPlaceholder="",this.avatarImageSrc="",this.type=xl.Basic,this.change=new p.bkB,this.select=new p.bkB,this.destroyed=new p.bkB,this.removed=new p.bkB,this.defaultTabindex=-1,this.ChipType=xl,this.AvatarSize=Ai,this.AvatarColour=Ac,this.AvatarType=La,this.chipId="lib-chip-"+wp++,this.ariaDescriptionId=`${this.chipId}-aria-description`,this.isDisabled=!1,this.chipSate=Ii.Default,this.chipSize=Eo.Regular,this.chipAvatarSize=Ai.XXSmall,this.isChecked=null,this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.matIconRegistry.addSvgIconLiteral(_i.TaQ.name,this.domSanitizer.bypassSecurityTrustHtml(_i.TaQ.data))}ngOnDestroy(){this.destroyed.emit(this.createEvent())}onSelect(I){I.stopPropagation(),!this.isDisabled&&this.selectable&&(this.type===xl.Choice&&(this.toggle(),this.change.emit(this.checked)),this.focus(),this.select.emit(this.createEvent()))}onRemove(I){I.stopPropagation(),!this.isDisabled&&this.removed.emit(this.createEvent())}onTouchTargetClick(I){this.focus(),this.onSelect(I)}toggle(){this.checked=!this.checked}writeValue(I){this.isChecked=!!I,this.changeDetectorRef.markForCheck()}focus(){this.isDisabled||this.libChip.nativeElement.focus()}registerOnChange(I){this.onChangeFn=I}registerOnTouched(I){this.onTouchedFn=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}getChipAvatarSize(I){return{[Eo.Large]:Ai.XSmall,[Eo.Regular]:Ai.XXSmall,[ud.Small]:Ai.Tiny}[I]||Ai.XXSmall}createEvent(){return{id:this.id,label:this.label,isChecked:this.checked}}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc),p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-chip"]],contentQueries:function(pe,ge,Jt){if(1&pe&&p.wni(Jt,kc,5),2&pe){let sr;p.mGM(sr=p.lsd())&&(ge.leadingIcon=sr.first)}},viewQuery:function(pe,ge){if(1&pe&&p.GBs(Is,5),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.libChip=Jt.first)}},inputs:{role:"role",ariaLabel:"ariaLabel",ariaDescription:"ariaDescription",tabIndex:"tabIndex",hasTouchTarget:"hasTouchTarget",label:"label",removable:"removable",selectable:"selectable",hasAvatar:"hasAvatar",avatarPlaceholder:"avatarPlaceholder",avatarImageSrc:"avatarImageSrc",type:"type",size:"size",id:"id",state:"state",checked:"checked"},outputs:{change:"change",select:"select",destroyed:"destroyed",removed:"removed"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],ngContentSelectors:Ns,decls:9,vars:22,consts:[["chip",""],[1,"chip__touch-target",3,"chip__touch-target--selectable"],[3,"click","keydown.enter","ngClass"],[1,"chip__icon"],[1,"chip__avatar",3,"color","type","size","placeholder","imageSrc","hasTooltip","isDisabled","tabIndex"],[1,"chip__txt-label"],["aria-label","Remove chip","role","button",1,"chip__icon","chip__icon--removable"],[1,"chip--visually-hidden",3,"id"],[1,"chip__touch-target",3,"click"],["aria-label","Remove chip","role","button",1,"chip__icon","chip__icon--removable",3,"click","keydown.enter"],["icon","close",3,"isSVG"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.NAR(rl),p.nVh(0,Oo,1,2,"div",1),p.j41(1,"span",2,0),p.bIt("click",function(Mi){return He.eBV(Jt),He.Njj(ge.onSelect(Mi))})("keydown.enter",function(Mi){return He.eBV(Jt),He.Njj(ge.onSelect(Mi))}),p.nVh(3,sa,2,0,"span",3),p.nVh(4,Ha,1,8,"lib-avatar",4),p.nVh(5,aa,2,1,"span",5),p.nVh(6,ir,2,2,"span",6),p.k0s(),p.j41(7,"span",7),p.EFF(8),p.k0s()}2&pe&&(p.vxM(ge.hasTouchTarget?0:-1),p.R7$(),p.HbH(p.VkB("\n    chip\n    chip--",ge.size)),p.Y8G("ngClass",p.s1E(16,Ws,ge.isDisabled,ge.type===ge.ChipType.Choice&&ge.checked,ge.removable,ge.type===ge.ChipType.Choice,ge.hasAvatar)),p.BMQ("role",ge.role)("tabindex",ge.isDisabled?ge.defaultTabindex:ge.tabIndex)("aria-label",ge.ariaLabel)("aria-description",ge.ariaDescription)("aria-describedby",ge.ariaDescriptionId),p.R7$(2),p.vxM(ge.leadingIcon?3:-1),p.R7$(),p.vxM(ge.hasAvatar?4:-1),p.R7$(),p.vxM(ge.label?5:-1),p.R7$(),p.vxM(ge.removable?6:-1),p.R7$(),p.Y8G("id",ge.ariaDescriptionId),p.R7$(),p.JRh(ge.ariaDescription))},dependencies:[cr.YU,dl,ns],styles:["[_nghost-%COMP%]{position:relative;display:inline-block}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]{border:var(--border-width-hairline) solid var(--colour-border-neutral-default);background-color:var(--colour-surface-neutral-subtle-default);color:var(--colour-text-neutral-default);font-family:var(--typography-body-small-font-family);
1font-weight:var(--typography-body-small-font-weight);line-height:var(--typography-body-small-line-height);font-size:var(--typography-body-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);position:relative;display:flex;justify-content:center;align-items:center;cursor:pointer;font-style:normal;transition:border,background-color,background .2s;outline-offset:var(--space-025);height:var(--size-400);padding:var(--space-0) var(--space-100);border-radius:var(--border-radius-050)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]:hover:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-neutral-hover);background-color:var(--colour-surface-neutral-subtle-hover);color:var(--colour-text-neutral-hover)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]:hover:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-hover)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]:active:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-neutral-pressed);background-color:var(--colour-surface-neutral-subtle-pressed);color:var(--colour-text-neutral-pressed)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]:active:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-pressed)}[_nghost-%COMP%]   .chip.chip--disabled[_ngcontent-%COMP%]   .chip__txt-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .chip.chip--disabled[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]{color:var(--colour-text-neutral-disabled)}[_nghost-%COMP%]   .chip.chip--disabled[_ngcontent-%COMP%]   .chip__avatar[_ngcontent-%COMP%]{opacity:var(--opacity-medium)}[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]:focus-visible:not(.chip--disabled){outline:var(--border-width-thin) solid var(--colour-border-accent-focus)}[_nghost-%COMP%]   .chip.chip--disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none}[_nghost-%COMP%]   .chip.chip--choice.chip--reduced-padding-left[_ngcontent-%COMP%]{padding-left:var(--space-050)}[_nghost-%COMP%]   .chip__icon[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200);border-radius:var(--border-radius-050);overflow:hidden}[_nghost-%COMP%]   .chip__icon[_ngcontent-%COMP%]     .mat-icon{width:var(--size-200);height:var(--size-200);font-size:var(--size-200)}[_nghost-%COMP%]   .chip__icon[_ngcontent-%COMP%]:focus-visible{border-radius:var(--border-radius-050);outline-offset:var(--space-025);outline:var(--border-width-thin) solid var(--colour-border-accent-focus)}[_nghost-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{display:-webkit-box;max-width:225px;-webkit-box-orient:vertical;-webkit-line-clamp:1;flex:1 0 0;padding:var(--space-0) var(--space-100);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 1){[_nghost-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:1;-webkit-box-orient:vertical}}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]{width:100%;height:var(--size-600);position:absolute;top:50%;transform:translateY(-50%)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:hover ~ .chip[_ngcontent-%COMP%]:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-neutral-hover);background-color:var(--colour-surface-neutral-subtle-hover);color:var(--colour-text-neutral-hover)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:hover ~ .chip[_ngcontent-%COMP%]:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-hover)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:hover ~ .chip--checked[_ngcontent-%COMP%]:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-accent-hover);background-color:var(--colour-surface-accent-subtle-hover);color:var(--colour-text-accent-hover)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:hover ~ .chip--checked[_ngcontent-%COMP%]:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-hover)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:active ~ .chip[_ngcontent-%COMP%]:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-neutral-pressed);background-color:var(--colour-surface-neutral-subtle-pressed);color:var(--colour-text-neutral-pressed)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:active ~ .chip[_ngcontent-%COMP%]:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-pressed)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:active ~ .chip--checked[_ngcontent-%COMP%]:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-accent-pressed);background-color:var(--colour-surface-accent-subtle-pressed);color:var(--colour-text-accent-pressed)}[_nghost-%COMP%]   .chip__touch-target[_ngcontent-%COMP%]:active ~ .chip--checked[_ngcontent-%COMP%]:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-pressed)}[_nghost-%COMP%]   .chip__touch-target--selectable[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]   .chip--visually-hidden[_ngcontent-%COMP%]{width:1px;height:1px;border:0;margin:-1px;overflow:hidden;padding:var(--space-0);position:absolute;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[_nghost-%COMP%]   .chip.chip--small[_ngcontent-%COMP%]{height:var(--size-300);line-height:16px;font-size:var(--typography-label-small-font-size);padding:var(--space-0) var(--space-075)}[_nghost-%COMP%]   .chip.chip--small[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]{width:var(--size-150);height:var(--size-150);border-radius:var(--border-radius-025)}[_nghost-%COMP%]   .chip.chip--small[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]     .mat-icon{width:var(--size-150);height:var(--size-150);font-size:var(--typography-label-small-font-size)}[_nghost-%COMP%]   .chip.chip--small[_ngcontent-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{padding:var(--space-0) var(--space-050)}
1[_nghost-%COMP%]   .chip.chip--large[_ngcontent-%COMP%]{height:var(--size-500);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);padding:var(--space-0) var(--space-150)}[_nghost-%COMP%]   .chip.chip--large[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]{width:var(--size-250);height:var(--size-250);border-radius:var(--border-radius-050)}[_nghost-%COMP%]   .chip.chip--large[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]     .mat-icon{width:var(--size-250);height:var(--size-250);font-size:var(--typography-body-large-font-size)}[_nghost-%COMP%]   .chip--choice[_ngcontent-%COMP%]{border-radius:20px}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]{border:var(--border-width-hairline) solid var(--colour-border-accent-default);background-color:var(--colour-surface-accent-subtle-default);color:var(--colour-text-accent-default)}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-default)}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]:hover:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-accent-hover);background-color:var(--colour-surface-accent-subtle-hover);color:var(--colour-text-accent-hover)}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]:hover:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-hover)}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]:active:not(.chip--disabled){border:var(--border-width-hairline) solid var(--colour-border-accent-pressed);background-color:var(--colour-surface-accent-subtle-pressed);color:var(--colour-text-accent-pressed)}[_nghost-%COMP%]   .chip--choice.chip--checked[_ngcontent-%COMP%]:active:not(.chip--disabled)   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-pressed)}[_nghost-%COMP%]   .chip--choice.chip--checked.chip--disabled[_ngcontent-%COMP%]{border:var(--border-width-hairline) solid var(--colour-border-accent-disabled);background-color:var(--colour-surface-accent-disabled);color:var(--colour-text-accent-disabled)}[_nghost-%COMP%]   .chip--choice.chip--checked.chip--disabled[_ngcontent-%COMP%]   .chip__txt-label[_ngcontent-%COMP%]{color:var(--colour-text-accent-disabled)}[_nghost-%COMP%]   .chip--choice.chip--checked.chip--disabled[_ngcontent-%COMP%]   .chip__icon[_ngcontent-%COMP%]{color:var(--colour-text-accent-disabled)}[_nghost-%COMP%]   .chip--choice.chip--checked.chip--disabled[_ngcontent-%COMP%]   .chip__avatar[_ngcontent-%COMP%]{opacity:var(--opacity-medium)}"],changeDetection:0})}}return P})();const Jd=new He.nKC("DrawerData");let oh=(()=>{class P{constructor(){this.document=(0,He.WQX)(He.qQL),this.elementRef=(0,He.WQX)(p.aKT),this.config={size:Pu.Regular,isDismissible:!1,hasBackdrop:!0,lockBodyScroll:!0,panelClass:""},this.afterOpenedSubject=new Ht.B,this.closeSubject=new Ht.B,this.originalBodyOverflow=null,this.viewInitialized=!1,this.close$=this.closeSubject.asObservable()}get hostClasses(){return this.config.panelClass||""}ngAfterViewInit(){this.viewInitialized=!0,this.config.lockBodyScroll&&this.lockBodyScroll(),this.startEnterAnimation(),this.pendingComponent&&(this.loadComponent(this.pendingComponent.component,this.pendingComponent.data),this.pendingComponent=void 0)}loadComponent(I,pe){if(!this.viewInitialized)return void(this.pendingComponent={component:I,data:pe});let ge;this.drawerContent.clear(),pe&&(ge=He.zZn.create({providers:[{provide:Jd,useValue:pe}]}));const Jt=this.drawerContent.createComponent(I,{injector:ge});return this.componentRef=Jt,Jt.location.nativeElement&&(Jt.location.nativeElement.style.height="100%"),Jt}close(){this.startLeaveAnimation()}onBackdropClick(){this.config.isDismissible&&this.close()}ngOnDestroy(){this.config.lockBodyScroll&&this.unlockBodyScroll(),this.closeSubject.complete(),this.componentRef&&this.componentRef.destroy()}startEnterAnimation(){this.elementRef.nativeElement.classList.add("drawer-entering"),setTimeout(()=>{this.elementRef.nativeElement.classList.remove("drawer-entering"),this.afterOpenedSubject.next()},300)}startLeaveAnimation(){this.elementRef.nativeElement.classList.add("drawer
1-leaving"),setTimeout(()=>{this.closeSubject.next()},300)}lockBodyScroll(){this.document?.body&&(this.originalBodyOverflow=this.document.body.style.overflow,this.document.body.style.overflow="hidden")}unlockBodyScroll(){this.document?.body&&(this.document.body.style.overflow=this.originalBodyOverflow||"")}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-drawer"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(Y,5,p.c1b),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.drawerContent=Jt.first)}},hostVars:2,hostBindings:function(pe,ge){2&pe&&p.HbH(ge.hostClasses)},decls:5,vars:4,consts:[["drawerContent",""],["cdkTrapFocus","",1,"drawer"],[1,"drawer__backdrop"],[1,"drawer__backdrop",3,"click"]],template:function(pe,ge){1&pe&&(p.j41(0,"div",1),p.nVh(1,il,1,0,"div",2),p.j41(2,"div"),p.eu8(3,null,0),p.k0s()()),2&pe&&(p.R7$(),p.vxM(ge.config.hasBackdrop?1:-1),p.R7$(),p.HbH(p.VkB("\n      drawer__container\n      drawer__container--size-",ge.config.size,"\n    ")))},dependencies:[dt.kB],styles:["[_nghost-%COMP%]{color:var(--colour-text-primary);background:var(--colour-surface-base);overflow:hidden;--drawer-enter-duration: .3s;--drawer-leave-duration: .3s;--drawer-enter-easing: ease-out;--drawer-leave-easing: ease-in;--backdrop-fade-duration: .2s}.drawer-entering[_nghost-%COMP%]   .drawer__container[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_drawer-slide-in var(--drawer-enter-duration) var(--drawer-enter-easing)}.drawer-entering[_nghost-%COMP%]   .drawer__backdrop[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_backdrop-fade-in var(--backdrop-fade-duration) ease-out}.drawer-leaving[_nghost-%COMP%]   .drawer__container[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_drawer-slide-out var(--drawer-leave-duration) var(--drawer-leave-easing) forwards}.drawer-leaving[_nghost-%COMP%]   .drawer__backdrop[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_backdrop-fade-out var(--backdrop-fade-duration) ease-in forwards}.drawer__backdrop[_ngcontent-%COMP%]{inset:0;position:fixed;display:block;background-color:#00000059;z-index:101;opacity:1}.drawer__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:fixed;top:0;right:0;height:100%;max-width:100vw;border-left:var(--border-width-hairline) solid var(--colour-border-tertiary);z-index:101;background:var(--colour-surface-base);transform:translate(0)}.drawer__container--size-full[_ngcontent-%COMP%]{width:100%}.drawer__container--size-large[_ngcontent-%COMP%]{width:600px}.drawer__container--size-regular[_ngcontent-%COMP%]{width:400px}.drawer__container--size-small[_ngcontent-%COMP%]{width:300px}@media (max-width: 599px){.drawer__container[_ngcontent-%COMP%]{left:0;right:0;width:100%;border-left:none}}@keyframes _ngcontent-%COMP%_drawer-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes _ngcontent-%COMP%_drawer-slide-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes _ngcontent-%COMP%_backdrop-fade-in{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_backdrop-fade-out{0%{opacity:1}to{opacity:0}}"]})}}return P})();var yc=function(P){return P.Single="single",P.Multi="multi",P}(yc||{});let qd=(()=>{class P{constructor(){this.buttonStyle=El,this.buttonSize=Eo,this.buttonState=Ii,this.buttonType=Hl,this.drawerButtonConfiguration=yc,this.isPrimaryButtonDisabled=!1,this.isSecondaryButtonDisabled=!1,this.isTertiaryButtonDisabled=!1,this.isLoading=!1,this.isLoadingTertiary=!1,this.buttonConfiguration=yc.Multi,this.secondaryButtonClick=new p.bkB,this.tertiaryButtonClick=new p.bkB,this.primaryButtonClick=new p.bkB}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-drawer-footer"]],inputs:{primaryButtonLabel:"primaryButtonLabel",secondaryButtonLabel:"secondaryButtonLabel",tertiaryButtonLabel:"tertiaryButtonLabel",errorMessage:"errorMessage",isPrimaryButtonDisabled:"isPrimaryButtonDisabled",isSecondaryButtonDisabled:"isSecondaryButtonDisabled",isTertiaryButtonDisabled:"isTertiaryButtonDisabled",isLoading:"isLoading",isLoadingTertiary:"isLoadingTertiary",buttonConfiguration:"buttonConfiguration"}
1,outputs:{secondaryButtonClick:"secondaryButtonClick",tertiaryButtonClick:"tertiaryButtonClick",primaryButtonClick:"primaryButtonClick"},ngContentSelectors:to,decls:8,vars:6,consts:[[1,"drawer-footer"],[1,"drawer-footer__error"],[1,"drawer-footer__buttons"],[3,"size","style","type","state"],[1,"drawer-footer__container"],[3,"size","style","type","state","isLoading"],[1,"drawer-footer__primary-button",3,"width","size","style","state","isLoading"],[3,"buttonClick","size","type","state"],[3,"buttonClick","size","type","state","isLoading"],[1,"drawer-footer__primary-button",3,"buttonClick","width","size","state","isLoading"]],template:function(pe,ge){1&pe&&(p.NAR(),p.j41(0,"div",0),p.SdG(1),p.nVh(2,Bs,2,1,"div",1),p.j41(3,"div",2),p.nVh(4,Es,2,6,"lib-button",3),p.j41(5,"div",4),p.nVh(6,Us,2,7,"lib-button",5),p.nVh(7,zo,2,7,"lib-button",6),p.k0s()()()),2&pe&&(p.AVh("drawer-footer--with-single",ge.buttonConfiguration===ge.drawerButtonConfiguration.Single),p.R7$(2),p.vxM(ge.errorMessage?2:-1),p.R7$(2),p.vxM(ge.secondaryButtonLabel&&ge.buttonConfiguration===ge.drawerButtonConfiguration.Multi?4:-1),p.R7$(2),p.vxM(ge.tertiaryButtonLabel?6:-1),p.R7$(),p.vxM(ge.primaryButtonLabel?7:-1))},dependencies:[oc],styles:[".drawer-footer[_ngcontent-%COMP%]{padding:var(--space-200);width:100%}.drawer-footer--with-single[_ngcontent-%COMP%]   .drawer-footer__container[_ngcontent-%COMP%]{width:100%}.drawer-footer--with-single[_ngcontent-%COMP%]   .drawer-footer__primary-button[_ngcontent-%COMP%]{flex:1}.drawer-footer__buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.drawer-footer__error[_ngcontent-%COMP%]{display:block!important;color:var(--colour-text-negative-default);margin-bottom:var(--space-100);font-family:var(--typography-body-small-font-family);font-weight:var(--typography-body-small-font-weight);line-height:var(--typography-body-small-line-height);font-size:var(--typography-body-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 2){.drawer-footer__error[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.drawer-footer__container[_ngcontent-%COMP%]{display:flex;gap:var(--space-100);margin-left:auto}@media (min-width: 904px){.drawer-footer[_ngcontent-%COMP%]{padding:var(--space-200) var(--space-250)}}@media (max-width: 599px){.drawer-footer[_ngcontent-%COMP%]{padding:var(--space-200)}}"],changeDetection:0})}}return P})();var bc=function(P){return P.Small="small",P}(bc||{}),dd=function(P){return P.Negative="negative",P.OnImage="on-image",P}(dd||{});let ou=(()=>{class P{set size(I){this.iconButtonSize=I,this.badgeSize=this.getBadgeSize(I)}constructor(I,pe){this.matIconRegistry=I,this.domSanitizer=pe,this.attrTabIndex=null,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.type=Cl.Primary,this.state=Ii.Default,this.style=El.Solid,this.borderRounded=!1,this.isLoading=!1,this.icon="plus",this.id=null,this.tabIndex=-1,this.flatLeftBorder=!1,this.flatRightBorder=!1,this.hasBadge=!1,this.ariaLabel="",this.ariaLabelledBy=null,this.buttonClick=new p.bkB,this.buttonIconState=Ii,this.badgeType=Zo.Dot,this.badgeColor=el.Primary,this.badgeSize=Eo.Regular,this.iconButtonSize=Eo.Regular,this.matIconRegistry.addSvgIconLiteral(_i.NJ1.name,this.domSanitizer.bypassSecurityTrustHtml(_i.NJ1.data))}onButtonClick(I){this.buttonClick.emit(I)}getBadgeSize(I){return{[bc.Small]:Yl.Small,[Eo.Regular]:Eo.Regular,[Eo.Large]:Eo.Regular}[I]||Eo.Regular}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-icon-button"]],contentQueries:function(pe,ge,Jt){if(1&pe&&p.wni(Jt,kc,5),2&pe){let sr;p.mGM(sr=p.lsd())&&(ge.leadingIcon=sr.first)}},hostVars:3,hostBindings:function(pe,ge){2&pe&&p.BMQ("tabindex",ge.attrTabIndex)("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{type:"type",size:"size",state:"state",style:"style",borderRounded:"borderRounded",isLoading:"isLoading",icon:"icon",id:"id",tabIndex:"tabIndex",flatLeftBorder:"flatLeftBorder",flatRightBorder:"flatRightBorder",hasBadge:"hasBadge",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{buttonClick:"buttonClick"},ngContentSelectors:Ns,decls:3,vars:20,consts:[[3,"click","ngClass","disabled"],[1,"icon-button__badge",3,"type","size","color","hasBorder"],["icon","loading",1,"icon-button__dots-wrapper",3,"isSVG"]],template:function(pe,ge){1&pe&&(p.NAR(rl),p.j41(0,"button",0),p.bIt("click",function(sr){return ge.onButtonClick(sr)}),p.nVh(1,Pa,1,4,"lib-badge",1),p.nVh(2,Ts,2,1),p.k0s()),2&pe&&(p.HbH(p.OIn("\n    icon-button\n    icon-button--",ge.style,"--",ge.type,"\n    icon-button--",ge.style,"--",ge.type,"--",ge.state,"\n    icon-button--",ge.iconButtonSize,"\n  ")),p.Y8G("ngClass",p.sMw(16,Ta,ge.flatLeftBorder,ge.flatRightBorder,ge.borderRounded))("disabled",ge.isLoading||ge.state===ge.buttonIconState.Disabled),p.BMQ("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledBy)("id",ge.id)("tabindex",ge.tabIndex),p.R7$(),p.vxM(ge.hasBadge?1:-1),p.R7$(),p.vxM(ge.leadingIcon?2:-1))},dependencies:[dl,cr.YU,wl],styles:['[_nghost-%COMP%]{display:inline-block}.icon-button[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--border-radius-full);cursor:pointer;transition:color .3s ease,background-color .3s ease,outline-color .3s ease}.icon-button__dots-wrapper[_ngcontent-%COMP%]{display:flex}.icon-button--flat-left-border[_ngcontent-%COMP%]{border-top-left-radius:var(--border-radius-0);border-bottom-left-radius:var(--border-radius-0)}.icon-button--flat-right-border[_ngcontent-%COMP%]{border-top-right-radius:var(--border-radius-0);border-bottom-right-radius:var(--border-radius-0)}.icon-button--border-rounded[_ngcontent-%COMP%]{border-radius:var(--border-radius-100)}.icon-button__badge[_ngcontent-%COMP%]{position:absolute;z-index:1}.icon-button--small[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%]{top:3px;right:3px}
1.icon-button--regular[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--large[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%]{top:4px;right:4px}.icon-button--ghost--primary.icon-button--small[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--secondary.icon-button--small[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--negative.icon-button--small[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--on-image.icon-button--small[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%]{top:9px;right:9px}.icon-button--ghost--primary.icon-button--regular[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--secondary.icon-button--regular[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--negative.icon-button--regular[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--on-image.icon-button--regular[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%]{top:11px;right:11px}.icon-button--ghost--primary.icon-button--large[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--secondary.icon-button--large[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--negative.icon-button--large[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%], .icon-button--ghost--on-image.icon-button--large[_ngcontent-%COMP%]   .icon-button__badge[_ngcontent-%COMP%]{top:15px;right:15px}.icon-button[_ngcontent-%COMP%]:active, .icon-button[_ngcontent-%COMP%]:hover, .icon-button[_ngcontent-%COMP%]:focus, .icon-button[_ngcontent-%COMP%]:focus:active{box-shadow:none}.icon-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.icon-button[_ngcontent-%COMP%]:focus-visible:after{position:absolute;content:"";top:var(--space-negative-050);left:var(--space-negative-050);border-radius:30px;width:calc(100% + var(--space-100));height:calc(100% + var(--space-100));background-color:transparent;border-width:var(--border-width-thin);border-style:solid}.icon-button--flat-left-border[_ngcontent-%COMP%]:focus-visible:after{border-top-left-radius:var(--border-radius-0);border-bottom-left-radius:var(--border-radius-0)}.icon-button--flat-right-border[_ngcontent-%COMP%]:focus-visible:after{border-top-right-radius:var(--border-radius-0);border-bottom-right-radius:var(--border-radius-0)}.icon-button--small[_ngcontent-%COMP%]{width:var(--size-400);height:var(--size-400)}.icon-button--small[_ngcontent-%COMP%]     .mat-icon{width:var(--size-200);height:var(--size-200);font-size:var(--typography-body-regular-font-size)}.icon-button--regular[_ngcontent-%COMP%]{width:var(--size-500);height:var(--size-500)}.icon-button--regular[_ngcontent-%COMP%]     .mat-icon{width:var(--size-250);height:var(--size-250);font-size:var(--typography-body-large-font-size)}.icon-button--large[_ngcontent-%COMP%]{width:var(--size-600);height:var(--size-600)}.icon-button--large[_ngcontent-%COMP%]     .mat-icon{width:var(--size-300);height:var(--size-300);font-size:var(--typography-title-small-font-size)}',".icon-button[_ngcontent-%COMP%]:after{border-color:var(--colour-border-accent-focus)}.icon-button--solid--primary[_ngcontent-%COMP%]{color:var(--colour-icon-on-accent);background-color:var(--colour-surface-accent-default)}.icon-button--solid--primary--hover[_ngcontent-%COMP%], .icon-button--solid--primary[_ngcontent-%COMP%]:hover{background-color:var(--colour-surface-accent-hover)}.icon-button--solid--primary--pressed[_ngcontent-%COMP%], .icon-button--solid--primary[_ngcontent-%COMP%]:active{background-color:var(--colour-surface-accent-pressed)}.icon-button--solid--primary[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-accent-disabled);background-color:var(--colour-surface-accent-disabled)}.icon-button--solid--secondary[_ngcontent-%COMP%]{color:var(--colour-icon-neutral-default);background-color:var(--colour-surface-neutral-default)}.icon-button--solid--secondary--hover[_ngcontent-%COMP%], .icon-button--solid--secondary[_ngcontent-%COMP%]:hover{color:var(--colour-icon-neutral-hover);background-color:var(--colour-surface-neutral-hover)}.icon-button--solid--secondary--pressed[_ngcontent-%COMP%], .icon-button--solid--secondary[_ngcontent-%COMP%]:active{color:var(--colour-icon-neutral-pressed);background-color:var(--colour-surface-neutral-pressed)}.icon-button--solid--secondary[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);background-color:var(--colour-surface-neutral-disabled)}.icon-button--solid--negative[_ngcontent-%COMP%]{color:var(--colour-icon-on-accent);background-color:var(--colour-surface-negative-default)}.icon-button--solid--negative[_ngcontent-%COMP%]:after{border-color:var(--colour-border-negative-default)}.icon-button--solid--negative--hover[_ngcontent-%COMP%], .icon-button--solid--negative[_ngcontent-%COMP%]:hover{background-color:var(--colour-surface-negative-hover)}.icon-button--solid--negative--pressed[_ngcontent-%COMP%], .icon-button--solid--negative[_ngcontent-%COMP%]:active{background-color:var(--colour-surface-negative-pressed)}.icon-button--solid--negative[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-negative-disabled);background-color:var(--colour-surface-negative-disabled)}.icon-button--solid--on-image[_ngcontent-%COMP%]{color:var(--colour-icon-neutral-default);background-color:var(--colour-surface-on-image-default);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.icon-button--solid--on-image--hover[_ngcontent-%COMP%], .icon-button--solid--on-image[_ngcontent-%COMP%]:hover{background-color:var(--colour-surface-on-image-hover)}.icon-button--solid--on-image--pressed[_ngcontent-%COMP%], .icon-button--solid--on-image[_ngcontent-%COMP%]:active{background-color:var(--colour-surface-on-image-pressed)}.icon-button--solid--on-image[_ngcontent-%COMP%]:focus-visible{background-color:var(--colour-surface-on-image-default);outline:var(--border-width-thin) solid var(--colour-border-accent-focus)}.icon-button--solid--on-image[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);background-color:var(--colour-surface-on-image-disabled)}.icon-button--outline[_ngcontent-%COMP%]{background-color:transparent}.icon-button--outline--primary[_ngcontent-%COMP%]{color:var(--button-colour-content-primary-outline-default);outline:var(--border-width-thin) solid var(--button-colour-border-primary-outline-default);outline-offset:-2px}.icon-button--outline--primary--hover[_ngcontent-%COMP%], .icon-button--outline--primary[_ngcontent-%COMP%]:hover{color:var(--button-colour-content-primary-outline-hover);outline-color:var(--button-colour-border-primary-outline-hover);background-color:var(--button-colour-surface-primary-outline-hover)}
1.icon-button--outline--primary--pressed[_ngcontent-%COMP%], .icon-button--outline--primary[_ngcontent-%COMP%]:active{color:var(--button-colour-content-primary-outline-pressed);outline-color:var(--button-colour-border-primary-outline-pressed);background-color:var(--button-colour-surface-primary-outline-pressed)}.icon-button--outline--primary[_ngcontent-%COMP%]:disabled{color:var(--button-colour-content-primary-outline-disabled);outline-color:var(--button-colour-border-primary-outline-disabled);background-color:transparent}.icon-button--outline--secondary[_ngcontent-%COMP%]{color:var(--colour-icon-neutral-default);outline:var(--border-width-thin) solid var(--colour-border-neutral-default);outline-offset:-2px}.icon-button--outline--secondary--hover[_ngcontent-%COMP%], .icon-button--outline--secondary[_ngcontent-%COMP%]:hover{color:var(--colour-icon-neutral-hover);outline-color:var(--colour-border-neutral-hover);background-color:var(--colour-surface-neutral-subtlest-hover)}.icon-button--outline--secondary--pressed[_ngcontent-%COMP%], .icon-button--outline--secondary[_ngcontent-%COMP%]:active{color:var(--colour-icon-neutral-pressed);outline-color:var(--colour-border-neutral-pressed);background-color:var(--colour-surface-neutral-subtlest-pressed)}.icon-button--outline--secondary[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);outline-color:var(--colour-border-neutral-disabled);background-color:transparent}.icon-button--outline--negative[_ngcontent-%COMP%]{color:var(--colour-icon-negative-default);outline:var(--border-width-thin) solid var(--colour-border-negative-default);outline-offset:-2px}.icon-button--outline--negative[_ngcontent-%COMP%]:after{border-color:var(--colour-border-negative-default)}.icon-button--outline--negative--hover[_ngcontent-%COMP%], .icon-button--outline--negative[_ngcontent-%COMP%]:hover{color:var(--colour-icon-negative-hover);outline-color:var(--colour-border-negative-hover);background-color:var(--colour-surface-negative-subtle-hover)}.icon-button--outline--negative--pressed[_ngcontent-%COMP%], .icon-button--outline--negative[_ngcontent-%COMP%]:active{color:var(--colour-icon-negative-pressed);outline-color:var(--colour-border-negative-pressed);background-color:var(--colour-surface-negative-subtle-pressed)}.icon-button--outline--negative[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-negative-disabled);outline-color:var(--colour-border-negative-disabled);background-color:transparent}.icon-button--outline--on-image[_ngcontent-%COMP%]{color:var(--colour-icon-on-image-default);outline:var(--border-width-hairline) solid var(--colour-border-on-image);outline-offset:-1px}.icon-button--outline--on-image--hover[_ngcontent-%COMP%], .icon-button--outline--on-image[_ngcontent-%COMP%]:hover{color:var(--colour-icon-neutral-hover);background-color:var(--colour-surface-on-image-hover);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.icon-button--outline--on-image--pressed[_ngcontent-%COMP%], .icon-button--outline--on-image[_ngcontent-%COMP%]:active{color:var(--colour-icon-neutral-pressed);background-color:var(--colour-surface-on-image-pressed);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.icon-button--outline--on-image[_ngcontent-%COMP%]:focus-visible{background-color:var(--colour-surface-on-image-pressed);outline-color:var(--colour-border-accent-focus)}.icon-button--outline--on-image[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);background-color:transparent}.icon-button--ghost[_ngcontent-%COMP%]{background-color:transparent}.icon-button--ghost--primary[_ngcontent-%COMP%]{color:var(--button-colour-content-primary-ghost-default)}.icon-button--ghost--primary--hover[_ngcontent-%COMP%], .icon-button--ghost--primary[_ngcontent-%COMP%]:hover{color:var(--button-colour-content-primary-ghost-hover);background-color:var(--button-colour-surface-primary-ghost-hover)}.icon-button--ghost--primary--pressed[_ngcontent-%COMP%], .icon-button--ghost--primary[_ngcontent-%COMP%]:active{color:var(--button-colour-content-primary-ghost-pressed);background-color:var(--button-colour-surface-primary-ghost-pressed)}.icon-button--ghost--primary[_ngcontent-%COMP%]:disabled{color:var(--button-colour-content-primary-ghost-disabled);background-color:transparent}.icon-button--ghost--secondary[_ngcontent-%COMP%]{color:var(--colour-icon-neutral-default)}.icon-button--ghost--secondary--hover[_ngcontent-%COMP%], .icon-button--ghost--secondary[_ngcontent-%COMP%]:hover{color:var(--colour-icon-neutral-hover);background-color:var(--colour-surface-neutral-subtlest-hover)}.icon-button--ghost--secondary--pressed[_ngcontent-%COMP%], .icon-button--ghost--secondary[_ngcontent-%COMP%]:active{color:var(--colour-icon-neutral-pressed);background-color:var(--colour-surface-neutral-subtlest-pressed)}.icon-button--ghost--secondary[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);background-color:transparent}.icon-button--ghost--negative[_ngcontent-%COMP%]{color:var(--colour-icon-negative-default)}.icon-button--ghost--negative[_ngcontent-%COMP%]:after{border-color:var(--colour-border-negative-default)}.icon-button--ghost--negative--hover[_ngcontent-%COMP%], .icon-button--ghost--negative[_ngcontent-%COMP%]:hover{color:var(--colour-icon-negative-hover);background-color:var(--colour-surface-negative-subtle-hover)}.icon-button--ghost--negative--pressed[_ngcontent-%COMP%], .icon-button--ghost--negative[_ngcontent-%COMP%]:active{color:var(--colour-icon-negative-pressed);background-color:var(--colour-surface-negative-subtle-pressed)}.icon-button--ghost--negative[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-negative-disabled);background-color:transparent}.icon-button--ghost--on-image[_ngcontent-%COMP%]{color:var(--colour-icon-on-image-default)}.icon-button--ghost--on-image--hover[_ngcontent-%COMP%], .icon-button--ghost--on-image[_ngcontent-%COMP%]:hover{color:var(--colour-icon-neutral-hover);background-color:var(--colour-surface-on-image-hover);outline:var(--border-width-hairline) solid var(--colour-border-on-image);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.icon-button--ghost--on-image--pressed[_ngcontent-%COMP%], .icon-button--ghost--on-image[_ngcontent-%COMP%]:active{color:var(--colour-icon-neutral-pressed);background-color:var(--colour-surface-on-image-pressed);outline:var(--border-width-hairline) solid var(--colour-border-on-image);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}.icon-button--ghost--on-image[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-hairline) solid var(--colour-border-accent-focus)}.icon-button--ghost--on-image[_ngcontent-%COMP%]:disabled{color:var(--colour-icon-neutral-disabled);background-color:transparent}"],changeDetection:0})}}return P})(),Mp=(()=>{class P{handleEscKey(I){this.closeDrawer.emit()}constructor(I,pe){this.matIconRegistry=I,this.domSanitizer=pe,this.badgeType=Zo.Number,this.badgeSize=Eo.Regular,this.badgeColor=el.Secondary,this.buttonStyle=El.Ghost,this.secondaryType=Cl.Secondary,this.drawerIconsSet=[_i.NCh,_i.TaQ],this.headerText="",this.description="",this.showLeftIcon=!1,this.hasBadge=!1,this.closeDrawer=new p.bkB,this.goBack=new p.bkB,this.drawerIconsSet.forEach(ge=>{this.matIconRegistry.addSvgIconLiteral(ge.name,this.domSanitizer.bypassSecurityTrustHtml(ge.data))})}onCloseClick(){this.closeDrawer.emit()}onGoBackClick(){this.goBack.emit()}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-drawer-header"]],hostBindings:function(pe,ge){1&pe&&p.bIt("keydown.escape",function(sr){return ge.handleEscKey(sr)},p.EBC)},inputs:{headerText:"headerText",description:"description",showLeftIcon:"showLeftIcon",hasBadge:"hasBadge",alignType:"alignType",badgeCount:"badgeCount"},outputs:{closeDrawer:"closeDrawer",goBack:"goBack"},decls:12,vars:12,consts:[["leftIcon",""],["rightIcon",""],[1,"drawer-header"],[1,"drawer-header__title"],[3,"type","count","size","color"],[1,"drawer-header__description"],[4,"ngTemplateOutlet"],["ariaLabel","iconButton","id","backIconButton","ariaLabelledBy","backIconButton",1,"drawer-header__back-button",3,"buttonClick","type","borderRounded"],["libIconContent","","icon","chevron_left",1,"drawer-header__icon-button",3,"isSVG"],["ariaLabel","iconButton","id","closeIconButton","ariaLabelledBy","closeIconButton",1,"drawer-header__close-button",3,"buttonClick","type","borderRounded"],["libIconContent","","icon","close",1,"drawer-header__icon-button",3,"isSVG"]],template:function(pe,ge){if(1&pe&&(p.j41(0,"div",2),p.nVh(1,ro,1,1,"ng-container"),p.j41(2,"div")(3,"div",3),p.EFF(4),p.nVh(5,ts,1,4,"lib-badge",4),p.k0s(),p.nVh(6,$o,2,1,"div",5),p.k0s(),p.DNE(7,_o,1,0,"ng-container",6),p.k0s(),p.DNE(8,la,2,5,"ng-template",null,0,p.C5r)(10,Ps,2,5,"ng-template",null,1,p.C5r)),2&pe){const Jt=p.sdS(11);
1p.AVh("drawer-header--minimal",!!ge.description),p.R7$(),p.vxM(ge.showLeftIcon?1:-1),p.R7$(),p.HbH(p.VkB("drawer-header__text drawer-header__text--align-",ge.alignType)),p.AVh("drawer-header__text--back-button-visible",ge.showLeftIcon),p.R7$(2),p.SpI(" ",ge.headerText," "),p.R7$(),p.vxM(ge.hasBadge&&ge.badgeCount?5:-1),p.R7$(),p.vxM(ge.description?6:-1),p.R7$(),p.Y8G("ngTemplateOutlet",Jt)}},dependencies:[dl,wl,cr.T3,ou,kc],styles:['.drawer-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;position:relative;padding:var(--space-150) var(--space-200);color:var(--colour-text-primary)}.drawer-header--minimal[_ngcontent-%COMP%]   .drawer-header__text[_ngcontent-%COMP%]{flex-direction:column}.drawer-header__text[_ngcontent-%COMP%]{font-family:var(--typography-title-xx-small-font-family);font-weight:var(--typography-title-xx-small-font-weight);line-height:var(--typography-title-xx-small-line-height);font-size:var(--typography-title-xx-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;align-items:center;max-width:calc(100% - var(--space-250) - var(--space-100))}.drawer-header__text--back-button-visible[_ngcontent-%COMP%]{max-width:calc(100% - (var(--space-800) - var(--space-050)));margin-left:var(--space-400)}.drawer-header__text--align-center[_ngcontent-%COMP%]{max-width:calc(100% - (var(--space-800) + var(--space-050)));margin:0 auto;text-align:center}.drawer-header__title[_ngcontent-%COMP%]{width:100%;font-family:var(--typography-label-bold-x-large-font-family);font-weight:var(--typography-label-bold-x-large-font-weight);line-height:var(--typography-label-bold-x-large-line-height);font-size:var(--typography-label-bold-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 1){.drawer-header__title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:1;-webkit-box-orient:vertical}}.drawer-header__description[_ngcontent-%COMP%]{font-family:var(--typography-body-small-font-family);font-weight:var(--typography-body-small-font-weight);line-height:var(--typography-body-small-line-height);font-size:var(--typography-body-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);color:var(--colour-text-secondary)}.drawer-header__icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;height:var(--size-250);width:var(--size-250);cursor:pointer}.drawer-header__icon-button[_ngcontent-%COMP%]:before{content:"";position:absolute;transform:translate(-30%);cursor:pointer}.drawer-header__back-button[_ngcontent-%COMP%], .drawer-header__close-button[_ngcontent-%COMP%]{position:absolute;top:var(--space-050)}.drawer-header__back-button[_ngcontent-%COMP%]{left:var(--space-050)}.drawer-header__close-button[_ngcontent-%COMP%]{right:var(--space-050)}@media (min-width: 904px){.drawer-header[_ngcontent-%COMP%]{padding:var(--space-200) var(--space-250)}
1.drawer-header__back-button[_ngcontent-%COMP%], .drawer-header__close-button[_ngcontent-%COMP%]{top:var(--space-100)}.drawer-header__back-button[_ngcontent-%COMP%]{left:var(--space-100)}.drawer-header__close-button[_ngcontent-%COMP%]{right:var(--space-100)}}'],changeDetection:0})}}return P})(),ef=(()=>{class P{constructor(){this.type=Cl.Secondary,this.orientation=qc.Horizontal,this.orientationEnum=qc}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-divider"]],inputs:{type:"type",orientation:"orientation"},decls:2,vars:5,consts:[[3,"vertical"]],template:function(pe,ge){1&pe&&(p.j41(0,"div"),p.nrm(1,"mat-divider",0),p.k0s()),2&pe&&(p.HbH(p.ai1("divider divider--",ge.orientation," divider--",ge.type)),p.R7$(),p.Y8G("vertical",ge.orientation===ge.orientationEnum.Vertical))},dependencies:[Yt.w,Yt.q],styles:["[_nghost-%COMP%]   .divider[_ngcontent-%COMP%]{height:1px;width:100%}[_nghost-%COMP%]   .divider--secondary[_ngcontent-%COMP%]   .mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:var(--colour-border-tertiary)}[_nghost-%COMP%]   .divider--secondary[_ngcontent-%COMP%]   .mat-divider-horizontal[_ngcontent-%COMP%]{border-top-color:var(--colour-border-tertiary)}[_nghost-%COMP%]   .divider--primary[_ngcontent-%COMP%]   .mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:var(--colour-border-primary)}[_nghost-%COMP%]   .divider--primary[_ngcontent-%COMP%]   .mat-divider-horizontal[_ngcontent-%COMP%]{border-top-color:var(--colour-border-primary)}[_nghost-%COMP%]   .divider--on-image[_ngcontent-%COMP%]   .mat-divider-vertical[_ngcontent-%COMP%]{border-right-color:var(--colour-border-on-image)}[_nghost-%COMP%]   .divider--on-image[_ngcontent-%COMP%]   .mat-divider-horizontal[_ngcontent-%COMP%]{border-top-color:var(--colour-border-on-image)}[_nghost-%COMP%]   .divider--vertical[_ngcontent-%COMP%]{height:100%;width:1px}[_nghost-%COMP%]   .divider--vertical[_ngcontent-%COMP%]   .mat-divider[_ngcontent-%COMP%]{height:100%}"],changeDetection:0})}}return P})(),sh=(()=>{class P{static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-drawer-container"]],inputs:{customDrawerBodyClass:"customDrawerBodyClass"},ngContentSelectors:ol,decls:7,vars:3,consts:[[1,"drawer-container"]],template:function(pe,ge){1&pe&&(p.NAR(ki),p.j41(0,"div",0),p.SdG(1),p.nrm(2,"lib-divider"),p.j41(3,"div"),p.SdG(4,1),p.k0s(),p.nrm(5,"lib-divider"),p.SdG(6,2),p.k0s()),2&pe&&(p.R7$(3),p.HbH(p.VkB("drawer-container__body ",ge.customDrawerBodyClass)))},dependencies:[ef],styles:[".mat-mdc-dialog-container .mdc-dialog__surface:has(.drawer-container){border:var(--border-width-hairline) solid var(--colour-border-tertiary)}  .mat-mdc-dialog-container .mdc-dialog__surface{--mat-dialog-container-shape: var(--border-radius-150)}.drawer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:var(--colour-surface-base);overflow-x:auto;height:100%;max-height:100vh}.drawer-container__body[_ngcontent-%COMP%]{position:relative;overflow:auto;padding:var(--space-200);height:100%;color:var(--colour-text-primary);margin-bottom:auto;font-family:var(--typography-body-regular-font-family);font-weight:var(--typography-body-regular-font-weight);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.drawer-container[_ngcontent-%COMP%]   .no-padding[_ngcontent-%COMP%]{padding:var(--space-0)}.drawer-container[_ngcontent-%COMP%]   .overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}@media (min-width: 904px){.drawer-container__body[_ngcontent-%COMP%]{padding:var(--space-250)}}@media (max-width: 599px){  .mat-mdc-dialog-container .mdc-dialog__surface{--mat-dialog-container-shape: 0}  .cdk-global-overlay-wrapper .cdk-overlay-pane{width:100vw!important;max-width:100vw!important}.drawer-container[_ngcontent-%COMP%]{height:100svh!important;max-height:100%!important}.drawer-container__body[_ngcontent-%COMP%]{padding:var(--space-200)}}"],changeDetection:0})}}return P})(),zl=(()=>{class P extends ul{constructor(){super(...arguments),this.isDrawerOpened$=new sn.t(!1),this.appRef=(0,He.WQX)(p.o8S),this.environmentInjector=(0,He.WQX)(
1He.uvJ)}closeDrawer(){this.drawerRef&&this.drawerRef.instance.close()}open(I,pe){return this.close(),this.drawerRef=(0,Ve.a0P)(oh,{environmentInjector:this.environmentInjector}),pe&&Object.assign(this.drawerRef.instance.config,pe),document.body.appendChild(this.drawerRef.location.nativeElement),this.appRef.attachView(this.drawerRef.hostView),this.isDrawerOpened$.next(!0),this.drawerRef.instance.close$.pipe((0,Vn.Q)(this.destroySubject$)).subscribe(()=>{this.isDrawerOpened$.next(!1),this.close()}),{componentInstance:new Promise(Jt=>{setTimeout(()=>{const sr=this.drawerRef.instance.loadComponent(I,pe?.data);Jt(sr)},0)}),close:Jt=>this.drawerRef?.instance.close(),afterClosed:()=>this.drawerRef?.instance.close$||(new Ht.B).asObservable(),afterOpened:()=>this.drawerRef?.instance.afterOpenedSubject.asObservable()||(new Ht.B).asObservable()}}close(){this.drawerRef&&(this.appRef.detachView(this.drawerRef.hostView),this.drawerRef.destroy(),this.drawerRef=void 0)}ngOnDestroy(){super.ngOnDestroy(),this.close()}static{this.\u0275fac=(()=>{let I;return function(ge){return(I||(I=p.xGo(P)))(ge||P)}})()}static{this.\u0275prov=He.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),Mm=(()=>{class P{constructor(){this.type=null,this.svgIconName="agenda",this.customHeading=null,this.customDescription=null}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-empty-list"]],inputs:{type:"type",svgIconName:"svgIconName",customHeading:"customHeading",customDescription:"customDescription"},decls:15,vars:3,consts:[["typeHeadingTemplate",""],["customHeadingTemplate",""],["typeDescriptionTemplate",""],["customDescriptionTemplate",""],[1,"list-no-items"],[1,"list-no-items__content"],[1,"list-no-items__content__image",3,"svgIcon"],[1,"list-no-items__content__heading"],[4,"ngTemplateOutlet"],[1,"list-no-items__content__paragraph"]],template:function(pe,ge){if(1&pe&&(p.j41(0,"div",4)(1,"div",5),p.nrm(2,"mat-icon",6),p.j41(3,"h3",7),p.DNE(4,je,1,0,"ng-container",8),p.k0s(),p.j41(5,"p",9),p.DNE(6,xe,1,0,"ng-container",8),p.k0s()()(),p.DNE(7,st,1,1,"ng-template",null,0,p.C5r)(9,Qt,1,1,"ng-template",null,1,p.C5r)(11,Mr,2,3,"ng-template",null,2,p.C5r)(13,Or,1,1,"ng-template",null,3,p.C5r)),2&pe){const Jt=p.sdS(8),sr=p.sdS(10),Mi=p.sdS(12),Rs=p.sdS(14);p.R7$(2),p.Y8G("svgIcon",ge.svgIconName),p.R7$(2),p.Y8G("ngTemplateOutlet",ge.type?Jt:sr),p.R7$(2),p.Y8G("ngTemplateOutlet",ge.type?Mi:Rs)}},dependencies:[Yr.m_,Yr.An,cr.T3,cr.GH],styles:[".list-no-items[_ngcontent-%COMP%]{height:250px;position:relative;margin-top:24px}.list-no-items__content[_ngcontent-%COMP%]{position:absolute;left:50%;bottom:28px;transform:translate(-50%)}.list-no-items__content__image[_ngcontent-%COMP%]{display:block;margin:0 auto 24px}.list-no-items__content__heading[_ngcontent-%COMP%]{text-align:center;font-size:20px;line-height:32px}.list-no-items__content__paragraph[_ngcontent-%COMP%]{text-align:center}"]})}}return P})(),au=(()=>{class P{static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-event-page-card-header"]],inputs:{events:"events"},decls:2,vars:1,consts:[[1,"events-header"],["alt","",3,"error","src"]],template:function(pe,ge){1&pe&&(p.rj2(0,"div",0)(1,"img",1),p.VwU("error",function(){return ge.events.photoUrl="/assets/images/session_default.jpg"}),p.eux()()),2&pe&&(p.R7$(),p.Avn("src",null==ge.events?null:ge.events.photoUrl,p.B4B))},styles:[".events-header[_ngcontent-%COMP%]{max-height:160px}img[_ngcontent-%COMP%]{width:100%;height:160px;object-fit:cover}"],changeDetection:0})}}return P})(),lu=(()=>{class P{get eventType(){return"Virtual"===this.events.format}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-event-page-card-body"]],inputs:{events:"events"},decls:12,vars:6,consts:[[1,"events-body"],[1,"event-title"],[1,"events-body__container"],[1,"events-body__time","body-small"],["svgIcon","calendar"],[1,"events-body__divider",3,"vertical"],["svgIcon","earth"],["svgIcon","location"]],template:function(pe,ge){1&pe&&(p.j41(0,"div",0)(1,"h6",1),p.EFF(2),p.k0s(),p.j41(3,"div",2)(4,"div",3),p.nrm(5,"mat-icon",4),p.j41(6,"span"),p.EFF(7),p.k0s(),p.nVh(8,wi,1,1,"mat-divider",5),p.nVh(9,As,1,0,"mat-icon",6),p.nVh(10,na,1,0,"mat-icon",7),p.nVh(11,Tl,2,1,"span"),p.k0s()()()),2&pe&&(p.R7$(2),p.JRh(null==ge.events?null:ge.events.title),p.R7$(5),p.SpI(" ",ge.events.fullDateTime," "),p.R7$(),p.vxM(null!=ge.events&&ge.events.format?8:-1),p.R7$(),p.vxM(ge.events.isVirtual?9:-1),p.R7$(),p.vxM(ge.events.isVirtual?-1:10),p.R7$(),p.vxM(ge.events.fullLocation?11:-1))},dependencies:[Yr.m_,Yr.An,Yt.w,Yt.q],styles:[".events-body[_ngcontent-%COMP%]{margin-top:16px}.events-body__container[_ngcontent-%COMP%]{display:flex}.events-body__time[_ngcontent-%COMP%]{display:flex;align-items:center;font-weight:600}.events-body__divider[_ngcontent-%COMP%]{height:16px;margin-left:8px;margin-right:8px;border-left:1px solid var(--content-color-neutral-1-09)}mat-icon[_ngcontent-%COMP%]{margin-right:8px;height:18px;width:18px}"],changeDetection:0})}}return P}
1)(),rf=(()=>{class P{constructor(){this.containerClass=!0}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-event-page-card"]],hostVars:2,hostBindings:function(pe,ge){2&pe&&p.AVh("initaas-widget",ge.containerClass)},inputs:{events:"events"},decls:3,vars:2,consts:[[1,"card"],[3,"events"]],template:function(pe,ge){1&pe&&(p.j41(0,"div",0),p.nrm(1,"lib-event-page-card-header",1)(2,"lib-event-page-card-body",1),p.k0s()),2&pe&&(p.R7$(),p.Y8G("events",ge.events),p.R7$(),p.Y8G("events",ge.events))},dependencies:[au,lu],styles:[".card[_ngcontent-%COMP%]{max-width:424px;width:100%}"],changeDetection:0})}}return P})();const Ip={UPCOMING:"upcoming",PAST:"past"};let cu=(()=>{class P{constructor(I,pe){this.http=I,this.sanitizer=pe,this.alt="",this.src$=new sn.t(""),this.id="imageElement",this.imageClass="",this.safe=!1,this.loadError=new p.bkB,this.dataUrl$=this.src$.pipe((0,$n.n)(ge=>this.loadImage(ge)))}defaultImageUrl(){this.src$.next((()=>{switch(this.entity){case"profiles":case"member":case"contact":case"user":return"/assets/images/picture-default.png";case"community":case"initiative":return"/assets/images/communities-default.png";case"organization":return"/assets/images/organization-default.png";default:return"/assets/images/default-banner.png"}})()),this.loadError.emit()}ngOnChanges(){this.src$.next(this.src)}loadImage(I){if(!this.safe)return(0,bt.of)(I);const pe=(new er.Lr).append("Accept","image/jpeg");return this.http.get(I,{headers:pe,responseType:"blob"}).pipe((0,Wn.T)(ge=>this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(ge))))}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(er.Qq),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-image"]],inputs:{src:"src",alt:"alt",entity:"entity",id:"id",imageClass:"imageClass",safe:"safe"},outputs:{loadError:"loadError"},features:[p.OA$],decls:2,vars:3,consts:[["imageOrientation","",3,"ngClass","src","alt","id"],["imageOrientation","",3,"error","ngClass","src","alt","id"]],template:function(pe,ge){if(1&pe&&(p.nVh(0,sl,1,4,"img",0),p.nI1(1,"async")),2&pe){let Jt;p.vxM((Jt=p.bMT(1,1,ge.dataUrl$))?0:-1,Jt)}},dependencies:[cr.YU,er.q1,cr.Jj],styles:[".Image-Element[_ngcontent-%COMP%]{display:block;width:100%;height:auto}.Image-Element.landscape[_ngcontent-%COMP%]{width:auto;height:100%}.Image-Element.portrait[_ngcontent-%COMP%]{width:100%;height:auto}.thumbnail-image[_ngcontent-%COMP%]{flex:0 0 auto;height:48px;width:48px;border-radius:50%;overflow:hidden;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#f5f5f5}.thumbnail-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto}"],changeDetection:0})}}return P})();var Mo=function(P){return P.Standard="standard",P.Confirmation="confirmation",P.Destructive="destructive",P.Minimal="minimal",P}(Mo||{});let Tp=(()=>{class P{constructor(){this.modalType=Mo,this.type=Mo.Standard,this.hasBorder=!0}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-modal-container"]],inputs:{modalHeight:"modalHeight",modalMaxHeight:"modalMaxHeight",type:"type",hasBorder:"hasBorder",customModalBodyClass:"customModalBodyClass"},ngContentSelectors:ua,decls:7,vars:13,consts:[[3,"ngStyle"],[1,"modal-container__divider-horizontal"]],template:function(pe,ge){1&pe&&(p.NAR(Ya),p.j41(0,"div",0),p.SdG(1),p.nVh(2,za,1,0,"div",1),p.j41(3,"div"),p.SdG(4,1),p.k0s(),p.nVh(5,Za,1,0,"div",1),p.SdG(6,2),p.k0s()),2&pe&&(p.HbH(p.VkB("modal-container modal-container-",ge.type)),p.Y8G("ngStyle",p.sMw(9,da,ge.modalMaxHeight?"100%":ge.modalHeight,ge.modalMaxHeight?ge.modalHeight:"auto",ge.modalMaxHeight||"100vh")),p.R7$(2),p.vxM(ge.hasBorder&&ge.type!==ge.modalType.Minimal?2:-1),p.R7$(),p.HbH(p.VkB("modal-container__body ",ge.customModalBodyClass)),p.R7$(2),p.vxM(ge.type===ge.modalType.Standard||ge.type===ge.modalType.Minimal&&ge.hasBorder?5:-1))},dependencies:[cr.B3],styles:[".mat-mdc-dialog-container .mdc-dialog__surface:has(.modal-container){border:var(--border-width-hairline) solid var(--colour-border-tertiary)}  .mat-mdc-dialog-container .mdc-dialog__surface:has(.modal-container-standard){--mat-dialog-container-shape: var(--border-radius-150)}  .mat-mdc-dialog-container .mdc-dialog__surface:has(.modal-container-confirmation){--mat-dialog-container-shape: var(--border-radius-150)}.modal-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:var(--colour-surface-base);overflow-x:auto;height:100%}.modal-container__body[_ngcontent-%COMP%]{position:relative;overflow:auto;padding:var(--space-200);height:100%;color:var(--colour-text-primary);margin-bottom:auto;font-family:var(--typography-body-regular-font-family);
1font-weight:var(--typography-body-regular-font-weight);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.modal-container[_ngcontent-%COMP%]   .no-padding[_ngcontent-%COMP%]{padding:var(--space-0)}.modal-container[_ngcontent-%COMP%]   .overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.modal-container__divider-horizontal[_ngcontent-%COMP%]{width:100%;height:1px;background-color:var(--colour-border-tertiary)}@media (min-width: 904px){.modal-container__body[_ngcontent-%COMP%]{padding:var(--space-250)}}@media (max-width: 599px){  .mat-mdc-dialog-container .mdc-dialog__surface:has(.modal-container-standard){--mat-dialog-container-shape: 0}  .mat-mdc-dialog-container .mdc-dialog__surface:has(.modal-container-confirmation){--mat-dialog-container-shape: var(--border-radius-150)}  .cdk-global-overlay-wrapper .cdk-overlay-pane:not(.modal-container-confirmation){width:100vw!important;max-width:100vw!important}.modal-container[_ngcontent-%COMP%]:not(.modal-container-confirmation){height:100svh!important;max-height:100%!important}.modal-container__body[_ngcontent-%COMP%]{padding:var(--space-200)}}"],changeDetection:0})}}return P})(),ah=(()=>{class P{constructor(){this.buttonStyle=El,this.buttonSize=Eo,this.buttonState=Ii,this.buttonType=Hl,this.isPrimaryButtonDisabled=!1,this.isNegativeButtonDisabled=!1,this.isSecondaryButtonDisabled=!1,this.isTertiaryButtonDisabled=!1,this.isLoading=!1,this.secondaryButtonClick=new p.bkB,this.tertiaryButtonClick=new p.bkB,this.primaryButtonClick=new p.bkB,this.negativeButtonClick=new p.bkB}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-modal-container-footer"]],inputs:{primaryButtonLabel:"primaryButtonLabel",negativeButtonLabel:"negativeButtonLabel",secondaryButtonLabel:"secondaryButtonLabel",tertiaryButtonLabel:"tertiaryButtonLabel",isPrimaryButtonDisabled:"isPrimaryButtonDisabled",isNegativeButtonDisabled:"isNegativeButtonDisabled",isSecondaryButtonDisabled:"isSecondaryButtonDisabled",isTertiaryButtonDisabled:"isTertiaryButtonDisabled",isLoading:"isLoading"},outputs:{secondaryButtonClick:"secondaryButtonClick",tertiaryButtonClick:"tertiaryButtonClick",primaryButtonClick:"primaryButtonClick",negativeButtonClick:"negativeButtonClick"},ngContentSelectors:to,decls:7,vars:4,consts:[[1,"modal-container-footer"],[3,"size","style","type","state"],[1,"modal-container-footer__container"],[3,"size","style","state","isLoading"],[3,"size","style","type","state","isLoading"],[3,"buttonClick","size","type","state"],[3,"buttonClick","size","state","isLoading"],[3,"buttonClick","size","type","state","isLoading"]],template:function(pe,ge){1&pe&&(p.NAR(),p.j41(0,"div",0),p.SdG(1),p.nVh(2,Rl,2,6,"lib-button",1),p.j41(3,"div",2),p.nVh(4,$a,2,6,"lib-button",1),p.nVh(5,Ra,2,6,"lib-button",3),p.nVh(6,Wa,2,7,"lib-button",4),p.k0s()()),2&pe&&(p.R7$(2),p.vxM(ge.secondaryButtonLabel?2:-1),p.R7$(2),p.vxM(ge.tertiaryButtonLabel?4:-1),p.R7$(),p.vxM(ge.primaryButtonLabel?5:-1),p.R7$(),p.vxM(ge.negativeButtonLabel?6:-1))},dependencies:[oc],styles:[".modal-container-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:var(--space-200);width:100%}.modal-container-footer__container[_ngcontent-%COMP%]{display:flex;gap:var(--space-100);margin-left:auto}@media (min-width: 904px){.modal-container-footer[_ngcontent-%COMP%]{padding:var(--space-200) var(--space-250)}}@media (max-width: 599px){.modal-container-footer[_ngcontent-%COMP%]{padding:var(--space-200)}}"],changeDetection:0})}}return P})(),uu=(()=>{class P{handleEscKey(I){this.closeModal.emit()}constructor(I,pe){this.matIconRegistry=I,this.domSanitizer=pe,this.modalIconsSet=[_i.NCh,_i.TaQ],this.badgeType=Zo.Number,this.badgeSize=Eo.Regular,this.badgeColor=el.Secondary,this.buttonStyle=El.Ghost,this.secondaryType=Cl.Secondary,this.headerText="",this.description="",this.showLeftIcon=!1,this.hasBadge=!1,this.closeModal=new p.bkB,this.goBack=new p.bkB,this.modalIconsSet.forEach(ge=>{this.matIconRegistry.addSvgIconLiteral(ge.name,this.domSanitizer.bypassSecurityTrustHtml(ge.data))})}onCloseClick(){this.closeModal.emit()}onGoBackClick(){this.goBack.emit()}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-modal-container-header"]],hostBindings:function(pe,ge){1&pe&&p.bIt("keydown.escape",function(sr){return ge.handleEscKey(sr)},p.EBC)},inputs:{headerText:"headerText",description:"description",showLeftIcon:"showLeftIcon",hasBadge:"hasBadge",alignType:"alignType",badgeCount:"badgeCount"},outputs:{closeModal:"closeModal",goBack:"goBack"},decls:12,vars:12,consts:[["leftIcon",""],["rightIcon",""],[1,"modal-container-header"],[1,"modal-container-header__title"],[3,"type","count","size","color"],[1,"modal-container-header__description"],[4,"ngTemplateOutlet"],["ariaLabel","iconButton","id","backIconButton","ariaLabelledBy","backIconButton",1,"modal-container-header__back-button",3,"buttonClick","type","borderRounded"],["libIconContent","","icon","chevron_left",1,"modal-container-header__icon-button",3,"isSVG"],["ariaLabel","iconButton","id","closeIconButton","ariaLabelledBy","closeIconButton",1,"modal-container-header__close-button",3,"buttonClick","type","borderRounded"],["libIconContent","","icon","close",1,"modal-container-header__icon-button",3,"isSVG"]],template:function(pe,ge){if(1&pe&&(p.j41(0,"div",2),p.nVh(1,kl,1,1,"ng-container"),p.j41(2,"div")(3,"div",3),p.EFF(4),p.nVh(5,ra,1,4,"lib-badge",4),p.k0s(),p.nVh(6,ka,2,1,"div",5),p.k0s(),p.DNE(7,fa,1,0,"ng-container",6),p.k0s(),p.DNE(8,Qa,2,5,"ng-template",null,0,p.C5r)(10,Ja,2,5,"ng-template",null,1,p.C5r)),2&pe){const Jt=p.sdS(11);p.AVh("modal-container-header--minimal",!!ge.description),p.R7$(),p.vxM(ge.showLeftIcon?1:-1),p.R7$(),p.HbH(p.VkB("modal-container-header__text modal-container-header__text--align-",ge.alignType)),p.AVh("modal-container-header__text--back-button-visible",ge.showLeftIcon),p.R7$(2),p.SpI(" ",ge.headerText," "),p.R7$(),p.vxM(ge.hasBadge&&ge.badgeCount?5:-1),p.R7$(),p.vxM(ge.description?6:-1),p.R7$(),p.Y8G("ngTemplateOutlet",Jt)}},dependencies:[dl,wl,cr.T3,ou,kc],styles:['.modal-container-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;position:relative;padding:var(--space-150) var(--space-200);color:var(--colour-text-primary)}
1.modal-container-header--minimal[_ngcontent-%COMP%]   .modal-container-header__text[_ngcontent-%COMP%]{flex-direction:column}.modal-container-header__text[_ngcontent-%COMP%]{font-family:var(--typography-title-xx-small-font-family);font-weight:var(--typography-title-xx-small-font-weight);line-height:var(--typography-title-xx-small-line-height);font-size:var(--typography-title-xx-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;align-items:center;max-width:calc(100% - var(--space-250) - var(--space-100))}.modal-container-header__text--back-button-visible[_ngcontent-%COMP%]{max-width:calc(100% - (var(--space-800) - var(--space-050)));margin-left:var(--space-400)}.modal-container-header__text--align-center[_ngcontent-%COMP%]{max-width:calc(100% - (var(--space-800) + var(--space-050)));margin:0 auto;text-align:center}.modal-container-header__title[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-x-large-font-family);font-weight:var(--typography-label-bold-x-large-font-weight);line-height:var(--typography-label-bold-x-large-line-height);font-size:var(--typography-label-bold-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);width:100%}.modal-container-header__description[_ngcontent-%COMP%]{font-family:var(--typography-body-small-font-family);font-weight:var(--typography-body-small-font-weight);line-height:var(--typography-body-small-line-height);font-size:var(--typography-body-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);color:var(--colour-text-secondary)}.modal-container-header__icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;height:var(--size-250);width:var(--size-250);margin-top:2px;cursor:pointer}.modal-container-header__icon-button[_ngcontent-%COMP%]:before{content:"";position:absolute;transform:translate(-30%);cursor:pointer}
1.modal-container-header__back-button[_ngcontent-%COMP%], .modal-container-header__close-button[_ngcontent-%COMP%]{position:absolute;top:var(--space-050)}.modal-container-header__back-button[_ngcontent-%COMP%]{left:var(--space-050)}.modal-container-header__close-button[_ngcontent-%COMP%]{right:var(--space-050)}@media (min-width: 904px){.modal-container-header[_ngcontent-%COMP%]{padding:var(--space-200) var(--space-250)}.modal-container-header__back-button[_ngcontent-%COMP%], .modal-container-header__close-button[_ngcontent-%COMP%]{top:var(--space-100)}.modal-container-header__back-button[_ngcontent-%COMP%]{left:var(--space-100)}.modal-container-header__close-button[_ngcontent-%COMP%]{right:var(--space-100)}}'],changeDetection:0})}}return P})(),lh=(()=>{class P{get checked(){return this.isChecked}set checked(I){I!==this.checked&&(this.isChecked=!!I,this.cd.markForCheck())}constructor(I){this.cd=I,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.attrAriaDescribedBy=null,this.labelPosition=Ou.After,this.required=!1,this.size=Eo.Regular,this.state=Ii.Default,this.ariaLabel="",this.change=new p.bkB,this.toggleChange=new p.bkB,this.disableRipple=!1,this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{}}focus(){this.switch.focus()}toggle(){this.checked=!this.checked,this.onChange(this.checked)}onSwitchChange(I){this.checked=!this.checked,this.onChange(this.checked),this.change.emit(I),this.onTouched(),this.cd.markForCheck()}onToggleChange(){this.state!==Ii.Disabled&&this.toggleChange.emit()}writeValue(I){this.checked=!!I}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-switch"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(wa,5),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.switch=Jt.first)}},hostVars:3,hostBindings:function(pe,ge){2&pe&&p.BMQ("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)("aria-describedby",ge.attrAriaDescribedBy)},inputs:{id:"id",labelPosition:"labelPosition",required:"required",name:"name",size:"size",state:"state",ariaLabel:"ariaLabel",ariaLabelledby:"ariaLabelledby",ariaDescribedby:"ariaDescribedby",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],ngContentSelectors:to,decls:4,vars:14,consts:[["switchElement",""],[3,"change","toggleChange","checked","disabled","disableRipple","id","labelPosition","name","required","aria-describedby","aria-label","aria-labelledby"],[1,"switch__label"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.NAR(),p.j41(0,"mat-slide-toggle",1,0),p.bIt("change",function(Mi){return He.eBV(Jt),He.Njj(ge.onSwitchChange(Mi))})("toggleChange",function(){return He.eBV(Jt),He.Njj(ge.onToggleChange())}),p.j41(2,"span",2),p.SdG(3),p.k0s()()}2&pe&&(p.HbH(p.ai1("switch switch--",ge.size," switch--",ge.state)),p.Y8G("checked",ge.checked)("disabled","disabled"===ge.state)("disableRipple",ge.disableRipple)("id",ge.id)("labelPosition",ge.labelPosition)("name",ge.name)("required",ge.required),p.jOp("aria-describedby",ge.ariaDescribedby)("aria-label",ge.ariaLabel)("aria-labelledby",ge.ariaLabelledby))},dependencies:[Nn.mV,Nn.sG],styles:['.switch__label[_ngcontent-%COMP%]{display:block;cursor:pointer}.switch.switch--disabled[_ngcontent-%COMP%]{cursor:not-allowed}.switch.switch--disabled[_ngcontent-%COMP%]   .switch__label[_ngcontent-%COMP%]{cursor:inherit}.switch.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mat-slide-toggle-selected-focus-state-layer-color: rgba(var(--colour-surface-base), 0);--mat-slide-toggle-selected-hover-state-layer-color: rgba(var(--colour-surface-base), 0);--mat-slide-toggle-selected-pressed-state-layer-color: rgba(var(--colour-surface-base), 0)}.switch.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-unselected-focus-state-layer-color: rgba(var(--colour-surface-base), 0);--mat-slide-toggle-unselected-pressed-state-layer-color: rgba(var(--colour-surface-base), 0);--mat-slide-toggle-unselected-hover-state-layer-color: rgba(var(--colour-surface-base), 0)}.switch[_ngcontent-%COMP%]     label{padding-left:var(--space-0)}.switch[_ngcontent-%COMP%]     .mdc-switch:focus-visible:after{content:"";position:absolute;top:var(--space-negative-050);right:var(--space-negative-050);bottom:var(--space-negative-050);left:var(--space-negative-050);border-radius:15px;box-sizing:border-box}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track:before{transform:none}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track{transition:transform .2s ease-in-out}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle{border-color:transparent;transition:width .2s ease-in-out}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle:before{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle .mdc-switch__icons{display:none}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle .mat-ripple-element{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle .mdc-switch__shadow{dis
1play:none}.switch[_ngcontent-%COMP%]     .mdc-switch--disabled{cursor:not-allowed}.switch--regular[_ngcontent-%COMP%]   .switch__label[_ngcontent-%COMP%]{font-family:var(--typography-body-regular-font-family);font-weight:var(--typography-body-regular-font-weight);line-height:var(--typography-body-regular-line-height);font-size:var(--typography-body-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);padding-left:var(--space-100)}.switch--regular[_ngcontent-%COMP%]     .mdc-switch:active{--mat-slide-toggle-pressed-handle-size: var(--size-200)}.switch--regular[_ngcontent-%COMP%]     .mdc-form-field:active .mdc-switch--unselected:enabled .mdc-switch__handle{width:var(--size-250)}.switch--regular[_ngcontent-%COMP%]     .mdc-form-field:active .mdc-switch--selected:enabled .mdc-switch__handle{width:var(--size-250)}.switch--regular[_ngcontent-%COMP%]     .mdc-switch{width:var(--size-400)}.switch--regular[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--selected .mdc-switch__handle{left:auto;right:var(--space-negative-100)}.switch--regular[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track{height:var(--size-200);border-radius:var(--border-radius-100)}.switch--regular[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--size-250))}.switch--regular[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track .mdc-switch__handle, .switch--regular[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track .mdc-switch__handle:active{width:var(--size-200);height:var(--size-200);border-radius:var(--border-radius-150);border-width:var(--border-width-thin);border-style:solid}.switch--large[_ngcontent-%COMP%]   .switch__label[_ngcontent-%COMP%]{font-family:var(--typography-body-large-font-family);font-weight:var(--typography-body-large-font-weight);line-height:var(--typography-body-large-line-height);font-size:var(--typography-body-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);padding-left:var(--space-150)}.switch--large[_ngcontent-%COMP%]     .mdc-switch:active{--mat-slide-toggle-pressed-handle-size: var(--size-300)}.switch--large[_ngcontent-%COMP%]     .mdc-form-field:active .mdc-switch--unselected:enabled .mdc-switch__handle{width:30px}.switch--large[_ngcontent-%COMP%]     .mdc-form-field:active .mdc-switch--selected:enabled .mdc-switch__handle{width:30px}.switch--large[_ngcontent-%COMP%]     .mdc-switch{width:var(--size-600)}.switch--large[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--selected .mdc-switch__handle{left:auto;right:var(--space-negative-150)}.switch--large[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track{height:var(--size-300);border-radius:var(--border-radius-150)}.switch--large[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track{width:calc(100% - 30px)}.switch--large[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track .mdc-switch__handle, .switch--large[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle-track .mdc-switch__handle:active{width:var(--size-300);height:var(--size-300);border-width:3px;border-style:solid;border-radius:18px}.switch[_ngcontent-%COMP%]   .switch__label[_ngcontent-%COMP%]{color:var(--colour-text-primary)}.switch[_ngcontent-%COMP%]     .mdc-switch:focus:after{border:var(--border-width-thin) solid var(--colour-border-accent-focus)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:active .mdc-switch__track:before{background:var(--toggle-colour-surface-unchecked-pressed)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:active .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:active .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__track:before{background:var(--toggle-colour-surface-unchecked-default)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:hover .mdc-switch__track:before, .switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active):hover .mdc-switch__track:before{background:var(--toggle-colour-surface-unchecked-hover)}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:hover .mdc-switch__track:after, .switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active):hover .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:hover .mdc-switch__handle:after, .switch[_ngcontent-%COMP%]     .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active):hover .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track:before{background:var(--toggle-colour-surface-unchecked-default)}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus:active .mdc-switch__track:before{background:var(--colour-surface-accent-pressed)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus:active .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus:active .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus .mdc-switch__track:before{background:var(--colour-surface-accent-default)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:focus .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:hover .mdc-switch__track:before{background:var(--colour-surface-accent-hover)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:hover .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch--selected.mdc-switch--selected:enabled:hover .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__track:before{background:var(--colour-surface-accent-default)}.switch[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__track:after{background:transparent}.switch[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__handle:after{background:var(--colour-surface-on-accent)}.switch--disabled[_ngcontent-%COMP%]   .switch__label[_ngcontent-%COMP%]{color:var(--colour-text-neutral-disabled)}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track:before{background:var(--toggle-colour-surface-unchecked-default)}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track:after{background:transparent}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle:after{background:var(--toggle-colour-surface-unchecked-hover)}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__track{opacity:1}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch .mdc-switch__handle:after{opacity:1}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__track:before{background:var(--colour-surface-accent-disabled)}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__track:after{background:transparent}.switch--disabled[_ngcontent-%COMP%]     .mdc-switch--selected .mdc-switch__handle:after{background:var(--colour-icon-accent-disabled)}'],changeDetection:0})}}return P})();
1var D=function(P){return P.Small="small",P.Regular="regular",P.Large="large",P}(D||{}),G=function(P){return P.Warning="warning",P.Positive="positive",P.Negative="negative",P.OnImage="on-image",P}(G||{}),le=function(P){return P.Strong="strong",P.Subtle="subtle",P}(le||{});let Le=(()=>{class P{constructor(){this.type=Cl.Primary,this.style=le.Subtle,this.size=D.Regular,this.ariaDescribedby=null}set attrAriaDescribedby(I){this.ariaDescribedby=I??null}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-status"]],hostVars:1,hostBindings:function(pe,ge){2&pe&&p.BMQ("aria-describedby",ge.attrAriaDescribedby)},inputs:{type:"type",style:"style",size:"size",ariaDescribedby:[0,"aria-describedby","ariaDescribedby"]},ngContentSelectors:to,decls:3,vars:7,consts:[[1,"status__txt-label"]],template:function(pe,ge){1&pe&&(p.NAR(),p.rj2(0,"div")(1,"span",0),p.SdG(2),p.eux()()),2&pe&&(p.HbH(p.a5S("status status--",ge.style," status--",ge.size," status--",ge.style,"--",ge.type)),p.BMQ("aria-describedby",ge.ariaDescribedby))},styles:["[_nghost-%COMP%]{position:relative;display:inline-block}[_nghost-%COMP%]   .status[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-regular-font-family);font-weight:var(--typography-label-bold-regular-font-weight);line-height:var(--typography-label-bold-regular-line-height);font-size:var(--typography-label-bold-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;justify-content:center;align-items:center;position:relative;border-radius:var(--border-radius-050);padding:var(--space-0) var(--space-075);height:var(--size-300);max-width:200px}[_nghost-%COMP%]   .status__txt-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%}[_nghost-%COMP%]   .status--subtle--primary[_ngcontent-%COMP%]{color:var(--colour-text-accent-default);background:var(--colour-surface-accent-subtle-default)}[_nghost-%COMP%]   .status--subtle--secondary[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default);background:var(--colour-surface-raised)}[_nghost-%COMP%]   .status--subtle--positive[_ngcontent-%COMP%]{color:var(--colour-text-positive-default);background:var(--colour-surface-positive-subtle-default)}[_nghost-%COMP%]   .status--subtle--warning[_ngcontent-%COMP%]{color:var(--colour-text-warning-default);background:var(--colour-surface-warning-subtle-default)}[_nghost-%COMP%]   .status--subtle--negative[_ngcontent-%COMP%]{color:var(--colour-text-negative-default);background:var(--colour-surface-negative-subtle-default)}[_nghost-%COMP%]   .status--subtle--on-image[_ngcontent-%COMP%]{color:var(--colour-text-neutral-default);background:var(--colour-surface-on-image-default);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}[_nghost-%COMP%]   .status--small[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);height:var(--size-250);padding:var(--space-0) var(--space-050)}[_nghost-%COMP%]   .status--large[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-large-font-family);font-weight:var(--typography-label-bold-large-font-weight);line-height:var(--typography-label-bold-large-line-height);font-size:var(--typography-label-bold-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);height:var(--size-400);padding:var(--space-0) var(--space-100)}[_nghost-%COMP%]   .status--strong[_ngcontent-%COMP%]{color:var(--colour-text-on-inverted-strong)}[_nghost-%COMP%]   .status--strong--primary[_ngcontent-%COMP%]{background:var(--colour-surface-accent-default)}[_nghost-%COMP%]   .status--strong--secondary[_ngcontent-%COMP%]{background:var(--colour-surface-neutral-strong-default)}[_nghost-%COMP%]   .status--strong--positive[_ngcontent-%COMP%]{background:var(--colour-surface-positive-default)}[_nghost-%COMP%]   .status--strong--warning[_ngcontent-%COMP%]{background:var(--colour-surface-warning-default)}[_nghost-%COMP%]   .status--strong--negative[_ngcontent-%COMP%]{background:var(--colour-surface-negative-default)}[_nghost-%COMP%]   .status--strong--on-image[_ngcontent-%COMP%]{background:var(--colour-surface-on-image-strong-default);-webkit-backdrop-filter:var(--blur-regular);backdrop-filter:var(--blur-regular)}"],changeDetection:0})}}return P})();
1var We=function(P){return P.Small="small",P}(We||{}),ze=function(P){return P.Color="color",P.Date="date",P.DatetimeLocal="datetime-local",P.Email="email",P.Month="month",P.Number="number",P.Password="password",P.Search="search",P.Tel="tel",P.Text="text",P.Time="time",P.Url="url",P.Week="week",P}(ze||{}),ht=function(P){return P.Standard="standard",P.Subtle="subtle",P}(ht||{}),cn=function(P){return P.Input="input",P.InputArea="input-area",P}(cn||{});let rn=(()=>{class P{constructor(I){this.el=I,this.isResizing=!1,this.initialMouseY=0,this.initialHeight=0}onMouseDown(I){this.resizeTarget&&(I.preventDefault(),this.isResizing=!0,this.initialMouseY=I.clientY,this.initialHeight=this.resizeTarget.offsetHeight)}onMouseMove(I){this.isResizing&&this.resizeTarget&&(this.resizeTarget.style.height=`${this.initialHeight+(I.clientY-this.initialMouseY)}px`)}onMouseUp(){this.isResizing&&(this.isResizing=!1,document.body.style.cursor="")}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(p.aKT))}}static{this.\u0275dir=p.FsC({type:P,selectors:[["","libResizableInput",""]],hostBindings:function(pe,ge){1&pe&&p.bIt("mousedown",function(sr){return ge.onMouseDown(sr)})("mousemove",function(sr){return ge.onMouseMove(sr)},p.EBC)("mouseup",function(){return ge.onMouseUp()},p.EBC)},inputs:{resizeTarget:"resizeTarget"}})}}return P})(),zn=(()=>{class P extends ul{get state(){return this.inputState}set state(I){I!=this.inputState&&(this.inputState=I||Ii.Default,this.inputState===Ii.Disabled&&this.formControl&&this.formControl.enabled&&this.formControl.disable(),this.inputState===Ii.Default&&this.formControl&&this.formControl.disabled&&this.formControl.enable())}get error(){if(this.formControl?.errors&&this.errorMessage){if("string"==typeof this.errorMessage)return this.errorMessage;for(const I in this.errorMessage)if(this.formControl?.errors?.[I])return this.errorMessage[I]||"";return""}return""}constructor(I,pe,ge){super(),this.controlContainer=I,this.matIconRegistry=pe,this.domSanitizer=ge,this.attrTabIndex=null,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.size=Eo.Regular,this.style=ht.Standard,this.type=ze.Text,this.iconLeft=null,this.iconRight=null,this.isIconRightSVG=!1,this.isIconLeftSVG=!1,this.isLoading=!1,this.isCharacterCounter=!1,this.isClearable=!1,this.label=null,this.placeholder=null,this.descriptionMessage=null,this.tooltipMessage=null,this.errorMessage="",this.maxLength=null,this.controlType=cn.Input,this.resizableInputArea=!0,this.inputAreaSize=2,this.clearIconClicked=new p.bkB,this.rightIconClicked=new p.bkB,this.focusChange=new p.bkB,this.blurChange=new p.bkB,this.inputChange=new p.bkB,this.State=Ii,this.InputControlType=cn,this.onChange=()=>{},this.onTouched=()=>{},this.matIconRegistry.addSvgIconLiteral(_i.NJ1.name,this.domSanitizer.bypassSecurityTrustHtml(_i.NJ1.data)),this.matIconRegistry.addSvgIconLiteral(_i.TFJ.name,this.domSanitizer.bypassSecurityTrustHtml(_i.TFJ.data))}ngOnInit(){this.formControl=this.formControlName&&this.controlContainer.control?.get(this.formControlName)?this.controlContainer.control.get(this.formControlName):new ti.MJ(this.value||null),this.formControl.valueChanges.pipe((0,Vn.Q)(this.destroySubject$)).subscribe(I=>{this.formControlName||(this.value=I,this.onChange(this.value),this.inputChange.emit(this.value))})}onClearIconClick(){this.clearIconClicked.emit(),this.formControl.reset()}onRightIconClick(){this.rightIconClicked.emit()}writeValue(I){this.value=I}registerOnChange(I){this.onChange=I}onFocus(I){this.focusChange.emit(I)}onBlur(I){this.blurChange.emit(I),this.onTouched()}registerOnTouched(I){this.onTouched=I}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(ti.ZU,13),p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-input"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(w,5),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.input=Jt.first)}},hostVars:3,hostBindings:function(pe,ge){2&pe&&p.BMQ("tabindex",ge.attrTabIndex)("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{formControlName:"formControlName",id:"id",name:"name",value:"value",tabIndex:"tabIndex",size:"size",style:"style",type:"type",iconLeft:"iconLeft",iconRight:"iconRight",isIconRightSVG:"isIconRightSVG",isIconLeftSVG:"isIconLeftSVG",isLoading:"isLoading",isCharacterCounter:"isCharacterCounter",isClearable:"isClearable",label:"label",placeholder:"placeholder",descriptionMessage:"descriptionMessage",tooltipMessage:"tooltipMessage",errorMessage:"errorMessage",maxLength:"maxLength",ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],controlType:"controlType",resizableInputArea:"resizableInputArea",inputAreaSize:"inputAreaSize",state:"state"},outputs:{clearIconClicked:"clearIconClicked",rightIconClicked:"rightIconClicked",focusChange:"focusChange",blurChange:"blurChange",inputChange:"inputChange"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}]),p.Vt3],decls:14,vars:18,consts:[["rightIcon",""],["tooltipIcon",""],["clearIcon",""],["input",""],[3,"ngClass"],["matIconPrefix","",1,"input__icon",3,"isSVG","icon"],[1,"resizable-textarea"],["matInput","",3,"id","type","tabIndex","formControl","placeholder"],[1,"input__info"],[1,"input__info-error"],["matIconSuffix","",1,"input__right-icons"],["matInput","",3,"focus","blur","rows","id","type","tabIndex","formControl","placeholder"],["libResizableInput","","icon","resize",1,"resize-handle-icon",3,"resizeTarget","isSVG"],["matInput","",3,"focus","blur","id","type","tabIndex","formControl","placeholder"],[1,"input__info-icon",3,"matTooltip","matTooltipPosition"],[1,"input__info-message"],[1,"input__char-counter",3,"ngClass"],[4,"ngTemplateOutlet"],[1,"input__info-icon"],["icon","loading",1,"input__dots-wrapper",3,"isSVG"],[1,"input__icon",3,"icon","isSVG","tabIndex"],[1,"input__icon",3,"click","icon","isSVG","tabIndex"],["xmlns","http://www.w3.org/2000/svg","height","16px","width","16px","viewBox","0 -960 960 960","fill","currentColor"],["d","M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q
1-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"],[1,"input__icon","input__clear-icon",3,"tabIndex"],[1,"input__icon","input__clear-icon",3,"click","tabIndex"],["width","16","height","16","viewBox","0 0 17 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M0.5 8.5C0.5 4.08172 4.08172 0.5 8.5 0.5C12.9183 0.5 16.5 4.08172 16.5 8.5C16.5 12.9183 12.9183 16.5 8.5 16.5C4.08172 16.5 0.5 12.9183 0.5 8.5Z","fill","currentColor"],["d","M11.6469 6.04478C11.8383 5.85343 11.8383 5.54318 11.6469 5.35182C11.4556 5.16046 11.1453 5.16046 10.954 5.35182L8.50048 7.8053L6.047 5.35182C5.85564 5.16046 5.54539 5.16046 5.35403 5.35182C5.16268 5.54318 5.16268 5.85343 5.35403 6.04478L7.80752 8.49827L5.35397 10.9518C5.16261 11.1432 5.16261 11.4534 5.35397 11.6448C5.54532 11.8361 5.85557 11.8361 6.04693 11.6448L8.50048 9.19123L10.954 11.6448C11.1454 11.8361 11.4556 11.8361 11.647 11.6448C11.8384 11.4534 11.8384 11.1432 11.647 10.9518L9.19345 8.49827L11.6469 6.04478Z",1,"clear-symbol"]],template:function(pe,ge){1&pe&&(p.j41(0,"mat-form-field",4),p.nVh(1,oe,2,1,"mat-label"),p.nVh(2,se,1,2,"lib-icon",5),p.nVh(3,y,4,13,"div",6)(4,T,2,8,"input",7),p.nVh(5,z,5,3,"mat-hint",8),p.nVh(6,Te,4,2,"mat-error",9),p.nVh(7,wn,3,1,"div",10),p.k0s(),p.DNE(8,et,1,1,"ng-template",null,0,p.C5r)(10,Lt,2,0,"ng-template",null,1,p.C5r)(12,nn,1,1,"ng-template",null,2,p.C5r)),2&pe&&(p.HbH(p.ai1("input input--",ge.style," input--",ge.size)),p.Y8G("ngClass",p.l4e(11,C,ge.state===ge.State.Disabled||(null==ge.formControl?null:ge.formControl.disabled),ge.iconLeft,ge.iconRight,ge.isClearable,(null==ge.formControl?null:ge.formControl.invalid)&&((null==ge.formControl?null:ge.formControl.dirty)||(null==ge.formControl?null:ge.formControl.touched)),ge.controlType===ge.InputControlType.InputArea)),p.R7$(),p.vxM(ge.label?1:-1),p.R7$(),p.vxM(ge.iconLeft?2:-1),p.R7$(),p.vxM(ge.controlType===ge.InputControlType.InputArea?3:4),p.R7$(2),p.vxM(ge.descriptionMessage||ge.tooltipMessage||ge.maxLength?5:-1),p.R7$(),p.vxM(null!=ge.formControl&&ge.formControl.errors?6:-1),p.R7$(),p.vxM(ge.isLoading||ge.isClearable||ge.iconRight?7:-1))},dependencies:[ti.X1,ti.me,ti.BC,ti.l_,ei.u,mo.oV,Gt.fS,Gt.fg,Zr.rl,Zr.nJ,Zr.MV,Zr.TL,Zr.JW,Zr.yw,ti.YN,cr.YU,cr.T3,dl,rn],styles:['.input__info[_ngcontent-%COMP%], .input__info-error[_ngcontent-%COMP%]{width:100%;display:flex;margin-top:var(--space-075);align-items:center}.input__info-icon[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200);margin-right:var(--space-050)}.input__char-counter[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);border-radius:var(--border-radius-050);margin-left:auto;padding:var(--space-0) var(--space-050)}.input__dots-wrapper[_ngcontent-%COMP%]{display:flex;position:relative;top:var(--space-025);width:var(--size-250);height:var(--size-250)}.input__right-icons[_ngcontent-%COMP%]{display:flex;position:absolute;top:-14px;right:-2px}.input__right-icons[_ngcontent-%COMP%]   .input__icon[_ngcontent-%COMP%]{border:var(--border-width-thin) solid transparent;border-radius:var(--border-radius-050);cursor:pointer}.input__right-icons[_ngcontent-%COMP%]   .input__icon[_ngcontent-%COMP%]:before{content:"";position:absolute;width:var(--size-600);height:var(--size-600);transform:translate(-28%) translateY(-26%);cursor:pointer}.input__right-icons[_ngcontent-%COMP%]   .input__clear-icon[_ngcontent-%COMP%]{position:relative;padding:var(--space-050)}.input__right-icons[_ngcontent-%COMP%]   .input__clear-icon[_ngcontent-%COMP%]:before{transform:translate(-33%) translateY(-33%)}.input__icon[_ngcontent-%COMP%]     .mat-icon{transform:scale(.85)}.input.mat-mdc-form-field-has-icon-suffix[_ngcontent-%COMP%]     .mat-mdc-input-element{width:calc(100% - 26px)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-spacer{display:none}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:block}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper{font-family:var(--typography-label-small-font-family);
1font-weight:var(--typography-label-small-font-weight);line-height:var(--typography-label-small-line-height);font-size:var(--typography-label-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);padding:var(--space-0)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-error-wrapper{font-family:var(--typography-label-small-font-family);font-weight:var(--typography-label-small-font-weight);line-height:var(--typography-label-small-line-height);font-size:var(--typography-label-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);padding:var(--space-0)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{width:auto;min-width:88px}.input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field:hover, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover{outline:solid var(--border-width-hairline)}.input--standard.input--disabled[_ngcontent-%COMP%]{cursor:not-allowed}.input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover{outline:solid var(--border-width-hairline)}.input--standard.mat-focused[_ngcontent-%COMP%]     .mdc-text-field{outline:solid var(--border-width-thin)}.input--standard.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover{outline:solid var(--border-width-thin)}.input--standard[_ngcontent-%COMP%]     .mdc-line-ripple{display:none}.input--standard[_ngcontent-%COMP%]     .mat-mdc-form-field-focus-overlay{background-color:transparent}.input--standard[_ngcontent-%COMP%]     .mdc-text-field{border-radius:var(--border-radius-100);padding:var(--space-0) var(--space-150);outline:solid var(--border-width-hairline)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:hover{outline:solid var(--border-width-hairline)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:hover .mat-mdc-form-field-focus-overlay{background-color:transparent}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:active{outline:solid var(--border-width-hairline)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element::placeholder{font-family:var(--typography-label-large-font-family);font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.input--standard[_ngcontent-%COMP%]     .mdc-floating-label{font-family:var(--typography-label-large-font-family);font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.input--subtle[_ngcontent-%COMP%]   .input__right-icons[_ngcontent-%COMP%]{right:var(--space-050)}.input--subtle[_ngcontent-%COMP%]     .mdc-line-ripple{display:none}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field{padding:var(--space-0);border-radius:inherit;border:none}.input--subtle.input--error[_ngcontent-%COMP%]     .mdc-line-ripple, .input--subtle.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple{display:block}.input--subtle.input--disabled[_ngcontent-%COMP%]{cursor:not-allowed}.input--subtle.input--disabled[_ngcontent-%COMP%]     .mdc-line-ripple{display:none}.input--subtle.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple{display:block}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-line-ripple{display:block}.input--small[_ngcontent-%COMP%]   .input__dots-wrapper[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200)}.input--small[_ngcontent-%COMP%]   .input__right-icons[_ngcontent-%COMP%]{gap:var(--space-025)}.input--small[_ngcontent-%COMP%]   .input__icon[_ngcontent-%COMP%]     .mat-icon{transform:scale(.75)}.input--small[_ngcontent-%COMP%]   .input__dots-wrapper[_ngcontent-%COMP%]{top:var(--space-050)}.input--small[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{min-width:var(--size-1000)}.input--small[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:14px}.input--small[_ngcontent-%COMP%]     .mdc-text-field{font-family:var(--typography-label-regular-font-family);
1font-weight:var(--typography-label-regular-font-weight);line-height:var(--typography-label-regular-line-height);font-size:var(--typography-label-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.input--small[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix{padding-top:22px;padding-bottom:var(--space-075);min-height:var(--size-600)}.input--small[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix .mdc-floating-label{font-family:var(--typography-label-regular-font-family);font-weight:var(--typography-label-regular-font-weight);line-height:var(--typography-label-regular-line-height);font-size:var(--typography-label-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);top:var(--space-300)}.input--small[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix .mdc-floating-label--float-above{transform:translateY(-80%) scale(.75)}.input--small[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element::placeholder{font-family:var(--typography-label-regular-font-family);font-weight:var(--typography-label-regular-font-weight);line-height:var(--typography-label-regular-line-height);font-size:var(--typography-label-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}
1.input--large[_ngcontent-%COMP%]   .input__dots-wrapper[_ngcontent-%COMP%]{width:var(--size-300);height:var(--size-300)}.input--large[_ngcontent-%COMP%]   .input__icon[_ngcontent-%COMP%]     .mat-icon{transform:scale(1.05)}.input--large[_ngcontent-%COMP%]   .input__dots-wrapper[_ngcontent-%COMP%]{top:var(--space-0)}.input--large[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{min-width:var(--space-1200)}.input--large[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--space-250)}.input--large[_ngcontent-%COMP%]     .mdc-text-field{font-family:var(--typography-label-x-large-font-family);font-weight:var(--typography-label-x-large-font-weight);line-height:var(--typography-label-x-large-line-height);font-size:var(--typography-label-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.input--large[_ngcontent-%COMP%]     .mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:26px}
1.input--large[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix{padding-top:26px;padding-bottom:10px;min-height:var(--size-800)}.input--large[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix .mdc-floating-label{font-family:var(--typography-label-x-large-font-family);font-weight:var(--typography-label-x-large-font-weight);line-height:var(--typography-label-x-large-line-height);font-size:var(--typography-label-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);top:var(--space-400)}.input--large[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-form-field-infix .mdc-floating-label--float-above{transform:translateY(-80%) scale(.75)}.input--large[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element::placeholder{font-family:var(--typography-label-x-large-font-family);font-weight:var(--typography-label-x-large-font-weight);line-height:var(--typography-label-x-large-line-height);font-size:var(--typography-label-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.input--input-area.input--small[_ngcontent-%COMP%]     textarea{min-height:var(--typography-label-small-line-height)}
1.input--input-area.input--large[_ngcontent-%COMP%]     textarea{min-height:var(--typography-label-x-large-line-height)}.input--input-area.input--regular[_ngcontent-%COMP%]     textarea{min-height:var(--typography-label-regular-line-height)}.input--input-area[_ngcontent-%COMP%]     .mdc-text-field--no-label .mat-mdc-form-field-infix{padding:var(--space-100) 0}.input--input-area[_ngcontent-%COMP%]     .resizable-textarea{position:relative}.input--input-area[_ngcontent-%COMP%]     .resizable-textarea .resize-handle-icon.non-resizable{display:none}.input--input-area[_ngcontent-%COMP%]     textarea{resize:none;box-sizing:border-box;overflow:visible}.input--input-area[_ngcontent-%COMP%]     .resize-handle-icon{position:absolute;bottom:0;right:0;width:var(--size-150);height:var(--size-150);cursor:se-resize}.input--input-area[_ngcontent-%COMP%]     .resize-handle-icon .mat-icon{color:var(--colour-icon-neutral-disabled)}.input--input-area[_ngcontent-%COMP%]     .resize-handle-icon .mat-icon svg{position:absolute;width:var(--size-150);height:var(--size-150)}.input--input-area[_ngcontent-%COMP%]     textarea{word-wrap:break-word;padding-right:var(--space-150);width:calc(100% - var(--space-200))!important}.input--input-area[_ngcontent-%COMP%]     textarea.non-resizable{resize:none}.input--input-area[_ngcontent-%COMP%]     .mat-mdc-form-field-icon-prefix{padding-top:var(--space-100);align-self:flex-start}.input--input-area[_ngcontent-%COMP%]     .mat-mdc-form-field-icon-suffix{align-self:flex-start;padding:0}.input--input-area[_ngcontent-%COMP%]     .input__right-icons{top:0;right:-6px;padding-top:var(--space-100)}.input[_ngcontent-%COMP%]{color:var(--colour-text-primary)}.input__icon[_ngcontent-%COMP%]{color:var(--colour-icon-secondary)}.input__right-icons[_ngcontent-%COMP%]   .input__icon[_ngcontent-%COMP%]:focus{border-color:var(--colour-border-accent-default)}.input__right-icons[_ngcontent-%COMP%]   .input__clear-icon[_ngcontent-%COMP%]{color:var(--colour-icon-primary)}.input__right-icons[_ngcontent-%COMP%]   .input__clear-icon[_ngcontent-%COMP%]   .clear-symbol[_ngcontent-%COMP%]{fill:var(--colour-icon-on-inverted-strong)}.input[_ngcontent-%COMP%]     .mdc-text-field{--mat-form-field-filled-caret-color: var(--colour-text-accent-default);--mat-form-field-outlined-caret-color: var(--colour-text-accent-default);--mat-form-field-filled-error-caret-color: var(--colour-text-negative-default);--mat-form-field-outlined-error-caret-color: var(--colour-text-negative-default)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper .input__info-icon{color:var(--colour-icon-primary)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper .input__info-message{color:var(--colour-text-primary)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-error-wrapper .mat-mdc-form-field-error .input__info-icon{color:var(--colour-icon-negative-default)}.input[_ngcontent-%COMP%]     .mat-mdc-form-field-error-wrapper .mat-mdc-form-field-error .input__info-message{color:var(--colour-text-negative-default)}.input__dots-wrapper[_ngcontent-%COMP%]{color:var(--colour-icon-secondary)}.input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field:hover, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-negative-subtle-default);outline-color:var(--colour-border-negative-default)}.input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--standard.input--error[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--standard.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label{color:var(--colour-text-negative-default)!important}.input--standard.input--disabled[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper{color:var(--colour-text-neutral-disabled)}.input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field, .input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-neutral-disabled);outline-color:var(--colour-border-neutral-disabled)}.input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label{color:var(--colour-text-neutral-disabled)!important}.input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element, .input--standard.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover .mat-mdc-input-element{color:var(--colour-text-neutral-disabled)}.input--standard.mat-focused[_ngcontent-%COMP%]     .mdc-text-field{background-color:var(--colour-surface-neutral-subtle-default);outline-color:var(--colour-border-accent-default)}.input--standard.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-neutral-subtle-default);outline-color:var(--colour-border-accent-default)}.input--standard.mat-focused[_ngcontent-%COMP%]     .mdc-floating-label{color:var(--colour-text-accent-default)!important}.input--standard[_ngcontent-%COMP%]     .mdc-text-field{background-color:var(--colour-surface-neutral-subtle-default);color:var(--colour-text-primary);outline-color:var(--colour-border-neutral-default)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-neutral-subtle-default);outline-color:var(--colour-border-neutral-strong-hover)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:active{outline-color:var(--colour-border-neutral-strong-pressed)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field:active .mdc-floating-label{color:var(--colour-text-secondary)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field .mdc-text-field__input{color:var(--colour-text-primary)}.input--standard[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element::placeholder{color:var(--colour-text-neutral-disabled)}.input--standard[_ngcontent-%COMP%]     .mdc-floating-label{color:var(--colour-text-secondary)!important}.input--subtle[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{background-color:var(--colour-surface-base)}.input--subtle[_ngcontent-%COMP%]     .mat-mdc-form-field-focus-overlay{background-color:var(--colour-surface-base)}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field{background-color:var(--colour-surface-base)}.input--subtle.input--error[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--subtle.input--error[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label, .input--subtle.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--subtle.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label{color:var(--colour-text-negative-default)}.input--subtle.input--error[_ngcontent-%COMP%]     .mdc-line-ripple:before, .input--subtle.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple:before{border-bottom-color:var(--colour-border-negative-default)}.input--subtle.input--error[_ngcontent-%COMP%]     .mdc-line-ripple:after, .input--subtle.input--error.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple:after{border-bottom-color:var(--colour-border-negative-default)}.input--subtle.input--disabled[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper{color:var(--colour-text-neutral-disabled)}.input--subtle.input--disabled[_ngcontent-%COMP%]     .mdc-text-field .mdc-floating-label, .input--subtle.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-floating-label{color:var(--colour-text-neutral-disabled)}.input--subtle.input--disabled[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element, .input--subtle.input--disabled[_ngcontent-%COMP%]     .mdc-text-field:hover .mat-mdc-input-element{color:var(--colour-text-neutral-disabled)}.input--subtle.mat-focused[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-base)}.input--subtle.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple:before{border-bottom-color:var(--colour-border-accent-default)}.input--subtle.mat-focused[_ngcontent-%COMP%]     .mdc-line-ripple:after{border-bottom-color:var(--colour-border-accent-default)}.input--subtle.mat-focused[_ngcontent-%COMP%]     .mdc-floating-label{color:var(--colour-text-accent-default)!important}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field:hover{background-color:var(--colour-surface-base)}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field:hover .mdc-line-ripple:before{border-bottom-color:var(--colour-border-neutral-hover)!important}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field .mdc-text-field__input{color:var(--colour-text-primary)}.input--subtle[_ngcontent-%COMP%]     .mdc-text-field .mat-mdc-input-element::placeholder{color:var(--colour-text-neutral-disabled)}.input--subtle[_ngcontent-%COMP%]     .mdc-floating-label{color:var(--colour-text-secondary)!important}.input__char-counter[_ngcontent-%COMP%]{color:var(--colour-text-secondary);background:var(--colour-surface-relief)}.input__char-counter--light[_ngcontent-%COMP%]{color:var(--colour-text-neutral-disabled)}.input__char-counter--error[_ngcontent-%COMP%]{color:var(--colour-text-negative-default);background-color:var(--colour-surface-negative-subtle-default)}'],changeDetection:0})}}return P})();const In={title:"",mute:!1,aspectratio:"16:9",width:"100%",primary:"html5",hlshtml:!0,autostart:!1,hlsjsdefault:!0,type:"",key:"GCNWkHxPpsSDQ3UlRojd8DTep2uGRPz+SiLqz9QXoViI+3e/"},Un="https://assets.weforum.org/jwplayer/v1/jwplayer.js";let Cr=(()=>
1{class P{constructor(){this.scriptLoadedSubject=new Ht.B,this.scriptLoaded$=this.scriptLoadedSubject.asObservable()}getPlayerInstance(I){return jwplayer(I)}setupPlayer(I,pe){I.setup(pe)}loadJWPlayerScript(){if(function Yd(P){return document.querySelectorAll('[src="'+P+'"]').length>0}(Un))return void this.scriptLoadedSubject.next(!0);const I=document.createElement("script");I.setAttribute("type","text/javascript"),I.setAttribute("src",Un),I.onload=()=>this.scriptLoadedSubject.next(!0),I.onerror=()=>this.scriptLoadedSubject.next(!1),document.body.appendChild(I)}static{this.\u0275fac=function(pe){return new(pe||P)}}static{this.\u0275prov=He.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})(),wr=(()=>{class P extends ul{get playerConfig(){let I={...In,mute:this.isMuted,autostart:this.isAutoStartVideo,type:this.videoFormatType};return"json"===this.videoUrl.split(".").pop()?I.playlist=this.videoUrl:I.file=this.videoUrl,I}constructor(I){super(),this.jwPlayerService=I,this.videoTitle="",this.videoUrl="",this.isMuted=!1,this.videoFormatType="",this.isAutoStartVideo=!1,this.playButtonClicked=new p.bkB,this.pauseButtonClicked=new p.bkB,this.playerReady=new p.bkB,this.uniqueId=function ku(){return Date.now().toString(36)+Math.random().toString(36).slice(2,7)}()}ngOnChanges(I){this.jwPlayerInstance&&this.jwPlayerService.setupPlayer(this.jwPlayerInstance,this.playerConfig)}ngAfterViewInit(){this.jwPlayerService.scriptLoaded$.pipe((0,Vn.Q)(this.destroySubject$)).subscribe(I=>{I&&this.videoUrl&&(this.jwPlayerInstance=this.jwPlayerService.getPlayerInstance(this.uniqueId),this.jwPlayerInstance&&(this.jwPlayerService.setupPlayer(this.jwPlayerInstance,this.playerConfig),this.jwPlayerInstance.on("ready",()=>this.playerReady.emit()),this.jwPlayerInstance.on("pause",()=>this.pauseButtonClicked.emit()),this.jwPlayerInstance.on("play",()=>this.playButtonClicked.emit())))}),this.jwPlayerService.loadJWPlayerScript()}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Cr))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-jwplayer"]],inputs:{videoTitle:"videoTitle",videoUrl:"videoUrl",isMuted:"isMuted",videoFormatType:"videoFormatType",isAutoStartVideo:"isAutoStartVideo"},outputs:{playButtonClicked:"playButtonClicked",pauseButtonClicked:"pauseButtonClicked",playerReady:"playerReady"},features:[p.Vt3,p.OA$],decls:4,vars:3,consts:[[1,"video-player"],[1,"video-player__title"],[3,"id"]],template:function(pe,ge){1&pe&&(p.rj2(0,"div",0),p.nVh(1,_n,2,1,"span",1),p.rj2(2,"div",2),p.EFF(3,"loading..."),p.eux()()),2&pe&&(p.R7$(),p.vxM(ge.videoTitle?1:-1),p.R7$(),p.Avn("id",p.mNQ(ge.uniqueId)))},styles:[".video-player[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media (max-width: 599px){.video-player[_ngcontent-%COMP%]{max-height:313px}}@media (min-width: 600px){.video-player[_ngcontent-%COMP%]{max-height:574px}}@media (min-width: 1440px){.video-player[_ngcontent-%COMP%]{max-height:898px}}.video-player__title[_ngcontent-%COMP%]{font-family:var(--typography-title-small-font-family);font-weight:var(--typography-title-small-font-weight);line-height:var(--typography-title-small-line-height);font-size:var(--typography-title-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);color:var(--colour-text-primary)}"],changeDetection:0})}}return P})();var qn=function(P){return P.Standard="standard",P.Positive="positive",P.Warning="warning",P.Negative="negative",P.Loading="loading",P}(qn||{}),hr=function(P){return P.Start="start",P.Center="center",P.End="end",P.Left="left",P.Right="right",P}(hr||{}),Ir=function(P){return P.Top="top",P.Bottom="bottom",P}(Ir||{});let Vr=(()=>{class P{constructor(I,pe){this.matIconRegistry=I,this.domSanitizer=pe,this.type=qn.Standard,this.hasIcon=!1,this.isIconSVG=!1,this.hasButton=!1,this.buttonName="Button",this.isDismiss=!0,this.message="",this.isHtmlText=!1,this.horizontalPosition=hr.Center,this.verticalPosition=Ir.Bottom,this.dismissClick=new p.bkB,this.buttonClick=new p.bkB,this.buttonType=Hl,this.buttonStyle=El.Ghost,this.buttonSize=fl.Small,this.iconButtonSize=bc.Small,this.secondaryType=Cl.Secondary,this.toastType=qn,this.negativeTye=dd.Negative,this.toastIconsSet=[_i.TaQ,_i.Cqy,_i.Nms,_i.NJ1],this.toastIconsSet.forEach(ge=>{this.matIconRegistry.addSvgIconLiteral(ge.name,this.domSanitizer.bypassSecurityTrustHtml(ge.data))})}onDismissClick(){this.dismissClick.emit()}onButtonClick(I){this.buttonClick.emit(I)}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-toast"]],inputs:{type:"type",hasIcon:"hasIcon",isIconSVG:"isIconSVG",iconName:"iconName",hasButton:"hasButton",buttonName:"buttonName",isDismiss:"isDismiss",message:"message",isHtmlText:"isHtmlText",horizontalPosition:"horizontalPosition",verticalPosition:"verticalPosition"},outputs:{dismissClick:"dismissClick",buttonClick:"buttonClick"},decls:12,vars:10,consts:[["successIcon",""],["errorIcon",""],[1,"message-wrap"],[3,"isSVG","icon"],["icon","loading",3,"isSVG"],[1,"body--small","message",3,"innerHTML"],[1,"body--small","message"],[1,"dismiss","d-flex"],[4,"ngTemplateOutlet"],[3,"type","style","size"],["ariaLabel","iconButton","id","dismissIconButton","ariaLabelledBy","dismissIconButton",3,"type","style","size"],[3,"buttonClick","type","size"],["ariaLabel","iconButton","id","dismissIconButton","ariaLabelledBy","dismissIconButton",3,"buttonClick","type","size"],["libIconContent","","icon","close",1,"toast__icon",3,"isSVG"],["icon","success",1,"toast__icon",3,"isSVG"],["icon","alert",1,"toast__icon",3,"isSVG"]],template:function(pe,ge){1&pe&&(p.j41(0,"div")(1,"div",2),p.nVh(2,en,1,2,"lib-icon",3),p.nVh(3,an,1,1,"lib-icon",4),p.nVh(4,Rn,1,1,"ng-container"),p.nVh(5,$r,1,1,"div",5)(6,ii,2,1,"div",6),p.k0s(),p.nVh(7,Ni,3,2,"div",7),p.k0s(),p.DNE(8,fo,1,1,"ng-template",null,0,p.C5r)(10,Pi,1,1,"ng-template",null,1,p.C5r)),2&pe&&(p.HbH(p.VFN("toast  toast--",ge.type," toast--",ge.verticalPosition," toast--",ge.horizontalPosition)),p.R7$(2),p.vxM(ge.hasIcon&&ge.type===ge.toastType.Standard?2:-1),p.R7$(),p.vxM(ge.type===ge.toastType.Loading?3:-1),p.R7$(),p.vxM(ge.type!==ge.toastType.Standard&&ge.type!==ge.toastType.Loading?4:-1),p.R7$(),p.vxM(ge.isHtmlText?5:6),p.R7$(2),p.vxM(ge.type!==ge.toastType.Loading?7:-1))},dependencies:[dl,oc,ou,kc,cr.T3],styles:[".toast[_ngcontent-%COMP%]{display:flex;max-width:400px;padding:var(--space-100);justify-content:space-between;align-items:center;border-radius:var(--border-radius-100);outline:var(--border-width-hairline) solid var(--colour-border-tertiary);background:var(--colour-surface-base);box-shadow:var(--elevation-level-1);position:absolute}.toast--center[_ngcontent-%COMP%]{left:50%;transform:translate(-50%)}.toast--right[_ngcontent-%COMP%]{right:0}.toast--left[_ngcontent-%COMP%]{left:0}.toast--start[_ngcontent-%COMP%]{inset-inline-start:0}.toast--end[_ngcontent-%COMP%]{inset-inline-end:0}.toast--standard[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%], .toast--loading[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{fill:var
1(--colour-icon-neutral-default);color:var(--colour-icon-neutral-default)}.toast--standard[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%], .toast--loading[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]{color:var(--colour-text-primary)}.toast--positive[_ngcontent-%COMP%]{outline:var(--border-width-hairline) solid var(--toast-colour-border-positive);background:var(--colour-surface-positive-subtle-default)}.toast--positive[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{fill:var(--colour-surface-positive-default);color:var(--colour-surface-positive-default)}.toast--positive[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]{color:var(--colour-text-positive-default)}.toast--positive[_ngcontent-%COMP%]     .dismiss .icon-button--small:hover, .toast--positive[_ngcontent-%COMP%]     .button--secondary--ghost:hover{background-color:var(--colour-surface-positive-subtle-hover)}.toast--positive[_ngcontent-%COMP%]     .dismiss .icon-button--small:active, .toast--positive[_ngcontent-%COMP%]     .button--secondary--ghost:active{background-color:var(--colour-surface-positive-subtle-pressed)}.toast--negative[_ngcontent-%COMP%]{outline:var(--border-width-hairline) solid var(--toast-colour-border-negative);background:var(--colour-surface-negative-subtle-default)}.toast--negative[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{fill:var(--colour-surface-negative-default);color:var(--colour-surface-negative-default)}.toast--negative[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]{color:var(--colour-text-negative-default)}.toast--negative[_ngcontent-%COMP%]     .dismiss .icon-button--small:hover, .toast--negative[_ngcontent-%COMP%]     .button--secondary--ghost:hover{background-color:var(--colour-surface-negative-subtle-hover)}.toast--negative[_ngcontent-%COMP%]     .dismiss .icon-button--small:active, .toast--negative[_ngcontent-%COMP%]     .button--secondary--ghost:active{background-color:var(--colour-surface-negative-subtle-pressed)}.toast--warning[_ngcontent-%COMP%]{outline:var(--border-width-hairline) solid var(--toast-colour-border-warning);background:var(--colour-surface-warning-subtle-default)}.toast--warning[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{fill:var(--colour-surface-warning-default);color:var(--colour-surface-warning-default)}.toast--warning[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]{color:var(--colour-text-warning-default)}.toast--warning[_ngcontent-%COMP%]     .dismiss .icon-button--small:hover, .toast--warning[_ngcontent-%COMP%]     .button--secondary--ghost:hover{background-color:var(--colour-surface-warning-subtle-hover)}.toast--warning[_ngcontent-%COMP%]     .dismiss .icon-button--small:active, .toast--warning[_ngcontent-%COMP%]     .button--secondary--ghost:active{background-color:var(--colour-surface-warning-subtle-pressed)}.toast[_ngcontent-%COMP%]     .dismiss .icon-button--small, .toast[_ngcontent-%COMP%]     .button--secondary--ghost, .toast[_ngcontent-%COMP%]     .button--primary--ghost{border-radius:var(--border-radius-050)!important}.toast[_ngcontent-%COMP%]     .mat-icon, .toast[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{width:var(--size-250);height:var(--size-250);display:flex;justify-content:center;align-items:center}.toast[_ngcontent-%COMP%]   .dismiss[_ngcontent-%COMP%]   .toast__icon[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200)}.toast[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]{display:flex;min-height:var(--size-400);padding:var(--space-050) var(--space-100);align-items:center;gap:var(--space-100);flex:1 0 0}.toast[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;flex:1 0 0;overflow:hidden;text-overflow:ellipsis}.toast[_ngcontent-%COMP%]   .message-wrap[_ngcontent-%COMP%]     .icon-button{border-radius:var(--border-radius-050)}@media (max-width: 599px){.toast[_ngcontent-%COMP%]{max-width:100%;width:calc(100% - var(--space-400));left:50%;transform:translate(-50%)}.toast--top[_ngcontent-%COMP%]{top:var(--space-200)}.toast--bottom[_ngcontent-%COMP%]{bottom:var(--space-200)}}@media (min-width: 600px){.toast[_ngcontent-%COMP%]{width:400px}.toast--top[_ngcontent-%COMP%]{top:var(--space-400)}.toast--bottom[_ngcontent-%COMP%]{bottom:var(--space-400)}.toast--right[_ngcontent-%COMP%]{margin-right:var(--space-400)}.toast--left[_ngcontent-%COMP%]{margin-left:var(--space-400)}.toast--start[_ngcontent-%COMP%]{margin-inline-start:var(--space-400)}.toast--end[_ngcontent-%COMP%]{margin-inline-end:var(--space-400)}}"]})}}return P})(),Xr=(()=>{class P{get roleAttribute(){return this.menuRole}set checked(I){I!==this.isChecked&&(this.isChecked=!!I,this.onChange(I),this.onTouched())}get checked(){return this.isChecked}set state(I){I!==this.checkBoxState&&(this.checkBoxState=I,this.changeDetectorRef.markForCheck())}get state(){return this.checkBoxState}set type(I){this.menuType=I,this.menuRole=this.menuType===jl.Single?"menuitem":"menuitemcheckbox"}constructor(I){this.changeDetectorRef=I,this.label="",this.hasPropagation=!1,this.menuRole="menuitem",this.onChange=()=>{},this.onTouched=()=>{},this.menuType=jl.Single,this.ItemType=jl,this.AvatarSize=Ai,this.BadgeColor=el,this.AvatarColour=Ac,this.AvatarType=La,this.State=Ii,this.checkBoxState=Ii.Default,this.isChecked=!1}
1registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}writeValue(I){this.checked=I}setDisabledState(I){this.state=I?Ii.Disabled:Ii.Default}onCheckedChange(I){this.state!==Ii.Disabled&&(this.checked=I.checked)}onCheckBoxClick(I){this.hasPropagation?this.state!=Ii.Disabled&&(this.checked=!this.checked):I.stopPropagation()}onClick(I){(this.menuType===jl.Multi||this.menuType===jl.Toggle&&!this.destructive)&&(this.hasPropagation||I.stopPropagation(),this.state!=Ii.Disabled&&(this.checked=!this.checked))}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(Ve.gRc))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-menu-item"]],hostVars:1,hostBindings:function(pe,ge){2&pe&&p.BMQ("role",ge.roleAttribute)},inputs:{checked:"checked",state:"state",type:"type",label:"label",icon:"icon",avatar:"avatar",description:"description",destructive:"destructive",hasPropagation:"hasPropagation"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],decls:6,vars:9,consts:[[1,"lib-menu-item",3,"click","ngClass"],[1,"lib-menu-item__visual-elements"],[1,"lib-menu-item__content"],[1,"lib-menu-item__label"],[1,"lib-menu-item__description"],[1,"lib-menu-item__checkbox",3,"state","checked"],[1,"lib-menu-item__icon"],[1,"lib-menu-item__avatar"],[3,"isSVG","icon"],[3,"color","size","type","hasBadge","hasBorder","badgeColor","badgeIcon","placeholder","imageSrc","isDisabled"],[1,"lib-menu-item__checkbox",3,"change","click","state","checked"]],template:function(pe,ge){1&pe&&(p.j41(0,"div",0),p.bIt("click",function(sr){return ge.onClick(sr)}),p.nVh(1,us,3,2,"div",1),p.j41(2,"div",2),p.nVh(3,Yo,2,1,"div",3),p.nVh(4,ho,2,1,"div",4),p.k0s(),p.nVh(5,jo,1,2,"lib-checkbox",5),p.k0s()),2&pe&&(p.Y8G("ngClass",p.sMw(5,Dr,ge.menuType===ge.ItemType.Toggle&&ge.checked&&!ge.destructive,ge.destructive,ge.state===ge.State.Disabled)),p.R7$(),p.vxM(ge.icon||ge.avatar?1:-1),p.R7$(2),p.vxM(ge.label?3:-1),p.R7$(),p.vxM(ge.description?4:-1),p.R7$(),p.vxM(ge.menuType===ge.ItemType.Multi?5:-1))},dependencies:[cd,ns,dl,cr.YU],styles:[".lib-menu-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--space-100);padding:var(--space-150);border-radius:var(--border-radius-050);cursor:pointer;transition:background-color .3s ease}.lib-menu-item__label[_ngcontent-%COMP%]{font-family:var(--typography-label-large-font-family);font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 1){.lib-menu-item__label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:1;-webkit-box-orient:vertical}}.lib-menu-item__description[_ngcontent-%COMP%]{font-family:var(--typography-label-small-font-family);font-weight:var(--typography-label-small-font-weight);line-height:var(--typography-label-small-line-height);font-size:var(--typography-label-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@supports (-webkit-line-clamp: 1){.lib-menu-item__description[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;-webkit-line-clamp:1;-webkit-box-orient:vertical}}.lib-menu-item--disabled[_ngcontent-%COMP%]{cursor:not-allowed}.lib-menu-item__visual-elements[_ngcontent-%COMP%]{display:flex;gap:4px}.lib-menu-item__icon[_ngcontent-%COMP%]{height:var(--size-250);width:var(--size-250)}.lib-menu-item__icon[_ngcontent-%COMP%]     .material-icons{font-size:var(--size-250)}.lib-menu-item__avatar[_ngcontent-%COMP%]{height:var(--size-300);width:var(--size-300)}.lib-menu-item__checkbox[_ngcontent-%COMP%]{margin-left:auto}.lib-menu-item__checkbox[_ngcontent-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox{font-size:var(--size-200)}.lib-menu-item__checkbox[_ngcontent-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox{padding:var(--space-0);height:18px}.lib-menu-item__checkbox[_ngcontent-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__background{left:var(--space-0);top:var(--space-0)}.lib-menu-item__checkbox[_ngcontent-%COMP%]     mat-checkbox.mat-mdc-checkbox.checkbox .mdc-form-field .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus-visible~.mdc-checkbox__ripple:after{top:-3px;left:-3px}.lib-menu-item__content[_ngcontent-%COMP%]{font-family:var(--typography-label-large-font-family);
1font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;flex-direction:column}.lib-menu[_nghost-%COMP%]   .lib-menu-item[_ngcontent-%COMP%]:hover:not(.lib-menu-item--toggle), .lib-menu   [_nghost-%COMP%]   .lib-menu-item[_ngcontent-%COMP%]:hover:not(.lib-menu-item--toggle), .lib-menu[_nghost-%COMP%]   .lib-menu-item[_ngcontent-%COMP%]:active:not(.lib-menu-item--toggle), .lib-menu   [_nghost-%COMP%]   .lib-menu-item[_ngcontent-%COMP%]:active:not(.lib-menu-item--toggle), .lib-menu[_nghost-%COMP%]   .lib-menu-item--disabled[_ngcontent-%COMP%]:hover, .lib-menu   [_nghost-%COMP%]   .lib-menu-item--disabled[_ngcontent-%COMP%]:hover, .lib-menu[_nghost-%COMP%]   .lib-menu-item--disabled[_ngcontent-%COMP%]:active, .lib-menu   [_nghost-%COMP%]   .lib-menu-item--disabled[_ngcontent-%COMP%]:active, .lib-menu[_nghost-%COMP%]   .lib-menu-item--destructive[_ngcontent-%COMP%]:hover, .lib-menu   [_nghost-%COMP%]   .lib-menu-item--destructive[_ngcontent-%COMP%]:hover, .lib-menu[_nghost-%COMP%]   .lib-menu-item--destructive[_ngcontent-%COMP%]:active, .lib-menu   [_nghost-%COMP%]   .lib-menu-item--destructive[_ngcontent-%COMP%]:active{background-color:unset!important}  .lib-menu-item:hover:not(.lib-menu-item--destructive,.lib-menu-item--toggle,.lib-menu-item--disabled){background-color:var(--colour-surface-neutral-subtle-default)}  .lib-menu-item:active:not(.lib-menu-item--destructive,.lib-menu-item--toggle,.lib-menu-item--disabled){background-color:var(--colour-surface-neutral-subtle-hover)}  .lib-menu-item__label{color:var(--colour-text-primary)}  .lib-menu-item__description{color:var(--colour-text-secondary)}  .lib-menu-item--toggle:not(.lib-menu-item--disabled).lib-menu-item{background-color:var(--colour-surface-accent-subtle-default)}  .lib-menu-item--toggle:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__icon   mat-icon.mat-icon{color:var(--colour-icon-accent-default)}  .lib-menu-item--toggle:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__label,   .lib-menu-item--toggle:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__description{color:var(--colour-text-accent-default)}  .lib-menu-item--destructive:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__icon   mat-icon.mat-icon{color:var(--colour-surface-negative-default)}  .lib-menu-item--destructive:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__label,   .lib-menu-item--destructive:not(.lib-menu-item--disabled).lib-menu-item .lib-menu-item__description{color:var(--colour-text-negative-default)}  .lib-menu-item--destructive:not(.lib-menu-item--disabled).lib-menu-item:hover{background-color:var(--colour-surface-negative-subtle-default)}  .lib-menu-item--destructive:not(.lib-menu-item--disabled).lib-menu-item:active{background-color:var(--colour-surface-negative-subtle-hover)}  .lib-menu-item--disabled.lib-menu-item .lib-menu-item__icon   mat-icon.mat-icon{color:var(--colour-icon-neutral-disabled)}  .lib-menu-item--disabled.lib-menu-item .lib-menu-item__label,   .lib-menu-item--disabled.lib-menu-item .lib-menu-item__description{color:var(--colour-text-neutral-disabled)}  .lib-menu-item--disabled.lib-menu-item:hover,   .lib-menu-item--disabled.lib-menu-item:active,   .lib-menu-item--disabled.lib-menu-item .lib-menu-item:hover{background-color:transparent}  .lib-menu-item__icon mat-icon.mat-icon{color:var(--colour-icon-primary)}"],changeDetection:0})}}return P})();const jr=new He.nKC("lib-menu-default-options",{providedIn:"root",factory:function ar(){return{type:jl.Single,overlapTrigger:!1,hasBackdrop:!0,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop",variant:eu.Select,disableRipple:!0}}}),so="lib-menu--scrollable";let Qr=(()=>{class P extends ul{set panelClass(I){this.currentPanelClass=`${this.isMenuScrollable?so:""} ${I}`}set scrollable(I){this.isMenuScrollable=I,this.currentPanelClass=I?this.currentPanelClass?.includes(so)?this.currentPanelClass:`${so} ${this.currentPanelClass}`:this.currentPanelClass&&this.currentPanelClass.replace(so,"")}constructor(I,pe){super(),this.defaultOptions=I,this.fb=pe,this.type=this.defaultOptions.type,this.ariaLabel="",this.closed=new p.bkB,this.clicked=new p.bkB,this.selected=new p.bkB,this.changed=new p.bkB,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.form=this.fb.group({}),this.State=Ii,this.MenuVariant=eu,this.ItemType=jl,this.defaultVariant=this.defaultOptions.variant,this.disableRipple=this.defaultOptions.disableRipple,this.currentPanelClass="",this.isMenuScrollable=!0}ngAfterViewInit(){this.form.valueChanges.pipe((0,Vn.Q)(this.destroySubject$),(0,un.p)(I=>!!Object.keys(I).length)).subscribe(I=>{this.changed.emit(I)})}trackMenuItem(I,pe){return pe?.id||I.toString()}
1selectMenuItem(I,pe){pe.submenu?this.clicked.emit(pe):(this.clicked.emit(pe),this.selected.emit(pe))}onMenuClosed(I){this.closed.emit(I)}static{this.\u0275fac=function(pe){return new(pe||P)(p.rXU(jr),p.rXU(ti.ok))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-menu"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(ji.kk,7),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.menu=Jt.first)}},hostVars:2,hostBindings:function(pe,ge){2&pe&&p.BMQ("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{panelClass:[0,"class","panelClass"],scrollable:"scrollable",menuItemsConfig:"menuItemsConfig",xPosition:"xPosition",yPosition:"yPosition",backdropClass:"backdropClass",overlapTrigger:"overlapTrigger",type:"type",hasBackdrop:"hasBackdrop",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",clicked:"clicked",selected:"selected",changed:"changed"},exportAs:["libMenu"],features:[p.Vt3],decls:8,vars:15,consts:[["menu","matMenu"],["noMenuItem",""],["subMenuLevel0","matMenu"],["menuLevel0",""],["subMenuLevel1","matMenu"],["menuLevel1",""],["subMenuLevel2","matMenu"],["menuLevel2",""],["menuLevel3",""],["menuLevel2_1",""],["menuLevel1_1",""],["menuLevel0_1",""],[1,"lib-menu",3,"closed","aria-label","aria-labelledby","aria-describedby","backdropClass","hasBackdrop","xPosition","yPosition","overlapTrigger"],[3,"formGroup"],["mat-menu-item","",3,"lib-menu__item--destructive","matMenuTriggerFor","disabled","disableRipple"],[1,"lib-menu","lib-menu__submenu",3,"xPosition","yPosition","overlapTrigger"],["mat-menu-item","",3,"click","matMenuTriggerFor","disabled","disableRipple"],[3,"libAddFormControl","isControl","menuControlValue","menuControlName","componentInstance","type","checked","state","icon","avatar","label","description","destructive"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"lib-menu","lib-menu__submenu",3,"xPosition","yPosition"],["mat-menu-item","",3,"lib-menu__item--destructive","disabled","disableRipple"],["mat-menu-item","",3,"click","disabled","disableRipple"],[1,"lib-menu__category"],[1,"lib-menu__divider"],[1,"lib-menu__category",3,"click"],[3,"click"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.j41(0,"mat-menu",12,0),p.bIt("closed",function(Mi){return He.eBV(Jt),He.Njj(ge.onMenuClosed(Mi))}),p.j41(2,"form",13),p.Z7z(3,rd,2,1,null,null,ge.trackMenuItem,!0),p.nI1(5,"mapMenuItems"),p.k0s()(),p.DNE(6,Oc,2,1,"ng-template",null,1,p.C5r)}2&pe&&(p.HbH(ge.currentPanelClass),p.jOp("aria-label",ge.ariaLabel||"")("aria-labelledby",ge.ariaLabelledby||"")("aria-describedby",ge.ariaDescribedby||""),p.Y8G("backdropClass",ge.backdropClass||ge.defaultOptions.backdropClass)("hasBackdrop",ge.hasBackdrop)("xPosition",ge.xPosition||ge.defaultOptions.xPosition)("yPosition",ge.yPosition||ge.defaultOptions.yPosition)("overlapTrigger",ge.overlapTrigger),p.R7$(2),p.Y8G("formGroup",ge.form),p.R7$(),p.Dyx(p.brH(5,11,null==ge.menuItemsConfig?null:ge.menuItemsConfig.items,(null==ge.menuItemsConfig?null:ge.menuItemsConfig.type)||ge.type,ge.defaultVariant)))},dependencies:[ji.Cn,ji.kk,ji.fb,ji.Cp,ti.X1,ti.qT,ti.cb,ti.j4,ef,cr.T3,Xr,rh,mc],styles:[".lib-menu[_ngcontent-%COMP%]{position:relative}.lib-menu__divider[_ngcontent-%COMP%]{cursor:default;padding-top:var(--space-050);padding-bottom:var(--space-050)}.lib-menu__category[_ngcontent-%COMP%]{font-family:var(--typography-label-bold-small-font-family);font-weight:var(--typography-label-bold-small-font-weight);line-height:var(--typography-label-bold-small-line-height);font-size:var(--typography-label-bold-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);display:flex;padding:var(--space-050) var(--space-150);align-items:center;width:100%;cursor:default}  .cdk-overlay-pane .mat-mdc-menu-panel{border-radius:8px;border:var(--border-width-hairline) solid;box-shadow:var(--elevation-level-1)}  .cdk-overlay-pane .mat-mdc-menu-panel.lib-menu--scrollable .mat-mdc-menu-content{max-height:280px}  .cdk-overlay-pane .mat-mdc-menu-panel .mat-mdc-menu-content{padding:var(--space-0) var(--space-050) var(--space-0) var(--space-100);min-width:150px;overflow-x:auto;margin-right:4px}  .cdk-overlay-pane .mat-mdc-menu-panel .mat-mdc-menu-content::-webkit-scrollbar{width:3px}  .cdk-overlay-pane .mat-mdc-menu-panel .mat-mdc-menu-content::-webkit-scrollbar-thumb{border-radius:var(--border-radius-075);border-top:8px solid;
1border-bottom:8px solid}  .lib-menu.mat-mdc-menu-panel.lib-menu__submenu.mat-menu-after{margin-left:var(--space-200)}  .lib-menu.mat-mdc-menu-panel.lib-menu__submenu.mat-menu-before{margin-right:var(--space-200)}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item[disabled]{opacity:inherit}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon{opacity:.2}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item{border-radius:var(--border-radius-050)}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item:first-child{margin-top:var(--space-100)}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item:last-child{margin-bottom:var(--space-100)}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-mdc-menu-submenu-icon{background-image:url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%2012'%20width='8'%20height='12'%20fill='black'%3E%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1.11321%2011.6363C0.761741%2011.2848%200.761741%2010.715%201.11321%2010.3635L5.47682%205.9999L1.11321%201.6363C0.761741%201.28483%200.761741%200.714979%201.11321%200.363507C1.46468%200.0120353%202.03453%200.0120353%202.386%200.363507L7.38601%205.36351C7.55479%205.53229%207.64961%205.76121%207.64961%205.9999C7.64961%206.2386%207.55479%206.46752%207.38601%206.6363L2.38601%2011.6363C2.03453%2011.9878%201.46469%2011.9878%201.11321%2011.6363Z'%20fill='black'/%3E%3C/svg%3E\");background-size:contain;background-repeat:no-repeat;background-position:center;width:var(--size-100);height:var(--size-150);padding-left:var(--space-0);margin-right:var(--space-150)}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-mdc-menu-submenu-icon polygon{display:none}  .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item,   .lib-menu.mat-mdc-menu-panel .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--space-0);padding-right:var(--space-0)}  .lib-menu__category{color:var(--colour-text-secondary)}  .lib-menu .mat-mdc-menu-item:not([disabled]):hover{background-color:var(--colour-surface-neutral-subtle-default)}  .lib-menu .mat-mdc-menu-item:not([disabled]):active{background-color:var(--colour-surface-neutral-subtle-hover)}  .lib-menu .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted,   .lib-menu .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused{background-color:var(--colour-surface-relief)}  .lib-menu .mat-mdc-menu-item.lib-menu__item--destructive:not([disabled]):hover{background-color:var(--colour-surface-negative-subtle-default)}  .lib-menu .mat-mdc-menu-item.lib-menu__item--destructive:not([disabled]):active{background-color:var(--colour-surface-negative-subtle-hover)}  .lib-menu .mat-mdc-menu-item .mat-mdc-menu-submenu-icon{background-image:url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%2012'%20width='8'%20height='12'%20fill='white'%3E%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1.11321%2011.6363C0.761741%2011.2848%200.761741%2010.715%201.11321%2010.3635L5.47682%205.9999L1.11321%201.6363C0.761741%201.28483%200.761741%200.714979%201.11321%200.363507C1.46468%200.0120353%202.03453%200.0120353%202.386%200.363507L7.38601%205.36351C7.55479%205.53229%207.64961%205.76121%207.64961%205.9999C7.64961%206.2386%207.55479%206.46752%207.38601%206.6363L2.38601%2011.6363C2.03453%2011.9878%201.46469%2011.9878%201.11321%2011.6363Z'%20fill='white'/%3E%3C/svg%3E\")}  .cdk-overlay-pane .mat-mdc-menu-panel.lib-menu{border-color:var(--colour-border-tertiary);background:var(--colour-surface-base);box-shadow:var(--elevation-level-1)}  .cdk-overlay-pane .mat-mdc-menu-panel.lib-menu .mat-mdc-menu-content{scrollbar-color:var(--colour-surface-raised) auto}  .cdk-overlay-pane .mat-mdc-menu-panel.lib-menu .mat-mdc-menu-content::-webkit-scrollbar-thumb{background:var(--colour-surface-raised);border-top-color:var(--colour-surface-base);border-bottom-color:var(--colour-surface-base)}  .mat-mdc-menu-panel .mat-divider{margin:unset!important}"],changeDetection:0})}}return P})();var Nr=function(P){return P.Single="single",P.Multi="multi",P}(Nr||{}
1),Qi=function(P){return P.Small="small",P}(Qi||{});let Qo=(()=>{class P{get value(){return this.selectedValue}set value(I){this.selectedValue=I,this.onChange(I)}constructor(I,pe,ge){this.matIconRegistry=pe,this.domSanitizer=ge,this.attrTabIndex=null,this.attrAriaLabel=null,this.attrAriaLabelledBy=null,this.type=Nr.Single,this.hasLabel=!0,this.placeholder="",this.required=!1,this.size=Eo.Regular,this.disabled=!1,this.errorMessage="",this.ariaLabel="",this.ariaLabelledby=null,this.change=new p.bkB,this.selectionChange=new p.bkB,this.visibleItems=[],this.hiddenCount=0,this.compareOptions=(Jt,sr)=>"object"==typeof Jt&&"object"==typeof sr&&null!==Jt&&null!==sr?Jt.id===sr.id:Jt===sr,this.ItemType=jl,this.ChipSize=ud,this.ChipType=xl,this.SelectType=Nr,this.selectIconsSet=[_i.Ga$,_i.$rz],this.onChange=Jt=>{},this.onTouched=()=>{},this.tabIndex=parseInt(I)||0,this.selectIconsSet.forEach(Jt=>{this.matIconRegistry.addSvgIconLiteral(Jt.name,this.domSanitizer.bypassSecurityTrustHtml(Jt.data))})}ngOnInit(){this.defaultSelectValue=this.selectFormControl?this.selectFormControl.value:this.initialValue||"",this.selectFormControl||(this.selectFormControl=new ti.MJ(this.initialValue))}ngAfterViewInit(){this.type===Nr.Multi&&this.defaultSelectValue?.length>0&&(this.options=this.setSelectedOptions(this.defaultSelectValue),this.value=this.defaultSelectValue,this.getSelectedItemsCount(this.selectTrigger))}writeValue(I){this.value=I}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.disabled=I}onSelectionChange(I,pe=null){this.value=I.value,this.onTouched(),this.change.emit(I),this.selectionChange.emit(I),this.getSelectedItemsCount(pe)}get getLabel(){const I=this.value?this.value:this.defaultSelectValue,pe=this.options.find(ge=>ge.id===I);return pe?pe.label:""}getSelectedItemsCount(I){if(!this.value||!I)return;const pe=I.nativeElement.getBoundingClientRect().width,ge=Math.floor(pe/120);this.visibleItems=this.value.slice(0,ge),this.hiddenCount=this.value.length-this.visibleItems.length}setSelectedOptions(I){return this.options.map(pe=>{const ge=I.some(Jt=>Jt.id===pe.id);return{...pe,selected:ge}})}static{this.\u0275fac=function(pe){return new(pe||P)(p.kS0("tabindex"),p.rXU(gi.tp),p.rXU(Ei.up))}}static{this.\u0275cmp=p.VBU({type:P,selectors:[["lib-select"]],viewQuery:function(pe,ge){if(1&pe&&p.GBs(Yc,5,p.aKT),2&pe){let Jt;p.mGM(Jt=p.lsd())&&(ge.selectTrigger=Jt.first)}},hostVars:3,hostBindings:function(pe,ge){2&pe&&p.BMQ("tabindex",ge.attrTabIndex)("aria-label",ge.attrAriaLabel)("aria-labelledby",ge.attrAriaLabelledBy)},inputs:{id:"id",options:"options",type:"type",label:"label",hasLabel:"hasLabel",placeholder:"placeholder",required:"required",tabIndex:"tabIndex",size:"size",selectFormControl:"selectFormControl",disabled:"disabled",errorMessage:"errorMessage",initialValue:"initialValue",hintMessage:"hintMessage",hintTooltipMessage:"hintTooltipMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",selectionChange:"selectionChange"},features:[p.Jv_([{provide:ti.kq,useExisting:(0,He.Rfq)(()=>P),multi:!0}])],decls:12,vars:15,consts:[["selectTrigger",""],["disableRipple","",3,"selectionChange","formControl","multiple","disabled","required","placeholder","panelClass","compareWith"],[1,"select__trigger"],[3,"value"],["svgIcon","chevron_down",1,"select__icon"],[1,"select__hint"],[1,"select__error-message"],[3,"label","size","type","selectable"],[3,"type","label","description","avatar","checked","hasPropagation"],["svgIcon","info",1,"select__hint-icon",3,"matTooltip","matTooltipPosition"],[1,"select__hint-message"],["svgIcon","info",1,"select__error-message-icon"]],template:function(pe,ge){if(1&pe){const Jt=p.RV6();p.j41(0,"mat-form-field"),p.nVh(1,Kf,2,1,"mat-label"),p.j41(2,"mat-select",1,0),p.bIt("selectionChange",function(Mi){He.eBV(Jt);const Rs=p.sdS(3);return He.Njj(ge.onSelectionChange(Mi,Rs._elementRef))}),p.j41(4,"mat-select-trigger",2),p.nVh(5,sd,1,1),p.nVh(6,Ic,3,1),p.k0s(),p.Z7z(7,Su,2,7,"mat-option",3,p.fX1),p.k0s(),p.nrm(9,"mat-icon",4),p.nVh(10,Xe,4,2,"mat-hint",5),p.nVh(11,tr,4,1,"mat-error",6),p.k0s()}2&pe&&(p.HbH(p.VkB("select select--",ge.size)),p.R7$(),p.vxM(ge.hasLabel?1:-1),p.R7$(),p.Y8G("formControl",ge.selectFormControl)("multiple",ge.type===ge.SelectType.Multi)("disabled",ge.disabled)("required",ge.required)("placeholder",ge.hasLabel?"":ge.placeholder||"")("panelClass","select__panel")("compareWith",ge.compareOptions),p.R7$(3),p.vxM(ge.type!==ge.SelectType.Multi?5:-1),p.R7$(),p.vxM(ge.type===ge.SelectType.Multi?6:-1),p.R7$(),p.Dyx(ge.options),p.R7$(3),p.vxM(ge.hintMessage||ge.hintTooltipMessage?10:-1),p.R7$(),p.vxM(ge.selectFormControl.invalid&&(ge.selectFormControl.touched||null!=ge.selectFormControl&&ge.selectFormControl.dirty)?11:-1))},dependencies:[ti.X1,ti.BC,ti.YS,ti.l_,Zr.rl,kn.VO,kn.$2,Zr.nJ,Yn.wT,Yr.An,Qd,Xr,Zr.TL,Zr.MV,mo.oV],styles:[".select[_ngcontent-%COMP%]{width:100%}.select__icon[_ngcontent-%COMP%]{position:absolute;right:0;top:0;bottom:0;margin:auto}.select__trigger[_ngcontent-%COMP%]{display:flex;gap:var(--space-050);align-items:center}.select__error-message[_ngcontent-%COMP%], .select__hint[_ngcontent-%COMP%]{font-family:var(--typography-label-small-font-family);
1font-weight:var(--typography-label-small-font-weight);line-height:var(--typography-label-small-line-height);font-size:var(--typography-label-small-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case);padding:var(--space-075) var(--space-0);display:flex;align-items:center}  .select__panel.mat-mdc-select-panel{margin:var(--space-100) var(--space-0);max-height:304px;padding:var(--space-100);border-width:var(--border-width-hairline);border-style:solid}  .select__panel .mat-mdc-option{padding:var(--space-0);border-radius:var(--border-radius-050)}  .select__panel .mat-mdc-option .mdc-list-item__primary-text{margin:0;width:100%}  .select__panel .mat-mdc-option .mat-pseudo-checkbox-minimal{display:none}  .select__panel .mat-pseudo-checkbox{display:none}.select__icon[_ngcontent-%COMP%]{width:var(--size-250);height:var(--size-250)}.select[_ngcontent-%COMP%]     .mdc-line-ripple{display:none}.select[_ngcontent-%COMP%]     .mdc-text-field{border-radius:var(--border-radius-100);border-width:var(--border-width-hairline);border-style:solid;padding:var(--space-0) var(--size-150);transition:background-color .3s ease,border-color .3s ease}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--focused{outline-width:var(--border-width-thin);outline-style:solid}.select[_ngcontent-%COMP%]     .mat-mdc-select-arrow svg{display:none}.select[_ngcontent-%COMP%]     .mat-mdc-form-field-hint-wrapper, .select[_ngcontent-%COMP%]     .mat-mdc-form-field-error-wrapper{padding:var(--space-0)}.select[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper .mat-icon, .select[_ngcontent-%COMP%]     .mat-mdc-form-field label .mat-icon{width:var(--size-200);height:var(--size-200);margin-right:var(--space-050)}.select--small[_ngcontent-%COMP%]   .select__icon[_ngcontent-%COMP%]{width:var(--size-200);height:var(--size-200)}.select--small[_ngcontent-%COMP%]     .mat-mdc-select{font-family:var(--typography-label-regular-font-family);font-weight:var(--typography-label-regular-font-weight);line-height:var(--typography-label-regular-line-height);font-size:var(--typography-label-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.select--small[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label{font-family:var(--typography-label-regular-font-family);font-weight:var(--typography-label-regular-font-weight);line-height:var(--typography-label-regular-line-height);font-size:var(--typography-label-regular-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.select--small[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-100%) scale(.75)}.select--small[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-infix{--mat-form-field-container-vertical-padding: 11px}.select--small[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{--mat-form-field-container-height: calc(var(--space-600) - 2px);--mat-form-field-filled-with-label-container-padding-top: calc(var(--space-250) - 2px);--mat-form-field-filled-with-label-container-padding-bottom: var(--space-050)}.select--regular[_ngcontent-%COMP%]     .mat-mdc-select{font-family:var(--typography-label-large-font-family);font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.select--regular[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label{font-family:var(--typography-label-large-font-family);font-weight:var(--typography-label-large-font-weight);line-height:var(--typography-label-large-line-height);font-size:var(--typography-label-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}
1.select--regular[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-100%) scale(.75)}.select--large[_ngcontent-%COMP%]     .mat-mdc-select{font-family:var(--typography-label-x-large-font-family);font-weight:var(--typography-label-x-large-font-weight);line-height:var(--typography-label-x-large-line-height);font-size:var(--typography-label-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.select--large[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label{font-family:var(--typography-label-x-large-font-family);font-weight:var(--typography-label-x-large-font-weight);line-height:var(--typography-label-x-large-line-height);font-size:var(--typography-label-x-large-font-size);letter-spacing:var(--typography-body-regular-letter-spacing);text-transform:var(--typography-body-regular-text-case)}.select--large[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-100%) scale(.75)}.select--large[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-infix{--mat-form-field-container-vertical-padding: 17px}.select--large[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{--mat-form-field-container-height: calc(var(--space-800) - 2px);--mat-form-field-filled-with-label-container-padding-top: var(--space-300);--mat-form-field-filled-with-label-container-padding-bottom: var(--space-100)}  .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.select__panel{border-radius:var(--border-radius-100)}  .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.select__panel::-webkit-scrollbar{width:2px}  .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.select__panel::-webkit-scrollbar-thumb{border-radius:var(--border-radius-075)}",".select__icon[_ngcontent-%COMP%]{color:var(--colour-icon-primary)}.select__error-message[_ngcontent-%COMP%]{color:var(--colour-text-negative-default)}.select__hint[_ngcontent-%COMP%]{color:var(--colour-text-secondary)}.select__hint-icon[_ngcontent-%COMP%]{color:var(--colour-icon-primary)}  .select__panel .mat-mdc-option.mat-mdc-option-active.mdc-list-item,   .select__panel .mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:transparent}  .select__panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text,   .select__panel .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked:after,   .select__panel .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple) .lib-menu-item__content .lib-menu-item__label,   .select__panel .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple) .lib-menu-item__content .lib-menu-item__description{color:var(--colour-text-accent-default)}  .select__panel .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple) .lib-menu-item{background-color:var(--colour-surface-accent-subtle-default)}  .select__panel .mat-mdc-option-multiple.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--colour-text-primary)}  .select__panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:transparent}  .select__panel.mat-mdc-select-panel{background-color:var(--colour-surface-base);border-color:var(--colour-border-tertiary);box-shadow:var(--elevation-level-1)}.select[_ngcontent-%COMP%]     .mdc-text-field{border-color:var(--colour-border-neutral-default);background:var(--colour-surface-neutral-subtle-default)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label, .select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled .mdc-floating-label{color:var(--colour-text-secondary)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled.mdc-text-field--focused{outline-color:var(--colour-border-accent-default)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled.mdc-text-field--focused .mdc-floating-label--float-above{color:var(--colour-text-accent-default)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled.mdc-text-field--focused .mat-mdc-form-field-focus-overlay{opacity:0}
1.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--colour-text-negative-default)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--invalid, .select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--invalid.mat-mdc-text-field-wrapper:hover{border-color:var(--colour-border-negative-default);background:var(--colour-surface-negative-subtle-default)}.select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--invalid .mat-mdc-form-field-focus-overlay, .select[_ngcontent-%COMP%]     .mdc-text-field.mdc-text-field--invalid.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:initial;background:transparent}.select[_ngcontent-%COMP%]     .mat-mdc-select{color:var(--colour-text-primary)}.select[_ngcontent-%COMP%]     .mat-mdc-select-placeholder{color:var(--colour-text-neutral-disabled)}.select[_ngcontent-%COMP%]     .mat-mdc-text-field-wrapper:hover{border-color:var(--colour-border-neutral-strong-hover);background:var(--colour-surface-neutral-subtle-default)}.select[_ngcontent-%COMP%]     .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:initial;background:transparent}  .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.select__panel{scrollbar-color:var(--colour-surface-raised) auto}  .cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.select__panel::-webkit-scrollbar-thumb{background:var(--colour-surface-raised)}"],changeDetection:0})}}return P})();var qr=function(P){return P.Standard="standard",P.OnImage="on-image",P}(qr||{}),yr=function(P){return P.Label="label",P.Icon="icon",P.IconLabel="icon-label",P}(yr||{})},37918(Vt,Pe,d){"use strict";d.d(Pe,{mc:()=>xr,xW:()=>Qn,Wh:()=>Dt,gn:()=>wt,C7:()=>xt,TC:()=>Ut,PD:()=>_t,Of:()=>jn});var S=d(10467),E=d(73664),M=d(2615),f=d(72200),b=d(29330),A=d(21413),R=d(7673),N=d(86648),q=d(71985),ee=d(58750),B=d(42326),ie=d(54360);var ne=d(18810),X=d(84572),W=d(57786),Z=d(5964),re=d(88141),K=d(70152),ce=d(35335),ue=d(25558),ae=d(96354),te=d(61594),de=d(99437),_e=d(43236),we=d(28211),De=
1d(39974),Ie=d(81853),Me=d(45225);const Ze=(0,Ie.L)(fn=>function(Ve=null){fn(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Ve});function Je(fn){throw new Ze(fn)}var vt=d(96697),$t=d(31397);class Et{validateSignature(Dn){return Promise.resolve(null)}validateAtHash(Dn){return Promise.resolve(!0)}}class xt{}class ke{}let qe=(()=>{class fn extends ke{now(){return Date.now()}new(){return new Date}static{this.\u0275fac=(()=>{let Ve;return function(p){return(Ve||(Ve=E.xGo(fn)))(p||fn)}})()}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})();class Ct{}class _t{}let Ke=(()=>{class fn{constructor(){this.data=new Map}getItem(Ve){return this.data.get(Ve)}removeItem(Ve){this.data.delete(Ve)}setItem(Ve,He){this.data.set(Ve,He)}static{this.\u0275fac=function(He){return new(He||fn)}}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})();class rt{constructor(Dn){this.type=Dn}}class ut extends rt{constructor(Dn,Ve=null){super(Dn),this.info=Ve}}class kt extends rt{constructor(Dn,Ve=null){super(Dn),this.info=Ve}}class Dt extends rt{constructor(Dn,Ve,He=null){super(Dn),this.reason=Ve,this.params=He}}function Sn(fn){const Dn=fn.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Dn).split("").map(function(Ve){return"%"+("00"+Ve.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function An(fn){return btoa(fn).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class Qn{constructor(Dn){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
1IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=Ve=>{location.href=Ve},Dn&&Object.assign(this,Dn)}}class lr{encodeKey(Dn){return encodeURIComponent(Dn)}encodeValue(Dn){return encodeURIComponent(Dn)}decodeKey(Dn){return decodeURIComponent(Dn)}decodeValue(Dn){return decodeURIComponent(Dn)}}class jn{}class xr{validateAtHash(Dn){var Ve=this;return(0,S.A)(function*(){const He=Ve.inferHashAlgorithm(Dn.idTokenHeader),p=yield Ve.calcHash(Dn.accessToken,He),sn=An(p.substr(0,p.length/2)),bt=Dn.idTokenClaims.at_hash.replace(/=/g,"");return sn!==bt&&(console.error("exptected at_hash: "+sn),console.error("actual at_hash: "+bt)),sn===bt})()}inferHashAlgorithm(Dn){const Ve=Dn.alg;if(!Ve.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+Ve);return"sha-"+Ve.substr(2)}}let tn=(()=>{class fn{getHashFragmentParams(Ve){let He=Ve||window.location.hash;if(He=decodeURIComponent(He),0!==He.indexOf("#"))return{};const p=He.indexOf("?");return He=He.substr(p>-1?p+1:1),this.parseQueryString(He)}parseQueryString(Ve){const He={};let p,Ht,sn,bt,un,Vn;if(null===Ve)return He;const Wn=Ve.split("&");for(let $n=0;$n<Wn.length;$n++)p=Wn[$n],Ht=p.indexOf("="),-1===Ht?(sn=p,bt=null):(sn=p.substr(0,Ht),bt=p.substr(Ht+1)),un=decodeURIComponent(sn),Vn=decodeURIComponent(bt),"/"===un.substr(0,1)&&(un=un.substr(1)),He[un]=Vn;return He}static{this.\u0275fac=function(He){return new(He||fn)}}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})();const Cn=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function En(fn,Dn,Ve,He,p){let Ht,sn,bt,un,Vn,Wn,$n,_r,ur,cr,Yr,gi,ji;for(;p>=64;){for(Ht=Dn[0],sn=Dn[1],bt=Dn[2],un=Dn[3],Vn=Dn[4],Wn=Dn[5],$n=Dn[6],_r=Dn[7],cr=0;cr<16;cr++)Yr=He+4*cr,fn[cr]=(255&Ve[Yr])<<24|(255&Ve[Yr+1])<<16|(255&Ve[Yr+2])<<8|255&Ve[Yr+3];for(cr=16;cr<64;cr++)ur=fn[cr-2],gi=(ur>>>17|ur<<15)^(ur>>>19|ur<<13)^ur>>>10,ur=fn[cr-15],ji=(ur>>>7|ur<<25)^(ur>>>18|ur<<14)^ur>>>3,fn[cr]=(gi+fn[cr-7]|0)+(ji+fn[cr-16]|0);for(cr=0;cr<64;cr++)gi=(((Vn>>>6|Vn<<26)^(Vn>>>11|Vn<<21)^(Vn>>>25|Vn<<7))+(Vn&Wn^~Vn&$n)|0)+(_r+(Cn[cr]+fn[cr]|0)|0)|0,ji=((Ht>>>2|Ht<<30)^(Ht>>>13|Ht<<19)^(Ht>>>22|Ht<<10))+(Ht&sn^Ht&bt^sn&bt)|0,_r=$n,$n=Wn,Wn=Vn,Vn=un+gi|0,un=bt,bt=sn,sn=Ht,Ht=gi+ji|0;Dn[0]+=Ht,Dn[1]+=sn,Dn[2]+=bt,Dn[3]+=un,Dn[4]+=Vn,Dn[5]+=Wn,Dn[6]+=$n,Dn[7]+=_r,He+=64,p-=64}return He}class m{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let Dn=0;Dn<this.buffer.length;Dn++)this.buffer[Dn]=0;for(let Dn=0;Dn<this.temp.length;Dn++)this.temp[Dn]=0;this.reset()}update(Dn,Ve=Dn.length){if(this.finished)throw new Error("SHA256: can't update because hash was finished.");let He=0;if(this.bytesHashed+=Ve,this.bufferLength>0){for(;this.bufferLength<64&&Ve>0;)this.buffer[this.bufferLength++]=Dn[He++],Ve--;64===this.bufferLength&&(En(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(Ve>=64&&(He=En(this.temp,this.state,Dn,He,Ve),Ve%=64);Ve>0;)this.buffer[this.bufferLength++]=Dn[He++],Ve--;return this}finish(Dn){if(!this.finished){const Ve=this.bytesHashed,He=this.bufferLength,p=Ve/536870912|0,Ht=Ve<<3,sn=Ve%64<56?64:128;this.buffer[He]=128;for(let bt=He+1;bt<sn-8;bt++)this.buffer[bt]=0;this.buffer[sn-8]=p>>>24&255,this.buffer[sn-7]=p>>>16&255,this.buffer[sn-6]=p>>>8&255,this.buffer[sn-5]=p>>>0&255,this.buffer[sn-4]=Ht>>>24&255,this.buffer[sn-3]=Ht>>>16&255,this.buffer[sn-2]=Ht>>>8&255,this.buffer[sn-1]=Ht>>>0&255,En(this.temp,this.state,this.buffer,0,sn),this.finished=!0}for(let Ve=0;Ve<8;Ve++)Dn[4*Ve+0]=this.state[Ve]>>>24&255,Dn[4*Ve+1]=this.state[Ve]>>>16&255,Dn[4*Ve+2]=this.state[Ve]>>>8&255,Dn[4*Ve+3]=this.state[Ve]>>>0&255;return this}
1digest(){const Dn=new Uint8Array(this.digestLength);return this.finish(Dn),Dn}_saveState(Dn){for(let Ve=0;Ve<this.state.length;Ve++)Dn[Ve]=this.state[Ve]}_restoreState(Dn,Ve){for(let He=0;He<this.state.length;He++)this.state[He]=Dn[He];this.bytesHashed=Ve,this.finished=!1,this.bufferLength=0}}new Uint8Array(32);class Ci{}let eo=(()=>{class fn{calcHash(Ve,He){return(0,S.A)(function*(){return function oo(fn){const Dn=[];for(let Ve=0;Ve<fn.length;Ve++)Dn.push(String.fromCharCode(fn[Ve]));return Dn.join("")}(function ni(fn){const Dn=(new m).update(fn),Ve=Dn.digest();return Dn.clean(),Ve}(function yo(fn){if("string"!=typeof fn)throw new TypeError("expected string");const Dn=fn,Ve=new Uint8Array(Dn.length);for(let He=0;He<Dn.length;He++)Ve[He]=Dn.charCodeAt(He);return Ve}(Ve)))})()}toHashString2(Ve){let He="";for(const p of Ve)He+=String.fromCharCode(p);return He}toHashString(Ve){const He=new Uint8Array(Ve);let p="";for(const Ht of He)p+=String.fromCharCode(Ht);return p}static{this.\u0275fac=function(He){return new(He||fn)}}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})(),Ut=(()=>{class fn extends Qn{constructor(Ve,He,p,Ht,sn,bt,un,Vn,Wn,$n){super(),this.ngZone=Ve,this.http=He,this.config=sn,this.urlHelper=bt,this.logger=un,this.crypto=Vn,this.dateTimeService=$n,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new A.B,this.discoveryDocumentLoadedSubject=new A.B,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Wn,sn||(sn={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Ht&&(this.tokenValidationHandler=Ht),sn&&this.configure(sn);try{p?this.setStorage(p):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(_r){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",_r)}if(this.checkLocalStorageAccessable()){const _r=window?.navigator?.userAgent;(_r?.includes("MSIE ")||_r?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const Ve="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(Ve,Ve),localStorage.removeItem(Ve),0))}catch{return!1}}configure(Ve){Object.assign(this,new Qn,Ve),this.config=Object.assign({},new Qn,Ve),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,Z.p)(Ve=>"token_received"===Ve.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(Ve={},He,p=!0){let Ht=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,re.M)(sn=>{"token_received"===sn.type?Ht=!0:"logout"===sn.type&&(Ht=!1)}),(0,Z.p)(sn=>"token_expires"===sn.type&&(null==He||"any"===He||sn.info===He)),(0,K.B)(1e3)).subscribe(()=>{Ht&&this.refreshInternal(Ve,p).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(Ve,He){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(Ve,He):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(Ve=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(Ve))}loadDiscoveryDocumentAndLogin(Ve=null){return this.loadDiscoveryDocumentAndTryLogin(Ve=Ve||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof Ve.state?Ve.state:""),!1))}debug(...Ve){this.showDebugInformation&&this.logger.debug(...Ve)}validateUrlFromDiscoveryDocument(Ve){const He=[],p=this.validateUrlForHttps(Ve),Ht=this.validateUrlAgainstIssuer(Ve);return p||He.push("https for all urls required. Also for urls received by discovery."),Ht||He.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),He}validateUrlForHttps(Ve){if(!Ve)return!0;const He=Ve.toLowerCase();return!(!1!==this.requireHttps&&(!He.match(/^http:\/\/localhost($|[:/])/)&&!He.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||He.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(Ve,He){if(!Ve)throw new Error(`'${He}' should not be null`);if(!this.validateUrlForHttps(Ve))throw new Error(`'${He}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(Ve){return!this.strictDiscoveryDocumentValidation||!Ve||Ve.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,Z.p)(Ve=>"token_received"===Ve.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const Ve=this.getAccessTokenExpiration(),He=this.getAccessTokenStoredAt(),p=this.calcTimeout(He,Ve);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,R.of)(new kt("token_expires","access_token")).pipe((0,ce.c)(p)).subscribe(Ht=>{this.ngZone.run(()=>{this.eventsSubject.next(Ht)})})})}setupIdTokenTimer(){const Ve=this.getIdTokenExpiration(),He=this.getIdTokenStoredAt(),p=this.calcTimeout(He,Ve);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,R.of)(new kt("token_expires","id_token")).pipe((0,ce.c)(p)).subscribe(Ht=>{this.ngZone.run(()=>{this.eventsSubject.next(Ht)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}
1calcTimeout(Ve,He){const p=this.dateTimeService.now(),sn=Math.max(0,(He-Ve)*this.timeoutFactor-(p-Ve)),bt=2147483647;return sn>bt?bt:sn}setStorage(Ve){this._storage=Ve,this.configChanged()}loadDiscoveryDocument(Ve=null){return new Promise((He,p)=>{Ve||((Ve=this.issuer||"").endsWith("/")||(Ve+="/"),Ve+=".well-known/openid-configuration"),this.validateUrlForHttps(Ve)?this.http.get(Ve).subscribe(Ht=>{if(!this.validateDiscoveryDocument(Ht))return this.eventsSubject.next(new Dt("discovery_document_validation_error",null)),void p("discovery_document_validation_error");this.loginUrl=Ht.authorization_endpoint,this.logoutUrl=Ht.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Ht.grant_types_supported,this.issuer=Ht.issuer,this.tokenEndpoint=Ht.token_endpoint,this.userinfoEndpoint=Ht.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Ht.jwks_uri,this.sessionCheckIFrameUrl=Ht.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Ht),this.revocationEndpoint=Ht.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(sn=>{const un=new ut("discovery_document_loaded",{discoveryDocument:Ht,jwks:sn});this.eventsSubject.next(un),He(un)}).catch(sn=>{this.eventsSubject.next(new Dt("discovery_document_load_error",sn)),p(sn)})},Ht=>{this.logger.error("error loading discovery document",Ht),this.eventsSubject.next(new Dt("discovery_document_load_error",Ht)),p(Ht)}):p("issuer  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((Ve,He)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(p=>{this.jwks=p,Ve(p)},p=>{this.logger.error("error loading jwks",p),this.eventsSubject.next(new Dt("jwks_load_error",p)),He(p)}):Ve(null)})}validateDiscoveryDocument(Ve){let He;return this.skipIssuerCheck||Ve.issuer===this.issuer?(He=this.validateUrlFromDiscoveryDocument(Ve.authorization_endpoint),He.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",He),!1):(He=this.validateUrlFromDiscoveryDocument(Ve.end_session_endpoint),He.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",He),!1):(He=this.validateUrlFromDiscoveryDocument(Ve.token_endpoint),He.length>0&&this.logger.error("error validating token_endpoint in discovery document",He),He=this.validateUrlFromDiscoveryDocument(Ve.revocation_endpoint),He.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",He),He=this.validateUrlFromDiscoveryDocument(Ve.userinfo_endpoint),He.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",He),!1):(He=this.validateUrlFromDiscoveryDocument(Ve.jwks_uri),He.length>0?(this.logger.error("error validating jwks_uri in discovery document",He),!1):(this.sessionChecksEnabled&&!Ve.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+Ve.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(Ve,He,p=new b.Lr){return this.fetchTokenUsingPasswordFlow(Ve,He,p).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((Ve,He)=>{const p=(new b.Lr).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:p,observe:"response",responseType:"text"}).subscribe(Ht=>{if(this.debug("userinfo received",JSON.stringify(Ht)),Ht.headers.get("content-type").startsWith("application/json")){let sn=JSON.parse(Ht.body);const bt=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!bt.sub||sn.sub!==bt.sub))return void He("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to fal
1se");sn=Object.assign({},bt,sn),this._storage.setItem("id_token_claims_obj",JSON.stringify(sn)),this.eventsSubject.next(new ut("user_profile_loaded")),Ve({info:sn})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new ut("user_profile_loaded")),Ve(JSON.parse(Ht.body))},Ht=>{this.logger.error("error loading user info",Ht),this.eventsSubject.next(new Dt("user_profile_load_error",Ht)),He(Ht)})})}fetchTokenUsingPasswordFlow(Ve,He,p=new b.Lr){return this.fetchTokenUsingGrant("password",{username:Ve,password:He},p)}fetchTokenUsingGrant(Ve,He,p=new b.Lr){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Ht=new b.Nl({encoder:new lr}).set("grant_type",Ve).set("scope",this.scope);if(this.useHttpBasicAuth){const sn=btoa(`${this.clientId}:${this.dummyClientSecret}`);p=p.set("Authorization","Basic "+sn)}if(this.useHttpBasicAuth||(Ht=Ht.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Ht=Ht.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const sn of Object.getOwnPropertyNames(this.customQueryParams))Ht=Ht.set(sn,this.customQueryParams[sn]);for(const sn of Object.keys(He))Ht=Ht.set(sn,He[sn]);return p=p.set("Content-Type","application/x-www-form-urlencoded"),new Promise((sn,bt)=>{this.http.post(this.tokenEndpoint,Ht,{headers:p}).subscribe(un=>{this.debug("tokenResponse",un),this.storeAccessTokenResponse(un.access_token,un.refresh_token,un.expires_in||this.fallbackAccessTokenExpirationTimeInSec,un.scope,this.extractRecognizedCustomParameters(un)),this.oidc&&un.id_token&&this.processIdToken(un.id_token,un.access_token).then(Vn=>{this.storeIdToken(Vn),sn(un)}),this.eventsSubject.next(new ut("token_received")),sn(un)},un=>{this.logger.error("Error performing ${grantType} flow",un),this.eventsSubject.next(new Dt("token_error",un)),bt(un)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((Ve,He)=>{let p=new b.Nl({encoder:new lr}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Ht=(new b.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const sn=btoa(`${this.clientId}:${this.dummyClientSecret}`);Ht=Ht.set("Authorization","Basic "+sn)}if(this.useHttpBasicAuth||(p=p.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(p=p.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const sn of Object.getOwnPropertyNames(this.customQueryParams))p=p.set(sn,this.customQueryParams[sn]);this.http.post(this.tokenEndpoint,p,{headers:Ht}).pipe((0,ue.n)(sn=>this.oidc&&sn.id_token?(0,N.H)(this.processIdToken(sn.id_token,sn.access_token,!0)).pipe((0,re.M)(bt=>this.storeIdToken(bt)),(0,ae.T)(()=>sn)):(0,R.of)(sn))).subscribe(sn=>{this.debug("refresh tokenResponse",sn),this.storeAccessTokenResponse(sn.access_token,sn.refresh_token,sn.expires_in||this.fallbackAccessTokenExpirationTimeInSec,sn.scope,this.extractRecognizedCustomParameters(sn)),this.eventsSubject.next(new ut("token_received")),this.eventsSubject.next(new ut("token_refreshed")),Ve(sn)},sn=>{this.logger.error("Error refreshing token",sn),this.eventsSubject.next(new Dt("token_refresh_error",sn)),He(sn)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=Ve=>{const He=this.processMessageEventMessage(Ve);this.checkOrigin&&Ve.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:He,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(p=>this.debug("tryLogin during silent refresh failed",p))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(Ve={},He=!0){const p=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(Ve.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");
1const Ht=this.document.getElementById(this.silentRefreshIFrameName);Ht&&this.document.body.removeChild(Ht),this.silentRefreshSubject=p.sub;const sn=this.document.createElement("iframe");return sn.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,He,Ve).then($n=>{sn.setAttribute("src",$n),this.silentRefreshShowIFrame||(sn.style.display="none"),this.document.body.appendChild(sn)}),function ve(...fn){return 1===(fn=(0,B.K)(fn)).length?(0,ee.Tg)(fn[0]):new q.c(function U(fn){return Dn=>{let Ve=[];for(let He=0;Ve&&!Dn.closed&&He<fn.length;He++)Ve.push((0,ee.Tg)(fn[He]).subscribe((0,ie._)(Dn,p=>{if(Ve){for(let Ht=0;Ht<Ve.length;Ht++)Ht!==He&&Ve[Ht].unsubscribe();Ve=null}Dn.next(p)})))}}(fn))}([this.events.pipe((0,Z.p)($n=>$n instanceof Dt),(0,te.$)()),this.events.pipe((0,Z.p)($n=>"token_received"===$n.type),(0,te.$)()),(0,R.of)(new Dt("silent_refresh_timeout",null)).pipe((0,ce.c)(this.silentRefreshTimeout))]).pipe((0,ae.T)($n=>{if($n instanceof Dt)throw"silent_refresh_timeout"===$n.type||($n=new Dt("silent_refresh_error",$n)),this.eventsSubject.next($n),$n;return"token_received"===$n.type&&($n=new ut("silently_refreshed"),this.eventsSubject.next($n)),$n})).toPromise()}initImplicitFlowInPopup(Ve){return this.initLoginFlowInPopup(Ve)}initLoginFlowInPopup(Ve){return Ve=Ve||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(He=>new Promise((p,Ht)=>{let un,bt=null;Ve.windowRef?Ve.windowRef&&!Ve.windowRef.closed&&(bt=Ve.windowRef,bt.location.href=He):bt=window.open(He,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(Ve));const Vn=cr=>{this.tryLogin({customHashFragment:cr,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{$n(),p(!0)},Yr=>{$n(),Ht(Yr)})};bt?un=window.setInterval(()=>{(!bt||bt.closed)&&($n(),Ht(new Dt("popup_closed",{})))},500):Ht(new Dt("popup_blocked",{}));const $n=()=>{window.clearInterval(un),window.removeEventListener("storage",ur),window.removeEventListener("message",_r),null!==bt&&bt.close(),bt=null},_r=cr=>{const Yr=this.processMessageEventMessage(cr);Yr&&null!==Yr?(window.removeEventListener("storage",ur),Vn(Yr)):console.log("false event firing")},ur=cr=>{"auth_hash"===cr.key&&(window.removeEventListener("message",_r),Vn(cr.newValue))};window.addEventListener("message",_r),window.addEventListener("storage",ur)}))}calculatePopupFeatures(Ve){const He=Ve.height||470,p=Ve.width||500,Ht=window.screenLeft+(window.outerWidth-p)/2;return`location=no,toolbar=no,width=${p},height=${He},top=${window.screenTop+(window.outerHeight-He)/2},left=${Ht}`}processMessageEventMessage(Ve){let He="#";if(this.silentRefreshMessagePrefix&&(He+=this.silentRefreshMessagePrefix),!Ve||!Ve.data||"string"!=typeof Ve.data)return;const p=Ve.data;return p.startsWith(He)?"#"+p.substr(He.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.get
1SessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=Ve=>{const He=Ve.origin.toLowerCase(),p=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),p.startsWith(He)){switch(Ve.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",Ve)}else this.debug("sessionCheckEventListener","wrong origin",He,"expected",p,"event",Ve)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new kt("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new kt("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new kt("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new kt("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,Z.p)(Ve=>"silently_refreshed"===Ve.type||"silent_refresh_timeout"===Ve.type||"silent_refresh_error"===Ve.type),(0,te.$)()).subscribe(Ve=>{"silently_refreshed"!==Ve.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new kt("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new kt("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const Ve=this.document.getElementById(this.sessionCheckIFrameName);Ve&&this.document.body.removeChild(Ve);const He=this.document.createElement("iframe");He.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),He.setAttribute("src",this.sessionCheckIFrameUrl),He.style.display="none",this.document.body.appendChild(He),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const Ve=this.document.getElementById(this.sessionCheckIFrameName);Ve||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const He=this.getSessionState();He||this.stopSessionCheckTimer(),Ve.contentWindow.postMessage(this.clientId+" "+He,this.issuer)}createLoginUrl(){var Ve=this;return(0,S.A)(function*(He="",p="",Ht="",sn=!1,bt={}){const un=Ve;let Vn;Vn=Ht||Ve.redirectUri;const Wn=yield Ve.createAndSaveNonce();if(He=He?Wn+Ve.config.nonceStateSeparator+encodeURIComponent(He):Wn,!Ve.requestAccessToken&&!Ve.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");Ve.responseType=Ve.config.responseType?Ve.config.responseType:Ve.oidc&&Ve.requestAccessToken?"id_token token":Ve.oidc&&!Ve.requestAccessToken?"id_token":"token";const $n=un.loginUrl.indexOf("?")>-1?"&":"?";let _r=un.scope;Ve.oidc&&!_r.match(/(^|\s)openid($|\s)/)&&(_r="openid "+_r);let ur=un.loginUrl+$n+"response_type="+encodeURIComponent(un.responseType)+"&client_id="+encodeURIComponent(un.clientId)+"&state="+encodeURIComponent(He)+"&redirect_uri="+encodeURIComponent(Vn)+"&scope="+encodeURIComponent(_r);if(Ve.responseType.includes("code")&&!Ve.disablePKCE){const[cr,Yr]=yield Ve.createChallangeVerifierPairForPKCE();Ve.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",Yr):Ve._storage.setItem("PKCE_verifier",Yr),ur+="&code_challenge="+cr,ur+="&code_challenge_method=S256"}p&&(ur+="&login_hint="+encodeURIComponent(p)),un.resource&&(ur+="&resource="+encodeURIComponent(un.resource)),un.oidc&&(ur+="&nonce="+encodeURIComponent(Wn)),sn&&(ur+="&prompt=none");for(const cr of Object.keys(bt))ur+="&"+encodeURIComponent(cr)+"="+encodeURIComponent(bt[cr]);if(Ve.customQueryParams)for(const cr of Object.getOwnPropertyNames(Ve.customQueryParams))ur+="&"+cr+"="+encodeURIComponent(Ve.customQueryParams[cr]);return ur}).apply(this,arguments)}initImplicitFlowInternal(Ve="",He=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let p={},Ht=null;"string"==typeof He?Ht=He:"object"==typeof He&&(p=He),this.createLoginUrl(Ve,Ht,null,!1,p).then(this.config.openUri).catch(sn=>{console.error("Error in initImplicitFlow",sn),this.inImplicitFlow=!1})}initImplicitFlow(Ve="",He=""){""!==this.loginUrl?this.initImplicitFlowInternal(Ve,He):this.events.pipe((0,Z.p)(p=>"discovery_document_loaded"===p.type)).subscribe(()=>this.initImplicitFlowInternal(Ve,He))}resetImplicitFlow(){this.inImplicitFlow=!1}
1callOnTokenReceivedIfExists(Ve){const He=this;if(Ve.onTokenReceived){const p={idClaims:He.getIdentityClaims(),idToken:He.getIdToken(),accessToken:He.getAccessToken(),state:He.state};Ve.onTokenReceived(p)}}storeAccessTokenResponse(Ve,He,p,Ht,sn){if(this._storage.setItem("access_token",Ve),Ht&&!Array.isArray(Ht)?this._storage.setItem("granted_scopes",JSON.stringify(Ht.split(" "))):Ht&&Array.isArray(Ht)&&this._storage.setItem("granted_scopes",JSON.stringify(Ht)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),p){const bt=1e3*p,Vn=this.dateTimeService.new().getTime()+bt;this._storage.setItem("expires_at",""+Vn)}He&&this._storage.setItem("refresh_token",He),sn&&sn.forEach((bt,un)=>{this._storage.setItem(un,bt)})}tryLogin(Ve=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(Ve).then(()=>!0):this.tryLoginImplicitFlow(Ve)}parseQueryString(Ve){return Ve&&0!==Ve.length?("?"===Ve.charAt(0)&&(Ve=Ve.substr(1)),this.urlHelper.parseQueryString(Ve)):{}}tryLoginCodeFlow(){var Ve=this;return(0,S.A)(function*(He=null){const p=(He=He||{}).customHashFragment?He.customHashFragment.substring(1):window.location.search,Ht=Ve.getCodePartsFromUrl(p),sn=Ht.code,bt=Ht.state,un=Ht.session_state;if(!He.preventClearHashAfterLogin){const $n=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,$n)}const[Vn,Wn]=Ve.parseState(bt);if(Ve.state=Wn,Ht.error){Ve.debug("error trying to login"),Ve.handleLoginError(He,Ht);const $n=new Dt("code_error",{},Ht);return Ve.eventsSubject.next($n),Promise.reject($n)}if(!He.disableNonceCheck){if(!Vn)return Ve.saveRequestedRoute(),Promise.resolve();if(!He.disableOAuth2StateCheck&&!Ve.validateNonce(Vn)){const _r=new Dt("invalid_nonce_in_state",null);return Ve.eventsSubject.next(_r),Promise.reject(_r)}}return Ve.storeSessionState(un),sn&&(yield Ve.getTokenFromCode(sn,He),Ve.restoreRequestedRoute()),Promise.resolve()}).apply(this,arguments)}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const Ve=this._storage.getItem("requested_route");Ve&&history.replaceState(null,"",window.location.origin+Ve)}getCodePartsFromUrl(Ve){return Ve&&0!==Ve.length?("?"===Ve.charAt(0)&&(Ve=Ve.substr(1)),this.urlHelper.parseQueryString(Ve)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(Ve,He){let p=new b.Nl({encoder:new lr}).set("grant_type","authorization_code").set("code",Ve).set("redirect_uri",He.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Ht;Ht=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Ht?p=p.set("code_verifier",Ht):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(p,He)}fetchAndProcessToken(Ve,He){He=He||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let p=(new b.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ht=btoa(`${this.clientId}:${this.dummyClientSecret}`);p=p.set("Authorization","Basic "+Ht)}return this.useHttpBasicAuth||(Ve=Ve.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Ve=Ve.set("client_secret",this.dummyClientSecret)),new Promise((Ht,sn)=>{if(this.customQueryParams)for(const bt of Object.getOwnPropertyNames(this.customQueryParams))Ve=Ve.set(bt,this.customQueryParams[bt]);this.http.post(this.tokenEndpoint,Ve,{headers:p}).subscribe(bt=>{this.debug("refresh tokenResponse",bt),this.storeAccessTokenResponse(bt.access_token,bt.refresh_token,bt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,bt.scope,this.extractRecognizedCustomParameters(bt)),this.oidc&&bt.id_token?this.processIdToken(bt.id_token,bt.access_token,He.disableNonceCheck).then(un=>{this.storeIdToken(un),this.eventsSubject.next(new ut("token_received")),this.eventsSubject.next(new ut("token_refreshed")),Ht(bt)}).catch(un=>{this.eventsSubject.next(new Dt("token_validation_error",un)),console.error("Error validating tokens"),console.error(un),sn(un)}):(this.eventsSubject.next(new ut("token_received")),this.eventsSubject.next(new ut("token_refreshed")),Ht(bt))},bt=>{console.error("Error getting token",bt),this.eventsSubject.next(new Dt("token_error",bt)),sn(bt)})})}tryLoginImplicitFlow(Ve=null){let He;He=(Ve=Ve||{}
1).customHashFragment?this.urlHelper.getHashFragmentParams(Ve.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",He);const p=He.state,[Ht,sn]=this.parseState(p);if(this.state=sn,He.error){this.debug("error trying to login"),this.handleLoginError(Ve,He);const $n=new Dt("token_error",{},He);return this.eventsSubject.next($n),Promise.reject($n)}const bt=He.access_token,un=He.id_token,Vn=He.session_state,Wn=He.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!bt||this.requestAccessToken&&!Ve.disableOAuth2StateCheck&&!p||this.oidc&&!un)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!Vn&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!Ve.disableNonceCheck&&!this.validateNonce(Ht)){const _r=new Dt("invalid_nonce_in_state",null);return this.eventsSubject.next(_r),Promise.reject(_r)}return this.requestAccessToken&&this.storeAccessTokenResponse(bt,null,He.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Wn),this.oidc?this.processIdToken(un,bt,Ve.disableNonceCheck).then($n=>Ve.validationHandler?Ve.validationHandler({accessToken:bt,idClaims:$n.idTokenClaims,idToken:$n.idToken,state:p}).then(()=>$n):$n).then($n=>(this.storeIdToken($n),this.storeSessionState(Vn),this.clearHashAfterLogin&&!Ve.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new ut("token_received")),this.callOnTokenReceivedIfExists(Ve),this.inImplicitFlow=!1,!0)).catch($n=>(this.eventsSubject.next(new Dt("token_validation_error",$n)),this.logger.error("Error validating tokens"),this.logger.error($n),Promise.reject($n))):(this.eventsSubject.next(new ut("token_received")),this.clearHashAfterLogin&&!Ve.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(Ve),Promise.resolve(!0))}parseState(Ve){let He=Ve,p="";if(Ve){const Ht=Ve.indexOf(this.config.nonceStateSeparator);Ht>-1&&(He=Ve.substr(0,Ht),p=Ve.substr(Ht+this.config.nonceStateSeparator.length))}return[He,p]}validateNonce(Ve){let He;return He=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),He===Ve||(console.error("Validating access_token failed, wrong state/nonce.",He,Ve),!1)}storeIdToken(Ve){this._storage.setItem("id_token",Ve.idToken),this._storage.setItem("id_token_claims_obj",Ve.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+Ve.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.n
1ow())}storeSessionState(Ve){this._storage.setItem("session_state",Ve)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(Ve,He){Ve.onLoginError&&Ve.onLoginError(He),this.clearHashAfterLogin&&!Ve.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(Ve=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:Ve}processIdToken(Ve,He,p=!1){const Ht=Ve.split("."),bt=Sn(this.padBase64(Ht[0])),un=JSON.parse(bt),Wn=Sn(this.padBase64(Ht[1])),$n=JSON.parse(Wn);let _r;if(_r=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray($n.aud)){if($n.aud.every(er=>er!==this.clientId)){const er="Wrong audience: "+$n.aud.join(",");return this.logger.warn(er),Promise.reject(er)}}else if($n.aud!==this.clientId){const er="Wrong audience: "+$n.aud;return this.logger.warn(er),Promise.reject(er)}if(!$n.sub){const er="No sub claim in id_token";return this.logger.warn(er),Promise.reject(er)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==$n.sub){const er=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${$n.sub}`;return this.logger.warn(er),Promise.reject(er)}if(!$n.iat){const er="No iat claim in id_token";return this.logger.warn(er),Promise.reject(er)}if(!this.skipIssuerCheck&&$n.iss!==this.issuer){const er="Wrong issuer: "+$n.iss;return this.logger.warn(er),Promise.reject(er)}if(!p&&$n.nonce!==_r){const er="Wrong nonce: "+$n.nonce;return this.logger.warn(er),Promise.reject(er)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!$n.at_hash){const er="An at_hash is needed!";return this.logger.warn(er),Promise.reject(er)}
1const ur=this.dateTimeService.now(),cr=1e3*$n.iat,Yr=1e3*$n.exp,gi=this.getClockSkewInMsec();if(cr-gi>=ur||Yr+gi-this.decreaseExpirationBySec<=ur){const er="Token has expired";return console.error(er),console.error({now:ur,issuedAtMSec:cr,expiresAtMSec:Yr}),Promise.reject(er)}const ji={accessToken:He,idToken:Ve,jwks:this.jwks,idTokenClaims:$n,idTokenHeader:un,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ji).then(()=>({idToken:Ve,idTokenClaims:$n,idTokenClaimsJson:Wn,idTokenHeader:un,idTokenHeaderJson:bt,idTokenExpiresAt:Yr})):this.checkAtHash(ji).then(er=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!er){const mo="Wrong at_hash";return this.logger.warn(mo),Promise.reject(mo)}return this.checkSignature(ji).then(()=>{const ei={idToken:Ve,idTokenClaims:$n,idTokenClaimsJson:Wn,idTokenHeader:un,idTokenHeaderJson:bt,idTokenExpiresAt:Yr};return this.disableAtHashCheck?ei:this.checkAtHash(ji).then(Ho=>{if(this.requestAccessToken&&!Ho){const Ei="Wrong at_hash";return this.logger.warn(Ei),Promise.reject(Ei)}return ei})})})}getIdentityClaims(){const Ve=this._storage.getItem("id_token_claims_obj");return Ve?JSON.parse(Ve):null}getGrantedScopes(){const Ve=this._storage.getItem("granted_scopes");return Ve?JSON.parse(Ve):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(Ve){for(;Ve.length%4!=0;)Ve+="=";return Ve}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const Ve=this._storage.getItem("expires_at"),He=this.dateTimeService.new();return!(Ve&&parseInt(Ve,10)-this.decreaseExpirationBySec<He.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){const Ve=this._storage.getItem("id_token_expires_at"),He=this.dateTimeService.new();return!(Ve&&parseInt(Ve,10)-this.decreaseExpirationBySec<He.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(Ve){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(Ve)>=0&&null!==this._storage.getItem(Ve)?JSON.parse(this._storage.getItem(Ve)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(Ve={},He=""){let p=!1;"boolean"==typeof Ve&&(p=Ve,Ve={});const Ht=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(bt=>this._storage.removeItem(bt)),this.silentRefreshSubject=null,this.eventsSubject.next(new kt("logout")),!this.logoutUrl||p)return;let sn;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)sn=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(Ht)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let bt=new b.Nl({encoder:new lr});Ht&&(bt=bt.set("id_token_hint",Ht));const un=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";un&&(bt=bt.set("post_logout_redirect_uri",un),He&&(bt=bt.set("state",He)));for(const Vn in Ve)bt=bt.set(Vn,Ve[Vn]);sn=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+bt.toString()}this.config.openUri(sn)}createAndSaveNonce(){const Ve=this;return this.createNonce().then(function(He){return Ve.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",He):Ve._storage.setItem("nonce",He),He})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
1const Ve=this.document.getElementById(this.silentRefreshIFrameName);Ve&&Ve.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const He=this.document.getElementById(this.sessionCheckIFrameName);He&&He.remove()}createNonce(){return new Promise(Ve=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let p=45,Ht="";const sn=typeof self>"u"?null:self.crypto||self.msCrypto;if(sn){let bt=new Uint8Array(p);sn.getRandomValues(bt),bt.map||(bt.map=Array.prototype.map),bt=bt.map(un=>He.charCodeAt(un%66)),Ht=String.fromCharCode.apply(null,bt)}else for(;0<p--;)Ht+=He[66*Math.random()|0];Ve(An(Ht))})}checkAtHash(Ve){var He=this;return(0,S.A)(function*(){return He.tokenValidationHandler?He.tokenValidationHandler.validateAtHash(Ve):(He.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})()}checkSignature(Ve){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(Ve):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(Ve="",He={}){return"code"===this.responseType?this.initCodeFlow(Ve,He):this.initImplicitFlow(Ve,He)}initCodeFlow(Ve="",He={}){""!==this.loginUrl?this.initCodeFlowInternal(Ve,He):this.events.pipe((0,Z.p)(p=>"discovery_document_loaded"===p.type)).subscribe(()=>this.initCodeFlowInternal(Ve,He))}initCodeFlowInternal(Ve="",He={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let p={},Ht=null;"string"==typeof He?Ht=He:"object"==typeof He&&(p=He),this.createLoginUrl(Ve,Ht,null,!1,p).then(this.config.openUri).catch(sn=>{console.error("Error in initAuthorizationCodeFlow"),console.error(sn)})}createChallangeVerifierPairForPKCE(){var Ve=this;return(0,S.A)(function*(){if(!Ve.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const He=yield Ve.createNonce();return[An(yield Ve.crypto.calcHash(He,"sha-256")),He]})()}extractRecognizedCustomParameters(Ve){const He=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(p=>{Ve[p]&&He.set(p,JSON.stringify(Ve[p]))}),He}revokeTokenAndLogout(Ve={},He=!1){const p=this.revocationEndpoint,Ht=this.getAccessToken(),sn=this.getRefreshToken();if(!Ht)return Promise.resolve();let bt=new b.Nl({encoder:new lr}),un=(new b.Lr).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Vn=btoa(`${this.clientId}:${this.dummyClientSecret}`);un=un.set("Authorization","Basic "+Vn)}if(this.useHttpBasicAuth||(bt=bt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(bt=bt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Vn of Object.getOwnPropertyNames(this.customQueryParams))bt=bt.set(Vn,this.customQueryParams[Vn]);return new Promise((Vn,Wn)=>{let $n,_r;if(Ht){const ur=bt.set("token",Ht).set("token_type_hint","access_token");$n=this.http.post(p,ur,{headers:un})}else $n=(0,R.of)(null);if(sn){const ur=bt.set("token",sn).set("token_type_hint","refresh_token");_r=this.http.post(p,ur,{headers:un})}else _r=(0,R.of)(null);He&&($n=$n.pipe((0,de.W)(ur=>0===ur.status?(0,R.of)(null):(0,ne.$)(ur))),_r=_r.pipe((0,de.W)(ur=>0===ur.status?(0,R.of)(null):(0,ne.$)(ur)))),(0,X.z)([$n,_r]).subscribe(ur=>{this.logOut(Ve),Vn(ur),this.logger.info("Token successfully revoked")},ur=>{this.logger.error("Error revoking token",ur),this.eventsSubject.next(new Dt("token_revoke_error",ur)),Wn(ur)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static{this.\u0275fac=function(He){return new(He||fn)(M.KVO(E.SKi),M.KVO(b.Qq),M.KVO(_t,8),M.KVO(jn,8),M.KVO(Qn,8),M.KVO(tn),M.KVO(Ct),M.KVO(Ci,8),M.KVO(M.qQL),M.KVO(ke))}}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})();class pt{}class at{handleError(Dn){return(0,ne.$)(Dn)}}let Tt=(()=>{class fn{constructor(Ve,He,p){this.oAuthService=Ve,this.errorHandler=He,this.moduleConfig=p}checkUrl(Ve){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(Ve):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(He=>Ve.toLowerCase().startsWith(He.toLowerCase()))}intercept(Ve,He){const p=Ve.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(p)?this.moduleConfig.resourceServer.sendAccessToken?(0,W.h)((0,R.of)(this.oAuthService.getAccessToken()).pipe((0,Z.p)(sn=>!!sn)),this.oAuthService.events.pipe((0,Z.p)(sn=>"token_received"===sn.type),function Ye(fn,Dn){const{first:Ve,each:He,with:p=Je,scheduler:Ht=Dn??_e.E,meta:sn=null}=(0,we.v)(fn)?{first:fn}:"number"==typeof fn?{each:fn}:fn;if(null==Ve&&null==He)throw new TypeError("No timeout provided.");return(0,De.N)((bt,un)=>{let Vn,Wn,$n=null,_r=0;const ur=cr=>{Wn=(0,Me.N)(un,Ht,()=>{try{Vn.unsubscribe(),(0,ee.Tg)(p({meta:sn,lastValue:$n,seen:_r})).subscribe(un)}catch(Yr){un.error(Yr)}},cr)};Vn=bt.subscribe((0,ie._)(un,cr=>{Wn?.unsubscribe(),_r++,un.next($n=cr),He>0&&ur(He)},void 0,void 0,()=>{Wn?.closed||Wn?.unsubscribe(),$n=null})),!_r&&ur(null!=Ve?"number"==typeof Ve?Ve:+Ve-Ht.now():He)})}(this.oAuthService.waitForTokenInMsec||0),(0,de.W)(()=>(0,R.of)(null)),(0,ae.T)(()=>this.oAuthService.getAccessToken()))).pipe((0,vt.s)(1),(0,$t.Z)(sn=>{if(sn){const un=Ve.headers.set("Authorization","Bearer "+sn);Ve=Ve.clone({headers:un})}return He.handle(Ve).pipe((0,de.W)(bt=>this.errorHandler.handleError(bt)))})):He.handle(Ve).pipe((0,de.W)(sn=>this.errorHandler.handleError(sn))):He.handle(Ve)}static{this.\u0275fac=function(He){return new(He||fn)(M.KVO(Ut),M.KVO(pt),M.KVO(xt,8))}}static{this.\u0275prov=M.jDH({token:fn,factory:fn.\u0275fac})}}return fn})();function Bt(){return console}function Xt(){return typeof sessionStorage<"u"?sessionStorage:new Ke}function Pt(fn=null,Dn=Et){return(0,M.EmA)([Ut,tn,{provide:Ct,useFactory:Bt},{provide:_t,useFactory:Xt},{provide:jn,useClass:Dn},{provide:Ci,useClass:eo},{provide:pt,useClass:at},{provide:xt,useValue:fn},{provide:b.a7,useClass:Tt,multi:!0},{provide:ke,useClass:qe}])}let wt=(()=>{class fn{static forRoot(Ve=null,He=Et){return{ngModule:fn,providers:[Pt(Ve,He)]}}static{this.\u0275fac=function(He){return new(He||fn)}}static{this.\u0275mod=E.$C({type:fn})}static{this.\u0275inj=M.G2t({imports:[f.MD]})}}return fn})()},68866(Vt,Pe,d){"use strict";d.d(Pe,{s:()=>f});
1class S extends Error{}function f(b,A){if("string"!=typeof b)throw new S("Invalid token specified: must be a string");A||(A={});const R=!0===A.header?0:1,N=b.split(".")[R];if("string"!=typeof N)throw new S(`Invalid token specified: missing part #${R+1}`);let q;try{q=function M(b){let A=b.replace(/-/g,"+").replace(/_/g,"/");switch(A.length%4){case 0:break;case 2:A+="==";break;case 3:A+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function E(b){return decodeURIComponent(atob(b).replace(/(.)/g,(A,R)=>{let N=R.charCodeAt(0).toString(16).toUpperCase();return N.length<2&&(N="0"+N),"%"+N}))}(A)}catch{return atob(A)}}(N)}catch(ee){throw new S(`Invalid token specified: invalid base64 for part #${R+1} (${ee.message})`)}try{return JSON.parse(q)}catch(ee){throw new S(`Invalid token specified: invalid json for part #${R+1} (${ee.message})`)}}S.prototype.name="InvalidTokenError"},35886(Vt,Pe,d){"use strict";d.d(Pe,{z$:()=>X});var S=d(2615),E=d(29330),M=d(71985),f=d(58750),b=d(21413),A=d(39974),R=d(54360);var q=d(11966),ee=d(77048),B=d(35335),ie=d(88141);const ve={keepAlive:!0,reconnectionDelay:3e3,responseType:"event"},U={observe:"events",reportProgress:!0,responseType:"text"};let ne=(()=>{class W{httpClient;sseOptions;httpClientOptions;url;method;static SEPARATOR=":";progress=0;chunk="";constructor(re,K,ce,ue,ae){this.httpClient=re,this.sseOptions=K,this.httpClientOptions=ce,this.url=ue,this.method=ae}createObservable(){return new M.c(re=>{const K=this.subscribeStreamRequest(this.url,this.sseOptions,this.httpClientOptions,this.method,re);return()=>K.unsubscribe()})}subscribeStreamRequest(re,K,ce,ue,ae){return this.httpClient.request(ue,re,ce).pipe(function N(W){return(0,A.N)((Z,re)=>{let K,ue,ce=!1,ae=!1,te=!1;const de=()=>te&&ae&&(re.complete(),!0),we=()=>{te=!1,K=Z.subscribe((0,R._)(re,void 0,()=>{te=!0,!de()&&(ue||(ue=new b.B,(0,f.Tg)(W(ue)).subscribe((0,R._)(re,()=>{K?we():ce=!0},()=>{ae=!0,de()}))),ue).next()})),ce&&(K.unsubscribe(),K=null,ce=!1,we())};we()})}(te=>this.repeatWhen(te,K.keepAlive,K.reconnectionDelay))).pipe((0,q.l)(te=>this.retryWhen(te,K.keepAlive,K.reconnectionDelay,ae))).subscribe(te=>this.parseStreamEvent(te,ae))}repeatWhen(re,K,ce){return re.pipe((0,ee.v)(()=>K)).pipe((0,B.c)(ce))}retryWhen(re,K,ce,ue){return re.pipe((0,ie.M)(ae=>this.threatRequestError(ae,ue))).pipe((0,ee.v)(()=>K)).pipe((0,B.c)(ce))}threatRequestError(re,K){this.dispatchStreamData(this.errorEvent(re),K),this.isValidStatus(re.status)||K.error(re)}isValidStatus(re){return null!=re&&re<=299}parseStreamEvent(re,K){re.type!==E.hv.Sent?re.type!==E.hv.DownloadProgress?re.type!==E.hv.Response||this.onStreamCompleted(re,K):this.onStreamProgress(re.partialText,K):this.progress=0}onStreamProgress(re,K){re&&(re=re.substring(this.progress),this.progress+=re.length,re.split(/(\r\n|\r|\n){2}/g).forEach(ce=>this.parseEventData(ce,K)))}onStreamCompleted(re,K){this.onStreamProgress(re.body,K),this.dispatchStreamData(this.parseEventChunk(this.chunk),K),this.chunk="",this.progress=0,this.sseOptions.keepAlive?this.dispatchStreamData(this.errorEvent({status:1,message:`Server response ended, will reconnect in ${this.sseOptions.reconnectionDelay}ms`}),K):K.complete()}parseEventData(re,K){0===re.trim().length?(this.dispatchStreamData(this.parseEventChunk(this.chunk),K),this.chunk=""):this.chunk+=re}parseEventChunk(re){if(!re||0===re.length)return;const K={id:void 0,data:"",event:"message"};
1return re.split(/\n|\r\n|\r/).forEach(ce=>this.parseChunkLine(ce.trim(),K)),this.messageEvent(K.event,{lastEventId:K.id,data:K.data})}parseChunkLine(re,K){const ce=re.indexOf(W.SEPARATOR);if(ce<=0)return;const ue=re.substring(0,ce);if(-1===Object.keys(K).findIndex(te=>te===ue))return;let ae=re.substring(ce+1).replace(/^\s/,"");"data"===ue&&(ae=K.data+ae),K[ue]=ae}dispatchStreamData(re,K){this.validEvent(re)&&K.next("event"===this.sseOptions.responseType?re:re.data)}validEvent(re){return!(!re||"error"===re.type&&"event"!==this.sseOptions.responseType||"error"!==re.type&&(!re.data||!re.data.length))}messageEvent(re,K){return new MessageEvent(re,K)}errorEvent(re){let K;return re&&re.status>0&&(K={error:re,message:re.message},this.isValidStatus(re.status)||(K.status=re.status,K.statusText=re.statusText)),new ErrorEvent("error",K)}}return W})(),X=(()=>{class W{httpClient;constructor(re){this.httpClient=re}stream(re,K,ce,ue="GET"){var ae=Object.assign({},ve,K),te=Object.assign({},ce,U);return new ne(this.httpClient,ae,te,re,ue).createObservable()}static \u0275fac=function(K){return new(K||W)(S.KVO(E.Qq))};static \u0275prov=S.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})()},24700(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>f});var S=d(27606),E=d(38036),M=d(84015);function f({swiper:b,extendParams:A,on:R}){A({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),b.a11y={clicked:!1};let q,ee,N=null,B=(new Date).getTime();function ie(Et){0!==N.length&&(0,M.s)(N,Et)}function U(Et){(Et=(0,M.m)(Et)).forEach(xt=>{xt.setAttribute("tabIndex","0")})}function ne(Et){(Et=(0,M.m)(Et)).forEach(xt=>{xt.setAttribute("tabIndex","-1")})}function X(Et,xt){(Et=(0,M.m)(Et)).forEach(Ot=>{Ot.setAttribute("role",xt)})}function W(Et,xt){(Et=(0,M.m)(Et)).forEach(Ot=>{Ot.setAttribute("aria-roledescription",xt)})}function Z(Et,xt){(Et=(0,M.m)(Et)).forEach(Ot=>{Ot.setAttribute("aria-label",xt)})}function ce(Et){(Et=(0,M.m)(Et)).forEach(xt=>{xt.setAttribute("aria-disabled",!0)})}function ue(Et){(Et=(0,M.m)(Et)).forEach(xt=>{xt.removeAttribute("aria-disabled")})}function ae(Et){if(13!==Et.keyCode&&32!==Et.keyCode)return;const xt=b.params.a11y,Ot=Et.target;if(!b.pagination||!b.pagination.el||Ot!==b.pagination.el&&!b.pagination.el.contains(Et.target)||Et.target.matches((0,E.c)(b.params.pagination.bulletClass))){if(b.navigation&&b.navigation.prevEl&&b.navigation.nextEl){const ke=(0,M.m)(b.navigation.prevEl);(0,M.m)(b.navigation.nextEl).includes(Ot)&&(b.isEnd&&!b.params.loop||b.slideNext(),ie(b.isEnd?xt.lastSlideMessage:xt.nextSlideMessage)),ke.includes(Ot)&&(b.isBeginning&&!b.params.loop||b.slidePrev(),ie(b.isBeginning?xt.firstSlideMessage:xt.prevSlideMessage))}b.pagination&&Ot.matches((0,E.c)(b.params.pagination.bulletClass))&&Ot.click()}}function de(){return b.pagination&&b.pagination.bullets&&b.pagination.bullets.length}function _e(){return de()&&b.params.pagination.clickable}const De=(Et,xt,Ot)=>{U(Et),"BUTTON"!==Et.tagName&&(X(Et,"button"),Et.addEventListener("keydown",ae)),Z(Et,Ot)},Ie=Et=>{ee&&ee!==Et.target&&!ee.contains(Et.target)&&(q=!0),b.a11y.clicked=!0},Me=()=>{q=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{b.destroyed||(b.a11y.clicked=!1)})})},Ze=Et=>{B=(new Date).getTime()},Ye=Et=>{if(b.a11y.clicked||!b.params.a11y.scrollOnFocus||(new Date).getTime()-B<100)return;const xt=Et.target.closest(`.${b.params.slideClass}, swiper-slide`);if(!xt||!b.slides.includes(xt))return;ee=xt;const Ot=b.virtual&&b.params.virtual.enabled,ke=(Ot?parseInt(xt.getAttribute("data-swiper-slide-index"),10):b.slides.indexOf(xt))===b.activeIndex,qe=b.params.watchSlidesProgress&&b.visibleSlides&&b.visibleSlides.includes(xt);ke||qe||Et.sourceCapabilities&&Et.sourceCapabilities.firesTouchEvents||(b.isHorizontal()?b.el.scrollLeft=0:b.el.scrollTop=0,requestAnimationFrame(()=>
1{q||(b.params.loop?b.slideToLoop(b.getSlideIndexWhenGrid(parseInt(xt.getAttribute("data-swiper-slide-index"))),0):b.slideTo(b.getSlideIndexWhenGrid(Ot?parseInt(xt.getAttribute("data-swiper-slide-index"),10):b.slides.indexOf(xt)),0),q=!1)}))},Je=()=>{const Et=b.params.a11y;Et.itemRoleDescriptionMessage&&W(b.slides,Et.itemRoleDescriptionMessage),Et.slideRole&&X(b.slides,Et.slideRole);const xt=b.slides.length;Et.slideLabelMessage&&b.slides.forEach((Ot,ke)=>{const qe=b.params.loop?parseInt(Ot.getAttribute("data-swiper-slide-index"),10):ke;Z(Ot,Et.slideLabelMessage.replace(/\{\{index\}\}/,qe+1).replace(/\{\{slidesLength\}\}/,xt))})};R("beforeInit",()=>{N=(0,M.c)("span",b.params.a11y.notificationClass),N.setAttribute("aria-live","assertive"),N.setAttribute("aria-atomic","true")}),R("afterInit",()=>{b.params.a11y.enabled&&(()=>{const Et=b.params.a11y;b.el.append(N);const xt=b.el;Et.containerRoleDescriptionMessage&&W(xt,Et.containerRoleDescriptionMessage),Et.containerMessage&&Z(xt,Et.containerMessage),Et.containerRole&&X(xt,Et.containerRole);const Ot=b.wrapperEl,ke=Et.id||Ot.getAttribute("id")||`swiper-wrapper-${function ve(Et=16){return"x".repeat(Et).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;(function re(Et,xt){(Et=(0,M.m)(Et)).forEach(Ot=>{Ot.setAttribute("id",xt)})})(Ot,ke),Et.wrapperLiveRegion&&function K(Et,xt){(Et=(0,M.m)(Et)).forEach(Ot=>{Ot.setAttribute("aria-live",xt)})}(Ot,b.params.autoplay&&b.params.autoplay.enabled?"off":"polite"),Je();let{nextEl:qe,prevEl:At}=b.navigation?b.navigation:{};qe=(0,M.m)(qe),At=(0,M.m)(At),qe&&qe.forEach(_t=>De(_t,0,Et.nextSlideMessage)),At&&At.forEach(_t=>De(_t,0,Et.prevSlideMessage)),_e()&&(0,M.m)(b.pagination.el).forEach(Ke=>{Ke.addEventListener("keydown",ae)}),(0,S.g)().addEventListener("visibilitychange",Ze),b.el.addEventListener("focus",Ye,!0),b.el.addEventListener("pointerdown",Ie,!0),b.el.addEventListener("pointerup",Me,!0)})()}),R("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{b.params.a11y.enabled&&Je()}),R("fromEdge toEdge afterInit lock unlock",()=>{b.params.a11y.enabled&&function te(){if(b.params.loop||b.params.rewind||!b.navigation)return;const{nextEl:Et,prevEl:xt}=b.navigation;xt&&(b.isBeginning?(ce(xt),ne(xt)):(ue(xt),U(xt))),Et&&(b.isEnd?(ce(Et),ne(Et)):(ue(Et),U(Et)))}()}),R("paginationUpdate",()=>{b.params.a11y.enabled&&function we(){const Et=b.params.a11y;de()&&b.pagination.bullets.forEach(xt=>{b.params.pagination.clickable&&(U(xt),b.params.pagination.renderBullet||(X(xt,"button"),Z(xt,Et.paginationBulletMessage.replace(/\{\{index\}\}/,(0,M.j)(xt)+1)))),xt.matches((0,E.c)(b.params.pagination.bulletActiveClass))?xt.setAttribute("aria-current","true"):xt.removeAttribute("aria-current")})}()}),R("destroy",()=>{b.params.a11y.enabled&&function $t(){N&&N.remove();let{nextEl:Et,prevEl:xt}=b.navigation?b.navigation:{};Et=(0,M.m)(Et),xt=(0,M.m)(xt),Et&&Et.forEach(ke=>ke.removeEventListener("keydown",ae)),xt&&xt.forEach(ke=>ke.removeEventListener("keydown",ae)),_e()&&(0,M.m)(b.pagination.el).forEach(qe=>{qe.removeEventListener("keydown",ae)}),(0,S.g)().removeEventListener("visibilitychange",Ze),b.el&&"string"!=typeof b.el&&(b.el.removeEventListener("focus",Ye,!0),b.el.removeEventListener("pointerdown",Ie,!0),b.el.removeEventListener("pointerup",Me,!0))}()})}},69247(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(27606);function E({swiper:M,extendParams:f,on:b,emit:A,params:R}){M.autoplay={running:!1,paused:!1,timeLeft:0},f({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let N,q,ie,U,ne,X,W,Z,re,ee=R&&R.autoplay?R.autoplay.delay:3e3,B=R&&R.autoplay?R.autoplay.delay:3e3,ve=(new Date).getTime();function K(Et){!M||M.destroyed||!M.wrapperEl||Et.target===M.wrapperEl&&(M.wrapperEl.removeEventListener("transitionend",K),!(re||Et.detail&&Et.detail.bySwiperTouchMove)&&De())}const ce=()=>{if(M.destroyed||!M.autoplay.running)return;M.autoplay.paused?U=!0:U&&(B=ie,U=!1);const Et=M.autoplay.paused?ie:ve+B-(new Date).getTime();M.autoplay.timeLeft=Et,A("autoplayTimeLeft",Et,Et/ee),q=requestAnimationFrame(()=>{ce()})},ae=()=>{let Et=M.params.autoplay.delay;const xt=(()=>{let Et;return Et=M.virtual&&M.params.virtual.enabled?M.slides.find(Ot=>Ot.classList.contains("swiper-slide-active")):M.slides[M.activeIndex],Et?parseInt(Et.getAttribute("data-swiper-autoplay"),
110):void 0})();return!Number.isNaN(xt)&&xt>0&&(Et=xt),Et},te=Et=>{if(M.destroyed||!M.autoplay.running)return;cancelAnimationFrame(q),ce();let xt=Et;typeof xt>"u"&&(xt=ae(),ee=xt,B=xt),ie=xt;const Ot=M.params.speed,ke=()=>{!M||M.destroyed||(M.params.autoplay.reverseDirection?!M.isBeginning||M.params.loop||M.params.rewind?(M.slidePrev(Ot,!0,!0),A("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(M.slides.length-1,Ot,!0,!0),A("autoplay")):!M.isEnd||M.params.loop||M.params.rewind?(M.slideNext(Ot,!0,!0),A("autoplay")):M.params.autoplay.stopOnLastSlide||(M.slideTo(0,Ot,!0,!0),A("autoplay")),M.params.cssMode&&(ve=(new Date).getTime(),requestAnimationFrame(()=>{te()})))};return xt>0?(clearTimeout(N),N=setTimeout(()=>{ke()},xt)):requestAnimationFrame(()=>{ke()}),xt},de=()=>{ve=(new Date).getTime(),M.autoplay.running=!0,te(),A("autoplayStart")},_e=()=>{M.autoplay.running=!1,clearTimeout(N),cancelAnimationFrame(q),A("autoplayStop")},we=(Et,xt)=>{if(M.destroyed||!M.autoplay.running)return;clearTimeout(N),Et||(Z=!0);const Ot=()=>{A("autoplayPause"),M.params.autoplay.waitForTransition?M.wrapperEl.addEventListener("transitionend",K):De()};M.autoplay.paused=!0,xt?Ot():(ie=(ie||M.params.autoplay.delay)-((new Date).getTime()-ve),(!(M.isEnd&&ie<0)||M.params.loop)&&(ie<0&&(ie=0),Ot()))},De=()=>{M.isEnd&&ie<0&&!M.params.loop||M.destroyed||!M.autoplay.running||(ve=(new Date).getTime(),Z?(Z=!1,te(ie)):te(),M.autoplay.paused=!1,A("autoplayResume"))},Ie=()=>{if(M.destroyed||!M.autoplay.running)return;const Et=(0,S.g)();"hidden"===Et.visibilityState&&(Z=!0,we(!0)),"visible"===Et.visibilityState&&De()},Me=Et=>{"mouse"===Et.pointerType&&(Z=!0,re=!0,!M.animating&&!M.autoplay.paused&&we(!0))},Ze=Et=>{"mouse"===Et.pointerType&&(re=!1,M.autoplay.paused&&De())};b("init",()=>{M.params.autoplay.enabled&&(M.params.autoplay.pauseOnMouseEnter&&(M.el.addEventListener("pointerenter",Me),M.el.addEventListener("pointerleave",Ze)),(0,S.g)().addEventListener("visibilitychange",Ie),de())}),b("destroy",()=>{M.el&&"string"!=typeof M.el&&(M.el.removeEventListener("pointerenter",Me),M.el.removeEventListener("pointerleave",Ze)),(0,S.g)().removeEventListener("visibilitychange",Ie),M.autoplay.running&&_e()}),b("_freeModeStaticRelease",()=>{(X||Z)&&De()}),b("_freeModeNoMomentumRelease",()=>{M.params.autoplay.disableOnInteraction?_e():we(!0,!0)}),b("beforeTransitionStart",(Et,xt,Ot)=>{M.destroyed||!M.autoplay.running||(Ot||!M.params.autoplay.disableOnInteraction?we(!0,!0):_e())}),b("sliderFirstMove",()=>{if(!M.destroyed&&M.autoplay.running){if(M.params.autoplay.disableOnInteraction)return void _e();ne=!0,X=!1,Z=!1,W=setTimeout(()=>{Z=!0,X=!0,we(!0)},200)}}),b("touchEnd",()=>{if(!M.destroyed&&M.autoplay.running&&ne){if(clearTimeout(W),clearTimeout(N),M.params.autoplay.disableOnInteraction)return X=!1,void(ne=!1);X&&M.params.cssMode&&De(),X=!1,ne=!1}}),b("slideChange",()=>{M.destroyed||!M.autoplay.running||M.autoplay.paused&&(ie=ae(),ee=ae())}),Object.assign(M.autoplay,{start:de,stop:_e,pause:we,resume:De})}},61656(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(84015);function E({swiper:M,extendParams:f,on:b}){function A(B,ie){const ve=function(){let W,Z,re;return(K,ce)=>{for(Z=-1,W=K.length;W-Z>1;)re=W+Z>>1,K[re]<=ce?Z=re:W=re;return W}}();let U,ne;return this.x=B,this.y=ie,this.lastIndex=B.length-1,this.interpolate=function(W){return W?(ne=ve(this.x,W),U=ne-1,(W-this.x[U])*(this.y[ne]-this.y[U])/(this.x[ne]-this.x[U])+this.y[U]):0},this}function ee(){M.controller.control&&M.controller.spline&&(M.controller.spline=void 0,delete M.controller.spline)}f({controller:{control:void 0,inverse:!1,by:"slide"}}),M.controller={control:void 0},b("beforeInit",()=>{typeof window<"u"&&("string"==typeof M.params.controller.control||M.params.controller.control instanceof HTMLElement)?("string"==typeof M.params.controller.control?[...document.querySelectorAll(M.params.controller.control)]:[M.params.controller.control]).forEach(ie=>{if(M.controller.control||(M.controller.control=[]),ie&&ie.swiper)M.controller.control.push(ie.swiper);else if(ie){const ve=`${M.params.eventsPrefix}init`,U=ne=>{M.controller.control.push(ne.detail[0]),M.update(),ie.removeEventListener(ve,U)};ie.addEventListener(ve,U)}}):M.controller.control=M.params.controller.control}),b("update",()=>{ee()}),b("resize",()=>{ee()}),b("observerUpdate",()=>{ee()}),b("setTranslate",(B,ie,ve)=>{!M.controller.control||M.controller.control.destroyed||M.controller.setTranslate(ie,ve)}),b("setTransition",(B,ie,ve)=>{!M.controller.control||M.controller.control.destroyed||M.controller.setTransition(ie,ve)}
1),Object.assign(M.controller,{setTranslate:function N(B,ie){const ve=M.controller.control;let U,ne;const X=M.constructor;function W(Z){if(Z.destroyed)return;const re=M.rtlTranslate?-M.translate:M.translate;"slide"===M.params.controller.by&&(function R(B){M.controller.spline=M.params.loop?new A(M.slidesGrid,B.slidesGrid):new A(M.snapGrid,B.snapGrid)}(Z),ne=-M.controller.spline.interpolate(-re)),(!ne||"container"===M.params.controller.by)&&(U=(Z.maxTranslate()-Z.minTranslate())/(M.maxTranslate()-M.minTranslate()),(Number.isNaN(U)||!Number.isFinite(U))&&(U=1),ne=(re-M.minTranslate())*U+Z.minTranslate()),M.params.controller.inverse&&(ne=Z.maxTranslate()-ne),Z.updateProgress(ne),Z.setTranslate(ne,M),Z.updateActiveIndex(),Z.updateSlidesClasses()}if(Array.isArray(ve))for(let Z=0;Z<ve.length;Z+=1)ve[Z]!==ie&&ve[Z]instanceof X&&W(ve[Z]);else ve instanceof X&&ie!==ve&&W(ve)},setTransition:function q(B,ie){const ve=M.constructor,U=M.controller.control;let ne;function X(W){W.destroyed||(W.setTransition(B,M),0!==B&&(W.transitionStart(),W.params.autoHeight&&(0,S.n)(()=>{W.updateAutoHeight()}),(0,S.o)(W.wrapperEl,()=>{U&&W.transitionEnd()})))}if(Array.isArray(U))for(ne=0;ne<U.length;ne+=1)U[ne]!==ie&&U[ne]instanceof ve&&X(U[ne]);else U instanceof ve&&ie!==U&&X(U)}})}},78033(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>A});var S=d(35221),E=d(48878),M=d(59631),f=d(80647),b=d(84015);function A({swiper:R,extendParams:N,on:q}){N({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),(0,E.e)({effect:"cards",swiper:R,on:q,setTranslate:()=>{const{slides:ie,activeIndex:ve,rtlTranslate:U}=R,ne=R.params.cardsEffect,{startTranslate:X,isTouched:W}=R.touchEventsData,Z=U?-R.translate:R.translate;for(let re=0;re<ie.length;re+=1){const K=ie[re],ce=K.progress,ue=Math.min(Math.max(ce,-4),4);let ae=K.swiperSlideOffset;R.params.centeredSlides&&!R.params.cssMode&&(R.wrapperEl.style.transform=`translateX(${R.minTranslate()}px)`),R.params.centeredSlides&&R.params.cssMode&&(ae-=ie[0].swiperSlideOffset);let te=R.params.cssMode?-ae-R.translate:-ae,de=0;const _e=-100*Math.abs(ue);let we=1,De=-ne.perSlideRotate*ue,Ie=ne.perSlideOffset-.75*Math.abs(ue);const Me=R.virtual&&R.params.virtual.enabled?R.virtual.from+re:re;if((Me===ve||Me===ve-1)&&ue>0&&ue<1&&(W||R.params.cssMode)&&Z<X||(Me===ve||Me===ve+1)&&ue<0&&ue>-1&&(W||R.params.cssMode)&&Z>X){const Et=(1-Math.abs((Math.abs(ue)-.5)/.5))**.5;De+=-28*ue*Et,we+=-.5*Et,Ie+=96*Et,de=(ne.rotate||R.isHorizontal()?-25:0)*Et*Math.abs(ue)+"%"}if(te=ue<0?`calc(${te}px ${U?"-":"+"} (${Ie*Math.abs(ue)}%))`:ue>0?`calc(${te}px ${U?"-":"+"} (-${Ie*Math.abs(ue)}%))`:`${te}px`,!R.isHorizontal()){const Et=de;de=te,te=Et}const vt=`\n        translate3d(${te}, ${de}, ${_e}px)\n        rotateZ(${ne.rotate?U?-De:De:0}deg)\n        scale(${ue<0?""+(1+(1-we)*ue):""+(1-(1-we)*ue)})\n      `;if(ne.slideShadows){let Et=K.querySelector(".swiper-slide-shadow");Et||(Et=(0,S.c)("cards",K)),Et&&(Et.style.opacity=Math.min(Math.max((Math.abs(ue)-.5)/.5,0),1))}K.style.zIndex=-Math.abs(Math.round(ce))+ie.length,(0,M.e)(ne,K).style.transform=vt}},setTransition:ie=>{const ve=R.slides.map(U=>(0,b.g)(U));ve.forEach(U=>{U.style.transitionDuration=`${ie}ms`,U.querySelectorAll(".swiper-slide-shadow").forEach(ne=>{ne.style.transitionDuration=`${ie}ms`})}),(0,f.e)({swiper:R,duration:ie,transformElements:ve})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:R.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!R.params.cssMode})})}},18305(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>b});var S=d(35221),E=d(48878),M=d(59631),f=d(84015);function b({swiper:A,extendParams:R,on:N}){R({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),(0,E.e)({effect:"coverflow",swiper:A,on:N,setTranslate:()=>{const{width:B,height:ie,slides:ve,slidesSizesGrid:U}=A,ne=A.params.coverflowEffect,X=A.isHorizontal(),W=A.translate,Z=X?B/2-W:ie/2-W,re=X?ne.rotate:-ne.rotate,K=ne.depth,ce=(0,f.a)(A);for(let ue=0,ae=ve.length;ue<ae;ue+=1){const te=ve[ue],de=U[ue],we=(Z-te.swiperSlideOffset-de/2)/de,De="function"==typeof ne.modifier?ne.modifier(we):we*ne.modifier;let Ie=X?re*De:0,Me=X?0:re*De,Ze=-K*Math.abs(De),Ye=ne.stretch;"string"==typeof Ye&&-1!==Ye.indexOf("%")&&(Ye=parseFloat(ne.stretch)/100*de);let Je=X?0:Ye*De,vt=X?Ye*De:0,$t=1-(1-ne.scale)*Math.abs(De);Math.abs(vt)<.001&&(vt=0),Math.abs(Je)<.001&&(Je=0),Math.abs(Ze)<.001&&(Ze=0),Math.abs(Ie)<.001&&(Ie=0),Math.abs(Me)<.001&&(Me=0),Math.abs($t)<.001&&($t=0);const Et=`translate3d(${vt}px,${Je}px,${Ze}
1px)  rotateX(${ce(Me)}deg) rotateY(${ce(Ie)}deg) scale(${$t})`;if((0,M.e)(ne,te).style.transform=Et,te.style.zIndex=1-Math.abs(Math.round(De)),ne.slideShadows){let Ot=te.querySelector(X?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),ke=te.querySelector(X?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");Ot||(Ot=(0,S.c)("coverflow",te,X?"left":"top")),ke||(ke=(0,S.c)("coverflow",te,X?"right":"bottom")),Ot&&(Ot.style.opacity=De>0?De:0),ke&&(ke.style.opacity=-De>0?-De:0)}}},setTransition:B=>{A.slides.map(ve=>(0,f.g)(ve)).forEach(ve=>{ve.style.transitionDuration=`${B}ms`,ve.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(U=>{U.style.transitionDuration=`${B}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},97443(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>A});var S=d(35221),E=d(48878),M=d(59631),f=d(80647),b=d(84015);function A({swiper:R,extendParams:N,on:q}){N({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const ee=ve=>"string"==typeof ve?ve:`${ve}px`;(0,E.e)({effect:"creative",swiper:R,on:q,setTranslate:()=>{const{slides:ve,wrapperEl:U,slidesSizesGrid:ne}=R,X=R.params.creativeEffect,{progressMultiplier:W}=X,Z=R.params.centeredSlides,re=(0,b.a)(R);Z&&(U.style.transform=`translateX(calc(50% - ${ne[0]/2-R.params.slidesOffsetBefore||0}px))`);for(let K=0;K<ve.length;K+=1){const ce=ve[K],ue=ce.progress,ae=Math.min(Math.max(ce.progress,-X.limitProgress),X.limitProgress);let te=ae;Z||(te=Math.min(Math.max(ce.originalProgress,-X.limitProgress),X.limitProgress));const de=ce.swiperSlideOffset,_e=[R.params.cssMode?-de-R.translate:-de,0,0],we=[0,0,0];let De=!1;R.isHorizontal()||(_e[1]=_e[0],_e[0]=0);let Ie={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};ae<0?(Ie=X.next,De=!0):ae>0&&(Ie=X.prev,De=!0),_e.forEach((Et,xt)=>{_e[xt]=`calc(${Et}px + (${ee(Ie.translate[xt])} * ${Math.abs(ae*W)}))`}),we.forEach((Et,xt)=>{let Ot=Ie.rotate[xt]*Math.abs(ae*W);we[xt]=Ot}),ce.style.zIndex=-Math.abs(Math.round(ue))+ve.length;const Me=_e.join(", "),Ze=`rotateX(${re(we[0])}deg) rotateY(${re(we[1])}deg) rotateZ(${re(we[2])}deg)`,Je=te<0?1+(1-Ie.opacity)*te*W:1-(1-Ie.opacity)*te*W,vt=`translate3d(${Me}) ${Ze} ${te<0?`scale(${1+(1-Ie.scale)*te*W})`:`scale(${1-(1-Ie.scale)*te*W})`}`;if(De&&Ie.shadow||!De){let Et=ce.querySelector(".swiper-slide-shadow");!Et&&Ie.shadow&&(Et=(0,S.c)("creative",ce)),Et&&(Et.style.opacity=Math.min(Math.max(Math.abs(X.shadowPerProgress?ae*(1/X.limitProgress):ae),0),1))}const $t=(0,M.e)(X,ce);$t.style.transform=vt,$t.style.opacity=Je,Ie.origin&&($t.style.transformOrigin=Ie.origin)}},setTransition:ve=>{const U=R.slides.map(ne=>(0,b.g)(ne));U.forEach(ne=>{ne.style.transitionDuration=`${ve}ms`,ne.querySelectorAll(".swiper-slide-shadow").forEach(X=>{X.style.transitionDuration=`${ve}ms`})}),(0,f.e)({swiper:R,duration:ve,transformElements:U,allSlides:!0})},perspective:()=>R.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!R.params.cssMode})})}},53015(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(48878),E=d(84015);function M({swiper:f,extendParams:b,on:A}){b({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const R=(B,ie,ve)=>{let U=B.querySelector(ve?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),ne=B.querySelector(ve?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");U||(U=(0,E.c)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(ve?"left":"top")).split(" ")),B.append(U)),ne||(ne=(0,E.c)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(ve?"right":"bottom")).split(" ")),B.append(ne)),U&&(U.style.opacity=Math.max(-ie,0)),ne&&(ne.style.opacity=Math.max(ie,0))};(0,S.e)({effect:"cube",swiper:f,on:A,setTranslate:()=>{const{el:B,wrapperEl:ie,slides:ve,width:U,height:ne,rtlTranslate:X,size:W,browser:Z}=f,re=(0,E.a)(f),K=f.params.cubeEffect,ce=f.isHorizontal(),ue=f.virtual&&f.params.virtual.enabled;
1let te,ae=0;K.shadow&&(ce?(te=f.wrapperEl.querySelector(".swiper-cube-shadow"),te||(te=(0,E.c)("div","swiper-cube-shadow"),f.wrapperEl.append(te)),te.style.height=`${U}px`):(te=B.querySelector(".swiper-cube-shadow"),te||(te=(0,E.c)("div","swiper-cube-shadow"),B.append(te))));for(let _e=0;_e<ve.length;_e+=1){const we=ve[_e];let De=_e;ue&&(De=parseInt(we.getAttribute("data-swiper-slide-index"),10));let Ie=90*De,Me=Math.floor(Ie/360);X&&(Ie=-Ie,Me=Math.floor(-Ie/360));const Ze=Math.max(Math.min(we.progress,1),-1);let Ye=0,Je=0,vt=0;De%4==0?(Ye=4*-Me*W,vt=0):(De-1)%4==0?(Ye=0,vt=4*-Me*W):(De-2)%4==0?(Ye=W+4*Me*W,vt=W):(De-3)%4==0&&(Ye=-W,vt=3*W+4*W*Me),X&&(Ye=-Ye),ce||(Je=Ye,Ye=0);const $t=`rotateX(${re(ce?0:-Ie)}deg) rotateY(${re(ce?Ie:0)}deg) translate3d(${Ye}px, ${Je}px, ${vt}px)`;Ze<=1&&Ze>-1&&(ae=90*De+90*Ze,X&&(ae=90*-De-90*Ze)),we.style.transform=$t,K.slideShadows&&R(we,Ze,ce)}if(ie.style.transformOrigin=`50% 50% -${W/2}px`,ie.style["-webkit-transform-origin"]=`50% 50% -${W/2}px`,K.shadow)if(ce)te.style.transform=`translate3d(0px, ${U/2+K.shadowOffset}px, ${-U/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${K.shadowScale})`;else{const _e=Math.abs(ae)-90*Math.floor(Math.abs(ae)/90),we=1.5-(Math.sin(2*_e*Math.PI/360)/2+Math.cos(2*_e*Math.PI/360)/2),Ie=K.shadowScale/we;te.style.transform=`scale3d(${K.shadowScale}, 1, ${Ie}) translate3d(0px, ${ne/2+K.shadowOffset}px, ${-ne/2/Ie}px) rotateX(-89.99deg)`}const de=(Z.isSafari||Z.isWebView)&&Z.needPerspectiveFix?-W/2:0;ie.style.transform=`translate3d(0px,0,${de}px) rotateX(${re(f.isHorizontal()?0:ae)}deg) rotateY(${re(f.isHorizontal()?-ae:0)}deg)`,ie.style.setProperty("--swiper-cube-translate-z",`${de}px`)},setTransition:B=>{const{el:ie,slides:ve}=f;if(ve.forEach(U=>{U.style.transitionDuration=`${B}ms`,U.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(ne=>{ne.style.transitionDuration=`${B}ms`})}),f.params.cubeEffect.shadow&&!f.isHorizontal()){const U=ie.querySelector(".swiper-cube-shadow");U&&(U.style.transitionDuration=`${B}ms`)}},recreateShadows:()=>{const B=f.isHorizontal();f.slides.forEach(ie=>{const ve=Math.max(Math.min(ie.progress,1),-1);R(ie,ve,B)})},getEffectParams:()=>f.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},53870(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>b});var S=d(48878),E=d(59631),M=d(80647),f=d(84015);function b({swiper:A,extendParams:R,on:N}){R({fadeEffect:{crossFade:!1}}),(0,S.e)({effect:"fade",swiper:A,on:N,setTranslate:()=>{const{slides:B}=A,ie=A.params.fadeEffect;for(let ve=0;ve<B.length;ve+=1){const U=A.slides[ve];let X=-U.swiperSlideOffset;A.params.virtualTranslate||(X-=A.translate);let W=0;A.isHorizontal()||(W=X,X=0);const Z=A.params.fadeEffect.crossFade?Math.max(1-Math.abs(U.progress),0):1+Math.min(Math.max(U.progress,-1),0),re=(0,E.e)(ie,U);re.style.opacity=Z,re.style.transform=`translate3d(${X}px, ${W}px, 0px)`}},setTransition:B=>{const ie=A.slides.map(ve=>(0,f.g)(ve));ie.forEach(ve=>{ve.style.transitionDuration=`${B}ms`}),(0,M.e)({swiper:A,duration:B,transformElements:ie,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!A.params.cssMode})})}},54929(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>A});var S=d(35221),E=d(48878),M=d(59631),f=d(80647),b=d(84015);function A({swiper:R,extendParams:N,on:q}){N({flipEffect:{slideShadows:!0,limitRotation:!0}});const ee=(U,ne)=>{let X=R.isHorizontal()?U.querySelector(".swiper-slide-shadow-left"):U.querySelector(".swiper-slide-shadow-top"),W=R.isHorizontal()?U.querySelector(".swiper-slide-shadow-right"):U.querySelector(".swiper-slide-shadow-bottom");X||(X=(0,S.c)("flip",U,R.isHorizontal()?"left":"top")),W||(W=(0,S.c)("flip",U,R.isHorizontal()?"right":"bottom")),X&&(X.style.opacity=Math.max(-ne,0)),W&&(W.style.opacity=Math.max(ne,0))};(0,E.e)({effect:"flip",swiper:R,on:q,setTranslate:()=>{const{slides:U,rtlTranslate:ne}=R,X=R.params.flipEffect,W=(0,b.a)(R);for(let Z=0;Z<U.length;Z+=1){const re=U[Z];let K=re.progress;R.params.flipEffect.limitRotation&&(K=Math.max(Math.min(re.progress,
11),-1));const ce=re.swiperSlideOffset;let ae=-180*K,te=0,de=R.params.cssMode?-ce-R.translate:-ce,_e=0;R.isHorizontal()?ne&&(ae=-ae):(_e=de,de=0,te=-ae,ae=0),re.style.zIndex=-Math.abs(Math.round(K))+U.length,X.slideShadows&&ee(re,K);const we=`translate3d(${de}px, ${_e}px, 0px) rotateX(${W(te)}deg) rotateY(${W(ae)}deg)`;(0,M.e)(X,re).style.transform=we}},setTransition:U=>{const ne=R.slides.map(X=>(0,b.g)(X));ne.forEach(X=>{X.style.transitionDuration=`${U}ms`,X.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(W=>{W.style.transitionDuration=`${U}ms`})}),(0,f.e)({swiper:R,duration:U,transformElements:ne})},recreateShadows:()=>{R.slides.forEach(U=>{let ne=U.progress;R.params.flipEffect.limitRotation&&(ne=Math.max(Math.min(U.progress,1),-1)),ee(U,ne)})},getEffectParams:()=>R.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!R.params.cssMode})})}},91398(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(84015);function E({swiper:M,extendParams:f,emit:b,once:A}){f({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(M,{freeMode:{onTouchStart:function R(){if(M.params.cssMode)return;const ee=M.getTranslate();M.setTranslate(ee),M.setTransition(0),M.touchEventsData.velocities.length=0,M.freeMode.onTouchEnd({currentPos:M.rtl?M.translate:-M.translate})},onTouchMove:function N(){if(M.params.cssMode)return;const{touchEventsData:ee,touches:B}=M;0===ee.velocities.length&&ee.velocities.push({position:B[M.isHorizontal()?"startX":"startY"],time:ee.touchStartTime}),ee.velocities.push({position:B[M.isHorizontal()?"currentX":"currentY"],time:(0,S.h)()})},onTouchEnd:function q({currentPos:ee}){if(M.params.cssMode)return;const{params:B,wrapperEl:ie,rtlTranslate:ve,snapGrid:U,touchEventsData:ne}=M,W=(0,S.h)()-ne.touchStartTime;if(ee<-M.minTranslate())M.slideTo(M.activeIndex);else if(ee>-M.maxTranslate())M.slideTo(M.slides.length<U.length?U.length-1:M.slides.length-1);else{if(B.freeMode.momentum){if(ne.velocities.length>1){const de=ne.velocities.pop(),_e=ne.velocities.pop(),De=de.time-_e.time;M.velocity=(de.position-_e.position)/De,M.velocity/=2,Math.abs(M.velocity)<B.freeMode.minimumVelocity&&(M.velocity=0),(De>150||(0,S.h)()-de.time>300)&&(M.velocity=0)}else M.velocity=0;M.velocity*=B.freeMode.momentumVelocityRatio,ne.velocities.length=0;let Z=1e3*B.freeMode.momentumRatio,K=M.translate+M.velocity*Z;ve&&(K=-K);let ue,ce=!1;const ae=20*Math.abs(M.velocity)*B.freeMode.momentumBounceRatio;let te;if(K<M.maxTranslate())B.freeMode.momentumBounce?(K+M.maxTranslate()<-ae&&(K=M.maxTranslate()-ae),ue=M.maxTranslate(),ce=!0,ne.allowMomentumBounce=!0):K=M.maxTranslate(),B.loop&&B.centeredSlides&&(te=!0);else if(K>M.minTranslate())B.freeMode.momentumBounce?(K-M.minTranslate()>ae&&(K=M.minTranslate()+ae),ue=M.minTranslate(),ce=!0,ne.allowMomentumBounce=!0):K=M.minTranslate(),B.loop&&B.centeredSlides&&(te=!0);else if(B.freeMode.sticky){let de;for(let _e=0;_e<U.length;_e+=1)if(U[_e]>-K){de=_e;break}K=Math.abs(U[de]-K)<Math.abs(U[de-1]-K)||"next"===M.swipeDirection?U[de]:U[de-1],K=-K}if(te&&A("transitionEnd",()=>{M.loopFix()}),0!==M.velocity){if(Z=ve?Math.abs((-K-M.translate)/M.velocity):Math.abs((K-M.translate)/M.velocity),B.freeMode.sticky){const de=Math.abs((ve?-K:K)-M.translate),_e=M.slidesSizesGrid[M.activeIndex];Z=de<_e?B.speed:de<2*_e?1.5*B.speed:2.5*B.speed}}else if(B.freeMode.sticky)return void M.slideToClosest();B.freeMode.momentumBounce&&ce?(M.updateProgress(ue),M.setTransition(Z),M.setTranslate(K),M.transitionStart(!0,M.swipeDirection),M.animating=!0,(0,S.o)(ie,()=>{!M||M.destroyed||!ne.allowMomentumBounce||(b("momentumBounce"),M.setTransition(B.speed),setTimeout(()=>{M.setTranslate(ue),(0,S.o)(ie,()=>{!M||M.destroyed||M.transitionEnd()})},0))})):M.velocity?(b("_freeModeNoMomentumRelease"),M.updateProgress(K),M.setTransition(Z),M.setTranslate(K),M.transitionStart(!0,M.swipeDirection),M.animating||(M.animating=!0,(0,S.o)(ie,()=>{!M||M.destroyed||M.transitionEnd()}))):M.updateProgress(K),M.updateActiveIndex(),M.updateSlidesClasses()}else{if(B.freeMode.sticky)return void M.slideToClosest();B.freeMode&&b("_freeModeNoMomentumRelease")}(!B.freeMode.momentum||W>=B.longSwipesMs)&&(b("_freeModeStaticRelease"),M.updateProgress(),M.updateActiveIndex(),M.updateSlidesClasses())}}}})}},93099(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,emit:A,on:R}){let N=!1;const q=(0,S.g)(),ee=(0,S.a)();b({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(ne,X){if
1(f.virtual&&f.params.virtual.enabled){const W=f.slides.find(re=>re.getAttribute("data-hash")===X);return W?parseInt(W.getAttribute("data-swiper-slide-index"),10):0}return f.getSlideIndex((0,E.e)(f.slidesEl,`.${f.params.slideClass}[data-hash="${X}"], swiper-slide[data-hash="${X}"]`)[0])}}});const B=()=>{A("hashChange");const ne=q.location.hash.replace("#",""),X=f.virtual&&f.params.virtual.enabled?f.slidesEl.querySelector(`[data-swiper-slide-index="${f.activeIndex}"]`):f.slides[f.activeIndex];if(ne!==(X?X.getAttribute("data-hash"):"")){const Z=f.params.hashNavigation.getSlideIndex(f,ne);if(typeof Z>"u"||Number.isNaN(Z))return;f.slideTo(Z)}},ie=()=>{if(!N||!f.params.hashNavigation.enabled)return;const ne=f.virtual&&f.params.virtual.enabled?f.slidesEl.querySelector(`[data-swiper-slide-index="${f.activeIndex}"]`):f.slides[f.activeIndex],X=ne?ne.getAttribute("data-hash")||ne.getAttribute("data-history"):"";f.params.hashNavigation.replaceState&&ee.history&&ee.history.replaceState?(ee.history.replaceState(null,null,`#${X}`||""),A("hashSet")):(q.location.hash=X||"",A("hashSet"))};R("init",()=>{f.params.hashNavigation.enabled&&(()=>{if(!f.params.hashNavigation.enabled||f.params.history&&f.params.history.enabled)return;N=!0;const ne=q.location.hash.replace("#","");if(ne){const W=f.params.hashNavigation.getSlideIndex(f,ne);f.slideTo(W||0,0,f.params.runCallbacksOnInit,!0)}f.params.hashNavigation.watchState&&ee.addEventListener("hashchange",B)})()}),R("destroy",()=>{f.params.hashNavigation.enabled&&f.params.hashNavigation.watchState&&ee.removeEventListener("hashchange",B)}),R("transitionEnd _freeModeNoMomentumRelease",()=>{N&&ie()}),R("slideChange",()=>{N&&f.params.cssMode&&ie()})}},64832(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(27606);function E({swiper:M,extendParams:f,on:b}){f({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let A=!1,R={};const N=ne=>ne.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),q=ne=>{const X=(0,S.a)();let W;W=ne?new URL(ne):X.location;const Z=W.pathname.slice(1).split("/").filter(ue=>""!==ue),re=Z.length;return{key:Z[re-2],value:Z[re-1]}},ee=(ne,X)=>{const W=(0,S.a)();if(!A||!M.params.history.enabled)return;let Z;Z=M.params.url?new URL(M.params.url):W.location;const re=M.virtual&&M.params.virtual.enabled?M.slidesEl.querySelector(`[data-swiper-slide-index="${X}"]`):M.slides[X];let K=N(re.getAttribute("data-history"));if(M.params.history.root.length>0){let ue=M.params.history.root;"/"===ue[ue.length-1]&&(ue=ue.slice(0,ue.length-1)),K=`${ue}/${ne?`${ne}/`:""}${K}`}else Z.pathname.includes(ne)||(K=`${ne?`${ne}/`:""}${K}`);M.params.history.keepQuery&&(K+=Z.search);const ce=W.history.state;ce&&ce.value===K||(M.params.history.replaceState?W.history.replaceState({value:K},null,K):W.history.pushState({value:K},null,K))},B=(ne,X,W)=>{if(X)for(let Z=0,re=M.slides.length;Z<re;Z+=1){const K=M.slides[Z];if(N(K.getAttribute("data-history"))===X){const ue=M.getSlideIndex(K);M.slideTo(ue,ne,W)}}else M.slideTo(0,ne,W)},ie=()=>{R=q(M.params.url),B(M.params.speed,R.value,!1)};b("init",()=>{M.params.history.enabled&&(()=>{const ne=(0,S.a)();if(M.params.history){if(!ne.history||!ne.history.pushState)return M.params.history.enabled=!1,void(M.params.hashNavigation.enabled=!0);if(A=!0,R=q(M.params.url),!R.key&&!R.value)return void(M.params.history.replaceState||ne.addEventListener("popstate",ie));B(0,R.value,M.params.runCallbacksOnInit),M.params.history.replaceState||ne.addEventListener("popstate",ie)}})()}),b("destroy",()=>{M.params.history.enabled&&(()=>{const ne=(0,S.a)();M.params.history.replaceState||ne.removeEventListener("popstate",ie)})()}),b("transitionEnd _freeModeNoMomentumRelease",()=>{A&&ee(M.params.history.key,M.activeIndex)}),b("slideChange",()=>{A&&M.params.cssMode&&ee(M.params.history.key,M.activeIndex)})}},91523(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,on:A,emit:R}){const N=(0,S.g)(),q=(0,S.a)();function ee(ve){if(!f.enabled)return;const{rtlTranslate:U}=f;let ne=ve;ne.originalEvent&&(ne=ne.originalEvent);const X=ne.keyCode||ne.charCode,W=f.params.keyboard.pageUpDown,Z=W&&33===X,re=W&&34===X,K=37===X,ce=39===X,ue=38===X,ae=40===X;if(!f.allowSlideNext&&(f.isHorizontal()&&ce||f.isVertical()&&ae||re)||!f.allowSlidePrev&&(f.isHorizontal()&&K||f.isVertical()&&ue||Z))return!1;if(ne.shiftKey||ne.altKey||ne.ctrlKey||ne.metaKey||N.activeElement&&(N.activeElement.isContentEditable||N.activeElement.nodeName&&("input"===N.activeElement.nodeName.toLowerCase()||"textarea"===N.activeElement.nodeName.toLowerCase())))return;if(f.params.keyboard.onlyInViewport&&(Z||re||K||ce||ue||ae)){let de=!1;if((0,E.d)(f.el,`.${f.params.slideClass}, swiper-slide`).length>0&&0===(0,E.d)(f.el,`.${f.params.slideActiveClass}`).length)return;const _e=f.el,we=_e.clientWidth,De=_e.clientHeight,Ie=q.innerWidth,Me=q.innerHe
1ight,Ze=(0,E.f)(_e);U&&(Ze.left-=_e.scrollLeft);const Ye=[[Ze.left,Ze.top],[Ze.left+we,Ze.top],[Ze.left,Ze.top+De],[Ze.left+we,Ze.top+De]];for(let Je=0;Je<Ye.length;Je+=1){const vt=Ye[Je];if(vt[0]>=0&&vt[0]<=Ie&&vt[1]>=0&&vt[1]<=Me){if(0===vt[0]&&0===vt[1])continue;de=!0}}if(!de)return}const te=f.params.keyboard.speed;f.isHorizontal()?((Z||re||K||ce)&&(ne.preventDefault?ne.preventDefault():ne.returnValue=!1),((re||ce)&&!U||(Z||K)&&U)&&f.slideNext(te),((Z||K)&&!U||(re||ce)&&U)&&f.slidePrev(te)):((Z||re||ue||ae)&&(ne.preventDefault?ne.preventDefault():ne.returnValue=!1),(re||ae)&&f.slideNext(te),(Z||ue)&&f.slidePrev(te)),R("keyPress",X)}function B(){f.keyboard.enabled||(N.addEventListener("keydown",ee),f.keyboard.enabled=!0)}function ie(){f.keyboard.enabled&&(N.removeEventListener("keydown",ee),f.keyboard.enabled=!1)}f.keyboard={enabled:!1},b({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),A("init",()=>{f.params.keyboard.enabled&&B()}),A("destroy",()=>{f.keyboard.enabled&&ie()}),Object.assign(f.keyboard,{enable:B,disable:ie})}},57603(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>R});var S=d(84015);function E(N){const q=this,{params:ee,slidesEl:B}=q;ee.loop&&q.loopDestroy();const ie=ve=>{if("string"==typeof ve){const U=document.createElement("div");(0,S.s)(U,ve),B.append(U.children[0]),(0,S.s)(U,"")}else B.append(ve)};if("object"==typeof N&&"length"in N)for(let ve=0;ve<N.length;ve+=1)N[ve]&&ie(N[ve]);else ie(N);q.recalcSlides(),ee.loop&&q.loopCreate(),(!ee.observer||q.isElement)&&q.update()}function M(N){const q=this,{params:ee,activeIndex:B,slidesEl:ie}=q;ee.loop&&q.loopDestroy();let ve=B+1;const U=ne=>{if("string"==typeof ne){const X=document.createElement("div");(0,S.s)(X,ne),ie.prepend(X.children[0]),(0,S.s)(X,"")}else ie.prepend(ne)};if("object"==typeof N&&"length"in N){for(let ne=0;ne<N.length;ne+=1)N[ne]&&U(N[ne]);ve=B+N.length}else U(N);q.recalcSlides(),ee.loop&&q.loopCreate(),(!ee.observer||q.isElement)&&q.update(),q.slideTo(ve,0,!1)}function f(N,q){const ee=this,{params:B,activeIndex:ie,slidesEl:ve}=ee;let U=ie;B.loop&&(U-=ee.loopedSlides,ee.loopDestroy(),ee.recalcSlides());const ne=ee.slides.length;if(N<=0)return void ee.prependSlide(q);if(N>=ne)return void ee.appendSlide(q);let X=U>N?U+1:U;const W=[];for(let Z=ne-1;Z>=N;Z-=1){const re=ee.slides[Z];re.remove(),W.unshift(re)}if("object"==typeof q&&"length"in q){for(let Z=0;Z<q.length;Z+=1)q[Z]&&ve.append(q[Z]);X=U>N?U+q.length:U}else ve.append(q);for(let Z=0;Z<W.length;Z+=1)ve.append(W[Z]);ee.recalcSlides(),B.loop&&ee.loopCreate(),(!B.observer||ee.isElement)&&ee.update(),ee.slideTo(B.loop?X+ee.loopedSlides:X,0,!1)}function b(N){const q=this,{params:ee,activeIndex:B}=q;let ie=B;ee.loop&&(ie-=q.loopedSlides,q.loopDestroy());let U,ve=ie;if("object"==typeof N&&"length"in N){for(let ne=0;ne<N.length;ne+=1)U=N[ne],q.slides[U]&&q.slides[U].remove(),U<ve&&(ve-=1);ve=Math.max(ve,0)}else U=N,q.slides[U]&&q.slides[U].remove(),U<ve&&(ve-=1),ve=Math.max(ve,0);q.recalcSlides(),ee.loop&&q.loopCreate(),(!ee.observer||q.isElement)&&q.update(),q.slideTo(ee.loop?ve+q.loopedSlides:ve,0,!1)}function A(){const N=this,q=[];for(let ee=0;ee<N.slides.length;ee+=1)q.push(ee);N.removeSlide(q)}function R({swiper:N}){Object.assign(N,{appendSlide:E.bind(N),prependSlide:M.bind(N),addSlide:f.bind(N),removeSlide:b.bind(N),removeAllSlides:A.bind(N)})}},28158(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,on:A,emit:R}){const N=(0,S.a)();b({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),f.mousewheel={enabled:!1};let q,B,ee=(0,E.h)();const ie=[];function U(){f.enabled&&(f.mouseEntered=!0)}function ne(){f.enabled&&(f.mouseEntered=!1)}function X(ue){return!(f.params.mousewheel.thresholdDelta&&ue.delta<f.params.mousewheel.thresholdDelta||f.params.mousewheel.thresholdTime&&(0,E.h)()-ee<f.params.mousewheel.thresholdTime)&&(ue.delta>=6&&(0,E.h)()-ee<60||(ue.direction<0?(!f.isEnd||f.params.loop)&&!f.animating&&(f.slideNext(),R("scroll",ue.raw)):(!f.isBeginning||f.params.loop)&&!f.animating&&(f.slidePrev(),R("scroll",ue.raw)),ee=(new N.Date).getTime(),!1))}function Z(ue){let ae=ue,te=!0;if(!f.enabled||ue.target.closest(`.${f.params.mousewheel.noMousewheelClass}`))return;const de=f.params.mousewheel;f.params.cssMode&&ae.preventDefault();let _e=f.el;"container"!==f.params.mousewheel.eventsTarget&&(_e=document.querySelector(f.params.mousewheel.eventsTarget));const we=_e&&_e.contains(ae.target);if(!f.mouseEntered&&!we&&!de.releaseOnEdges)return!0;ae.originalEvent&&(ae=ae.originalEvent);let De=0;const Ie=f.rtlTranslate?-1:1,Me=function ve(ue){let _e=0,we=0,De=0,Ie=0;return"detail"in ue&&(we=ue.detail),"wheelDelta"in ue&&(we=-ue.wheelDelta/120),"wheelDeltaY"in ue&&(we=-ue.wheelDeltaY/120
vendor: 4,542 bytes, line 1
1),"wheelDeltaX"in ue&&(_e=-ue.wheelDeltaX/120),"axis"in ue&&ue.axis===ue.HORIZONTAL_AXIS&&(_e=we,we=0),De=10*_e,Ie=10*we,"deltaY"in ue&&(Ie=ue.deltaY),"deltaX"in ue&&(De=ue.deltaX),ue.shiftKey&&!De&&(De=Ie,Ie=0),(De||Ie)&&ue.deltaMode&&(1===ue.deltaMode?(De*=40,Ie*=40):(De*=800,Ie*=800)),De&&!_e&&(_e=De<1?-1:1),Ie&&!we&&(we=Ie<1?-1:1),{spinX:_e,spinY:we,pixelX:De,pixelY:Ie}}(ae);if(de.forceToAxis)if(f.isHorizontal()){if(!(Math.abs(Me.pixelX)>Math.abs(Me.pixelY)))return!0;De=-Me.pixelX*Ie}else{if(!(Math.abs(Me.pixelY)>Math.abs(Me.pixelX)))return!0;De=-Me.pixelY}else De=Math.abs(Me.pixelX)>Math.abs(Me.pixelY)?-Me.pixelX*Ie:-Me.pixelY;if(0===De)return!0;de.invert&&(De=-De);let Ze=f.getTranslate()+De*de.sensitivity;if(Ze>=f.minTranslate()&&(Ze=f.minTranslate()),Ze<=f.maxTranslate()&&(Ze=f.maxTranslate()),te=!!f.params.loop||!(Ze===f.minTranslate()||Ze===f.maxTranslate()),te&&f.params.nested&&ae.stopPropagation(),f.params.freeMode&&f.params.freeMode.enabled){const Ye={time:(0,E.h)(),delta:Math.abs(De),direction:Math.sign(De)},Je=B&&Ye.time<B.time+500&&Ye.delta<=B.delta&&Ye.direction===B.direction;if(!Je){B=void 0;let vt=f.getTranslate()+De*de.sensitivity;const $t=f.isBeginning,Et=f.isEnd;if(vt>=f.minTranslate()&&(vt=f.minTranslate()),vt<=f.maxTranslate()&&(vt=f.maxTranslate()),f.setTransition(0),f.setTranslate(vt),f.updateProgress(),f.updateActiveIndex(),f.updateSlidesClasses(),(!$t&&f.isBeginning||!Et&&f.isEnd)&&f.updateSlidesClasses(),f.params.loop&&f.loopFix({direction:Ye.direction<0?"next":"prev",byMousewheel:!0}),f.params.freeMode.sticky){clearTimeout(q),q=void 0,ie.length>=15&&ie.shift();const xt=ie.length?ie[ie.length-1]:void 0,Ot=ie[0];if(ie.push(Ye),xt&&(Ye.delta>xt.delta||Ye.direction!==xt.direction))ie.splice(0);else if(ie.length>=15&&Ye.time-Ot.time<500&&Ot.delta-Ye.delta>=1&&Ye.delta<=6){const ke=De>0?.8:.2;B=Ye,ie.splice(0),q=(0,E.n)(()=>{f.destroyed||!f.params||f.slideToClosest(f.params.speed,!0,void 0,ke)},0)}q||(q=(0,E.n)(()=>{!f.destroyed&&f.params&&(B=Ye,ie.splice(0),f.slideToClosest(f.params.speed,!0,void 0,.5))},500))}if(Je||R("scroll",ae),f.params.autoplay&&f.params.autoplay.disableOnInteraction&&f.autoplay.stop(),de.releaseOnEdges&&(vt===f.minTranslate()||vt===f.maxTranslate()))return!0}}else{const Ye={time:(0,E.h)(),delta:Math.abs(De),direction:Math.sign(De),raw:ue};ie.length>=2&&ie.shift();const Je=ie.length?ie[ie.length-1]:void 0;if(ie.push(Ye),Je?(Ye.direction!==Je.direction||Ye.delta>Je.delta||Ye.time>Je.time+150)&&X(Ye):X(Ye),function W(ue){const ae=f.params.mousewheel;if(ue.direction<0){if(f.isEnd&&!f.params.loop&&ae.releaseOnEdges)return!0}else if(f.isBeginning&&!f.params.loop&&ae.releaseOnEdges)return!0;return!1}(Ye))return!0}return ae.preventDefault?ae.preventDefault():ae.returnValue=!1,!1}function re(ue){let ae=f.el;"container"!==f.params.mousewheel.eventsTarget&&(ae=document.querySelector(f.params.mousewheel.eventsTarget)),ae[ue]("mouseenter",U),ae[ue]("mouseleave",ne),ae[ue]("wheel",Z)}function K(){return f.params.cssMode?(f.wrapperEl.removeEventListener("wheel",Z),!0):!f.mousewheel.enabled&&(re("addEventListener"),f.mousewheel.enabled=!0,!0)}function ce(){return f.params.cssMode?(f.wrapperEl.addEventListener(event,Z),!0):!!f.mousewheel.enabled&&(re("removeEventListener"),f.mousewheel.enabled=!1,!0)}A("init",()=>{!f.params.mousewheel.enabled&&f.params.cssMode&&ce(),f.params.mousewheel.enabled&&K()}),A("destroy",()=>{f.params.cssMode&&K(),f.mousewheel.enabled&&ce()}),Object.assign(f.mousewheel,{enable:K,disable:ce})}},70342(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>f});var S=d(88121),E=d(84015);const M='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function f({swiper:b,extendParams:A,on:R,emit:N}){function q(Z){let re;return Z&&"string"==typeof Z&&b.isElement&&(re=b.el.querySelector(Z)||b.hostEl.querySelector(Z),re)?re:(Z&&("string"==typeof Z&&(re=[...document.querySelectorAll(Z)]),b.params.uniqueNavElements&&"string"==typeof Z&&re&&re.length>1&&1===b.el.querySelectorAll(Z).length?re=b.el.querySelector(Z):re&&1===re.length&&(re=re[0])),Z&&!re?Z:re)}function ee(Z,re){const K=b.params.navigation;
1(Z=(0,E.m)(Z)).forEach(ce=>{ce&&(ce.classList[re?"add":"remove"](...K.disabledClass.split(" ")),"BUTTON"===ce.tagName&&(ce.disabled=re),b.params.watchOverflow&&b.enabled&&ce.classList[b.isLocked?"add":"remove"](K.lockClass))})}function B(){const{nextEl:Z,prevEl:re}=b.navigation;if(b.params.loop)return ee(re,!1),void ee(Z,!1);ee(re,b.isBeginning&&!b.params.rewind),ee(Z,b.isEnd&&!b.params.rewind)}function ie(Z){Z.preventDefault(),(!b.isBeginning||b.params.loop||b.params.rewind)&&(b.slidePrev(),N("navigationPrev"))}function ve(Z){Z.preventDefault(),(!b.isEnd||b.params.loop||b.params.rewind)&&(b.slideNext(),N("navigationNext"))}function U(){const Z=b.params.navigation;if(b.params.navigation=(0,S.c)(b,b.originalParams.navigation,b.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!Z.nextEl&&!Z.prevEl)return;let re=q(Z.nextEl),K=q(Z.prevEl);Object.assign(b.navigation,{nextEl:re,prevEl:K}),re=(0,E.m)(re),K=(0,E.m)(K);const ce=(ue,ae)=>{if(ue){if(Z.addIcons&&ue.matches(".swiper-button-next,.swiper-button-prev")&&!ue.querySelector("svg")){const te=document.createElement("div");(0,E.s)(te,M),ue.appendChild(te.querySelector("svg")),te.remove()}ue.addEventListener("click","next"===ae?ve:ie)}!b.enabled&&ue&&ue.classList.add(...Z.lockClass.split(" "))};re.forEach(ue=>ce(ue,"next")),K.forEach(ue=>ce(ue,"prev"))}function ne(){let{nextEl:Z,prevEl:re}=b.navigation;Z=(0,E.m)(Z),re=(0,E.m)(re);const K=(ce,ue)=>{ce.removeEventListener("click","next"===ue?ve:ie),ce.classList.remove(...b.params.navigation.disabledClass.split(" "))};Z.forEach(ce=>K(ce,"next")),re.forEach(ce=>K(ce,"prev"))}A({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),b.navigation={nextEl:null,prevEl:null,arrowSvg:M},R("init",()=>{!1===b.params.navigation.enabled?W():(U(),B())}),R("toEdge fromEdge lock unlock",()=>{B()}),R("destroy",()=>{ne()}),R("enable disable",()=>{let{nextEl:Z,prevEl:re}=b.navigation;Z=(0,E.m)(Z),re=(0,E.m)(re),b.enabled?B():[...Z,...re].filter(K=>!!K).forEach(K=>K.classList.add(b.params.navigation.lockClass))}),R("click",(Z,re)=>{let{nextEl:K,prevEl:ce}=b.navigation;K=(0,E.m)(K),ce=(0,E.m)(ce);const ue=re.target;let ae=ce.includes(ue)||K.includes(ue);if(b.isElement&&!ae){const te=re.path||re.composedPath&&re.composedPath();te&&(ae=te.find(de=>K.includes(de)||ce.includes(de)))}if(b.params.navigation.hideOnClick&&!ae){if(b.pagination&&b.params.pagination&&b.params.pagination.clickable&&(b.pagination.el===ue||b.pagination.el.contains(ue)))return;let te;K.length?te=K[0].classList.contains(b.params.navigation.hiddenClass):ce.length&&(te=ce[0].classList.contains(b.params.navigation.hiddenClass)),N(!0===te?"navigationShow":"navigationHide"),[...K,...ce].filter(de=>!!de).forEach(de=>de.classList.toggle(b.params.navigation.hiddenClass))}});const W=()=>{b.el.classList.add(...b.params.navigation.navigationDisabledClass.split(" ")),ne()};Object.assign(b.navigation,{enable:()=>{b.el.classList.remove(...b.params.navigation.navigationDisabledClass.split(" ")),U(),B()},disable:W,update:B,init:U,destroy:ne})}},41792(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>f});var S=d(38036),E=d(88121),M=d(84015);function f({swiper:b,extendParams:A,on:R,emit:N}){const q="swiper-pagination";A({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:ue=>ue,formatFractionTotal:ue=>ue,bulletClass:`${q}-bullet`,bulletActiveClass:`${q}-bullet-active`,modifierClass:`${q}-`,currentClass:`${q}-current`,totalClass:`${q}-total`,hiddenClass:`${q}-hidden`,progressbarFillClass:`${q}-progressbar-fill`,progressbarOppositeClass:`${q}-progressbar-opposite`,clickableClass:`${q}-clickable`,lockClass:`${q}-lock`,horizontalClass:`${q}-horizontal`,verticalClass:`${q}-vertical`,paginationDisabledClass:`${q}-disabled`}}),b.pagination={el:null,bullets:[]};let ee,B=0;function ie(){return!b.params.pagination.el||!b.pagination.el||Array.isArray(b.pagination.el)&&0===b.pagination.el.length}function ve(ue,ae){const{bulletActiveClass:te}=b.params.pagination;ue&&(ue=ue[("prev"===ae?"previous":"next")+"ElementSibling"])&&(ue.classList.add(`${te}-${ae}`),(ue=ue[("prev"===ae?"previous":"next")+"ElementSibling"])&&ue.classList.add(`${te}-${ae}-${ae}`))}function ne(ue){const ae=ue.target.closest((0,S.c)(b.params.pagination.bulletClass));if(!ae)return;ue.preventDefault();const te=(0,M.j)(ae)*b.params.slidesPerGroup;if(b.params.loop){if(b.realIndex===te)return;const de=function U(ue,ae,te){return(ae%=te)===1+(ue%=te)?"next":ae===ue-1?"previous":void 0}(b.realIndex,te,b.slides.length);"next"===de?b.slideNext():"previous"===de?b.slidePrev():b.slideToLoop(te)}else b.slideTo(te)}function X(){const ue=b.rtl,ae=b.params.pagination;if(ie())return;let de,_e,te=b.pagination.el;te=(0,M.m)(te);
1const De=b.params.loop?Math.ceil((b.virtual&&b.params.virtual.enabled?b.virtual.slides.length:b.slides.length)/b.params.slidesPerGroup):b.snapGrid.length;if(b.params.loop?(_e=b.previousRealIndex||0,de=b.params.slidesPerGroup>1?Math.floor(b.realIndex/b.params.slidesPerGroup):b.realIndex):typeof b.snapIndex<"u"?(de=b.snapIndex,_e=b.previousSnapIndex):(_e=b.previousIndex||0,de=b.activeIndex||0),"bullets"===ae.type&&b.pagination.bullets&&b.pagination.bullets.length>0){const Ie=b.pagination.bullets;let Me,Ze,Ye;if(ae.dynamicBullets&&(ee=(0,M.i)(Ie[0],b.isHorizontal()?"width":"height",!0),te.forEach(Je=>{Je.style[b.isHorizontal()?"width":"height"]=ee*(ae.dynamicMainBullets+4)+"px"}),ae.dynamicMainBullets>1&&void 0!==_e&&(B+=de-(_e||0),B>ae.dynamicMainBullets-1?B=ae.dynamicMainBullets-1:B<0&&(B=0)),Me=Math.max(de-B,0),Ze=Me+(Math.min(Ie.length,ae.dynamicMainBullets)-1),Ye=(Ze+Me)/2),Ie.forEach(Je=>{const vt=[...["","-next","-next-next","-prev","-prev-prev","-main"].map($t=>`${ae.bulletActiveClass}${$t}`)].map($t=>"string"==typeof $t&&$t.includes(" ")?$t.split(" "):$t).flat();Je.classList.remove(...vt)}),te.length>1)Ie.forEach(Je=>{const vt=(0,M.j)(Je);vt===de?Je.classList.add(...ae.bulletActiveClass.split(" ")):b.isElement&&Je.setAttribute("part","bullet"),ae.dynamicBullets&&(vt>=Me&&vt<=Ze&&Je.classList.add(...`${ae.bulletActiveClass}-main`.split(" ")),vt===Me&&ve(Je,"prev"),vt===Ze&&ve(Je,"next"))});else{const Je=Ie[de];if(Je&&Je.classList.add(...ae.bulletActiveClass.split(" ")),b.isElement&&Ie.forEach((vt,$t)=>{vt.setAttribute("part",$t===de?"bullet-active":"bullet")}),ae.dynamicBullets){const vt=Ie[Me],$t=Ie[Ze];for(let Et=Me;Et<=Ze;Et+=1)Ie[Et]&&Ie[Et].classList.add(...`${ae.bulletActiveClass}-main`.split(" "));ve(vt,"prev"),ve($t,"next")}}if(ae.dynamicBullets){const Je=Math.min(Ie.length,ae.dynamicMainBullets+4),vt=(ee*Je-ee)/2-Ye*ee,$t=ue?"right":"left";Ie.forEach(Et=>{Et.style[b.isHorizontal()?$t:"top"]=`${vt}px`})}}te.forEach((Ie,Me)=>{if("fraction"===ae.type&&(Ie.querySelectorAll((0,S.c)(ae.currentClass)).forEach(Ze=>{Ze.textContent=ae.formatFractionCurrent(de+1)}),Ie.querySelectorAll((0,S.c)(ae.totalClass)).forEach(Ze=>{Ze.textContent=ae.formatFractionTotal(De)})),"progressbar"===ae.type){let Ze;Ze=ae.progressbarOpposite?b.isHorizontal()?"vertical":"horizontal":b.isHorizontal()?"horizontal":"vertical";const Ye=(de+1)/De;let Je=1,vt=1;"horizontal"===Ze?Je=Ye:vt=Ye,Ie.querySelectorAll((0,S.c)(ae.progressbarFillClass)).forEach($t=>{$t.style.transform=`translate3d(0,0,0) scaleX(${Je}) scaleY(${vt})`,$t.style.transitionDuration=`${b.params.speed}ms`})}"custom"===ae.type&&ae.renderCustom?((0,M.s)(Ie,ae.renderCustom(b,de+1,De)),0===Me&&N("paginationRender",Ie)):(0===Me&&N("paginationRender",Ie),N("paginationUpdate",Ie)),b.params.watchOverflow&&b.enabled&&Ie.classList[b.isLocked?"add":"remove"](ae.lockClass)})}function W(){const ue=b.params.pagination;if(ie())return;const ae=b.virtual&&b.params.virtual.enabled?b.virtual.slides.length:b.grid&&b.params.grid.rows>1?b.slides.length/Math.ceil(b.params.grid.rows):b.slides.length;let te=b.pagination.el;te=(0,M.m)(te);let de="";if("bullets"===ue.type){let _e=b.params.loop?Math.ceil(ae/b.params.slidesPerGroup):b.snapGrid.length;b.params.freeMode&&b.params.freeMode.enabled&&_e>ae&&(_e=ae);for(let we=0;we<_e;we+=1)de+=ue.renderBullet?ue.renderBullet.call(b,we,ue.bulletClass):`<${ue.bulletElement} ${b.isElement?'part="bullet"':""} class="${ue.bulletClass}"></${ue.bulletElement}>`}"fraction"===ue.type&&(de=ue.renderFraction?ue.renderFraction.call(b,ue.currentClass,ue.totalClass):`<span class="${ue.currentClass}"></span> / <span class="${ue.totalClass}"></span>`),"progressbar"===ue.type&&(de=ue.renderProgressbar?ue.renderProgressbar.call(b,ue.progressbarFillClass):`<span class="${ue.progressbarFillClass}"></span>`),b.pagination.bullets=[],te.forEach(_e=>{"custom"!==ue.type&&(0,M.s)(_e,de||""),"bullets"===ue.type&&b.pagination.bullets.push(..._e.querySelectorAll((0,S.c)(ue.bulletClass)))}),"custom"!==ue.type&&N("paginationRender",te[0])}function Z(){b.params.pagination=(0,E.c)(b,b.originalParams.pagination,b.params.pagination,{el:"swiper-pagination"});const ue=b.params.pagination;if(!ue.el)return;let ae;"string"==typeof ue.el&&b.isElement&&(ae=b.el.querySelector(ue.el)),!ae&&"string"==typeof ue.el&&(ae=[...document.querySelectorAll(ue.el)]),ae||(ae=ue.el),ae&&0!==ae.length&&(b.params.uniqueNavElements&&"string"==typeof ue.el&&Array.isArray(ae)&&ae.length>1&&(ae=[...b.el.querySelectorAll(ue.el)],ae.length>1&&(ae=ae.find(te=>(0,M.d)(te,".swiper")[0]===b.el))),Array.isArray(ae)&&1===ae.length&&(ae=ae[0]),Object.assign(b.pagination,{el:ae}),ae=(0,M.m)(ae),ae.forEach(te=>{"bullets"===ue.type&&ue.clickable&&te.classList.add(...(ue.clickableClass||"").split(" ")),te.classList.add(ue.modifierClass+ue.type),te.classList.add(b.isHorizontal()?ue.horizontalClass:ue.verticalClass),"bullets"===ue.type&&ue.dynamicBullets&&(te.classList.add(`${ue.modifierClass}${ue.type}-dynamic`),B=0,ue.dynamicMainBullets<1&&(ue.dynamicMainBullets=1)),"progressbar"===ue.type&&ue.progressbarOpposite&&te.classList.add(ue.progressbarOppositeClass),ue.clickable&&te.addEventListener("click",ne),b.enabled||te.classList.add(ue.lockClass)}))}function re(){const ue=b.params.pagination;if(ie())return;let ae=b.pagination.el;ae&&(ae=(0,M.m)(ae),ae.forEach(te=>{te.classList.remove(ue.hiddenClass),te.classList.remove(ue.modifierClass+ue.type),te.classList.remove(b.isHorizontal()?ue.horizontalClass:ue.verticalClass),ue.clickable&&(te.classList.remove(...(ue.clickableClass||"").split(" ")),te.removeEventListener("click",ne))}
1)),b.pagination.bullets&&b.pagination.bullets.forEach(te=>te.classList.remove(...ue.bulletActiveClass.split(" ")))}R("changeDirection",()=>{if(!b.pagination||!b.pagination.el)return;const ue=b.params.pagination;let{el:ae}=b.pagination;ae=(0,M.m)(ae),ae.forEach(te=>{te.classList.remove(ue.horizontalClass,ue.verticalClass),te.classList.add(b.isHorizontal()?ue.horizontalClass:ue.verticalClass)})}),R("init",()=>{!1===b.params.pagination.enabled?ce():(Z(),W(),X())}),R("activeIndexChange",()=>{typeof b.snapIndex>"u"&&X()}),R("snapIndexChange",()=>{X()}),R("snapGridLengthChange",()=>{W(),X()}),R("destroy",()=>{re()}),R("enable disable",()=>{let{el:ue}=b.pagination;ue&&(ue=(0,M.m)(ue),ue.forEach(ae=>ae.classList[b.enabled?"remove":"add"](b.params.pagination.lockClass)))}),R("lock unlock",()=>{X()}),R("click",(ue,ae)=>{const te=ae.target,de=(0,M.m)(b.pagination.el);if(b.params.pagination.el&&b.params.pagination.hideOnClick&&de&&de.length>0&&!te.classList.contains(b.params.pagination.bulletClass)){if(b.navigation&&(b.navigation.nextEl&&te===b.navigation.nextEl||b.navigation.prevEl&&te===b.navigation.prevEl))return;const _e=de[0].classList.contains(b.params.pagination.hiddenClass);N(!0===_e?"paginationShow":"paginationHide"),de.forEach(we=>we.classList.toggle(b.params.pagination.hiddenClass))}});const ce=()=>{b.el.classList.add(b.params.pagination.paginationDisabledClass);let{el:ue}=b.pagination;ue&&(ue=(0,M.m)(ue),ue.forEach(ae=>ae.classList.add(b.params.pagination.paginationDisabledClass))),re()};Object.assign(b.pagination,{enable:()=>{b.el.classList.remove(b.params.pagination.paginationDisabledClass);let{el:ue}=b.pagination;ue&&(ue=(0,M.m)(ue),ue.forEach(ae=>ae.classList.remove(b.params.pagination.paginationDisabledClass))),Z(),W(),X()},disable:ce,render:W,update:X,init:Z,destroy:re})}},60401(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>E});var S=d(84015);function E({swiper:M,extendParams:f,on:b}){f({parallax:{enabled:!1}});const A="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",R=(ee,B)=>{const{rtl:ie}=M,ve=ie?-1:1,U=ee.getAttribute("data-swiper-parallax")||"0";let ne=ee.getAttribute("data-swiper-parallax-x"),X=ee.getAttribute("data-swiper-parallax-y");const W=ee.getAttribute("data-swiper-parallax-scale"),Z=ee.getAttribute("data-swiper-parallax-opacity"),re=ee.getAttribute("data-swiper-parallax-rotate");if(ne||X?(ne=ne||"0",X=X||"0"):M.isHorizontal()?(ne=U,X="0"):(X=U,ne="0"),ne=ne.indexOf("%")>=0?parseInt(ne,10)*B*ve+"%":ne*B*ve+"px",X=X.indexOf("%")>=0?parseInt(X,10)*B+"%":X*B+"px",typeof Z<"u"&&null!==Z){const ce=Z-(Z-1)*(1-Math.abs(B));ee.style.opacity=ce}let K=`translate3d(${ne}, ${X}, 0px)`;typeof W<"u"&&null!==W&&(K+=` scale(${W-(W-1)*(1-Math.abs(B))})`),re&&typeof re<"u"&&null!==re&&(K+=` rotate(${re*B*-1}deg)`),ee.style.transform=K},N=()=>{const{el:ee,slides:B,progress:ie,snapGrid:ve}=M,ne=(0,S.e)(ee,A);M.isElement&&ne.push(...(0,S.e)(M.hostEl,A)),ne.forEach(X=>{R(X,ie)}),B.forEach((X,W)=>{let Z=X.progress;M.params.slidesPerGroup>1&&"auto"!==M.params.slidesPerView&&(Z+=Math.ceil(W/2)-ie*(ve.length-1)),Z=Math.min(Math.max(Z,-1),1),X.querySelectorAll(`${A}, [data-swiper-parallax-rotate]`).forEach(re=>{R(re,Z)})})};b("beforeInit",()=>{M.params.parallax.enabled&&(M.params.watchSlidesProgress=!0,M.originalParams.watchSlidesProgress=!0)}),b("init",()=>{M.params.parallax.enabled&&N()}),b("setTranslate",()=>{M.params.parallax.enabled&&N()}),b("setTransition",(ee,B)=>{M.params.parallax.enabled&&((ee=M.params.speed)=>{const{el:B,hostEl:ie}=M,ve=[...B.querySelectorAll(A)];M.isElement&&ve.push(...ie.querySelectorAll(A)),ve.forEach(U=>{let ne=parseInt(U.getAttribute("data-swiper-parallax-duration"),10)||ee;0===ee&&(ne=0),U.style.transitionDuration=`${ne}ms`})})(B)})}},29514(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>b});var S=d(27606),E=d(84015),M=d(88121),f=d(38036);function b({swiper:A,extendParams:R,on:N,emit:q}){const ee=(0,S.g)();let U,ne,X,W,B=!1,ie=null,ve=null;function Z(){if(!A.params.scrollbar.el||!A.scrollbar.el)return;const{scrollbar:Je,rtlTranslate:vt}=A,{dragEl:$t,el:Et}=Je,xt=A.params.scrollbar;let ke=ne,qe=(X-ne)*(A.params.loop?A.progressLoop:A.progress);vt?(qe=-qe,qe>0?(ke=ne-qe,qe=0):-qe+ne>X&&(ke=X+qe)):qe<0?(ke=ne+qe,qe=0):qe+ne>X&&(ke=X-qe),A.isHorizontal()?($t.style.transform=`translate3d(${qe}px, 0, 0)`,$t.style.width=`${ke}px`):($t.style.transform=`translate3d(0px, ${qe}px, 0)`,$t.style.height=`${ke}
1px`),xt.hide&&(clearTimeout(ie),Et.style.opacity=1,ie=setTimeout(()=>{Et.style.opacity=0,Et.style.transitionDuration="400ms"},1e3))}function K(){if(!A.params.scrollbar.el||!A.scrollbar.el)return;const{scrollbar:Je}=A,{dragEl:vt,el:$t}=Je;vt.style.width="",vt.style.height="",X=A.isHorizontal()?$t.offsetWidth:$t.offsetHeight,W=A.size/(A.virtualSize+A.params.slidesOffsetBefore-(A.params.centeredSlides?A.snapGrid[0]:0)),ne="auto"===A.params.scrollbar.dragSize?X*W:parseInt(A.params.scrollbar.dragSize,10),A.isHorizontal()?vt.style.width=`${ne}px`:vt.style.height=`${ne}px`,$t.style.display=W>=1?"none":"",A.params.scrollbar.hide&&($t.style.opacity=0),A.params.watchOverflow&&A.enabled&&Je.el.classList[A.isLocked?"add":"remove"](A.params.scrollbar.lockClass)}function ce(Je){return A.isHorizontal()?Je.clientX:Je.clientY}function ue(Je){const{scrollbar:vt,rtlTranslate:$t}=A,{el:Et}=vt;let xt;xt=(ce(Je)-(0,E.f)(Et)[A.isHorizontal()?"left":"top"]-(null!==U?U:ne/2))/(X-ne),xt=Math.max(Math.min(xt,1),0),$t&&(xt=1-xt);const Ot=A.minTranslate()+(A.maxTranslate()-A.minTranslate())*xt;A.updateProgress(Ot),A.setTranslate(Ot),A.updateActiveIndex(),A.updateSlidesClasses()}function ae(Je){const vt=A.params.scrollbar,{scrollbar:$t,wrapperEl:Et}=A,{el:xt,dragEl:Ot}=$t;B=!0,U=Je.target===Ot?ce(Je)-Je.target.getBoundingClientRect()[A.isHorizontal()?"left":"top"]:null,Je.preventDefault(),Je.stopPropagation(),Et.style.transitionDuration="100ms",Ot.style.transitionDuration="100ms",ue(Je),clearTimeout(ve),xt.style.transitionDuration="0ms",vt.hide&&(xt.style.opacity=1),A.params.cssMode&&(A.wrapperEl.style["scroll-snap-type"]="none"),q("scrollbarDragStart",Je)}function te(Je){const{scrollbar:vt,wrapperEl:$t}=A,{el:Et,dragEl:xt}=vt;B&&(Je.preventDefault&&Je.cancelable?Je.preventDefault():Je.returnValue=!1,ue(Je),$t.style.transitionDuration="0ms",Et.style.transitionDuration="0ms",xt.style.transitionDuration="0ms",q("scrollbarDragMove",Je))}function de(Je){const vt=A.params.scrollbar,{scrollbar:$t,wrapperEl:Et}=A,{el:xt}=$t;B&&(B=!1,A.params.cssMode&&(A.wrapperEl.style["scroll-snap-type"]="",Et.style.transitionDuration=""),vt.hide&&(clearTimeout(ve),ve=(0,E.n)(()=>{xt.style.opacity=0,xt.style.transitionDuration="400ms"},1e3)),q("scrollbarDragEnd",Je),vt.snapOnRelease&&A.slideToClosest())}function _e(Je){const{scrollbar:vt,params:$t}=A,Et=vt.el;if(!Et)return;const Ot=!!$t.passiveListeners&&{passive:!1,capture:!1},ke=!!$t.passiveListeners&&{passive:!0,capture:!1};if(!Et)return;const qe="on"===Je?"addEventListener":"removeEventListener";Et[qe]("pointerdown",ae,Ot),ee[qe]("pointermove",te,Ot),ee[qe]("pointerup",de,ke)}function Ie(){const{scrollbar:Je,el:vt}=A;A.params.scrollbar=(0,M.c)(A,A.originalParams.scrollbar,A.params.scrollbar,{el:"swiper-scrollbar"});const $t=A.params.scrollbar;if(!$t.el)return;let Et,xt;if("string"==typeof $t.el&&A.isElement&&(Et=A.el.querySelector($t.el)),Et||"string"!=typeof $t.el)Et||(Et=$t.el);else if(Et=ee.querySelectorAll($t.el),!Et.length)return;A.params.uniqueNavElements&&"string"==typeof $t.el&&Et.length>1&&1===vt.querySelectorAll($t.el).length&&(Et=vt.querySelector($t.el)),Et.length>0&&(Et=Et[0]),Et.classList.add(A.isHorizontal()?$t.horizontalClass:$t.verticalClass),Et&&(xt=Et.querySelector((0,f.c)(A.params.scrollbar.dragClass)),xt||(xt=(0,E.c)("div",A.params.scrollbar.dragClass),Et.append(xt))),Object.assign(Je,{el:Et,dragEl:xt}),$t.draggable&&function we(){!A.params.scrollbar.el||!A.scrollbar.el||_e("on")}(),Et&&Et.classList[A.enabled?"remove":"add"](...(0,E.k)(A.params.scrollbar.lockClass))}function Me(){const Je=A.params.scrollbar,vt=A.scrollbar.el;vt&&vt.classList.remove(...(0,E.k)(A.isHorizontal()?Je.horizontalClass:Je.verticalClass)),function De(){!A.params.scrollbar.el||!A.scrollbar.el||_e("off")}()}R({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),A.scrollbar={el:null,dragEl:null},N("changeDirection",()=>{if(!A.scrollbar||!A.scrollbar.el)return;const Je=A.params.scrollbar;let{el:vt}=A.scrollbar;vt=(0,E.m)(vt),vt.forEach($t=>{$t.classList.remove(Je.horizontalClass,Je.verticalClass),$t.classList.add(A.isHorizontal()?Je.horizontalClass:Je.verticalClass)})}),N("init",()=>{!1===A.params.scrollbar.enabled?Ye():(Ie(),K(),Z())}),N("update resize observerUpdate lock unlock changeDirection",()=>{K()}),N("setTranslate",()=>{Z()}),N("setTransition",(Je,vt)=>{!function re(Je){!A.params.scrollbar.el||!A.scrollbar.el||(A.scrollbar.dragEl.style.transitionDuration=`${Je}ms`)}(vt)}),N("enable disable",()=>{const{el:Je}=A.scrollbar;Je&&Je.classList[A.enabled?"remove":"add"](...(0,E.k)(A.params.scrollbar.lockClass))}),N("destroy",()=>{Me()});const Ye=()=>{A.el.classList.add(...(0,E.k)(A.params.scrollbar.scrollbarDisabledClass)),A.scrollbar.el&&A.scrollbar.el.classList.add(...(0,E.k)(A.params.scrollbar.scrollbarDisabledClass)),Me()};Object.assign(A.scrollbar,{enable:()=>{A.el.classList.remove(...(0,E.k)(A.params.scrollbar.scrollbarDisabledClass)),A.scrollbar.el&&A.scrollbar.el.classList.remove(...(0,E.k)(A.params.scrollbar.scrollbarDisabledClass)),Ie(),K(),Z()},disable:Ye,updateSize:K,setTranslate:Z,init:Ie,destroy:Me})}},42007(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,on:A}){b({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let R=!1,N=!1;function q(){const U=f.thumbs.swiper;return!(!U||U.destroyed)&&U.params.virtual&&U.params.virtual.enabled}function ee(){const U=f.thumbs.swiper;if(!U||U.destroyed)return;const ne=U.clickedIndex,X=U.clickedSlide;if(X&&X.classList.contains(f.params.thumbs.slideThumbActiveClass)||typeof ne>"u"||null===ne)return;let W;W=U.params.loop?parseInt(U.clickedSlide.getAttribute("data-swiper-slide-index"),10):ne,f.params.loop?f.slideToLoop(W):f.slideTo(W)}function B(){const{thumbs:U}=f.params;if(R)return!1;R=!0;const ne=f.constructor;if(U.swiper instanceof ne){if(U.swiper.destroyed)return R=!1,!1;f.thumbs.swiper=U.swiper,Object.assign(f.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(f.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
1),f.thumbs.swiper.update()}else if((0,E.p)(U.swiper)){const X=Object.assign({},U.swiper);Object.assign(X,{watchSlidesProgress:!0,slideToClickedSlide:!1}),f.thumbs.swiper=new ne(X),N=!0}return f.thumbs.swiper.el.classList.add(f.params.thumbs.thumbsContainerClass),f.thumbs.swiper.on("tap",ee),q()&&f.thumbs.swiper.on("virtualUpdate",()=>{ie(!1,{autoScroll:!1})}),!0}function ie(U,ne){const X=f.thumbs.swiper;if(!X||X.destroyed)return;let W=1;const Z=f.params.thumbs.slideThumbActiveClass;if(f.params.slidesPerView>1&&!f.params.centeredSlides&&(W=f.params.slidesPerView),f.params.thumbs.multipleActiveThumbs||(W=1),W=Math.floor(W),X.slides.forEach(re=>re.classList.remove(Z)),X.params.loop||q())for(let re=0;re<W;re+=1)(0,E.e)(X.slidesEl,`[data-swiper-slide-index="${f.realIndex+re}"]`).forEach(K=>{K.classList.add(Z)});else for(let re=0;re<W;re+=1)X.slides[f.realIndex+re]&&X.slides[f.realIndex+re].classList.add(Z);(ne?.autoScroll??1)&&function ve(U){const ne=f.thumbs.swiper;if(!ne||ne.destroyed)return;const X="auto"===ne.params.slidesPerView?ne.slidesPerViewDynamic():ne.params.slidesPerView,W=f.params.thumbs.autoScrollOffset,Z=W&&!ne.params.loop;if(f.realIndex!==ne.realIndex||Z){const re=ne.activeIndex;let K,ce;if(ne.params.loop){const ue=ne.slides.find(ae=>ae.getAttribute("data-swiper-slide-index")===`${f.realIndex}`);K=ne.slides.indexOf(ue),ce=f.activeIndex>f.previousIndex?"next":"prev"}else K=f.realIndex,ce=K>f.previousIndex?"next":"prev";Z&&(K+="next"===ce?W:-1*W),ne.visibleSlidesIndexes&&ne.visibleSlidesIndexes.indexOf(K)<0&&(ne.params.centeredSlides&&(K=K>re?K-Math.floor(X/2)+1:K+Math.floor(X/2)-1),ne.slideTo(K,U))}}(U?0:void 0)}f.thumbs={swiper:null},A("beforeInit",()=>{const{thumbs:U}=f.params;if(U&&U.swiper)if("string"==typeof U.swiper||U.swiper instanceof HTMLElement){const ne=(0,S.g)(),X=()=>{const Z="string"==typeof U.swiper?ne.querySelector(U.swiper):U.swiper;if(Z&&Z.swiper)U.swiper=Z.swiper,B(),ie(!0);else if(Z){const re=`${f.params.eventsPrefix}init`,K=ce=>{U.swiper=ce.detail[0],Z.removeEventListener(re,K),B(),ie(!0),U.swiper.update(),f.update()};Z.addEventListener(re,K)}return Z},W=()=>{f.destroyed||X()||requestAnimationFrame(W)};requestAnimationFrame(W)}else B(),ie(!0)}),A("slideChange update resize observerUpdate",()=>{ie()}),A("setTransition",(U,ne)=>{const X=f.thumbs.swiper;!X||X.destroyed||X.setTransition(ne)}),A("beforeDestroy",()=>{const U=f.thumbs.swiper;!U||U.destroyed||N&&U.destroy()}),Object.assign(f.thumbs,{init:B,update:ie})}},77149(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,on:A,emit:R}){let N;b({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const q=(0,S.g)();f.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const ee=q.createElement("div");function B(W,Z){const re=f.params.virtual;if(re.cache&&f.virtual.cache[Z])return f.virtual.cache[Z];let K;return re.renderSlide?(K=re.renderSlide.call(f,W,Z),"string"==typeof K&&((0,E.s)(ee,K),K=ee.children[0])):K=f.isElement?(0,E.c)("swiper-slide"):(0,E.c)("div",f.params.slideClass),K.setAttribute("data-swiper-slide-index",Z),re.renderSlide||(0,E.s)(K,W),re.cache&&(f.virtual.cache[Z]=K),K}function ie(W,Z,re){const{slidesPerGroup:K,centeredSlides:ce,slidesPerView:ue,loop:ae,initialSlide:te}=f.params;if(Z&&!ae&&te>0)return;const{addSlidesBefore:de,addSlidesAfter:_e,slidesPerViewAutoSlideSize:we}=f.params.virtual,{from:De,to:Ie,slides:Me,slidesGrid:Ze,offset:Ye}=f.virtual;f.params.cssMode||f.updateActiveIndex();const Je=typeof re>"u"?f.activeIndex||0:re;let vt,$t,Et,xt;if(vt=f.rtlTranslate?"right":f.isHorizontal()?"left":"top","auto"===ue)if(we){let ut=f.size;ut||(ut=f.isHorizontal()?f.el.getBoundingClientRect().width:f.el.getBoundingClientRect().height),$t=Math.max(1,Math.ceil(ut/we))}else $t=1;else $t=ue;ce?(Et=Math.floor($t/2)+K+_e,xt=Math.floor($t/2)+K+de):(Et=$t+(K-1)+_e,xt=(ae?$t:K)+de);let Ot=Je-xt,ke=Je+Et;ae||(Ot=Math.max(Ot,0),ke=Math.min(ke,Me.length-1));let qe=(f.slidesGrid[Ot]||0)-(f.slidesGrid[0]||0);function At(){f.updateSlides(),f.updateProgress(),f.updateSlidesClasses(),R("virtualUpdate")}if(ae&&Je>=xt?(Ot-=xt,ce||(qe+=f.slidesGrid[0])):ae&&Je<xt&&(Ot=-xt,ce&&(qe+=f.slidesGrid[0])),Object.assign(f.virtual,{from:Ot,to:ke,offset:qe,slidesGrid:f.slidesGrid,slidesBefore:xt,slidesAfter:Et}),De===Ot&&Ie===ke&&!W)return f.slidesGrid!==Ze&&qe!==Ye&&f.slides.forEac
1h(ut=>{ut.style[vt]=qe-Math.abs(f.cssOverflowAdjustment())+"px"}),f.updateProgress(),void R("virtualUpdate");if(f.params.virtual.renderExternal)return f.params.virtual.renderExternal.call(f,{offset:qe,from:Ot,to:ke,slides:function(){const kt=[];for(let Dt=Ot;Dt<=ke;Dt+=1)kt.push(Me[Dt]);return kt}()}),void(f.params.virtual.renderExternalUpdate?At():R("virtualUpdate"));const Ct=[],_t=[],Ke=ut=>{let kt=ut;return ut<0?kt=Me.length+ut:kt>=Me.length&&(kt-=Me.length),kt};if(W)f.slides.filter(ut=>ut.matches(`.${f.params.slideClass}, swiper-slide`)).forEach(ut=>{ut.remove()});else for(let ut=De;ut<=Ie;ut+=1)if(ut<Ot||ut>ke){const kt=Ke(ut);f.slides.filter(Dt=>Dt.matches(`.${f.params.slideClass}[data-swiper-slide-index="${kt}"], swiper-slide[data-swiper-slide-index="${kt}"]`)).forEach(Dt=>{Dt.remove()})}const rt=ae?2*Me.length:Me.length;for(let ut=ae?-Me.length:0;ut<rt;ut+=1)if(ut>=Ot&&ut<=ke){const kt=Ke(ut);typeof Ie>"u"||W?_t.push(kt):(ut>Ie&&_t.push(kt),ut<De&&Ct.push(kt))}if(_t.forEach(ut=>{f.slidesEl.append(B(Me[ut],ut))}),ae)for(let ut=Ct.length-1;ut>=0;ut-=1){const kt=Ct[ut];f.slidesEl.prepend(B(Me[kt],kt))}else Ct.sort((ut,kt)=>kt-ut),Ct.forEach(ut=>{f.slidesEl.prepend(B(Me[ut],ut))});(0,E.e)(f.slidesEl,".swiper-slide, swiper-slide").forEach(ut=>{ut.style[vt]=qe-Math.abs(f.cssOverflowAdjustment())+"px"}),At()}A("beforeInit",()=>{if(!f.params.virtual.enabled)return;let W;if(typeof f.passedParams.virtual.slides>"u"){const Z=[...f.slidesEl.children].filter(re=>re.matches(`.${f.params.slideClass}, swiper-slide`));Z&&Z.length&&(f.virtual.slides=[...Z],W=!0,Z.forEach((re,K)=>{re.setAttribute("data-swiper-slide-index",K),f.virtual.cache[K]=re,re.remove()}))}W||(f.virtual.slides=f.params.virtual.slides),f.classNames.push(`${f.params.containerModifierClass}virtual`),f.params.watchSlidesProgress=!0,f.originalParams.watchSlidesProgress=!0,ie(!1,!0)}),A("setTranslate",()=>{f.params.virtual.enabled&&(f.params.cssMode&&!f._immediateVirtual?(clearTimeout(N),N=setTimeout(()=>{ie()},100)):ie())}),A("init update resize",()=>{f.params.virtual.enabled&&f.params.cssMode&&(0,E.b)(f.wrapperEl,"--swiper-virtual-size",`${f.virtualSize}px`)}),Object.assign(f.virtual,{appendSlide:function ve(W){if("object"==typeof W&&"length"in W)for(let Z=0;Z<W.length;Z+=1)W[Z]&&f.virtual.slides.push(W[Z]);else f.virtual.slides.push(W);ie(!0)},prependSlide:function U(W){const Z=f.activeIndex;let re=Z+1,K=1;if(Array.isArray(W)){for(let ce=0;ce<W.length;ce+=1)W[ce]&&f.virtual.slides.unshift(W[ce]);re=Z+W.length,K=W.length}else f.virtual.slides.unshift(W);if(f.params.virtual.cache){const ce=f.virtual.cache,ue={};Object.keys(ce).forEach(ae=>{const te=ce[ae],de=te.getAttribute("data-swiper-slide-index");de&&te.setAttribute("data-swiper-slide-index",parseInt(de,10)+K),ue[parseInt(ae,10)+K]=te}),f.virtual.cache=ue}ie(!0),f.slideTo(re,0)},removeSlide:function ne(W){if(typeof W>"u"||null===W)return;let Z=f.activeIndex;if(Array.isArray(W))for(let re=W.length-1;re>=0;re-=1)f.params.virtual.cache&&(delete f.virtual.cache[W[re]],Object.keys(f.virtual.cache).forEach(K=>{K>W&&(f.virtual.cache[K-1]=f.virtual.cache[K],f.virtual.cache[K-1].setAttribute("data-swiper-slide-index",K-1),delete f.virtual.cache[K])})),f.virtual.slides.splice(W[re],1),W[re]<Z&&(Z-=1),Z=Math.max(Z,0);else f.params.virtual.cache&&(delete f.virtual.cache[W],Object.keys(f.virtual.cache).forEach(re=>{re>W&&(f.virtual.cache[re-1]=f.virtual.cache[re],f.virtual.cache[re-1].setAttribute("data-swiper-slide-index",re-1),delete f.virtual.cache[re])})),f.virtual.slides.splice(W,1),W<Z&&(Z-=1),Z=Math.max(Z,0);ie(!0),f.slideTo(Z,0)},removeAllSlides:function X(){f.virtual.slides=[],f.params.virtual.cache&&(f.virtual.cache={}),ie(!0),f.slideTo(0,0)},update:ie})}},67341(Vt,Pe,d){"use strict";d.d(Pe,{A:()=>M});var S=d(27606),E=d(84015);function M({swiper:f,extendParams:b,on:A,emit:R}){const N=(0,S.a)();b({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),f.zoom={enabled:!1};let U,ne,q=1,ee=!1,B=!1,ie={x:0,y:0};const X=[],W={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},Z={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},re={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let Me,K=1;function ce(){return X.length<2?1:Math.sqrt((X[1].pageX-X[0].pageX)**2+(X[1].pageY-X[0].pageY)**2)}function ue(){const Ke=f.params.zoom,mt=W.imageWrapEl.getAttribute("data-swiper-zoom")||Ke.maxRatio;
1return Ke.limitToOriginalSize&&W.imageEl&&W.imageEl.naturalWidth?Math.min(W.imageEl.naturalWidth/W.imageEl.offsetWidth,mt):mt}function de(Ke){const mt=function te(){return f.isElement?"swiper-slide":`.${f.params.slideClass}`}();return!!(Ke.target.matches(mt)||f.slides.filter(rt=>rt.contains(Ke.target)).length>0)}function _e(Ke){const mt=`.${f.params.zoom.containerClass}`;return!!(Ke.target.matches(mt)||[...f.hostEl.querySelectorAll(mt)].filter(rt=>rt.contains(Ke.target)).length>0)}function we(Ke){if("mouse"===Ke.pointerType&&X.splice(0,X.length),!de(Ke))return;const mt=f.params.zoom;if(U=!1,ne=!1,X.push(Ke),!(X.length<2)){if(U=!0,W.scaleStart=ce(),!W.slideEl){W.slideEl=Ke.target.closest(`.${f.params.slideClass}, swiper-slide`),W.slideEl||(W.slideEl=f.slides[f.activeIndex]);let rt=W.slideEl.querySelector(`.${mt.containerClass}`);if(rt&&(rt=rt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),W.imageEl=rt,W.imageWrapEl=rt?(0,E.d)(W.imageEl,`.${mt.containerClass}`)[0]:void 0,!W.imageWrapEl)return void(W.imageEl=void 0);W.maxRatio=ue()}if(W.imageEl){const[rt,ut]=function ae(){if(X.length<2)return{x:null,y:null};const Ke=W.imageEl.getBoundingClientRect();return[(X[0].pageX+(X[1].pageX-X[0].pageX)/2-Ke.x-N.scrollX)/q,(X[0].pageY+(X[1].pageY-X[0].pageY)/2-Ke.y-N.scrollY)/q]}();W.originX=rt,W.originY=ut,W.imageEl.style.transitionDuration="0ms"}ee=!0}}function De(Ke){if(!de(Ke))return;const mt=f.params.zoom,rt=f.zoom,ut=X.findIndex(kt=>kt.pointerId===Ke.pointerId);ut>=0&&(X[ut]=Ke),!(X.length<2)&&(ne=!0,W.scaleMove=ce(),W.imageEl&&(rt.scale=W.scaleMove/W.scaleStart*q,rt.scale>W.maxRatio&&(rt.scale=W.maxRatio-1+(rt.scale-W.maxRatio+1)**.5),rt.scale<mt.minRatio&&(rt.scale=mt.minRatio+1-(mt.minRatio-rt.scale+1)**.5),W.imageEl.style.transform=`translate3d(0,0,0) scale(${rt.scale})`))}function Ie(Ke){if(!de(Ke)||"mouse"===Ke.pointerType&&"pointerout"===Ke.type)return;const mt=f.params.zoom,rt=f.zoom,ut=X.findIndex(kt=>kt.pointerId===Ke.pointerId);ut>=0&&X.splice(ut,1),U&&ne&&(U=!1,ne=!1,W.imageEl&&(rt.scale=Math.max(Math.min(rt.scale,W.maxRatio),mt.minRatio),W.imageEl.style.transitionDuration=`${f.params.speed}ms`,W.imageEl.style.transform=`translate3d(0,0,0) scale(${rt.scale})`,q=rt.scale,ee=!1,rt.scale>1&&W.slideEl?W.slideEl.classList.add(`${mt.zoomedSlideClass}`):rt.scale<=1&&W.slideEl&&W.slideEl.classList.remove(`${mt.zoomedSlideClass}`),1===rt.scale&&(W.originX=0,W.originY=0,W.slideEl=void 0)))}function Ze(){f.touchEventsData.preventTouchMoveFromPointerMove=!1}function vt(Ke){const rt="mouse"===Ke.pointerType&&f.params.zoom.panOnMouseMove;if(!de(Ke)||!_e(Ke))return;const ut=f.zoom;if(!W.imageEl)return;if(!Z.isTouched||!W.slideEl)return void(rt&&xt(Ke));if(rt)return void xt(Ke);Z.isMoved||(Z.width=W.imageEl.offsetWidth||W.imageEl.clientWidth,Z.height=W.imageEl.offsetHeight||W.imageEl.clientHeight,Z.startX=(0,E.l)(W.imageWrapEl,"x")||0,Z.startY=(0,E.l)(W.imageWrapEl,"y")||0,W.slideWidth=W.slideEl.offsetWidth,W.slideHeight=W.slideEl.offsetHeight,W.imageWrapEl.style.transitionDuration="0ms");const Dt=Z.height*ut.scale;if(Z.minX=Math.min(W.slideWidth/2-Z.width*ut.scale/2,0),Z.maxX=-Z.minX,Z.minY=Math.min(W.slideHeight/2-Dt/2,0),Z.maxY=-Z.minY,Z.touchesCurrent.x=X.length>0?X[0].pageX:Ke.pageX,Z.touchesCurrent.y=X.length>0?X[0].pageY:Ke.pageY,Math.max(Math.abs(Z.touchesCurrent.x-Z.touchesStart.x),Math.abs(Z.touchesCurrent.y-Z.touchesStart.y))>5&&(f.allowClick=!1),!Z.isMoved&&!ee){if(f.isHorizontal()&&(Math.floor(Z.minX)===Math.floor(Z.startX)&&Z.touchesCurrent.x<Z.touchesStart.x||Math.floor(Z.maxX)===Math.floor(Z.startX)&&Z.touchesCurrent.x>Z.touchesStart.x))return Z.isTouched=!1,void Ze();if(!f.isHorizontal()&&(Math.floor(Z.minY)===Math.floor(Z.startY)&&Z.touchesCurrent.y<Z.touchesStart.y||Math.floor(Z.maxY)===Math.floor(Z.startY)&&Z.touchesCurrent.y>Z.touchesStart.y))return Z.isTouched=!1,void Ze()}Ke.cancelable&&Ke.preventDefault(),Ke.stopPropagation(),function Ye(){clearTimeout(Me),f.touchEventsData.preventTouchMoveFromPointerMove=!0,Me=setTimeout(()=>{f.destroyed||Ze()})}(),Z.isMoved=!0;const An=(ut.scale-q)/(W.maxRatio-f.params.zoom.minRatio),{originX:Qn,originY:lr}=W;Z.currentX=Z.touchesCurrent.x-Z.touchesStart.x+Z.startX+An*(Z.width-2*Qn),Z.currentY=Z.touchesCurrent.y-Z.touchesStart.y+Z.startY+An*(Z.height-2*lr),Z.
1currentX<Z.minX&&(Z.currentX=Z.minX+1-(Z.minX-Z.currentX+1)**.8),Z.currentX>Z.maxX&&(Z.currentX=Z.maxX-1+(Z.currentX-Z.maxX+1)**.8),Z.currentY<Z.minY&&(Z.currentY=Z.minY+1-(Z.minY-Z.currentY+1)**.8),Z.currentY>Z.maxY&&(Z.currentY=Z.maxY-1+(Z.currentY-Z.maxY+1)**.8),re.prevPositionX||(re.prevPositionX=Z.touchesCurrent.x),re.prevPositionY||(re.prevPositionY=Z.touchesCurrent.y),re.prevTime||(re.prevTime=Date.now()),re.x=(Z.touchesCurrent.x-re.prevPositionX)/(Date.now()-re.prevTime)/2,re.y=(Z.touchesCurrent.y-re.prevPositionY)/(Date.now()-re.prevTime)/2,Math.abs(Z.touchesCurrent.x-re.prevPositionX)<2&&(re.x=0),Math.abs(Z.touchesCurrent.y-re.prevPositionY)<2&&(re.y=0),re.prevPositionX=Z.touchesCurrent.x,re.prevPositionY=Z.touchesCurrent.y,re.prevTime=Date.now(),W.imageWrapEl.style.transform=`translate3d(${Z.currentX}px, ${Z.currentY}px,0)`}function Et(){const Ke=f.zoom;W.slideEl&&f.activeIndex!==f.slides.indexOf(W.slideEl)&&(W.imageEl&&(W.imageEl.style.transform="translate3d(0,0,0) scale(1)"),W.imageWrapEl&&(W.imageWrapEl.style.transform="translate3d(0,0,0)"),W.slideEl.classList.remove(`${f.params.zoom.zoomedSlideClass}`),Ke.scale=1,q=1,W.slideEl=void 0,W.imageEl=void 0,W.imageWrapEl=void 0,W.originX=0,W.originY=0)}function xt(Ke){if(q<=1||!W.imageWrapEl||!de(Ke)||!_e(Ke))return;const mt=N.getComputedStyle(W.imageWrapEl).transform,rt=new N.DOMMatrix(mt);if(!B)return B=!0,ie.x=Ke.clientX,ie.y=Ke.clientY,Z.startX=rt.e,Z.startY=rt.f,Z.width=W.imageEl.offsetWidth||W.imageEl.clientWidth,Z.height=W.imageEl.offsetHeight||W.imageEl.clientHeight,W.slideWidth=W.slideEl.offsetWidth,void(W.slideHeight=W.slideEl.offsetHeight);const ut=-3*(Ke.clientX-ie.x),kt=-3*(Ke.clientY-ie.y),Sn=Z.height*q,Qn=W.slideHeight,lr=Math.min(W.slideWidth/2-Z.width*q/2,0),jn=-lr,xr=Math.min(Qn/2-Sn/2,0),tn=-xr,dn=Math.max(Math.min(Z.startX+ut,jn),lr),bn=Math.max(Math.min(Z.startY+kt,tn),xr);W.imageWrapEl.style.transitionDuration="0ms",W.imageWrapEl.style.transform=`translate3d(${dn}px, ${bn}px, 0)`,ie.x=Ke.clientX,ie.y=Ke.clientY,Z.startX=dn,Z.startY=bn,Z.currentX=dn,Z.currentY=bn}function Ot(Ke){const mt=f.zoom,rt=f.params.zoom;if(!W.slideEl){Ke&&Ke.target&&(W.slideEl=Ke.target.closest(`.${f.params.slideClass}, swiper-slide`)),W.slideEl||(W.slideEl=f.params.virtual&&f.params.virtual.enabled&&f.virtual?(0,E.e)(f.slidesEl,`.${f.params.slideActiveClass}`)[0]:f.slides[f.activeIndex]);let yi=W.slideEl.querySelector(`.${rt.containerClass}`);yi&&(yi=yi.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),W.imageEl=yi,W.imageWrapEl=yi?(0,E.d)(W.imageEl,`.${rt.containerClass}`)[0]:void 0}if(!W.imageEl||!W.imageWrapEl)return;let ut,kt,Dt,Sn,An,Qn,lr,jn,xr,tn,dn,bn,Cn,En,m,Jn,ni,Br;W.maxRatio=ue(),f.params.cssMode&&(f.wrapperEl.style.overflow="hidden",f.wrapperEl.style.touchAction="none"),W.slideEl.classList.add(`${rt.zoomedSlideClass}`),typeof Z.touchesStart.x>"u"&&Ke?(ut=Ke.pageX,kt=Ke.pageY):(ut=Z.touchesStart.x,kt=Z.touchesStart.y);const bi=q,Kr="number"==typeof Ke?Ke:null;1===q&&Kr&&(ut=void 0,kt=void 0,Z.touchesStart.x=void 0,Z.touchesStart.y=void 0);const Lr=ue();mt.scale=Kr||Lr,q=Kr||Lr,!Ke||1===q&&Kr?(lr=0,jn=0):(ni=W.slideEl.offsetWidth,Br=W.slideEl.offsetHeight,Dt=(0,E.f)(W.slideEl).left+N.scrollX,Sn=(0,E.f)(W.slideEl).top+N.scrollY,An=Dt+ni/2-ut,Qn=Sn+Br/2-kt,xr=W.imageEl.offsetWidth||W.imageEl.clientWidth,tn=W.imageEl.offsetHeight||W.imageEl.clientHeight,dn=xr*mt.scale,bn=tn*mt.scale,Cn=Math.min(ni/2-dn/2,0),En=Math.min(Br/2-bn/2,0),m=-Cn,Jn=-En,bi>0&&Kr&&"number"==typeof Z.currentX&&"number"==typeof Z.currentY?(lr=Z.currentX*mt.scale/bi,jn=Z.currentY*mt.scale/bi):(lr=An*mt.scale,jn=Qn*mt.scale),lr<Cn&&(lr=Cn),lr>m&&(lr=m),jn<En&&(jn=En),jn>Jn&&(jn=Jn)),Kr&&1===mt.scale&&(W.originX=0,W.originY=0),Z.currentX=lr,Z.currentY=jn,W.imageWrapEl.style.transitionDuration="300ms",W.imageWrapEl.style.transform=`translate3d(${lr}px, ${jn}px,0)`,W.imageEl.style.transitionDuration="300ms",W.imageEl.style.transform=`translate3d(0,0,0) scale(${mt.scale})`}function ke(){const Ke=f.zoom,mt=f.params.zoom;if(!W.slideEl){W.slideEl=f.params.virtual&&f.params.virtual.enabled&&f.virtual?(0,E.e)(f.slidesEl,`.${f.params.slideActiveClass}`)[0]:f.slides[f.activeIndex];let rt=W.slideEl.querySelector(`.${mt.containerClass}`);rt&&(rt=rt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),W.imageEl=rt,W.imageWrapEl=rt?(0,E.d)(W.imageEl,`.${mt.containerClass}`)[0]:void 0}!W.imageEl||!W.imageWrapEl||(W.maxRatio=ue(),f.params.cssMode&&(f.wrapperEl.style.overflow="",f.wrapperEl.style.touchAction=""),Ke.scale=1,q=1,Z.
1currentX=void 0,Z.currentY=void 0,Z.touchesStart.x=void 0,Z.touchesStart.y=void 0,W.imageWrapEl.style.transitionDuration="300ms",W.imageWrapEl.style.transform="translate3d(0,0,0)",W.imageEl.style.transitionDuration="300ms",W.imageEl.style.transform="translate3d(0,0,0) scale(1)",W.slideEl.classList.remove(`${mt.zoomedSlideClass}`),W.slideEl=void 0,W.originX=0,W.originY=0,f.params.zoom.panOnMouseMove&&(ie={x:0,y:0},B&&(B=!1,Z.startX=0,Z.startY=0)))}function qe(Ke){const mt=f.zoom;mt.scale&&1!==mt.scale?ke():Ot(Ke)}function At(){return{passiveListener:!!f.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!f.params.passiveListeners||{passive:!1,capture:!0}}}function Ct(){const Ke=f.zoom;if(Ke.enabled)return;Ke.enabled=!0;const{passiveListener:mt,activeListenerWithCapture:rt}=At();f.wrapperEl.addEventListener("pointerdown",we,mt),f.wrapperEl.addEventListener("pointermove",De,rt),["pointerup","pointercancel","pointerout"].forEach(ut=>{f.wrapperEl.addEventListener(ut,Ie,mt)}),f.wrapperEl.addEventListener("pointermove",vt,rt)}function _t(){const Ke=f.zoom;if(!Ke.enabled)return;Ke.enabled=!1;const{passiveListener:mt,activeListenerWithCapture:rt}=At();f.wrapperEl.removeEventListener("pointerdown",we,mt),f.wrapperEl.removeEventListener("pointermove",De,rt),["pointerup","pointercancel","pointerout"].forEach(ut=>{f.wrapperEl.removeEventListener(ut,Ie,mt)}),f.wrapperEl.removeEventListener("pointermove",vt,rt)}Object.defineProperty(f.zoom,"scale",{get:()=>K,set(Ke){K!==Ke&&R("zoomChange",Ke,W.imageEl,W.slideEl),K=Ke}}),A("init",()=>{f.params.zoom.enabled&&Ct()}),A("destroy",()=>{_t()}),A("touchStart",(Ke,mt)=>{f.zoom.enabled&&function Je(Ke){if(!W.imageEl||Z.isTouched)return;f.device.android&&Ke.cancelable&&Ke.preventDefault(),Z.isTouched=!0;const rt=X.length>0?X[0]:Ke;Z.touchesStart.x=rt.pageX,Z.touchesStart.y=rt.pageY}(mt)}),A("touchEnd",(Ke,mt)=>{f.zoom.enabled&&function $t(){const Ke=f.zoom;if(X.length=0,!W.imageEl)return;if(!Z.isTouched||!Z.isMoved)return Z.isTouched=!1,void(Z.isMoved=!1);Z.isTouched=!1,Z.isMoved=!1;let mt=300,rt=300;const kt=Z.currentX+re.x*mt,Sn=Z.currentY+re.y*rt;0!==re.x&&(mt=Math.abs((kt-Z.currentX)/re.x)),0!==re.y&&(rt=Math.abs((Sn-Z.currentY)/re.y));const An=Math.max(mt,rt);Z.currentX=kt,Z.currentY=Sn;const lr=Z.height*Ke.scale;Z.minX=Math.min(W.slideWidth/2-Z.width*Ke.scale/2,0),Z.maxX=-Z.minX,Z.minY=Math.min(W.slideHeight/2-lr/2,0),Z.maxY=-Z.minY,Z.currentX=Math.max(Math.min(Z.currentX,Z.maxX),Z.minX),Z.currentY=Math.max(Math.min(Z.currentY,Z.maxY),Z.minY),W.imageWrapEl.style.transitionDuration=`${An}ms`,W.imageWrapEl.style.transform=`translate3d(${Z.currentX}px, ${Z.currentY}px,0)`}()}),A("doubleTap",(Ke,mt)=>{!f.animating&&f.params.zoom.enabled&&f.zoom.enabled&&f.params.zoom.toggle&&qe(mt)}),A("transitionEnd",()=>{f.zoom.enabled&&f.params.zoom.enabled&&Et()}),A("slideChange",()=>{f.zoom.enabled&&f.params.zoom.enabled&&f.params.cssMode&&Et()}),Object.assign(f.zoom,{enable:Ct,disable:_t,in:Ot,out:ke,toggle:qe})}},38036(Vt,Pe,d){"use strict";function S(E=""){return`.${E.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}d.d(Pe,{c:()=>S})},88121(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>E});var S=d(84015);function E(M,f,b,A){return M.params.createElements&&Object.keys(A).forEach(R=>{if(!b[R]&&!0===b.auto){let N=(0,S.e)(M.el,`.${A[R]}`)[0];N||(N=(0,S.c)("div",A[R]),N.className=A[R],M.el.append(N)),b[R]=N,f[R]=N}}),b}},35221(Vt,Pe,d){"use strict";d.d(Pe,{c:()=>E});var S=d(84015);function E(M,f,b){const A=`swiper-slide-shadow${b?`-${b}`:""}${M?` swiper-slide-shadow-${M}`:""}`,R=(0,S.g)(f);let N=R.querySelector(`.${A.split(" ").join(".")}`);return N||(N=(0,S.c)("div",A.split(" ")),R.append(N)),N}},48878(Vt,Pe,d){"use strict";function S(E){const{effect:M,swiper:f,on:b,setTranslate:A,setTransition:R,overwriteParams:N,perspective:q,recreateShadows:ee,getEffectParams:B}=E;let ie;b("beforeInit",()=>{if(f.params.effect!==M)return;f.classNames.push(`${f.params.containerModifierClass}${M}`),q&&q()&&f.classNames.push(`${f.params.containerModifierClass}3d`);const ve=N?N():{};Object.assign(f.params,ve),Object.assign(f.originalParams,ve)}),b("setTranslate _virtualUpdated",()=>{f.params.effect===M&&A()}),b("setTransition",(ve,U)=>{f.params.effect===M&&R(U)}),b("transitionEnd",()=>{if(f.params.effect===M&&ee){if(!B||!B().slideShadows)return;
1f.slides.forEach(ve=>{ve.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(U=>U.remove())}),ee()}}),b("virtualUpdate",()=>{f.params.effect===M&&(f.slides.length||(ie=!0),requestAnimationFrame(()=>{ie&&f.slides&&f.slides.length&&(A(),ie=!1)}))})}d.d(Pe,{e:()=>S})},59631(Vt,Pe,d){"use strict";d.d(Pe,{e:()=>E});var S=d(84015);function E(M,f){const b=(0,S.g)(f);return b!==f&&(b.style.backfaceVisibility="hidden",b.style["-webkit-backface-visibility"]="hidden"),b}},80647(Vt,Pe,d){"use strict";d.d(Pe,{e:()=>E});var S=d(84015);function E({swiper:M,duration:f,transformElements:b,allSlides:A}){const{activeIndex:R}=M;if(M.params.virtualTranslate&&0!==f){let ee,q=!1;ee=A?b:b.filter(B=>{const ie=B.classList.contains("swiper-slide-transform")?(q=>q.parentElement?q.parentElement:M.slides.find(B=>B.shadowRoot&&B.shadowRoot===q.parentNode))(B):B;return M.getSlideIndex(ie)===R}),ee.forEach(B=>{(0,S.o)(B,()=>{if(q||!M||M.destroyed)return;q=!0,M.animating=!1;const ie=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});M.wrapperEl.dispatchEvent(ie)})})}}},27606(Vt,Pe,d){"use strict";function S(R){return null!==R&&"object"==typeof R&&"constructor"in R&&R.constructor===Object}function E(R={},N={}){const q=["__proto__","constructor","prototype"];Object.keys(N).filter(ee=>q.indexOf(ee)<0).forEach(ee=>{typeof R[ee]>"u"?R[ee]=N[ee]:S(N[ee])&&S(R[ee])&&Object.keys(N[ee]).length>0&&E(R[ee],N[ee])})}d.d(Pe,{a:()=>A,g:()=>f});const M={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function f(){const R=typeof document<"u"?document:{};return E(R,M),R}const b={document:M,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:R=>typeof setTimeout>"u"?(R(),null):setTimeout(R,0),cancelAnimationFrame(R){typeof setTimeout>"u"||clearTimeout(R)}};function A(){const R=typeof window<"u"?window:{};return E(R,b),R}},84015(Vt,Pe,d){"use strict";d.d(Pe,{a:()=>De,b:()=>B,c:()=>Z,d:()=>te,e:()=>U,f:()=>re,g:()=>ve,h:()=>b,i:()=>_e,j:()=>ae,k:()=>E,l:()=>R,m:()=>we,n:()=>f,o:()=>de,p:()=>N,q:()=>ue,r:()=>ce,s:()=>Ie,t:()=>K,u:()=>ie,v:()=>W,w:()=>X,x:()=>ee,y:()=>M});var S=d(27606);function E(Me=""){return Me.trim().split(" ").filter(Ze=>!!Ze.trim())}function M(Me){const Ze=Me;Object.keys(Ze).forEach(Ye=>{try{Ze[Ye]=null}catch{}try{delete Ze[Ye]}catch{}})}function f(Me,Ze=0){return setTimeout(Me,Ze)}function b(){return Date.now()}function R(Me,Ze="x"){const Ye=(0,S.a)();let Je,vt,$t;const Et=function A(Me){const Ze=(0,S.a)();let Ye;return Ze.getComputedStyle&&(Ye=Ze.getComputedStyle(Me,null)),!Ye&&Me.currentStyle&&(Ye=Me.currentStyle),Ye||(Ye=Me.style),Ye}(Me);return Ye.WebKitCSSMatrix?(vt=Et.transform||Et.webkitTransform,vt.split(",").length>6&&(vt=vt.split(", ").map(xt=>xt.replace(",",".")).join(", ")),$t=new Ye.WebKitCSSMatrix("none"===vt?"":vt)):($t=Et.MozTransform||Et.OTransform||Et.MsTransform||Et.msTransform||Et.transform||Et.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),Je=$t.toString().split(",")),"x"===Ze&&(vt=Ye.WebKitCSSMatrix?$t.m41:16===Je.length?parseFloat(Je[12]):parseFloat(Je[4])),"y"===Ze&&(vt=Ye.WebKitCSSMatrix?$t.m42:16===Je.length?parseFloat(Je[13]):parseFloat(Je[5])),vt||0}function N(Me){return"object"==typeof Me&&null!==Me&&Me.constructor&&"Object"===Object.prototype.toString.call(Me).slice(8,-1)}function q(Me){return typeof window<"u"&&typeof window.HTMLElement<"u"?Me instanceof HTMLElement:Me&&(1===Me.nodeType||11===Me.nodeType)}function ee(...Me){const Ze=Object(Me[0]);for(let Ye=1;Ye<Me.length;Ye+=1){const Je=Me[Ye];if(null!=Je&&!q(Je)){const vt=Object.keys(Object(Je)).filter($t=>"__proto__"!==$t&&"constructor"!==$t&&"prototype"!==$t);for(let $t=0,Et=vt.length;$t<Et;$t+=1){const xt=vt[$t],Ot=Object.getOwnPropertyDescriptor(Je,xt);void 0!==Ot&&Ot.enumerable&&(N(Ze[xt])&&N(Je[xt])?Je[xt].__swiper__?Ze[xt]=Je[xt]:ee(Ze[xt],Je[xt]):!N(Ze[xt])&&N(Je[xt])?(Ze[xt]={},Je[xt].__swiper__?Ze[xt]=Je[xt]:ee(Ze[xt],Je[xt])):Ze[xt]=Je[xt])}}}return Ze}function B(Me,Ze,Ye){Me.style.setProperty(Ze,Ye)}function ie({swiper:Me,targetPosition:Ze,side:Ye}){const Je=(0,S.a)(),vt=-Me.translate;let Et,$t=null;const xt=Me.params.speed;Me.wrapperEl.style.scrollSnapType="none",Je.cancelAnimationFrame(Me.cssModeFrameID);const Ot=Ze>vt?"next":"prev",ke=(At,Ct)=>"next"===Ot&&At>=Ct||"prev"===Ot&&At<=Ct,qe=()=>{Et=(new Date).getTime(),null===$t&&($t=Et);const At=Math.max(Math.min((Et-$t)/xt,1),0),Ct=.5-Math.cos(At*Math.PI)/2;let _t=vt+Ct*(Ze-vt);if(ke(_t,Ze)&&(_t=Ze),Me.wrapperEl.scrollTo({[Ye]:_t}),ke(_t,Ze))return Me.wrapperEl.style.overflow="hidden",Me.wrapperEl.style.scrollSnapType="",setTimeout(()=>{Me.wrapperEl.style.overflow="",Me.wrapperEl.scrollTo({[Ye]:_t})}),void Je.cancelAnimationFrame(Me.cssModeFrameID);Me.cssModeFrameID=Je.requestAnimationFrame(qe)};qe()}function ve(Me){return Me.querySelector(".swiper-slide-transform")||Me.shadowRoot&&Me.shadowRoot.querySelector(".swiper-slide-transform")||Me}function U(Me,Ze=""){const Ye=(0,S.a)(),Je=[...Me.children];return Ye.HTMLSlotElement&&Me instanceof HTMLSlotElement&&Je.push(...Me.assignedElements()),Ze?Je.filter(vt
1=>vt.matches(Ze)):Je}function X(Me,Ze){const Ye=(0,S.a)();let Je=Ze.contains(Me);return!Je&&Ye.HTMLSlotElement&&Ze instanceof HTMLSlotElement&&(Je=[...Ze.assignedElements()].includes(Me),Je||(Je=function ne(Me,Ze){const Ye=[Ze];for(;Ye.length>0;){const Je=Ye.shift();if(Me===Je)return!0;Ye.push(...Je.children,...Je.shadowRoot?Je.shadowRoot.children:[],...Je.assignedElements?Je.assignedElements():[])}}(Me,Ze))),Je}function W(Me){try{return void console.warn(Me)}catch{}}function Z(Me,Ze=[]){const Ye=document.createElement(Me);return Ye.classList.add(...Array.isArray(Ze)?Ze:E(Ze)),Ye}function re(Me){const Ze=(0,S.a)(),Ye=(0,S.g)(),Je=Me.getBoundingClientRect(),vt=Ye.body;return{top:Je.top+(Me===Ze?Ze.scrollY:Me.scrollTop)-(Me.clientTop||vt.clientTop||0),left:Je.left+(Me===Ze?Ze.scrollX:Me.scrollLeft)-(Me.clientLeft||vt.clientLeft||0)}}function K(Me,Ze){const Ye=[];for(;Me.previousElementSibling;){const Je=Me.previousElementSibling;Ze?Je.matches(Ze)&&Ye.push(Je):Ye.push(Je),Me=Je}return Ye}function ce(Me,Ze){const Ye=[];for(;Me.nextElementSibling;){const Je=Me.nextElementSibling;Ze?Je.matches(Ze)&&Ye.push(Je):Ye.push(Je),Me=Je}return Ye}function ue(Me,Ze){return(0,S.a)().getComputedStyle(Me,null).getPropertyValue(Ze)}function ae(Me){let Ye,Ze=Me;if(Ze){for(Ye=0;null!==(Ze=Ze.previousSibling);)1===Ze.nodeType&&(Ye+=1);return Ye}}function te(Me,Ze){const Ye=[];let Je=Me.parentElement;for(;Je;)Ze?Je.matches(Ze)&&Ye.push(Je):Ye.push(Je),Je=Je.parentElement;return Ye}function de(Me,Ze){Ze&&Me.addEventListener("transitionend",function Ye(Je){Je.target===Me&&(Ze.call(Me,Je),Me.removeEventListener("transitionend",Ye))})}function _e(Me,Ze,Ye){const Je=(0,S.a)();return Ye?Me["width"===Ze?"offsetWidth":"offsetHeight"]+parseFloat(Je.getComputedStyle(Me,null).getPropertyValue("width"===Ze?"margin-right":"margin-top"))+parseFloat(Je.getComputedStyle(Me,null).getPropertyValue("width"===Ze?"margin-left":"margin-bottom")):Me.offsetWidth}function we(Me){return(Array.isArray(Me)?Me:[Me]).filter(Ze=>!!Ze)}function De(Me){return Ze=>Math.abs(Ze)>0&&Me.browser&&Me.browser.need3dFix&&Math.abs(Ze)%90==0?Ze+.001:Ze}function Ie(Me,Ze=""){Me.innerHTML=typeof trustedTypes<"u"?trustedTypes.createPolicy("html",{createHTML:Ye=>Ye}).createHTML(Ze):Ze}},10467(Vt,Pe,d){"use strict";function S(M,f,b,A,R,N,q){try{var ee=M[N](q),B=ee.value}catch(ie){return void b(ie)}ee.done?f(B):Promise.resolve(B).then(A,R)}function E(M){return function(){var f=this,b=arguments;return new Promise(function(A,R){var N=M.apply(f,b);function q(B){S(N,A,R,q,ee,"next",B)}function ee(B){S(N,A,R,q,ee,"throw",B)}q(void 0)})}}d.d(Pe,{A:()=>E})},31635(Vt,Pe,d){"use strict";d.r(Pe),d.d(Pe,{__addDisposableResource:()=>Je,__assign:()=>M,__asyncDelegator:()=>ae,__asyncGenerator:()=>ue,__asyncValues:()=>te,__await:()=>ce,__awaiter:()=>ie,__classPrivateFieldGet:()=>Me,__classPrivateFieldIn:()=>Ye,__classPrivateFieldSet:()=>Ze,__createBinding:()=>U,__decorate:()=>b,__disposeResources:()=>$t,__esDecorate:()=>R,__exportStar:()=>ne,__extends:()=>E,__generator:()=>ve,__importDefault:()=>Ie,__importStar:()=>
1De,__makeTemplateObject:()=>de,__metadata:()=>B,__param:()=>A,__propKey:()=>q,__read:()=>W,__rest:()=>f,__rewriteRelativeImportExtension:()=>Et,__runInitializers:()=>N,__setFunctionName:()=>ee,__spread:()=>Z,__spreadArray:()=>K,__spreadArrays:()=>re,__values:()=>X,default:()=>xt});var S=function(Ot,ke){return(S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(qe,At){qe.__proto__=At}||function(qe,At){for(var Ct in At)Object.prototype.hasOwnProperty.call(At,Ct)&&(qe[Ct]=At[Ct])})(Ot,ke)};function E(Ot,ke){if("function"!=typeof ke&&null!==ke)throw new TypeError("Class extends value "+String(ke)+" is not a constructor or null");function qe(){this.constructor=Ot}S(Ot,ke),Ot.prototype=null===ke?Object.create(ke):(qe.prototype=ke.prototype,new qe)}var M=function(){return M=Object.assign||function(ke){for(var qe,At=1,Ct=arguments.length;At<Ct;At++)for(var _t in qe=arguments[At])Object.prototype.hasOwnProperty.call(qe,_t)&&(ke[_t]=qe[_t]);return ke},M.apply(this,arguments)};function f(Ot,ke){var qe={};for(var At in Ot)Object.prototype.hasOwnProperty.call(Ot,At)&&ke.indexOf(At)<0&&(qe[At]=Ot[At]);if(null!=Ot&&"function"==typeof Object.getOwnPropertySymbols){var Ct=0;for(At=Object.getOwnPropertySymbols(Ot);Ct<At.length;Ct++)ke.indexOf(At[Ct])<0&&Object.prototype.propertyIsEnumerable.call(Ot,At[Ct])&&(qe[At[Ct]]=Ot[At[Ct]])}return qe}function b(Ot,ke,qe,At){var Ke,Ct=arguments.length,_t=Ct<3?ke:null===At?At=Object.getOwnPropertyDescriptor(ke,qe):At;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_t=Reflect.decorate(Ot,ke,qe,At);else for(var mt=Ot.length-1;mt>=0;mt--)(Ke=Ot[mt])&&(_t=(Ct<3?Ke(_t):Ct>3?Ke(ke,qe,_t):Ke(ke,qe))||_t);return Ct>3&&_t&&Object.defineProperty(ke,qe,_t),_t}function A(Ot,ke){return function(qe,At){ke(qe,At,Ot)}}function R(Ot,ke,qe,At,Ct,_t){function Ke(xr){if(void 0!==xr&&"function"!=typeof xr)throw new TypeError("Function expected");return xr}for(var Dt,mt=At.kind,rt="getter"===mt?"get":"setter"===mt?"set":"value",ut=!ke&&Ot?At.static?Ot:Ot.prototype:null,kt=ke||(ut?Object.getOwnPropertyDescriptor(ut,At.name):{}),Sn=!1,An=qe.length-1;An>=0;An--){var Qn={};for(var lr in At)Qn[lr]="access"===lr?{}:At[lr];for(var lr in At.access)Qn.access[lr]=At.access[lr];Qn.addInitializer=function(xr){if(Sn)throw new TypeError("Cannot add initializers after decoration has completed");_t.push(Ke(xr||null))};var jn=(0,qe[An])("accessor"===mt?{get:kt.get,set:kt.set}:kt[rt],Qn);if("accessor"===mt){if(void 0===jn)continue;if(null===jn||"object"!=typeof jn)throw new TypeError("Object expected");(Dt=Ke(jn.get))&&(kt.get=Dt),(Dt=Ke(jn.set))&&(kt.set=Dt),(Dt=Ke(jn.init))&&Ct.unshift(Dt)}else(Dt=Ke(jn))&&("field"===mt?Ct.unshift(Dt):kt[rt]=Dt)}ut&&Object.defineProperty(ut,At.name,kt),Sn=!0}function N(Ot,ke,qe){for(var At=arguments.length>2,Ct=0;Ct<ke.length;Ct++)qe=At?ke[Ct].call(Ot,qe):ke[Ct].call(Ot);return At?qe:void 0}function q(Ot){return"symbol"==typeof Ot?Ot:"".concat(Ot)}function ee(Ot,ke,qe){return"symbol"==typeof ke&&(ke=ke.description?"[".concat(ke.description,"]"):""),Object.defineProperty(Ot,"name",{configurable:!0,value:qe?"".concat(qe," ",ke):ke})}function B(Ot,ke){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ot,ke)}function ie(Ot,ke,qe,At){return new(qe||(qe=Promise))(function(_t,Ke){function mt(kt){try{ut(At.next(kt))}catch(Dt){Ke(Dt)}}function rt(kt){try{ut(At.throw(kt))}catch(Dt){Ke(Dt)}}function ut(kt){kt.done?_t(kt.value):function Ct(_t){return _t instanceof qe?_t:new qe(function(Ke){Ke(_t)})}(kt.value).then(mt,rt)}ut((At=At.apply(Ot,ke||[])).next())})}function ve(Ot,ke){var At,Ct,_t,qe={label:0,sent:function(){if(1&_t[0])throw _t[1];return _t[1]},trys:[],ops:[]},Ke=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return Ke.next=mt(0),Ke.throw=mt(1),Ke.return=mt(2),"function"==typeof Symbol&&(Ke[Symbol.iterator]=function(){return this}),Ke;function mt(ut){return function(kt){return function rt(ut){if(At)throw new TypeError("Generator is already executing.");for(;Ke&&(Ke=0,ut[0]&&(qe=0)),qe;)try{if(At=1,Ct&&(_t=2&ut[0]?Ct.return:ut[0]?Ct.throw||((_t=Ct.return)&&_t.call(Ct),0):Ct.next)&&!(_t=_t.call(Ct,ut[1])).done)return _t;switch(Ct=0,_t&&(ut=[2&ut[0],_t.value]),ut[0]){case 0:case 1:_t=ut;break;case 4:return qe.label++,{value:ut[1],done:!1};case 5:qe.label++,Ct=ut[1],ut=[0];continue;case 7:ut=qe.ops.pop(),qe.trys.pop();continue;default:if(!(_t=(_t=qe.trys).length>0&&_t[_t.length-1])&&(6===ut[0]||2===ut[0])){qe=0;continue}if(3===ut[0]&&(!_t||ut[1]>_t[0]&&ut[1]<_t[3])){qe.label=ut[1];break}if(6===ut[0]&&qe.label<_t[1]){qe.label=_t[1],_t=ut;break}if(_t&&qe.label<_t[2]){qe.label=_t[2],qe.ops.push(ut);break}_t[2]&&qe.ops.pop(),qe.trys.pop();continue}ut=ke.call(Ot,qe)}catch(kt){ut=[6,kt],Ct=0}finally{At=_t=0}if(5&ut[0])throw ut[1];return{value:ut[0]?ut[1]:void 0,done:!0}}([ut,kt])}}}var U=Object.create?function(Ot,ke,qe,At){void 0===At&&(At=qe);var Ct=Object.getOwnPropertyDescriptor(ke,qe);(!Ct||("get"in Ct?!ke.__esModule:Ct.writable||Ct.configurable))&&(Ct={enumerable:!0,get:function(){return ke[qe]}}),Object.defineProperty(Ot,At,Ct)}:function(Ot,ke,qe,At){void 0===At&&(At=qe),Ot[At]=ke[qe]};function ne(Ot,ke){for(var qe in Ot)"default"!==qe&&!Object.prototype.hasOwnProperty.call(ke,qe)&&U(ke,Ot,qe)}function X(Ot){var ke="function"==typeof Symbol&&Symbol.iterator,qe=ke&&Ot[ke],At=0;if(qe)return qe.call(Ot);if(Ot&&"number"==typeof Ot.length)return{next:function(){return Ot&&At>=Ot.length&&(Ot=void 0),{value:Ot&&Ot[At++],done:!Ot}}};throw new TypeError(ke?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(Ot,ke){var qe="function"==typeof Symbol&&Ot[Symbol.iterator];if(!qe)return Ot;var Ct,Ke,At=qe.call(Ot),_t=[];try{for(;(void 0===ke||ke-- >0)&&!(Ct=At.next()).done;)_t.push(Ct.value)}catch(mt){Ke={error:mt}}finally{try{Ct&&!Ct.done&&(qe=At.return)&&qe.call(At)}finally{if(Ke)throw Ke.error}}return _t}function Z(){for(var Ot=[],ke=0;ke<arguments.length;ke++)Ot=Ot.concat(W(arguments[ke]));return Ot}function re(){for(var Ot=0,ke=0,qe=arguments.length;ke<qe;ke++)Ot+=arguments[ke].length;var At=Array(Ot),Ct=0;for(ke=0;ke<qe;ke++)for(var _t=arguments[ke],Ke=0,mt=_t.length;Ke<mt;Ke++,Ct++)At[Ct]=_t[Ke];return At}function K(Ot,ke,qe){if(qe||2===arguments.length)for(var _t,At=0,Ct=ke.length;At<Ct;At++)(_t||!(At in ke))&&(_t||(_t=Array.prototype.slice.call(ke,0,At)),_t[At]=ke[At]);return Ot.concat(_t||Array.prototype.slice.call(ke))}function ce(Ot){return this instanceof ce?(this.v=Ot,this):new ce(Ot)}function ue(Ot,ke,qe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ct,At=qe.apply(Ot,ke||[]),_t=[];return Ct=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),mt("next"),mt("throw"),mt("return",function Ke(An){return function(Qn){return Promise.resolve(Qn).then(An,Dt)}}),Ct[Symbol.asyncIterator]=function(){return this},Ct;function mt(An,Qn){At[An]&&(Ct[An]=function(lr){return new Promise(function(jn,xr){_t.push([An,lr,jn,xr])>1||rt(An,lr)})},Qn&&(Ct[An]=Qn(Ct[An])))}function rt(An,Qn){try{!function ut(An){An.value instanceof ce?Promise.resolve(An.value.v).then(kt,Dt):Sn(_t[0][2],An)}(At[An](Qn))}catch(lr){Sn(_t[0][3],lr)}}function kt(An){rt("next",An)}function Dt(An){rt("throw",An)}function Sn(An,Qn){An(Qn),_t.shift(),_t.length&&rt(_t[0][0],_t[0][1])}}function ae(Ot){var ke,qe;return ke={},At("next"),At("throw",function(Ct){throw Ct}),At("return"),ke[Symbol.iterator]=function(){return this},ke;function At(Ct,_t){ke[Ct]=Ot[Ct]?function(Ke){return(qe=!qe)?{value:ce(Ot[Ct](Ke)),done:!1}:_t?_t(Ke):Ke}:_t}}function te(Ot){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var qe,ke=Ot[Symbol.asyncIterator];return ke?ke.call(Ot):(Ot=X(Ot),qe={},At("next"),At("throw"),At("return"),qe[Symbol.asyncIterator]=function(){return this},qe);function At(_t){qe[_t]=Ot[_t]&&function(Ke){return new Promise(function(mt,rt){!function Ct(_t,Ke,mt,rt){Promise.resolve(rt).then(function(ut){_t({value:ut,done:mt})},Ke)}(mt,rt,(Ke=Ot[_t](Ke)).done,Ke.value)})}}}function de(Ot,ke){return Object.defineProperty?Object.defineProperty(Ot,"raw",{value:ke}):Ot.raw=ke,Ot}var _e=Object.create?function(Ot,ke){Object.defineProperty(Ot,"default",{enumerable:!0,value:ke})}:function(Ot,ke){Ot.default=ke},we=function(Ot){return(we=Object.getOwnPropertyNames||function(ke){var qe=[];for(var At in ke)Object.prototype.hasOwnProperty.call(ke,At)&&(qe[qe.length]=At);return qe})(Ot)};function De(Ot){if(Ot&&Ot.__esModule)return Ot;var ke={};if(null!=Ot)for(var qe=we(Ot),At=0;At<qe.length;At++)"default"!==qe[At]&&U(ke,Ot,qe[At]);return _e(ke,Ot),ke}function Ie(Ot){return Ot&&Ot.__esModule?Ot:{default:Ot}}
vendor: 2,793 bytes, line 1
1function Me(Ot,ke,qe,At){if("a"===qe&&!At)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof ke?Ot!==ke||!At:!ke.has(Ot))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===qe?At:"a"===qe?At.call(Ot):At?At.value:ke.get(Ot)}function Ze(Ot,ke,qe,At,Ct){if("m"===At)throw new TypeError("Private method is not writable");if("a"===At&&!Ct)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof ke?Ot!==ke||!Ct:!ke.has(Ot))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===At?Ct.call(Ot,qe):Ct?Ct.value=qe:ke.set(Ot,qe),qe}function Ye(Ot,ke){if(null===ke||"object"!=typeof ke&&"function"!=typeof ke)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof Ot?ke===Ot:Ot.has(ke)}function Je(Ot,ke,qe){if(null!=ke){if("object"!=typeof ke&&"function"!=typeof ke)throw new TypeError("Object expected.");var At,Ct;if(qe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");At=ke[Symbol.asyncDispose]}if(void 0===At){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");At=ke[Symbol.dispose],qe&&(Ct=At)}if("function"!=typeof At)throw new TypeError("Object not disposable.");Ct&&(At=function(){try{Ct.call(this)}catch(_t){return Promise.reject(_t)}}),Ot.stack.push({value:ke,dispose:At,async:qe})}else qe&&Ot.stack.push({async:!0});return ke}var vt="function"==typeof SuppressedError?SuppressedError:function(Ot,ke,qe){var At=new Error(qe);return At.name="SuppressedError",At.error=Ot,At.suppressed=ke,At};function $t(Ot){function ke(_t){Ot.error=Ot.hasError?new vt(_t,Ot.error,"An error was suppressed during disposal."):_t,Ot.hasError=!0}var qe,At=0;return function Ct(){for(;qe=Ot.stack.pop();)try{if(!qe.async&&1===At)return At=0,Ot.stack.push(qe),Promise.resolve().then(Ct);if(qe.dispose){var _t=qe.dispose.call(qe.value);if(qe.async)return At|=2,Promise.resolve(_t).then(Ct,function(Ke){return ke(Ke),Ct()})}else At|=1}catch(Ke){ke(Ke)}if(1===At)return Ot.hasError?Promise.reject(Ot.error):Promise.resolve();if(Ot.hasError)throw Ot.error}()}function Et(Ot,ke){return"string"==typeof Ot&&/^\.\.?\//.test(Ot)?Ot.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(qe,At,Ct,_t,Ke){return At?ke?".jsx":".js":!Ct||_t&&Ke?Ct+_t+"."+Ke.toLowerCase()+"js":qe}):Ot}const xt={__extends:E,__assign:M,__rest:f,__decorate:b,__param:A,__esDecorate:R,__runInitializers:N,__propKey:q,__setFunctionName:ee,__metadata:B,__awaiter:ie,__generator:ve,__createBinding:U,__exportStar:ne,__values:X,__read:W,__spread:Z,__spreadArrays:re,__spreadArray:K,__await:ce,__asyncGenerator:ue,__asyncDelegator:ae,__asyncValues:te,__makeTemplateOb
1ject:de,__importStar:De,__importDefault:Ie,__classPrivateFieldGet:Me,__classPrivateFieldSet:Ze,__classPrivateFieldIn:Ye,__addDisposableResource:Je,__disposeResources:$t,__rewriteRelativeImportExtension:Et}}}]);

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.